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
7526f0916edc49952d241832bcb8ac17d1632cbf
1,313
package com.tingfeng.page; import java.util.ArrayList; import org.springframework.beans.BeanUtils; /** * * @author tingfeng * 后台用来装载数据之后往前台发送用的包装类 * @param <T> * */ public class Pager<T>{ /** * 一个ArrayList的行数据集合 */ private ArrayList<T> rows=new ArrayList<T>(0); /** * 当前总的记录数量,指的是数据库中一共有多少条数据 */ privat...
19.893939
99
0.667936
db595464dc002d455e8ef4b6330af054d9b57519
2,338
package me.coley.recaf.graph; import java.util.*; import java.util.stream.Stream; /** * Depth-first search implementation for traversing a graph. * * @param <T> * Type of data contained by the graph. * * @author Matt */ public class DepthFirstSearch<T> implements Search<T> { private final Set<Vertex<T>> vis...
24.610526
93
0.676647
e308d858c0f2a79886013c5d1831d036d05abb1a
4,491
/** * <copyright> </copyright> * * $Id$ */ package orgomg.cwm.analysis.olap; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Deployment Group</b></em>'. <!-- end-user-doc --> * * <!-- begin-model-doc --> * DeploymentGroup represents a l...
45.363636
545
0.678691
16bda66794d736f0993d34617980bbc52bdbb9fc
2,914
package org.nuvola.indexeddb.client; import java.util.ArrayList; import java.util.List; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.GWT.UncaughtExceptionHandler; import com.google.gwt.core.client.JsArrayString; public class IDBUtils { public static void fireCallback(IDBCallback pCall...
29.434343
93
0.547358
92a9c017d241d02d9441cc641cecd22beae5484a
15,180
package com.epiano.slidepage; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.GridView; i...
32.297872
127
0.623123
8d418c23e4896c90c79f2e3fa72f2ced0847a4ce
523
package org.infinispan.cli.completers; import java.util.Collection; import org.infinispan.cli.Context; import org.infinispan.cli.connection.Connection; /** * @author Tristan Tarrant &lt;tristan@infinispan.org&gt; * @since 10.0 **/ public class CacheCompleter extends ListCompleter { @Override Collection<Stri...
27.526316
99
0.762906
f3bc8141a303d9735e63f0bb82bb0f9d51e5b9ae
2,031
package org.jerometambo.javaeeuploadutils; import java.nio.file.FileSystems; import java.nio.file.Paths; /** * @author jerometambo <br> * Utils dealing with file paths and names. */ public class FilePathUtils { /** * @return filename from file full path. */ public String ge...
31.246154
88
0.624323
3c92b272d1222c44263f1908d2dc1e7a40d2bd8f
939
package me.hugeblank.allium.lua.api; import me.hugeblank.allium.loader.Script; import me.hugeblank.allium.lua.api.commands.CommandRegisterEntry; import me.hugeblank.allium.lua.type.annotation.CoerceToNative; import me.hugeblank.allium.lua.type.annotation.LuaWrapped; import org.jetbrains.annotations.Nullable; import j...
26.083333
65
0.72311
66bfdb4c4322df81d2c2ab9e6ff1c9376bee916b
211
package pro.javatar.security.starter.config; /** * @author Borys Zora * @version 2019-05-13 */ public interface ConfigValidationAware { void validateConfiguration() throws ConfigValidationException; }
17.583333
66
0.758294
ce6f5195d4f5e17f0bf7b4d825b770cb45674636
1,922
package com.kwanidea.permissionchecher; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.provider.Settings; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; /** * author: $USER_NAME *...
32.033333
81
0.713319
af9da7052e341014a5b165721f594bc4269a0836
1,320
package vdsMain.tool; import android.app.Activity; import android.content.Context; import android.util.DisplayMetrics; import com.vtoken.application.ApplicationLoader; //bbf //915 bct public class DeviceUtil { //m6935a //915 m7167a public static int dp2px(Context context, float f) { return (int) (...
28.695652
98
0.662121
8d61a2de6251c005665324cb06d05101f7dd47af
257
package com.daimabaike.springboot.mybatis.core.mapper; import java.util.List; public interface BaseMapper<T> { T get(T id); T getById(Long id); int insert(T t); int update(T t); List<T> query(T t); List<T> queryAll(T t); }
12.85
55
0.626459
d3e3396fe325a4994a5e086b74a5efc4591b27fa
2,286
// // ======================================================================== // Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
38.745763
101
0.600612
82d3c427d571473e6c3d0a3e6b946556b248011d
43,015
/* * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.webkit.dom; import com.sun.webkit.Disposer; import com.sun.webkit.DisposerRecord; impo...
31.933927
87
0.683413
3efa2ee7de56913c1737d9946efc6028eda09cfb
11,912
package com.example.android.sunshine.app; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import a...
37.225
149
0.666555
395cfcf1929b1ce1fe328a1293b3dae9cb134360
553
package io.zbus.examples.transport.tcp; import io.zbus.transport.EventLoop; import io.zbus.transport.http.Message; import io.zbus.transport.http.MessageClient; public class MessageClientExample { public static void main(String[] args) throws Exception, InterruptedException { EventLoop loop = new EventLoop(); ...
24.043478
81
0.726944
d3dfe42dfdd295f308e9cb5c96a27542fe8a58e2
2,658
package br.com.fernando.view.webservices; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface *...
33.225
146
0.700527
16ad3f0feb1feedab3787325a98129cb59af9fbb
4,233
/* * This is the controller activity. * * It receives the IP address and port variables * from the main activity, connects to the server, * checks the state of controller buttons, * and passes that information to the connection manager. * * Upon exiting, the user is asked for a confirmation. */ package com.ky...
32.068182
111
0.581148
bc157cb90fe35c48dce49033ab599e4810865ee0
3,789
package com.opensource.androidrepository.util; import android.app.Activity; import android.content.Context; import android.view.WindowManager; import android.widget.Toast; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; /** * Created by Administrator */ public class Utils { pu...
24.927632
92
0.558195
bb9b7d4a6dff3b44df786e576deb5e01fecdbe13
302
package com.dothome.inceleb.instamanager.Lib.instagram; public class InstagramUser { public String id; public String username; public String fullName; public String profilPicture; public String accessToken; public boolean isRegist=false; public int countFollow; public int countFollowed_by; }
23.230769
55
0.811258
8fed3b42d1fd3d1a8a85906e2e1cf8cc2d664fc0
3,383
package com.example.robpercival.sounddemo; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.media.MediaPlayer; import android.view.View; import android.widget.SeekBar; import android.wi...
25.43609
92
0.651493
0238cc35c5ad51f556777a2405320ce3962dc686
6,670
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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. Redistributions of source code must retain the above copyright notice, // th...
30.87963
94
0.693853
6b05869d7aa169cce0e72078e807c5032199713c
5,307
package com.ninja_beans.crawler; import com.gargoylesoftware.htmlunit.BrowserVersion; import com.ninja_beans.crawler.helper.cloudflare.IuamSolver; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpClient.Redirect; import java.net.http.HttpClient.Version;...
32.359756
100
0.682118
909f700b240f393f56daec63a317ae42ac1e663b
271
JSONObject message = new JSONObject().put("some", "content"); JSONObject volatile = new JSONObject().put("volatile", "are volatile information"); Options opts = new Options().setVolatile(volatile); kuzzle .collection("collection", "index") .publish(message, opts);
30.111111
83
0.726937
4f3b3e08767995cf1cabe2e30e25781c23c2c9a1
57
package Chapter12; public class LoggingExceptions { }
8.142857
32
0.77193
e9fc6d2e45161bc1377edad642d3bd017c7feff9
2,645
package motoresdebusqueda.restoolApp.UI; import net.serenitybdd.screenplay.targets.Target; import org.openqa.selenium.By; public class PaginaPrincipal { /* BOTONES DE REDIRECCIÓN */ public static final Target SECCION_EMPLOYEES = Target.the("BOTÓN_SECCION_EMPLOYEES") .located(By.cssSelector("a:nth...
44.830508
97
0.662004
4b8c1d49c0cc952745d266715578127118e84031
14,116
/* * 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 ...
39.651685
181
0.71125
c8e4144f224ea62da86a42400c5cf380d0cffae9
724
package com.librato.metrics.client; import org.junit.Assert; import org.junit.Test; public class AuthorizationTest { @Test(expected = IllegalArgumentException.class) public void testAuthHeaderRejectsEmptyUsername() throws Exception { Authorization.buildAuthHeader(null, "token"); } @Test(expec...
31.478261
81
0.736188
77397bf375ec4dc6832862a25a58f2136fa7d4e6
2,866
package com.kkb.pojo; import java.io.Serializable; import java.util.Date; public class TUser implements Serializable { private Integer id; private String username; private String password; private Integer state; private String email; private String source; private Date createDate; ...
23.491803
140
0.592114
43db6d545c1cd791692f9cda5726f3a6c9517f44
3,168
package com.springstart.batchprocessing; import org.springframework.batch.core.Job; import org.springframework.batch.core.Step; import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; import org.springframework.batch.core.configuration.annotation.JobBuilderFactory; import org.spring...
38.634146
100
0.681187
7c2bb6eecb9bf4690b90eb67d6a087a1514877a4
3,240
/** * This class is generated by jOOQ */ package org.jooq.test.hsqldb.generatedclasses.tables; /** * This class is generated by jOOQ. */ @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class TLanguage extends org.jooq.impl.TableImpl<org.jooq.test.hsqldb.generatedclasses.tables.records.TLangu...
38.117647
231
0.760185
dc262508eed3a5874a655d95c27e96aebd0db3d8
891
package au.gov.aims.ereefs.pojo.shared; import com.fasterxml.jackson.annotation.JsonCreator; /** * A supporting POJO that records a single status change event for {@code Job}s and {@code Task}s. * * @author Aaron Smith */ public class StatusEvent { protected String timestamp; public String getTimestamp()...
20.72093
98
0.617284
2cdd90ae1786ecb9f799115ea43d9f54cef77b33
375
package org.sedgewick.algorithms.part_two.week_three.question_five; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class AmericanFlagSortTest { @Test void sort() { int[] a = {231, 1, 140, 99, 1, 13}; new AmericanFlagSort().sort(a, 256); assertArr...
25
67
0.650667
bb1f00308c5ab7b6247ce88c35f6daee913ffef5
787
package SwordOffer; /** * 统计一个数字在排序数组中出现的次数 * @author Administrator * */ public class Solution37 { //可以直接遍历,使用二分查找的速度会更快 public int GetNumberOfK(int[] array, int k) { int upper=getUpperCase(array,k); int lower=getLowerCase(array, k); return upper-lower+1; } public static int getLowerCase(int[] array,int...
17.488889
52
0.620076
05ed692cd04969b1b5b1bc8058f6abcd65ff75b2
263
package life.catalogue.db.type2; import life.catalogue.api.vocab.TypeStatus; public class HstoreTypeStatusCountTypeHandler extends HstoreEnumCountTypeHandlerBase<TypeStatus> { public HstoreTypeStatusCountTypeHandler() { super(TypeStatus.class); } }
21.916667
98
0.806084
d7ded6d82d393a424ea8e57b23e861477864fd25
2,480
/* * Copyright 2016-2017 Huawei Technologies 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 appli...
32.207792
111
0.691129
6737f5c7ad9c04c61d5fc0a21869e1e9ed6c2a8b
91
package org.codeseoul.java.intro; public interface IWritable { public void write(); }
15.166667
33
0.736264
626eee59f1a341b6ece5b3ac183d34a76fb4f06c
829
package org.rmysj.api.commons.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.MappedSuperclass; @MappedSuperclass public abstract class AbstractAuditingEntity<T> extends AbstractEntity<T> { /** * */ private static final long serialVersionUID = 1L; private Integer pag...
16.254902
75
0.737033
3dc1081ef139258a77fc2959ca297cb583821c29
564
<<<<<<< HEAD package cc; import java.util.Comparator; public class Myname implements Comparator<Employee> { @Override public int compare(Employee o1, Employee o2) { // TODO Auto-generated method stub return o1.getName().compareTo(o2.getName()); } } ======= package cc; import java.util.Comparator; public cl...
18.8
53
0.723404
4bc392553ebd3f4f8bbe086509efd3d74e94455b
438
package org.nutz.boot.starter.dubbo; import org.nutz.boot.starter.ServerFace; import org.nutz.integration.dubbo.DubboManager; import org.nutz.ioc.Ioc; import org.nutz.ioc.loader.annotation.Inject; import org.nutz.ioc.loader.annotation.IocBean; @IocBean public class DubboStarter implements ServerFace { @Inject("ref...
21.9
49
0.778539
ce685788285fab9e8cb751d6d6139cc214fb0d57
490
package com.jenson.security.validater; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; public class TestConstarint implements ConstraintValidator<TestValidater, Object> { @Override public void initialize(TestValidater constraintAnnotation) { System.out.pr...
22.272727
84
0.769388
fdefe639e7b0ee6807594cd9acc2e4d8e8bb319a
4,857
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. package com.microsoft.azure.spark.tools.job; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import org.mockito.Mockito; import rx.Observable; import com.microsoft.azure.spark.tools.utils....
41.87069
112
0.736669
0752ce849e24cb5261e19e802eaddaa3ec076b1d
1,373
package fragmentation.helper.internal; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; /** * @decs: ResultRecord * @author: 郑少鹏 * @date: 2019/5/20 9:33 */ public final class ResultRecord impleme...
24.963636
85
0.644574
013e81bec477d2346d7ebcd88f5746df15ef2f36
496
package org.apache.spark.sql.execution.datasources; public class PartitionPath$ implements scala.Serializable { /** * Static reference to the singleton instance of this Scala object. */ public static final PartitionPath$ MODULE$ = null; public PartitionPath$ () { throw new RuntimeException(); } public...
49.6
181
0.760081
10779ee1200fd1db5ea4ad951720be166f8a11ee
1,856
import java.util.Scanner; public class BattleShips { public static void main(String args[]) { Scanner s=new Scanner(System.in); String board[][]=new String[5][5]; for(int i=0;i<5;i++) { for(int j=0;j<5;j++) { board[i][j]="O"; } ...
25.081081
64
0.425108
d6e8aeee31bef32a8df669636fa42b5e930a2b2f
116
/** * Defines runnable services used by API * * @author arnoldpelka * */ package org.pelka.resume.api.service;
16.571429
40
0.689655
7b90680b12c25f3254c4a70704acc9927f888bbb
380
package org.typroject.tyboot.core.restful.exception.instance; import org.typroject.tyboot.core.foundation.exception.BaseException; /** * Created by magintursh on 2017-07-05. */ public class BadRequest extends BaseException { public BadRequest(String message) { super(message,BadRequest.class.getSimp...
22.352941
68
0.721053
21690bfae454bcc645d0136a7f1a75388932eb44
1,098
package com.bysj.imageutil.util; public class HandleKeys { public static final int COPY_FILE_SUCCESS = 1; public static final int COPY_FILE_FAILURE = -1; public static final int ENHANCE_CONTRAST_DONE = 2; public static final int ENHANCE_CLARITY_DONE = 3; public static final int EN...
45.75
57
0.688525
ba295a70f6cce87228adc7a02269d839367202b5
8,340
package com.zerobase.fastlms.project.service.impl; import java.security.Principal; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import java.util.Optional; import javax.transaction.Transactional; import org.springframework.stereotype.Service; import org.springframework.util.Colle...
34.605809
167
0.766427
a3de7a6f1b84e254cfa55b0216dfd23a2f6e0c66
10,128
/* * Copyright 2010-2013 Ning, Inc. * * Ning 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 required by a...
39.874016
188
0.682366
e6a070b6e6366623042a3bd14bb3fbd536e773e7
1,102
package com.sparkit.staf.domain.user; import lombok.Data; import org.hibernate.annotations.NaturalId; import javax.persistence.*; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import java.util.HashSet; import java.util.Set; @Entity ...
22.958333
63
0.655172
316aaf7b9265d3682079950f56d19a82096676c7
7,723
package io.cattle.platform.object.util; import io.cattle.platform.json.JsonMapper; import io.cattle.platform.util.type.CollectionUtils; import io.cattle.platform.util.type.UnmodifiableMap; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util...
30.892
119
0.611161
4164c4835cf54b86f5d4bd94571a3afc63e2fd35
1,718
package com.appdevgenie.shuttleservice.model; public class TravelInfo { private String townName; private String townCode; private String departureTime; private int totalPassengers; private int onPassengers; private int offPassengers; public TravelInfo() { } public TravelInfo(Stri...
23.861111
137
0.668801
e41b16ca88084b3a0791c7bffc6a4940447ce736
274
package com.shuoquan.blog.dao; import com.shuoquan.blog.entity.User; import org.springframework.data.jpa.repository.JpaRepository; public interface UserDao extends JpaRepository<User, Long> { User findUserByUsernameAndPassword(String username, String password); }
34.25
72
0.806569
54076d5e5d92c6b95d0a01d50bf0b9d77b8a15a6
3,921
/** * Copyright 2000-2013 Geometria Contributors * http://geocentral.net/geometria * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License * http://www.gnu.org/licenses */ package net.geocentral.geometria.util; import java.io.File; import ...
31.119048
83
0.604438
838387a2d5341e32529650fbad8cbfb1cc3a8bd6
1,793
package com.blogspot.jesfre.yourtunnel; import com.blogspot.jesfre.yourtunnel.elements.LocalUserInfo; import com.blogspot.jesfre.yourtunnel.elements.RemoteServer; import com.blogspot.jesfre.yourtunnel.elements.ServerData; import com.jcraft.jsch.JSch; import com.jcraft.jsch.Session; import com.jcraft.jsch.UserIn...
30.389831
141
0.689905
bf9dd4cfe9e93d1c422ec72292865314c7b64240
9,599
/* * Copyright 2010 Google 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...
30.185535
116
0.674862
def059ea9640df791bb8b7b22edb7a6fc78023b8
4,669
//https://repl.it/Flm8/3 //copy this code into repl.it to run class Main { public static void main(String[] args) { MyList list = new MyList(); list.add(new String("Joe")); list.add(new String("John")); list.add(new String("Mary")); list.add(new String("Jesse")); ...
19.952991
73
0.490041
94a51c58f9b1afd225e9b5ba612d51d20036feca
2,188
package com.casa.form.csr; import java.math.BigDecimal; import java.util.Date; public class AccountClosureForm { private String accountno; private String accountname; private String accountstatus; private Date dtlastupdate; private String posttx; private BigDecimal currentbal; private BigDecimal floatamt; pr...
23.031579
55
0.761426
d5a3c56a862e96115b85af08f9cc40641f92e974
2,728
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.jhfj.entity; import org.hibernate.validator.constraints.Length; import com.thinkgem.jeesite.common.persistence.DataEntity; /** * 计划分解任务历史记录Entity * @author lg *...
18.186667
108
0.684384
df88e436827e099087903da4ea5e80c5c79addb1
7,608
/* * The MIT License * * Copyright 2020 Michal Kaštan <github.com/BloodyBogan> & Ladislav Capalaj. * * 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 with...
42.741573
194
0.639721
6c0f60bbf5d5ea4f654d96e06f4749a8fe6e6ae3
1,549
public class Statistics { public static void main(String[] args) { if (args.length < 2) { System.err.println("USAGE: " + System.getProperty("program.name") + " <ID file> <log file[,tag]> [<log file[,tag]> ...]"); System.exit(1); } String idFile =...
35.204545
80
0.523564
c1cf88a905d7ca0191f0a545e5e800f2edc6d615
4,814
package edu.jhu.pacaya.hypergraph.depparse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import edu.jhu.pacaya.autodiff.AbstractModuleTest; import edu.jhu.pacaya.autodiff.AbstractModuleTest.Tensor1Factory; import edu.jhu.pacaya.autodiff.Identity; impo...
36.195489
84
0.573951
412d5d88d070cb617aef469257220c091346b2f6
63,314
package de.peeeq.wurstscript.translation.imtranslation; import com.google.common.base.Preconditions; import com.google.common.collect.*; import com.google.common.collect.ImmutableList.Builder; import de.peeeq.datastructures.Partitions; import de.peeeq.datastructures.TransitiveClosure; import de.peeeq.wurstio.utils.Fil...
36.767712
283
0.602631
b40817698226ea27895f765208121173e1d602f3
642
package com.anchnet.cloud.eip; import com.alibaba.fastjson.annotation.JSONField; /** * Created by liangs on 17/3/13. */ public class EipGroupResponse { @JSONField(name = "eip_group_id") public String eipGroupId; @JSONField(name = "eip_group_name") public String eipGroupName; public String getEi...
21.4
54
0.67757
57c84666d608419072a05a44ebe8344508b4b14a
1,477
package bitwork.dk; import java.util.ArrayList; import java.util.List; /** * Created by cha on 19-09-2015. */ public class TilbudEmail { String postCode; String bynavn; private String ugenummer; List<Tilbud> tilbud = new ArrayList<Tilbud>(); List<User> users = new ArrayList<User>(); Modtager...
21.405797
56
0.542993
b58395084af0d7fc9d1db167286b496dac3ecf5a
4,860
package com.dwarfeng.dutil.basic.threads; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import com.dwarfeng.dutil.basic.DwarfUtil; import com.dwarfeng.dutil.basic.Exc...
20
94
0.659259
85aa90ca234f050d898b343f5d3387fe2fc6fc48
906
package me.bttb.crs.model; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the DCTR database table. * */ @Entity @Table(name = "DCTR") @NamedQuery(name = "Dctr.findAll", query = "SELECT d FROM Dctr d") public class Dctr extends Usr implements Serializable { private static ...
19.695652
66
0.725166
935d720dc612db8c0253f1ed6b366d0640f2cfd5
3,110
package cz.jkuchar.easyminerscorer.utlis.pmml; import java.util.Map; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.DefaultHandler; import cz.jkuchar.easyminerscorer.rules.BadRuleFormatException; import cz.jkuchar.easyminerscorer.rules.Rule; i...
27.043478
74
0.689389
bd16e37e6b667f8909c087c567bcfabae1e884e1
170
package com.swapab.cctv.transaction.usecase; import com.swapab.cctv.transaction.domain.Transaction; public interface GetAllTransactions { Transaction[] getAll(); }
21.25
54
0.794118
0152ce77741624d3200db558995fae694d6c19d1
13,675
/** * MVEL 2.0 * Copyright (C) 2007 The Codehaus * Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor * * 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.or...
27.738337
128
0.537916
a225438936ccf8e2f9329d389e59eef7f2023572
1,670
package simulated_annealing; import knapsack.Instance; import knapsack.Solution; import utils.Numbers; public class SimulatedAnnealing { // Controllers final Instance instance = Instance.getInstance(); public Solution run(Solution s, double initialTemp, double finalTemp, int thermalEqui) { double currentTemp = ...
24.925373
89
0.662275
9e5fe50af32940980c886bb8147a7ab80c242059
1,670
package com.whitedove.web.controller; import com.whitedove.common.pojo.EUDataGridResult; import com.whitedove.common.utils.WhiteDoveResult; import com.whitedove.pojo.TbCareer; import com.whitedove.web.service.JobService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereot...
24.202899
71
0.692216
768a9cfc7354bbd057676c86db63a91ce5531cf6
31,065
/* * This file was automatically generated by EvoSuite * Tue Nov 10 14:00:38 GMT 2020 */ package com.ib.client; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import com.ib.client.Contract; import com.ib.client.ContractDetails; import com.ib.client.EWra...
41.25498
705
0.64452
941e0a13e41e5f84334bd73904bd84c787ad7ade
7,268
package cs518.sample.database; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.text.Html; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup.LayoutParams; import...
35.111111
94
0.71574
4e610eb5afd38bba117105f6d5ad447f6d23c299
3,190
package com.afollestad.aesthetic; import static com.afollestad.aesthetic.Rx.onErrorLogAndRethrow; import static com.afollestad.aesthetic.TintHelper.createTintedDrawable; import static com.afollestad.aesthetic.Util.setOverflowButtonColor; import android.content.Context; import android.graphics.drawable.Drawable; impor...
31.9
98
0.714734
c4c58e373c20bfb0ab9672ab9e34d0a3cf32ce9e
61,927
/*! * dencode-web * Copyright 2016 Mozq * * 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 a...
30.932567
256
0.640981
61ba1ca98989ed4fc4b88e14df8ebdf9314019b1
7,786
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.antropometria.dao; import com.antropometria.dao.exceptions.NonexistentEntityException; import com.antropometria.dao.except...
36.726415
124
0.591189
3230e54930b0a3bab590467bb0ea8a9060c9eef7
9,585
package de.otto.synapse.messagestore.aws; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Streams; import de.otto.synapse.channel.ChannelPosition; im...
41.855895
112
0.57517
48d13fddfde13cc5e758e3ba1f11646afea5e707
463
/*** Global license : Microsoft Public Licence author Manuel Dahmen <ibiiztera.it@gmail.com> ***/ package info.emptycanvas.library.object; import java.awt.Color; /** * * @author manu */ public interface ITexture { public int getColorAt(double x, double y); public Color getMaillage...
17.807692
79
0.663067
aca1167683577bd52d9e5cdabb25747f43616a9f
4,036
/******************************************************************************* * Copyright 2012 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 * * ...
30.119403
94
0.575818
9489f1bb5f9c9cb081dfba5625824f88545b8311
4,935
package com.txt.video.trtc.customcapture; import android.content.Context; import android.media.MediaFormat; import android.os.SystemClock; import android.util.Log; import com.tencent.trtc.TRTCCloud; import com.tencent.trtc.TRTCCloudDef.TRTCAudioFrame; import com.txt.video.trtc.customcapture.decoder.Decoder; import co...
33.571429
112
0.665451
3d128e27b9819927d7b194e88639ee7f8398be1a
1,042
package math; import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; /** * * @author exponential-e * 백준 2547번: 사탕 선생 고창영 * * @see https://www.acmicpc.net/problem/2547/ * */ public class Boj2547{ private static final String NEW_LINE = "\n"; public static void...
28.944444
114
0.578695
06b5c5a24cf60793b092bdc5d45479bb60fdfe02
2,329
/* * DocString.java * * Copyright (C) 2010 Matt Seddon * * This program 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 2 * of the License, or (at your option) any later version. * * T...
41.589286
82
0.729927
deaf7cd4bc54b422c9d0758a7dab17150df7766f
148
package com.demo.adapter.objectadapter; /** * @author 张攀 * @date 2021/2/13 12:35 * 描述: */ public interface Voltage5V { int output5V(); }
11.384615
39
0.635135
95fdaaf7c24599731cb184e6134fa38201882dae
12,303
package com.developerchen.blog.module.category.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.developerchen.blog.constant.BlogConst; import com.developerchen.blog.exception.BlogException; import com.developerchen.blog.module.category.domain.dto.CategoryDTO; import com.developer...
32.206806
112
0.583354
c7062adcb7ed03fb078ad16fe649db416aef12ef
2,041
// Copyright (c) 2003 Compaq Corporation. All rights reserved. // Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved. // Last modified on Mon 30 Apr 2007 at 9:27:06 PST by lamport // modified on Fri Jan 4 22:46:57 PST 2002 by yuanyu package tlc2.tool; public class EvalControl { publi...
27.213333
84
0.681039
f5947081a5cb2c17133568a5436ae396b9770ce7
467
package com.google.android.gms.common.server.response; import com.google.android.gms.common.server.response.FastParser; import java.io.BufferedReader; import java.io.IOException; final class zac implements FastParser.zaa<Float> { zac() { } public final /* synthetic */ Object zah(FastParser fastParser, Bu...
31.133333
145
0.764454
c1097850df1021f7396f02c095727e732a1f2c17
287
package com.v5ent.xiubit.entity; import com.toobei.common.entity.BaseEntity; /** * Created by hasee-pc on 2017/11/17. */ public class SignShareInfoData extends BaseEntity { private static final long serialVersionUID = -5785092048275016483L; public String shareDesc; }
19.133333
71
0.745645
71dd256d08fbda9631913943a82ef86398a5b65b
9,635
package com.example.jebo.eindproject; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog; import android.text.InputType; ...
40.313808
142
0.626985
3b1c9382e52f5f97eca33a3e00f0c2d6309e5dc3
122
package uk.sparkydiscordbot.api.event; public interface UpdateEvent<T> { T getOldValue(); T getNewValue(); }
12.2
38
0.688525
a64b5f9fc625ad10d7b21cfc2f3174c25141cb44
2,185
import java.util.ArrayList; import java.util.List; /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ public class LowestCommonAncestorOfABinaryTree { private boolean getPath(TreeNode root, T...
32.61194
84
0.552403
da0a20bd7c1dd222205c610a0ce2db6ecacd47af
5,886
package de.webis.trec_ndd.spark; import java.io.Serializable; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSpar...
34.023121
163
0.781346
c904210f3ea15fe267eefd438651270af7348b72
9,488
package gov.usgs.wma.waterdata.groundwater; import static org.junit.jupiter.api.Assertions.*; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.ut...
35.271375
131
0.753373
d40b5e7544b17e50684e7eff1588926a3b472900
6,849
/* * Copyright © 2019 Cask Data, 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 t...
38.26257
115
0.726821
1b4fc5c8d7b6526f3dddc2a68378bc83f4970c62
2,327
/* * Copyright 2002-2014 iGeek, 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 appli...
40.12069
99
0.758487
96779e4b9ab56ce023453505d79234270cc3363e
4,254
package rainbow.core.util.dag; import static rainbow.core.util.Preconditions.checkArgument; import static rainbow.core.util.Preconditions.checkNotNull; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHash...
22.62766
114
0.657499
6803e65f6d4bf6614381b1391cf123e3ec74126d
11,350
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory o...
34.603659
171
0.695595
5ca844205a81b2d76998d46b879bb2d0fb62062d
2,734
/* * Copyright 2009-2020 Brian Pellin. * * This file is part of KeePassDroid. * * KeePassDroid 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 2 of the License, or * (at your op...
25.551402
73
0.716898
41c01b99c9721a00cbbf9adf1edee973171eb10c
6,121
/* * The MIT License (MIT) * Copyright (c) 2016 Spyros Papageorgiou * * 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 ...
37.323171
104
0.73403