id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
04965edc-a462-4973-8f40-027f9df2736f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-08 21:43:15", "repo_name": "dikart/billing", "sub_path": "/src/test/java/com/rfl/billing/UserTestData.java", "file_name": "UserTestData.java", "file_ext": "java", "file_size_in_byte": 1160, "line_count": 36, "... | https://github.com/dikart/billing | 254 | FILENAME: UserTestData.java | 0.281406 | package com.rfl.billing;
import com.rfl.billing.model.Role;
import com.rfl.billing.model.User;
import java.util.Collections;
import static com.rfl.billing.model.AbstractBaseEntity.START_SEQ;
public class UserTestData {
public static final TestMatcher<User> USER_MATCHER = TestMatcher.usingIgnoringFieldsComparato... |
d7520411-9ce9-4d0a-a59e-7a7847d38bcc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-30 18:15:02", "repo_name": "g-rauhoeft/enchantment", "sub_path": "/src/net/lunareffect/enchantment/results/PageAdapter.java", "file_name": "PageAdapter.java", "file_ext": "java", "file_size_in_byte": 1070, "li... | https://github.com/g-rauhoeft/enchantment | 217 | FILENAME: PageAdapter.java | 0.291787 | package net.lunareffect.enchantment.results;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
public class PageAdapter extends BaseAdapter{
private Activity ... |
b95e1480-0bb3-480c-bed3-28950bf432b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-28 05:26:52", "repo_name": "markuslamm/tree", "sub_path": "/src/test/java/proventis/tree/AbstractIntegrationTest.java", "file_name": "AbstractIntegrationTest.java", "file_ext": "java", "file_size_in_byte": 103... | https://github.com/markuslamm/tree | 207 | FILENAME: AbstractIntegrationTest.java | 0.252384 | /**
*
*/
package proventis.tree;
import javax.inject.Inject;
import neo4j.tree.config.ApplicationConfig;
import org.junit.runner.RunWith;
import org.springframework.data.neo4j.support.Neo4jTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.Spring... |
08b37fce-b5e2-43e6-95e4-dfdf0993d613 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 02:17:05", "repo_name": "SaadBenn/Go2Fit", "sub_path": "/Go2Fit/source/app/src/androidTest/java/comp3350/srsys/LogInAcceptanceTest.java", "file_name": "LogInAcceptanceTest.java", "file_ext": "java", "file_s... | https://github.com/SaadBenn/Go2Fit | 249 | FILENAME: LogInAcceptanceTest.java | 0.275909 | package comp3350.srsys;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import comp3350.go2fit.Application.StartUp;
import comp3350.go2fit.R;
import static android.support.test.espress... |
573ba05b-810c-4175-809e-9421dd3ec294 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-04 02:26:30", "repo_name": "heylichen/IRLab", "sub_path": "/src/main/java/com/heylichen/ir/booleanretrieval/Term.java", "file_name": "Term.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 55,... | https://github.com/heylichen/IRLab | 250 | FILENAME: Term.java | 0.255344 | package com.heylichen.ir.booleanretrieval;
import java.util.Objects;
import lombok.Getter;
import lombok.Setter;
/**
* Created by Chen Li on 2018/8/4.
*/
@Getter
@Setter
public class Term implements Comparable<Term> {
private String term;
private int docFrequency;
public Term(String term) {
this.term =... |
b7547896-3dff-4d62-b2bf-b8659e884c72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-24T13:51:56", "repo_name": "alphagov/govuk-aws", "sub_path": "/docs/architecture/decisions/0022-remove-the-elasticsearch-proxy.md", "file_name": "0022-remove-the-elasticsearch-proxy.md", "file_ext": "md", ... | https://github.com/alphagov/govuk-aws | 247 | FILENAME: 0022-remove-the-elasticsearch-proxy.md | 0.212069 | # 22. Remove the Elasticsearch proxy
Date: 2017-08-16
## Status
Accepted
## Context
We currently have a local nginx based proxy for Elasticsearch connections
on a number of our machines. The original reason for this was:
```
Load balance connections to Elasticsearch by creating a loopback-only
vhost in Nginx whic... |
18bdc694-6d85-436e-a38d-24ba13921b49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-04 04:45:15", "repo_name": "Stealth2800/SimplePromoter", "sub_path": "/src/main/java/com/stealthyone/mcb/simplepromoter/UpdateCheckRunnable.java", "file_name": "UpdateCheckRunnable.java", "file_ext": "java", "... | https://github.com/Stealth2800/SimplePromoter | 233 | FILENAME: UpdateCheckRunnable.java | 0.278257 | package com.stealthyone.mcb.simplepromoter;
import com.stealthyone.mcb.simplepromoter.SimplePromoter.Log;
import com.stealthyone.mcb.simplepromoter.config.ConfigHelper;
public final class UpdateCheckRunnable implements Runnable {
private SimplePromoter plugin;
public UpdateCheckRunnable(SimplePromoter plugin) ... |
db4c9e0e-befe-484a-aa50-dc40c0422599 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 13:14:39", "repo_name": "seerdaryilmazz/OOB", "sub_path": "/kartoteks-service/src/main/java/ekol/kartoteks/domain/validator/MultiThreading.java", "file_name": "MultiThreading.java", "file_ext": "java", "fil... | https://github.com/seerdaryilmazz/OOB | 252 | FILENAME: MultiThreading.java | 0.284576 | package ekol.kartoteks.domain.validator;
/**
* Created by Dogukan Sahinturk on 16.03.2020
*/
public class MultiThreading implements Runnable {
private Thread t;
private String threadName;
MultiThreading( String name) {
threadName = name;
System.out.println("Creating " + threadName );
... |
7a6c4feb-824d-4db3-8bae-8b0763bb7311 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-31 10:20:13", "repo_name": "4deepanshu/Android-Development", "sub_path": "/ChildShieldParent/app/src/main/java/com/schoolshieldparent_ui/controller/helper/custom_functions/SoftKeyboard.java", "file_name": "Sof... | https://github.com/4deepanshu/Android-Development | 183 | FILENAME: SoftKeyboard.java | 0.252384 | package com.schoolshieldparent_ui.controller.helper.custom_functions;
import android.app.Activity;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import com.schoolshieldparent_ui.view.custom_controls.EditText_Regular;
/**
* Created by root on 17/8/16.
... |
67a9ce12-366e-4920-8e8b-a37c2f3cb4bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-31 12:00:29", "repo_name": "AnthonyOrtiz/Reserva_Salas_UTPL", "sub_path": "/src/logica/Expresiones.java", "file_name": "Expresiones.java", "file_ext": "java", "file_size_in_byte": 1160, "line_count": 59, "lang... | https://github.com/AnthonyOrtiz/Reserva_Salas_UTPL | 268 | FILENAME: Expresiones.java | 0.282988 | /*
* 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 logica;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JTextField;
/**
*
* @author Sala... |
ed0f284c-c2e9-42bc-870d-b6f0c3d9dce8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-07 14:51:18", "repo_name": "MickeyDang/Konnect", "sub_path": "/app/src/main/java/mmd/konnect/Activities/MapActivity.java", "file_name": "MapActivity.java", "file_ext": "java", "file_size_in_byte": 988, "line_c... | https://github.com/MickeyDang/Konnect | 159 | FILENAME: MapActivity.java | 0.20947 | package mmd.konnect.Activities;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import mmd.konnect.Fragments.MapFragment;
import mmd.konnect.R;
public class MapActivity extends AppCompatActivi... |
ebbaeede-a13f-411c-a13c-d9edd87b4214 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 17:02:10", "repo_name": "GavinMarsh/scalperBot", "sub_path": "/src/main/java/Activate.java", "file_name": "Activate.java", "file_ext": "java", "file_size_in_byte": 1094, "line_count": 31, "lang": "en", "doc... | https://github.com/GavinMarsh/scalperBot | 224 | FILENAME: Activate.java | 0.264358 | import org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.InlineKeyboardButton;
import java.util.ArrayList;
import java.util.List;
public class Activate {
public static void command() {
Bot.messageDelete(); //delete previous message
Bot.setAddKeyboard(true); // add a new keyboard
... |
95e7bf35-8c38-47f5-83b1-19768d9c58d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-19 09:09:05", "repo_name": "woutbr/sosit18", "sub_path": "/Sosit18/src/java/be/hbo5/java/menu/MenuLink.java", "file_name": "MenuLink.java", "file_ext": "java", "file_size_in_byte": 978, "line_count": 41, "lang... | https://github.com/woutbr/sosit18 | 232 | FILENAME: MenuLink.java | 0.242206 | package be.hbo5.java.menu;
/**
* @author woutbr@student.hik.be
*/
public class MenuLink extends MenuItem{
private String outcome;
public MenuLink(String name, String roles, String href) {
super(name, roles);
this.outcome = href;
}
public String getOutcome() {
return outcome;... |
2977e812-6760-4706-bf08-d4dbc606cb0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 14:48:23", "repo_name": "lsecotaro/svc-auto-admin-site", "sub_path": "/src/main/java/com/devsupernova/autoadminsite/restservice/categories/CategoryService.java", "file_name": "CategoryService.java", "file_e... | https://github.com/lsecotaro/svc-auto-admin-site | 169 | FILENAME: CategoryService.java | 0.259826 | package com.devsupernova.autoadminsite.restservice.categories;
import com.devsupernova.autoadminsite.restservice.utils.IdGenerator;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.stream.Collectors;
@Service
@RequiredArgsConstructor
public... |
4afb4f4f-402d-48bc-a144-065714232c04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-28T13:38:28", "repo_name": "loudy-art/ZoomLinks", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1053, "line_count": 21, "lang": "en", "doc_type": "text", "blob_... | https://github.com/loudy-art/ZoomLinks | 235 | FILENAME: README.md | 0.2227 | # ZoomLinks
Zoom links is a simple Python program that can automate sending e-mails to multiple people on an .xlsx file.
How it works?
> You run the program ->
> select the .xlsx file that contains NAME and EMAIL ->
> paste the URL that you wanna send on your e-mail, which in my case, was a Zoom recording link.
Wh... |
39093a28-8bad-45fe-a519-c5e4d42b5162 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-28 18:53:03", "repo_name": "minemeraj/assignment6", "sub_path": "/Source/jhotdraw7/src/main/java/de/rwth/swc/oosc/group111/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 990, "l... | https://github.com/minemeraj/assignment6 | 244 | FILENAME: Main.java | 0.279828 | package de.rwth.swc.oosc.group111;
import org.jhotdraw.app.Application;
import org.jhotdraw.app.OSXApplication;
import org.jhotdraw.app.SDIApplication;
import org.jhotdraw.util.ResourceBundleUtil;
public class Main {
/** Creates a new instance. */
public static void main(String[] args) {
// Debug resour... |
a61ffe36-0537-4f62-8199-3f9a2ddaba54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-28 02:31:10", "repo_name": "Samders/CorpoAgroHJC", "sub_path": "/app/src/main/java/com/alberthneerans/corpoagrohjc/MediosFragment.java", "file_name": "MediosFragment.java", "file_ext": "java", "file_size_in_by... | https://github.com/Samders/CorpoAgroHJC | 217 | FILENAME: MediosFragment.java | 0.221351 | package com.alberthneerans.corpoagrohjc;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
/**
* A simple {@link Fragment} subclass.
*/
public c... |
1de67f74-ed8c-4c52-910a-24dd264a5c65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-05 22:35:08", "repo_name": "dhutchison/microprofile-experiments", "sub_path": "/src/main/java/com/devwithimagination/microprofile/experiments/config/featureflag/FeatureConverter.java", "file_name": "FeatureCon... | https://github.com/dhutchison/microprofile-experiments | 198 | FILENAME: FeatureConverter.java | 0.220007 | package com.devwithimagination.microprofile.experiments.config.featureflag;
import javax.json.bind.Jsonb;
import javax.json.bind.JsonbBuilder;
import org.eclipse.microprofile.config.spi.Converter;
/**
* Implementation of Converter for converting our string representation into the
* Feature POJO.
*/
public class F... |
9c4adf22-4a9f-467b-9802-3afa6e85377b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-27 01:03:09", "repo_name": "Biscottezi/OnlineShoppingSystem", "sub_path": "/src/java/order/totalInOrderTable.java", "file_name": "totalInOrderTable.java", "file_ext": "java", "file_size_in_byte": 993, "line_co... | https://github.com/Biscottezi/OnlineShoppingSystem | 223 | FILENAME: totalInOrderTable.java | 0.253861 | /*
* 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 order;
import java.io.Serializable;
import java.sql.Date;
/**
*
* @author ASUS
*/
public class totalInOrderTable implement... |
37880ebd-cc1e-4322-b427-02fe559b02cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-20 07:07:58", "repo_name": "evstpetr/SystemInfoClient", "sub_path": "/src/ru/pes/systeminfoclient/objects/Net.java", "file_name": "Net.java", "file_ext": "java", "file_size_in_byte": 1160, "line_count": 61, "l... | https://github.com/evstpetr/SystemInfoClient | 277 | FILENAME: Net.java | 0.255344 | package ru.pes.systeminfoclient.objects;
import java.io.Serializable;
public class Net implements Serializable{
private String ipAddr;
private String macAddr;
private String pcName;
public Net(String ipAddr, String macAddr, String pcName){
this.ipAddr = ipAddr;
... |
3d74e4ed-1098-4a59-a02b-4514cd5dbadb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-06 08:54:02", "repo_name": "BidsTeam/LandOfDKL_project", "sub_path": "/src/main/java/util/HibernateUtil.java", "file_name": "HibernateUtil.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 33... | https://github.com/BidsTeam/LandOfDKL_project | 185 | FILENAME: HibernateUtil.java | 0.267408 | package util;
import org.apache.logging.log4j.Logger;
import org.hibernate.HibernateException;
import org.hibernate.SessionFactory;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.ServiceRegistry;
public class HibernateUtil {
... |
23015e73-fa3d-4068-b8b3-5b9de4789ef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-06 09:59:33", "repo_name": "maxfeldman99/SolEMobileUnit", "sub_path": "/app/src/main/java/com/example/maxfeldman/sole_mobileunit/Main/models/Request.java", "file_name": "Request.java", "file_ext": "java", "fil... | https://github.com/maxfeldman99/SolEMobileUnit | 245 | FILENAME: Request.java | 0.261331 | package com.example.maxfeldman.sole_mobileunit.Main.models;
import com.example.maxfeldman.sole_mobileunit.Main.models.MotorRequest;
import java.util.ArrayList;
public class Request
{
private String id;
ArrayList<MotorRequest> sequence;
int sizeOfSequence;
public Request(){}
public Request(Strin... |
cdfced01-7fb4-457d-a3a3-fe82d8b9827c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-05 08:48:59", "repo_name": "mhearttzw/wangxin-demo", "sub_path": "/src/main/java/com/wangxin/springboot/common/utils/LogAnnotationWrapperUtil.java", "file_name": "LogAnnotationWrapperUtil.java", "file_ext": "j... | https://github.com/mhearttzw/wangxin-demo | 186 | FILENAME: LogAnnotationWrapperUtil.java | 0.23793 | package com.wangxin.springboot.common.utils;
import com.wangxin.springboot.common.annotation.Log;
import javassist.NotFoundException;
public class LogAnnotationWrapperUtil {
private volatile static LogAnnotationWrapperUtil awu;
private LogAnnotationWrapperUtil() {
}
public static LogAnnotationWrap... |
f8b71189-371c-4b7e-9c4b-4dbd7d6b5482 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-31 05:55:19", "repo_name": "nuzzz/ConspecDashboard", "sub_path": "/src/main/java/com/example/helper/TodoistConfig.java", "file_name": "TodoistConfig.java", "file_ext": "java", "file_size_in_byte": 991, "line_c... | https://github.com/nuzzz/ConspecDashboard | 201 | FILENAME: TodoistConfig.java | 0.220007 | package com.example.helper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class TodoistConfig {
@Value("#{environment.TODOIST_CLIENT_ID}")
private String clientID;
@... |
d0317803-a54d-4ba8-b47c-c820e013cc2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-30 22:52:14", "repo_name": "x-lin/publications-lod-quality", "sub_path": "/src/main/java/at/ac/tuwien/ifs/semweb/publications/WebApplication.java", "file_name": "WebApplication.java", "file_ext": "java", "file... | https://github.com/x-lin/publications-lod-quality | 232 | FILENAME: WebApplication.java | 0.224055 | package at.ac.tuwien.ifs.semweb.publications;
import at.ac.tuwien.ifs.semweb.publications.restclient.PublikExtractor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.ht... |
ed3a450e-7e9d-43e6-be38-e56ffa4f8efd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-28 18:22:37", "repo_name": "gurubabujampala/management", "sub_path": "/common/src/main/java/com/guru/management/common/httpentity/GenericHttpEntity.java", "file_name": "GenericHttpEntity.java", "file_ext": "ja... | https://github.com/gurubabujampala/management | 210 | FILENAME: GenericHttpEntity.java | 0.267408 | package com.telstra.tdm.common.httpentity;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
/**
* Generic method to build and create httpEntity object
*
* @param actionRequestObject
* @param tokenValue
*
* @return httpEntity
*... |
82689c9d-c836-4128-8ad1-af46ca91f290 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-22 22:15:49", "repo_name": "eletxi84/AppSpringMyBatis", "sub_path": "/AppSpringMyBatis-WEB/src/org/eletxi/app/web/springmvc/SpringMvcInit.java", "file_name": "SpringMvcInit.java", "file_ext": "java", "file_siz... | https://github.com/eletxi84/AppSpringMyBatis | 194 | FILENAME: SpringMvcInit.java | 0.23092 | package org.eletxi.app.web.springmvc;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration;
import org.springframework.web.WebApplicationInitializer;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.sup... |
52dff5c6-1c31-49c2-901c-2190ea8da99a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 23:34:14", "repo_name": "qiuchili/ggnn_graph_classification", "sub_path": "/program_data/JavaProgramData/33/3309.java", "file_name": "3309.java", "file_ext": "java", "file_size_in_byte": 1089, "line_count":... | https://github.com/qiuchili/ggnn_graph_classification | 431 | FILENAME: 3309.java | 0.285372 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
int n;
int m;
int i;
int j;
char[][] zfc = new char[1000][1000];
String tempVar = ConsoleInput.scanfRead();
if (tempVar != null)
{
n = Integer.parseInt(tempVar);
}
for (i = 0;i < n;i++)
{
String tempVar2 = ConsoleI... |
0d0875fe-3d1a-48cb-a3c1-4667891e6cb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-13 13:39:22", "repo_name": "Montego/terminalMock", "sub_path": "/src/main/java/com/terminalmock/test/entities/dictionary/Subject.java", "file_name": "Subject.java", "file_ext": "java", "file_size_in_byte": 113... | https://github.com/Montego/terminalMock | 240 | FILENAME: Subject.java | 0.294215 | package com.terminalmock.test.entities.dictionary;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor... |
ba47bc13-fed6-4570-861d-df38292ee10f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-01-24 22:32:02", "repo_name": "marsavela/SportStats", "sub_path": "/src/adm/werock/sportstats/basics/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 62, "lang": "... | https://github.com/marsavela/SportStats | 238 | FILENAME: User.java | 0.23092 | package adm.werock.sportstats.basics;
/**
* @author Sergiu Daniel Marsavela This Class represents a User that will use
* the service.
*/
public class User {
private String email;
private String name;
private String password;
/**
* @param email
* @param name
* @param password
*/
public User(St... |
11e83200-b38f-4b6c-aad7-26ec917f4627 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-26 14:31:14", "repo_name": "HN605/cc", "sub_path": "/common/src/main/java/com/example/demo/execute/StatementClient.java", "file_name": "StatementClient.java", "file_ext": "java", "file_size_in_byte": 1161, "li... | https://github.com/HN605/cc | 199 | FILENAME: StatementClient.java | 0.279828 | package com.example.demo.execute;
import com.example.demo.common.ApplicationContextHelper;
import com.example.demo.service.StatementHandle;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import ... |
601e9063-df34-4a60-8cf8-f17b2a9d74ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-02 21:49:01", "repo_name": "toroktibor/partyappandroid", "sub_path": "/src/hu/schonherz/y2014/partyappandroid/util/datamodell/GaleryImage.java", "file_name": "GaleryImage.java", "file_ext": "java", "file_size_... | https://github.com/toroktibor/partyappandroid | 211 | FILENAME: GaleryImage.java | 0.2227 | package hu.schonherz.y2014.partyappandroid.util.datamodell;
import hu.schonherz.y2014.partyappandroid.ImageUtils;
import android.graphics.Bitmap;
public class GaleryImage {
private Bitmap bitmap;
private Bitmap bitmap_thumbnail;
private int id;
public GaleryImage(int id, Bitmap bitmap_thumbnail) {
... |
7ead548c-41e5-4d64-8462-9d06ca01d568 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 11:54:08", "repo_name": "toanntit96/network-programming", "sub_path": "/RMI/ATM/ATM/src/atm/ClClass.java", "file_name": "ClClass.java", "file_ext": "java", "file_size_in_byte": 1162, "line_count": 42, "lang... | https://github.com/toanntit96/network-programming | 244 | FILENAME: ClClass.java | 0.286169 | /*
* 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 atm;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteE... |
4c829f9a-509d-4f18-bdcb-9ddd081938b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-20 17:11:57", "repo_name": "Mangalashri/Android-Lab-Exercises", "sub_path": "/app/src/main/java/com/example/mangalashri/androidlab/T2SActivity.java", "file_name": "T2SActivity.java", "file_ext": "java", "file_... | https://github.com/Mangalashri/Android-Lab-Exercises | 225 | FILENAME: T2SActivity.java | 0.267408 | package com.example.mangalashri.androidlab;
import android.speech.tts.TextToSpeech;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import java.util.Locale;
public class T2SActivity extends AppCompatAct... |
70fd8aa7-a115-47f8-b39b-a01090ca7923 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-10 05:42:25", "repo_name": "soulofwolf/YaWSpleef", "sub_path": "/src/main/java/us/iluthi/soulofw0lf/yawspleef/loaders/InventoryLoader.java", "file_name": "InventoryLoader.java", "file_ext": "java", "file_size_... | https://github.com/soulofwolf/YaWSpleef | 264 | FILENAME: InventoryLoader.java | 0.282988 | package us.iluthi.soulofw0lf.yawspleef.loaders;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
import us.iluthi.soulofw0lf.yawspleef.YaWSpleef;
import us.iluthi.soulofw0lf.yawspleef.utility.Chat;
/**
* Created by: soulofw0lf
* Date: 8/7/13
* Time: 3:40 PM
*/
publ... |
4a45c384-d996-4bf3-9d8e-10f56e0790fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-05 22:55:47", "repo_name": "arv124/Lab2B_Team2", "sub_path": "/src/lab2b_team2/Checks.java", "file_name": "Checks.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 43, "lang": "en", "doc_type"... | https://github.com/arv124/Lab2B_Team2 | 200 | FILENAME: Checks.java | 0.240775 | /*
* 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 lab2b_team2;
/**
*
* @author Alex
*/
public class Checks {
public int checkNumber = 0;
public do... |
7bef2933-991c-4504-9e9b-0ea4e93f2d99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-09 14:10:01", "repo_name": "hqw-1997/spring-boot01", "sub_path": "/src/main/java/com/example/dto/ResultDto.java", "file_name": "ResultDto.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 47,... | https://github.com/hqw-1997/spring-boot01 | 230 | FILENAME: ResultDto.java | 0.283781 | package com.example.dto;
import com.example.exception.CustomException;
import com.example.exception.ECustomException;
public class ResultDto<T> {
private int code;
private String message;
private T data;
public int getCode() {
return code;
}
public void setCode(int code) {
th... |
68586ffc-5635-4e6a-92e4-8c9edfdb26e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-14T09:38:00", "repo_name": "loulafripouille/jekyll-dock-starter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1160, "line_count": 34, "lang": "en", "doc_type"... | https://github.com/loulafripouille/jekyll-dock-starter | 313 | FILENAME: README.md | 0.264358 |
# A minimal jekyll kickstart project using docker (or docker-compose)
This project was made with the idea of sharing a similar dev environment between different OS (OSX, Win, Linux) and without the need of installing ruby & Cie on our local machines. So we looked at jekyll/docker project. And started to try using it.... |
1ddc65e2-6e5c-4826-8394-9866385a41b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-10 11:53:22", "repo_name": "key2wen/jorigin", "sub_path": "/origin/src/test/java/com/key/jorigin/rocketmq/transactional/TransactionExecuterImpl.java", "file_name": "TransactionExecuterImpl.java", "file_ext": "... | https://github.com/key2wen/jorigin | 201 | FILENAME: TransactionExecuterImpl.java | 0.246533 | package com.key.jorigin.rocketmq.transactional;
import com.alibaba.rocketmq.client.producer.LocalTransactionExecuter;
import com.alibaba.rocketmq.client.producer.LocalTransactionState;
import com.alibaba.rocketmq.common.message.Message;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 执行本地事务
*/
public clas... |
b56f26e0-64d4-431a-8cfb-8a0748908a6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-16 19:41:49", "repo_name": "RachidAbbad/Jee_recrutement", "sub_path": "/src/main/java/com/Models/EntretienEntity.java", "file_name": "EntretienEntity.java", "file_ext": "java", "file_size_in_byte": 974, "line_... | https://github.com/RachidAbbad/Jee_recrutement | 231 | FILENAME: EntretienEntity.java | 0.246533 | package com.Models;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "entretien", schema = "dbo", catalog = "jee_recrutement")
public class EntretienEntity {
private int id;
private String resultat;
@Id
@Column(name = "id")
public int getId() {
return id;
}
... |
f6071d26-3e73-411e-8acc-7de03cee3cd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-04-23T23:29:58", "repo_name": "bryanberger/OrigamiQuartzDemo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1076, "line_count": 23, "lang": "en", "doc_type": "tex... | https://github.com/bryanberger/OrigamiQuartzDemo | 239 | FILENAME: README.md | 0.264358 | ## Origami + Quartz Composer Demo
List view and detail view interaction animation. I am using Origami and Quartz composer for the Mac.
It is extremely simple to interchange interaction and animation types. In this test demo I change from a scale+fade to a slide out, no compiling or rendering, it simply works. This i... |
2ab00e0f-151d-45b7-bf9e-d7d4eaefd4c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-08 13:35:31", "repo_name": "Rahghul/Infralog", "sub_path": "/app/src/main/java/com/sncf/itif/Menu/ActAboutUs.java", "file_name": "ActAboutUs.java", "file_ext": "java", "file_size_in_byte": 1231, "line_count": ... | https://github.com/Rahghul/Infralog | 218 | FILENAME: ActAboutUs.java | 0.228156 | package com.sncf.itif.Menu;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Html;
import android.view.MenuItem;
import android.widget.TextView;
import android.widget.Toast;
import com.sncf.itif.R;
public class ActAboutUs extends AppCompatActivity {
TextView tvAbout... |
80d35d44-74bf-4951-be72-ebcac413bd50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 22:14:56", "repo_name": "batman59/java_tests", "sub_path": "/src/main/java/com/company/Billing.java", "file_name": "Billing.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 51, "lang": "en... | https://github.com/batman59/java_tests | 203 | FILENAME: Billing.java | 0.235108 | package com.company;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Josef on 12.03.2018.
*/
public class Billing {
private List<Convention> conventionList=new ArrayList<Convention>();
private String client;
private String date;
private String reference;
public String getCl... |
b95c3835-53a8-4a5e-b56b-87aa56101ae7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 10:18:22", "repo_name": "htr3n/dera", "sub_path": "/src/main/java/dera/rest/GET.java", "file_name": "GET.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 43, "lang": "en", "doc_type": "co... | https://github.com/htr3n/dera | 246 | FILENAME: GET.java | 0.290176 | package dera.rest;
import dera.util.FireAndForget;
import dera.util.RequestReply;
import dera.util.TextUtil;
import org.apache.http.client.methods.HttpGet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.URI;
import java.net.URISyntaxException;
public final class GET {
private static fi... |
147db8c5-2fad-401e-a573-274fa15c174f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-05 16:58:11", "repo_name": "mkghosh/TUP-VU-01", "sub_path": "/SwingInitial/src/com/my_package/SwingDemo.java", "file_name": "SwingDemo.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 43, "l... | https://github.com/mkghosh/TUP-VU-01 | 263 | FILENAME: SwingDemo.java | 0.288569 | package com.my_package;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* @author Mithun Kumer Ghose.
* Created on {2/14/2017}
*/
public class SwingDemo {
public static void main(String[] args) {
JFrame myFrame = new JFrame(... |
1d5beb1a-8864-44b8-b5e5-b6af277977b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 18:56:58", "repo_name": "halilbahar/xibo-on-demand", "sub_path": "/backend-on-demand/src/main/java/at/htl/ondemand/service/XiboTokenService.java", "file_name": "XiboTokenService.java", "file_ext": "java", "... | https://github.com/halilbahar/xibo-on-demand | 218 | FILENAME: XiboTokenService.java | 0.259826 | package at.htl.ondemand.service;
import at.htl.ondemand.model.form.XiboTokenForm;
import at.htl.ondemand.model.xibo.XiboToken;
import org.eclipse.microprofile.rest.client.inject.RestClient;
import org.jboss.logging.Logger;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import java.time... |
ec3d69ea-89e6-4f9a-a07b-92f7a30a94d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-04 12:11:24", "repo_name": "gling-project/server", "sub_path": "/app/be/lynk/server/dto/ChangeEmailDTO.java", "file_name": "ChangeEmailDTO.java", "file_ext": "java", "file_size_in_byte": 1091, "line_count": 48... | https://github.com/gling-project/server | 241 | FILENAME: ChangeEmailDTO.java | 0.233706 | package be.lynk.server.dto;
import be.lynk.server.dto.technical.DTO;
import be.lynk.server.util.constants.ValidationRegex;
import javax.validation.constraints.Pattern;
import java.util.Date;
/**
* Created by florian on 27/12/14.
*/
public class ChangeEmailDTO extends DTO {
@Pattern(regexp = ValidationRegex.... |
554eea92-8fe7-47b7-8d66-4b20c7cc4894 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-06 05:55:54", "repo_name": "Dalejannirmalkar/ExpenseManager", "sub_path": "/app/src/main/java/nirmalkar/dalejan/expensemanager/Flash.java", "file_name": "Flash.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Dalejannirmalkar/ExpenseManager | 196 | FILENAME: Flash.java | 0.23092 | package nirmalkar.dalejan.expensemanager;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import java.util.Timer;
import java.util.TimerTask... |
a98865a4-cd4a-440b-8f7d-6f776b01805d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-23 22:08:10", "repo_name": "OpenGridMap/OpenGridMapApp", "sub_path": "/app/src/main/java/tanuj/opengridmap/models/Payload.java", "file_name": "Payload.java", "file_ext": "java", "file_size_in_byte": 992, "line... | https://github.com/OpenGridMap/OpenGridMapApp | 211 | FILENAME: Payload.java | 0.23793 | package tanuj.opengridmap.models;
import android.content.Context;
import org.json.JSONException;
import org.json.JSONObject;
import tanuj.opengridmap.R;
/**
* Created by Tanuj on 13/10/2015.
*/
public class Payload {
private long submissionId;
private long imageId;
private JSONObject payloadJSON;
... |
6dda083b-38c9-4a57-84b7-2fb5111d170b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-27T16:31:41", "repo_name": "efratrvd/eurovision_social_analysis", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1161, "line_count": 27, "lang": "en", "doc_type"... | https://github.com/efratrvd/eurovision_social_analysis | 250 | FILENAME: README.md | 0.285372 | # Eurovision Social Analysis
NLP-SD project - An analysis of social behaviors in the Eurovision
## Overview
In this project we show an empirical analysis of intersting public opinions regarding social behaviors in the Eurovision Song Contest.
Here you can find the following:
- Our full report describing the motivati... |
2d161e38-8dea-48b1-af93-8f86cb46117e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-11 04:42:06", "repo_name": "rwz657026189/mvvmframe", "sub_path": "/baselist/src/main/java/com/rwz/baselist/entity/SimpleEntity.java", "file_name": "SimpleEntity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/rwz657026189/mvvmframe | 271 | FILENAME: SimpleEntity.java | 0.262842 | package com.rwz.baselist.entity;
import android.support.annotation.LayoutRes;
/**
* Created by rwz on 2016/12/16.
* 简单实体类, 实用无逻辑的基本布局
*/
public class SimpleEntity extends BaseListEntity{
@LayoutRes int mLayoutRes; //默认0,将作为空item
private Object data; //数据
private boolean bool;
public Simp... |
190980b0-b8a5-459e-8f6c-a82f01c182bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-09 03:02:41", "repo_name": "Chen1997c/pilipili-data", "sub_path": "/pili-provider/pili-provider-mdc/src/main/java/com/pilipili/provider/entity/VideoLabelRel.java", "file_name": "VideoLabelRel.java", "file_ext"... | https://github.com/Chen1997c/pilipili-data | 245 | FILENAME: VideoLabelRel.java | 0.221351 | package com.pilipili.provider.entity;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import javax.persistence.*;
import java.util... |
d47a544e-8e62-4399-9d43-68b3d9a3dad1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-19 16:48:03", "repo_name": "orimajp/ddd-sample-jooq-study", "sub_path": "/ddd-main/src/main/java/com/example/dddcorestudy/infrastructure/messaging/jms/CargoHandledConsumer.java", "file_name": "CargoHandledCons... | https://github.com/orimajp/ddd-sample-jooq-study | 215 | FILENAME: CargoHandledConsumer.java | 0.242206 | package com.example.dddcorestudy.infrastructure.messaging.jms;
import com.example.dddcorestudy.application.service.CargoInspectionService;
import com.example.dddcorestudy.domain.model.cargo.TrackingId;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Compon... |
e83c14ee-bb5c-4482-b876-59818169d5fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-16 06:12:43", "repo_name": "FlyingDuck/java-demo", "sub_path": "/src/main/java/demo/concurrent/first/Philosopher.java", "file_name": "Philosopher.java", "file_ext": "java", "file_size_in_byte": 1026, "line_cou... | https://github.com/FlyingDuck/java-demo | 234 | FILENAME: Philosopher.java | 0.290176 | package demo.concurrent.first;
import java.util.Random;
/**
* Created by Bennett Dong <br>
* Date : 2017/11/11 <br>
* Mail: dongshujin.beans@gmail.com <br> <br>
* Desc: 多把锁 实现哲学家行为
*/
public class Philosopher extends Thread {
private Chopstick left;
private Chopstick right;
private Random random;
... |
bf216440-ad51-43c9-a408-958dbee16a71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-08 15:55:37", "repo_name": "cristirosu/rpg-scheduler-backend", "sub_path": "/src/main/java/ro/fmi/rpg/interceptor/ExceptionInterceptor.java", "file_name": "ExceptionInterceptor.java", "file_ext": "java", "file... | https://github.com/cristirosu/rpg-scheduler-backend | 212 | FILENAME: ExceptionInterceptor.java | 0.247987 | package ro.fmi.rpg.interceptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
import ro.fmi.rpg.exception.RPGException;
import ro.fmi.rpg.to.ErrorResponse;
import javax.persistence.EntityNotFoundException;
import ... |
72aed2e1-a427-49ea-9844-426d7a6ebbc5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 12:45:09", "repo_name": "zhanglingde/cn.krossframework", "sub_path": "/kross-websocket/src/main/java/cn/krossframework/websocket/WebSocketChannelInitializer.java", "file_name": "WebSocketChannelInitializer.... | https://github.com/zhanglingde/cn.krossframework | 192 | FILENAME: WebSocketChannelInitializer.java | 0.245085 | package cn.krossframework.websocket;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.codec.http.HttpObjectAggregator;
import io.netty.handler.codec.http.HttpServerCodec;
import io.netty.handler.codec.http... |
4e3a2cd8-cb2a-4350-9bf0-f9fad98c9670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 12:51:39", "repo_name": "yangqi0224/annotationfast", "sub_path": "/src/main/java/com/yq/bean/Computer.java", "file_name": "Computer.java", "file_ext": "java", "file_size_in_byte": 981, "line_count": 51, "la... | https://github.com/yangqi0224/annotationfast | 218 | FILENAME: Computer.java | 0.262842 | package com.yq.bean;
public class Computer {
private String name;
private int byteNum;
private int price;
public Computer(String name, int byteNum, int price) {
this.name = name;
this.byteNum = byteNum;
this.price = price;
}
public Computer() {
System.out.print... |
afaad488-2473-4549-b7ec-bcfd52073f80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 08:41:30", "repo_name": "sanghshlsh/ProjectBoard", "sub_path": "/src/kr/co/command/UpdateNoticeUICommand.java", "file_name": "UpdateNoticeUICommand.java", "file_ext": "java", "file_size_in_byte": 983, "line... | https://github.com/sanghshlsh/ProjectBoard | 210 | FILENAME: UpdateNoticeUICommand.java | 0.26588 | package kr.co.command;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import kr.co.dao.BoardDAO;
import kr.co.domain.AttDTO;
import ... |
2484c856-4bef-44c4-8dc1-bc1c8a92c26f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-26 07:29:46", "repo_name": "Hupeng7/spring-boot-demo1", "sub_path": "/spring-boot-demo-mytool/src/main/java/com/example/springbootdemomytool/utils/threaddemo/conditiondemo/test1/MyService01.java", "file_name":... | https://github.com/Hupeng7/spring-boot-demo1 | 213 | FILENAME: MyService01.java | 0.224055 | package com.example.springbootdemomytool.utils.threaddemo.conditiondemo.test1;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* @ClassName MyService01
* @Description
* @Author H
* @Date 2021/8/6 11:51
* @Version 1.0
*/
pu... |
8492ee28-b876-4148-9546-a11b4901f195 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-25T21:35:25", "repo_name": "mascarenhas/lua-lsp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 995, "line_count": 37, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/mascarenhas/lua-lsp | 250 | FILENAME: README.md | 0.236516 | # Typed Lua Language Server
This is a [language server](http://langserver.org/) for [Typed Lua](https://github.com/andremm/typedlua).
## Requirements
* [Typed Lua](https://github.com/andremm/typedlua)
* [luv](https://github.com/luvit/luv)
* [Lua CJSON](https://www.kyne.com.au/~mark/software/lua-cjson.php)
## Run... |
0c823e70-6eea-437b-a6ca-027c2b99d464 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 07:23:03", "repo_name": "TThanida/EmployeeMangementDemo", "sub_path": "/src/main/java/com/example/employeemanagement/controller/ExceptionHandlerAdvice.java", "file_name": "ExceptionHandlerAdvice.java", "fil... | https://github.com/TThanida/EmployeeMangementDemo | 156 | FILENAME: ExceptionHandlerAdvice.java | 0.221351 | package com.example.employeemanagement.controller;
import com.example.employeemanagement.controller.view.ExceptionErrorResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframewo... |
3b9ebbfb-7f39-4690-8fae-98537226949f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-20 10:32:23", "repo_name": "martinwithyou/ironrhino", "sub_path": "/ironrhino/src/org/ironrhino/core/model/LabelValue.java", "file_name": "LabelValue.java", "file_ext": "java", "file_size_in_byte": 1162, "line... | https://github.com/martinwithyou/ironrhino | 256 | FILENAME: LabelValue.java | 0.233706 | package org.ironrhino.core.model;
import java.io.Serializable;
import org.ironrhino.core.search.elasticsearch.annotations.Index;
import org.ironrhino.core.search.elasticsearch.annotations.Searchable;
import org.ironrhino.core.search.elasticsearch.annotations.SearchableProperty;
@Searchable(root = false)
pub... |
a0cf2166-871a-403f-a487-40e745c6ff70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-22 05:12:25", "repo_name": "benhalfon/home-assignment-back", "sub_path": "/src/main/java/com/sony/assignment/config/converters/user/CreateUserBoundaryToEntityConverter.java", "file_name": "CreateUserBoundaryTo... | https://github.com/benhalfon/home-assignment-back | 174 | FILENAME: CreateUserBoundaryToEntityConverter.java | 0.259826 | package com.sony.assignment.config.converters.user;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
import com.sony.assignment.boundaries.CreateUserBoundary;
import com.sony.assignment.config.s... |
844d4438-c9e9-4871-820b-62680ad194a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-16 15:29:26", "repo_name": "zovivo/demo-spring-core", "sub_path": "/src/main/java/com/demo/spring/model/Author.java", "file_name": "Author.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 64... | https://github.com/zovivo/demo-spring-core | 249 | FILENAME: Author.java | 0.23231 | package com.demo.spring.model;
import java.io.Serializable;
import java.util.List;
public class Author implements Serializable {
private Long id;
private String name;
private Integer gender;
private String email;
private List<Book> books;
public Author() {
}
public Author(String nam... |
0c5bce97-5a6c-4b19-ad74-6c8a1928fdd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 21:19:58", "repo_name": "mightyflavieee/ing-sw-2021-rizzoglio-ruberto-mussato", "sub_path": "/src/main/java/it/polimi/ingsw/project/observer/Observable.java", "file_name": "Observable.java", "file_ext": "ja... | https://github.com/mightyflavieee/ing-sw-2021-rizzoglio-ruberto-mussato | 206 | FILENAME: Observable.java | 0.261331 | package it.polimi.ingsw.project.observer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Observable<T> implements Serializable{
private static final long serialVersionUID = 3840280592475043704L;
private final List<Observer<T>> observers = new ArrayList<>();
pr... |
319d565d-b705-44fc-9eb8-dc6c38aa395b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-31 16:41:56", "repo_name": "CHeuberger/Taxi", "sub_path": "/src/java/cfh/taxi/node/WritersDepot.java", "file_name": "WritersDepot.java", "file_ext": "java", "file_size_in_byte": 978, "line_count": 38, "lang": ... | https://github.com/CHeuberger/Taxi | 222 | FILENAME: WritersDepot.java | 0.290176 | package cfh.taxi.node;
import static cfh.taxi.node.NodeClass.INOUT;
import static cfh.taxi.node.NodeClass.STRING;
import java.util.EnumSet;
import cfh.taxi.Location;
import cfh.taxi.Passenger;
import cfh.taxi.TaxiException;
import cfh.taxi.Value;
public class WritersDepot extends Location {
Write... |
de084e9e-bb28-4d4f-8382-2537a2d05288 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 09:04:59", "repo_name": "PeterInfraBIM/IFC_GraphQL_server", "sub_path": "/dataserver/src/main/java/nl/infrabim/ifc/dataserver/services/IfcWallStandardCaseService.java", "file_name": "IfcWallStandardCaseServ... | https://github.com/PeterInfraBIM/IFC_GraphQL_server | 206 | FILENAME: IfcWallStandardCaseService.java | 0.267408 | package nl.infrabim.ifc.dataserver.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
import o... |
ab230200-fe7a-4429-a0b2-ee81329ca34a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-15 06:59:00", "repo_name": "jovan-b/The-ECS-Games", "sub_path": "/SWEN222 ECS Wars/src/gameWorld/characters/StreaderPlayer.java", "file_name": "StreaderPlayer.java", "file_ext": "java", "file_size_in_byte": 97... | https://github.com/jovan-b/The-ECS-Games | 272 | FILENAME: StreaderPlayer.java | 0.273574 | package gameWorld.characters;
import java.awt.Image;
import java.io.IOException;
import javax.imageio.ImageIO;
import gameWorld.Room;
/**
* Represents the David Streader playable character
*
* @author Sarah Dobie 300315033
* @author Chris Read 300254724
*
*/
public class StreaderPlayer extends Player {
... |
a74f1883-bb93-4afc-9b07-9dd41ac29223 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-30 19:20:48", "repo_name": "nicolaivalsted/TAYS", "sub_path": "/smp-client/src/main/java/dk/yousee/smp/casemodel/vo/cvp/SwitchFeature.java", "file_name": "SwitchFeature.java", "file_ext": "java", "file_size_in... | https://github.com/nicolaivalsted/TAYS | 295 | FILENAME: SwitchFeature.java | 0.291787 | package dk.yousee.smp.casemodel.vo.cvp;
import dk.yousee.smp.casemodel.SubscriberModel;
import dk.yousee.smp.casemodel.vo.helpers.BasicUnit;
import dk.yousee.smp.casemodel.vo.helpers.PropHolder;
import dk.yousee.smp.order.model.OrderDataLevel;
import dk.yousee.smp.order.model.OrderDataType;
import dk.yousee.smp.order.... |
4b70367c-13d1-482f-a9d4-36ac4a7a9d6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 02:27:32", "repo_name": "PeanutZhang/MyExe", "sub_path": "/app/src/main/java/com/example/zyh/myexe/RunningNumberActivity.java", "file_name": "RunningNumberActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/PeanutZhang/MyExe | 225 | FILENAME: RunningNumberActivity.java | 0.264358 | package com.example.zyh.myexe;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.chaychan.viewlib.NumberRunningTextView;
public class RunningNumberActivity extends Activity {
protected NumberRunningTextView tvMoney;
protected NumberRunni... |
5b494933-2ebf-4457-9861-49ea82cc61e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 01:31:35", "repo_name": "EAGARCIAH707/todo1-kardex-api", "sub_path": "/src/main/java/com/todo1/kardex/service/user/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_... | https://github.com/EAGARCIAH707/todo1-kardex-api | 219 | FILENAME: UserServiceImpl.java | 0.261331 | package com.todo1.kardex.service.user.impl;
import com.todo1.kardex.model.dto.UserDto;
import com.todo1.kardex.model.entities.UserEntity;
import com.todo1.kardex.repository.user.impl.UserRepositoryFacade;
import com.todo1.kardex.service.user.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
... |
80fb016c-f6db-4ed3-a9c7-e388217d7c85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-15 09:41:18", "repo_name": "albert-liu435/rookie-springboot-quartz", "sub_path": "/springquartz/learnquartz/src/main/java/com/rookie/bigdata/learn10/SimpleJob.java", "file_name": "SimpleJob.java", "file_ext": ... | https://github.com/albert-liu435/rookie-springboot-quartz | 261 | FILENAME: SimpleJob.java | 0.275909 | package com.rookie.bigdata.learn10;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobKey;
import java.util.Date;
import java.util.Set;
/**
* @ClassName SimpleJob
* @Description SimpleJob
* @Author
* @Date 2020/1/20 9:18
* @Version 1.0
*... |
9ed4c4d8-c8ef-42c8-83ad-76cde408aeb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-21T18:21:21", "repo_name": "wartman/blok", "sub_path": "/notes/Style.md", "file_name": "Style.md", "file_ext": "md", "file_size_in_byte": 1161, "line_count": 35, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/wartman/blok | 303 | FILENAME: Style.md | 0.267408 | Styles
======
Looking at `elm-ui` again, and thinking that will be a better direction to go than trying to recreate all of CSS in our style system (as is sorta happening now).
Could look something more like (stealing this directly from `elm-ui`'s example):
```haxe
Ui.row({
style: [
Element.width(Fill),
Lay... |
79ed1a58-2978-4333-bb17-a24dc87758bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-05T17:34:59", "repo_name": "almaleh/Dispatcher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 977, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/almaleh/Dispatcher | 239 | FILENAME: README.md | 0.275909 | # Dispatcher
This is the companion app to my article on concurrency in iOS
[Concurrency Explained: Sync vs Async, Serial vs Concurrent](https://medium.com/@almalehdev/concurrency-visualized-part-1-sync-vs-async-c433ff7b3ebe)
## How to Install
- Clone the repo, open xcworkspace and build locally (requires Xcode 11)... |
232e4808-f43a-4869-b6eb-d2485295a548 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-11-06T17:15:31", "repo_name": "iliatcymbal/filterTable", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1070, "line_count": 22, "lang": "en", "doc_type": "text", "b... | https://github.com/iliatcymbal/filterTable | 254 | FILENAME: README.md | 0.240775 | The simple example of nodeJS server and ui-filtering of the data.
The data is asynchronously received from the server, where this data had been converted from TSV to JSON.
Installation.
1. Run "npm install".
2. Run "npm run full-start" and wait for the console output "Server running at http://127.0.0.1:8124".
3. Open... |
cba19f51-acb0-456e-8e53-e2bac28f6ff4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 16:48:47", "repo_name": "dougculnane/java-pi-thing", "sub_path": "/src/main/java/net/culnane/pi/thing/actuator/Relay.java", "file_name": "Relay.java", "file_ext": "java", "file_size_in_byte": 1161, "line_co... | https://github.com/dougculnane/java-pi-thing | 347 | FILENAME: Relay.java | 0.268941 | package net.culnane.pi.thing.actuator;
import com.pi4j.io.gpio.GpioFactory;
import com.pi4j.io.gpio.GpioPinDigitalOutput;
import com.pi4j.io.gpio.Pin;
import com.pi4j.io.gpio.PinState;
/**
* Relay switch.
*
* @author Doug Culnane
*/
public class Relay {
/**
* Name of the actuator.
*/
private String name =... |
efab4bd6-4a0a-46d0-b53e-b12cbde36c8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 17:34:39", "repo_name": "KamilAdd-Byte/multi-threading", "sub_path": "/src/main/java/com/multithreading/queuethread/countdownfatch/HuntRunnable.java", "file_name": "HuntRunnable.java", "file_ext": "java", "... | https://github.com/KamilAdd-Byte/multi-threading | 218 | FILENAME: HuntRunnable.java | 0.294215 | package com.multithreading.queuethread.countdownfatch;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.CountDownLatch;
@Slf4j
public class HuntRunnable implements Runnable{
private CountDownLatch countDownLatch;
public HuntRunnable(CountDownLatch countDownLatch) {
this.countDownLatch ... |
4092aaeb-2fe6-4052-9b27-501d873f37be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-04 08:56:15", "repo_name": "yfuks/react-native-parse-notification-android", "sub_path": "/Android/src/main/java/com/notificationandroid/NotificationAndroidPackage.java", "file_name": "NotificationAndroidPackag... | https://github.com/yfuks/react-native-parse-notification-android | 218 | FILENAME: NotificationAndroidPackage.java | 0.249447 | package com.notificationandroid;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import android.app.Activity;
import jav... |
ccf665c0-2067-4943-a90d-c131dbececfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-22 10:29:44", "repo_name": "elapsedMs/MagicSpace", "sub_path": "/app/src/main/java/storm/magicspace/activity/FeedBackActivity.java", "file_name": "FeedBackActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/elapsedMs/MagicSpace | 220 | FILENAME: FeedBackActivity.java | 0.235108 | package storm.magicspace.activity;
import android.content.Context;
import android.content.Intent;
import android.widget.EditText;
import android.widget.TextView;
import storm.commonlib.common.CommonConstants;
import storm.commonlib.common.base.BaseActivity;
import storm.magicspace.R;
/**
* Created by py on 2016/6/1... |
c0309f7f-d843-43f2-9f78-ba5033e583a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-13 13:17:01", "repo_name": "V-E-S-T/voting", "sub_path": "/src/main/java/voting/repository/RestaurantRepositoryImpl.java", "file_name": "RestaurantRepositoryImpl.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/V-E-S-T/voting | 198 | FILENAME: RestaurantRepositoryImpl.java | 0.279042 | package voting.repository;
import org.springframework.beans.factory.annotation.Autowired;
import voting.model.RestaurantMenu;
import voting.repository.jpaRepository.JpaRestaurantRepository;
import java.util.List;
public class RestaurantRepositoryImpl implements RestaurantRepository{
@Autowired
private JpaRe... |
2c3fde95-54b5-4bcc-88ec-86e5cc354836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 23:04:22", "repo_name": "ProyectoProgra3/ProyectoP3", "sub_path": "/src/Model/Agenda.java", "file_name": "Agenda.java", "file_ext": "java", "file_size_in_byte": 1162, "line_count": 41, "lang": "en", "doc_ty... | https://github.com/ProyectoProgra3/ProyectoP3 | 204 | FILENAME: Agenda.java | 0.273574 | /*
* 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 Model;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.Arrays;
import Model.InitModel;
/*... |
e7bf4a21-00d4-4265-b568-2c0d2cbc25b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-09 18:42:44", "repo_name": "DeserRC/Celeste-Plugins", "sub_path": "/CelesteHOMES/src/main/java/com/redeceleste/celestehomes/command/impls/DelHomeCommand.java", "file_name": "DelHomeCommand.java", "file_ext": "... | https://github.com/DeserRC/Celeste-Plugins | 215 | FILENAME: DelHomeCommand.java | 0.255344 | package com.redeceleste.celestehomes.command.impls;
import com.redeceleste.celestehomes.command.CreateCommand;
import com.redeceleste.celestehomes.manager.HomeManager;
import com.redeceleste.celestehomes.manager.ConfigManager;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class DelH... |
74fccc4a-48f0-4d2d-9bdb-5b38bd9eef9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 20:13:00", "repo_name": "guilhermemartinszupper/orange-talents-09-template-ecommerce", "sub_path": "/mercado_livre/src/main/java/br/com/zupedu/gui/mercado_livre/security/AutenticacaoService.java", "file_nam... | https://github.com/guilhermemartinszupper/orange-talents-09-template-ecommerce | 172 | FILENAME: AutenticacaoService.java | 0.190724 | package br.com.zupedu.gui.mercado_livre.security;
import br.com.zupedu.gui.mercado_livre.usuario.Usuario;
import br.com.zupedu.gui.mercado_livre.usuario.UsuarioRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springf... |
3b24ef58-1321-4f7b-8620-6ce09dc4db3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-09 13:22:02", "repo_name": "rohitmore/LPrime-Project", "sub_path": "/LPrime/src/main/java/com/lp/controllers/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/rohitmore/LPrime-Project | 171 | FILENAME: UserController.java | 0.235108 | package com.lp.controllers;
import com.lp.entities.User;
import com.lp.models.ModelResponse;
import com.lp.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springf... |
306361e0-96ce-4b4f-9a22-da7cfd2aba8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-02 08:24:01", "repo_name": "stadnytskyivp/HotlineSeleniumGradle", "sub_path": "/src/main/java/com/hotline/pageobject/pages/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte... | https://github.com/stadnytskyivp/HotlineSeleniumGradle | 219 | FILENAME: LoginPage.java | 0.253861 | package com.hotline.pageobject.pages;
import io.qameta.allure.Step;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class LoginPage extends AuthorizationPage {
private WebElement submitBtn;
private WebElement forgotPasswordLink;
private We... |
82915573-3b95-4ed8-a1dc-46b4c251d305 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-06-09T17:33:04", "repo_name": "kmate/parallella-cipher-demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1159, "line_count": 44, "lang": "en", "doc_type": "text... | https://github.com/kmate/parallella-cipher-demo | 312 | FILENAME: README.md | 0.224055 | # parallella-cipher-demo
Demo application for encryption on Parallella using RAW-Feldspar and Zeldspar
## Instructions
### Preparation
git clone git@github.com:emilaxelsson/imperative-edsl
git clone git@github.com:emilaxelsson/raw-feldspar
git clone git@github.com:koengit/zeldspar
git clone git@githu... |
abd1ff17-097e-4c01-88c6-f9f76341ea59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 11:00:24", "repo_name": "ccpwer/android_store", "sub_path": "/app/src/main/java/nba/com/wr3d_second/ViewHolder/ModsViewHolder.java", "file_name": "ModsViewHolder.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ccpwer/android_store | 176 | FILENAME: ModsViewHolder.java | 0.239349 | package nba.com.wr3d_second.ViewHolder;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import nba.com.wr3d_second.Interface.ItemClickListener;
import nba.com.wr3d_second.R;
public class ModsViewHolder extends RecyclerView.View... |
6ba8e17a-baa6-49f9-98cf-0f3aed412a18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-13 07:13:48", "repo_name": "yh958619101/0619springboot-web-crud", "sub_path": "/src/main/java/com/yh/dao/impl/EmployeeDaoImpl.java", "file_name": "EmployeeDaoImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/yh958619101/0619springboot-web-crud | 196 | FILENAME: EmployeeDaoImpl.java | 0.286169 | package com.yh.dao.impl;
import com.yh.dao.EmployeeDao;
import com.yh.entity.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import ... |
4ed6a676-7235-492e-bfc0-538630372649 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-07 05:34:53", "repo_name": "posnopi13/tock_tock", "sub_path": "/app/src/main/java/com/example/home/myapplication/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/posnopi13/tock_tock | 221 | FILENAME: SplashActivity.java | 0.272025 | package com.example.home.myapplication;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
public class SplashActivity extends Activity {
static SplashActi... |
80e3d1ad-3b11-46c6-90df-19e9b93237ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-21 06:17:49", "repo_name": "weiliji/Jrtplib4Android", "sub_path": "/app/src/main/java/com/wtoe/jrtplib/RtpHandle.java", "file_name": "RtpHandle.java", "file_ext": "java", "file_size_in_byte": 1251, "line_count... | https://github.com/weiliji/Jrtplib4Android | 297 | FILENAME: RtpHandle.java | 0.261331 | package com.wtoe.jrtplib;
import java.io.IOException;
import java.net.ServerSocket;
public class RtpHandle {
static {
System.loadLibrary("rtp-handle");
}
/**
* 生成一个可使用的udp端口(20000以上)
*
* @param port 传20000即可
* @return
*/
public static int getAvailablePort(int port) {
... |
19f4dc47-e67b-41e3-98dd-3d4325fd79fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-15 09:05:54", "repo_name": "syt123450/Java-concurrency", "sub_path": "/src/main/java/com/concurrency/chapter3/control/TimeLock.java", "file_name": "TimeLock.java", "file_ext": "java", "file_size_in_byte": 1049... | https://github.com/syt123450/Java-concurrency | 216 | FILENAME: TimeLock.java | 0.273574 | package com.concurrency.chapter3.control;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantLock;
/**
* Created by ss on 2017/7/20.
*/
public class TimeLock implements Runnable {
private static ReentrantLock lock = new ReentrantLock();
@Override
public void run() {
... |
19b1557b-3d9d-47f0-9a33-c8bd0c316c37 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-09 08:23:14", "repo_name": "johnnylfq/MyApplication", "sub_path": "/app/src/main/java/com/example/myapplication/constant/MessageEvent.java", "file_name": "MessageEvent.java", "file_ext": "java", "file_size_in_... | https://github.com/johnnylfq/MyApplication | 224 | FILENAME: MessageEvent.java | 0.206894 | package com.example.myapplication.constant;
/**
* Description:
* Detail:
* Create Time: 2018/8/13
*
* @author LiuFangQiang
* @version 1.0
* @see ...
* History:
* @since Since
*/
public class MessageEvent {
public int code;
public String message;
public String name;
public MessageEvent(int c... |
b4333a6f-bcaa-41e8-80d4-0c18385d96ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-03T11:43:25", "repo_name": "fkundrak/Privacy-Bot", "sub_path": "/Notes/Code Milestones.md", "file_name": "Code Milestones.md", "file_ext": "md", "file_size_in_byte": 1078, "line_count": 13, "lang": "en", "... | https://github.com/fkundrak/Privacy-Bot | 258 | FILENAME: Code Milestones.md | 0.216012 | https://github.com/kevinam99/Instagram-Like-Bot
Milestones for the bot:
1. Download all necessary drivers etc. for the GitHub 'like bot'.
2. Run the 'like bot' from GitHub, make sure it works and has no bugs. Runs fine, why does it stop after 1 like? FIXED.
3. Test that feeding hashtags of one category to the 'l... |
f54bfaf0-6feb-4ced-9f35-70b55fd79210 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-10 05:58:39", "repo_name": "iggor1995/cinema", "sub_path": "/presentation/src/main/java/com/epam/igor/entity/LanguageBean.java", "file_name": "LanguageBean.java", "file_ext": "java", "file_size_in_byte": 1161,... | https://github.com/iggor1995/cinema | 245 | FILENAME: LanguageBean.java | 0.290176 | package com.epam.igor.entity;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import java.io.Serializable;
import java.util.Locale;
@ManagedBean(name = "language")
@SessionScoped
public class LanguageBean imple... |
761a125b-6898-49f8-8ae2-0c9c6b635f0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 10:11:28", "repo_name": "hanqunfeng/springbootchapter", "sub_path": "/chapter27/src/main/java/com/example/runner/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in... | https://github.com/hanqunfeng/springbootchapter | 232 | FILENAME: IndexController.java | 0.216012 | package com.example.runner;
import com.example.externalproperties.PropertiesDemo;
import com.example.utils.ExternalPropertiesRefresh;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMappin... |
f53c56a9-453b-48e4-8007-e5aab6e0f027 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-02 18:20:57", "repo_name": "isdom/restful-demo", "sub_path": "/src/main/java/org/jocean/restfuldemo/ctrl/ErrorHandler.java", "file_name": "ErrorHandler.java", "file_ext": "java", "file_size_in_byte": 1074, "li... | https://github.com/isdom/restful-demo | 238 | FILENAME: ErrorHandler.java | 0.261331 | package org.jocean.restfuldemo.ctrl;
import org.jocean.aliyun.oss.OssException;
import org.jocean.idiom.ExceptionUtils;
import org.jocean.svr.annotation.HandleError;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import io.netty.handler.codec.http.HttpRequest... |
89b69a19-943f-45bb-abba-468d25770fd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-29T20:56:27", "repo_name": "AlexzTj/p2p", "sub_path": "/src/main/java/p2p/repository/DataSource.java", "file_name": "DataSource.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 34, "lang": "... | https://github.com/AlexzTj/p2p | 230 | FILENAME: DataSource.java | 0.267408 | package p2p.repository;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import java.sql.Connection;
import java.sql.SQLException;
public class DataSource {
private static HikariConfig config = new HikariConfig();
private static HikariDataSource ds;
static {
conf... |
ca446c85-cf8b-469a-8d42-c3194bd7155c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-13 16:08:30", "repo_name": "FlipE/EntityUnknown", "sub_path": "/src/co/uk/cbaker/eu/game/ai/soldier/DeadState.java", "file_name": "DeadState.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": ... | https://github.com/FlipE/EntityUnknown | 233 | FILENAME: DeadState.java | 0.268941 | package co.uk.cbaker.eu.game.ai.soldier;
import co.uk.cbaker.eu.game.entity.EntityManager;
import co.uk.cbaker.eu.game.state.State;
import co.uk.cbaker.eu.game.state.StateMachine;
/**
* Singleton AIState implementation
*
* @author Chris B
*/
public class DeadState implements State {
/** The AIState instance */... |
bdfe514d-9ac1-4639-80e7-53bf09ec89d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-20 02:58:08", "repo_name": "MingZhang-PS/cloud-knowledgebase-service", "sub_path": "/src/main/java/com/sap/fsm/knowledgebase/domain/model/ProviderType.java", "file_name": "ProviderType.java", "file_ext": "java... | https://github.com/MingZhang-PS/cloud-knowledgebase-service | 233 | FILENAME: ProviderType.java | 0.279828 | package com.sap.fsm.knowledgebase.domain.model;
import org.hibernate.validator.constraints.Length;
import lombok.Data;
import javax.persistence.*;
import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Entity
@Table(name = "... |
2ad910d6-60dc-4a46-b50b-8be18095b0cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-03 06:47:04", "repo_name": "rzendaris/pos", "sub_path": "/app/src/main/java/id/kopipintar/pos/model/Paket.java", "file_name": "Paket.java", "file_ext": "java", "file_size_in_byte": 1162, "line_count": 58, "lan... | https://github.com/rzendaris/pos | 261 | FILENAME: Paket.java | 0.249447 | package id.kopipintar.pos.model;
public class Paket {
private String nama;
private int harga;
private int diskon;
private int quantity;
private String[] items;
public Paket(String nama, int harga, int diskon, int quantity, String[] items) {
this.nama = nama;
this.har... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.