hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
ee9c2560d2783f9f387937f40abd0315c4e57416
971
package io.github.talelin.latticy.service.impl; import io.github.talelin.latticy.mapper.BannerMapper; import io.github.talelin.latticy.model.BannerDO; import io.github.talelin.latticy.service.TestService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; imp...
25.552632
62
0.718847
3f0f04688dc9098e5ab8a2b72c86d7c8b1e238d3
375
package uk.ac.soton.ecs.wais.fest13; import org.openimaj.util.function.Operation; import org.openimaj.util.function.Predicate; public class PassThrough<T> implements Predicate<T> { private Operation<T> op; public PassThrough(Operation<T> op) { this.op = op; } @Override public boolean test(T object) { if(o...
17.045455
53
0.717333
e6458eaf4035ff326d7afb0e8133014eb3eb8390
2,346
package de.unigoe.informatik.swe.kcast; import java.util.ArrayList; import java.util.List; import java.util.Set; import de.unigoe.informatik.swe.kcast.declaration.MyDeclaration; import de.unigoe.informatik.swe.krm.KnowledgeComponent; /** * An AST representation of a piece of code containing KC information * @autho...
19.714286
69
0.704604
e4a6592fb04570e603d6f0861e352fa23fa398b0
2,542
package de.fraunhofer.iem.secucheck.analysis; import de.fraunhofer.iem.secucheck.analysis.SingleFlowAnalysis.SingleFlowAnalysis; import de.fraunhofer.iem.secucheck.analysis.SingleFlowAnalysis.SingleFlowAnalysisFactory; import de.fraunhofer.iem.secucheck.analysis.query.SecucheckTaintFlowQuery; import de.fraunhofer.iem....
36.84058
142
0.707317
5bc06c514ddbb721321afb05c776876f1e3237d0
6,599
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
49.992424
159
0.729504
19cdec3fc1f4fc6f6cbb26374e2d792364ef6734
1,199
package main.constants; import main.main.Config; public enum Database { MAIN("main"), BANNED_USERS("bannedusers"), TRACKS_PLAYED("tracks"); private final String str; Database(String str) { this.str = str; } @Override public String toString() { return str; } ...
23.509804
226
0.598832
49a5a957bb73e6a409a1b9c6bf23316b169d2dfb
1,036
package Service; import Entity.*; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; /** * @Author Hekai * @Date 2019/2/27 15:03 * @Description TODO **/ public interface UserService { int insertUser(User user); int insertRecommend(String food_id, String user_id, D...
23.545455
87
0.735521
cd57b20e9b20ff790bc73732e629a1356e445113
4,127
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.974576
124
0.644294
53f0365ded15dc3719fac0d2a207a6eaf6e92263
239
package com.wildducktheories.raft.encoding; public interface Decoder<T, E> { /** * Decode an instance of type E into an instance of type T. * @param The encoded instance. * @return The the decoded instance. */ T decode(E e); }
19.916667
60
0.690377
c20f62feb8301b0d4bccadb3a959cf549b36239b
383
package cz.muni.fi.pv243.mustech.service; import cz.muni.fi.pv243.mustech.model.BaseModel; import java.util.List; /** * Interface for generic service with common methods * @author Milan */ public interface GenericService<T extends BaseModel> extends PrincipalChecker<T> { void saveOrUpdate(T t); void dele...
21.277778
82
0.723238
759f5910516070589986c327043ae91bc8b57ce4
444
package com.oxchains.message.domain; import lombok.Data; import javax.persistence.*; /** * 推送类型 * * 1:保存数据,不给移动端推送消息 * 2:保存数据,推送给指定设备 * 3:保存数据,推送给所有移动端消息 * 4:保存数据,推送给android端消息 * 5:保存数据,推送给ios端消息 * * @author luoxuri * @create 2018-02-07 11:32 **/ @Entity @Data @Table(name = "infom_type") public class Info...
15.310345
51
0.686937
91898a41bfd75eaf93ca8c8071b2932136d220d7
1,976
/* * 2014 SMEdit development team * http://lazygamerz.org * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser Gereral Public Licence as published by the Free * Software Foundation; either version 3 of the Licence, or (at your opinion) any * later versio...
25.662338
83
0.683704
53cbe7068701c2808a631e4e8eb83a3ce0ec7369
1,947
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
34.767857
125
0.746276
a15b8d6b26dc208a9898c7df885f8fca221ce2b5
2,611
package org.joht.livecoding.changedatacapture; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import io.debezium.engine.ChangeEvent; import io.debezium.engine.DebeziumEngine; import jakarta.annotation.PreDestroy; import jakarta.enterprise.concurrent.ManagedExecutorService...
35.767123
242
0.779778
3c8e57af47985892ac9bc5abea6191da55a6e63a
10,150
package uk.co.deanwild.marqueetextview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.RectF; import androi...
27.432432
105
0.580394
973666e8e7fe3e5dda5b5ef93b9a2e5b0cfcb5a8
589
package com.revature.generics; public class NextGen { public static void main(String[] args) { //Create a Gen1 Reference for Integers Gen1<Integer> i; i= new Gen1<Integer>(88); //Show type i.showType(); //get value int v= i.getOb(); System.out.println(i);//prints out fully qualified class name Syst...
21.814815
63
0.640068
9ab630270579e96e7cd100470a630817ce4bbc85
4,127
package client; import client.consumer.Receiver; import client.consumer.Subscriber; import client.producer.Publisher; import client.producer.Sender; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Scanner; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlocki...
29.269504
87
0.567967
eed27526ad21dc63f398ed39513d5b5bfb7df1ad
20,566
/** * Copyright 2009-2012 WSO2, Inc. (http://wso2.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
35.215753
188
0.735
031a96c60536359a20aae638e51f040f7238c75e
3,257
package br.com.root.model; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Locale; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistenc...
23.099291
87
0.682223
fbf74ecc14f4a9bc5033681163ecc111ed4a61b5
832
package com.openxc.measurements; import com.openxc.units.Level; import com.openxc.util.Range; /** * The ClimateFanSpeed measurement is for setting the fan speed from 0 - 9 * 0 is min speed * 7 is max speed * 8 is auto * 9 is last user setting * This may be better handled with a State based signal but I wanted ...
25.212121
74
0.68149
df13a42bf38245ff0b3f2fe35553a434a240a7ed
3,515
package com.udacity.jdnd.course3.critter.controller; import com.udacity.jdnd.course3.critter.model.Pet; import com.udacity.jdnd.course3.critter.DTO.PetDTO; import com.udacity.jdnd.course3.critter.service.PetService; import com.udacity.jdnd.course3.critter.util.PetModelMapperUtil; import lombok.extern.slf4j.Slf4j; impo...
33.798077
114
0.683926
707aa991b2cc6af1f1c998ebfcc045cfd65d6191
2,535
package com.diguits.javafx.container.decorators; import java.util.List; import com.diguits.javafx.container.decorators.Option.OptionBuilder; import com.diguits.javafx.container.decorators.OptionGroup.OptionGroupBuilder; import com.diguits.javafx.container.decorators.OptionSeparator.OptionSeparatorBuilder; public cla...
34.726027
86
0.824063
e3b266de7ac5829a28d113f2f65841f90714619d
556
package com.wk.designpatterns.prototypePattern.demo02; import lombok.AllArgsConstructor; import lombok.Data; import java.util.Date; /** * @author wangkang * @Date 2021/5/27 15:32 */ @Data @AllArgsConstructor public class Kele implements Cloneable{ private String name; private Date createTime; @Overri...
20.592593
64
0.679856
085bf7788952bd873fb21c3a1a6d611b7a966281
946
package svenhjol.charm.module; import svenhjol.charm.Charm; import svenhjol.charm.base.CharmModule; import svenhjol.charm.base.handler.ModuleHandler; import svenhjol.charm.base.iface.Config; import svenhjol.charm.base.iface.Module; import svenhjol.charm.block.PlayerPressurePlateBlock; @Module(mod = Charm.MOD_ID, desc...
35.037037
132
0.769556
b94a5bf599ca2955816d99946b719352bdd4cf72
1,783
package FlipBoardClasses; import javax.swing.*; import java.awt.*; public class BombPanel extends JPanel{ /* This is a JPanel which basically allows a BombShape object to be drawn on it A BombShape object is initialised in the constructor with default values. However, whenever this component is dra...
30.220339
107
0.645541
90913a98053fbd556a2dd9a9b00c9d3b0111ac75
1,602
package modelo; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class Fornecimento implements Serializable{ private static final long serialVersionUID = 1L; private int id; private String nome; private int total; private Date dtCadastro; private L...
17.413043
134
0.728464
be6acd007be2294fdf1441b708552b4ab86ee9e9
1,761
package com.github.fierioziy.particlenativeapi.core.asm.utils; import com.github.fierioziy.particlenativeapi.api.Particles_1_13; import com.github.fierioziy.particlenativeapi.api.Particles_1_8; import org.objectweb.asm.Type; /** * <p>An enum used by <code>ParticleNode</code> class to store * particle version.</p> ...
30.362069
89
0.689949
153ec250b743e5c3eb2c6b206adc4df0956f1706
354
package com.lqr.bijiaquan.ui.presenter; import com.lqr.bijiaquan.ui.base.BaseActivity; import com.lqr.bijiaquan.ui.base.BasePresenter; import com.lqr.bijiaquan.ui.view.IAddFriendAtView; public class AddFriendAtPresenter extends BasePresenter<IAddFriendAtView> { public AddFriendAtPresenter(BaseActivity context) ...
25.285714
75
0.788136
5274977a128e39c5ebf69b6ee0e7672ef48c65dd
2,103
package slimeknights.tconstruct.library.recipe.tinkerstation; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; /** * Extension of {@link ITinkerStationContainer} to allow modifying inventory contents */ public interface IMutableTinkerStationContainer extends ITinkerStationContainer ...
30.926471
101
0.653828
2929785cf2fd3e630c2fc5893a9e75dab520abbb
2,767
package ro.msg.learning.service; import java.util.List; import java.util.Optional; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import lombok.RequiredArgsConstructor; import ro.msg.learning.model.Location; import ro.msg.learning.model.Order; import r...
32.940476
90
0.805566
c8682450fd39ad573fad62b13b13d88f4c7480a4
10,250
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
30.780781
121
0.668585
0ed31ad0f1b870f321a6b3fb10d4e695e193189e
21,772
package game.collision; import org.joml.Vector3d; import org.joml.Vector3f; import static engine.time.Time.getDelta; import static game.chunk.Chunk.getBlock; import static game.blocks.BlockDefinition.*; import static game.chunk.Chunk.getBlockRotation; import static game.collision.CollisionMath.floorPos; import static...
38.196491
214
0.494351
a35d5b2e0b13a3ef5653ba2e161f4f54bf5c7ee2
4,029
/* * Copyright (C) 1999-2011 University of Connecticut Health Center * * Licensed under the MIT License (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.opensource.org/licenses/mit-license.php */ package cbi...
36.963303
266
0.747828
6f0b94cbd32ab1c34e78744b012e3ee9f1874e41
342
package com.twolattes.json.views; import java.util.HashSet; import java.util.Set; import com.twolattes.json.Entity; import com.twolattes.json.Value; @Entity public class SetOfNormalOrFull { @Value Set<NormalOrFull> normalOrFulls; public SetOfNormalOrFull() { normalOrFulls = new HashSet<Normal...
18
49
0.719298
4bc80e89594d0ed223a7f355b8201724ecc6b455
2,108
package com.example.bonatsos.asimplecalculator; import android.graphics.Typeface; import android.view.View; import android.view.ViewGroup; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animation.AnimationSet; import android.view.animation.AnticipateOvershoot...
33.460317
84
0.665085
be0a85573921b591892cc9ec286259cf23d20866
843
package com.goj.restservice.form; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import javax.validation.constraints.AssertTrue; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Data @NoArgsConstructor @AllAr...
27.193548
81
0.772242
31da7c0605bac11abf0ad76b9ae617d1ce21fe3c
26,514
/** * -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose Pty Ltd" file="StorageApi.java"> * Copyright (c) 2003-2021 Aspose Pty Ltd * </copyright> * <summary> * Permission is hereby granted, free of charge, to any per...
45.635112
261
0.682243
07e0d845aab84515cac88e489d90f49c88f9eeab
926
class C { static class MyResource implements AutoCloseable { @Override public void close() { } } void m1() throws Exception { try (MyResource r1 = new MyResource()) { System.out.println(r1); } MyResource r2 = new MyResource(); try (MyResource r = r2) { System.out.println(r); ...
29.870968
101
0.640389
82f2524570d63bd08a0b7e0cdb030dc35e011c05
960
package com.test.propagation.requiresnew; import com.test.dao.UserRepo; import com.test.entity.TbUser; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.anno...
30
86
0.784375
a2d6a6d33be148c83137c44285efaa81946c040e
3,417
package org.lightning.quark.db.sql; import org.lightning.quark.core.model.db.DbVendor; import org.lightning.quark.core.model.db.PKData; import java.util.Collection; import java.util.List; import java.util.Map; /** * Created by cook on 2017/12/12 */ public interface SqlProvider { // QUERY rows /** * 查...
18.175532
76
0.559263
72f1f0631e188e70ce59fed71e8ac513898f8c22
2,189
package web.managedbean; import dao.DaoExamen; import dao.impl.DaoExamenImpl; import java.util.Date; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import javax.faces.model.SelectItem; @ManagedBean(name = "mbnoticia") @RequestScoped public class ManagedBeanNoticia {...
24.054945
61
0.670169
12d4d345f32a6525b9b2ec5c77e7379704070eac
2,948
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
37.794872
133
0.668589
a310c1a1a74c99f84927b9cb0aeee096cc6d4c7c
11,145
package com.dolphin.renmaicircle.dynamicfragment; import android.content.Intent; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.support.v7.widget....
45.304878
165
0.533513
f6edbbead16aeec615f5d2083b0026cf3a1346cc
16,187
/* * Copyright 2019 IIT Software GmbH * * IIT Software GmbH licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
32.309381
118
0.606165
148bce534141d3c98d381da3d4eab523fabf4bc3
902
package com.curso.api.gestaovendas.model; import lombok.Data; import javax.persistence.*; import java.io.Serializable; @Entity @Table(name = "cliente") @Data public class Cliente implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Long id; ...
19.191489
55
0.660754
d373b34b89d98b12bcb0ad00962f78c2cc77a7e0
982
package com.gmail.zahusek.tinyprotocolapi.api.tab; import java.util.ArrayList; import java.util.Collection; public interface TabModify { public void setMessage(int x, int y, String display); public void setTexture(int x, int y, String texture); public void setTexture(String texture); public vo...
29.757576
74
0.720978
5af7a8312d943f8519545517a06d65e03e313acd
1,617
package datastructures.arrays; /** * Given an array that contains both positive and negative integers, find the * product of the maximum product subarray. Expected Time complexity is O(n) and * only O(1) extra space can be used. * * @author Faiz-Siddiqh * */ public class MaxProdcutSubArray { public static vo...
25.666667
82
0.675943
00bd0ca13836bf78948d7db05b93073e5170c90a
14,973
package de.kai_morich.usb_terminal.entities; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Id; import org.greenrobot.greendao.annotation.NotNull; import org.greenrobot.greendao.annotation.Property; import org.greenrobot.greendao.annotation.ToOne; import java.util.Date; im...
31.324268
109
0.686102
5c866e52d1470f78ea7b4a1d33793d867334f08d
1,766
// In this question, we have to display the spiral in anti-clockwise direction // we can do it by considering each row and column as wall import java.util.*; public class SpiralDisplay { public static void main(String[] args) { // Taking input from user Scanner scn = new Scanner(System.in); ...
23.864865
78
0.38675
0cec85a173df4ecc83b2dc3299b291152188cf31
3,856
/* * MIT License * * Copyright (c) 2014-2018 David Moskowitz * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
27.942029
173
0.677127
8dacfbfa8b359ae017266ae9d45d2cb11b4cac97
4,881
/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of th...
32.324503
115
0.736529
ed60904f779d666c558f08cb2219abb7325f0421
33,491
/* * Copyright (C) 2012 Visualization & Graphics Lab (VGL), Indian Institute of Science * * This file is part of Recon, a library to compute Reeb graphs. * * Recon is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Fr...
24.51757
124
0.518438
60ba4694f8a8b68d7a046d08430f428dea971fb1
7,164
package org.drools.reteoo; import java.io.Serializable; import java.util.Iterator; import java.util.NoSuchElementException; /* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy...
31.147826
134
0.586823
76d445858a54dc5f827fde04e28a50097d425927
29,757
/* * Copyright 2018 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
40.70725
191
0.582552
2f542481785310196d2a6e8a670f06f0da2b55fa
538
package com.example.picpaydemojava.dto; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import com.example.picpaydemojava.enums.CardFlag; import lombok.Data; @Data public class CreditCardDTO { @NotBlank private CardFlag flag; @NotBlank private String securityCode; ...
15.823529
49
0.786245
659a1b32389df1730bbbe3f19c9a84af4517d223
425
package io.chestnut.core; public class InternalMsgFactory { public MessageFactory<InternalMessage> messageFactory = new MessageFactory<>(); @SuppressWarnings("unchecked") public <T extends InternalMessage> T getMessage(short id) { InternalMessage internalMessage = messageFactory.get(id); if(internalMessa...
25
80
0.750588
76bc5e9250397cbbcf45862dc5822714255de505
2,866
package mcmultipart.api.slot; import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; public enum EnumFaceSlot implements IPartSlot, IPartSlot.IFaceSlot { DOWN(EnumFacing.DOWN), UP(EnumFacing.UP), NORTH(EnumFacing.NORTH), SOUTH(EnumFacing.SOUTH), WEST(EnumFacing.WEST), ...
38.213333
139
0.678646
ea7113135116e8a4778140a620a643a7650ecc1e
21,803
package org.hzero.admin.app.service.impl; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import io.choerodon.core.domain.Page; import io.choerodon.core.exception.CommonException; import io.choerodon.mybatis.pagehelper.domain.PageRequest; import io.choerod...
43.869215
191
0.640554
f94e8e0178f042e17c54010e5c1d5148bd3f92c8
2,375
package org.jbpm.demo.rewards; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import org.jbpm.test.JBPMHelper; import org.kie.api.KieBase; import org.kie.api.KieServices; import org.kie.api.runtim...
37.109375
146
0.749053
6b9f2f102e2de5eb680ec14cc94cdde695cb569c
4,613
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
35.484615
100
0.675266
b4bba12fe3daccdec7e7d7092760e428a4c418e4
3,712
package org.corfudb.protocols.wireprotocol; import com.google.protobuf.TextFormat; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufOutputStream; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToByteEncoder; import java.io.IOException; import java.util.concurrent.atomi...
45.268293
119
0.602101
0aa630643040f0a28866b6af240715ad5ff6db1f
615
package org.brapi.test.SampleOrchestratorServer.model.json; import com.fasterxml.jackson.annotation.JsonProperty; public class GenotypeDBSummary { @JsonProperty("genotypeDbId") private String genotypeDbId = null; @JsonProperty("genotypeDbName") private String genotypeDbName = null; public String getGenotypeDb...
20.5
59
0.782114
c570d87dde9827d5cb0e6c1b364f5bf1c8a4c1da
2,584
/******************************************************************************* * Copyright 2014 Univocity Software Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
31.512195
118
0.663313
882425b07abe37b5e2f5afca9579d2f1196a5c40
336
package pers.brian.mall.modules.oms.service; import pers.brian.mall.modules.oms.model.OmsOrderReturnApply; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 订单退货申请 服务类 * </p> * * @author BrianHu * @since 2021-12-01 */ public interface OmsOrderReturnApplyService extends IService<OmsOrderRe...
19.764706
83
0.755952
01cdb674de502d792dcc86653bf6a8c2d35a9eff
1,937
package k8sbook.sampleapp.persistence.repository; import com.ninja_squad.dbsetup.DbSetup; import com.ninja_squad.dbsetup.destination.DataSourceDestination; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.A...
30.265625
85
0.651523
a37db9365c9d3ce2576993c38d6bf29edf94b89d
452
package mat.dao.impl; import mat.dao.search.GenericDAO; import mat.model.Code; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; @Repository("codeDAO") public class CodeDAOImpl extends GenericDAO<Code, String> implemen...
25.111111
86
0.814159
f85eb2ac277fb748dffa0ddfbfc0cb2f051d4dd2
12,131
/* * Copyright (c) 2021 by Gerrit Grunwald * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
48.330677
266
0.655758
c1e3534275aa46b969e73baee91aceed9875687f
305
package com.barrett.base.net.udp; public class TalkStudent { public final static int port = 9999; public static void main(String[] args) { //发送 new Thread(new TalkSend(port, TalkTeacher.ip, TalkTeacher.port)).start(); new Thread(new TalkReceive(7777)).start(); } }
21.785714
81
0.64918
e7ae75ca20ce87a8ab6f1bd862f5c2110aad3c7c
1,878
package com.ismaillagouilly.tennis; import java.util.Scanner; /** * Created by Ismail Lagouilly. */ /* ******************************************************************************** */ /* */ /* Main Class ...
39.125
86
0.468584
b87dc1bfafacde09f58c768feb28f4998507c0e5
577
package com.github.solairerove.gof.leprosarium.vanilla.strategy.duck; import com.github.solairerove.gof.leprosarium.vanilla.strategy.beavior.fly.FlyBehavior; import com.github.solairerove.gof.leprosarium.vanilla.strategy.beavior.quack.QuackBehavior; public abstract class Duck { protected FlyBehavior flyBehavior;...
23.08
91
0.731369
0aac60a7460055e3d06afa1ae65bddbb85dc7a2b
168
package org.eric.commonkit.location; /** * Created by kunbin.chen on 2015/8/5. */ public interface ILocation { void startLocation(); void stopLocation(); }
15.272727
38
0.684524
92d0285a3945dbd3a7e91c3866bc4f79783d1491
635
import java.io.ByteArrayInputStream; import java.io.IOException; public class Main { public static void main(String[] args) { byte[]arr={1,2,3,4,5,66}; ByteArrayInputStream inputStream=new ByteArrayInputStream(arr,0,5); System.out.println("Kullanılabilen byte sayısı : "+inputStream.available(...
26.458333
85
0.566929
6e4e0fe5d929f9d6a78307a2be46052e591e17ef
1,909
package chapter4; /* (Random points on a circle) Write a program that generates three random points on a circle centered at (0, 0) with radius 40 and display three angles in a triangle formed by these three points, as shown in Figure 4.7a. (Hint: Generate a random angle a in radians between 0 and 2PI, as shown in Figur...
41.5
86
0.555265
42979f5554c26ba71a6ce9a202340feb35df00a4
797
package org.hutrace.handy.utils.logback; import ch.qos.logback.core.PropertyDefinerBase; /** * 获取日志文件的储存路径 * <p>可以设置relative属性,relative默认为"log" * <p>返回路径会以当前项目路径拼接relative的值,默认会保留"/" * @author hu trace */ public class LogPath extends PropertyDefinerBase { private String absolute; public void ...
21.540541
105
0.641154
812d487eaa372f86200406ea3ca19b0912bb38df
564
package io.whileaway.apit.api.repository; import io.whileaway.apit.api.entity.API; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import java.util.List; import java.util.Optional; public interface APIRepository extends JpaReposit...
31.333333
97
0.808511
37be7ddecd8c7f77cf504de071de52792c7ebd6a
4,020
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under th...
31.653543
109
0.586318
d9b2a08c3735ee00eab6e24bc6dec6e3fb35dc9a
7,812
/* * Copyright (c) 2015 mgm technology partners GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.113537
123
0.775602
ec835b9b937d73e1763a1b97ce7ed05125923b41
371
package com.haoyu.module.jcstruct.resolve; import com.alibaba.fastjson.JSONObject; import com.haoyu.module.jcstruct.model.Field; import com.haoyu.module.jcstruct.writer.JDataOutput; /** * 对单个属性进行反解析的监听 * * @author DELL * */ public interface UnResolveFieldPostProcess { public void postProcess(Field currentFiel...
19.526316
89
0.787062
22740c2bc3ab530c8da3ccd56081d93926a6a4d7
6,329
/* * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2007 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Re...
35.161111
80
0.64402
5a3c5aad0694094d707265e2b6f6ef7d68684bdd
376
package cool.happycoding.code.web; import org.springframework.scheduling.annotation.Async; import java.lang.annotation.*; /** * description * * @author lanlanhappy 2021/10/23 11:08 上午 */ @Inherited @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented @Async(value = "hap...
19.789474
55
0.771277
12eb9ca8ac02e1e0fc1f576605bc8d5681575f5c
6,010
/** * */ package io.paymenthighway; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import org.junit.*; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Properties; import static org.junit.Assert.assertNotNull; import static or...
37.5625
106
0.724126
032193e0ad95edee2b90e5b4f9ceee300deaafca
1,336
package vn.locdt.product.consumer; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.messaging.handler.annotation.Payload; import org.springframework.stereotype.Component; import lombok.RequiredArgsConstructor; import vn.locdt.product.message.Message; import vn.locdt.product...
31.809524
70
0.795659
d8851a20c904e326a3929c8ffde5f7fb9af5cd27
1,632
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
37.090909
79
0.741422
fd32989375d88f3d81a0054807932b9fb4d6d1f5
1,300
package com.twu.biblioteca; import java.util.ArrayList; import java.util.List; public class BibliotecaApp { private static String welcomeMsg = "Welcome to Biblioteca. Your one-stop-shop for great book titles in Bangalore!"; // private static String listOfBooks = "Harry Potter\nLord of the Rings\nThe Fall of G...
28.888889
119
0.636154
04381d545f552dbe549eeb3b2edc8236db558a5d
304
class Solution { public int search(int[] nums, int target) { int s=0,e=nums.length-1; while(s<=e){ int mid=s+(e-s)/2; if(nums[mid]==target) return mid; else if(nums[mid]<target) s=mid+1; else e=mid-1; } return -1; } }
25.333333
47
0.467105
2e19b8b920a5ee4f50b8bfe7c5b32c02fc767bf1
1,098
package io.smalldata.ohmageomh.service; import io.smalldata.ohmageomh.domain.Note; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import java.util.List; /** * Service Interface for managing Note. */ public interface NoteService { /** * Save a note. * ...
20.716981
55
0.59745
e4ee5b94c4601d2497400794fe23e25a903b56c1
1,142
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
27.853659
75
0.741681
21b472591a8c070cdadd2e90c4998a101cfd14c7
1,150
package snsoft.wind.entity; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; /** * <p>项目标题: TODO</p> * <p>项目功能: </p> * <p>所属模...
16.197183
68
0.672174
2c7c1adfbd02514b5318c1ccc5a34d6f7b525930
5,323
package org.edx.mobile.view; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullabl...
37.751773
120
0.679504
2ee67f71e5afe02a9c596a0b979245869c028c45
9,080
package integration.gui.mock; import mdlaf.MaterialLookAndFeel; import mdlaf.themes.MaterialLiteTheme; import mdlaf.themes.MaterialTheme; import mdlaf.utils.MaterialColors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.swing.*; import javax.swing.plaf.basic.BasicLookAndFeel; import java.util.M...
36.761134
130
0.640529
2cf6aa6c5b7ffe96709eb5f058dd8a1c175dfe34
200
package pageobjects; import utils.Utils; public class TemplatePage extends Utils { //LOCATORS - ID //LOCATORS - XPATH //CHECKS //ACTIONS //AUX METHODS //WEBELEMENTS }
10
41
0.63
a16e1947e2b3008ac069a865ccf3251321da3c4f
1,506
package com.example.unit.testing.application; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.example.unit.testing.domain.Customer; import com.example.unit....
28.961538
122
0.812749
6c7b450c2a76c664fda71fb93ac3f5e0e29f5c3a
1,974
/* * Copyright (c) 2018-2019 Pivotal Software Inc, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
37.245283
110
0.674265
8bda6be7241603276a31866c58619024cfb413a1
635
package okio; import kotlin.Metadata; import kotlin.jvm.internal.Intrinsics; @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\f\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u001a\r\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H†\b¨\u0006\u0003"}, d2 = {"gzip", "Lokio/GzipSink;", "Lokio/Sink;", "okio"}, k = 2, mv = {...
42.333333
251
0.689764
b2d2250aabfd0de176d170e5daa25eb900d7561c
5,051
package org.smartregister.p2p.shadows; import android.app.Activity; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.google.android.gms.internal.nearby.zzbd; import com.google.android.gms.nearby.connection.AdvertisingOptions; import com....
29.366279
161
0.664225
c75031db0b505ffdfd4a59be728ae6d648de94a7
4,346
/** * Leetcode - Algorithm - NumberOfConnectedComponents */ package com.ciaoshen.leetcode; import java.util.*; import com.ciaoshen.leetcode.myUtils.*; /** * Each problem is initialized with 3 solutions. * You can expand more solutions. * Before using your new solutions, don't forget to register them to the sol...
32.432836
136
0.52416
5e58f0905ead03e872552c50191846d73f460c54
610
package com.xpf.dagger.main.fragment; import dagger.Binds; import dagger.Module; import dagger.android.AndroidInjector; import dagger.multibindings.ClassKey; import dagger.multibindings.IntoMap; /** * Created by x-sir on 2019/4/28 :) * Function: */ @Module public abstract class MainFragmentProvider { @Binds ...
24.4
111
0.778689
3fc0e7fdd2a3e1a901558d43882029c11f115259
1,015
package net.violet.platform.datamodel.factories.implementations; import java.sql.SQLException; import net.violet.db.records.factories.RecordFactoryImpl; import net.violet.platform.datamodel.FriendsLists; import net.violet.platform.datamodel.FriendsListsImpl; import net.violet.platform.datamodel.User; import net.viole...
29.852941
127
0.80197
981673430ab2fd97ed124bc5f2d40c24c5dd76c2
833
package seedu.address.commons; /** * This is part of the Observer's pattern, where the Observable is observed by Observers and notifies its Observers * for any change to its variable of type T. This is done by calling the implemented update method of the Observer, * which carries out the relevant actions. * * @pa...
33.32
115
0.69988
4a1870541cd6b22610a5011676da511890e78fed
4,148
/* * (C) 2017 NEXT COLORS Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
18.435556
114
0.56702