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
680d30aa080b81c47a2dcd7208d3b0ea1b1628d4
2,370
/* * Copyright (C) 2017-2018 Hazuki * * 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...
27.241379
91
0.634177
ce1a89cf3ab8ff315a9fbacc79a0dc98fe33e23b
2,091
package org.ofdrw.layout.engine; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.ofdrw.layout.PageLayout; import org.ofdrw.layout.VirtualPage; import org.ofdrw.layout.element.Clear; import org.ofdrw.layout.element.Div; import org.ofdrw.layout.element.PageAreaFiller; import java....
35.440678
79
0.647059
230cca3e2f0e1dfd2878c8f09408d478a2ebcee3
5,686
/* * 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 ...
47.781513
119
0.741646
51a42988d05d0b11bfbcd52130c7ed4dca73d11b
1,321
package com.ruoyi.common.utils.formatUtil; /** * 根据经纬度计算距离工具 */ public class LocationUtils { // 地球赤道半径 private static double EARTH_RADIUS = 6378.137; private static double rad(double d) { return d * Math.PI / 180.0; } /** * @描述 经纬度获取距离,单位为米 **/ public static Double getDist...
28.717391
90
0.554126
bbe4d42c632506646a1d1c635f57bed72a13c147
498
/** * */ package com.smansoft.sl.exceptions; /** * * @author SMan * */ public class InitException extends Exception { /** * */ private static final long serialVersionUID = -7760577546599648392L; /** * */ public InitException() { } /** * * @param message */ public InitException(...
12.146341
68
0.598394
2903bde51b5cd1dadfcae7d1e83abd378e6afe2d
2,733
package com.belteshazzar.jquery; import com.belteshazzar.jquery.functions.VoidFunction; import netscape.javascript.JSObject; public class Promise { protected JSObject js; public Promise(JSObject js) { this.js = js; } public Promise then(VoidFunction doneFilter) { js.call("then", JQuery.crea...
28.768421
128
0.69045
1aca563711a3024a8a7c9aa7a7c85abaa4abf2a8
505
package com.jmineraud.lib.core; import androidx.annotation.Keep; import androidx.annotation.NonNull; @Keep public class PublicSingletonB { private static PublicSingletonB instance; private PublicSingletonB() {} public static PublicSingletonB getInstance() { if (instance == null) { i...
20.2
50
0.673267
235353fefe33a30a066ef19c84ea871c4b952a98
1,071
package ru.job4j.gameWarkraft.elves; import ru.job4j.gameWarkraft.Common; import ru.job4j.gameWarkraft.intarface.Bowman; /** * Created by Анна on 22.11.2017. */ public class BowmanElfs extends Elves implements Bowman { int hpArchery=7; int hpAttacTheEnemy=3; public BowmanElfs(int lifes, boolean privil...
20.596154
65
0.622782
e20a2a0cfee3334dbff2264a16b11dad46dcf14e
462
public static Node pairwise_swap(Node head) { if(head==null|| head.next ==null)return head; Node fast = head.next; Node slow = head; while(true){ if(fast==null )break; int temp = fast.data; fast.data = slow.data; slow.data = temp; ...
28.875
54
0.487013
f34f6256bd96dcd38edd468496594f97eb2bfea1
550
package io.limberest.json; import java.util.Comparator; import org.json.JSONObject; import io.limberest.service.Query; public class JsonableComparator implements Comparator<Jsonable> { private JsonComparator jsonComparator; public JsonableComparator(Query query, Comparator<JSONObject> fallback) { j...
26.190476
93
0.74
537052cf20b6699f1075f2cfcd3f0c93a890d463
1,388
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.bullet.LinearMath; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.bullet.global.LinearMath.*; // /...
37.513514
131
0.752161
10d7101977fedcf52ea5db609d6fb8eb852f0174
4,129
// Generated by data binding compiler. Do not edit! package io.openim.android.demo.databinding; 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...
36.539823
146
0.78542
0ab331bd737042371669371858cf443f2edf5e36
2,114
package org.teachingextensions.approvals.lite.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.teachingextensions.approvals.lite.util.lambda.Function1; /** * A static class of convenience methods for arrays and co...
26.425
93
0.614948
cc7ec5abeda92e4c3dbfd0dc70ce6cd7a1e60255
605
public class EnhancedForLoopDemo { public static void main(String[] args) { int[] values = new int[10]; // In this loop, we need the index value, so we can't use // an enhanced for loop. for (int i = 0; i < values.length; i++) { values[i] = i * i; } // In this...
21.607143
63
0.53719
20b2b2ccd0c86c94a6fde07e799c539e4f1206f2
4,175
package com.firstdata.payeezy.models.enrollment; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.an...
29.401408
151
0.788982
3ce0ca7ea0548694dc534f3c192f2eddaa555970
66,973
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * QuotationInfoListPanel.java * * Created on Apr 7, 2013, 10:38:49 AM */ package com.freebasicacc.ui; import com.freebasicacc.action.InvoiceAction; import com.freebasicacc.model.OrderBy; import com.freebasicacc....
44.559548
209
0.669897
cba5e8d1875871a6393bb67fbb0bfa14457e3dda
994
package vn.edu.vtc.bl; import java.util.List; import vn.edu.vtc.dal.DAL; import vn.edu.vtc.dal.DalFactory; import vn.edu.vtc.dal.ProductDAL; import vn.edu.vtc.persistance.Product; public class ProductBL { private DAL<Product> dal = DalFactory.getDAL(Product.class); ProductDAL productDAL=(ProductDAL)dal; ...
29.235294
67
0.705231
5b48b70fc14b479b2ec496d8117f670115454db1
1,253
package abs.model; import java.util.ArrayList; import java.util.List; /** * * */ public abstract class AbstractUser implements User { private String name; private String email; private String password; // Hashed?? private List<Booking> bookings = new ArrayList<Booking>(); /** * @param name * @param ...
18.426471
119
0.682362
6f9191dd070daafa4c3802cb7bda2b9d7015a2b0
4,937
/* * * Copyright: (c) 2012 Enough Software GmbH & Co. KG * * Licensed under: * 1. MIT: http://www.opensource.org/licenses/mit-license.php * 2. Apache 2.0: http://opensource.org/licenses/apache2.0 * 3. GPL with classpath exception: http://www.gnu.org/software/classpath/license.html * * You may not use this file...
28.211429
103
0.702248
100c54fff1f30659213f4ab0b5027be604ce24f7
4,186
/* * 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 exercise8; /** * * @author Daniel */ public class Fraction { //declare the two variables private int n...
27.181818
110
0.539417
8d85e573308fa0e071b29c13b9d42b9ecbe911d7
561
package com.learn.springcloud.dao; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestParam; import java.math.BigDecimal; /** * @ClassName: AccountDao * @Description: * @Author: lin * @Date: 2020/8/26 17:17 * @History: ...
19.344828
60
0.654189
421e544f18555ef57f09254410acf3503cb3c6ea
516
public int getYearStatIndex(int year) { int start = 0; int end = yearStatsIdx - 1; int mid = end / 2; int found = -1; int n = -1; while (start <= end && found == -1) { if ((n = yearStats[mid].getYear()) == year) { found = mid; }...
27.157895
57
0.370155
b3386c7b15e3eccd87623e6bc05f4cb44a5aa915
7,712
package com.theisenp.harbor; import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator; import static java.util.concurrent.Executors.newSingleThreadScheduledExecutor; import java.util.Set; import lcm.lcm.LCM; import org.joda.time.Duration; import com.google.common.util.concurrent.Futures; im...
21.013624
97
0.681276
d53247bf8d8bb47984e6432420cb89147878ce74
5,253
package org.sqlcomponents.core.model.relational.enumeration; import java.sql.JDBCType; public enum ColumnType { BIT("BIT"), /** * Identifies the generic SQL type {@code TINYINT}. */ TINYINT("TINYINT"), /** * Identifies the generic SQL type {@code SMALLINT}. */ SMALLINT("SMALLIN...
23.769231
76
0.557967
92888f7a59e29cfea71bf1015bf0df2a7211bbbd
129,441
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to th...
37.881475
96
0.5026
08926d529c5cff403f4eac791a1ece232198325c
725
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.http.client.core; /** * Return types for the server. * * @author Einar M R Rosenvinge * @author Steinar Knutsen */ public enum ErrorCode { OK(true, true), ERROR(f...
21.323529
118
0.664828
0270f3087aaee393355ba5543409828d32f76660
1,659
package com.android.example.testsample; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.util.Log; import android.widget.Button; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.runner.Run...
23.7
108
0.729355
1e7b0edc104e0cea5101bda25c5669f86c16d107
1,802
package com.davidlutta.ytsapp.UI.allMovies.viewmodel; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.paging.LivePagedListBuilder; import androidx.paging.Paged...
37.541667
102
0.735294
f05fb3df719864d2d373745f327eba1253128115
691
package com.portal.z.common.domain.repository; import java.util.List; import org.apache.ibatis.annotations.Mapper; import com.portal.z.common.domain.model.User; @Mapper public interface UserMapper { // カウント用メソッド public int count(); // 登録用メソッド public boolean insertOne(User user); // 1件検索用メソッド...
19.194444
47
0.694645
4a0283bf52ce11e33ddb5445b623734f6a7196e0
13,603
/** * 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...
38.535411
119
0.725208
cc86b53fc4e06069b86f4b9e623c57e778ad6029
2,883
/*----------------------------------------------------------------------------*/ /* Copyright (c) 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 of...
43.029851
167
0.693722
410e6ca8c80dda3fafc04d64a9f6746ffa389f0c
4,413
/* * Title: CloudSim Toolkit * Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Licence: GPL - http://www.gnu.org/copyleft/gpl.html * * Copyright (c) 2009-2012, The University of Melbourne, Australia */ package cloudsim.network.datacenter; import cloudsim.Uti...
31.521429
151
0.631317
b328a0c5c6b1a0000e5758b071014161172bb4a5
4,374
package com.billplz.api; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Base64; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse...
31.242857
93
0.626886
ef575b7cac6ca5f8bf04917f9f0cab767cfbf923
3,306
package it.unitn.nlpir.pruners.semeval; import it.unitn.nlpir.pruners.Pruner; import it.unitn.nlpir.pruners.PruningRule; import it.unitn.nlpir.util.TreeUtil; import java.util.HashSet; import java.util.List; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import edu.stanfo...
27.781513
107
0.650635
b0c3976ad85a7d5556f7eb37d39c500e26e62dc5
1,097
//Chapter 19 - Exercise 19.13 //http://beta.code-check.org/codecheck/files?repo=bj4fp&problem=ch14/c14_exp_14_13 import java.util.ArrayList; import java.util.Comparator; import java.util.Collections; import javax.swing.JOptionPane; public class StringList { public static void main (String[] args) { ArrayList list...
18.913793
82
0.644485
446b4cb5544ea68333473ed5493dbd40cfdaa835
17,662
/** * Copyright 2015 David Karnok and 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 l...
29.58459
140
0.462745
2bd37323e4fa62a71b6a0975952bf13331fd9e34
11,483
/* * Copyright (c) 2004-2021, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
41.454874
143
0.728642
6e24b0987eef9581b9b64f08d223c3774eaf4e9d
8,676
package org.ovirt.engine.core.bll.gluster; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.concurrent.Callable; impor...
45.663158
120
0.653066
590b3f05de915f6626a666d8ccca392c79626e94
1,453
package server.commands; /** * Abstract Command class contains Object methods, name and description. */ public abstract class AbstractCommand implements Command { private String name; private String usage; private String description; public AbstractCommand(String name, String usage, String descripti...
23.819672
80
0.594632
131caf786f9e3b6d3ff84e2e11ffb4b97aa91443
887
package com.dmall.cart; import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.Enab...
34.115385
94
0.811725
dc7f07bb37cf75274886e06fa842e8c20525aa1c
1,039
package salvo.jesus.graph; /** * A LabeledGraphComponent represents a Vertex or Edge with a label. * * @author John V. Sichi */ public interface LabeledGraphComponent extends GraphComponent { /** * @return does this component have a label? In some graphs, labeling may * be optional, in which case th...
27.342105
78
0.66795
9102a81ba1270768a58418627e39d9ed4de84a31
2,022
package eu.modernmt.model.corpus.impl.tmx; import eu.modernmt.io.FileProxy; import eu.modernmt.model.corpus.TUReader; import eu.modernmt.model.corpus.TranslationUnit; import eu.modernmt.xml.XMLUtils; import org.apache.commons.io.IOUtils; import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLStreamExcepti...
27.69863
92
0.63996
35d02a48fb29428da9147f3c494a98ad6cae60fd
2,199
package com.publiccms.views.api; //Generated 2015-5-10 17:54:56 by com.sanluan.common.source.SourceMaker import java.io.IOException; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.publiccms.common.base.AbstractAppV1Di...
37.271186
128
0.704866
f62168ce58e9e88ba73aa5642c623b9ad91e4a2b
810
package org.motechproject.pillreminder.builder; import org.motechproject.scheduler.service.MotechSchedulerService; import org.motechproject.pillreminder.EventKeys; import java.util.HashMap; import java.util.Map; public class SchedulerPayloadBuilder { private Map<String, Object> params = new HashMap<>(); pub...
26.129032
66
0.716049
8aaf2769abd99fd2cabe87e2d824e9bfd94c33ed
931
package io.github.ctrlMarcio.sdis.lab1.client; import io.github.ctrlMarcio.sdis.lab1.framework.request.Request; import io.github.ctrlMarcio.sdis.lab1.framework.request.RequestResponse; import lombok.Getter; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; import java.n...
25.162162
73
0.676692
f5b3d124707df8ae6646715ad0fb41ed620debdf
688
package com.siftscience.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class CreditPoint { @Expose @SerializedName("$amount") private Long amount; @Expose @SerializedName("$credit_point_type") private String creditPointType; public Long getAmou...
24.571429
81
0.697674
30090e34b384399d2137dd53a39c5f87ccd58452
1,973
package nl.bos.tools; import com.documentum.com.DfClientX; import com.documentum.com.IDfClientX; import com.documentum.fc.client.IDfClient; import com.documentum.fc.client.IDfSession; import com.documentum.fc.client.IDfSessionManager; import com.documentum.fc.common.DfException; import com.documentum.fc.common.IDfId; ...
34.017241
114
0.703497
34e2c655970ab778fc2992dcfff5267c276cee1a
27,885
package com.isteer.service.activity; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TextInputEditText; import androi...
37.379357
185
0.639161
7d16d929d75bdd7296177a6e7e07e1ed2aaba83f
2,993
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
39.906667
118
0.670231
7e57386cb84998574cfabb43bea15a090bf2082d
3,765
package com.jowney.common.sample; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.annotation.SuppressLint; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; imp...
31.115702
138
0.649137
348f4a9da33c8b12ffdaea5b77bca9030bdc3c00
609
package org.aion.avm.internal; /** * The root of the exception/error hierarchy in AVM. The DApp should not be able * to catch any of the exceptions or errors which extend from this class. */ public class AvmThrowable extends RuntimeException { private static final long serialVersionUID = 1L; protected AvmT...
23.423077
80
0.676519
2b2635c3ec214912713482db6fdba93a7f21f9b2
8,053
package org.mltooling.core.env; import org.mltooling.core.api.format.SingleValueFormat; import org.mltooling.core.env.handler.FileHandler; import org.mltooling.core.lab.LabApiClient; import org.mltooling.core.lab.LabAuthApiClient; import org.mltooling.core.lab.model.LabUser; import org.mltooling.core.lab.model.LabFile...
34.41453
162
0.60611
39b3adae90498cd0650aafebdb7fce367a48d185
4,061
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * 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 F...
32.75
128
0.694903
ba3fadaec9938df897cb9e2bdb6736bf8a66324a
11,671
/*=====================================================*/ /* Project Title: Legends: Heroes and Monster */ /* Course Name: GRS CS611 */ /* Semester: Spring '21 */ /* Project Author: Victor Vicente */ /*============================...
34.943114
265
0.672607
7d3eafb849a01b7b18d237f2a05e62c742d64115
2,411
package application.view; import java.net.URL; import java.util.Map; import java.util.ResourceBundle; import application.util.Jwt_Decoder; import application.view.util.Input_Validation; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Alert; import javafx.scene.control.Alert.Alert...
26.788889
77
0.687681
fb86cb105ba751ebdb9ea002f338012968dc4eac
802
package com.example.demo.post.model.entity; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Getter @NoArgsConstructor public class Post { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long postId; @Column(length = 100, nullable = false) ...
20.05
56
0.647132
aabcb56f71721d3c483f15c605bce2041fc92266
5,586
package io.mesosphere.dcosappstudio; import java.io.IOException; import java.io.PrintWriter; import java.lang.reflect.Type; import java.net.InetSocketAddress; import java.net.Socket; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springfra...
35.35443
128
0.653419
aa0b8427c6db4bba2d4e9f479a0136edc0460ef8
459
package com.red.alert.receivers; import android.content.Context; import android.content.Intent; import android.support.v4.content.WakefulBroadcastReceiver; import com.red.alert.utils.networking.Connectivity; public class ConnectivityReceiver extends WakefulBroadcastReceiver { public void onReceive(Context contex...
30.6
68
0.799564
ee9f29df6ab44c1786df3a82f8af6e8e9df469ee
1,625
/* * 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 ...
30.092593
86
0.712
d1f2250df4207c5b97eb7ea62385d8aafefce871
3,605
package the.dreams.wind.blendingdesktop; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.media.projection.MediaProjectionManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provider.Settings; import android.suppor...
36.414141
100
0.617198
5ce4090c9b69d10c4e72538880706de9e3ce2bd0
1,513
package floobits; import floobits.utilities.Flog; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; public class GitUtils { public static S...
33.622222
86
0.589557
124392022cf4dcd70fcacfeaae1851f46d67ad17
3,812
package fr.rogertan.challenge.peakbrainmap.charts; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Point; import android.util.AttributeSet; import android.view.View; import java.util.Arr...
26.289655
124
0.598636
44811557e61276a869955d180c1a310706086086
616
package com.cqvip.zlfassist.bean; public class PeriodicalYear { String year; String _id; String[] num; public PeriodicalYear() { } public PeriodicalYear(String year, String _id, String[] num) { super(); this.year = year; this._id = _id; this.num = num; } public String getYear() { re...
17.111111
64
0.613636
855934c05cdb0f816be040114f47fb7dab553e7e
123
package eu.inmite.android.plugin.butterknifezelezny.iface; public interface ICancelListener { public void onCancel(); }
17.571429
58
0.804878
6cfeaa52ddd31577fcb111376b2d7e128129fcf9
1,140
/* * Copyright (c) 2020-2021 Polyhedral Development * * The Terra Core Addons are licensed under the terms of the MIT License. For more details, * reference the LICENSE file in this module's root directory. */ package com.dfsek.terra.addons.terrascript.script.builders; import java.util.List; import com.dfsek.te...
31.666667
91
0.74386
e1ad63dd7f215a098d124f285250842883d0b5fe
7,000
package cn.jianke.hookpractice; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.os.Handler; import android.os.Message; import android.util.Log; import java.lang.reflect.Field; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method...
34.825871
112
0.589571
c641611e76caeb12aacd5d633c564143e5977d95
828
package com.softuni.techmodule; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args) { Scanner input=new Scanner(System.in); String[] words=input.nextLine().split("[, !?.]+"); TreeSet<...
21.789474
71
0.56401
00e8c81dffb43ab04ee26ba98d4c8d6fc4e6e73f
1,428
/*- * #%L * IO Tesler - Workflow Model * %% * Copyright (C) 2018 - 2019 Tesler Contributors * %% * 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/license...
28.56
76
0.760504
6eb61dec0a99856bdfdc554f0a445d0c1a8512ca
250
package io.logz.demo.spring.xml; public class AlertsService { private AuditService auditService; public AlertsService() { } public void setAuditService(AuditService auditService) { this.auditService = auditService; } }
19.230769
60
0.708
3224507869ba688843227d683e8bdbb4af7f95d7
331
package org.neotech.app; import android.content.Context; /** * MainActivity is by default ignored, so this class makes sure the mapping.txt * file contains at least something. */ public class ObfuscatedClass { public CharSequence getAppName(Context context) { return context.getString(R.string.app_name...
22.066667
79
0.734139
bc30a8677e8a561dd57477d8ccd6d5b28d9f1092
883
package it.unive.pylisa.symbolic.operators; import it.unive.lisa.caches.Caches; import it.unive.lisa.symbolic.value.operator.binary.BinaryOperator; import it.unive.lisa.type.Type; import it.unive.lisa.util.collections.externalSet.ExternalSet; import it.unive.pylisa.cfg.type.PyClassType; import it.unive.pylisa.librarie...
29.433333
94
0.789354
8393ffecfd0f46370680f739146822978723b8c8
1,874
package com.sankuai.waimai.router.interfaces; public class Const { public static final String NAME = "WMRouter"; public static final String PKG = "com.sankuai.waimai.router."; // 生成的代码 public static final String GEN_PKG = PKG + "generated"; public static final String GEN_PKG_SERVICE = GEN_PKG + ...
34.703704
84
0.699039
f1ec7b93ca312f03941905a188cdd7f952722050
2,003
package org.springframework.samples.petclinic.feeding; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.samples.petclinic.pet.PetService; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springf...
35.140351
160
0.740889
4bbaea60d1e53a7fe7b8a9fdb20b2669d2f2de56
2,036
package com.jelurida.ardor.contracts; import nxt.BlockchainTest; import nxt.Nxt; import nxt.addons.AddOns; import nxt.addons.ContractRunner; import nxt.blockchain.Block; import nxt.blockchain.Blockchain; import org.junit.AfterClass; import org.junit.BeforeClass; import java.security.AccessController; import java.secu...
34.508475
101
0.689587
a7e3178a4caecf90d859e8fdf77f6e0bdffeb209
2,667
/* * Trident - A Multithreaded Server Alternative * Copyright 2014 The TridentSDK Team * * 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....
26.939394
116
0.654293
ac38391027c978dec098cefa0936178ed819cf39
1,082
package kr.co.popone.fitts.viewmodel.search.home; import io.reactivex.functions.BiConsumer; import kr.co.popone.fitts.base.type.NetworkState; import kr.co.popone.fitts.model.search.SearchRecommendViewData; final class SearchViewModel$requestRecommendSearch$1<T1, T2> implements BiConsumer<SearchRecommendViewData...
45.083333
121
0.731978
25ad933e6d7b1a8ef0625920acdae7bc8420a755
3,870
package org.oddjob.arooa.beanutils; import org.junit.Test; import java.beans.PropertyDescriptor; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import org.junit.Assert; import org.apache.commons.bea...
30.96
119
0.730749
b97d3be7a2d6ddeb02d797c522f2503344af54e8
4,202
/* * The MIT License (MIT) * * Copyright (c) 2014-2017 d05660@163.com * * 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 * ...
42.877551
146
0.644455
445093683f915bbbfcba6587ad568a30ed798312
421
package biz.schr.cdcdemo; public class Config { // DB Connection config public static final String dbUsername = "dbz"; public static final String dbPassword = "iddqd"; public static final String dbName = "ahlcz5"; public static final String dbIP = "localhost"; public static final int dbPort = ...
32.384615
92
0.674584
3940e50cab5ce339716c8f0570c8f7764de8c64c
59,984
/* * 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 * d...
35.098888
93
0.696269
ab4f9db6476a017562a3d83d7ab58358d4ff2b2e
935
package org.nyu.crypto.controller; import org.nyu.crypto.service.Simulator; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @RestController public class SimulationController { /** * OK ambitious...
32.241379
116
0.718717
2efbe5536e76046199b3676ff7637e65350e9058
135
package knight.rider.kitt.platform; import com.tencent.tauth.IUiListener; public interface IQQShareListener extends IUiListener { }
16.875
55
0.822222
293a7d5dfcb78b67935d6fde8979a4a159b4c87a
791
package cn.zyf.concurrent.program; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; public class ThreadPoolDemo implements Runnable{ static ExecutorService executorService=MyExecutors.newMyExecutors(); @Override public v...
26.366667
72
0.668774
76ad9c952f7c28ddce93806f0628e7fbd5ce5dd5
2,190
package io.github.apace100.origins.util; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext; import io.github.apace100.origins.registry.ModLoot; import io.github.edwinmindcraft.origins.api.capabilities.IOriginContainer; import net.minec...
42.115385
182
0.824201
ed3b6ddf800fb1571a01f63d65f281ec126586f5
873
package <%= appPackage %>.analytics; import com.atomicleopard.expressive.Expressive; import com.mixpanel.android.mpmetrics.MixpanelAPI; import <%= appPackage %>.environment.Environment; import org.json.JSONObject; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Module providing ...
25.676471
102
0.797251
b06cdef4ad3e7fef87df696941659795ed4f9a04
4,298
package com.codepath.apps.mysimpletweets; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompat...
32.315789
107
0.662866
604d9257aeaa61957370b9f4f7ab2a904c561ce1
511
package knf.kuma.retrofit; import knf.kuma.pojos.AnimeObject; import knf.kuma.pojos.Recents; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.Path; public interface Factory { @GET(".") Call<Recents> getRecents(@Header("Cookie") String cookies, @Header("User...
30.058824
140
0.735812
8c151abf4e22472a44bc4ddfa06fde899c1febd5
1,714
package Otopark; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ Parent root = ...
39.860465
104
0.653442
5d2625cfe32118e8794b42217796964fa81b4be3
35,883
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
42.565836
131
0.678148
947834cabf10795e9c8a3d0b04e9fc3e0cfe9f5a
828
package com.javierarboleda.newyorktimesarticlesearch.utils; /** * Created on 10/18/16. */ public class NytApiUtil { // URLs public final static String NYT_API_BASE_URL = "https://api.nytimes.com/svc/search/v2/"; public final static String NYT_BASE_URL = "http://www.nytimes.com/"; // Params publ...
31.846154
91
0.710145
d2feb8d5c4d56d92989cfd8be1d8851e3ff22299
591
package io.acari.core; import org.junit.Test; import static org.junit.Assert.*; /** * Forged in the flames of battle by alex. */ public class LineEmUpBoisTest { private final LineEmUpBois lineEmUpBois = new LineEmUpBois(); @Test public void lineUpOne() { assertEquals(3, lineEmUpBois.lineUp("LLARL")); ...
18.46875
63
0.675127
f7e1588594ace3b6b9f17cb013b91ba2b14b439e
1,595
package com.communote.server.core.vo.query.java.note; import java.util.ArrayList; import java.util.Random; import org.testng.Assert; import org.testng.annotations.Test; import com.communote.common.matcher.Matcher; import com.communote.server.api.core.note.NoteData; import com.communote.server.api.core.tag....
33.229167
94
0.651411
9287251c4e2e172c73742d8f510a85fb1ddbf870
23,086
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
39.395904
107
0.644633
2229f555d7739ec9810eb157762f694fb92a9abd
8,253
package com.mbmecj.apk; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothServerSocket; import android.bluetooth.BluetoothSocket; import java.io.InputStream; import java.io.OutputStream; import java.util.HashMap; import java.util.UUID; public class...
23.313559
206
0.784079
d5e3ccc930727544dd9e9dd03a43eab1cc3a6d4f
289
package com.doodl6.springboot.seata.common.entity; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; @Getter @Setter @Accessors(chain = true) public class Storage { private Integer id; private String goodsCode; private Integer stockNum; }
15.210526
50
0.761246
c2eed9fabf7c04ea3ba17b513a4f3e1e698f0bbc
24,967
package com.hunonic.funsdkdemo.devices; import android.app.TimePickerDialog; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.RadioButton; import androi...
29.338425
123
0.634638
73b842784b56c2fc0427e8899fa73a6f0c8408da
258
/** * almameter */ public class almameter { public static void main(String[] args) { for(int i=1;i<=10;i++){ System.out.printf("%d UKDW Almamaterku %d\n",i,(11-i)); } } //void main(){ // clrscr(); // // getch(); //} }
15.176471
60
0.492248
384520ee83121e2f60ef49c9d35542219ed665cc
4,010
// HTMLParser Library $Name: v1_6_20060319 $ - A java-based parser for HTML // http://sourceforge.org/projects/htmlparser // Copyright (C) 2004 Somik Raha // // Revision Control Information // // $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/visitorsTests/StringFindingVisitorTest.java,v $ // $Author:...
38.932039
119
0.708229
c8c29eb26eb22b6931c6def024b302254ee1ded3
3,922
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
16.618644
76
0.532381
eb239c59380b0e208c4fc5c00bf28b8172839c1e
5,510
package com._4point.aem.formsfeeder.server; import java.io.IOException; import java.io.InputStream; import java.util.Objects; import javax.naming.ConfigurationException; import javax.ws.rs.GET; import javax.ws.rs.HeaderParam; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; ...
38.531469
241
0.678221