blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
132
path
stringlengths
2
382
src_encoding
stringclasses
34 values
length_bytes
int64
9
3.8M
score
float64
1.5
4.94
int_score
int64
2
5
detected_licenses
listlengths
0
142
license_type
stringclasses
2 values
text
stringlengths
9
3.8M
download_success
bool
1 class
a0e0c01ac59675f57b64303899f14ca856d8470a
Java
RoLoTech/lab-tic
/Server/src/main/java/labTic/services/exceptions/InvalidRestaurantInformation.java
UTF-8
190
2.09375
2
[]
no_license
package labTic.services.exceptions; public class InvalidRestaurantInformation extends Exception { public InvalidRestaurantInformation(String message) { super(message); } }
true
c2000f83ddf774ae0e2135f117bb15c22951d0bc
Java
jchanghong/leetcode-java-Test
/src/test/java/_087_ScrambleString/Solution.java
UTF-8
2,830
3.859375
4
[]
no_license
/** * Time : O(N^4); Space: O(N^3) * @tag : Dynamic Programming; String * @by : Steven Cooks * @date: Jun 8, 2015 ************************************************************************* * Description: * Given a string s1, we may represent it as a binary tree by partitioning * it to two non-empty substrings...
true
fffc4839ab15f4ed71db74f5b8de7d815b93f21f
Java
sirraghavgupta/ecommerce-app
/src/main/java/com/springbootcamp/ecommerceapp/enums/Status.java
UTF-8
748
2.234375
2
[ "Apache-2.0" ]
permissive
package com.springbootcamp.ecommerceapp.enums; public enum Status { ORDER_PLACED("ORDER_PLACED"), CANCELLED("CANCELLED"), ORDER_REJECTED("ORDER_REJECTED"), ORDER_CONFIRMED("ORDER_CONFIRMED"), ORDER_SHIPPED("ORDER_SHIPPED"), DELIVERED("DELIVERED"), RETURN_REQUESTED("RETURN_REQUESTED"), ...
true
de68e5ff39787cb2ee77cde013b113cdaea74b53
Java
Vladiskulus/TestAppForLampaLampa
/app/src/main/java/com/testingappforlampalampa/view/fragment/FavoriteFragment.java
UTF-8
2,873
2.375
2
[]
no_license
package com.testingappforlampalampa.view.fragment; import static com.testingappforlampalampa.Constants.*; import android.os.Bundle; import android.view.*; import androidx.annotation.*; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.*; import com.testingappforlampalampa.R; import com.testi...
true
5bd1e58f8031a3b97269052ff35dfcaf4f16415e
Java
maxsv0/mega-iq-api
/src/main/java/com/max/appengine/springboot/megaiq/service/StorageService.java
UTF-8
5,411
1.859375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2018 mega-iq.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 writ...
true
f92efce27248f701f6642eb1d2201b770bc43d11
Java
LuisAngelBonCorpse/EjerciciosPOOAvanzados
/src/com/generation/Main.java
UTF-8
528
2.9375
3
[]
no_license
package com.generation; import com.generation.gente.Persona; public class Main { public static void main(String[] args) { /* Ejercicio 1 De las clases de una URL, encapsularlas manteniendo la estructura. */ Persona person= new Persona("Santiago"...
true
146a140446baac8b6375c79d1ca7eb8f02a56007
Java
brown-cody/cit360
/threads-exe-runnables/src/threads/exe/runnables/SongCDemo0.java
UTF-8
232
1.882813
2
[]
no_license
package threads.exe.runnables; public class SongCDemo0 implements Runnable { @Override public void run() { System.out.println("SONG C: I'll buy you diamonds ring my friend"); } }
true
67c43e018b8fa4b4f55a3ff5575d9f9484913bf2
Java
frankjunqi/VendingAPP
/app/src/main/java/com/mc/vending/parse/VendingStatusDataParse.java
UTF-8
1,152
2.109375
2
[]
no_license
package com.mc.vending.parse; import com.mc.vending.data.BaseData; import com.mc.vending.parse.listener.DataParseListener; import com.mc.vending.tools.ZillionLog; import org.json.JSONObject; public class VendingStatusDataParse implements DataParseListener { private static VendingStatusDataParse instance = null; ...
true
961bbf906ddbde756bd38690ea368ad5d3854dfa
Java
JulienMrgrd/Projet-Rizer---Serveur-PlayFramework
/app/service/SoundService.java
UTF-8
780
2.203125
2
[ "Apache-2.0" ]
permissive
package service; import models.Music; public class SoundService implements SoundServiceInterface{ @Override public boolean addMusic(Integer idProfil, Music music) { // TODO Auto-generated method stub return false; } @Override public boolean modifyInfoSound(Integer idProfil, Music music) { // TODO Auto-ge...
true
0c2bec540f118da3ce2c27f57ad599481c00c1b0
Java
RickyLoader/RileyBot
/src/main/java/Command/Structure/PageableCODAssetStatsEmbed.java
UTF-8
2,469
3.1875
3
[]
no_license
package Command.Structure; import COD.Assets.CODAsset; import COD.PlayerStats.*; import java.util.List; /** * Page through COD assets */ public abstract class PageableCODAssetStatsEmbed extends PageableTableEmbed<AssetStats<? extends CODAsset>> { /** * Display a list of player COD asset stats in an embed...
true
e2606abddee1906ed9c0f863a3dc1b053132feeb
Java
BzhangURU/LeetCode-Java
/T074_search_a_2D_matrix.java
UTF-8
1,373
3.734375
4
[]
no_license
/*Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of each row is greater than the last integer of the previous row. For example, Consider the following matrix: [ [1, ...
true
236b7e1c609f3f80ad61982771795305ef31b09d
Java
youkiaaa/iBaby_Miao
/app/src/main/java/com/atyume/ibabym/ui/dashboard/RecyclerExamActivity.java
UTF-8
4,372
1.960938
2
[]
no_license
package com.atyume.ibabym.ui.dashboard; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManag...
true
f7bedaa4d2907eeaf2a583f7f4c59f930693fa07
Java
prepare4interview/problem-solving
/src/test/java/org/interviewproblems/l2arrays/P622bSumSearchInOrderedSetTest.java
UTF-8
1,014
2.953125
3
[ "Apache-2.0" ]
permissive
package org.interviewproblems.l2arrays; import org.testng.annotations.Test; import static org.testng.Assert.assertNull; import static org.testng.AssertJUnit.assertEquals; @Test public class P622bSumSearchInOrderedSetTest { P622bSumSearchInOrderedSet problem = new P622bSumSearchInOrderedSet(); public void basi...
true
942f2a2ad3e8167139ae47bfe18cb05b61fbaa3c
Java
ZLBer/DaliyOfProgramme
/src/main/java/leetcode/leetcode1000_1499/leet1371.java
UTF-8
2,909
3.375
3
[]
no_license
package leetcode.leetcode1000_1499; import java.util.HashMap; public class leet1371 { //mine bit+剪枝遍历 /* public int findTheLongestSubstring(String s) { char []vowels=new char[]{'a','e','i','o','u'}; int []dp=new int[s.length()+1]; dp[0]=0; for(int i=0;i<s.length();i++){ char c=...
true
ccf7ba6d0d46e4f7dd1a00f8813eac19bb0508b2
Java
francis-pouatcha/adcom
/adcom/adcore.lib/src/main/java/org/adorsys/adcore/jpa/AbstractEntityCstr.java
UTF-8
2,626
2.484375
2
[ "Apache-2.0" ]
permissive
package org.adorsys.adcore.jpa; import java.util.Date; import javax.persistence.Column; import javax.persistence.MappedSuperclass; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.validation.constraints.NotNull; import org.adorsys.adcore.utils.FormatedValidFrom; /** * This def...
true
7d321b77fbdbd6c38a3fe47515fb8c8eb9f8c2c3
Java
rubenshu/qars-be
/src/main/java/com/example/qars/service/CarService.java
UTF-8
1,429
2.453125
2
[]
no_license
package com.example.qars.service; import com.example.qars.dao.CarRepository; import com.example.qars.entity.Car; import org.springframework.data.crossstore.ChangeSetPersister; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Service; import org.springframework.transac...
true
ab011baa09d893572fe119425cd8fa1b7e484707
Java
YTMTeam/TutorialRepository
/mc.webview/src/com/lexington/mc/webview/beans/ContactForm.java
UTF-8
2,332
2.046875
2
[]
no_license
package com.lexington.mc.webview.beans; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import org.apache.log4j.Logger; import com.lexington.mc.logic.util.Generator; import com.lexington.mc.logic.util.Mail; import com.lexington.mc.webview.util.FacesUtil; @M...
true
a81974436abeb5f10d91f98238c321fd1c8e3ed9
Java
ccc032811/wbs
/admin-web/src/main/java/com/neefull/fsp/web/sms/service/IScanService.java
UTF-8
2,181
1.914063
2
[ "Apache-2.0" ]
permissive
package com.neefull.fsp.web.sms.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import com.neefull.fsp.web.sms.entity.*; import com.neefull.fsp.web.sms.entity.vo.HeaderVo; import org.springframework.scheduling.annotation.Async; import java.util...
true
3dac7f6bb0f22163ae3438374052991b0fa6210b
Java
fengyehong123/Java_Blog
/src/main/java/blog/service/BlogService.java
UTF-8
1,244
2.125
2
[]
no_license
package blog.service; import blog.pojo.Blog; import blog.vo.BlogQuery; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import java.util.HashMap; import java.util.List; import java.util.Map; public interface BlogService { // 根据id查询blog Blog getBlog(Long id); ...
true
f934157082d07391d093d7283ac5fa1bd9ebd9c3
Java
zero28/test2
/com/gmail/zhou1992228/rpgsuit/task/TaskMobValidator.java
UTF-8
980
2.203125
2
[]
no_license
package com.gmail.zhou1992228.rpgsuit.task; import org.bukkit.Bukkit; import org.bukkit.World; import org.bukkit.World.Environment; import org.bukkit.entity.Entity; import org.bukkit.entity.Monster; import org.bukkit.entity.Player; import com.gmail.zhou1992228.rpgsuit.RPGSuit; import com.gmail.zhou1992228.rpgsuit.mob...
true
e132df268ae9329cc2cd4d52be20f59e8c8ea572
Java
fulsun/springboot-study
/demo-swagger/src/main/java/tk/fulsun/demo/controller/TeacherController.java
UTF-8
546
1.96875
2
[]
no_license
package tk.fulsun.demo.controller; import io.swagger.annotations.Api; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @author fulsun * @description: 教师管理 * @date 6/10/2021 ...
true
72422b89a86f8941456417291dff98d52082e53a
Java
EdmilsonColombini91/Projeto-app-vendas
/app/src/main/java/com/colombini/blprodutosapp/activities/ActivityVenda.java
UTF-8
6,999
2.015625
2
[]
no_license
package com.colombini.blprodutosapp.activities; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.Arra...
true
7de4edb88cdd8635cec3487189c62f255593f74f
Java
sody/greatage
/greatage-inject/src/main/java/org/greatage/inject/cache/SimpleCache.java
UTF-8
3,166
2.671875
3
[]
no_license
/* * Copyright (c) 2008-2011 Ivan Khalopik. * * 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...
true
98b4a25ae3ab0ce207c7380055f28c266bebdf34
Java
phette23/Equella
/Source/Plugins/Core/com.equella.core/src/com/tle/core/usermanagement/standard/wrapper/TLEUserWrapper.java
UTF-8
3,420
2.078125
2
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "LicenseRef-scancode-jdom", "GPL-1.0-or-later", "ICU", "CDDL-1.0", "LGPL-3.0-only", "LicenseRef-scancode-other-permissive", "CPL-1.0", "MIT", "GPL-2.0-only", "Apache-2.0", "NetCDF", "Apache-1.1", "EPL-1.0", "Classpath-exception-2....
permissive
/* * Copyright 2017 Apereo * * 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 wr...
true
f7a5d02eb64c81ede15419135af84e3d4e1e78ad
Java
paulorades/gpconnect-demonstrator
/gpconnect-database/src/main/java/uk/gov/hscic/appointment/slot/SlotStore.java
UTF-8
881
2.328125
2
[ "Apache-2.0" ]
permissive
package uk.gov.hscic.appointment.slot; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import uk.gov.hscic.model.appointment.SlotDetail; @Service public class SlotStore { private final SlotEntityToSlotDetailTransformer entityToDetailTransformer = new S...
true
8497daae2896a7defafb4ed238ea31bd15211886
Java
leontabak/Schauspieler
/app/src/main/java/com/eonsahead/schauspieler/PicassoErrorHandler.java
UTF-8
673
2.359375
2
[]
no_license
package com.eonsahead.schauspieler; import android.content.Context; import android.widget.Toast; import com.squareup.picasso.Callback; public class PicassoErrorHandler implements Callback { private Context context; public PicassoErrorHandler(Context context) { this.context = context; } // Picas...
true
494bc40701096ec2a137a033af96e7ce73f4fcd8
Java
spurious/kawa-mirror
/gnu/kawa/xml/PrecedingSiblingAxis.java
UTF-8
935
2.203125
2
[ "MIT" ]
permissive
// Copyright (c) 2003 Per M.A. Bothner. // This is free software; for terms and warranty disclaimer see ./COPYING. package gnu.kawa.xml; import gnu.lists.*; /** Used to implement a following-sibling:: step in a path expression. */ public class PrecedingSiblingAxis extends TreeScanner { public static PrecedingSib...
true
22e82e803ed9c29def34000b045e99142995c0e3
Java
samiz/qvm
/src/vm/TestDispatch.java
UTF-8
1,370
2.625
3
[ "Apache-2.0" ]
permissive
package vm; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import vm.nativemethods.AddDoubleDouble; import vm.nativemethods.AddIntInt; import vm.nativemethods.AddStringString; public class TestDispatch { VM vm; NativeMethod addIntInt, addDoubleDouble, addStringString; @Befor...
true
15570e79568e9753f841f7137f0fbb8d299b6595
Java
AngelsProjects/GuiaSS
/app/src/main/java/moviles/guiass/ui/views/nextSteps/WorkPlanFragment.java
UTF-8
1,467
1.835938
2
[ "MIT" ]
permissive
package moviles.guiass.ui.views.nextSteps; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import co...
true
a31cb1d1320181c5818c3c4d77c36dbadc9af186
Java
hyojeong00/AndroidStudio
/Practice08/app/src/main/java/org/techtown/practice08/MainActivity.java
UTF-8
1,332
2.265625
2
[]
no_license
package org.techtown.practice08; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { pub...
true
bde2948bbefce5b4dc60922a6b2ebc317e4d4f40
Java
sviridov13/sptring-data-mongodb
/src/main/java/com/example/mongodb/dto/UserDto.java
UTF-8
230
1.632813
2
[]
no_license
package com.example.mongodb.dto; import lombok.Builder; import lombok.Data; import java.util.Map; @Data @Builder public class UserDto { private String name; private String age; private Map<String, String> fields; }
true
848dbcedc5224fb4d61a61f22f0d194285714862
Java
lan3/lan
/OAProject/src/com/ht/vo/mon/.svn/text-base/Getpays.java.svn-base
UTF-8
5,324
1.71875
2
[]
no_license
package com.ht.vo.mon; /** * Getpays entity. * * @author MyEclipse Persistence Tools */ public class Getpays implements java.io.Serializable { // Fields private Integer paysid; private String ejob; private Integer paynorm; private String checkdata; private Integer sickdata; private Integer outdata; pri...
true
fc49493e5be9fe018b550ddefa0a4da85890e0fc
Java
a925907195/com.fjsh.simhash
/src/com/fjsh/simhash/search/dupcheck/jedb/JEDBUpdateThread.java
UTF-8
855
2.625
3
[]
no_license
package com.fjsh.simhash.search.dupcheck.jedb; // 定期保存数据。 public class JEDBUpdateThread extends Thread { public boolean terminate = false; private long update_sec_interval = 3600; private String folderPath = "JEDB"; private int cache_size= 100*1024*1024; public JEDBUpdateThread(long arg_upda...
true
2b9445c73b513abe47e432f0f30f92475444f42e
Java
jwoolley/simpleton-mod
/src/main/java/thesimpleton/patches/combat/OtherShufflePatchBefore.java
UTF-8
940
1.9375
2
[]
no_license
package thesimpleton.patches.combat; import com.evacipated.cardcrawl.modthespire.lib.SpirePatch; import com.megacrit.cardcrawl.actions.common.ShuffleAction; import com.megacrit.cardcrawl.cards.CardGroup; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import thesimpleton.TheSimpletonMod; import thesimpleton.or...
true
bee888811ec6bf231624df4ec5a9b69243582905
Java
vg09/Zykee
/app/src/main/java/com/example/omarla/food2u_repo/AddBusinessAdapter.java
UTF-8
3,118
2.265625
2
[]
no_license
package com.example.omarla.food2u_repo; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Base64; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdap...
true
448229ae228a7928364768707d062bd24b39945d
Java
chanwoong528/codingTestPrep
/src/backtracking/Main14888.java
UTF-8
1,467
3.265625
3
[]
no_license
package backtracking; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main14888 { public static int n; public static int arr[]; public static int op[]; public static int min = Integer.MAX_VALUE; public static int max = I...
true
8939c61020cfecf667728318ba533c3032956697
Java
CristianBlanco91/Tienda-Juegos-G27-3
/Tienda_Azar_R/src/main/java/com/example/Tienda_Azar_R/Model/ClienteModel.java
UTF-8
1,494
2.359375
2
[]
no_license
package com.example.Tienda_Azar_R.Model; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; //aqui especificamos la tabla de la DB @table() @Entity @Table(name="T_clientes") public class ClienteModel { @Id private int Cedula_Cli; private String Nombre_Cli; ...
true
97c9cfcf020aacfaf9ca07090bb743ad51c19612
Java
indexPath/KyuModuleProject
/kyuutilslibrary/src/main/java/com/iscreammedia/kyuutilslibrary/FormatUtils.java
UTF-8
704
2.828125
3
[]
no_license
package com.iscreammedia.kyuutilslibrary; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Locale; public class FormatUtils { private FormatUtils(){ } /** * 천 단위로 변경한다. * @param amout * @return */ public static String getFormatedAmount(int amout){...
true
36fe806b6d8c43f6b8dadb64d485f1f0adfcb6c0
Java
parampuneetsingh/parampuneetsingh
/JewelsAndStones_771.java
UTF-8
732
3.421875
3
[]
no_license
import java.util.HashSet; import java.util.Set; //https://leetcode.com/problems/jewels-and-stones/ public class JewelsAndStones_771 { public int numJewelsInStones(String J, String S) { Set<Character> set = new HashSet<Character>(); int jewels = 0; if (J == null || J.length() == 0) { return jew...
true
562b42057097574ec45ad1ed70b982c3714b47e7
Java
411692114/chenjianbo
/gf/src/main/java/com/sinsz/test/aio/client/TestsImpl.java
UTF-8
437
2.328125
2
[]
no_license
package com.sinsz.test.aio.client; /** * Created by chenjianbo on 2017/1/23. */ public class TestsImpl implements Tests { @Override public int caseNum() { return 1010; } public static void main(String[] args) { System.out.println(new TestsImpl().sumNum()); Tests2<String,Inte...
true
b0e763d9e93b8fde560e7bc7808bb6ce86c60782
Java
mpark4656/CodeComp
/src/test/data/testSubmissionDirectory/Nathan.2/subDir/subDir/nat20.java
UTF-8
284
3.34375
3
[]
no_license
public class nat20 { int a = 1,b = 1,c = 0; public static void main(String args[]) { nat20 fibo = new nat20(); for (int i = 0; i < 10 ; i++) { fibo.Fibonacci(); } } public void Fibonacci() { System.out.println(a + "\t" + b ); c = a + b; a = b; b = c; } }
true
b01a87ea5fd1a1f47ae5e29ab6777e2218f74fb1
Java
zouwei1991/Vertex.WechatSDK
/src/modules/messages/appmessages/AppMessageBase.java
UTF-8
1,950
2.125
2
[]
no_license
package modules.messages.appmessages;/* *@description *@author *@date */ import com.google.gson.annotations.SerializedName; import modules.messages.common.MessageBase; public abstract class AppMessageBase extends MessageBase { @SerializedName(value = "touser") private String totalUser; @SerializedNa...
true
ffb2810d4cfa0cfa7669115a9433b726ea6ab4f8
Java
specs-feup/specs-hw
/BinaryTranslation/src/pt/up/fe/specs/binarytranslation/instruction/cdfg/legacy/generic/AGenericCDFG.java
ISO-8859-1
15,001
2.09375
2
[ "Apache-2.0" ]
permissive
/** * Copyright 2021 SPeCS. * * 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 la...
true
d1c02e2f93224239efe8902b030bee2c67aa1550
Java
kevinvanrossum/PROG1_Assessment
/src/nl/kevinvanrossum/Enemy.java
UTF-8
1,026
3.296875
3
[]
no_license
package nl.kevinvanrossum; /** * Created by Kevin van Rossum on 11-4-2016. * * @author Kevin van Rossum * @version 1.0 */ class Enemy { /** * Instance variables */ private String name; private String description; private int hitpoints; private Item[] items; /** * Constructo...
true
a9e1b9dc31ac9a036e1ab84ffef91ce488f73965
Java
zhongfateng/shopping
/app/src/main/java/com/liuwa/shopping/model/IntegralModel.java
UTF-8
445
1.726563
2
[]
no_license
package com.liuwa.shopping.model; /** * Created by ZFT on 2019/9/2. * {"score":1,"memScoreId":1,"orderId":1,"type":1,"memId":5,"createDate":{"date":1,"hours":1,"seconds":30,"month":8,"nanos":0,"timezoneOffset":-480,"year":119,"minutes":57,"time":1567274250000,"day":0}} */ public class IntegralModel { public int...
true
3fef53e85dbf199f8143f4cec5dd4ffabb94d267
Java
magnusulf/MassiveCore
/src/com/massivecraft/massivecore/cmd/CmdMassiveCoreBufferWhitespace.java
UTF-8
1,091
2.640625
3
[ "MIT" ]
permissive
package com.massivecraft.massivecore.cmd; import com.massivecraft.massivecore.MassiveException; import com.massivecraft.massivecore.command.type.primitive.TypeInteger; import com.massivecraft.massivecore.engine.EngineMassiveCoreVariable; import com.massivecraft.massivecore.util.Txt; public class CmdMassiveCoreBufferW...
true
7c135334182d292e0183392f2053a0e936f26138
Java
sivamaninet/seleniumpractices
/src/Java/Set.java
UTF-8
607
2.828125
3
[]
no_license
package Java; //import java.util.Collections; import java.util.HashSet; public class Set { public static void main(String[] args) { HashSet numbers = new HashSet(); numbers.add(100); numbers.add(1000); numbers.add(10000); numbers.add(10); numbers.add(10); System.out.println(numbers); ...
true
5977a68a58f409970d90d2b9998ffb77eb15b869
Java
nikolinaerstic/Foodcall
/app/src/main/java/com/example/nikolina/restaurantapp/main/MainActivity.java
UTF-8
1,349
2.234375
2
[]
no_license
package com.example.nikolina.restaurantapp.main; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.nikolina.restaurantapp.cart.CartActivity; import com.example.nikolina.restaurantapp.R; import com.example.ni...
true
d499e5d46aac7d4478da92ddf43fdfaf2c118412
Java
justdrinkWater/Electric
/Electric/src/com/sw/elec/test/TestCoding.java
UTF-8
369
2.46875
2
[]
no_license
package com.sw.elec.test; import java.io.UnsupportedEncodingException; public class TestCoding { public static void main(String[] args) { String str = "å¼ "; try { String result = new String(str.getBytes("ISO-8859-1"), "utf-8"); System.out.println(result); } catch (UnsupportedEncodingException ...
true
3cd2f96c0dc3fa4ff39c225b67c01f22a92a6001
Java
djurag/File_book
/src/main/java/plavaknjiga/FinalTableModel.java
UTF-8
1,215
2.890625
3
[]
no_license
package plavaknjiga; import javax.swing.table.AbstractTableModel; import java.util.List; public class FinalTableModel extends AbstractTableModel { private List<Record> recordList; private String[] columnNames = {"Ime", "Broj spisa"}; public FinalTableModel(List<Record> recordList) { this.recordLi...
true
e4ed7a175265076c24786ad2d2cc5666fb02f631
Java
ZhangHarry/codeExercise
/src/Algorithm/ProgrammerInterview/Coins.java
UTF-8
811
3.59375
4
[]
no_license
package Algorithm.ProgrammerInterview; /** * Created by zhanghr on 2018/7/20. 题目描述 有数量不限的硬币,币值为25分、10分、5分和1分,请编写代码计算n分有几种表示法。 给定一个int n,请返回n分有几种表示法。保证n小于等于100000,为了防止溢出,请将答案Mod 1000000007。 测试样例: 6 返回:2 */ import java.util.*; public class Coins { public int countWays(int n) { // write code here ...
true
590a15a10626a41a90068fbe5d1992dfe1cca05b
Java
clintonsamson/Json_Web_Token
/JwtToken/src/main/java/com/clinton/token/JwtTokenApplication.java
UTF-8
1,041
2.046875
2
[]
no_license
package com.clinton.token; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure....
true
f2acf14ee408334d25fb9906eec1732bcb601f34
Java
qaed/gzzqhr63
/hrta/src/private/nc/bs/pub/action/N_6407_RECALL.java
UTF-8
1,026
1.992188
2
[]
no_license
package nc.bs.pub.action; import nc.bs.pub.compiler.AbstractCompiler2; import nc.vo.pub.AggregatedValueObject; import nc.vo.pub.BusinessException; import nc.vo.pub.compiler.PfParameterVO; import nc.vo.uap.pf.PFBusinessException; /** * @author tsheay * @see N_10GY_UNSAVE */ public class N_6407_RECALL ex...
true
4bd6ef2c40be096ea76e8f46ae04440ee0c30c0b
Java
tfendo/Tarea10_2
/app/src/main/java/com/hugoguillin/roomwordssample/Word.java
UTF-8
524
2.453125
2
[]
no_license
package com.hugoguillin.roomwordssample; import android.arch.persistence.room.ColumnInfo; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import android.support.annotation.NonNull; @Entity(tableName = "tabla_palabras") public class Word { @PrimaryKey @NonNull ...
true
b0220da5970859ea807b691f6ed32749abf4de03
Java
Double-Slash/playground-android
/app/src/main/java/com/doubleslash/playground/database/entity/ChatRoomEntity.java
UTF-8
1,060
2.5625
3
[]
no_license
package com.doubleslash.playground.database.entity; import androidx.annotation.NonNull; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; @Entity(tableName = "ChatRooms") public class ChatRoomEntity { @NonNull @PrimaryKey @ColumnInfo(name = "id") // Group일 때...
true
d846e27d1a045108fa3d1cf25ef6a411ddb907de
Java
wbabitzki/converter
/b2s-rest/src/main/java/ch/wba/accounting/producer/BeanProducer.java
UTF-8
806
1.828125
2
[]
no_license
package ch.wba.accounting.producer; import java.io.Serializable; import javax.enterprise.context.SessionScoped; import javax.enterprise.inject.Produces; import ch.wba.accounting.banana.BananaTransactionReader; import ch.wba.accounting.banana.validation.BananaValidator; import ch.wba.accounting.sega.ConverterService;...
true
382458e88b584aa5dad4f6c9da4af8d928e4d6c0
Java
huangbo877/TaoZhuMabase
/taoZhuMa/src/main/java/com/ruiyu/taozhuma/model/AgencyProductListsModle.java
UTF-8
526
1.671875
2
[]
no_license
package com.ruiyu.taozhuma.model; import java.io.Serializable; public class AgencyProductListsModle implements Serializable{ public Integer agencyUserId;//批发商用户ID public Integer agencyId;//批发商ID public Integer manufacturerUid;//代理商户的ID public String manufacturerName;//代理商户名称 public Integer id;//产品id public St...
true
be1977d720a761400025123aaf5a40af04fe6432
Java
Promenlt/Project-II
/Project1-master/src/app/practice/PracticeController.java
UTF-8
20,774
1.953125
2
[]
no_license
package app.practice; import app.helpers.CheckAndAlert; import app.helpers.HelpScene; import app.helpers.InformationWord; import app.helpers.database.DatabaseHandler; import app.practice.component.WordLabel; import app.practice.help.HelpLevelController; import app.practice.level.LevelController; import app.practice.mo...
true
c6b6abd654c0f16d3b3e06c6d7c5d5bb65ea3839
Java
zhfang9915/rapp
/rapp-pojo/src/main/java/org/rapp/pojo/account/User.java
UTF-8
1,516
2.296875
2
[]
no_license
/** * 创建于 2016年8月29日 上午11:31:38 * */ package org.rapp.pojo.account; import java.io.Serializable; /** * @ClassName: Account * @Description: TODO * @author zhfang * */ public class User extends BaseEntity implements Serializable { /** * */ private static final long serialVersionUID = -4774114682920479...
true
a864b23d5efd798f50e20cfc455b4309c93de62a
Java
ishimsungbo/scg
/src/main/java/com/scg/ins/vo/InstructorVideoVo.java
UTF-8
3,707
2.203125
2
[]
no_license
package com.scg.ins.vo; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by sungbo on 2016-08-17. */ public class InstructorVideoVo { private int videoid; private int instructorid; private String youtubeaddr; private String videoaddr; private String subject; private S...
true
5f717dcd285cac3cd2f41f76d91d31e53da7d71e
Java
crossdream/red5-websocket
/src/main/java/org/red5/net/websocket/WebSocketTransport.java
UTF-8
7,155
1.9375
2
[ "Apache-2.0" ]
permissive
/* * RED5 Open Source Flash Server - https://github.com/red5 * * Copyright 2006-2015 by respective authors (see below). 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 Lice...
true
393d68d88b15cbf8394bb4bc9d1117279cd7039c
Java
markkolich/curacao
/curacao-servlet-jakarta/src/main/java/curacao/servlet/jakarta/CuracaoJakartaAsyncListener.java
UTF-8
2,896
1.929688
2
[ "MIT" ]
permissive
/* * Copyright (c) 2023 Mark S. Kolich * https://mark.koli.ch * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, ...
true
ea4deb85e235a16a7ddfc509b4ac32cc0715940c
Java
hannesN/aranuka
/aranuka.tests/src/main/java/de/topicmapslab/aranuka/test/preusker/model/Institution.java
UTF-8
2,308
2.15625
2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
package de.topicmapslab.aranuka.test.preusker.model; import de.topicmapslab.aranuka.annotations.Association; import de.topicmapslab.aranuka.annotations.Id; import de.topicmapslab.aranuka.annotations.Name; import de.topicmapslab.aranuka.annotations.Topic; import de.topicmapslab.aranuka.enummerations.IdType; @Topic(su...
true
0cc5b662685a4fc0d1cedcd07eafd3cc9fbc3e59
Java
bzyx/BD2_SchoolManager_GUI
/src/pl/polsl/bd2/models/ContestListModel.java
UTF-8
1,284
2.296875
2
[]
no_license
package pl.polsl.bd2.models; import java.util.ArrayList; import java.util.List; import pl.polsl.bd2.helpers.SpringUtil; import pl.polsl.bd2.messageSystem.models.Konkurs; import pl.polsl.bd2.messageSystem.service.KonkursService; import com.trolltech.qt.QtBlockedSlot; import com.trolltech.qt.core.QAbstractListModel; i...
true
1be2d0d3bd05cfafb2070ebf6ab940fb131eaf28
Java
carllinley/LD33
/src/sypan/game/object/type/Graveyard.java
UTF-8
743
2.671875
3
[]
no_license
package sypan.game.object.type; import sypan.game.Game; import sypan.game.entity.AbstractEntity; import sypan.game.object.AbstractObject; import sypan.game.object.classification.Goal; /** * An inert object. * * @author Carl Linley **/ public class Graveyard extends AbstractObject implements Goal { @Override p...
true
f66735ea9254ef7a6156065097f214663d8b9291
Java
NepheliumInc/red-berry-master
/src/main/java/com/redberry/mvc/database/RoomCategory.java
UTF-8
1,922
2.59375
3
[]
no_license
package com.redberry.mvc.database; import javax.persistence.*; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; import java.util.Collection; import java.util.Set; @XmlRootElement(name="roomCategory") @Entity public class RoomCategory implements Serializable{ @Id @GeneratedValue(s...
true
94be65a50ea9ebcb7ba4e597e3b76fdef4461861
Java
ihmcrobotics/ihmc-open-robotics-software
/ihmc-common-walking-control-modules/src/main/java/us/ihmc/commonWalkingControlModules/trajectories/OneWaypointSwingGenerator.java
UTF-8
10,803
1.9375
2
[ "Apache-2.0" ]
permissive
package us.ihmc.commonWalkingControlModules.trajectories; import java.util.ArrayList; import us.ihmc.commons.MathTools; import us.ihmc.commons.lists.RecyclingArrayList; import us.ihmc.euclid.referenceFrame.FramePoint3D; import us.ihmc.euclid.referenceFrame.FrameVector3D; import us.ihmc.euclid.referenceFrame.Reference...
true
b0ffa66b24c5ee3d15d1ed806c5e8723561f81f2
Java
aleandrodalan/projuris_back_end
/src/main/java/br/com/projuris/services/impl/OcorrenciaServiceImpl.java
UTF-8
769
2.03125
2
[]
no_license
package br.com.projuris.services.impl; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.projuris.models.Ocorrencia; import br.com.projuris.repositories.OcorrenciaRepository; import br.com.proj...
true
67487b1902b7d02c2131dc0edba0a2ea32ebf533
Java
mjain49/repo
/.metadata/.plugins/org.eclipse.core.resources/.history/61/70744550cab1001913cff04c41fd71b3
UTF-8
787
2.609375
3
[]
no_license
package com.cg.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="Greet") public class Greet { @Id @Column(name="MessageID",len...
true
822b33486e86639dbfa601a906dc6b6af9498ac0
Java
pnaranjo/tp1ayp2
/src/tests/PruebaGestorDeCuentas.java
UTF-8
6,098
2.4375
2
[]
no_license
package tests; import java.util.ArrayList; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import clases.Banco; import clases.CajaDeAhorroEnDolares; import clases.CajaDeAhorroEnPesos; import clases.Cliente; import clases.CuentaCorriente; import clases.Domicilio; import clases.GestorDeC...
true
e4a5a7a6c59f2582ac8d0a1ffb6154a9dd6196fc
Java
pustian/learn-java
/jdk-version/jdk7/src/main/java/tian/pusen/jdk7/grammar/AtomTypeTest.java
UTF-8
336
2.6875
3
[ "MIT" ]
permissive
package tian.pusen.jdk7.grammar; public class AtomTypeTest { public static void main(String[] args){ int i = 123_456; int b = 0B0001_0010; //12 int o = 017; // 8+7 int ox= 0x12ff; System.out.printf("i:%d\n",i); System.out.printf("b:0X%x\n",b); System.out.printf("o:0X%x\n",o); System.out.printf("0x:0X...
true
71c7f26de4ab890ef2ca2a4d556e93523b8465d5
Java
temibayo/MyExpenseV2
/src/controller/IncomeHistoryBean.java
UTF-8
3,772
2.21875
2
[]
no_license
package controller; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.context.FacesContext; import javax.faces.event.ActionEvent; import org.primefaces.even...
true
f2b79f6b1691ec5e494703ad7f558b0a4fb7dac0
Java
subhechhu/Rift
/Rift/app/src/main/java/com/np/rift/main/menuOptions/EditFragment.java
UTF-8
6,360
2.015625
2
[]
no_license
package com.np.rift.main.menuOptions; import android.app.Dialog; import android.support.design.widget.BottomSheetDialogFragment; import android.support.design.widget.Snackbar; import android.support.v4.content.ContextCompat; import android.util.Log; import android.view.View; import android.widget.Button; import androi...
true
9d57aa3c193a030a2b667269478e216896e02433
Java
rbonillab201/sfc-di
/src/test/java/net/cuscatlan/sfcdi/controllers/ConstructorInyectionControllerTest.java
UTF-8
573
2.140625
2
[]
no_license
package net.cuscatlan.sfcdi.controllers; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import net.cuscatlan.sfcdi.services.PropertyGreetingsServiceImpl; /** * @author Renato Oswaldo Bonilla (rBonilla) el día Oct 4, 2020 * */ class ConstructorInyectionControllerTest { private Con...
true
7bf116cf8472acffc923e76e9e10b3acf0512847
Java
rzfd/PBO-java
/Pertemuan 5/JConstruct2.java
UTF-8
229
2.9375
3
[]
no_license
public class JConstruct2 { int x; public JConstruct2(int y) { x = y; } public static void main(String[] args) { JConstruct2 OBJ1 = new JConstruct2(5); System.out.println(OBJ1.x); } }
true
53b3b464c72ecc1f66b797d1c8120b030b050b39
Java
xymyf1314/SSM
/src/main/test/com/neuedu/redis/JedisPoolTest.java
UTF-8
2,092
2.46875
2
[]
no_license
package com.neuedu.redis; /*         ┏┓  ┏┓+ +        ┏┛┻━━━┛┻┓ + +        ┃      ┃          ┃   ━   ┃ ++ + + +        ████━████ ┃+        ┃       ┃ +        ┃   ┻   ┃        ┃      ┃ + +        ┗━┓   ┏━┛          ┃   ┃                     ┃   ┃ + + + +          ┃   ┃    Code is far away from bug with the ...
true
783f4957120a0e7ed256a7ab7c055af6ec770d20
Java
Thor-Herman/DragMania
/server/src/com/utilities/Lobby.java
UTF-8
5,774
2.609375
3
[]
no_license
package com.utilities; import com.esotericsoftware.kryonet.Connection; import com.utilities.messages.GameMapMessage; import com.utilities.messages.GameOverMessage; import com.utilities.messages.JoinLobbyRequest; import com.utilities.messages.LobbyResponse; import com.utilities.messages.Message; import com.utilities.me...
true
e214ff6250519efb20d4af6563243671328f514f
Java
Senthilkumaranshan/LearnJAVA
/non docker ems/CMS/ems-data-jpa/src/main/java/com/example/emsdatajpa/model/Task.java
UTF-8
806
2.21875
2
[]
no_license
package com.example.emsdatajpa.model; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.util.List; @Entity public class Task { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) Integer tid; String tname; // @ManyToMany(mappedBy = "tasks") // @J...
true
0df48fbe630941023b0466540dcac39e03fe5aa5
Java
mafuteru/Li_Jenny
/APLesson_07/Lesson_07.java
UTF-8
546
3.8125
4
[]
no_license
import java.util.Scanner; public class Lesson_07 { static int number; static int digits =0; public static void main(String[]args) { Scanner kb = new Scanner(System.in); System.out.println("Please enter a number: "); number = kb.nextInt(); countDigits(); System.out.println(number + " has "+digits+" digit...
true
6c7fe6ce6a13fbc0b5788bf7ec42ea1fc70d07dc
Java
boa0332/mediacenter
/MedienCenter-DesktopClient/src/main/java/de/dhbw_mannheim/tit09a/tcom/mediencenter/desktopclient/view/medialibrary/MediaComponent.java
UTF-8
1,380
2.1875
2
[]
no_license
package de.dhbw_mannheim.tit09a.tcom.mediencenter.desktopclient.view.medialibrary; import java.awt.Canvas; import java.awt.Color; import javax.swing.JFrame; import uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent; import uk.co.caprica.vlcj.player.MediaPlayer; import uk.co.caprica.vlcj.player.embedd...
true
c903d406f122ec6cd6e8cdbf80acdd90ee0134d1
Java
Mrleaf/ImageCompression
/app/src/main/java/cn/leaf/imagecompression/LibjpegActivity.java
UTF-8
5,846
2.25
2
[]
no_license
package cn.leaf.imagecompression; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import an...
true
3338ae72de43cf571f2a2a66779ee0cc77ee4118
Java
QuinnFreedman/Roguelike
/src/Aura.java
UTF-8
4,358
2.625
3
[]
no_license
import java.awt.Image; public class Aura{ public TriggerType trigger;//upkeep,tick,eot,attack,defend,onDealDamage,onRecieveDamage,trigger(called manually) public String remove; protected Charecter parent; protected Item parentItem; protected boolean debuff; protected int duration; protected int level; protecte...
true
af18592e567c4abf9844541f847308c65eea7cfa
Java
VoV1990/Airline
/Airlines/src/AirlinesDatabase.java
UTF-8
3,514
3.46875
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AirlinesDatabase { private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); private static Airline[] airlines; public AirlinesDatabase(Airline... newAirlines) { cl...
true
f45cfe510fb37d7343bad450ea2b29ca0dd1e1fd
Java
doublek420/azure-sdk-for-java
/azure-batch/src/main/java/com/microsoft/azure/batch/BatchClient.java
UTF-8
3,511
1.796875
2
[ "MIT" ]
permissive
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.batch; import com.microsoft.azure.batch.auth.BatchSharedKeyCredentials; import com.microsoft.azure.batch.interceptor.Clien...
true
aebc0320d29b993d2a993828914805cbac7b0461
Java
mltsaku67/elasticsearch-cluster-runner-extends
/src/test/java/org/mltsaku67/elasticsearch/ElasticsearchTestClassRunnerTest.java
UTF-8
1,200
1.6875
2
[ "Apache-2.0" ]
permissive
package org.mltsaku67.elasticsearch; import static org.junit.Assert.*; import org.codelibs.elasticsearch.runner.ElasticsearchClusterRunner; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; imp...
true
a8e8a5acac5581638a63c5abbf5573f52d79bd6a
Java
brettchaldecott/dipforge
/libs/CoadunationLib/src/com/rift/coad/lib/deployment/DeploymentInfo.java
UTF-8
4,373
2.375
2
[]
no_license
/* * CoadunationLib: The coaduntion implementation library. * Copyright (C) 2006 2015 Burntjam * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licen...
true
a89034e963d1a2b49b35c4ee50b94592f1eb9ec1
Java
omyrobin/HttpCall
/app/src/main/java/com/dcloud/live/http/rxjava/ProgressObserver.java
UTF-8
5,539
2.265625
2
[]
no_license
package com.dcloud.live.http.rxjava; import android.content.Context; import android.net.ParseException; import android.util.Log; import android.widget.Toast; import com.dcloud.live.R; import com.dcloud.live.bean.BaseEntity; import com.dcloud.live.http.progress.ProgressCancelListener; import com.dcloud.live.http.progr...
true
5f820da34d34551005ac3e98ddba9b0290d0b056
Java
fengyuwuyu/StockAnalyze
/src/com/stock/model/StockAnalyseResult1.java
UTF-8
1,766
2.390625
2
[]
no_license
package com.stock.model; import java.util.Date; public class StockAnalyseResult1 { private Integer id; private String symbol; private Date begin; private Date end; private String type; private Float increase; private Float incease1; private Float incease2; private Float incease3; public StockAnalys...
true
844f349d4b2b81ab29aeccba813a77a7aa897add
Java
larsanderegg/bm
/bm/src/main/java/ch/lan/bm/internal/BetEngine.java
UTF-8
2,903
2.796875
3
[]
no_license
package ch.lan.bm.internal; import java.util.Collection; import ch.lan.bm.internal.data.Bet; import ch.lan.bm.internal.data.BetEngineResult; import ch.lan.bm.internal.data.Stock; import ch.lan.bm.placer.BetPlacer; import ch.lan.bm.provider.BetsProvider; import ch.lan.bm.result.ResultListener; import ch.lan.bm.system....
true
565c24610040188e2b164cb971195fc6af4d02fe
Java
jjmsy/algorithm
/algorithm/src/main/java/day7/IPO.java
UTF-8
3,052
4.09375
4
[]
no_license
package day7; import java.util.Comparator; import java.util.PriorityQueue; /** * 假设 LeetCode 即将开始其 IPO。为了以更高的价格将股票卖给风险投资公司,LeetCode希望在 IPO 之前开展一些项目以增加其资本。 * 由于资源有限,它只能在 IPO 之前完成最多 k个不同的项目。帮助 LeetCode 设计完成最多 k 个不同项目后得到最大总资本的方式。 * * 给定若干个项目。对于每个项目 i,它都有一个纯利润 Pi,并且需要最小的资本 Ci 来启动相应的项目。 * 最初,你有 W 资本。当你完成一个项目时,你将获得纯利润...
true
0ad35faee7893a453f34fbf0a2c3f6411ac1b6d6
Java
JOETION/phoenix-demo
/phoenix-demo-base/src/main/java/com/snow/phoenix/demo/base/jdbc/JdbcDemo.java
UTF-8
7,856
2.65625
3
[]
no_license
/* * Copyright 2016-2020 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 * * QQ:1322874562 PHONE:13882946572 * * Unless required by ap...
true
685371fa223fe615ad353e1ac5594fb67e53eeb0
Java
wilmer/cvs-report
/src/main/java/com/chinarewards/report/data/superpri/ProductItemCountForSuperPriService.java
UTF-8
22,396
2.03125
2
[]
no_license
package com.chinarewards.report.data.superpri; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java...
true
4400e6dcda5e2d085e9c23661a6d0e53bc4c9d92
Java
gaurav-4uk/JAVATechnoMar2021
/src/mayur/coding_exam_3/VowelRemoving.java
UTF-8
637
3.4375
3
[]
no_license
package mayur.coding_exam_3; public class VowelRemoving { String vowelString(String str) { String temp = ""; for (int index = 0; index < str.length(); index++) { char ch = str.charAt(index); switch (ch) { case 'a': break; case 'e': break; case 'i': break; case 'o': break; case...
true
0fc08da5517962c5704dfec4cade3c595d92f804
Java
apache/openoffice
/main/embeddedobj/test/Container1/WindowHelper.java
UTF-8
4,994
1.960938
2
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", ...
permissive
/************************************************************** * * 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 y...
true
f4ce0e04884c696cc5f6b4a2bf123f78974cccc4
Java
duke605/IGML4
/src/main/java/duke605/igml4/IGML4.java
UTF-8
5,698
2.15625
2
[]
no_license
package duke605.igml4; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import net.minecraft.client.settings.KeyBinding; import net.minecraft.util.StatCollector; import org.lwjgl.input.Keyboard; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import cpw.mods.fml.clien...
true
610d1ee38dcb613ce350a885a6636281c8e03d62
Java
TankaiHub/topc
/src.archive.1/greedy/ProductBundling.java
UTF-8
1,628
3.015625
3
[]
no_license
package topc.greedy; import java.util.*; import java.io.*; // SRM 324 Division II Level Three - 1000 // greedy, simple search, iteration // statement: http://community.topcoder.com/stat?c=problem_statement&pm=6811&rd=10004 // editorial: http://www.topcoder.com/tc?module=Static&d1=match_editorials&d2=srm324 public cla...
true
f1e8f932ff33362d8ffba0aba2bf23d27ae50068
Java
humanbe/yangyi
/maop/src/com/nantian/dply/service/AppChangeService.java
UTF-8
45,608
1.703125
2
[]
no_license
package com.nantian.dply.service; import java.io.IOException; import java.io.Serializable; import java.net.URISyntaxException; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.ut...
true
e7eba3fabf60b4f954778259f919d22bfc5001b6
Java
liu-yi-tao/SpringApplication
/src/main/java/com/spring/BeanDefinition.java
UTF-8
646
2.515625
3
[]
no_license
package com.spring; /** * @author Mikiyo * @create 2021-05-19 15:00 */ public class BeanDefinition { // 类 private Class clazz; // 类标识 private String scope; public void setClazz(Class clazz) { this.clazz = clazz; } public void setScope(String scope) { this.scope = scop...
true
d7969182b25144a6a43ad1ec9eceb7d5e996cebd
Java
ArturKuklenko/Patchwork_Galaxy_v0
/src/com/patchworkgalaxy/game/vital/VitalStack.java
UTF-8
1,827
3.234375
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.patchworkgalaxy.game.vital; /** * A Vital composed of other Vitals. * <p>A VitalStack doesn't meaningfully have its own maximum or current values. Instead, it is a stack of other vitals, from which those v...
true
240b46d988144cf4f995f2f0bc96565574ea44b0
Java
zerocastle/young
/dabang/src/main/java/medios/cmmn/util/StringUtil.java
UTF-8
8,457
3.234375
3
[]
no_license
package medios.cmmn.util; import java.util.Collection; import org.springframework.util.StringUtils; /** * Class Name : StringUtil * Description : String을 다루는 공통 유틸 클래스 * @author 의료원연합회-박정호 * @since 2019. 9. 6. * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 ...
true