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
a8ee988b7bdec28dc7bf0d509211503bcf85d6ea
1,072
public Map<String, String> dimNames = new HashMap<String, String>(); private void loadDiminutiveNames() { BufferedReader input = null; try { input = new BufferedReader(new FileReader(dimNamesFile)); String line = null; while ((line = input.readLine()) != null) {...
35.733333
88
0.504664
e9f324a21dee6d9e5c5efcd177d9505e08b28744
623
/* * Copyright (c) 2020. Yuanchen */ package book.precise_java; /** * @author shiyuanchen * @project LeetCode * @since 2020/11/24 */ public class Example39 { static class TLC { static int sf; int nf; void nm() { class NLC { int m(int p) { ...
14.833333
44
0.41573
5b3971a3f4cc311cd4a52fc268fc44213f0f7715
4,468
package interview.twilio; import com.google.gson.Gson; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.D...
31.244755
113
0.625783
9dfa6acef42c9093a0c376249ffc855f0a34b956
3,522
/* * The MIT License (MIT) * * Copyright (c) 2016 Goran Sarenkapa (JordanGS), and a number of other of contributors * * 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 restrictio...
37.870968
106
0.678592
290c859b502a66fcbc2ff023dce9be9801f9d8df
8,864
package gocar.jeno.com.hencoder.view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import android.os.Build...
26.147493
198
0.57852
9959d2f7261c189ef25ae89a7cdfda32d1d05913
39,694
package org.thegalactic.rule; /* * ImplicationalSystem.java * * Copyright: 2010-2015 Karell Bertet, France * Copyright: 2015-2016 The Galactic Organization, France * * License: http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html CeCILL-B license * * This file is part of java-lattices. * You can redist...
35.096375
131
0.574268
25f9d9dc4bdb2bb7b55307094bf50d7df9633d44
1,988
package net.mgsx.gltf.demo; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.GdxRuntimeException; import com.badlogic.gdx.utils.Json; import com.badlogic.gdx.utils.ObjectMap.Entry; impo...
29.235294
91
0.694668
d369d151cc06eb0a595a8d55bab4212a6bcea5ad
1,748
package com.example.dell.app; public class Demo { public static void main(String[] args) { try { byte[] arr = "天气预报".getBytes("GBK"); System.out.println(getJineiMa("天气预报")); }catch (Exception e){ e.printStackTrace(); } System.out.println("1234"); ...
37.191489
149
0.547483
f4c624a30347ba6401d6facca5eb6811e302c910
1,421
/* * Copyright 2017 EMBL - European Bioinformatics Institute * * 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 b...
25.375
79
0.717101
1b7ff83a116bcf40b6510c231862c99f44a6fa4e
2,890
package com.airhacks.followme.dashboard; /* * #%L * igniter * %% * Copyright (C) 2013 - 2016 Adam Bien * %% * 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.apach...
26.272727
109
0.679585
b903f4ea4c7afbf18daeeed3a0dfb868a964d0bf
250
package com.redis.tpl; import lombok.Data; /** * @author liuweilong * @description * @date 2019/6/19 15:02 */ @Data public class HashObject { private String name; private String password; private Integer age; private Long id; }
14.705882
28
0.676
367930a820953df6d04bf5674f2995b0d6a6508d
30,953
package repository; import io.ebean.*; import models.*; import org.mindrot.jbcrypt.BCrypt; import play.db.ebean.EbeanConfig; import javax.inject.Inject; import java.text.SimpleDateFormat; import java.util.*; import java.util.concurrent.CompletionStage; import static java.lang.Integer.parseInt; import static java.uti...
41.998643
157
0.60104
42ab629f9d66386f31b90f6b6dbb5a2ce18046d1
11,569
/* --------------------------------------------------------------------------------------------------------------------- * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit TestCharSegmentedSortedArray and regenerate * ----------------------------------------------------------------------------------...
50.3
197
0.59936
48fa73d4bd991e18219bd45e02c2db24b4463c78
727
package com.dd.news; import com.dd.framework.base.BaseApp; import com.dd.framework.base.CustomFragment; import com.dd.framework.services.ServiceManager; import com.dd.framework.widgets.BottomView; import com.dd.framework.widgets.CommonTopView; import com.dd.framework.widgets.EmptyView; import com.dd.framework.widgets....
26.925926
48
0.795048
cf2d1064defcb5cc6c39355fa6889ad195bd9293
748
package io.github.kuyer.rpc.codec; import java.util.List; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; /** * Netty解码器 * @author Rory.Zhang */ public class NettyRpcDecode extends ByteToMessageDecoder { @Override protected void...
20.216216
61
0.708556
16aa0c9252c168ebef234e0556e30f3f2c682c55
1,321
/* * Copyright (C) 2017 Sylvain Leroy - BYOSkill Company All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license, which unfortunately won't be * written for another century. * * You should have received a copy of the MIT license with * this file. If not, please wri...
26.959184
90
0.690386
68f3abd6c2a63b4433ca7f4b99cf4120b94f0fd4
12,111
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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...
26.501094
128
0.535381
439e87725b0b38e23f83f652e52a4b4785f72e6c
2,920
package waffleoRai_schedulebot; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.TimeZone; import waffleoRai_Utils.FileBuffer.UnsupportedFileTypeException; public class MonthlyDOMEvent extends EventAdapter { //public static ReminderTime[] reminderTimes; public static fin...
21.62963
99
0.677055
06eb6b65474b815d7e50a463895192f31235cf26
8,948
package com.svs.finance.controller; import java.util.HashMap; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONObject; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.s...
45.42132
146
0.658471
469e3fac725eede07e71e3eb0dc27e8d8de37d9e
1,687
/** * Unlicensed code created by A Softer Space, 2020 * www.asofterspace.com/licenses/unlicense.txt */ package com.asofterspace.boardGamePlayer.games; import com.asofterspace.toolbox.utils.Record; import java.util.ArrayList; import java.util.List; import java.util.UUID; public class Player { // the player's id...
17.572917
77
0.671606
06775283a84135d09ebccaece0e6a33870d9268e
4,310
/* * Copyright 2018-2022 adorsys GmbH & Co KG * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. This progra...
37.478261
129
0.745012
1b2cffc829abc6685d12cc7430b32c537ca724a5
656
package com.github.acme.quarkus.petclinic.api; import com.github.acme.quarkus.petclinic.model.Vet; import com.github.acme.quarkus.petclinic.repository.VetRepository; import java.util.List; import javax.inject.Inject; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; @Path("/vets") @Produces(MediaType.APPLICATI...
23.428571
66
0.753049
cdae5da67b8dc1427fa3849ac0e2c82e41e07c34
36
package g.o; class k extends j { }
7.2
19
0.638889
fcfce38a8c73b4e90d25bac255371a0124f8127d
13,031
package com.smeanox.games.ld35.screens; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.graphics...
35.218919
135
0.707237
bf6897caaf07d13b8a218d85f0b2f00d9e8c8e92
465
public class arrangeCoins{ public static void main(String argv[]){ int input = 0; arrangeCoins ac = new arrangeCoins(); int output = ac.arrangeCoins(input); System.out.print(output); } public int arrangeCoins(int n) { long sum = 0; int i = 0; if(n ==...
21.136364
45
0.462366
8bcdc92ba1a5d0b7db986025e35846b5c281df5c
3,584
package com.example.akin.bilekpartner; /** * Created by AKIN Ç on 28.04.2019. */ import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.os.Handle...
36.20202
99
0.65067
d3c93c8418243d84ab7298d42c4948c459d881c5
410
package com.sparta.eng82.components.pages; import com.sparta.eng82.interfaces.pages.OurStoresPage; import org.openqa.selenium.WebDriver; public class OurStoresPageImpl implements OurStoresPage { private final WebDriver driver; public OurStoresPageImpl(WebDriver driver) { this.driver = driver; } ...
22.777778
57
0.729268
b83174c5bd2c3577de4777ee1adc10b43a8d5196
1,341
package org.musicbox.miscs; public final class Constants { public static boolean ENABLE_EMBED_THUMBNAILS = false; public static final long DEBUG_BOT_ID = 893259644217225270L; public static final long MAIN_BOT_ID = 892542872811884584L; public static final String PT_BR = "PT_BR"; public static fina...
40.636364
77
0.773304
1522083d11f40af44548d5ecabdf04231c45d2f7
508
package de.fpyttel.teams.chatbot.elasticsearch.parser.entity; import lombok.AllArgsConstructor; import lombok.NonNull; import lombok.RequiredArgsConstructor; @AllArgsConstructor @RequiredArgsConstructor public class Answer { @NonNull private String text; private int numberOfParams; public String getText(final O...
18.814815
61
0.740157
3b6bfa4947cc03d4d7bab169e6c60c3c362889a3
3,094
/** * 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...
32.568421
80
0.713316
ab4766fd5f5ab7a999795103633b3be29ec3aae9
1,627
/* * Id: NotFoundException.java 12-Mar-2022 3:14:03 am SubhajoyLaskar * Copyright (©) 2022 Subhajoy Laskar * https://www.linkedin.com/in/subhajoylaskar */ package com.xyz.apps.ticketeer.general.service; import java.util.ResourceBundle; import org.springframework.context.MessageSource; import org.springframework.http....
27.576271
126
0.704978
537e90815c8dae3f9192a7284b57e5c78636e05f
2,270
package com.progwml6.natura.plugin; import com.progwml6.natura.Natura; import com.progwml6.natura.nether.NaturaNether; import com.progwml6.natura.overworld.NaturaOverworld; import mezz.jei.api.IJeiHelpers; import mezz.jei.api.IModPlugin; import mezz.jei.api.IModRegistry; import mezz.jei.api.JEIPlugin; import mezz.jei...
50.444444
140
0.787225
e2ef2fa3eb92db9a30b1958943f19895f56330f7
1,432
package com.biz; import java.io.Serializable; import java.util.List; public interface BaseBiz<T, PK extends Serializable> { /** * 通过id加载po实例 * @param id * @return 实体对象 */ public T load(PK id); /** * 通过id加载po实例 * @param id * @return 实体对象 */ public T get(PK id); /** * 根据ID数组获取实体对象集合. * @para...
13.137615
59
0.589385
f1f4e2aa1e03fbc8a87533ea264c777affd45e14
1,081
import java.util.ArrayList; import java.util.List; public class Client { public static void main(String args[]) { List<Person> persons = new ArrayList<Person>(); persons.add(new Person("Client1","Male", "Single")); persons.add(new Person("Client2", "Male", "Married")); persons.add(new Person("Client...
36.033333
96
0.654024
fe4f5c3a6e4d8fb040bd3eae3926826b3a0e93e1
3,115
// $Id: CheckOutMethod.java,v 1.2 2005/03/07 01:29:09 jim Exp $ package us.temerity.pipeline; import java.util.*; /*------------------------------------------------------------------------------------------*/ /* C H E C K - O U T M E T H O D */ /*-----------...
30.841584
94
0.434992
5e294f0b90e7e98f9f112502e406b2a57f907841
1,869
package au.org.greekwelfaresa.idempiere.test.assertj.bankstatementmatchinfo; import org.compiere.impexp.BankStatementMatchInfo; import au.org.greekwelfaresa.idempiere.test.assertj.AbstractIDAssert; public abstract class AbstractBankStatementMatchInfoAssert<SELF extends AbstractBankStatementMatchInfoAssert<SELF, ACTU...
28.318182
162
0.742643
14dd8f8e72ec39a462804f2678e0d16dcf954796
896
package com.zdcf.leetcode; //104. Maximum Depth of Binary Tree //Given a binary tree, find its maximum depth. // //The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. public class MaximumDepthofBinaryTree { public class TreeNode { int val; ...
27.151515
116
0.579241
c2420e088c6146a077150a6341737677b9630514
2,375
/* * Project Sc2gears * * Copyright (c) 2010 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the authors permission * is prohibited and protected by Law. */ package hu.belicza.andras.sc2gears.util; impor...
30.448718
122
0.611368
1ba235d353bb8dda1c5cc58970ccfacaf220c4a7
3,383
package assignemnt2; // Aleksandr Kudin, 101258693 // Matthew Campbell, 101289518 // Michael Sirna, 101278670 // Stephen Davis, 101294116 public class QuadraticHashTable { private int numItems; private int tableSize; private KeyValuePair[] table; private final double LOAD_FACTOR = 0.80; // Construc...
38.443182
128
0.582619
de9dd5ec67c32eb522c9625d21c3ea0d18862f65
271
package souza.charles.domain.usecases.user; import souza.charles.domain.entities.user.User; import souza.charles.domain.usecases.utils.DAO; import java.util.Optional; public interface UserDAO extends DAO<User, String> { Optional<User> findByEmail(String email); }
24.636364
52
0.793358
18f5052a5557038033770ecd492e24112120e141
1,526
package com.min.base; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; /** * Created by Dawish on 2016/6/17. * Base Fragment */ public abstract class BaseFrag...
23.121212
105
0.650721
5848d8c81d494b18632ea8650b114a2efc2d2087
977
package de.timmi6790.mpstats.api.client.bedrock.player.deserializers; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.deser.std.StdDeserializer; import de.timmi6790.mpstats....
34.892857
121
0.769703
2789db6dc8da8390371a647926d51a009822476b
2,614
/* * Copyright (C) 2014-2018, Amobee 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 a...
29.704545
78
0.747131
09522a8df5fc59971800abd3751dd86dad031200
6,414
/* * Copyright 2019 Orient Securities Co., Ltd. * Copyright 2019 BoCloud 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 * * Unle...
35.241758
134
0.727315
e8e6e0d4556ce1f269d6f3749298e299e64c74f9
1,079
package com.example.android.pickerfortime; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.text.format.DateFormat; import android.w...
25.690476
77
0.736793
e62d29d62cc2382819b5d05dd08da6c2fff91cfd
1,159
package ru.job4j.mapcollection; import java.util.HashMap; import java.util.Map; /** * */ public class MapMethodsInAction { private User user; private Map<User, Object> map; /** * Put on map 2 equal key type User without override * methods: equals and hashcode. Then print map. */ pu...
27.595238
83
0.575496
92cc0b847bd2b1cb03c762123de05ab5f8d615d5
476
package com.pointlion.sys.mvc.common.model; import com.pointlion.sys.mvc.common.model.base.BaseSysUserRole; /** * Generated by JFinal. */ @SuppressWarnings("serial") public class SysUserRole extends BaseSysUserRole<SysUserRole> { public static final SysUserRole dao = new SysUserRole(); public SysUserRole findBy...
25.052632
98
0.760504
611d8133ee3ba3950c13eb1db778ab2d1efcac1a
5,015
/** * 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...
37.706767
80
0.73659
e86d6f61711f97143bfe1932ffff32ca3ab0fcd0
3,101
package nb.barmie.modes.attack; import java.util.ArrayList; import nb.barmie.modes.enumeration.RMIEndpoint; /*********************************************************** * Deserialization payload factory class. * * Essentially maintains a list of all supported Java * deserialization payloads and the classes/objec...
39.75641
88
0.695905
a32ced0701612309ccbcca20bd9c3ec14255de36
4,398
package com.datdeveloper.randomspawn2.events; import com.datdeveloper.randomspawn2.RandomConfig; import com.datdeveloper.randomspawn2.RandomSpawn2; import com.datdeveloper.randomspawn2.Util; import com.datdeveloper.randomspawn2.capability.IRespawn; import com.datdeveloper.randomspawn2.capability.RespawnProvider;...
51.139535
145
0.684857
042a450a1876f1796f30d28e685d78655f0b80f3
192
package fr.lespoulpes.messaging.bridge.subscriber; public class MessageReaderException extends Exception { public MessageReaderException(Throwable cause) { super(cause); } }
21.333333
55
0.755208
68fa40701bcfeb9ae061b9f9775d329e71defc01
2,467
package feamer.desktop; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.nio.file.Paths; import mslinks.ShellLink; public class Setup { public static void setup() { File linkFile = new File("%APPDATA%\\Microsoft\\Windows\\SendTo\...
39.15873
106
0.692339
723c452904c247b993f085c738dc39796dda079d
4,632
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian 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://www.apache.or...
30.27451
83
0.572107
b7c3f0a4eae240f95ab9299829a8f11ad530ad4a
1,682
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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 3 of the License, or * (at your option) any later version. * * ...
23.690141
71
0.687872
59af5032e7effb2efd421f879b1b34bb3c6913ce
103
package com.example.footer.utils; /** * Created by 乃军 on 2017/12/21. */ public class HttpUtil { }
10.3
33
0.660194
923082a1cdf4626dc14ae5a4021aaccfffcc5a76
478
import java.util.Scanner; public class Binary { public static void main (String args []) { //variables Scanner input = new Scanner (System.in); //variables String binary; //Prompt user to enter a binary line System.out.println("Enter a binary line please:"); binary = input.next(); //Dis...
21.727273
75
0.67364
f0b06adb41451ec3bd5a9e2dbdbc7f18f5e93a85
13,707
/* */ package com.sun.jna.platform.win32.COM; /* */ /* */ import com.sun.jna.Native; /* */ import com.sun.jna.Pointer; /* */ import com.sun.jna.platform.win32.Guid; /* */ import com.sun.jna.platform.win32.Kernel32; /* */ import com.sun.jna.platform.win32.OaIdl; /* */ import com.sun.jna....
24.697297
169
0.417597
dd2d8fcc79a76a739ad688529ce9317a8e11c471
231
package simulation.model.wrapping; import simulation.common.globals.SlotCurrentState; import simulation.common.globals.UpdaterBase; public abstract class SlotCurrentStateUpdater extends UpdaterBase<SlotCurrentState> { }
25.666667
86
0.82684
13dabab8e7a579274a5cb83c2d16892a8ba6ce0e
550
import java.util.Scanner; public class A1433 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int t = input.nextInt(); int val,to_add; while(t--!=0){ char[] goal = input.next().toCharArray(); val = Integer.parseInt(Character....
27.5
64
0.494545
4bc6744fcda8541dbf82e3b0321d80dc0a235b20
1,478
package com.gaof.mvpdemo; import android.os.Bundle; import android.widget.ListView; import android.widget.Toast; import com.gaof.mvpdemo.adapter.GirlAdapter; import com.gaof.mvpdemo.base.BaseActivity; import com.gaof.mvpdemo.bean.Girl; import com.gaof.mvpdemo.contact.GirlContact; import com.gaof.mvpdemo.presenter.Gir...
27.37037
115
0.70839
1372f5a4ef354f595829282b756c6519a6fe9a86
1,531
package indi.uhyils.rpc.netty; import indi.uhyils.rpc.enums.RpcTypeEnum; import indi.uhyils.rpc.exchange.pojo.data.RpcData; import indi.uhyils.rpc.exchange.pojo.head.RpcHeader; import indi.uhyils.rpc.exchange.pojo.data.RpcFactory; import indi.uhyils.rpc.exchange.pojo.data.RpcFactoryProducer; /** * @author uhyils <24...
36.452381
154
0.662965
7f8e83ae37b7d883235ef4f4b7c5e0c2dbd8b2db
617
package com.skunk.acl; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.stereotype.Component; /** ...
19.903226
58
0.768233
26bddd311a95dbad9e121853647e7d2a6460658c
4,007
/* * 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 ...
50.721519
124
0.598203
1f9ad4f439247bdfbf8944b49641bd67f7e59c66
733
package com.fcgl.madrid.shopping.repository; import com.fcgl.madrid.shopping.dataModel.ShoppingList; import com.fcgl.madrid.shopping.payload.response.ShoppingListNoProduct; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa...
40.722222
105
0.837653
d4b2fb42fc996573aa027445745f1c4d9c427d15
3,367
/* * Copyright 2020 Developer Gao. * * 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 w...
39.151163
118
0.729136
260273ef2aed494461c0b4acabfad17f5d5cdec6
1,086
package com.nuofankj.socket.util; import com.alibaba.fastjson.JSON; import com.nuofankj.socket.manager.ChannelManager; import com.nuofankj.socket.manager.ChannelSession; import com.nuofankj.socket.proto.AbstractMessage; import io.netty.channel.Channel; import io.netty.handler.codec.http.websocketx.TextWebSocketFrame; ...
28.578947
102
0.701657
64faa6bbebde7b76c5f98afb1e855d5857aefaf4
219
package com.aganticsoft.phyxhidephotosandvideos.view.activity; import android.support.v7.app.AppCompatActivity; /** * Created by ttson * Date: 9/22/2017. */ public class BaseActivity extends AppCompatActivity { }
18.25
62
0.776256
c052bbbeb4643613cb66d5e7550e230db124a5eb
1,018
package au.com.digitalspider.biblegame.model; import org.apache.commons.lang3.StringUtils; public enum State { FREE(State.DESCRIPTION_FREE), SHOP(State.DESCRIPTION_SHOP), STUDY(State.DESCRIPTION_STUDY), VISIT(State.DESCRIPTION_VISIT); private static final String DESCRIPTION_FREE = ""; private static final Str...
26.102564
77
0.74165
25aeefc3c18cec3a1c691d345f0c28e3ca77796c
182
package com.cryo.entities; import java.util.Date; public interface CronJob { boolean checkTime(Date date, int dayOfWeek, int hour, int minute, int second); void run(); }
16.545455
82
0.714286
32d705f559508a0575a95d7d4abb1317bf8294cd
1,276
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.DcMotor; import org.junit.Before; import org.junit.Test; import static com.qualcomm.robotcore.hardware.DcMotorSimple.Direction.FORWARD; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; impor...
23.2
78
0.677116
f3311e2b5f26e789a232923b53fc37f7f83ad4b6
2,395
package com.parthparekh.service; import com.mongodb.DB; import com.mongodb.Mongo; import com.parthparekh.api.Product; import com.parthparekh.api.ProductStatus; import com.parthparekh.service.cache.Cache; import com.parthparekh.service.cache.EhCacheImpl; import org.junit.Assert; import org.slf4j.Logger; import org.slf4...
34.214286
82
0.703549
6d97063666c0dba84ef19973b384abe9bb91cb05
851
package com.bilulo.androidtest04.data.model.response; import com.bilulo.androidtest04.data.model.ErrorModel; import com.bilulo.androidtest04.data.model.StatementModel; import com.google.gson.annotations.SerializedName; import java.util.List; public class StatementsResponse { @SerializedName("statementList") ...
27.451613
80
0.750881
b8d5649d12a333f9515090557f6aeb65264c236b
393
package kwasilewski.marketplace.dto.hint; import java.util.List; public class CategoryData extends HintData { private List<HintData> subcategories; public CategoryData() { } public List<HintData> getSubcategories() { return subcategories; } public void setSubcategories(List<HintDat...
18.714286
64
0.70229
00bfee0475ddc9f1cd203b0389fc205b6d712e7b
4,552
package com.xlsoft.publicsamples; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; ...
37.933333
710
0.702768
ccfaac2fc40074d4903e1de6f8b7c4d5d160472c
1,855
package com.hys.exam.model; import java.io.Serializable; /** * * 标题:考试支撑平台 * * 作者:Tony 2010-12-13 * * 描述: * * 说明: 试题分类表 */ public class ExamQuestionType implements Serializable{ /** * */ private static final long serialVersionUID = -6848968524545630850L; /** * 分类ID */ private Long id; ...
11.891026
68
0.620485
60c9cf2647468c3ec6c0a429af2c5bdee8a14ca8
4,070
/* * Copyright 2002-2013 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 ap...
41.958763
110
0.745946
9f0638bc3ee1ce3d938f02ebf6fb64305da2328b
2,925
/* * Copyright 2013-2017 Indiana University * * 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 ...
28.676471
75
0.623248
e564fc1e5d7c9a8d4fbdca422e09d7569634733e
4,585
/******************************************************************************* * DARPA XDATA 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....
31.62069
81
0.650818
f660b94e55f45e99727bcf88aeb38a49cca94cf2
8,686
package com.acmezon.acmezon_dash; import android.graphics.Point; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.Button; import com.dev.sac...
49.634286
131
0.726111
52183fd97dbf86462a781eb9ddf6a2fe0f424ea2
4,504
package vrpsim.core.model.structure.storage; import java.util.List; import vrpsim.core.model.structure.storage.impl.CanStoreType; import vrpsim.core.model.structure.storage.impl.StorableParameters; import vrpsim.core.model.structure.storage.impl.StorableType; import vrpsim.core.model.util.exceptions.StorageException;...
27.802469
106
0.733792
a7e954ba0c8c00123314d1b8023a7f63337aa134
797
import com.hazelcast.config.Config; import com.hazelcast.config.QueueConfig; public class QueueConfiguration { public static void main( String[] args ) throws Exception { //tag::queueconf[] Config config = new Config(); QueueConfig queueConfig = config.getQueueConfig("default"); que...
37.952381
73
0.619824
02128a1c67c5a6ecfec7bd723c622fbeef7a32fd
599
package io.github.mortuusars.chalk.utils; import io.github.mortuusars.chalk.config.CommonConfig; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.Item; public class DrawingUtils { public static boolean isGlowingItem(Item item){ ResourceLocation itemRegistryName = item.getRe...
27.227273
67
0.682805
bf82c0ed9d772a05a4f7bb827732a6e29cb0a5a4
877
/** * */ package org.yinyayun.prediction.k3.bayes; /** * @author yinyayun * */ public class OutPutProbability implements Comparable<OutPutProbability> { private int out; private float probability; public OutPutProbability(int out, float probability) { super(); this.out = out; this.probability = probabi...
15.945455
80
0.646522
41301a030385370195caef065852e29a53eefa65
9,820
/* * 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 ...
36.641791
112
0.575153
33fc153120ea10c1f3c40b7d8ccce4073b2d3b46
3,913
/* * DISCLAIMER * * 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, soft...
28.355072
89
0.635829
430916bb26960f9dd5631fa1a469bef8702c1357
3,818
package test.sort; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.fail; import static test.sort.DataUtil.*; public class FuncTest { @org.junit.Test public void tes...
36.018868
85
0.630959
7dfd082feb0c031b6a58ef5abfa08ad2d770727e
530
package com.br.distanceCities.enums; import javax.ws.rs.core.MediaType; public enum ReturnType { XML(MediaType.APPLICATION_XML), JSON(MediaType.APPLICATION_JSON); private String type; ReturnType(String type){ this.type = type; } public String type(){ return type; } public static ReturnType fro...
17.666667
58
0.620755
cd705b906e6ea40e09f9d474af5bd758a9783ae4
394
package de.adorsys.xs2a.adapter.mapper; import de.adorsys.xs2a.adapter.model.AccountReportTO; import de.adorsys.xs2a.adapter.service.model.AccountReport; import org.mapstruct.Mapper; @Mapper(uses = {TransactionsMapper.class}) public interface AccountReportMapper { AccountReportTO toAccountReportTO(AccountReport ...
28.142857
67
0.822335
98d24a3e9ce1179e79756f7cdf4497acd2c7df6b
2,625
/** * Copyright (C) 2009-2016 Simonsoft Nordic AB * * 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...
32.8125
91
0.737143
31ba080d49b67cb79a1565f8e94952ff3d9829a4
21,768
// SLDiagram.java // // Part of DAVE-ML utility suite, written by Bruce Jackson, NASA LaRC // <bruce.jackson@nasa.gov> // Visit <http://daveml.org> for more info. // Latest version can be downloaded from http://dscb.larc.nasa.gov/Products/SW/DAVEtools.html // Copyright (c) 2007 United States Government as represen...
27.800766
103
0.519616
451781031e09c3ff95b372c1035c884012213508
2,752
/******************************************************************************* * Copyright 2015 InfinitiesSoft Solutions 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 * * ...
36.210526
95
0.697311
24b205303bd1f6f84f62b3041e4614b1e4f4001e
4,311
/* * Copyright 2007 Outerthought bvba and Schaubroeck nv * * 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...
43.11
135
0.708188
44390e275b14d03d998113603c7389cf3e3529b4
288
package com.evliion.ev.repository; import com.evliion.ev.model.Address; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * */ @Repository public interface AddressRepository extends JpaRepository<Address, Long> { }
20.571429
73
0.798611
3de70a85a0659642c78ba5abc7466c76786a42f5
921
package com.cloudbees.jenkins; import hudson.Extension; import hudson.security.csrf.CrumbExclusion; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.loggin...
27.909091
131
0.788274
bc1d5d35dbc1035361637aee2e8653d4cac38487
6,466
/** * R Depot * * Copyright (C) 2012-2021 Open Analytics NV * * =========================================================================== * * This program is free software: you can redistribute it and/or modify * it under the terms of the Apache License as published by * The Apache Software Foundation, eithe...
30.64455
117
0.720229
941ac81b401ecbf2c42db9d2a0057de985930cee
2,691
/* * This class is distributed as part of the Botania Mod. * Get the Source Code in github: * https://github.com/Vazkii/Botania * * Botania is Open Source and distributed under the * Botania License: http://botaniamod.net/license.php */ package vazkii.botania.common.block; import net.minecraft.core.BlockPos; im...
32.035714
120
0.767744
0a46f3d3abedaec611432aa8c180dbb5e192cfaf
2,080
package io.github.kimmking.gateway.outbound.netty4; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.Unpooled; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioSocketChannel; import io.netty.handler....
37.142857
109
0.630288
4e5d4e9e5221e09e2054e3f7536996f6fc443676
307
package org.keviny.gallery.rdb.repository; import org.keviny.gallery.rdb.model.Account; /** * Created by Kevin YOUNG on 2015/5/8. */ public interface AccountRepository { void saveAccount(Account acc); Account getAccountById(Integer id); Account getAccountByUsername(String username); }
21.928571
48
0.742671
60eee113464d4a025d5496f72acc0a03e1de5caf
2,872
package cn.parzulpan.shopping.product.config; import com.alibaba.fastjson.support.spring.GenericFastJsonRedisSerializer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.cache.CacheProperties; import org.springframework.boot.context.properties.EnableConfigura...
33.395349
86
0.722493
a37e6be35436f6ecf415cf5178f45c1bc9bc48d4
8,480
/* * 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 ...
33.784861
76
0.67559