blob_id stringlengths 40 40 | __id__ int64 225 39,780B | directory_id stringlengths 40 40 | path stringlengths 6 313 | content_id stringlengths 40 40 | detected_licenses list | license_type stringclasses 2
values | repo_name stringlengths 6 132 | repo_url stringlengths 25 151 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 70 | visit_date timestamp[ns] | revision_date timestamp[ns] | committer_date timestamp[ns] | github_id int64 7.28k 689M ⌀ | star_events_count int64 0 131k | fork_events_count int64 0 48k | gha_license_id stringclasses 23
values | gha_fork bool 2
classes | gha_event_created_at timestamp[ns] | gha_created_at timestamp[ns] | gha_updated_at timestamp[ns] | gha_pushed_at timestamp[ns] | gha_size int64 0 40.4M ⌀ | gha_stargazers_count int32 0 112k ⌀ | gha_forks_count int32 0 39.4k ⌀ | gha_open_issues_count int32 0 11k ⌀ | gha_language stringlengths 1 21 ⌀ | gha_archived bool 2
classes | gha_disabled bool 1
class | content stringlengths 7 4.37M | src_encoding stringlengths 3 16 | language stringclasses 1
value | length_bytes int64 7 4.37M | extension stringclasses 24
values | filename stringlengths 4 174 | language_id stringclasses 1
value | entities list | contaminating_dataset stringclasses 0
values | malware_signatures list | redacted_content stringlengths 7 4.37M | redacted_length_bytes int64 7 4.37M | alphanum_fraction float32 0.25 0.94 | alpha_fraction float32 0.25 0.94 | num_lines int32 1 84k | avg_line_length float32 0.76 99.9 | std_line_length float32 0 220 | max_line_length int32 5 998 | is_vendor bool 2
classes | is_generated bool 1
class | max_hex_length int32 0 319 | hex_fraction float32 0 0.38 | max_unicode_length int32 0 408 | unicode_fraction float32 0 0.36 | max_base64_length int32 0 506 | base64_fraction float32 0 0.5 | avg_csv_sep_count float32 0 4 | is_autogen_header bool 1
class | is_empty_html bool 1
class | shard stringclasses 16
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1eccef1980d73f0bfb06ea840ed9cd7695cda1b9 | 18,262,200,990,894 | 3837628e35f3309564f306417d9f996f9b5fcc35 | /src/test/java/app/RestaurantTestData.java | a47b9e909124a8fd6b4dc803a71e47f3460768da | [] | no_license | artemiys930519/Restogram | https://github.com/artemiys930519/Restogram | 4c8ed53929d8f2be4826b4a1a43b7d68cf8db3ef | 2969ad0cc689e5d097d5c9ce7865279fb8d488cb | refs/heads/master | 2020-04-11T19:13:18.297000 | 2018-12-16T18:25:22 | 2018-12-16T18:25:22 | 162,026,355 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package app;
import app.model.Restaurant;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class RestaurantTestData {
public static int startCount = 999;
public final static Restaurant RESTAURANT1 = new Restaurant(startCount + 1, "Sergeys");
public final static Res... | UTF-8 | Java | 1,632 | java | RestaurantTestData.java | Java | [] | null | [] | package app;
import app.model.Restaurant;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class RestaurantTestData {
public static int startCount = 999;
public final static Restaurant RESTAURANT1 = new Restaurant(startCount + 1, "Sergeys");
public final static Res... | 1,632 | 0.734591 | 0.722013 | 39 | 39.76923 | 38.277302 | 124 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.846154 | false | false | 13 |
dd41234826db3f655224ffd70b18d52813b8fa28 | 15,977,278,406,213 | f31ef5f519219b520bf2c8ec82476bf98a53be14 | /src/main/java/example/model/MessageCenter.java | 12febca677cb4a98a91abc1929292355d92ac7ec | [] | no_license | MercuryGe/java_chatroom | https://github.com/MercuryGe/java_chatroom | cf401bb425ecf88e05af9d3b090f0e2ce7b2ea98 | 5b1bb781cb5209d593c2375b00dba7d6027916b9 | refs/heads/master | 2023-05-10T09:32:56.179000 | 2021-06-03T01:08:00 | 2021-06-03T01:08:00 | 373,342,459 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package example.model;
import javax.websocket.Session;
import java.io.IOException;
import java.util.Enumeration;
import java.util.concurrent.BlockingDeque;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingDeque;
public class MessageCenter {
/**
* ConcurrentHashMap:支持... | UTF-8 | Java | 2,637 | java | MessageCenter.java | Java | [] | null | [] | package example.model;
import javax.websocket.Session;
import java.io.IOException;
import java.util.Enumeration;
import java.util.concurrent.BlockingDeque;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingDeque;
public class MessageCenter {
/**
* ConcurrentHashMap:支持... | 2,637 | 0.575563 | 0.575563 | 85 | 24.611765 | 21.950798 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.305882 | false | false | 13 |
0b6dddc6f8273646a04c2920689690f4f3ba5d02 | 17,763,984,747,468 | 8c2633452c163db0d3b61f46980096f237e50b4d | /academy/src/by/academy/lesson4/Homework2/HW2_Task4/HW2_Task4_BankCardPriorBYN.java | a4cca272888fd93ae08d52b815bc5f89a7bdb3d4 | [] | no_license | anastasiya-dev/academy | https://github.com/anastasiya-dev/academy | 9e546366154800a5e908b686360db4ca872bfa86 | 3e990470acdd383c0da1b395fbfbf101b34ab7ff | refs/heads/master | 2021-05-22T18:25:02.141000 | 2020-06-11T14:53:46 | 2020-06-11T14:53:46 | 253,038,622 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package by.academy.lesson4.Homework2.HW2_Task4;
public class HW2_Task4_BankCardPriorBYN extends HW2_Task4_BankCardPrior {
/**
*
*/
private static final long serialVersionUID = 1L;
private String currency = "BYN";
double amountOfPurchase;
final private double threshold = 1_000;
final private dou... | UTF-8 | Java | 612 | java | HW2_Task4_BankCardPriorBYN.java | Java | [] | null | [] | package by.academy.lesson4.Homework2.HW2_Task4;
public class HW2_Task4_BankCardPriorBYN extends HW2_Task4_BankCardPrior {
/**
*
*/
private static final long serialVersionUID = 1L;
private String currency = "BYN";
double amountOfPurchase;
final private double threshold = 1_000;
final private dou... | 612 | 0.704248 | 0.676471 | 26 | 21.538462 | 21.359974 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.423077 | false | false | 13 |
c91fe89fbeb1da0526f32e685a3e46fb8c9ea03c | 11,252,814,319,743 | 8a0e4585034b13624317660f854869d28f983eba | /RemoveDuplicateCharacters.java | ab09a74f72f4adb635d7d021d38ddb6032093bc2 | [] | no_license | Vexole/CrackingCodeInterview | https://github.com/Vexole/CrackingCodeInterview | 59b4585234eac8af53bf319ac3f5da938296b484 | 9e239344a1df6e9079357de488cc69913cb7c846 | refs/heads/master | 2020-05-17T06:46:03.364000 | 2019-04-26T05:56:33 | 2019-04-26T05:56:33 | 183,566,132 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.HashSet;
import java.util.Set;
public class RemoveDuplicateCharacters {
public static void main(String[] args) {
RemoveDuplicateCharacters obj = new RemoveDuplicateCharacters();
System.out.println(obj.getProcessedData("aaaa"));
}
public String getProcessedData(String argWord) {
if (argWord ... | UTF-8 | Java | 682 | java | RemoveDuplicateCharacters.java | Java | [] | null | [] | import java.util.HashSet;
import java.util.Set;
public class RemoveDuplicateCharacters {
public static void main(String[] args) {
RemoveDuplicateCharacters obj = new RemoveDuplicateCharacters();
System.out.println(obj.getProcessedData("aaaa"));
}
public String getProcessedData(String argWord) {
if (argWord ... | 682 | 0.708211 | 0.708211 | 26 | 25.23077 | 21.715481 | 66 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.192308 | false | false | 13 |
26101223b50e160b4856fca4a2d9c38fca8ded8e | 33,492,154,974,913 | c7cbfcab932420046aa1bd90d946e4796c52e330 | /SpaceGame/Game.java | ab42c372d1781d9a1c3ab54b6c2907e039d64da7 | [] | no_license | DanielGL95/Space-Fighter | https://github.com/DanielGL95/Space-Fighter | 60cfccc6681e238affd65bf442f9aeb5274d2b25 | 061ee5acfe036ee5249f346e4c4f6299827caa03 | refs/heads/master | 2020-03-31T09:27:46.046000 | 2018-10-08T15:47:55 | 2018-10-08T15:47:55 | 152,096,659 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package SpaceGame;
import SpaceGame.Audio.Audio;
import SpaceGame.Controller.Controller;
import SpaceGame.Entities.*;
import SpaceGame.IO.KeyInput;
import SpaceGame.IO.MouseInput;
import SpaceGame.Menu.*;
import SpaceGame.Sprites.BufferedImageLoader;
import SpaceGame.Texture.Texture;
import javax.swing.*;
import jav... | UTF-8 | Java | 11,702 | java | Game.java | Java | [] | null | [] | package SpaceGame;
import SpaceGame.Audio.Audio;
import SpaceGame.Controller.Controller;
import SpaceGame.Entities.*;
import SpaceGame.IO.KeyInput;
import SpaceGame.IO.MouseInput;
import SpaceGame.Menu.*;
import SpaceGame.Sprites.BufferedImageLoader;
import SpaceGame.Texture.Texture;
import javax.swing.*;
import jav... | 11,702 | 0.509229 | 0.497693 | 460 | 24.439131 | 20.241224 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.591304 | false | false | 13 |
1b1e0d37eb998a814add72b7800e77053197bc49 | 16,200,616,650,524 | d6ca80c55876ce8fec50e040c142c32e1fef8064 | /ControleDeQualidadeWeb/src/unibratec/controlequalidade/exceptions/CategoriaNaoCadastradaException.java | 841bd9c3378a545467c605c4ce596f85e3dd8859 | [] | no_license | Anaksy/PSC-FINAL-ControleDeQualidadeWeb | https://github.com/Anaksy/PSC-FINAL-ControleDeQualidadeWeb | ab51bd742987d655b89112ea206a355294284370 | ef57d3e644058dea51f3da42547a0841d578c9d9 | refs/heads/master | 2021-01-22T20:44:33.416000 | 2015-06-12T05:10:15 | 2015-06-12T05:10:15 | 35,651,067 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package unibratec.controlequalidade.exceptions;
public class CategoriaNaoCadastradaException extends Exception{
public CategoriaNaoCadastradaException() {
super();
}
public CategoriaNaoCadastradaException(String msg) {
super(msg);
}
}
| UTF-8 | Java | 250 | java | CategoriaNaoCadastradaException.java | Java | [] | null | [] | package unibratec.controlequalidade.exceptions;
public class CategoriaNaoCadastradaException extends Exception{
public CategoriaNaoCadastradaException() {
super();
}
public CategoriaNaoCadastradaException(String msg) {
super(msg);
}
}
| 250 | 0.788 | 0.788 | 13 | 18.23077 | 22.864664 | 63 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.076923 | false | false | 13 |
087af67b5bf1af579e9a53b505ffdd990f990ec1 | 17,008,070,506,264 | e386bc4c6b95fccb99c8a6fabae8e883a3370793 | /src/main/java/cn/zzdz/enums/WarningMessage.java | e6942a491375f511ef3cde7c19e4d1bef31bc2d0 | [] | no_license | dongwang1989/spring-bootproject | https://github.com/dongwang1989/spring-bootproject | 9291c7fd69cd4ecd5bd7388f8b7fc74e614c80be | f9bde6cf07780aaafc9629befd46b2e28d279513 | refs/heads/dev | 2022-07-14T11:19:30.213000 | 2019-07-22T12:21:54 | 2019-07-22T12:21:54 | 158,478,766 | 1 | 0 | null | false | 2022-06-29T17:13:38 | 2018-11-21T02:23:05 | 2019-07-22T12:22:14 | 2022-06-29T17:13:35 | 20,282 | 1 | 0 | 1 | Java | false | false | package cn.zzdz.enums;
import cn.zzdz.interfaces.enummessage.IMessage;
public enum WarningMessage implements IMessage {
CONTROLLER_TESTA;
LookupType getLookupType() {
return null;
}
@Override
public String getName() {
return name();
}
}
| UTF-8 | Java | 281 | java | WarningMessage.java | Java | [] | null | [] | package cn.zzdz.enums;
import cn.zzdz.interfaces.enummessage.IMessage;
public enum WarningMessage implements IMessage {
CONTROLLER_TESTA;
LookupType getLookupType() {
return null;
}
@Override
public String getName() {
return name();
}
}
| 281 | 0.661922 | 0.661922 | 16 | 16.5625 | 15.846801 | 48 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | false | false | 13 |
c038be8680e7c5326c2b2a8e40015f70fd81df63 | 29,746,943,509,753 | 95d20c83d8aff34e314c56a3ecb2b87c9fa9fc86 | /Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/StringTableProvider.java | 2e0b7606d2defae959820c4bde267303eb195958 | [
"GPL-1.0-or-later",
"GPL-3.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | NationalSecurityAgency/ghidra | https://github.com/NationalSecurityAgency/ghidra | 969fe0d2ca25cb8ac72f66f0f90fc7fb2dbfa68d | 7cc135eb6bfabd166cbc23f7951dae09a7e03c39 | refs/heads/master | 2023-08-31T21:20:23.376000 | 2023-08-29T23:08:54 | 2023-08-29T23:08:54 | 173,228,436 | 45,212 | 6,204 | Apache-2.0 | false | 2023-09-14T18:00:39 | 2019-03-01T03:27:48 | 2023-09-14T16:08:34 | 2023-09-14T18:00:38 | 315,176 | 42,614 | 5,179 | 1,427 | Java | false | false | /* ###
* IP: GHIDRA
*
* 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 writin... | UTF-8 | Java | 21,514 | java | StringTableProvider.java | Java | [
{
"context": "/* ###\n * IP: GHIDRA\n *\n * Licensed under the Apache License, Ver",
"end": 15,
"score": 0.867367684841156,
"start": 14,
"tag": "NAME",
"value": "G"
}
] | null | [] | /* ###
* IP: GHIDRA
*
* 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 writin... | 21,514 | 0.754253 | 0.751278 | 696 | 29.910919 | 26.096266 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.33046 | false | false | 13 |
3f201c1f9001a92fa8a03079a299fd13be8a776f | 32,392,643,366,441 | 1c159203fca1aea4c59558326aaf24d3ccdf0f78 | /app/src/main/java/com/example/android/musicplayer/AlbumsActivity.java | 6c5249de9ef1ecb64e2ce1072047490b5d23327a | [] | no_license | minut1bc/MusicPlayer | https://github.com/minut1bc/MusicPlayer | 619d925d9376accdfe5e111226926acf1b8281ea | 34ce4b4cf680b1dd363a6f26f5431e9408f0e407 | refs/heads/master | 2020-03-12T10:47:01.524000 | 2018-04-23T11:09:36 | 2018-04-23T11:09:36 | 130,581,075 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.android.musicplayer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import java.util.ArrayList;
public class AlbumsActivity extends AppCompatActivity {
@Override
prote... | UTF-8 | Java | 3,094 | java | AlbumsActivity.java | Java | [] | null | [] | package com.example.android.musicplayer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import java.util.ArrayList;
public class AlbumsActivity extends AppCompatActivity {
@Override
prote... | 3,094 | 0.602456 | 0.602133 | 86 | 34.976746 | 28.49642 | 102 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.511628 | false | false | 13 |
08e0b9e310d772215037c83c1165cfb25d2f551c | 32,160,715,126,731 | 882e77219bce59ae57cbad7e9606507b34eebfcf | /mi2s_10_miui12/src/main/java/miui/util/NotificationHelper.java | f115f66aba7c8adaf1ca50b2b1a5926c59562b10 | [] | no_license | CrackerCat/XiaomiFramework | https://github.com/CrackerCat/XiaomiFramework | 17a12c1752296fa1a52f61b83ecf165f328f4523 | 0b7952df317dac02ebd1feea7507afb789cef2e3 | refs/heads/master | 2022-06-12T03:30:33.285000 | 2020-05-06T11:30:54 | 2020-05-06T11:30:54 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package miui.util;
import android.app.MiuiNotification;
import android.app.Notification;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bui... | UTF-8 | Java | 2,263 | java | NotificationHelper.java | Java | [] | null | [] | package miui.util;
import android.app.MiuiNotification;
import android.app.Notification;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bui... | 2,263 | 0.704817 | 0.703491 | 58 | 38.017242 | 33.137379 | 147 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.793103 | false | false | 13 |
a8d49fad5b2b23702330dec0310bddf38806c07d | 16,484,084,504,179 | 2d21c6b6f653c36e697ce66fce074d1cd96897f2 | /src/com/cucci/visitor/Person.java | f96a43d7036bbb3cf7addea0647bf2809f0ee612 | [] | no_license | YunwenShen/DesignerPattern | https://github.com/YunwenShen/DesignerPattern | e5d198deaedffd11c01df530bd0d78eed0404c05 | eed6befdbca2fb59c505930a23fca7b7b9fa62a0 | refs/heads/master | 2021-07-30T21:37:44.460000 | 2021-07-27T01:16:00 | 2021-07-27T01:16:00 | 166,232,423 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.cucci.visitor;
/**
* 人
*
* @author shenyw
**/
public abstract class Person {
public abstract void accept(Action visitor);
}
| UTF-8 | Java | 149 | java | Person.java | Java | [
{
"context": "package com.cucci.visitor;\n\n/**\n * 人\n *\n * @author shenyw\n **/\npublic abstract class Person {\n\n public a",
"end": 57,
"score": 0.9994783401489258,
"start": 51,
"tag": "USERNAME",
"value": "shenyw"
}
] | null | [] | package com.cucci.visitor;
/**
* 人
*
* @author shenyw
**/
public abstract class Person {
public abstract void accept(Action visitor);
}
| 149 | 0.659864 | 0.659864 | 11 | 12.272727 | 15.249983 | 48 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | false | false | 13 |
dda644131628c9ecc2b0bebc34f0673ceb5d14a6 | 26,542,897,907,730 | 19a9ee783dd780adddfa92526db86df11213bacb | /test/erp_jdbc_study/ds/MySqlDataSourceTest.java | 085cd91c5d477e761f94ca47f86bd2af592013cd | [] | no_license | MinSu-Kim/erp_jdbc_study | https://github.com/MinSu-Kim/erp_jdbc_study | 9ee4ddd20462e801e49c1d2f8814aeb45926fadb | 6bb648ce180e8ed612bf33bce959b9764ed4c604 | refs/heads/master | 2021-01-02T01:17:03.512000 | 2020-02-10T15:34:02 | 2020-02-10T15:34:02 | 239,428,740 | 0 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package erp_jdbc_study.ds;
import java.sql.Connection;
import java.sql.SQLException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Assert;
import org.junit.Test;
public class MySqlDataSourceTest {
protected Logger logger = LogManager.getLogger();
... | UTF-8 | Java | 553 | java | MySqlDataSourceTest.java | Java | [] | null | [] | package erp_jdbc_study.ds;
import java.sql.Connection;
import java.sql.SQLException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Assert;
import org.junit.Test;
public class MySqlDataSourceTest {
protected Logger logger = LogManager.getLogger();
... | 553 | 0.708861 | 0.705244 | 24 | 21.041666 | 17.386488 | 58 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.208333 | false | false | 13 |
16dd1297b90055c29d0703129dd9c13832b6a14a | 6,700,148,995,978 | 49d0c58fe37db6ab445b0891ffcdef652b1adeea | /src/main/java/com/vowelstask/logic/OutputFormatter.java | 836adce9ccce98800cb8b86aed4ae6a3bc342eb7 | [] | no_license | VowelsTask/VowelsTask | https://github.com/VowelsTask/VowelsTask | 15b2b2a9acf8ac8cf2e619bc1d143e9f47627831 | 793b468f1f5695deab026f9c0f3851edfd764b46 | refs/heads/master | 2021-08-08T13:50:23.434000 | 2019-07-21T23:35:14 | 2019-07-21T23:35:14 | 195,665,872 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.vowelstask.logic;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Map;
import static com.sun.org.apache.xml.internal.utils.LocaleUtility.EMPTY_STRING;
import static com.vowelstask.io.PropertiesLoader.*;
public class OutputFormatter
{
public static String convertMapToStrin... | UTF-8 | Java | 1,386 | java | OutputFormatter.java | Java | [] | null | [] | package com.vowelstask.logic;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Map;
import static com.sun.org.apache.xml.internal.utils.LocaleUtility.EMPTY_STRING;
import static com.vowelstask.io.PropertiesLoader.*;
public class OutputFormatter
{
public static String convertMapToStrin... | 1,386 | 0.620491 | 0.620491 | 39 | 34.53846 | 27.596773 | 112 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.410256 | false | false | 13 |
892c83fca42820ad63bcaf746b39b6822d80b3ee | 5,755,256,185,741 | 909ae5f3cace2b52f9006482afb1a1f522aeffdf | /hospital-dapp/src/main/java/com/ebao/hospitaldapp/rest/entity/mapper/PrescriptionMapper.java | 4e21fe09dd50570e494abc92c2d9764e0782f271 | [] | no_license | thekeygithub/MVP | https://github.com/thekeygithub/MVP | ca58f5547b2528b8be410a8d7cda5d5d6e53e286 | cf6e9d7ca4c03db999f5dd0a284de79c91190a81 | refs/heads/master | 2020-03-18T19:00:33.574000 | 2018-12-07T06:52:41 | 2018-12-07T06:52:41 | 135,128,576 | 15 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ebao.hospitaldapp.rest.entity.mapper;
import com.ebao.hospitaldapp.ebao.entity.PrescriptionDetail;
import com.ebao.hospitaldapp.ebao.entity.PrescriptionGroup;
import com.ebao.hospitaldapp.rest.entity.response.PrescriptionModel;
import com.ebao.hospitaldapp.utils.CollectionUtils;
import org.mapstruct.... | UTF-8 | Java | 1,689 | java | PrescriptionMapper.java | Java | [] | null | [] | package com.ebao.hospitaldapp.rest.entity.mapper;
import com.ebao.hospitaldapp.ebao.entity.PrescriptionDetail;
import com.ebao.hospitaldapp.ebao.entity.PrescriptionGroup;
import com.ebao.hospitaldapp.rest.entity.response.PrescriptionModel;
import com.ebao.hospitaldapp.utils.CollectionUtils;
import org.mapstruct.... | 1,689 | 0.740083 | 0.739491 | 37 | 43.648647 | 33.828835 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.648649 | false | false | 13 |
0757b5bd96bb5b91ee8a6e66693e0fcd2377fd2f | 32,427,003,124,116 | cc7ee2c2f99e8a19a92ee524257462c3bf08ec19 | /representation-code/src/main/java/code/CodeParameter.java | 2c0844186600c4db1f386cd30f65d99312d9daf4 | [] | no_license | dschoenicke/uml-unittest-generator | https://github.com/dschoenicke/uml-unittest-generator | a0a58d67ded9b992b4f8ae6f0e1d0601e838dce7 | 49ec4172a29935aed5ee7a719fe7bf6a59e0d842 | refs/heads/master | 2023-04-24T14:08:46.897000 | 2021-03-04T08:23:37 | 2021-03-04T08:23:37 | 218,746,580 | 0 | 0 | null | false | 2021-04-26T20:36:26 | 2019-10-31T11:04:25 | 2021-03-04T08:23:48 | 2021-04-26T20:36:25 | 9,757 | 0 | 0 | 2 | Java | false | false | package code;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
/**
* Represents a parameter of a {@link CodeMethod}
*
* @author dschoenicke
*
*/
@Getter
@RequiredArgsConstructor
public class CodeParameter {
/**
* The name of the parameter
*/
@NonNu... | UTF-8 | Java | 743 | java | CodeParameter.java | Java | [
{
"context": "a parameter of a {@link CodeMethod}\n * \n * @author dschoenicke\n *\n */\n@Getter\n@RequiredArgsConstructor\npublic cl",
"end": 202,
"score": 0.9995776414871216,
"start": 191,
"tag": "USERNAME",
"value": "dschoenicke"
}
] | null | [] | package code;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
/**
* Represents a parameter of a {@link CodeMethod}
*
* @author dschoenicke
*
*/
@Getter
@RequiredArgsConstructor
public class CodeParameter {
/**
* The name of the parameter
*/
@NonNu... | 743 | 0.709287 | 0.709287 | 42 | 16.690475 | 17.356882 | 59 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.809524 | false | false | 13 |
bd0897c4e087205b306251661cc8806800c929b4 | 31,421,980,798,177 | 4316c111a58a965c5707f66a61cf6cb252e0cf76 | /MyProject/UniversalLock/src/com/universallock/swipe_image_select.java | 8400ca4288fc18f316eef01edc2dc388b224bbe6 | [] | no_license | abc123yuanrui/Android-Projects-2016- | https://github.com/abc123yuanrui/Android-Projects-2016- | 27c6a6dd482457480e03e2e5aa06cf9e35fa8bcb | b8d0153f0017948d7f233a09be8e111f4a5df933 | refs/heads/master | 2020-08-02T02:01:53.798000 | 2019-09-27T02:25:38 | 2019-09-27T02:25:38 | 211,200,423 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.universallock;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import adapter.ListViewAdapter;
import adapter.SwitchInterface;
import adapter.swipe_image_select_adapter;
import android.app.Activity;
import android.app.admin.DevicePolicyManager;
import android.content.ActivityNotFo... | UTF-8 | Java | 13,749 | java | swipe_image_select.java | Java | [] | null | [] | package com.universallock;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import adapter.ListViewAdapter;
import adapter.SwitchInterface;
import adapter.swipe_image_select_adapter;
import android.app.Activity;
import android.app.admin.DevicePolicyManager;
import android.content.ActivityNotFo... | 13,749 | 0.653429 | 0.636046 | 410 | 32.52927 | 27.83287 | 132 | false | false | 27 | 0.003855 | 0 | 0 | 0 | 0 | 2.607317 | false | false | 13 |
cc08f983cde1783ae1300b1a1e5f4b6171b771be | 31,421,980,798,445 | 54b9d1e6a68eadc2e1fa9994de5825dcec6d2d7c | /pin/pin-parent/controller/controller-user/src/main/java/com/pin/controller/user/ControllerUserApplication.java | 3ebde29658aab305fe8d72c4f19486bde65b3eb6 | [] | no_license | os191/spring-boot | https://github.com/os191/spring-boot | 638d035c67ce1e1a26d8e4dd6be41679b7ea5cc3 | c7ca74817e66e143603ce35a5087dd4ccc07acaa | refs/heads/master | 2020-04-23T01:37:48.792000 | 2019-02-22T09:41:44 | 2019-02-22T09:41:44 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.pin.controller.user;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
impor... | UTF-8 | Java | 1,231 | java | ControllerUserApplication.java | Java | [] | null | [] | package com.pin.controller.user;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
impor... | 1,231 | 0.841121 | 0.841121 | 25 | 46.040001 | 30.455843 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.56 | false | false | 13 |
ea3a69a71cd49dd42d97a1163d8aee913e41d44b | 5,446,018,550,725 | 5f9dfb106f40ea50d106f6c7f0c32c85dafa19e0 | /past workspace/day12/src/exam02/Example.java | 942a98add5c36cf4e4054ff5ce3842a973b56582 | [] | no_license | jgd0423/workspace | https://github.com/jgd0423/workspace | 2984140cf0da93a0029195f79b71f34879a8779b | 90c9b93e670a6006159f09d26a407f731144e973 | refs/heads/main | 2023-04-14T14:46:16.246000 | 2021-05-02T13:44:18 | 2021-05-02T13:44:18 | 318,020,266 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package exam02;
public class Example {
public static void main(String[] args) {
// 상속(Inheritance) : 부모 클래스의 Member(Field, Method)를 물려받는다.
Child c1 = new Child();
System.out.println(c1.name);
System.out.println(c1.number1);
System.out.println(c1.number2);
}
}
| UTF-8 | Java | 303 | java | Example.java | Java | [] | null | [] | package exam02;
public class Example {
public static void main(String[] args) {
// 상속(Inheritance) : 부모 클래스의 Member(Field, Method)를 물려받는다.
Child c1 = new Child();
System.out.println(c1.name);
System.out.println(c1.number1);
System.out.println(c1.number2);
}
}
| 303 | 0.690909 | 0.661818 | 12 | 21.916666 | 18.108278 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.583333 | false | false | 13 |
bfdc2cc210261d900595d05bd02c76ea466db747 | 412,316,882,932 | e4c22ea38a84eabd1fcbfb35301eff3f7a034da0 | /Messaging/src/main/java/nl/lakedigital/as/messaging/opdracht/opdracht/OpslaanRelatieOpdracht.java | 0a53b2458374e8fb70fafd1a7e14f06c6225f639 | [] | no_license | pheidotting/symplex | https://github.com/pheidotting/symplex | 36ae4a6ce61d172f622e703af4a47abb25608d87 | 3cafb5730f4d8c907f9f5b3c8388ab82b854f444 | refs/heads/development | 2021-07-13T07:44:54.437000 | 2018-12-11T18:11:34 | 2018-12-11T18:11:34 | 109,175,311 | 0 | 0 | null | false | 2018-12-11T18:47:25 | 2017-11-01T19:37:16 | 2018-12-11T18:11:45 | 2018-12-11T18:47:24 | 90,398 | 0 | 0 | 3 | Java | false | null | package nl.lakedigital.as.messaging.opdracht.opdracht;
import nl.lakedigital.as.messaging.AbstractMessage;
import nl.lakedigital.as.messaging.entities.Relatie;
import nl.lakedigital.djfc.commons.domain.Adres;
import nl.lakedigital.djfc.commons.domain.Opmerking;
import nl.lakedigital.djfc.commons.domain.RekeningNummer;... | UTF-8 | Java | 1,888 | java | OpslaanRelatieOpdracht.java | Java | [] | null | [] | package nl.lakedigital.as.messaging.opdracht.opdracht;
import nl.lakedigital.as.messaging.AbstractMessage;
import nl.lakedigital.as.messaging.entities.Relatie;
import nl.lakedigital.djfc.commons.domain.Adres;
import nl.lakedigital.djfc.commons.domain.Opmerking;
import nl.lakedigital.djfc.commons.domain.RekeningNummer;... | 1,888 | 0.730403 | 0.730403 | 64 | 28.5 | 24.428467 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | false | false | 13 |
0080e896cff18879fc7400347c3ea9b25c8237bd | 21,766,894,274,868 | 5709371244aefd5ed14ddd9cfe36b7d047e99b7b | /app/src/main/java/com/bjypt/vipcard/model/ZbarBalanceData.java | 90c8bf9e6bfa972cb57b56629688b3f6a37a0375 | [] | no_license | zhangshenzhen/VipCard | https://github.com/zhangshenzhen/VipCard | e922970ccdc8b01677d74ef5800db32f9ee84647 | 763c794eb218c2cc23b90d206b4649f208e240af | refs/heads/master | 2020-04-07T04:15:28.921000 | 2018-11-22T04:31:52 | 2018-11-22T04:31:52 | 158,047,337 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.bjypt.vipcard.model;
/**
* Created by 涂有泽 .
* Date by 2016/6/16
* Use by
*/
public class ZbarBalanceData {
// balance_sys 用户在平台余额
// balance_mer 用户在商家余额
private String balance_sys;
private String balance_mer;
private String muname;
private String pksystem;
public String get... | UTF-8 | Java | 974 | java | ZbarBalanceData.java | Java | [
{
"context": "ackage com.bjypt.vipcard.model;\n\n/**\n * Created by 涂有泽 .\n * Date by 2016/6/16\n * Use by\n */\npublic class",
"end": 55,
"score": 0.9993760585784912,
"start": 52,
"tag": "NAME",
"value": "涂有泽"
}
] | null | [] | package com.bjypt.vipcard.model;
/**
* Created by 涂有泽 .
* Date by 2016/6/16
* Use by
*/
public class ZbarBalanceData {
// balance_sys 用户在平台余额
// balance_mer 用户在商家余额
private String balance_sys;
private String balance_mer;
private String muname;
private String pksystem;
public String get... | 974 | 0.620213 | 0.612766 | 49 | 18.183674 | 16.184742 | 52 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | false | false | 13 |
a4248c4826b593e7274c17efba92a0c1f1a94521 | 14,955,076,146,705 | f1632dda7f8260f4d8029ad08bb0026016116b32 | /src/com/marnia/entity/PlayerEntity.java | c0120a899c081f23d14de51edc202618039fc84b | [] | no_license | s184222/marnia | https://github.com/s184222/marnia | c8b115bf8175232161bd8b64f44a13346265e900 | c5f851c5f708d90d31cb70f5eceaf29ab988690c | refs/heads/master | 2020-12-07T17:42:56.667000 | 2020-02-10T16:02:07 | 2020-02-10T16:02:07 | 232,762,515 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.marnia.entity;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.marnia.client.net.packet.C03EntityPositionPacket;
import com.marnia.client.sound.SoundLoader;
import com.marnia.server.GameplaySession;
import com.marnia.server.world.ServerMarnia... | UTF-8 | Java | 1,710 | java | PlayerEntity.java | Java | [] | null | [] | package com.marnia.entity;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.marnia.client.net.packet.C03EntityPositionPacket;
import com.marnia.client.sound.SoundLoader;
import com.marnia.server.GameplaySession;
import com.marnia.server.world.ServerMarnia... | 1,710 | 0.72924 | 0.721053 | 76 | 21.5 | 20.652832 | 77 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.763158 | false | false | 13 |
5c74fa611abbb813663486754e0ef61b20b7d0a8 | 7,172,595,405,183 | 7f54e6c33ec3ffb14df5fd30099b4bde6f0329dc | /src/io/point/hubnavigator/FileList.java | 30c942a190ab45938eb021b8d5d03957cf5bd56b | [] | no_license | PointIO/AndroidHubNavigator | https://github.com/PointIO/AndroidHubNavigator | 1126a6065261643288265791140467f5084b916b | 0e8c2f55ad2a9328748bec4276081566e2401442 | refs/heads/master | 2020-06-01T13:29:51.969000 | 2014-02-10T18:32:58 | 2014-02-10T18:32:58 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package io.point.hubnavigator;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import io.point.hubnavigator.core.HubDirEntry;
import io.point.hubnavigator.core.HubShare;
import io.point.hubnavigator.core.TaskCallback;
import org.apache.http.HttpEntity;
impor... | UTF-8 | Java | 7,654 | java | FileList.java | Java | [] | null | [] | package io.point.hubnavigator;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import io.point.hubnavigator.core.HubDirEntry;
import io.point.hubnavigator.core.HubShare;
import io.point.hubnavigator.core.TaskCallback;
import org.apache.http.HttpEntity;
impor... | 7,654 | 0.70682 | 0.7029 | 242 | 30.628099 | 28.909986 | 146 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.72314 | false | false | 13 |
1500afdde4a2bb20d2b7a6eb58e14f549f4f6781 | 20,564,303,432,364 | 225a6f5717c381c71d4806f99110ebe5f2b924eb | /src/com/app/music/ui/playlist/PlaylistFragment.java | ff553e9d1a764786a5981ee36625d9b31e5692dd | [] | no_license | Acoee/AcoeMusic1.0 | https://github.com/Acoee/AcoeMusic1.0 | b74231bbc99f8a626ec44363c799ce120a044c4a | e6a8af97ade1b0cdfb47b8d9a2afaa144bc2b473 | refs/heads/master | 2021-01-17T07:13:21.725000 | 2016-05-30T05:13:27 | 2016-05-30T05:13:27 | 51,813,357 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.app.music.ui.playlist;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.app.music.ui.base.BaseFragment;
import cn.com.acoe.app.music.R;
/**
* 播放列表Fragment
* Created by Administrator on 2015/9/2.
*/
public class PlaylistF... | UTF-8 | Java | 833 | java | PlaylistFragment.java | Java | [] | null | [] | package com.app.music.ui.playlist;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.app.music.ui.base.BaseFragment;
import cn.com.acoe.app.music.R;
/**
* 播放列表Fragment
* Created by Administrator on 2015/9/2.
*/
public class PlaylistF... | 833 | 0.734545 | 0.727273 | 34 | 23.264706 | 27.550283 | 109 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
f38f3b7a6f201ed66dd7bec23ac143e927897f60 | 18,708,877,565,116 | 172782d3bcdafa5e8c5720ff1914e2c0c972a42b | /shop-api/src/main/java/com/commons/util/commons/shop/api/entity/AdministrativeDivision.java | 6a7f1573de19a4413762edcbe450aabf18043e86 | [] | no_license | 1098154715/demo | https://github.com/1098154715/demo | 65978d3c55939122f73395a77051b9e285b65d57 | a88ced8f7fdd093bbe7020cec82448e5c48f5faa | refs/heads/master | 2023-04-19T09:07:18.741000 | 2021-04-17T11:02:51 | 2021-04-17T11:02:51 | 318,517,806 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.commons.util.commons.shop.api.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCo... | UTF-8 | Java | 921 | java | AdministrativeDivision.java | Java | [
{
"context": "AndHashCode;\n\n/**\n * <p>\n * \n * </p>\n *\n * @author cxk\n * @since 2021-03-17\n */\n@Data\n@EqualsAndHashCode",
"end": 365,
"score": 0.9996454119682312,
"start": 362,
"tag": "USERNAME",
"value": "cxk"
}
] | null | [] | package com.commons.util.commons.shop.api.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCo... | 921 | 0.738122 | 0.728177 | 42 | 20.547619 | 19.846077 | 61 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.404762 | false | false | 13 |
ec06656c5935b128d793bd5baa143df3e731c254 | 21,303,037,815,950 | fd49ec839286eda2bc52dbdca96567970c1e0d5a | /app/src/main/java/edu/uic/moviehub/adapter/GalleryPreviewSlideAdapter.java | 0ad26755cc413153603d558790721f532cf76ac8 | [
"Apache-2.0"
] | permissive | shruthitr/MovieHub | https://github.com/shruthitr/MovieHub | b99d6fe4556eb73f225c32ce3d2875b56d7b7a27 | ab4349acdeb67154bd676213913ef7d37442e7ed | refs/heads/master | 2020-04-03T13:55:04.666000 | 2018-10-30T01:14:15 | 2018-10-30T01:14:15 | 155,304,209 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null |
package edu.uic.moviehub.adapter;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.res.Resources;
import android.support.v13.app.FragmentStatePagerAdapter;
import java.util.ArrayList;
import edu.uic.moviehub.MovieHub;
import edu.uic.moviehub.R;
import edu.uic.moviehub.controll... | UTF-8 | Java | 1,042 | java | GalleryPreviewSlideAdapter.java | Java | [] | null | [] |
package edu.uic.moviehub.adapter;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.res.Resources;
import android.support.v13.app.FragmentStatePagerAdapter;
import java.util.ArrayList;
import edu.uic.moviehub.MovieHub;
import edu.uic.moviehub.R;
import edu.uic.moviehub.controll... | 1,042 | 0.738964 | 0.737044 | 42 | 23.785715 | 29.656393 | 143 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.47619 | false | false | 13 |
b3456240b55a1c58b42b6e4b08980b9a7d2301bf | 32,263,794,349,658 | 3ebb779478d96942bd0f57938b19c45f8fb87808 | /src/main/java/org/yousharp/creational/singleton/DoubleCheckSingleton.java | e3f8011fb09560ad95896716c7f607a1ba9a86b1 | [] | no_license | nkcoder/my-design-pattern | https://github.com/nkcoder/my-design-pattern | da92fca76885c13c20c3f9a9c78730f77368412a | 4378eadb2855a313a3ae73d64e981cb9f3ac0e2d | refs/heads/master | 2015-08-14T09:24:30.686000 | 2014-10-31T10:21:40 | 2014-10-31T10:21:40 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.yousharp.creational.singleton;
/**
* 懒汉式单例:仅在需要实例时才创建,但是为了适应多线程,需要增加同步代码。
*
* 双重判定:是对用synchronized同步方法的改进,尽在需要创建实例时才加锁。
* 注意:volatile关键字,在多线程时,保证线程的读写顺序,即一个线程的写操作完成后,另一个线程才能读。
*
* User: Daniel
* Date: 13-12-5
* Time: 下午9:35
*/
public class DoubleCheckSingleton {
// volatile:使变量在线程间保持可见性
private ... | UTF-8 | Java | 942 | java | DoubleCheckSingleton.java | Java | [
{
"context": "在多线程时,保证线程的读写顺序,即一个线程的写操作完成后,另一个线程才能读。\n *\n * User: Daniel\n * Date: 13-12-5\n * Time: 下午9:35\n */\npublic class",
"end": 211,
"score": 0.8716144561767578,
"start": 205,
"tag": "USERNAME",
"value": "Daniel"
}
] | null | [] | package org.yousharp.creational.singleton;
/**
* 懒汉式单例:仅在需要实例时才创建,但是为了适应多线程,需要增加同步代码。
*
* 双重判定:是对用synchronized同步方法的改进,尽在需要创建实例时才加锁。
* 注意:volatile关键字,在多线程时,保证线程的读写顺序,即一个线程的写操作完成后,另一个线程才能读。
*
* User: Daniel
* Date: 13-12-5
* Time: 下午9:35
*/
public class DoubleCheckSingleton {
// volatile:使变量在线程间保持可见性
private ... | 942 | 0.719653 | 0.708093 | 32 | 20.625 | 18.969959 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.125 | false | false | 13 |
ff67c552d3995beb9aad2d0726014ae4e5ce252e | 2,465,311,256,230 | bc5d0e4d31782f47fe1ee7e8deeee1ef26bfbc37 | /app/src/main/java/com/mze/myfirstproject/SplashScr.java | d23336831dbd815a24b747393284a60d15df38e7 | [] | no_license | zekimehmetzeki/MyFirstProject | https://github.com/zekimehmetzeki/MyFirstProject | 0692026460aa29ecb1af0f6b15267d3c9bb1c11b | df5d6000b25e1874f1b737ce859c20e5b947aea5 | refs/heads/master | 2018-05-02T08:53:39.388000 | 2016-06-12T22:03:31 | 2016-06-12T22:03:31 | 60,991,459 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.mze.myfirstproject;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
public class SplashScr extends Activity {
MediaPlayer ses;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState... | UTF-8 | Java | 884 | java | SplashScr.java | Java | [] | null | [] | package com.mze.myfirstproject;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
public class SplashScr extends Activity {
MediaPlayer ses;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState... | 884 | 0.693439 | 0.688914 | 48 | 17.416666 | 17.406696 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.166667 | false | false | 13 |
b8f466a40200ba3ee80affbd923242b63916d37d | 16,484,084,513,799 | 2b2f53a3fd3ae209cbd02304c2a56f8b219eb0fe | /Traveling-Salesbook/src/login/LoginDAO.java | ef3bf82f8d21d86aa8f0e04a9beb27c5cac2fa97 | [] | no_license | ychen0814/Traveling-Salesbook | https://github.com/ychen0814/Traveling-Salesbook | 22580dd7972e1c9db778564a03d5e16657b0f073 | 85ef1983585f7c5cc7f8b65950c384b4604bd289 | refs/heads/master | 2020-03-08T06:17:23.621000 | 2018-05-02T05:31:19 | 2018-05-02T05:31:19 | 127,967,937 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package login;
/*
* Login data access object
* Process query to database for login, registration and forget password views
*/
import java.sql.ResultSet;
import java.sql.SQLException;
import profile.Profile;
import util.DBUtil;
import static util.DataUtil.showErrAlert;
public class LoginDAO {
//process login
... | UTF-8 | Java | 3,434 | java | LoginDAO.java | Java | [] | null | [] | package login;
/*
* Login data access object
* Process query to database for login, registration and forget password views
*/
import java.sql.ResultSet;
import java.sql.SQLException;
import profile.Profile;
import util.DBUtil;
import static util.DataUtil.showErrAlert;
public class LoginDAO {
//process login
... | 3,434 | 0.666472 | 0.665306 | 107 | 31.056074 | 31.673519 | 145 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.943925 | false | false | 13 |
2b803a7c9350f288d6ddd9fc552d0da4bc2a1f17 | 24,060,406,816,712 | f9ded989d1bab273bde09d163dc9adfe4309968c | /HIS-Project/src/main/java/com/usa/his/gov/user/model/HisPlan.java | 324469dcb3724236dcfe1e7c5f3c40a2ec5dd5d5 | [
"Apache-2.0"
] | permissive | hosam7asko77/HIC-Project | https://github.com/hosam7asko77/HIC-Project | 6593da0046bbe6838287fcb709a6824a80332b8e | 9c1c1e7a641fa669dfef682b1018120800b5d98b | refs/heads/master | 2021-05-25T12:50:42.290000 | 2021-01-02T20:26:00 | 2021-01-02T20:26:00 | 253,761,195 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.usa.his.gov.user.model;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
@Data
public class HisPlan {
private String planId;
private String planName;
private String discript;
@DateTimeFormat(... | UTF-8 | Java | 600 | java | HisPlan.java | Java | [] | null | [] | package com.usa.his.gov.user.model;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
@Data
public class HisPlan {
private String planId;
private String planName;
private String discript;
@DateTimeFormat(... | 600 | 0.771667 | 0.771667 | 25 | 23 | 21.417749 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.92 | false | false | 13 |
73ac68c66ff039127cbe656d584cc6494720a1f5 | 14,431,090,145,192 | cbdfc2f3995d03f8474e2bbb191d6f21c499eeec | /app/src/main/java/com/inventrax/interfaces/OrderView.java | fc21bad92ca8d726d29a535f063ac527adff964b | [] | no_license | Inventrax69/SFA_TELUGU | https://github.com/Inventrax69/SFA_TELUGU | f438b3714f5ae63f5f63e129ccfc244139e64831 | 3fffd08397953000db6a4b4b184042f7f655bb1a | refs/heads/master | 2020-07-21T00:49:01.371000 | 2016-04-21T05:09:12 | 2016-04-21T05:09:12 | 206,733,574 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.inventrax.interfaces;
/**
* Created by android on 3/21/2016.
*/
public interface OrderView {
void showOrderSyncStatus(String message,int status);
}
| UTF-8 | Java | 169 | java | OrderView.java | Java | [
{
"context": "ckage com.inventrax.interfaces;\n\n/**\n * Created by android on 3/21/2016.\n */\npublic interface OrderView {\n\n ",
"end": 60,
"score": 0.5741057991981506,
"start": 53,
"tag": "USERNAME",
"value": "android"
}
] | null | [] | package com.inventrax.interfaces;
/**
* Created by android on 3/21/2016.
*/
public interface OrderView {
void showOrderSyncStatus(String message,int status);
}
| 169 | 0.727811 | 0.686391 | 10 | 15.9 | 19.299999 | 56 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | false | false | 13 |
68a877742d6595648f57337235f647d680a1da72 | 20,100,446,970,855 | 34f9026fe840dcffc294b3a70c71e050f0b5c9c7 | /SMTP_Server_and_Client/src/Mail.java | 2ce24984a251aae1b4310034905a639c5a278b5b | [] | no_license | Ronshery/overview | https://github.com/Ronshery/overview | c18818cf6b6076c7b3ee980af931ce3fefa12eca | 440feb3ebd7fffd8cf04d19f65170c6f396138cf | refs/heads/main | 2023-02-22T04:41:42.066000 | 2021-01-25T14:49:25 | 2021-01-25T14:49:25 | 332,774,764 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null |
import java.nio.channels.FileChannel;
import java.util.ArrayList;
import java.util.List;
public class Mail {
private String mailFrom;
private ArrayList<String> mailTo;
private int messageid;
private String data = "";
private ArrayList<FileChannel> channellist;
private String state; //state tells us which comma... | UTF-8 | Java | 2,453 | java | Mail.java | Java | [] | null | [] |
import java.nio.channels.FileChannel;
import java.util.ArrayList;
import java.util.List;
public class Mail {
private String mailFrom;
private ArrayList<String> mailTo;
private int messageid;
private String data = "";
private ArrayList<FileChannel> channellist;
private String state; //state tells us which comma... | 2,453 | 0.663269 | 0.656747 | 111 | 21.09009 | 21.156452 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.810811 | false | false | 13 |
c835bf9e22920f0f52855bebc34e03644a7cb2b4 | 11,836,929,932,256 | e7cd55ebd71248276e46a9996134e3e6f18b229c | /app/src/main/java/com/example/calendar_application/Events.java | 35fd80345e3a236a4f6f95ef4179d8bee8bd63a9 | [] | no_license | Team-Slayers-Project-appCalendar/Calendar_Application | https://github.com/Team-Slayers-Project-appCalendar/Calendar_Application | fc69f5796824bebd40648022f3eab2c5b562d96e | 1123ef1312e4f7547750be17e94928536f8629b4 | refs/heads/master | 2023-01-06T02:26:34.750000 | 2020-10-19T15:07:33 | 2020-10-19T15:07:33 | 267,564,869 | 1 | 0 | null | false | 2020-10-19T13:16:01 | 2020-05-28T10:51:54 | 2020-10-16T15:01:44 | 2020-10-19T13:16:00 | 282 | 0 | 0 | 0 | Java | false | false | package com.example.calendar_application;
public class Events {
String ID, EVENT,DESCRIPTION,LOCATION,TIME,DATE,MONTH,YEAR;
// byte[] IMAGE;
public Events(String ID, String EVENT,String DESCRIPTION, String LOCATION, String TIME, String DATE, String MONTH, String YEAR) {
this.ID = ID;
this.E... | UTF-8 | Java | 1,750 | java | Events.java | Java | [] | null | [] | package com.example.calendar_application;
public class Events {
String ID, EVENT,DESCRIPTION,LOCATION,TIME,DATE,MONTH,YEAR;
// byte[] IMAGE;
public Events(String ID, String EVENT,String DESCRIPTION, String LOCATION, String TIME, String DATE, String MONTH, String YEAR) {
this.ID = ID;
this.E... | 1,750 | 0.586286 | 0.586286 | 81 | 20.592592 | 21.113905 | 133 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.54321 | false | false | 13 |
1aa02840637184414449a1d8f73a3785b7a4ce37 | 25,048,249,312,006 | 18f39f7dba118e1d68ced827b23833778794e896 | /community-persistence/src/main/java/com/rfchina/community/persistence/model/PersonTaxRecord.java | ee939e11f98d670158f807e2ee8f18f16ed1164e | [] | no_license | amxsa/application-community-openweb | https://github.com/amxsa/application-community-openweb | 27457697314b787273663b035e63e9202f89c210 | 0c111375311b39c1a7369ee6d2a16e1c8408bd1b | refs/heads/master | 2020-07-31T08:43:26.180000 | 2019-04-11T09:00:20 | 2019-04-11T09:00:20 | 210,547,591 | 0 | 3 | null | false | 2020-12-16T14:27:15 | 2019-09-24T08:10:10 | 2020-05-06T17:05:57 | 2019-04-11T09:01:37 | 3,535 | 0 | 1 | 1 | null | false | false | package com.rfchina.community.persistence.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class PersonTaxRecord implements Serializable {
private Long id;
private Integer communityId;
private Long headId;
private Integer orderType;
private Integer... | UTF-8 | Java | 14,352 | java | PersonTaxRecord.java | Java | [] | null | [] | package com.rfchina.community.persistence.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class PersonTaxRecord implements Serializable {
private Long id;
private Integer communityId;
private Long headId;
private Integer orderType;
private Integer... | 14,352 | 0.60981 | 0.607511 | 417 | 33.419662 | 35.694332 | 150 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.46283 | false | false | 13 |
7f39e47d8d8a06e0d90b07c998b2e536e823f83a | 16,604,343,567,110 | 8b1818df05ac14d06e53644df59419e7c595f741 | /src/main/java/com/protocol7/kong/Paths.java | 7f30c7b296fbfed30e0f9272266a201a0845df9d | [] | no_license | protocol7/kong | https://github.com/protocol7/kong | a77587cfbc8ff6b4adf38c10979daab5f91c2e72 | aff22779cc6bf15505267690644a1459048f9c7b | refs/heads/master | 2021-01-16T22:37:56.134000 | 2014-12-03T22:38:13 | 2014-12-03T22:38:13 | 27,511,361 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.protocol7.kong;
import java.util.List;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
public class Paths {
public static Optional<Paths> fromNullables(final List<Path> paths) {
final List<Path> nonNull = Lists.newArrayList();
for (final Path path : paths) {
... | UTF-8 | Java | 974 | java | Paths.java | Java | [] | null | [] | package com.protocol7.kong;
import java.util.List;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
public class Paths {
public static Optional<Paths> fromNullables(final List<Path> paths) {
final List<Path> nonNull = Lists.newArrayList();
for (final Path path : paths) {
... | 974 | 0.625257 | 0.62423 | 47 | 19.74468 | 17.646009 | 71 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.340426 | false | false | 13 |
a5f770fc0d41ae9205c06d4e578646ab22f8d4a9 | 10,926,396,856,172 | 8150adaae8032c39e95483ef3f0a08ead87fb17c | /Routing/src/routing/UniformCostSearch.java | e8b687b684b2d7984e4a416a81bf46ffc4e21f81 | [
"Apache-2.0"
] | permissive | MohamedNagyMostafa/AI-Projects | https://github.com/MohamedNagyMostafa/AI-Projects | cc8d8596b8a2c39ab0d07232bee7dc757e1dfc51 | 178d18d7df2f7aafa2525c9dc1ffcad68766a545 | refs/heads/master | 2020-03-25T18:18:12.706000 | 2018-11-09T17:38:18 | 2018-11-09T17:38:18 | 144,023,338 | 0 | 0 | Apache-2.0 | false | 2018-09-28T20:59:42 | 2018-08-08T14:12:25 | 2018-09-27T23:35:46 | 2018-09-28T20:59:42 | 173 | 0 | 0 | 0 | Java | false | null | /*
* 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 routing;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import java.util.Collection;
import java... | UTF-8 | Java | 3,250 | java | UniformCostSearch.java | Java | [
{
"context": "r;\nimport java.util.LinkedList;\n\n/**\n *\n * @author Mohamed Nagy\n */\npublic class UniformCostSearch {\n \n pri",
"end": 396,
"score": 0.9998638033866882,
"start": 384,
"tag": "NAME",
"value": "Mohamed Nagy"
}
] | null | [] | /*
* 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 routing;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import java.util.Collection;
import java... | 3,244 | 0.559077 | 0.558462 | 117 | 26.777779 | 24.195469 | 108 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.529915 | false | false | 13 |
5aae0eb9887fad6a002c456fc59362bb1b00c385 | 5,944,234,772,597 | 9f5fcbf93a1772b4efd5b57bd4735921408b50ad | /runtime/testsrc/com/exedio/cope/ClusterSenderMock.java | b2b7a10ba82e2b12deb307d3723a397422614669 | [] | no_license | exedio/persistence | https://github.com/exedio/persistence | 0a99c5f5c6c4bf52e2976fddf533ef3857be5319 | 1e122e105f3ed3837b09828315525c708e754b95 | refs/heads/master | 2023-08-18T01:09:07.221000 | 2023-08-15T10:32:32 | 2023-08-15T10:32:32 | 32,997,177 | 8 | 2 | null | false | 2022-12-08T13:10:29 | 2015-03-27T16:31:03 | 2022-03-22T14:40:41 | 2022-12-08T13:10:25 | 139,722 | 8 | 1 | 3 | Java | false | false | /*
* Copyright (C) 2004-2015 exedio GmbH (www.exedio.com)
*
* 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 License, or (at your option) any later versi... | UTF-8 | Java | 1,574 | java | ClusterSenderMock.java | Java | [] | null | [] | /*
* Copyright (C) 2004-2015 exedio GmbH (www.exedio.com)
*
* 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 License, or (at your option) any later versi... | 1,574 | 0.733164 | 0.694409 | 64 | 23.59375 | 26.338968 | 92 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.109375 | false | false | 13 |
772fbb9b68726f44868f3af3dc9ff99838b020bc | 19,095,424,609,341 | d827839d919839d87d56751c1e759344c76a987f | /Urgencias-Servicio/src/main/java/com/ceiba/urgencias/aplicacion/comando/ComandoUrgencia.java | 671b991b5a20017a75e830249a1ba7993441ca08 | [] | no_license | JhonLara/Urgencias | https://github.com/JhonLara/Urgencias | f91ba48ff0f22af169e96f16cb05b8c9e70b7695 | 8fe74f08a4878e9e8a7d66bfdd283950963a4ebe | refs/heads/master | 2020-09-04T14:13:45.591000 | 2019-11-22T19:10:36 | 2019-11-22T19:10:36 | 218,993,545 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ceiba.urgencias.aplicacion.comando;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler"... | UTF-8 | Java | 1,988 | java | ComandoUrgencia.java | Java | [] | null | [] | package com.ceiba.urgencias.aplicacion.comando;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler"... | 1,988 | 0.784708 | 0.784708 | 82 | 23.243902 | 23.639343 | 98 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.365854 | false | false | 13 |
87010cf3ec1d10628e83df9c64641a2b8f4a9a62 | 19,095,424,609,631 | 3df2995328e6c9add779e69789ba56e4f256aeb1 | /modules/seqaln/src/main/java/ix/seqaln/SequenceIndexer.java | 8d803edf46cf0b82dd3fbbbc99d7a210209f2f61 | [
"Apache-2.0"
] | permissive | ncats/gsrs-play | https://github.com/ncats/gsrs-play | 06b412a2aa98adefb6e58ceb942f803a33f1f4c6 | 95b8c1fd7fcdf869606075dbd2ba2a3b0bb10189 | refs/heads/GSRS_DEV | 2022-10-29T22:19:29.945000 | 2022-03-03T17:12:26 | 2022-03-03T17:12:26 | 223,438,068 | 8 | 3 | Apache-2.0 | false | 2022-11-17T13:01:43 | 2019-11-22T16:00:47 | 2022-01-10T22:05:40 | 2022-10-28T03:18:47 | 593,224 | 7 | 2 | 18 | JavaScript | false | false | package ix.seqaln;
import static org.apache.lucene.document.Field.Store.NO;
import static org.apache.lucene.document.Field.Store.YES;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
im... | UTF-8 | Java | 52,571 | java | SequenceIndexer.java | Java | [
{
"context": "* can't see the Util class.\n * \n * @author peryeata\n *\n * @param <T> The type to be supplied\n",
"end": 3112,
"score": 0.9990241527557373,
"start": 3104,
"tag": "USERNAME",
"value": "peryeata"
}
] | null | [] | package ix.seqaln;
import static org.apache.lucene.document.Field.Store.NO;
import static org.apache.lucene.document.Field.Store.YES;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
im... | 52,571 | 0.498887 | 0.495673 | 1,469 | 34.78693 | 27.223782 | 143 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.950306 | false | false | 13 |
18774744215d68259bf5134f540e012ff0499387 | 5,643,587,033,835 | 97e5b7e17fa7fa4cc4f711ce1ab4d5039de0fb79 | /src/main/RecvFileTask.java | 683308a2128d22b3d1f3c14d39c123d337899a4d | [] | no_license | lixianmao/FileHelper | https://github.com/lixianmao/FileHelper | 02eae5bef761c8ab34acaeccbc50d34044f8e8b3 | 7149335003f6a97479d93e49bcfd4a3e776c1461 | refs/heads/master | 2020-04-24T08:46:27.134000 | 2015-07-15T02:38:01 | 2015-07-15T02:38:01 | 33,365,968 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package main;
import helper.Constants;
import helper.DataHelper;
import helper.PortHelper;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
... | GB18030 | Java | 6,610 | java | RecvFileTask.java | Java | [] | null | [] | package main;
import helper.Constants;
import helper.DataHelper;
import helper.PortHelper;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
... | 6,610 | 0.663616 | 0.657936 | 233 | 25.201717 | 17.924677 | 71 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.746781 | false | false | 13 |
6b7611abbfa830f35d038b65de8d6b164beab1cc | 5,643,587,035,302 | b49a3d3bec4267ab1a9b9440385a8aea162bf195 | /core/src/main/groovy/mx/lux/pos/java/querys/ArticulosQuery.java | 0d62e2c38963a66b178ffde0f5917025f7563149 | [] | no_license | benjamin05/jpv-mv | https://github.com/benjamin05/jpv-mv | ed896443bb8b090d039affe772609acddf2cb525 | 0727739822a9468210cbe5c1248fe130f980915b | refs/heads/master | 2020-04-06T03:34:09.507000 | 2016-09-30T21:53:32 | 2016-09-30T21:53:32 | 25,594,620 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package mx.lux.pos.java.querys;
import mx.lux.pos.java.Utilities;
import mx.lux.pos.model.Jb;
import mx.lux.pos.java.repository.ArticulosJava;
import org.apache.commons.lang.StringUtils;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.Pa... | UTF-8 | Java | 8,060 | java | ArticulosQuery.java | Java | [] | null | [] | package mx.lux.pos.java.querys;
import mx.lux.pos.java.Utilities;
import mx.lux.pos.model.Jb;
import mx.lux.pos.java.repository.ArticulosJava;
import org.apache.commons.lang.StringUtils;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.Pa... | 8,060 | 0.623449 | 0.622953 | 185 | 42.567566 | 40.19368 | 234 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.075676 | false | false | 13 |
3f924eed4a8b105deef9ccf4d884b7a16b54358b | 2,765,958,976,271 | 16914992a7d6822e4d1507c7fc0e07af03fe77b9 | /Tp2/log2810_tp4/src/tp4/Porte.java | 2badce4b324fea0c3e4914767bdb5f186ca1246a | [] | no_license | PaulClas/LOG2810 | https://github.com/PaulClas/LOG2810 | 6db1a4f1044e7d268e145cfe153b92101380edfd | 20e5f17335c24a86f3c76b2b8d8e7280a5a17d77 | refs/heads/master | 2020-04-23T01:06:58.232000 | 2019-09-25T03:47:11 | 2019-09-25T03:47:11 | 170,803,162 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package tp4;
import java.util.ArrayList;
public class Porte {
ArrayList<Instruction> instructionArray;
ArrayList<Password> passwordArray;
int nombreInstructions;
int nombrePassWord;
public Porte(ArrayList<Instruction> instructionArray,ArrayList<Password> passwordArray) {
this.instructionArray = instructionAr... | UTF-8 | Java | 788 | java | Porte.java | Java | [] | null | [] | package tp4;
import java.util.ArrayList;
public class Porte {
ArrayList<Instruction> instructionArray;
ArrayList<Password> passwordArray;
int nombreInstructions;
int nombrePassWord;
public Porte(ArrayList<Instruction> instructionArray,ArrayList<Password> passwordArray) {
this.instructionArray = instructionAr... | 788 | 0.790609 | 0.78934 | 26 | 29.307692 | 28.376276 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.5 | false | false | 13 |
430fe8e0d2731b724d42e65ba41e798492348b04 | 26,706,106,704,596 | 446d67ee1bb5dfb796a6b4402d8ad40376c0c2ad | /Exemplo-de-Adapter/app/src/main/java/br/com/fiap/exemplodeadapter/MainActivity.java | c58ac7318bb9f3736e0bac5fc8173edf281452d6 | [] | no_license | lucasmuonline2019/ProjetosAndroid | https://github.com/lucasmuonline2019/ProjetosAndroid | 4cac858e485978c9b54a3123c9ec3bc37d54eb4a | 06406669d846c45374000d0dbd604ff798116a42 | refs/heads/master | 2020-05-17T04:56:12.018000 | 2017-04-10T21:19:06 | 2017-04-10T21:19:06 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package br.com.fiap.exemplodeadapter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.Toast;
import java.lang.reflect.Array;
public class Ma... | UTF-8 | Java | 1,313 | java | MainActivity.java | Java | [] | null | [] | package br.com.fiap.exemplodeadapter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.Toast;
import java.lang.reflect.Array;
public class Ma... | 1,313 | 0.680122 | 0.678599 | 39 | 32.666668 | 29.281422 | 122 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.794872 | false | false | 13 |
b9271a2493c9558155e605a0ee1361f2272f4ded | 14,216,341,753,045 | 6938757e4608132a4dde27a57ad33d5ecdd5de1d | /src/iteratorPattern/BookShelflfIterator.java | bae4e8d809918d000d0bc114ee39348e67ae8da8 | [] | no_license | aki0207/iterator | https://github.com/aki0207/iterator | 1b76bcdc2242a51e0adf81ffa20506efddad826e | 682f97e25d681139a85bb80f87bc66c2b8c92df5 | refs/heads/master | 2022-12-09T13:09:26.637000 | 2020-08-24T14:36:34 | 2020-08-24T14:36:34 | 289,952,950 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package iteratorPattern;
// BookShelfクラスのスキャンを行う
// Iteratorとして扱うためIteratorインターフェースを実装している
public class BookShelflfIterator implements Iterator {
// スキャンする本棚
private BookShelf bookShelf;
private int index;
public BookShelflfIterator() {
}
public BookShelflfIterator(BookShelf bookShelf) {
this.bookShelf = bo... | UTF-8 | Java | 666 | java | BookShelflfIterator.java | Java | [] | null | [] | package iteratorPattern;
// BookShelfクラスのスキャンを行う
// Iteratorとして扱うためIteratorインターフェースを実装している
public class BookShelflfIterator implements Iterator {
// スキャンする本棚
private BookShelf bookShelf;
private int index;
public BookShelflfIterator() {
}
public BookShelflfIterator(BookShelf bookShelf) {
this.bookShelf = bo... | 666 | 0.758562 | 0.756849 | 32 | 17.25 | 18.140079 | 63 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.0625 | false | false | 13 |
04660c0c270a428d5009b2200c02d91b74feab53 | 16,003,048,196,040 | fd4b28f580f71e70abd28812c23014db4596254e | /3/Point3D.java | d369f543f91fbe944752761c211a8546cd262734 | [] | no_license | yurimo36/Java | https://github.com/yurimo36/Java | 103888f363a95628d2be9f96265a3c23fc1ebd95 | 1c6179b52f1263c6b5e3c5ae5762f9dad1c1c25a | refs/heads/master | 2020-05-28T10:31:11.394000 | 2019-06-15T12:47:03 | 2019-06-15T12:47:03 | 181,311,924 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class Point3D{
private int x,y,z; //座標
void set(int newx, int newy, int newz){
x = newx;
y = newy;
z = newz;
}
int getx(){return x;}
int gety(){return y;}
int getz(){return z;}
void print(){ //座標を表示
System.out.println(x + ", " + y + ", " + z);
}
public static void main(Stri... | UTF-8 | Java | 606 | java | Point3D.java | Java | [] | null | [] | public class Point3D{
private int x,y,z; //座標
void set(int newx, int newy, int newz){
x = newx;
y = newy;
z = newz;
}
int getx(){return x;}
int gety(){return y;}
int getz(){return z;}
void print(){ //座標を表示
System.out.println(x + ", " + y + ", " + z);
}
public static void main(Stri... | 606 | 0.547619 | 0.510989 | 31 | 16.612904 | 16.065746 | 51 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.774194 | false | false | 13 |
e5f2fdd612e000dfc2dd57d128341698b8fe23a7 | 2,765,958,984,062 | 98792744846e5ffd13e5d85aef60bc1edfebbf44 | /Java-Core/src/main/java/prompto/literal/TextLiteral.java | 65e4ef5adc6f0271cabca28fb0af02596697d770 | [] | no_license | mikecargal/prompto-java | https://github.com/mikecargal/prompto-java | 1f60d290634522d030e3491c07b49ec5f97b1463 | caafa2ca09f33773dd3726f70cca92c9d041cbb1 | refs/heads/master | 2020-02-27T17:26:18.392000 | 2015-07-07T15:39:42 | 2015-07-07T15:39:42 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package prompto.literal;
import java.io.IOException;
import java.io.StreamTokenizer;
import java.io.StringReader;
import prompto.runtime.Context;
import prompto.type.IType;
import prompto.type.TextType;
import prompto.value.Text;
public class TextLiteral extends Literal<Text> {
public TextLiteral(String text) {
... | UTF-8 | Java | 697 | java | TextLiteral.java | Java | [] | null | [] | package prompto.literal;
import java.io.IOException;
import java.io.StreamTokenizer;
import java.io.StringReader;
import prompto.runtime.Context;
import prompto.type.IType;
import prompto.type.TextType;
import prompto.value.Text;
public class TextLiteral extends Literal<Text> {
public TextLiteral(String text) {
... | 697 | 0.738881 | 0.738881 | 36 | 18.361111 | 17.646456 | 71 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.194444 | false | false | 13 |
1a41b8302f517dcfc5fe0e1563ca7278ea8b0d8f | 33,440,615,394,358 | 8fbe3bce8e27345a82c93c2c57922735d12760dd | /WYWO/src/konst/okno001.java | a9a4668b0f56a51b756f82b6c5e9f5018cd13b96 | [] | no_license | borsztajn1/aaaaaaa2 | https://github.com/borsztajn1/aaaaaaa2 | 1d61a4ace9ecc79b04b2ded3e039a4b022b3887d | 662896912686e71d5697b1840e5a64ed14fc0970 | refs/heads/master | 2021-07-07T11:48:25.133000 | 2019-08-06T11:12:15 | 2019-08-06T11:12:15 | 200,836,099 | 0 | 0 | null | false | 2020-10-13T15:08:29 | 2019-08-06T11:15:18 | 2019-08-06T11:15:28 | 2020-10-13T15:08:28 | 637 | 0 | 0 | 2 | Java | false | false | package konst;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JFrame;
import javax.swing.JPanel;
//http://www.java2s.com/Code/Java/Swing-JFC/UsesreflectiontocreategroupsofdifferenttypesofAbstractButton.htm
public class okno001 {
public class OknoLoty extends ... | IBM852 | Java | 679 | java | okno001.java | Java | [] | null | [] | package konst;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JFrame;
import javax.swing.JPanel;
//http://www.java2s.com/Code/Java/Swing-JFC/UsesreflectiontocreategroupsofdifferenttypesofAbstractButton.htm
public class okno001 {
public class OknoLoty extends ... | 679 | 0.77548 | 0.769572 | 30 | 21.566668 | 22.468769 | 108 | false | false | 0 | 0 | 0 | 0 | 64 | 0.094535 | 0.666667 | false | false | 13 |
101c480716e84522923db86accd82df66c378c7e | 12,558,484,393,271 | 16be4b5d7b111dae18a4117b0dcf434cf44e4215 | /src/main/java/q1300/Q1267_CountServersThatCommunicate.java | 8e963f6bb7bc3cf0a95d0ada16e555015a7b9c13 | [
"MIT"
] | permissive | sunxuia/leetcode-solution-java | https://github.com/sunxuia/leetcode-solution-java | a3d8d680fabc014216ef9837d119b02acde923b5 | 2794f83c9e80574f051c00b8a24c6a307bccb6c5 | refs/heads/master | 2022-11-12T13:31:04.464000 | 2022-11-09T14:20:28 | 2022-11-09T14:20:28 | 219,247,361 | 1 | 0 | MIT | false | 2020-10-26T10:55:12 | 2019-11-03T03:43:25 | 2020-10-26T10:46:40 | 2020-10-26T10:55:11 | 9,665 | 1 | 0 | 0 | Java | false | false | package q1300;
import org.junit.runner.RunWith;
import util.runner.Answer;
import util.runner.LeetCodeRunner;
import util.runner.TestData;
import util.runner.data.DataExpectation;
/**
* [Medium] 1267. Count Servers that Communicate
* https://leetcode.com/problems/count-servers-that-communicate/
*
* You are given ... | UTF-8 | Java | 2,783 | java | Q1267_CountServersThatCommunicate.java | Java | [] | null | [] | package q1300;
import org.junit.runner.RunWith;
import util.runner.Answer;
import util.runner.LeetCodeRunner;
import util.runner.TestData;
import util.runner.data.DataExpectation;
/**
* [Medium] 1267. Count Servers that Communicate
* https://leetcode.com/problems/count-servers-that-communicate/
*
* You are given ... | 2,783 | 0.567733 | 0.522817 | 92 | 29.25 | 29.020842 | 118 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.945652 | false | false | 13 |
a065a1b59f63170851a54e407712c67aa73592f7 | 22,943,715,351,210 | ec916def1b2531623297786a339b1c5ec6b6768e | /Primeface/MyProject/src/java/com/dawntechbd/dao/PurchaseDao.java | 25091a1b95761298233ffea53143b951a501d8b2 | [] | no_license | Shuvoneel/Servlet | https://github.com/Shuvoneel/Servlet | fa15641ce15c04177340de8ad2db253bfaca4744 | 27fa5b550cf94b107f6fb239f42ca5da84799238 | refs/heads/master | 2020-05-04T16:02:40.578000 | 2019-10-28T09:58:35 | 2019-10-28T09:58:35 | 179,265,217 | 1 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.dawntechbd.dao;
import com.dawntechbd.common.CommonDao;
import com.dawntechbd.entity.Purchase;
import java.util.List;
public interface PurchaseDao extends CommonDao<Purchase> {
public List<Purchase> findAllPurchaseCategory(int id) throws Exception;
}
| UTF-8 | Java | 270 | java | PurchaseDao.java | Java | [] | null | [] | package com.dawntechbd.dao;
import com.dawntechbd.common.CommonDao;
import com.dawntechbd.entity.Purchase;
import java.util.List;
public interface PurchaseDao extends CommonDao<Purchase> {
public List<Purchase> findAllPurchaseCategory(int id) throws Exception;
}
| 270 | 0.811111 | 0.811111 | 10 | 26 | 25.314028 | 75 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
dbac8bf674d7f3b67d4b999a52e83c54368aaef6 | 14,336,600,863,104 | 324e3e611d85d3627672d92e8efba55db001c4c5 | /src/main/java/com/zslin/core/tools/ExpressConfigTools.java | 776b13ea2d7b29d18d1b3a3d7f25f5ff4ac1ec91 | [] | no_license | zsl131/xh-springboot | https://github.com/zsl131/xh-springboot | 071a2efe6cdd291e2c61a65f02b7ab9901ac116d | 6ba25679d9e289442bc0251028caebb15811ac45 | refs/heads/master | 2023-05-07T17:33:10.877000 | 2021-05-10T01:57:02 | 2021-05-10T01:57:02 | 362,651,567 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.zslin.core.tools;
import com.zslin.business.dao.IExpressConfigDao;
import com.zslin.business.model.ExpressConfig;
import com.zslin.core.exception.BusinessException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 物流配置工具类
* Created by ... | UTF-8 | Java | 916 | java | ExpressConfigTools.java | Java | [
{
"context": "tereotype.Component;\n\n/**\n * 物流配置工具类\n * Created by zsl on 2018/12/1.\n */\n@Component\npublic class Express",
"end": 323,
"score": 0.9995419979095459,
"start": 320,
"tag": "USERNAME",
"value": "zsl"
}
] | null | [] | package com.zslin.core.tools;
import com.zslin.business.dao.IExpressConfigDao;
import com.zslin.business.model.ExpressConfig;
import com.zslin.core.exception.BusinessException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 物流配置工具类
* Created by ... | 916 | 0.732426 | 0.72449 | 32 | 26.5625 | 25.730499 | 107 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | false | false | 13 |
713587e00a36bf98cd422e27be828cf52e1a6784 | 22,436,909,181,704 | d801d41b442764702be958d93711b2d8d8093253 | /guli-framework-common/src/main/java/com/guli/common/handller/GlobalExceptionHandler.java | eb036b925c5ce9d660d7d9c31f27e40b0b966c6b | [] | no_license | zayZhang/guli | https://github.com/zayZhang/guli | 2a9600fb89d0339ea03ae5003afbc80122c10746 | 7bffc32e759f400c4da006663df3948d42a4d1f7 | refs/heads/master | 2020-05-20T04:41:33.163000 | 2019-05-07T11:42:59 | 2019-05-07T11:42:59 | 185,388,780 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.guli.common.handller;
import com.guli.common.constants.ResultCodeEnum;
import com.guli.common.exception.GuliException;
import com.guli.common.util.ExceptionUtil;
import com.guli.common.vo.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.json.JsonParseException;
import org.springframewor... | UTF-8 | Java | 2,048 | java | GlobalExceptionHandler.java | Java | [] | null | [] | package com.guli.common.handller;
import com.guli.common.constants.ResultCodeEnum;
import com.guli.common.exception.GuliException;
import com.guli.common.util.ExceptionUtil;
import com.guli.common.vo.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.json.JsonParseException;
import org.springframewor... | 2,048 | 0.720588 | 0.719067 | 58 | 33 | 20.687328 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.534483 | false | false | 13 |
be264e31f651114a314a6369ec809706e5be8ec7 | 15,625,091,043,899 | 291aa9f5397cb98e55e866fffd94c4e3c7dc6f2a | /app/src/main/java/com/v2/chat/ui/login/activities/ChatLoginActivity.java | c15a796d4e76b580243d1b6daabff06f3c3864c1 | [] | no_license | caioschristino/core-chat-firebase | https://github.com/caioschristino/core-chat-firebase | 39a45ab7b304a333ef4553b7399b7a64f2af0d86 | 2d025b1920507356c5a0a78b287cc15deda4fcaa | refs/heads/main | 2023-04-02T19:51:34.183000 | 2021-04-14T14:30:05 | 2021-04-14T14:30:05 | 357,704,414 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.v2.chat.ui.login.activities;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
i... | UTF-8 | Java | 14,882 | java | ChatLoginActivity.java | Java | [
{
"context": "ils.DebugConstants.DEBUG_LOGIN;\n\n/**\n * Created by stefanodp91 on 21/12/17.\n */\n\npublic class ChatLoginActivity ",
"end": 2022,
"score": 0.9995981454849243,
"start": 2011,
"tag": "USERNAME",
"value": "stefanodp91"
}
] | null | [] | package com.v2.chat.ui.login.activities;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
i... | 14,882 | 0.571697 | 0.570017 | 367 | 39.553135 | 31.869827 | 147 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.591281 | false | false | 13 |
78cf1e0c54baac2cde76f9d589f30a6781c1ec3c | 21,500,606,321,077 | be769a40a44a57435e44e290f7009cec6331ad6b | /Rampart/src/menu/BackgroundType.java | 36217beba5a3c00f11da70612c23d3a211f6acd0 | [] | no_license | HelenaChi-Yang/Tower-Defense- | https://github.com/HelenaChi-Yang/Tower-Defense- | 8171e4a923203c1125bb7b6649e01ff31944aa63 | 55803185a4963ff39e8b595c06e5d7d8c950b1b3 | refs/heads/master | 2023-08-29T09:01:52.109000 | 2021-10-30T04:03:12 | 2021-10-30T04:03:12 | 413,760,771 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package menu;
import com.company.Global;
import java.awt.*;
import java.awt.image.BufferedImage;
public abstract class BackgroundType {
public BackgroundType() {
imageSrcIn = new BufferedImage(Global.SCREEN_X, Global.SCREEN_Y, BufferedImage.TYPE_INT_ARGB);
ovalSrcIn = imageSrcIn.createGraphics()... | UTF-8 | Java | 2,454 | java | BackgroundType.java | Java | [] | null | [] | package menu;
import com.company.Global;
import java.awt.*;
import java.awt.image.BufferedImage;
public abstract class BackgroundType {
public BackgroundType() {
imageSrcIn = new BufferedImage(Global.SCREEN_X, Global.SCREEN_Y, BufferedImage.TYPE_INT_ARGB);
ovalSrcIn = imageSrcIn.createGraphics()... | 2,454 | 0.546991 | 0.54493 | 84 | 27.880953 | 27.633833 | 122 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.916667 | false | false | 13 |
77f81299b6db9d8b873b0d974f1d55439c10023a | 2,576,980,439,733 | 51825475c2a708d38ea698db88de6e23b9bd23e2 | /MyFuel/src/gui/ProfileSettingsController.java | 8b44382947a3f788f178257f83144f33a329ce8d | [] | no_license | abohamad1996/My_Fuel | https://github.com/abohamad1996/My_Fuel | 73fecca15ab61531abcde7ead588a321f581f759 | a1fa8b94845db464396dc55ba16f226ce5a70b22 | refs/heads/master | 2022-11-08T17:50:34.971000 | 2020-06-23T21:03:47 | 2020-06-23T21:03:47 | 265,868,302 | 0 | 0 | null | false | 2020-06-03T15:52:14 | 2020-05-21T14:22:20 | 2020-06-03T15:22:58 | 2020-06-03T15:50:30 | 3,200 | 0 | 0 | 1 | Java | false | false | package gui;
import java.net.URL;
import java.util.ArrayList;
import java.util.ResourceBundle;
import com.sun.org.apache.bcel.internal.generic.NEW;
import Entity.User;
import client.ClientConsole;
import common.Message;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.f... | UTF-8 | Java | 6,557 | java | ProfileSettingsController.java | Java | [
{
"context": "ontroller for the gui ProfileSettings\r\n * @author mahmoud odeh\r\n *\r\n */\r\npublic class ProfileSettingsController ",
"end": 909,
"score": 0.9997594952583313,
"start": 897,
"tag": "NAME",
"value": "mahmoud odeh"
}
] | null | [] | package gui;
import java.net.URL;
import java.util.ArrayList;
import java.util.ResourceBundle;
import com.sun.org.apache.bcel.internal.generic.NEW;
import Entity.User;
import client.ClientConsole;
import common.Message;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.f... | 6,551 | 0.680342 | 0.678664 | 208 | 29.524038 | 29.757988 | 206 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.975962 | false | false | 13 |
6ef2d2c121c10b6548e99e1b4ffa09e96a28bc5e | 29,463,475,676,268 | 69228990cf94c7299b5314d854e70ef36a29239a | /src/HogIT/Användare.java | 76646b6ee6d6296c71a9d71c1c16e428bc500292 | [] | no_license | prolixx/H-gwartz | https://github.com/prolixx/H-gwartz | 91c52e3ce606e4186a4624eefac2c03c01181c02 | 676e863267f854afb20a84189276b23b06db26b9 | refs/heads/master | 2020-05-24T04:03:00.871000 | 2019-05-29T17:35:32 | 2019-05-29T17:35:32 | 187,084,478 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* 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 HogIT;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax... | UTF-8 | Java | 1,140 | java | Användare.java | Java | [
{
"context": "mport oru.inf.InfException;\r\n\r\n/**\r\n *\r\n * @author Gabriel\r\n */\r\npublic class Användare {\r\n private InfDB idb",
"end": 422,
"score": 0.9332581758499146,
"start": 415,
"tag": "NAME",
"value": "Gabriel"
}
] | null | [] | /*
* 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 HogIT;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax... | 1,140 | 0.637643 | 0.637643 | 39 | 27.153847 | 26.864845 | 100 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | false | false | 13 |
da4f024af36374e6523e982411af81ce24ecc021 | 24,824,911,003,121 | 02398bb142a8212a47c4c1576cea3534e44d0ff4 | /src/services/AutoPartesBO.java | 0abdf58edf3a40d229bd4e16ed2da553bc6b1766 | [] | no_license | alexsem/Facultad-TallerMecanico | https://github.com/alexsem/Facultad-TallerMecanico | a7d165ac61343493509fe83ac6eec43a74a7645f | 43c28a164e7aa78ea51f56433292745a4f509ebb | refs/heads/master | 2022-11-14T04:19:46.263000 | 2020-07-03T01:17:58 | 2020-07-03T01:17:58 | 258,825,058 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package services;
import java.util.ArrayList;
import dao.IAutoPartes;
import entidades.AutoPartes;
import exceptions.TallerMecanicoException;
public class AutoPartesBO {
private IAutoPartes autoParte;
public void setAutoParte(IAutoPartes autoParte) {
this.autoParte = autoParte;
}
public void insertarAuto... | UTF-8 | Java | 1,416 | java | AutoPartesBO.java | Java | [] | null | [] | package services;
import java.util.ArrayList;
import dao.IAutoPartes;
import entidades.AutoPartes;
import exceptions.TallerMecanicoException;
public class AutoPartesBO {
private IAutoPartes autoParte;
public void setAutoParte(IAutoPartes autoParte) {
this.autoParte = autoParte;
}
public void insertarAuto... | 1,416 | 0.788842 | 0.788136 | 42 | 32.714287 | 39.488567 | 139 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.833333 | false | false | 13 |
4eaf7b7499f240bc59bfebb61c8c14124359bfb0 | 3,032,246,945,350 | 98e07a7ea69d4f395cf8711c29e9de4d2f548990 | /Tolearn/src/com/smallest/tolearn/activity/CommentActivity.java | 513c5c049ef2f4bf8828d6da10cf6ff34f270933 | [] | no_license | smallest/Tolearn | https://github.com/smallest/Tolearn | f707c8e46a623761b013f9886db519487f511a72 | 48583732a423b0a797f063323489be7f4789ff10 | refs/heads/master | 2020-12-24T13:29:27.440000 | 2015-04-05T13:43:26 | 2015-04-05T13:43:26 | 32,053,353 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.smallest.tolearn.activity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.smallest.tolearn.R;
import com.smallest.tolearn.utils.MyConstants;
... | UTF-8 | Java | 1,453 | java | CommentActivity.java | Java | [] | null | [] | package com.smallest.tolearn.activity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.smallest.tolearn.R;
import com.smallest.tolearn.utils.MyConstants;
... | 1,453 | 0.735031 | 0.733654 | 52 | 26.942308 | 18.931469 | 65 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.5 | false | false | 13 |
3b290bbeae86ae68e1e51b180255ac481e9debb4 | 3,229,815,445,257 | f1d8d0c5c0b2182ace53d8499ac5bac5f0baaa84 | /src/main/java/org/supply/simulator/display/assetengine/texture/FontTextureEngine.java | 2afca9d0668a308ee2c822735299614e0ea5ed71 | [
"Apache-2.0"
] | permissive | 328Software/supplies | https://github.com/328Software/supplies | a6029915217728667d5eb3099f19d3632f86d483 | 5087fce0eaa7f0dd5f23d70490391b354ac19aa5 | refs/heads/master | 2021-09-06T19:21:13.979000 | 2018-02-10T09:22:23 | 2018-02-10T09:22:23 | 120,209,499 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.supply.simulator.display.assetengine.texture;
import de.matthiasmann.twl.utils.PNGDecoder;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL13;
import org.lwjgl.opengl.GL21;
import org.lwjgl.opengl.GL30;
import org.supply.simulator.display.assetengine.AbstractAssetEngine;
import org.supply.s... | UTF-8 | Java | 7,210 | java | FontTextureEngine.java | Java | [
{
"context": "gl.opengl.Util.checkGLError;\r\n\r\n/**\r\n * Created by Brandon on 5/19/2016.\r\n */\r\npublic class FontTextureEngin",
"end": 1498,
"score": 0.999502956867218,
"start": 1491,
"tag": "NAME",
"value": "Brandon"
}
] | null | [] | package org.supply.simulator.display.assetengine.texture;
import de.matthiasmann.twl.utils.PNGDecoder;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL13;
import org.lwjgl.opengl.GL21;
import org.lwjgl.opengl.GL30;
import org.supply.simulator.display.assetengine.AbstractAssetEngine;
import org.supply.s... | 7,210 | 0.618169 | 0.598336 | 199 | 34.231155 | 28.328773 | 159 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.79397 | false | false | 13 |
04365c2d81ecd0940d231a1b50f4dcbbdda84290 | 38,122,129,737,999 | 5026781fb81a097010f13158c61fd6d84ba946d2 | /src/java/hotel/web/entity/Hotel.java | 3bd965561f26d94c40496fba68c253ca5d91bc88 | [] | no_license | jmiller28/HotelWeb | https://github.com/jmiller28/HotelWeb | afab4a113d83ffb67351ce16da367a19bf150611 | 7aead4a7bed731fa2b807aa1ab6120d46ee22602 | refs/heads/master | 2016-09-09T20:27:11.347000 | 2015-03-02T21:20:59 | 2015-03-02T21:20:59 | 30,651,487 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package hotel.web.entity;
import java.util.Objects;
/**
* Entity class. This class is a representation of the Hotel table. The class
* name is similar to the table name and the class properties are similar to the
* table columns. It is used to provide structured data to/from database
* operation code.
*... | UTF-8 | Java | 3,000 | java | Hotel.java | Java | [
{
"context": "/from database\r\n * operation code.\r\n *\r\n * @author John\r\n */\r\npublic class Hotel {\r\n\r\n private Long ho",
"end": 337,
"score": 0.9996125102043152,
"start": 333,
"tag": "NAME",
"value": "John"
}
] | null | [] | package hotel.web.entity;
import java.util.Objects;
/**
* Entity class. This class is a representation of the Hotel table. The class
* name is similar to the table name and the class properties are similar to the
* table columns. It is used to provide structured data to/from database
* operation code.
*... | 3,000 | 0.559667 | 0.558667 | 126 | 21.809525 | 20.118582 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.404762 | false | false | 13 |
cefb6e226d8f1a1439883e0f4c4f5d8e29c31d8f | 23,003,844,898,920 | dbeb9ffcb39d56bd636889d2fa7acfdd717b5db0 | /spacex_project/src/main/java/spacex/ApiService.java | 25a803b0476c5893e5afa473cfce4733dc26961b | [] | no_license | Krzysztof-Songowicz/JavaSDA | https://github.com/Krzysztof-Songowicz/JavaSDA | 139817e9d32a709b9a64a630b041f24960007582 | 349020724bf5f7aad03a9f07ae5af0b06036a2e8 | refs/heads/master | 2020-02-21T04:27:07.554000 | 2018-10-02T21:37:53 | 2018-10-02T21:37:53 | 126,680,676 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package spacex;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import java.util.List;
public class ApiService {
private static final String BASE_URL = "https://api.spacexdata.com/v2/";
private static Retrofit retrofit = new Retrofit.Builder()
... | UTF-8 | Java | 814 | java | ApiService.java | Java | [] | null | [] | package spacex;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import java.util.List;
public class ApiService {
private static final String BASE_URL = "https://api.spacexdata.com/v2/";
private static Retrofit retrofit = new Retrofit.Builder()
... | 814 | 0.690418 | 0.685504 | 32 | 24.4375 | 24.853241 | 76 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.34375 | false | false | 13 |
adfd1a0ff04d85debbad4ce63ded73d520c58d59 | 36,885,179,174,022 | f32254474ac724cabcfb1904c57176d88c6d28b9 | /Zhihudaily/app/src/main/java/com/example/zhihudaily/main/MyAdapter.java | 7baf020ae14761cf54310ca01690f53b4ccc4835 | [] | no_license | FClbe/zhihuDaily- | https://github.com/FClbe/zhihuDaily- | 84f6b80581c377c20eb4d93c21ea9783fa032073 | 58eca6d4afc862aebfa3dcc92ee0be1a681e0a9d | refs/heads/master | 2020-04-24T23:06:15.213000 | 2019-04-13T09:11:16 | 2019-04-13T09:11:16 | 172,332,575 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.zhihudaily.main;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.zhihudaily.R;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Admin... | UTF-8 | Java | 1,249 | java | MyAdapter.java | Java | [
{
"context": "rayList;\nimport java.util.List;\n\n/**\n * Created by Administrator on 2018/12/17 0017.\n */\n\npublic class MyAdapter e",
"end": 328,
"score": 0.5159522891044617,
"start": 315,
"tag": "NAME",
"value": "Administrator"
}
] | null | [] | package com.example.zhihudaily.main;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.zhihudaily.R;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Admin... | 1,249 | 0.680544 | 0.669335 | 52 | 23.01923 | 22.777765 | 75 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.423077 | false | false | 13 |
b49beac81442730cb159c15e3d48361ca5817b20 | 34,162,169,933,638 | f0a1c5f90e9fd203286987e8eaf0b61f96183a88 | /src/main/java/pl/karolkolarczyk/lgs/controller/DefaultExceptionHandler.java | 2dc089e2e4ef4e5e6cec267776660c8bd63605b9 | [] | no_license | nickbarban/LigowySystemRozgrywek | https://github.com/nickbarban/LigowySystemRozgrywek | e633d95313ec553b2e11a4e69249d48d61100c4d | 03a6859bd5fe8188b0f47ba9d70ddb4c259266be | refs/heads/master | 2023-04-27T02:50:05.358000 | 2016-06-28T22:47:07 | 2016-06-28T22:47:07 | 83,555,388 | 0 | 0 | null | true | 2023-04-18T06:28:47 | 2017-03-01T13:06:28 | 2017-03-01T13:06:31 | 2023-04-18T06:28:46 | 1,239 | 0 | 0 | 3 | JavaScript | false | false | package pl.karolkolarczyk.lgs.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.servlet.ModelAndView;
import pl.karolkolarczyk.lgs.exception... | UTF-8 | Java | 1,138 | java | DefaultExceptionHandler.java | Java | [] | null | [] | package pl.karolkolarczyk.lgs.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.servlet.ModelAndView;
import pl.karolkolarczyk.lgs.exception... | 1,138 | 0.793497 | 0.793497 | 33 | 32.545456 | 29.177711 | 88 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.30303 | false | false | 13 |
c82bf405626afb6810effaaf66aced923372f8c5 | 38,551,626,476,654 | b0238c91483cf891c6125f488db351266bdffdc3 | /src/main/java/software/protronic/DataInterface.java | 4be146d75d99d48ab8296349696d6c541d2a3652 | [] | no_license | protronic/json-mirror | https://github.com/protronic/json-mirror | 13be21527d1057ed91e5ffa99bb16979734a5ec1 | 755ff9bd26e5f409048d65a797430f7e23de9f6a | refs/heads/master | 2023-06-09T01:59:12.468000 | 2023-06-05T11:20:28 | 2023-06-05T11:20:28 | 267,290,139 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package software.protronic;
import io.smallrye.mutiny.Uni;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
public interface DataInterface {
public Uni<JsonObject> set(int id, JsonObject obj);
public Uni<JsonObject> add(JsonObject obj);
public Uni<JsonObject> get(int id);
public Uni<... | UTF-8 | Java | 427 | java | DataInterface.java | Java | [] | null | [] | package software.protronic;
import io.smallrye.mutiny.Uni;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
public interface DataInterface {
public Uni<JsonObject> set(int id, JsonObject obj);
public Uni<JsonObject> add(JsonObject obj);
public Uni<JsonObject> get(int id);
public Uni<... | 427 | 0.763466 | 0.763466 | 14 | 29.5 | 16.68939 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.785714 | false | false | 13 |
35bd27d5e7989ca6caa9d1e22633497339ae6f82 | 35,261,681,547,469 | 0d99187691b502ff04d2a31f46243ec5bf4c0367 | /src/main/java/com/threewks/thundr/view/BaseView.java | c1f6f3e87df37a316b17091802d79d2d9c275590 | [
"Apache-2.0"
] | permissive | 3wks/thundr | https://github.com/3wks/thundr | 21d473e09931e7f0461d56260d7ff6f80a3c553f | 13ee04f4ebf0634dfbb5141bd5635b3a9587bc4a | refs/heads/master | 2020-03-23T10:11:34.877000 | 2016-11-24T10:44:07 | 2016-11-24T10:44:07 | 4,278,951 | 18 | 15 | null | false | 2016-12-07T04:07:14 | 2012-05-10T01:23:49 | 2016-11-27T14:57:44 | 2016-12-07T04:07:14 | 3,709 | 29 | 12 | 1 | Java | null | null | /*
* This file is a component of thundr, a software library from 3wks.
* Read more: http://3wks.github.io/thundr/
* Copyright (C) 2015 3wks, <thundr@3wks.com.au>
*
* 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... | UTF-8 | Java | 5,835 | java | BaseView.java | Java | [
{
"context": "tp://3wks.github.io/thundr/\n * Copyright (C) 2015 3wks, <thundr@3wks.com.au>\n *\n * Licensed under the Ap",
"end": 142,
"score": 0.9992079734802246,
"start": 138,
"tag": "USERNAME",
"value": "3wks"
},
{
"context": "ks.github.io/thundr/\n * Copyright (C) 2015 3wks, <th... | null | [] | /*
* This file is a component of thundr, a software library from 3wks.
* Read more: http://3wks.github.io/thundr/
* Copyright (C) 2015 3wks, <<EMAIL>>
*
* 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 ... | 5,824 | 0.721165 | 0.719109 | 210 | 26.785715 | 26.568991 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.2 | false | false | 13 |
a0e7a5f511e7defefcb8542ec3bf52c226fb5586 | 34,342,558,559,186 | ccebdd61d910f66572a4f8b78fdc9d73fc6e75e6 | /src/main/java/com/controllerr/Category_Repo.java | e5367a35397561b647eefbb4d2370a02b7c60c89 | [] | no_license | sathishkumar2907/SpringbootNewProject | https://github.com/sathishkumar2907/SpringbootNewProject | 908e3e44ada84894597fd6e0cc3c0fc73788c505 | b2a6b2633572778208c13b76c042a22dc1193e37 | refs/heads/master | 2020-03-17T09:05:38.010000 | 2018-05-25T04:50:44 | 2018-05-25T04:50:44 | 133,460,893 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.controllerr;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
public interface Category_Repo extends CrudReposit... | UTF-8 | Java | 1,088 | java | Category_Repo.java | Java | [] | null | [] | package com.controllerr;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
public interface Category_Repo extends CrudReposit... | 1,088 | 0.761029 | 0.761029 | 30 | 35.266666 | 37.636803 | 160 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.1 | false | false | 13 |
b6ce68afc5fa7e44b2480f3c6d16d4882698bdbe | 34,342,558,559,595 | 51386d0d9abd64da539331009b29baf6115032a4 | /src/test/java/com/github/jscheduler/handlers/MultipleScheduledMethods.java | 7b054322aaf047ea1749f6eb2f87b0e8ff263270 | [] | no_license | JafarSadik/jscheduler | https://github.com/JafarSadik/jscheduler | 5f9f37b4e151ee6483bd43fe93795dd8dce470f2 | f9bbfbe2c25d0e42d02f9a8a19d7389569fc45c2 | refs/heads/master | 2015-08-19T11:41:08.442000 | 2015-01-27T21:03:56 | 2015-01-27T21:03:56 | 29,311,959 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.github.jscheduler.handlers;
import com.github.jscheduler.Scheduled;
import static com.github.jscheduler.TimeUnit.MILLISECONDS;
public class MultipleScheduledMethods {
@Scheduled(interval = 5, unit = MILLISECONDS)
public void firstHandlerMethod() {
}
@Scheduled(interval = 5, unit = MILL... | UTF-8 | Java | 494 | java | MultipleScheduledMethods.java | Java | [] | null | [] | package com.github.jscheduler.handlers;
import com.github.jscheduler.Scheduled;
import static com.github.jscheduler.TimeUnit.MILLISECONDS;
public class MultipleScheduledMethods {
@Scheduled(interval = 5, unit = MILLISECONDS)
public void firstHandlerMethod() {
}
@Scheduled(interval = 5, unit = MILL... | 494 | 0.716599 | 0.708502 | 23 | 20.47826 | 22.896496 | 67 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | false | false | 13 |
30e16f77e060a5c68319023cd19c31c19a5ef361 | 35,699,768,213,209 | b363edc1b8a8261f1af9e2f982a9e5d4dcaf027b | /src/main/java/net/testaholic/acme/repository/search/PasswordInputFieldSearchRepository.java | 13304513e542163b5fa0f3e2de3225e9b56d0e7e | [] | no_license | William-Michael-Russell/acme_site_old | https://github.com/William-Michael-Russell/acme_site_old | 101b25b7a80bf35ecab453931e5ffb8abef11187 | 816583deaa231ef2412013fb201758778c914e92 | refs/heads/master | 2023-02-08T09:20:17.915000 | 2016-11-21T07:30:44 | 2016-11-21T07:30:44 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package net.testaholic.acme.repository.search;
import net.testaholic.acme.domain.PasswordInputField;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/**
* Spring Data ElasticSearch repository for the PasswordInputField entity.
*/
public interface PasswordInputFieldSearchRepository ... | UTF-8 | Java | 382 | java | PasswordInputFieldSearchRepository.java | Java | [] | null | [] | package net.testaholic.acme.repository.search;
import net.testaholic.acme.domain.PasswordInputField;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/**
* Spring Data ElasticSearch repository for the PasswordInputField entity.
*/
public interface PasswordInputFieldSearchRepository ... | 382 | 0.850785 | 0.850785 | 10 | 37.200001 | 39.323784 | 111 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | false | false | 13 |
759535f720b24128bcad54c29d939165e0ce64b5 | 37,675,453,153,298 | a203c109021635c4d222892e57b0f6548156b1fc | /src/cn/bnsr/edu_yun/util/RedisUtils.java | 68397620393b5bc135abec9210fb9fa556af9762 | [] | no_license | SingleJoy/working | https://github.com/SingleJoy/working | 2a4b7d4b4c755bca087178856c20dd9d1463f31e | 3302d4f3e37981e0a111d451eac178d98e742594 | refs/heads/master | 2021-01-18T08:00:18.225000 | 2018-01-08T03:14:43 | 2018-01-08T03:14:43 | 84,297,353 | 1 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package cn.bnsr.edu_yun.util;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;
/**
* Redis缓存工具类
* @author fangxiongwei
* @date 2016年12月8日
*/
@S... | UTF-8 | Java | 8,044 | java | RedisUtils.java | Java | [
{
"context": "dis.JedisPoolConfig;\n\n/**\n * Redis缓存工具类\n * @author fangxiongwei\n * @date 2016年12月8日\n */\n@SuppressWarnings(\"static",
"end": 293,
"score": 0.998904287815094,
"start": 281,
"tag": "USERNAME",
"value": "fangxiongwei"
}
] | null | [] | package cn.bnsr.edu_yun.util;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;
/**
* Redis缓存工具类
* @author fangxiongwei
* @date 2016年12月8日
*/
@S... | 8,044 | 0.627989 | 0.625176 | 321 | 21.149532 | 21.210915 | 111 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.915888 | false | false | 13 |
685a5d263bef862e2f4a43c12bac496c8507188e | 27,333,171,906,660 | 4ce2b2422d1b31b421c1ec19e3cb612338c81a11 | /src/main/java/HandingError.java | f4922fc8401252e12823036240efa900050b43cb | [] | no_license | hiep1097/DemoReactive | https://github.com/hiep1097/DemoReactive | dca0304da3e71fa7718f9c28d74ac16edca19b70 | d5e74bcbfe746f24d66e9b4a64c94f47f9a96aaa | refs/heads/master | 2021-06-11T10:34:28.649000 | 2019-07-05T03:53:51 | 2019-07-05T03:53:51 | 195,335,517 | 0 | 0 | null | false | 2021-06-07T18:30:12 | 2019-07-05T03:53:43 | 2019-07-05T03:53:57 | 2021-06-07T18:30:12 | 12 | 0 | 0 | 2 | Java | false | false | import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
public class HandingError {
public static void main(String[] args) {
// Flux<String> flux = Flux.just(1,0,2)
// .map(i-> "100/"+i+"="+(100/i))
// .onErrorResume(e->Flux.just("0"));
// flux.subscribe(i-... | UTF-8 | Java | 1,008 | java | HandingError.java | Java | [] | null | [] | import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
public class HandingError {
public static void main(String[] args) {
// Flux<String> flux = Flux.just(1,0,2)
// .map(i-> "100/"+i+"="+(100/i))
// .onErrorResume(e->Flux.just("0"));
// flux.subscribe(i-... | 1,008 | 0.498016 | 0.459325 | 33 | 29.515152 | 16.958275 | 52 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.515152 | false | false | 13 |
77a0720c83781355616051d42b792fd85336bfab | 25,237,227,871,611 | e949d609a01cab1969018e67ea62c951b68148b2 | /src/thread/DeadLock.java | 02c08fc697a1a6a383d11d95c4c6bd845dd1e747 | [] | no_license | shwndi/the-basics-of-java | https://github.com/shwndi/the-basics-of-java | 9686086a87acab2307250df587b590e6759ec674 | 8818a2a229690635047d1a3ea203500b28674c9d | refs/heads/master | 2022-10-07T23:43:14.825000 | 2020-06-11T08:25:07 | 2020-06-11T08:25:07 | 263,786,942 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package thread;
/**
* java 死锁产生的四个必要条件:
* 1、互斥使用,即当资源被一个线程使用(占有)时,别的线程不能使用
* 2、不可抢占,资源请求者不能强制从资源占有者手中夺取资源,资源只能由资源占有者主动释放。
* 3、请求和保持,即当资源请求者在请求其他的资源的同时保持对原有资源的占有。
* 4、循环等待,即存在一个等待队列:P1占有P2的资源,P2占有P3的资源,P3占有P1的资源。这样就形成了一个等待环路。
*/
public class DeadLock {
public static String str1 = "str1";
public static Str... | UTF-8 | Java | 893 | java | DeadLock.java | Java | [] | null | [] | package thread;
/**
* java 死锁产生的四个必要条件:
* 1、互斥使用,即当资源被一个线程使用(占有)时,别的线程不能使用
* 2、不可抢占,资源请求者不能强制从资源占有者手中夺取资源,资源只能由资源占有者主动释放。
* 3、请求和保持,即当资源请求者在请求其他的资源的同时保持对原有资源的占有。
* 4、循环等待,即存在一个等待队列:P1占有P2的资源,P2占有P3的资源,P3占有P1的资源。这样就形成了一个等待环路。
*/
public class DeadLock {
public static String str1 = "str1";
public static Str... | 893 | 0.685152 | 0.660107 | 20 | 26.950001 | 19.087889 | 63 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | false | false | 13 |
798108099c07ab68591fb070b625d32ed699e85f | 31,147,102,870,107 | a8a5b98457dce960ad09d90147ae43d324839f49 | /util/src/main/java/com/adfonic/util/status/ArtifactInfo.java | a0768dde3d7700f1300f178dd507cdda054c145e | [] | no_license | graemeparker/cinofda | https://github.com/graemeparker/cinofda | fbb88791f964fefd37134b5845d9f69ca6875bd4 | 5f669d9dfdded5d511eeea585ea25d7b244d3635 | refs/heads/master | 2021-03-22T03:01:36.367000 | 2016-10-14T14:17:54 | 2016-10-14T14:17:54 | 70,915,669 | 1 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.adfonic.util.status;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import org.slf4j.LoggerFactory;
/**
*
* @author mvanek
*
*/
public class ArtifactInfo {
private static final org.slf4j.Logger ... | UTF-8 | Java | 4,109 | java | ArtifactInfo.java | Java | [
{
"context": "import org.slf4j.LoggerFactory;\n\n/**\n *\n * @author mvanek\n *\n */\npublic class ArtifactInfo {\n\n private s",
"end": 241,
"score": 0.9995548129081726,
"start": 235,
"tag": "USERNAME",
"value": "mvanek"
}
] | null | [] | package com.adfonic.util.status;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import org.slf4j.LoggerFactory;
/**
*
* @author mvanek
*
*/
public class ArtifactInfo {
private static final org.slf4j.Logger ... | 4,109 | 0.594549 | 0.594062 | 122 | 32.680328 | 27.77405 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.540984 | false | false | 13 |
05a7ecfe65c341819d57432843f638a2669d7143 | 25,915,832,703,626 | c34a26e4ebf66c04d9bd8a7285d2014d7a92d10d | /src/com/salesforce/pages/salescloud/contacts/ContactsDetail.java | a7d4640e72f2fc2eced50b9cb8beb07c07f7ff52 | [] | no_license | raghava3107/SeleniumBilling | https://github.com/raghava3107/SeleniumBilling | 1c3129f69053e253807c66e03efc4e0d4d202fff | 22f15c5f879a389c9f017d3901593d38fadb3235 | refs/heads/master | 2016-09-11T01:39:53.382000 | 2016-06-21T09:34:13 | 2016-06-21T09:34:13 | 59,424,385 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.salesforce.pages.salescloud.contacts;
import java.util.List;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.... | UTF-8 | Java | 11,485 | java | ContactsDetail.java | Java | [] | null | [] | package com.salesforce.pages.salescloud.contacts;
import java.util.List;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.... | 11,485 | 0.721289 | 0.718328 | 391 | 28.373402 | 29.822899 | 149 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2 | false | false | 13 |
c105a6585216abc709f17b5790ebac45484ffdb8 | 15,814,069,635,727 | 7395058b4dae30313849cb5c574c7bcd904f08d2 | /java/dabells/tileentities/TEBellEnder.java | d2560aea55aa966863cf3ecba97db23d96fd63e6 | [] | no_license | SkyNetAB/DaBells | https://github.com/SkyNetAB/DaBells | 3143da17ebb37384a3aa1064afa2b1ef0e581f93 | 81121bfa2eff925cdd049548ef1337e4599a7f71 | refs/heads/master | 2016-09-06T04:02:43.881000 | 2015-01-17T09:28:57 | 2015-01-17T09:28:57 | 21,011,461 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package dabells.tileentities;
import net.minecraft.tileentity.TileEntity;
public class TEBellEnder extends TileEntity
{
public TEBellEnder() {}
}
| UTF-8 | Java | 149 | java | TEBellEnder.java | Java | [] | null | [] | package dabells.tileentities;
import net.minecraft.tileentity.TileEntity;
public class TEBellEnder extends TileEntity
{
public TEBellEnder() {}
}
| 149 | 0.805369 | 0.805369 | 8 | 17.625 | 18.137926 | 43 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
fca0a4b9d678350913e2e38dda74042985f14258 | 23,055,384,507,660 | 67bf7990322e5ffa5f3ff8b2d16753146f4d8b13 | /FindMeServer/src/main/java/com/findme/service/utilities/qr/QRGeneratorException.java | 6eab0a0c1b659893bd45bc586456436fd5101ef5 | [] | no_license | mateohi/obligatorio-dsdm | https://github.com/mateohi/obligatorio-dsdm | aefbe3b8b7ee13efe2e35cc3e49eff4f4162cdfc | 8239bddf3db06225e0b529b9820d1e44c9848799 | refs/heads/master | 2016-09-05T21:40:51.848000 | 2014-06-17T21:55:02 | 2014-06-17T21:55:02 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.findme.service.utilities.qr;
public class QRGeneratorException extends Exception {
private static final String MSG_ERROR = "Error al generar el QR";
public QRGeneratorException() {
super(MSG_ERROR);
}
}
| UTF-8 | Java | 242 | java | QRGeneratorException.java | Java | [] | null | [] | package com.findme.service.utilities.qr;
public class QRGeneratorException extends Exception {
private static final String MSG_ERROR = "Error al generar el QR";
public QRGeneratorException() {
super(MSG_ERROR);
}
}
| 242 | 0.702479 | 0.702479 | 10 | 23.200001 | 23.831911 | 69 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | false | false | 13 |
38cffd269a1e2f42af70ee1591df47d602e16e03 | 8,710,193,719,572 | bd1fbb9823a23aff46319c4db64a0380140496e3 | /xchange-bitforex/src/main/java/org/knowm/xchange/bitforex/dto/BitforexCancelAllOrders.java | e5daaeba03d922b29296f88505bc30a74fde14ed | [
"MIT"
] | permissive | mileschet/XChange | https://github.com/mileschet/XChange | 263ed6cad9437f2de9587def07df69377049138a | 36b8474c0b2715ed9154a5e298adda300166dab0 | refs/heads/develop | 2020-05-24T11:53:51.631000 | 2019-11-22T12:52:36 | 2019-11-22T12:52:36 | 187,256,320 | 0 | 0 | MIT | true | 2019-05-17T17:29:54 | 2019-05-17T17:27:16 | 2019-05-17T17:27:28 | 2019-05-17T17:29:54 | 35,644 | 0 | 0 | 0 | Java | false | false | package org.knowm.xchange.bitforex.dto;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.CancelOrderParams;
public class BitforexCancelAllOrders
implements CancelOrderParams {
public final CurrencyPair currencyPair;
public BitforexCancelAllOrders(CurrencyP... | UTF-8 | Java | 390 | java | BitforexCancelAllOrders.java | Java | [] | null | [] | package org.knowm.xchange.bitforex.dto;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.CancelOrderParams;
public class BitforexCancelAllOrders
implements CancelOrderParams {
public final CurrencyPair currencyPair;
public BitforexCancelAllOrders(CurrencyP... | 390 | 0.787179 | 0.787179 | 13 | 29 | 23.465195 | 64 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | false | false | 13 |
5158c6f773f972154d460edf2de141c5751c793f | 22,273,700,429,983 | 941ad49b5386bd1280e2a33ecf5d8d84723e2060 | /src/chapter6/SubClass.java | 41d4e291da439d76eb43c2501fe381b54fe8e464 | [] | no_license | mattias1985/JavaAssociateExam | https://github.com/mattias1985/JavaAssociateExam | 0b3d3dfb10b32498ee3ad0d183c6e0799e3d8435 | d6e4e508e6abfdaf921e7a72bc16a25d3b8f78a2 | refs/heads/master | 2020-06-19T06:43:05.418000 | 2017-06-27T06:43:08 | 2017-06-27T06:43:08 | 94,180,319 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package chapter6;
class SubClass{
public void method() { }
}
class OtherClass extends SubClass{
public void method() throws IllegalStateException{
}
}
| UTF-8 | Java | 167 | java | SubClass.java | Java | [] | null | [] | package chapter6;
class SubClass{
public void method() { }
}
class OtherClass extends SubClass{
public void method() throws IllegalStateException{
}
}
| 167 | 0.700599 | 0.694611 | 10 | 14.7 | 16.559288 | 51 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
bfbcccb0fdf574a9ac56545d8e7e01ace6c53e0b | 3,040,836,897,646 | 4d792f33abf98e4eb40832a2e59a65f83ea27c7c | /spring-boot-dubbo-provider/src/main/java/com/ymyang/dubbo/Application.java | 337fd62b98607845a589561dc978f0fd67536f89 | [] | no_license | ymyang/spring-boot-dubbo-demo | https://github.com/ymyang/spring-boot-dubbo-demo | 2e2fda63bb2f6b8cbfcc1ada59de990a42d058ee | bc4557bde3a173e5596fdc001a030510afa9fe5e | refs/heads/master | 2021-01-01T06:30:49.756000 | 2017-07-22T07:32:07 | 2017-07-22T07:32:07 | 97,445,195 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ymyang.dubbo;
import java.io.IOException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);... | UTF-8 | Java | 417 | java | Application.java | Java | [] | null | [] | package com.ymyang.dubbo;
import java.io.IOException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);... | 417 | 0.752998 | 0.752998 | 21 | 18.857143 | 19.616043 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.285714 | false | false | 13 |
e8084428301b6754c7645741694b76c90abdaa59 | 2,353,642,084,729 | aa853a2ad04fea371a52522890fe379eaaec6676 | /LAB3/lab-jdbc-insert-team/src/dao/TeamDAO.java | ae110a0d7358aaf26513742021a17298b89a0b73 | [] | no_license | Ruthra13/jdbc_week5_DAYTWO | https://github.com/Ruthra13/jdbc_week5_DAYTWO | a85c50ada1230e86699f88b47b078de3330060a7 | 4d9024acb8d36688675ba617de0f7ced73cb5088 | refs/heads/master | 2022-11-18T21:27:27.536000 | 2020-07-17T06:09:15 | 2020-07-17T06:09:15 | 279,692,145 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package dao;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import model.City;
import model.Team;
import utility.ConnectionManager;
public class TeamDAO
{
ConnectionManager cm = new ConnectionManager();
public void createTeam(Team team) throws Exception
{
long id = team.getId();
String n... | UTF-8 | Java | 1,178 | java | TeamDAO.java | Java | [] | null | [] | package dao;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import model.City;
import model.Team;
import utility.ConnectionManager;
public class TeamDAO
{
ConnectionManager cm = new ConnectionManager();
public void createTeam(Team team) throws Exception
{
long id = team.getId();
String n... | 1,178 | 0.674873 | 0.670628 | 49 | 23.040817 | 24.465685 | 113 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.612245 | false | false | 13 |
6509374efe347b2be99b27b33fafa64761ef4e31 | 15,814,069,638,773 | 48012ea945980eab5f9970ac3d838686d0fc8f42 | /FindWordsProj2/src/Dictionary.java | a585c65ba13fba42ba6f684ff51458d2968ae2e5 | [] | no_license | kikoo201/Data-Structure-Lab | https://github.com/kikoo201/Data-Structure-Lab | 19a092cf9037132986234a2319557b9096551a9a | ae97503f67710643ea58d3a4672b30255db94da5 | refs/heads/master | 2016-08-10T10:32:09.760000 | 2015-12-24T06:01:10 | 2015-12-24T06:01:10 | 48,526,605 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.*;
import java.math.*;
import java.text.*;
import java.io.*;
public class Dictionary implements DictionaryInterface {
private ArrayList<String> words; //this stores all the words from the dictionary txt file
/**
* This is a constructor that instantiates a dictionary object with an ArrayList wor... | UTF-8 | Java | 4,935 | java | Dictionary.java | Java | [] | null | [] | import java.util.*;
import java.math.*;
import java.text.*;
import java.io.*;
public class Dictionary implements DictionaryInterface {
private ArrayList<String> words; //this stores all the words from the dictionary txt file
/**
* This is a constructor that instantiates a dictionary object with an ArrayList wor... | 4,935 | 0.715299 | 0.712259 | 99 | 48.848484 | 47.20113 | 175 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.808081 | false | false | 13 |
1654aa5abc4f2264d6ce9b3d01808766259aabab | 10,960,756,564,918 | 98a6120f77d9f3cd37aec1806c668a0e95a9d7aa | /StringAdventure/Room4.java | db90ca411e379a924c0d154efd7cde0b86bd234b | [] | no_license | VibhavJ/homeworks | https://github.com/VibhavJ/homeworks | 6e0fe0274429ba5b47cddcd68cd740ca5f90c4fe | a8e0c180bf563fc3584cdef793aec1daf34616ca | refs/heads/master | 2020-09-08T09:34:31.089000 | 2020-05-05T21:00:10 | 2020-05-05T21:00:10 | 221,095,830 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | //Vibhav J.
//This is the control for Room #4.
//In order to run this, you must run StringRoomControl.java
import java.util.*;
public class Room4
{
public static Room2 room2 = new Room2();
public static StringInventorySystem strInventorySystem = new StringInventorySystem();
public static SecretAttic secretAtt... | UTF-8 | Java | 12,294 | java | Room4.java | Java | [
{
"context": "//Vibhav J.\n//This is the control for Room #4.\n//In order to",
"end": 10,
"score": 0.9997732639312744,
"start": 2,
"tag": "NAME",
"value": "Vibhav J"
}
] | null | [] | //<NAME>.
//This is the control for Room #4.
//In order to run this, you must run StringRoomControl.java
import java.util.*;
public class Room4
{
public static Room2 room2 = new Room2();
public static StringInventorySystem strInventorySystem = new StringInventorySystem();
public static SecretAttic secretAttic... | 12,292 | 0.536929 | 0.530909 | 249 | 48.37751 | 42.4674 | 195 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.714859 | false | false | 13 |
40ea6d8d27cd095ebdd6bb62aa334902ef455f55 | 15,573,551,481,994 | 8a2f0f1088b3875af8f1ff087f1906278c1e2c55 | /src/main/java/dsr/amm/homebudget/service/impl/CategoryService.java | 8557dedad6d9f827920b68e8a0d2579bcc032ee1 | [
"MIT"
] | permissive | trokhinas/home-budget-amm2018 | https://github.com/trokhinas/home-budget-amm2018 | fe760bd4dfffb7d100556299fd20f5e54b75f8c9 | e2cd6e00b04eaeeedee4e0560e9cc8e68d8cd558 | refs/heads/master | 2020-04-08T18:36:35.285000 | 2018-11-29T06:39:56 | 2018-11-29T06:39:56 | 158,906,190 | 0 | 0 | MIT | true | 2018-11-24T05:42:44 | 2018-11-24T05:42:43 | 2018-11-23T17:21:51 | 2018-11-23T16:07:46 | 87 | 0 | 0 | 0 | null | false | null | package dsr.amm.homebudget.service.impl;
import dsr.amm.homebudget.OrikaMapper;
import dsr.amm.homebudget.data.dto.CategoryDTO;
import dsr.amm.homebudget.data.entity.Category;
import dsr.amm.homebudget.data.repository.ICategoryRepository;
import dsr.amm.homebudget.service.ICategoryService;
import org.springframework.s... | UTF-8 | Java | 2,111 | java | CategoryService.java | Java | [
{
"context": "ist;\nimport java.util.Optional;\n\n/**\n *\n * @author Trokhin\n */\n\n@Service\npublic class CategoryService implem",
"end": 456,
"score": 0.9520595073699951,
"start": 449,
"tag": "USERNAME",
"value": "Trokhin"
}
] | null | [] | package dsr.amm.homebudget.service.impl;
import dsr.amm.homebudget.OrikaMapper;
import dsr.amm.homebudget.data.dto.CategoryDTO;
import dsr.amm.homebudget.data.entity.Category;
import dsr.amm.homebudget.data.repository.ICategoryRepository;
import dsr.amm.homebudget.service.ICategoryService;
import org.springframework.s... | 2,111 | 0.718617 | 0.718617 | 76 | 26.776316 | 24.276152 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.407895 | false | false | 13 |
cefde6d8306eb140ab9b7c1fb63a3969772b815f | 19,877,108,710,134 | 19cf5a82ad3f137969dccab9a48058c54b0bffe3 | /Clinica.Pet-Center/src/clinica/petCenter/gui/PanelAtualizarAnimal.java | eca0b7bba7f7c7739a8405f46f6b78b3cc43364f | [] | no_license | MarcosInacio/Clinica-Pet.Center | https://github.com/MarcosInacio/Clinica-Pet.Center | 8f4efcf03f83acf108cb8614dcb9ac82df5322cf | 4729ddc32f01c9f73ee06082decf95fa377700eb | refs/heads/master | 2020-12-27T09:28:22.938000 | 2015-12-11T02:58:47 | 2015-12-11T02:58:47 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package clinica.petCenter.gui;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swi... | ISO-8859-1 | Java | 10,905 | java | PanelAtualizarAnimal.java | Java | [] | null | [] | package clinica.petCenter.gui;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swi... | 10,905 | 0.720356 | 0.701267 | 326 | 31.423313 | 25.799223 | 113 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.02454 | false | false | 13 |
2490e672fdffaa48e5b8ff22d275e49d6b42453c | 30,571,577,270,893 | 795fe07a9fec07a3375681ef5423769012c233b8 | /src/hkdvm/Data.java | ed4ee90c8f8cb549f5053758d0777c02d1ed07b9 | [] | no_license | sh107/HKDVM | https://github.com/sh107/HKDVM | 5d7db4d5030da248eb79738eb29201b49930f5e3 | 8e14b871c80b809557100153709f4b24489c2f89 | refs/heads/master | 2020-05-09T19:11:23.812000 | 2013-07-28T21:19:07 | 2013-07-28T21:19:07 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hkdvm;
/**
*
* @author Sijin
*/
public class Data {
private String trialName;
private String geneSymbol;
private int patientId;
private String probeSet;
private double pValue;
privat... | UTF-8 | Java | 1,877 | java | Data.java | Java | [
{
"context": "the editor.\n */\n\npackage hkdvm;\n\n/**\n *\n * @author Sijin\n */\npublic class Data {\n\n private String trial",
"end": 140,
"score": 0.9996817111968994,
"start": 135,
"tag": "NAME",
"value": "Sijin"
}
] | null | [] | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hkdvm;
/**
*
* @author Sijin
*/
public class Data {
private String trialName;
private String geneSymbol;
private int patientId;
private String probeSet;
private double pValue;
privat... | 1,877 | 0.627597 | 0.627597 | 99 | 17.959597 | 17.040012 | 54 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | false | false | 9 |
371b423144ae9b6d06561cc9d169b7b8633d76f8 | 738,734,380,652 | 1d4741823119c31e34ae561b0708c7251b8a84e4 | /app/src/main/java/com/restaurant/project/mikuyapp/signin/SignInInteractor.java | ee347124737cbac4161675cadc1b21e58d11db23 | [] | no_license | nelsonjaimes/MikuyApp | https://github.com/nelsonjaimes/MikuyApp | 0731c0290d93bc2bd51434dc910e982b7f3dfb3f | 00da2e4e3452e70d474d31398d59028229eae917 | refs/heads/master | 2021-07-16T00:49:34.876000 | 2018-08-22T13:51:08 | 2018-08-22T13:51:08 | 132,025,816 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.restaurant.project.mikuyapp.signin;
import android.support.annotation.NonNull;
import com.restaurant.project.mikuyapp.domain.model.mikuy.request.SignInRequestEntity;
interface SignInInteractor {
void requestSignInService(@NonNull SignInRequestEntity signInRequestEntity,
... | UTF-8 | Java | 380 | java | SignInInteractor.java | Java | [] | null | [] | package com.restaurant.project.mikuyapp.signin;
import android.support.annotation.NonNull;
import com.restaurant.project.mikuyapp.domain.model.mikuy.request.SignInRequestEntity;
interface SignInInteractor {
void requestSignInService(@NonNull SignInRequestEntity signInRequestEntity,
... | 380 | 0.765789 | 0.765789 | 12 | 30.666666 | 31.271215 | 86 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
b9955301c845cc60fe717e0939003c70f6a4e593 | 2,164,663,525,371 | 34f6fac97f1f039e9f54d09dce79a4257d836e88 | /src/main/java/com/christopher/herron/tradingsimulator/service/SimulationService.java | 6327aa8d9e2e292ad34f31e6081a6bdc594e888b | [] | no_license | christopherrons/trading-simulator | https://github.com/christopherrons/trading-simulator | 56a2129187c5d1eac66da99256d9c155751c4974 | 18fb5ee5b20510fdf74902a43cd117b621c40194 | refs/heads/main | 2023-08-07T10:35:01.168000 | 2021-10-10T12:00:45 | 2021-10-10T12:11:28 | 403,283,528 | 0 | 0 | null | false | 2021-10-10T11:52:06 | 2021-09-05T10:53:12 | 2021-09-28T17:17:57 | 2021-10-10T11:52:05 | 553 | 0 | 0 | 0 | Java | false | false | package com.christopher.herron.tradingsimulator.service;
import com.christopher.herron.tradingsimulator.common.enumerators.OrderActionEnum;
import com.christopher.herron.tradingsimulator.common.enumerators.OrderStatusEnum;
import com.christopher.herron.tradingsimulator.domain.model.Order;
import com.christopher.herron... | UTF-8 | Java | 3,629 | java | SimulationService.java | Java | [] | null | [] | package com.christopher.herron.tradingsimulator.service;
import com.christopher.herron.tradingsimulator.common.enumerators.OrderActionEnum;
import com.christopher.herron.tradingsimulator.common.enumerators.OrderStatusEnum;
import com.christopher.herron.tradingsimulator.domain.model.Order;
import com.christopher.herron... | 3,629 | 0.691099 | 0.687242 | 91 | 38.87912 | 34.149906 | 188 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.626374 | false | false | 9 |
a18e639eab3777b35a5a5899c81bea6a4af23cb0 | 2,748,779,077,178 | bb2cf008633bf5a504f5efa364f801e28f8261a4 | /concurrent/DbWriter.java | 6d2bbfaf9875030fb703ae8f9f0374ec88533746 | [] | no_license | PaddyK/StudyWorks | https://github.com/PaddyK/StudyWorks | aa743c7c844063e38f1869f7849233499b67c6e5 | 2adf96a9f0bdc9519cfaec8851432673b7a70055 | refs/heads/master | 2021-01-20T09:01:05.572000 | 2014-10-21T14:12:57 | 2014-10-21T14:12:57 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package concurrent;
import java.nio.file.Paths;
import java.util.List;
import data.DataController;
public class DbWriter extends Thread {
DataController dctrl;
LoocConcurrentList looc;
String sqlFolder;
public DbWriter(LoocConcurrentList list, String username, String password, String sqlOutput) {
if(userna... | UTF-8 | Java | 1,636 | java | DbWriter.java | Java | [] | null | [] | package concurrent;
import java.nio.file.Paths;
import java.util.List;
import data.DataController;
public class DbWriter extends Thread {
DataController dctrl;
LoocConcurrentList looc;
String sqlFolder;
public DbWriter(LoocConcurrentList list, String username, String password, String sqlOutput) {
if(userna... | 1,636 | 0.655257 | 0.653423 | 63 | 24.984127 | 25.206758 | 106 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.031746 | false | false | 9 |
3ac8e3360b5522e8a7b4618280c6491d2a039b62 | 13,254,269,081,145 | e98d1862f614c0945d0d2556b6324a708b4bd811 | /Lavish/io/netty/channel/ChannelProgressiveFuture.java | d4b0b15129c3d1c00ca2f8d7080cedd0662c27e7 | [] | no_license | chocopie69/Minecraft-Modifications-Codes | https://github.com/chocopie69/Minecraft-Modifications-Codes | 946f7fd2b431b1e3c4272cf96d75460883468917 | a843aa9163e9e508e74dad10572d68477e5e38bf | refs/heads/main | 2023-08-27T08:46:06.036000 | 2022-06-25T14:35:06 | 2022-06-25T14:35:06 | 412,120,508 | 71 | 54 | null | false | 2022-01-11T15:55:25 | 2021-09-30T15:30:35 | 2022-01-10T04:52:49 | 2022-01-09T16:44:51 | 331,436 | 4 | 2 | 3 | null | false | false | //
// Decompiled by Procyon v0.5.36
//
package io.netty.channel;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import io.netty.util.concurrent.ProgressiveFuture;
public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<Void>
{
ChannelPr... | UTF-8 | Java | 1,018 | java | ChannelProgressiveFuture.java | Java | [] | null | [] | //
// Decompiled by Procyon v0.5.36
//
package io.netty.channel;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import io.netty.util.concurrent.ProgressiveFuture;
public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<Void>
{
ChannelPr... | 1,018 | 0.779961 | 0.772102 | 28 | 35.357143 | 38.821217 | 112 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.464286 | false | false | 9 |
dca6ce86255fc340e2641205b9c96112f3937bcc | 13,254,269,084,108 | 20b237d9a6892c07ce9b3530091ed2f9aa2555b2 | /common_code/src/main/java/com/fergusonjack/darwin/domain/ObjectFactory.java | 50ad8b312bd291cb82ea86c503a958c712cab676 | [] | no_license | fergusonjack/ntrod-service | https://github.com/fergusonjack/ntrod-service | eb20a55786c734a51e256078bb5941e8db3c92db | 0d940516b4266a88a1ba823d05a50592102200e1 | refs/heads/master | 2020-07-12T07:45:07.796000 | 2019-09-04T18:43:32 | 2019-09-04T18:43:32 | 204,757,311 | 1 | 0 | null | false | 2019-09-04T18:43:33 | 2019-08-27T17:42:48 | 2019-09-04T16:38:10 | 2019-09-04T18:43:33 | 124,408 | 1 | 0 | 0 | Java | false | false | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019... | UTF-8 | Java | 13,512 | java | ObjectFactory.java | Java | [] | null | [] | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019... | 13,512 | 0.552916 | 0.546847 | 569 | 21.746925 | 24.774113 | 144 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.170475 | false | false | 9 |
b092865ee3795236ea3cc5b25d4badc7f3e5a891 | 20,564,303,421,214 | 533d65446e7415426446e2edbf415cf1d2f963ed | /src/main/java/com/alexandre/model/Cliente.java | 4661e3d939360a121183798022d939622c222464 | [] | no_license | AlexandrePererira/sistemaloja | https://github.com/AlexandrePererira/sistemaloja | 66111dab1994ae7bdaa7e42d645db30b1a653b73 | ff30c1c7283a1cca71e69b2f90d816186eba4823 | refs/heads/master | 2022-10-26T21:50:05.399000 | 2019-08-06T00:32:18 | 2019-08-06T00:32:18 | 200,747,727 | 0 | 0 | null | false | 2022-10-05T19:31:36 | 2019-08-06T00:30:25 | 2019-08-06T00:33:12 | 2022-10-05T19:31:33 | 987 | 0 | 0 | 6 | JavaScript | false | false | package com.alexandre.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Ma... | UTF-8 | Java | 3,545 | java | Cliente.java | Java | [] | null | [] | package com.alexandre.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Ma... | 3,545 | 0.711936 | 0.711653 | 219 | 15.105022 | 16.010925 | 57 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.159817 | false | false | 9 |
b04ac86a32dcc91720635c4947a6fefd62096637 | 33,311,766,360,496 | e4c3a3aaf7573ac9e7d575f620eb97b52929d866 | /src/main/java/ar/utn/dds/services/apiAccuWeather/TemperaturaAccuWeather.java | 30b523ca6044cb33f29b3177f12b2b131f25e3c3 | [] | no_license | Dzukito/Que-me-pongo | https://github.com/Dzukito/Que-me-pongo | adc896786016f240c2dc9e7cd0c69ff7d01ba251 | 811707d71627b51cfddd5506ddeafa2adf4bc600 | refs/heads/master | 2022-03-31T17:02:24.778000 | 2019-12-23T05:17:52 | 2019-12-23T05:17:52 | 229,978,241 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ar.utn.dds.services.apiAccuWeather;
public class TemperaturaAccuWeather {
public Temperatura Minimum;
public Temperatura Maximum;
}
| UTF-8 | Java | 146 | java | TemperaturaAccuWeather.java | Java | [] | null | [] | package ar.utn.dds.services.apiAccuWeather;
public class TemperaturaAccuWeather {
public Temperatura Minimum;
public Temperatura Maximum;
}
| 146 | 0.808219 | 0.808219 | 8 | 17.25 | 17.347549 | 43 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | false | false | 9 |
01c09b2967c70f8a8319d151336283487efacd78 | 5,007,931,881,354 | ab07bd3f84047740260bb7aa29358495c5aea1d8 | /src/main/java/pers/msidolphin/mblog/object/query/ArticleSearch.java | e38b8d02dbe0cba884dd523682bb5bd846795f26 | [
"MIT"
] | permissive | msidolphin/mblog | https://github.com/msidolphin/mblog | 9e5c2565580903d6a06b8fc1ad774607f9762e07 | 89af295e34470e8f5052b7c3f57b0eded393101d | refs/heads/master | 2021-04-15T06:01:09.373000 | 2018-05-17T01:12:53 | 2018-05-17T01:12:53 | 126,844,519 | 7 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | package pers.msidolphin.mblog.object.query;
import lombok.Getter;
import lombok.Setter;
/**
* Created by msidolphin on 2018/5/1.
*/
@Getter
@Setter
public class ArticleSearch extends BaseQuery{
private String title;
private String summary;
}
| UTF-8 | Java | 266 | java | ArticleSearch.java | Java | [
{
"context": "tter;\r\nimport lombok.Setter;\r\n\r\n/**\r\n * Created by msidolphin on 2018/5/1.\r\n */\r\n@Getter\r\n@Setter\r\npublic class",
"end": 124,
"score": 0.9996157288551331,
"start": 114,
"tag": "USERNAME",
"value": "msidolphin"
}
] | null | [] | package pers.msidolphin.mblog.object.query;
import lombok.Getter;
import lombok.Setter;
/**
* Created by msidolphin on 2018/5/1.
*/
@Getter
@Setter
public class ArticleSearch extends BaseQuery{
private String title;
private String summary;
}
| 266 | 0.714286 | 0.691729 | 16 | 14.625 | 15.57191 | 45 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | false | false | 9 |
e297549752ee0f862b8f1d5096b641ab773bd519 | 23,398,981,885,211 | 6f0f631f31b551b42846b3363c71840b66fbf65c | /Logistics distribution center information management system/src/com/nuc/wuliuinterface/WnumberCount.java | f1f228d830b81ee137aebabef35f9b3ead7fb8c0 | [] | no_license | zoreXu/Java | https://github.com/zoreXu/Java | c8a0a89b02bb5da2558a50f29f3842f437526730 | 2ef825eedf47fbc358631b02a68f4f72508a944a | refs/heads/master | 2020-03-22T08:09:04.909000 | 2018-07-05T00:43:39 | 2018-07-05T00:43:39 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.nuc.wuliuinterface;
import java.sql.SQLException;
import java.util.HashMap;
import com.nuc.jdbc.jdbcDrive;
/*
* 计算系统中Warehouse表中Wnumber属性
*/
public class WnumberCount {
HashMap<String,String> wnumber = new HashMap<String,String>();
public WnumberCount() {
String SQL1 = "SELECT Wno, COUNT(Gno) 仓库货物数... | GB18030 | Java | 1,139 | java | WnumberCount.java | Java | [] | null | [] | package com.nuc.wuliuinterface;
import java.sql.SQLException;
import java.util.HashMap;
import com.nuc.jdbc.jdbcDrive;
/*
* 计算系统中Warehouse表中Wnumber属性
*/
public class WnumberCount {
HashMap<String,String> wnumber = new HashMap<String,String>();
public WnumberCount() {
String SQL1 = "SELECT Wno, COUNT(Gno) 仓库货物数... | 1,139 | 0.698643 | 0.695023 | 43 | 24.697674 | 24.42124 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.186047 | false | false | 9 |
db2f60bcfb6d159a8bffa2c52ff787f45044ab8c | 7,619,272,005,741 | 6125e3a17c8c591e968d64673808a2a301c7763e | /NaiveBayesClassifier/src/NaiveBayesClassifier.java | 8da2b12cdce38724818431a7f5be886a098904b8 | [] | no_license | pranavenzo/GenericGaussianNaiveBayesClassifier | https://github.com/pranavenzo/GenericGaussianNaiveBayesClassifier | 51ce48f203049d92fd9cdfa1940da51c7f72aac5 | aa3d14737bb32e136c533cb2289d59fe6d3ae8aa | refs/heads/master | 2021-01-21T07:17:10.997000 | 2017-05-18T21:41:41 | 2017-05-18T21:41:41 | 91,608,584 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.*;
//Dependent variable is in the first column
//Assumming Gaussian Distribution of predictor variables
public class NaiveBayesClassifier {
String filename; // name of the file
InputStream inStream... | UTF-8 | Java | 7,344 | java | NaiveBayesClassifier.java | Java | [] | null | [] | import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.*;
//Dependent variable is in the first column
//Assumming Gaussian Distribution of predictor variables
public class NaiveBayesClassifier {
String filename; // name of the file
InputStream inStream... | 7,344 | 0.546432 | 0.540305 | 223 | 31.93722 | 26.696192 | 126 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.690583 | false | false | 9 |
1d70ce5f9b062adfcd9f746b0c4a0856e88415ba | 5,411,658,847,230 | 664cc33d9dd61232a07ba13b8a6d09cd588f79c7 | /app/src/main/java/app/isti/contags/CallsService.java | 2a21b3548b65ed87459df049a57391704cc53bc6 | [] | no_license | Isti01/ConTags | https://github.com/Isti01/ConTags | 62a37e99da3099bc04c1c40846e010d2cb2ab0a3 | c69ce3322454b6cf74d6e8a9a8e977e844d7ded8 | refs/heads/master | 2020-03-09T14:35:03.623000 | 2018-04-09T21:53:53 | 2018-04-09T21:53:53 | 127,154,531 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package app.isti.contags;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ContentResolver;
import android.content.ContentValues;
import andr... | UTF-8 | Java | 35,485 | java | CallsService.java | Java | [] | null | [] | package app.isti.contags;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ContentResolver;
import android.content.ContentValues;
import andr... | 35,485 | 0.55136 | 0.549979 | 1,014 | 33.996056 | 36.094852 | 168 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.567061 | false | false | 9 |
c8f881decb2386ea28bb5aa4e4b516d632feb05c | 6,957,847,075,751 | 68b9f8d9ef2cb67a199e35961e2701e7372634ba | /src/test/java/com/aeon/AbstractBaseTest.java | a209734e09b0d93c3cd30407c21e6f44f619890f | [] | no_license | roshane/spring-jwt-stateless | https://github.com/roshane/spring-jwt-stateless | 4e8000c4ff365b7a2aaf5b1bbb1cd65733b640f6 | a220a45c90717e5c0eb7a41dcc5d41aafcc50165 | refs/heads/master | 2021-01-20T07:15:33.207000 | 2017-03-05T17:21:49 | 2017-03-05T17:21:49 | 83,883,513 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.aeon;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ApplicationBoot.class)
public abstract class AbstractBaseTest {
}
| UTF-8 | Java | 296 | java | AbstractBaseTest.java | Java | [] | null | [] | package com.aeon;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ApplicationBoot.class)
public abstract class AbstractBaseTest {
}
| 296 | 0.834459 | 0.831081 | 10 | 28.6 | 22.410711 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | false | false | 9 |
07d13a8792457da738bf69e02316c8b08fe7264b | 29,025,389,015,293 | c3e35ce2a4256778a5b18cd6925902503335da82 | /basic/src/main/java/ai/code/mikasa/leetcode/S745.java | 868643d0ef07d2e381919b426f1a06f925910b8b | [] | no_license | lenn1024/mikasa | https://github.com/lenn1024/mikasa | bf93d6a660e553908c799fe0ef43b8ec1f23af1f | c63854eba55f84e795a407e4bb79a9009930ead8 | refs/heads/master | 2021-01-15T14:19:48.769000 | 2019-07-11T02:39:03 | 2019-07-11T02:39:03 | 99,687,748 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ai.code.mikasa.leetcode;
import java.util.HashMap;
import java.util.Map;
public class S745 {
public static void main(String[] args){
WordFilterV1 wordFilter = new WordFilterV1(new String[]{"abbbababbb","baaabbabbb","abababbaaa","abbbbbbbba","bbbaabbbaa","ababbaabaa","baaaaabbbb","babbabbabb","aba... | UTF-8 | Java | 2,832 | java | S745.java | Java | [] | null | [] | package ai.code.mikasa.leetcode;
import java.util.HashMap;
import java.util.Map;
public class S745 {
public static void main(String[] args){
WordFilterV1 wordFilter = new WordFilterV1(new String[]{"abbbababbb","baaabbabbb","abababbaaa","abbbbbbbba","bbbaabbbaa","ababbaabaa","baaaaabbbb","babbabbabb","aba... | 2,832 | 0.424731 | 0.417563 | 93 | 29 | 27.260984 | 196 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.655914 | false | false | 9 |
c6d677c1e296c623f2d7fa907a713aca18638a5d | 2,327,872,297,530 | ea9b72a6dce8cad01f22dea3f25d81d549a86da3 | /Individual/백준/Main_B_G4_1717_집합의표현.java | bcfc4c8ac0e75c2cc51802a37e692b8d3f9df0fb | [] | no_license | milkcat1994/SSAFY_Algorithm_Study | https://github.com/milkcat1994/SSAFY_Algorithm_Study | d0777a14448b54028e381fb6b010a81c5f457810 | 033c885d505ed07ddcac344595f04d0f26d0aac4 | refs/heads/master | 2022-01-01T00:56:39.179000 | 2021-11-27T03:49:53 | 2021-11-27T03:49:53 | 236,709,267 | 4 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
/*
* -집합의 표현-
*/
//출처 : https://www.acmicpc.net/problem/1717
public class Main_B_G4_1717_집합의표현 {
static int[] parent;
static void init(int N) {
parent = new int[N];
Arrays.fill(parent,... | UTF-8 | Java | 1,430 | java | Main_B_G4_1717_집합의표현.java | Java | [] | null | [] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
/*
* -집합의 표현-
*/
//출처 : https://www.acmicpc.net/problem/1717
public class Main_B_G4_1717_집합의표현 {
static int[] parent;
static void init(int N) {
parent = new int[N];
Arrays.fill(parent,... | 1,430 | 0.637269 | 0.6266 | 63 | 21.317461 | 21.40748 | 96 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.333333 | false | false | 9 |
84bbb9ff03482a4528fce8d9aa7d0379843488bb | 15,625,091,085,272 | 31d335517c267e30a8c985982962182ee33da5da | /homework4/myaccount/model/Account.java | bb05b89177f4b5dd6e8822cd011620f02146ac44 | [] | no_license | ShowLo/JAVA_Learing | https://github.com/ShowLo/JAVA_Learing | 7ee68d786cffe744c31edebf0509742146081811 | 25e000754e200d5459209d96ee5da9377341da77 | refs/heads/master | 2021-01-21T02:11:30.684000 | 2017-03-29T10:24:20 | 2017-03-29T10:24:20 | 54,193,210 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package myaccount.model;
import java.util.List;
import java.util.Date;
public abstract class Account
{
protected String name;
protected String type;
protected String accountNumber;
protected String description;
protected Person belongto;
protected String currency;
protected List dealList;
public abstract S... | UTF-8 | Java | 1,267 | java | Account.java | Java | [] | null | [] | package myaccount.model;
import java.util.List;
import java.util.Date;
public abstract class Account
{
protected String name;
protected String type;
protected String accountNumber;
protected String description;
protected Person belongto;
protected String currency;
protected List dealList;
public abstract S... | 1,267 | 0.74191 | 0.74191 | 73 | 16.356165 | 15.387568 | 70 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.452055 | false | false | 9 |
7cbdf0f06de9696404b73d85238a9e1afc68ff5b | 10,041,633,573,563 | 137e06073651bc9b230c9947a14ff08f8c844ad5 | /Shared/src/simulator/Food.java | ad5559b0bd5ed94568183333f95bd34690b7d79c | [] | no_license | pertschuk/2112-Final | https://github.com/pertschuk/2112-Final | 59171bafc5958bcb466019cdf3c3322538dcf519 | 5231b3488fee7d75519025e2122b0b57093b7ed9 | refs/heads/master | 2021-05-31T16:02:32.986000 | 2015-12-04T05:04:49 | 2015-12-04T05:04:49 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package simulator;
public class Food extends Hex {
private int food;
/**
* Constructor for a food object
* @param r row
* @param c column
* @param food amount of food
*/
public Food(int c, int r, int food){
this.r = r;
this.c = c;
this.food = food;
}
/**
*
* @return The amount of food on... | UTF-8 | Java | 643 | java | Food.java | Java | [] | null | [] | package simulator;
public class Food extends Hex {
private int food;
/**
* Constructor for a food object
* @param r row
* @param c column
* @param food amount of food
*/
public Food(int c, int r, int food){
this.r = r;
this.c = c;
this.food = food;
}
/**
*
* @return The amount of food on... | 643 | 0.59098 | 0.589425 | 41 | 14.682927 | 11.818627 | 40 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.487805 | false | false | 9 |
0f23c8fbe192e412721615f2b3a9700720b2f33a | 23,106,924,053,534 | 1718d541e81f1c61ad76ecef47eb0fbc06eb25a3 | /src/cit/workflow/engine/manager/server/EC2ServerController.java | 7de782cba63e5664b5879fdd7e8a9237877ffd77 | [] | no_license | Syncret/cit.workflow.engine.manager | https://github.com/Syncret/cit.workflow.engine.manager | 434f207627c24c57afd51a6b3209e5159d5f4e00 | 23b61125e25c9884d4a75aa483b33d55d42b4432 | refs/heads/master | 2021-01-19T08:14:25.571000 | 2020-05-26T03:03:51 | 2020-05-26T03:03:51 | 15,020,780 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package cit.workflow.engine.manager.server;
import org.eclipse.ui.IWorkbenchWindow;
import cit.workflow.engine.manager.data.ServerAgent;
import cit.workflow.engine.manager.views.NavigationView;
import cit.workflow.webservice.AwsUtility;
public class EC2ServerController implements ServerControllerInterface{
private ... | UTF-8 | Java | 814 | java | EC2ServerController.java | Java | [] | null | [] | package cit.workflow.engine.manager.server;
import org.eclipse.ui.IWorkbenchWindow;
import cit.workflow.engine.manager.data.ServerAgent;
import cit.workflow.engine.manager.views.NavigationView;
import cit.workflow.webservice.AwsUtility;
public class EC2ServerController implements ServerControllerInterface{
private ... | 814 | 0.793612 | 0.780098 | 31 | 25.258064 | 21.839544 | 70 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.354839 | false | false | 9 |
6c9c20d5c6d2720ef3b0283767cbd62916f9efac | 31,619,549,240,016 | 5cd9bd20d14f7b34e7130b539ce635420f1506e0 | /src/main/java/com/user/controller/CustomerController.java | 62af5582c0d2799c63a68497fb57fc6ec71ce8e4 | [] | no_license | khshah2910/crud | https://github.com/khshah2910/crud | 96944e6d00d7ca33dcfdc648130950f3ea58233e | 6c87ff40ad9be4f9fcf08b3ef2de92e4b2d6515a | refs/heads/master | 2020-03-08T07:36:55.200000 | 2018-04-04T03:00:55 | 2018-04-04T03:00:55 | 127,998,882 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.user.controller;
import com.user.model.Customer;
import com.user.repository.CustomerMangoRepositoryImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.... | UTF-8 | Java | 2,498 | java | CustomerController.java | Java | [] | null | [] | package com.user.controller;
import com.user.model.Customer;
import com.user.repository.CustomerMangoRepositoryImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.... | 2,498 | 0.711369 | 0.709768 | 72 | 33.694443 | 28.086987 | 114 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.472222 | false | false | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.