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 |
|---|---|---|---|---|---|---|
a5c938d4-97ce-4d61-8440-41a25680e908 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-18 16:26:15", "repo_name": "lmdamato/MoneyTransferService", "sub_path": "/src/main/java/com/lmdamato/moneytransfer/server/RestServer.java", "file_name": "RestServer.java", "file_ext": "java", "file_size_in_byt... | https://github.com/lmdamato/MoneyTransferService | 241 | FILENAME: RestServer.java | 0.276691 | package com.lmdamato.moneytransfer.server;
import com.lmdamato.moneytransfer.handler.MoneyTransferHandler;
import io.undertow.Undertow;
import io.undertow.server.HttpHandler;
import io.undertow.server.RoutingHandler;
import io.undertow.server.handlers.ResponseCodeHandler;
public class RestServer {
private static ... |
7a6331d9-6a9d-47d1-9302-9e9658ed7d1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 11:57:03", "repo_name": "mkemiche/final_project_allforhome", "sub_path": "/src/main/java/io/allforhome/models/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte": 1048, "li... | https://github.com/mkemiche/final_project_allforhome | 227 | FILENAME: Location.java | 0.2227 | package io.allforhome.models;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
* @author mkemiche
* @created 30/04/2021
*/
@Data
@NoArgsConstructor
@Entity
@Table(name = "location")
publ... |
35279439-7257-4cfa-b0cf-36ef60f7d214 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-ucenter/src/main/java/com/netx/ucenter/service/user/ArticleTagsService.java", "file_name": "ArticleTagsService.java", "file_ext": "java"... | https://github.com/biantaiwuzui/netx | 224 | FILENAME: ArticleTagsService.java | 0.218669 | package com.netx.ucenter.service.user;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.netx.ucenter.mapper.user.ArticleTagsMapper;
import com.netx.ucenter.model.user.ArticleTags;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import j... |
55ae48ca-95b0-41f5-ae36-91e60b7275b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-17T06:43:03", "repo_name": "iammobina/Statistical-Machine-Translation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 20, "lang": "en", "doc... | https://github.com/iammobina/Statistical-Machine-Translation | 186 | FILENAME: README.md | 0.236516 | # Machine Translation
##### (This repository will be updated soon!!!)
This repository contains, I'm trying to implement a machine translation system.
Machine translation is the translation of a text from one natural language into another natural language without human intervention and is completely automatic by com... |
9b70b777-f9fa-4e86-8a46-2943ed404cb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-30 13:58:10", "repo_name": "sooin01/spring-web3", "sub_path": "/src/main/java/com/my/app/web/file/service/FileService.java", "file_name": "FileService.java", "file_ext": "java", "file_size_in_byte": 1117, "lin... | https://github.com/sooin01/spring-web3 | 259 | FILENAME: FileService.java | 0.275909 | package com.my.app.web.file.service;
import java.io.BufferedInputStream;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.my.app.web.file.dto.FileDto;
@Service
public class FileServi... |
a6fd1b37-4323-41cc-aa8f-1ad4bb5cbe44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-19 22:01:24", "repo_name": "alangerinf/AndroidApp-AgroCampo-Guidins", "sub_path": "/app/src/main/java/com/grevoltec/cosechaguiddins/entities/core/AbsRegEntity.java", "file_name": "AbsRegEntity.java", "file_ext... | https://github.com/alangerinf/AndroidApp-AgroCampo-Guidins | 240 | FILENAME: AbsRegEntity.java | 0.250913 | package com.grevoltec.cosechaguiddins.entities.core;
import com.j256.ormlite.field.DatabaseField;
public abstract class AbsRegEntity extends AbsEntity {
@DatabaseField( columnName = ID, generatedId = true)
protected long poid;
@DatabaseField(columnName = "codigo_sync")
protected String synCodigo;
... |
ccd4e6c0-2a4b-4757-8180-cfc240704a83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-25T20:35:55", "repo_name": "jonathanbfriedman/pi-phone", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count": 20, "lang": "en", "doc_type": "text",... | https://github.com/jonathanbfriedman/pi-phone | 307 | FILENAME: README.md | 0.226784 | # pi-phone
Raspberry Pi-powered landline phone for art installation
# Project Description
- Landline phone to ring according to admin-configurable intervals (e.g. 5 minutes)
- When user picks up phone from hook, randomly selected audio file plays into handset speaker
- User-adjustable volume control (three-way switch ... |
01fbfe1d-81f8-4599-b217-a71a7d829dd8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-27 13:01:25", "repo_name": "shenxy-echo/pyg_parent", "sub_path": "/pyg_search_service/src/main/java/com/pyg/search/service/impl/ItemDeleteListener.java", "file_name": "ItemDeleteListener.java", "file_ext": "ja... | https://github.com/shenxy-echo/pyg_parent | 212 | FILENAME: ItemDeleteListener.java | 0.226784 | package com.pyg.search.service.impl;
import com.alibaba.fastjson.JSON;
import com.pyg.search.service.ItemSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.ObjectMes... |
91560783-5784-4dce-a60b-820a17156e36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-27 02:58:38", "repo_name": "rafaelMurata/StrutsCRUD", "sub_path": "/src/br/com/rafaelmurata/persistence/DepartmentMemoryDao.java", "file_name": "DepartmentMemoryDao.java", "file_ext": "java", "file_size_in_byt... | https://github.com/rafaelMurata/StrutsCRUD | 199 | FILENAME: DepartmentMemoryDao.java | 0.295027 | package br.com.rafaelmurata.persistence;
import java.util.*;
import br.com.rafaelmurata.model.Department;
public class DepartmentMemoryDao implements DepartmentDao {
private static List<Department> departments;
private static Map<Integer, Department> departmentsMap;
static {
departments... |
0b2a8f90-07e5-491f-8f6f-6686959ecd95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-16 17:45:45", "repo_name": "FilipTrela/j25_NBP_API", "sub_path": "/src/main/java/pl/sda/gdajava25/NBP_API/model/Rate.java", "file_name": "Rate.java", "file_ext": "java", "file_size_in_byte": 967, "line_count":... | https://github.com/FilipTrela/j25_NBP_API | 212 | FILENAME: Rate.java | 0.250913 | package pl.sda.gdajava25.NBP_API.model;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Objects;
@ToString
@NoArgsConstructor
@Getter
@Setter
@XmlRootEle... |
44440780-16a4-45b5-8df5-95a9ab44ef3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-28 15:56:42", "repo_name": "uptonking/newsfeed-viewer", "sub_path": "/src/main/java/io/yaoo/web/vo/SourceCount.java", "file_name": "SourceCount.java", "file_ext": "java", "file_size_in_byte": 1033, "line_count... | https://github.com/uptonking/newsfeed-viewer | 227 | FILENAME: SourceCount.java | 0.23231 | package io.yaoo.web.vo;
import com.fasterxml.jackson.annotation.JsonView;
import io.yaoo.web.jsonview.Views;
/**
* Created by yaoooo on 9/9/17.
*/
public class SourceCount {
@JsonView(Views.Public.class)
private String sourceName;
@JsonView(Views.Public.class)
private long sourceCount;
public... |
8f0b9293-9bf8-4542-870b-36a18cee8e94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-23 07:31:34", "repo_name": "mraheel48/AndroidNotification", "sub_path": "/app/src/main/java/com/example/androidnotification/DataModel/DataModelArticles.java", "file_name": "DataModelArticles.java", "file_ext":... | https://github.com/mraheel48/AndroidNotification | 216 | FILENAME: DataModelArticles.java | 0.23231 | package com.example.androidnotification.DataModel;
import com.google.firebase.Timestamp;
public class DataModelArticles {
private String category, title,ref;
private int like, comments, view;
private Timestamp date;
public DataModelArticles() {
//need empty
}
public DataModelArticle... |
13f6dd31-c648-46e2-84f7-43b9ef52a9f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-28 18:48:34", "repo_name": "rafaelcdevzup/orange-talents-04-template-proposta", "sub_path": "/src/main/java/com/rafazup/bootcamp/servicosutils/excecoes/ResourceExceptionHandler.java", "file_name": "ResourceExc... | https://github.com/rafaelcdevzup/orange-talents-04-template-proposta | 160 | FILENAME: ResourceExceptionHandler.java | 0.242206 | package com.rafazup.bootcamp.servicosutils.excecoes;
import java.time.Instant;
import javax.servlet.http.HttpServletRequest;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind... |
e777df09-0b24-4678-a116-1f37465e7528 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-11 14:56:15", "repo_name": "krikal85/HelloGitHub", "sub_path": "/src/generics/Profil.java", "file_name": "Profil.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count": 46, "lang": "en", "doc_type"... | https://github.com/krikal85/HelloGitHub | 276 | FILENAME: Profil.java | 0.283781 | package generics;
import java.util.Calendar;
import java.util.GregorianCalendar;
public class Profil {
private String vorname;
private String nachname;
private String email;
private MayBeInt alter;
private MayBeInt gehalt;
private MayBe<String> beziehungsstatus;
private MayBe<GregorianCalendar> birthdate;
p... |
4e7c7c00-7d8d-43fb-a54f-0880c47b106b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-23 12:17:41", "repo_name": "OleksiiShpachenko/java-oop-home-tasks", "sub_path": "/CellPhoneNetworkProject/src/com/shpach/cellphonenetwork/Network.java", "file_name": "Network.java", "file_ext": "java", "file_s... | https://github.com/OleksiiShpachenko/java-oop-home-tasks | 235 | FILENAME: Network.java | 0.268941 | package com.shpach.cellphonenetwork;
import java.util.*;
public class Network {
private String name;
private HashSet<String> phonesNumbersList = new HashSet<String>();
public Network(String name) {
super();
this.name = name;
}
public Network() {
super();
}
public String getName() {
return name;
}
... |
99337a1e-77e9-49aa-946e-3b0521c888ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 05:01:58", "repo_name": "TylJes3700/Iteration-3", "sub_path": "/SmithsGroceries (12_15_17)/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1033, "line_count": 52, "lang": "en"... | https://github.com/TylJes3700/Iteration-3 | 240 | FILENAME: User.java | 0.259826 | public class User {
private String name;
private String password;
private boolean isManager;
private int pic;
User(String name, String password, boolean isManager) {
this.name = name;
this.password = password;
this.isManager = isManager;
this.pic = 44;
}
User(String ... |
e2436df7-02c1-4299-80f0-a561e509dc60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-14 16:06:45", "repo_name": "powersantino/microservice-maven-spring", "sub_path": "/esercizio-microservizi/com.myapp.esercitazione.postservice/src/main/java/com/myapp/esercitazione/postservice/model/PostModel.j... | https://github.com/powersantino/microservice-maven-spring | 272 | FILENAME: PostModel.java | 0.253861 | package com.myapp.esercitazione.postservice.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class PostModel {
private long id;
@JsonIgnore
private long idUser;
private String title;
private String body;
/***
*
* @param id - ID del post
* @param idUser - ID dello USER associato al post... |
454ad0a1-47cd-4c30-ad35-745b14ebde40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-26 15:28:00", "repo_name": "wchen38/Android-Apps", "sub_path": "/StudyTimer/app/src/main/java/com/example/study/studytimer/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/wchen38/Android-Apps | 171 | FILENAME: MainActivity.java | 0.2227 | package com.example.study.studytimer;
import android.content.Intent;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompa... |
5cb89455-0335-4153-b71a-f7260de7073e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-02 22:24:30", "repo_name": "gonzalolodi/ZooAnimals", "sub_path": "/app/src/main/java/co/mobilemakers/zooanimals/GeckoFragment.java", "file_name": "GeckoFragment.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/gonzalolodi/ZooAnimals | 207 | FILENAME: GeckoFragment.java | 0.23092 | package co.mobilemakers.zooanimals;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
/**
* A simple {@link Fragment} subclass.
*/
public class GeckoFragment extends Fragment {
Butto... |
a61a0d52-4b2f-4121-99b1-75c1c4de8dd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-09 07:04:57", "repo_name": "serv/algorithms-in-java", "sub_path": "/src/main/bag/Bag.java", "file_name": "Bag.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 52, "lang": "en", "doc_type": "... | https://github.com/serv/algorithms-in-java | 219 | FILENAME: Bag.java | 0.272799 | package main.bag;
public class Bag<T> {
public Node<T> head;
public int count;
public Bag() {
this.head = null;
this.count = 0;
}
public void add(T value) {
Node<T> node = new Node<>(value);
if(this.isEmpty()) {
this.head = node;
... |
9dd0194e-0d74-42c8-9200-ef226073dcd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-16 11:22:54", "repo_name": "wangliyue/ConcurrentPattern", "sub_path": "/src/GuardedSuspension_3/ClientThread.java", "file_name": "ClientThread.java", "file_ext": "java", "file_size_in_byte": 890, "line_count":... | https://github.com/wangliyue/ConcurrentPattern | 258 | FILENAME: ClientThread.java | 0.293404 | /*
* @(#)ClientServerThread.java Created on 2018年5月30日
* Copyright (c) 2018 ZDSoft Networks, Inc. All rights reserved.
* $Id$
*/
package GuardedSuspension_3;
import java.util.Random;
/**
* 客户端发送请求线程
*
* @author wangly
* @version $Revision: 1.0 $, $Date: 2018年5月30日 上午11:03:19 $
*/
public class ClientThread... |
a8689165-4044-4467-ad9e-748cefaa30fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-13 08:53:17", "repo_name": "mattsbryson/miscCode", "sub_path": "/TestGraph/src/JFrameWriter.java", "file_name": "JFrameWriter.java", "file_ext": "java", "file_size_in_byte": 1042, "line_count": 33, "lang": "en... | https://github.com/mattsbryson/miscCode | 201 | FILENAME: JFrameWriter.java | 0.284576 | import java.awt.AWTException;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class JFrameWriter {
public static void m... |
0f7d8da8-34a6-4270-b5c6-590c0605b6d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-05 23:48:19", "repo_name": "NewtypeRonin/Projects", "sub_path": "/RouletteRandomizer/job.java", "file_name": "job.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 51, "lang": "en", "doc_type"... | https://github.com/NewtypeRonin/Projects | 259 | FILENAME: job.java | 0.240775 | public class job{
//constructor for jobs in ffxiv
//Job name : String
//Job type : String
//Job level : int
private String name;
private String type;
private int level;
public job(){
name = " ";
type = " ";
level = 0;
}
public job(String n,String t,int l){
name = n;
type = t;
... |
0d5d6254-9bfb-4d16-a131-7706587b1616 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-16 16:16:03", "repo_name": "mitmirzutun/Prog2Praktikum", "sub_path": "/src/de/hsa/games/fatsquirrel/entity/plant/BadPlant.java", "file_name": "BadPlant.java", "file_ext": "java", "file_size_in_byte": 998, "lin... | https://github.com/mitmirzutun/Prog2Praktikum | 242 | FILENAME: BadPlant.java | 0.274351 | package de.hsa.games.fatsquirrel.entity.plant;
import java.math.BigInteger;
import de.hsa.games.fatsquirrel.position.XY;
public class BadPlant extends Plant {
public BadPlant() {
this.constPosition = true;
this.position=new XY();
this.energy=BigInteger.valueOf(-100);
}
public BadPlant(XY pos) {
this.positi... |
607d0228-5881-4100-9fc9-8253551388c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-12 15:49:52", "repo_name": "coach-K/Fellomation", "sub_path": "/app/src/main/java/com/andela/fellomation/controller/RecyclerAdapter.java", "file_name": "RecyclerAdapter.java", "file_ext": "java", "file_size_in... | https://github.com/coach-K/Fellomation | 247 | FILENAME: RecyclerAdapter.java | 0.288569 | package com.andela.fellomation.controller;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.andela.fellomation.R;
import com.andela.fellomation.model.Fellow;
import com.andela.fellomation.model.FellowManager;
import... |
d2f22b89-43ee-45ad-a325-17783c461f5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-30 01:00:04", "repo_name": "BLabat/Week3_CST135_Milestone3", "sub_path": "/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 50, "lang": "en", "doc_type":... | https://github.com/BLabat/Week3_CST135_Milestone3 | 247 | FILENAME: Product.java | 0.279042 |
abstract public class Product implements Comparable <Product> {
private String name;
private String brand;
private double price;
public Product() {
name = "Doritos";
brand = "Frito-Lay";
price = 1.25;
}
public Product(String name, String brand, double price) {
this.setName(name);
t... |
89f2d31c-01fa-410b-8d07-11658924bc4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-02 11:15:57", "repo_name": "alexbobrov1012/MyMessenger", "sub_path": "/app/src/main/java/com/example/mymessenger/news/channels/ChannelListHolder.java", "file_name": "ChannelListHolder.java", "file_ext": "java"... | https://github.com/alexbobrov1012/MyMessenger | 183 | FILENAME: ChannelListHolder.java | 0.226784 | package com.example.mymessenger.news.channels;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.example.mymessenger.R;
import com.example.mymessenger.news.room.Channel;
import com.example.mymessenger.presentatio... |
0419b6f6-df50-47c2-a2f5-d42acd0f4014 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-02 07:48:36", "repo_name": "bl1n/SpaceXApp", "sub_path": "/app/src/main/java/com/lft/spacex/data/model/LaunchImage.java", "file_name": "LaunchImage.java", "file_ext": "java", "file_size_in_byte": 1029, "line_c... | https://github.com/bl1n/SpaceXApp | 221 | FILENAME: LaunchImage.java | 0.214691 | package com.lft.spacex.data.model;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
@Entity
public class LaunchImage implements Serializable ... |
eae85fed-89e5-45a7-aab2-9da2c5877370 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-01 00:04:23", "repo_name": "den-arm/MessagerUse", "sub_path": "/app/src/main/java/com/example/messageruse/MyService.java", "file_name": "MyService.java", "file_ext": "java", "file_size_in_byte": 1024, "line_co... | https://github.com/den-arm/MessagerUse | 187 | FILENAME: MyService.java | 0.250913 | package com.example.messageruse;
import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
import android.os.Message;
import android.os.Messenger;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotatio... |
894e3d8e-69f3-4ef6-87d8-f64282f77a35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 00:27:00", "repo_name": "feifa168/httpclient", "sub_path": "/src/main/java/com/ft/http/v3/config/Oracle.java", "file_name": "Oracle.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count": 30, "l... | https://github.com/feifa168/httpclient | 179 | FILENAME: Oracle.java | 0.198064 | package com.ft.http.v3.config;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Oracle {
@JsonCreator
public Oracle(@JsonProperty("service") String service,
@JsonProperty("sid") String sid,
@JsonPropert... |
db812f96-4e03-4b71-992d-8b4c62b3e582 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-12T17:10:41", "repo_name": "alanmimms/writing-tools", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1026, "line_count": 31, "lang": "en", "doc_type": "text", "b... | https://github.com/alanmimms/writing-tools | 257 | FILENAME: README.md | 0.224055 | # My Writing Workflow Tools
This set of tools is what I use to translate my writing - in the
extended Pandoc Markdown format - into the various forms needed for
sharing, publication, printing, etc. I built this Dockerfile and
reproducible set of tools so that I would never again have to do the
finicky work to configur... |
78bc7d18-3081-4c94-b096-da8d8acb8235 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-14 13:48:41", "repo_name": "greycode123/springDemo", "sub_path": "/src/main/java/com/smart/common/cache/memcached/SpyMemcachedCacheManager.java", "file_name": "SpyMemcachedCacheManager.java", "file_ext": "java... | https://github.com/greycode123/springDemo | 198 | FILENAME: SpyMemcachedCacheManager.java | 0.259826 | package com.smart.common.cache.memcached;
import com.smart.common.cache.Cache;
import com.smart.common.cache.CacheManager;
import org.apache.log4j.Logger;
import java.util.Collection;
import java.util.Collections;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class ... |
e5fd8005-b01f-4e53-a8b8-3c3b1dc78a91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-06 07:11:13", "repo_name": "taktos/dbflute-jsr310-example", "sub_path": "/src/test/java/com/example/dbflute/jsr310/extend/MemberBhvTest.java", "file_name": "MemberBhvTest.java", "file_ext": "java", "file_size_... | https://github.com/taktos/dbflute-jsr310-example | 209 | FILENAME: MemberBhvTest.java | 0.279042 | package com.example.dbflute.jsr310.extend;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import com.example.dbflute.jsr310.exbhv.*;
import com.example.dbflute.jsr310.exentity.*;
import java.time.LocalDateTime;
import javax.inject.*;
import org.junit.Test;
import org.junit.runner.RunWith;
... |
94da143d-d904-4e7e-828d-a31feca2f384 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 20:35:54", "repo_name": "only-us-app/UDONG_SERVER", "sub_path": "/src/main/java/solux/woodong/web/service/user/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/only-us-app/UDONG_SERVER | 199 | FILENAME: UserService.java | 0.236516 | package solux.woodong.web.service.user;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import solux.woodong.web.domain.user.User;
import solux.woodong.web.domain.user.UserRepository;
import solux.woodong.web.dto.use... |
1f506381-1b80-4af3-8483-e2f74c9b790b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/load-balancing/understand-basics/traffic-steering/steering-policies/proximity-steering.md", "file_name": "proximity-steering.m... | https://github.com/cloudflare/cloudflare-docs | 243 | FILENAME: proximity-steering.md | 0.239349 | ---
pcx_content_type: concept
title: Proximity
weight: 4
meta:
title: Proximity steering
---
# Proximity steering
**Proximity steering** routes visitors or internal services to the closest physical data center.
To use proximity steering on a load balancer, you first need to add GPS coordinates to each origin pool.... |
0d6377a9-742c-45f4-ba02-e18fc6f38598 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-12 16:19:27", "repo_name": "hishamovski/Books-Project-SpringBoot-practice", "sub_path": "/src/main/java/com/WannaBe/Project/Service/BookService.java", "file_name": "BookService.java", "file_ext": "java", "file... | https://github.com/hishamovski/Books-Project-SpringBoot-practice | 207 | FILENAME: BookService.java | 0.279828 | package com.WannaBe.Project.Service;
import com.WannaBe.Project.DAO.BookDao;
import com.WannaBe.Project.Model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import java.util.List;
import... |
6dea0a10-bc63-452c-8991-bd08391dcb3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-30 08:08:35", "repo_name": "iDroidTraining/Fragments", "sub_path": "/app/src/main/java/ws/idroid/fragments/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1017, "... | https://github.com/iDroidTraining/Fragments | 172 | FILENAME: MainActivity.java | 0.23092 | package ws.idroid.fragments;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import butterknife.*;
public class MainActivity extends AppCompatActivity {
@OnClick(R.id.tv_main_activity)
void onMyTextPressed(){
SecondFragment fragmentB = new SecondFragment();
Bundl... |
4d727fe3-47ac-4745-a3b6-29586a3d3385 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-14 09:28:50", "repo_name": "Ttanlents/guguanjia", "sub_path": "/src/main/java/com/yjf/services/impl/StatuteServiceImpl.java", "file_name": "StatuteServiceImpl.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/Ttanlents/guguanjia | 219 | FILENAME: StatuteServiceImpl.java | 0.239349 | package com.yjf.services.impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yjf.entity.Statute;
import com.yjf.services.StatuteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.... |
a30fc354-a9c6-48de-a562-84f775ec1f2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-03 09:07:20", "repo_name": "Finder92/zhengda", "sub_path": "/plat-admin/src/main/java/com/yckj/modules/megvii/entity/MegAttendDetailEntity.java", "file_name": "MegAttendDetailEntity.java", "file_ext": "java", ... | https://github.com/Finder92/zhengda | 310 | FILENAME: MegAttendDetailEntity.java | 0.216012 | package com.yckj.modules.megvii.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
*
*
* @author Finder
* @email zhangzhili92@163.com
* @date 2019-08-02 15:40:07
*/
@Data
@TableName("meg_attend... |
cb0d7e64-1957-4b98-9a51-ac5704fd08f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-22 19:35:32", "repo_name": "pradiprimal/pet-app", "sub_path": "/pet-app/src/main/java/com/petapplication/repository/impl/PetInfoRepositoryImpl.java", "file_name": "PetInfoRepositoryImpl.java", "file_ext": "jav... | https://github.com/pradiprimal/pet-app | 218 | FILENAME: PetInfoRepositoryImpl.java | 0.259826 | package com.petapplication.repository.impl;
import com.mysema.query.jpa.impl.JPAQuery;
import com.petapplication.entity.PetInfo;
import com.petapplication.entity.QPetInfo;
import java.util.List;
import javax.persistence.EntityManager;
import com.petapplication.repository.custom.PetInfoRepositoryCustom;
import javax.pe... |
d26ab304-6112-451e-bb82-b6ea1afed066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-13 02:58:46", "repo_name": "huanshilang1985/zh-springboot-demo", "sub_path": "/zh-springboot-common/src/main/java/com/zh/common/web/ConfigController.java", "file_name": "ConfigController.java", "file_ext": "ja... | https://github.com/huanshilang1985/zh-springboot-demo | 205 | FILENAME: ConfigController.java | 0.213377 | package com.zh.common.web;
import com.zh.common.common.JsonResult;
import com.zh.common.config.UserConfig;
import com.zh.common.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMa... |
61112855-31ea-4f3d-bcf1-e897c457f225 | {"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/37/1896.java", "file_name": "1896.java", "file_ext": "java", "file_size_in_byte": 1027, "line_count":... | https://github.com/qiuchili/ggnn_graph_classification | 373 | FILENAME: 1896.java | 0.283781 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
final String s = "";
char c;
int n;
int[] a = new int[100000];
int i;
int j;
int k;
int len;
int num2;
String tempVar = ConsoleInput.scanfRead();
if (tempVar != null)
{
n = Integer.parseInt(tempVar);
}
for (i = ... |
1b09bcf3-a976-40fe-bba8-1bf8da9058bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-04 01:33:35", "repo_name": "GodfreyCortez/NeonRiders", "sub_path": "/src/newneon/Neon_Window.java", "file_name": "Neon_Window.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count": 29, "lang": "en... | https://github.com/GodfreyCortez/NeonRiders | 227 | FILENAME: Neon_Window.java | 0.293404 | //Godfrey C
package newneon;
import java.awt.BorderLayout;
import javax.swing.*;
public class Neon_Window extends JFrame //this will add all the components and give settings
{
private ImageIcon icon = new ImageIcon("assets/Neon Riders Logo.jpg"); //Grab the icon image
public Neon_Window() {
Game_Loo... |
44f2e79c-f3a9-4909-bf31-2a24c2989ad2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-17 04:27:10", "repo_name": "LiXinrong/itfdms_blog", "sub_path": "/itfdms_common/src/main/java/com/itfdms/common/vo/SysRole.java", "file_name": "SysRole.java", "file_ext": "java", "file_size_in_byte": 973, "lin... | https://github.com/LiXinrong/itfdms_blog | 218 | FILENAME: SysRole.java | 0.206894 | package com.itfdms.common.vo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author lxr
* @Title: SysRole
* @ProjectName itfdms_blog
* @Description: 角色表
* @date 2018-07-0716:31
*/
@Data
public class SysRole implements Serializable {
private static final long serialVersionU... |
1a6ada97-2e37-4aa8-87e5-a023ff86b716 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-08 15:23:04", "repo_name": "LeetCodes/osrsclient", "sub_path": "/rsclient/chat/IRCConnection.java", "file_name": "IRCConnection.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 42, "lang": "... | https://github.com/LeetCodes/osrsclient | 246 | FILENAME: IRCConnection.java | 0.261331 | /*
* 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 rsclient.chat;
import org.jibble.pircbot.PircBot;
/**
*
* @author ben
*/
public class IRCConnection extends PircBot {
C... |
f0ca3b88-72ee-4fb9-bda9-230fa8e71385 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-16 01:01:47", "repo_name": "TwoDevsInc/MergeIt-BE", "sub_path": "/Merge-it/src/main/java/com/twodevs/MergeIt/models/services/CheckListService.java", "file_name": "CheckListService.java", "file_ext": "java", "f... | https://github.com/TwoDevsInc/MergeIt-BE | 227 | FILENAME: CheckListService.java | 0.286169 | package com.twodevs.MergeIt.models.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.twodevs.MergeIt.models.dao.ICheckListDAO;
import com.twodevs.MergeIt.models.entities.CheckList;
@Service
public class CheckList... |
e3603ca5-4bd7-4fb4-af84-9097a30858ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-19 22:44:19", "repo_name": "lucaspassos858/java-spring-boot-sistema-de-ponto", "sub_path": "/backend/src/main/java/br/edu/ifsp/point/utils/JavaFakerUtils.java", "file_name": "JavaFakerUtils.java", "file_ext": ... | https://github.com/lucaspassos858/java-spring-boot-sistema-de-ponto | 232 | FILENAME: JavaFakerUtils.java | 0.286169 | package br.edu.ifsp.point.utils;
import br.edu.ifsp.point.models.vo.TimesheetVO;
import br.edu.ifsp.point.models.vo.UserVO;
import com.github.javafaker.Faker;
import java.sql.Time;
import java.util.Date;
public class JavaFakerUtils {
public static UserVO generateUserVOData() {
Faker faker ... |
d1e59b7a-4eb8-441a-bc19-4cd140a1a9b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-25 16:38:12", "repo_name": "ohtaron/qaauto-4.02.2019_new", "sub_path": "/src/test/java/page/LinkedInVerificationMail.java", "file_name": "LinkedInVerificationMail.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ohtaron/qaauto-4.02.2019_new | 202 | FILENAME: LinkedInVerificationMail.java | 0.225417 | package page;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import page.MailPageLogin;
import static java.lang.Thread.sleep;
public class LinkedInVerificationMail extends BasePage{
@FindBy(... |
fa6dcc8f-b495-4fa6-bffd-8dc984d82ea7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-12 09:35:46", "repo_name": "jamerlan/jSpringLobbyLib", "sub_path": "/src/main/java/com/jamerlan/commands/impl/in/ClientBattleStatus.java", "file_name": "ClientBattleStatus.java", "file_ext": "java", "file_size... | https://github.com/jamerlan/jSpringLobbyLib | 200 | FILENAME: ClientBattleStatus.java | 0.249447 | package com.jamerlan.commands.impl.in;
import com.jamerlan.ServerState;
import com.jamerlan.commands.Command;
import com.jamerlan.utils.CommandParser;
import java.io.IOException;
import java.io.PrintWriter;
/**
CLIENTBATTLESTATUS userName battleStatus teamColor
*/
public class ClientBattleStatus implements Command... |
01b8f00a-e596-422d-b77e-cd0e21af5c0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-30 08:10:48", "repo_name": "hejun5448/flowable-engine", "sub_path": "/modules/flowable-cmmn-rest/src/main/java/org/flowable/cmmn/rest/service/api/BulkMoveDeadLetterActionRequest.java", "file_name": "BulkMoveDe... | https://github.com/hejun5448/flowable-engine | 228 | FILENAME: BulkMoveDeadLetterActionRequest.java | 0.272025 | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... |
a6e19dac-c340-4580-9582-d9f46744a672 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-07 17:52:58", "repo_name": "nastassjamotro/Experiments", "sub_path": "/Chess Project/src/Chess.java", "file_name": "Chess.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 52, "lang": "en", "... | https://github.com/nastassjamotro/Experiments | 262 | FILENAME: Chess.java | 0.256832 | public class Chess {
private Board board = new Board();
private Player white;
private Player black;
public Chess() {
super();
}
public void setColorWhite(Player player) {
this.white = player;
}
public void setColorBlack(Player player) {
this.black = player;
}
public Board getBoa... |
06b4dd1b-d9a7-4fe1-8162-84a16d482bac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-16 04:11:10", "repo_name": "nee-raj/basic-spring-angular", "sub_path": "/src/main/java/org/chikoo/rest/resources/asm/AccountListResourceAsm.java", "file_name": "AccountListResourceAsm.java", "file_ext": "java"... | https://github.com/nee-raj/basic-spring-angular | 205 | FILENAME: AccountListResourceAsm.java | 0.290176 | package org.chikoo.rest.resources.asm;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn;
import java.util.List;
import org.chikoo.core.service.util.AccountList;
import org.chikoo.rest.resources.AccountListResource... |
1c67270a-b49a-43ce-b296-7b4ce612aae2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 08:38:49", "repo_name": "yorsen/rpc", "sub_path": "/src/main/java/com/mine/rpcmine/server/ServerReceiveTask.java", "file_name": "ServerReceiveTask.java", "file_ext": "java", "file_size_in_byte": 1052, "line... | https://github.com/yorsen/rpc | 216 | FILENAME: ServerReceiveTask.java | 0.277473 | package com.mine.rpcmine.server;
import com.mine.rpcmine.model.RequestModel;
import com.mine.rpcmine.model.ResponseModel;
import java.util.concurrent.Callable;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/**
* Created by yaosen.pys on 2017/3/2.
*/
public class Serv... |
fd3c6716-7eea-4955-af87-187f95cd3211 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 07:59:59", "repo_name": "xiaofeng613n/sample-rpc", "sub_path": "/src/main/java/com/rpc/client/HttpClientInitializer.java", "file_name": "HttpClientInitializer.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/xiaofeng613n/sample-rpc | 264 | FILENAME: HttpClientInitializer.java | 0.286968 | package com.rpc.client;
import com.rpc.common.Constants;
import com.rpc.server.codec.JsonCodec;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerAdapter;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.handler.codec.http.HttpClientCodec;
import... |
f52ff38d-e7ed-451b-8f04-a49f6f44f7c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-11 16:18:30", "repo_name": "Balvee/Reimbursement-System", "sub_path": "/src/main/java/com/balvee/servlets/AuthFilter.java", "file_name": "AuthFilter.java", "file_ext": "java", "file_size_in_byte": 1232, "line_... | https://github.com/Balvee/Reimbursement-System | 236 | FILENAME: AuthFilter.java | 0.29584 | package com.balvee.servlets;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class AuthFilter implements Filter {
// Override
@Override
pub... |
f4ac5e64-2dec-473b-bb9a-44cd6ad4b6ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-12 19:54:55", "repo_name": "BeataDudek/vaccine", "sub_path": "/src/main/java/com/vaccine/view/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte": 1064, "line_coun... | https://github.com/BeataDudek/vaccine | 199 | FILENAME: HomeController.java | 0.26588 | package com.vaccine.view;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.sp... |
fc1d4d43-488d-48c0-b8ac-276a98c121e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 04:08:20", "repo_name": "cianni20/Object-Oriented-Java", "sub_path": "/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 49, "lang": "en", "doc_type": "cod... | https://github.com/cianni20/Object-Oriented-Java | 258 | FILENAME: Login.java | 0.286968 | /*
* 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 ingkungapss;
import user.Users;
/**
*
* @author ASUS
*/
public class Login {
/**
* @param args... |
2ff817cb-daa1-43a5-a601-2ea504ba0da3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-04 19:32:44", "repo_name": "cloareq/mymovies", "sub_path": "/app/src/main/java/eu/epitech/mymovies/mymovies/services/GetAsync2.java", "file_name": "GetAsync2.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/cloareq/mymovies | 223 | FILENAME: GetAsync2.java | 0.272799 | package eu.epitech.mymovies.mymovies.services;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONObject;
import eu.epitech.mymovies.mymovies.R;
import eu.epitech.mymovies.mymovies.services.JSONParser;
/**
* Created by Aurélien on 02... |
5d15ebe3-7439-4334-8a45-020fdc2f687e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-21 10:31:24", "repo_name": "jhonnyfc/Bar_Master_App", "sub_path": "/BarMaster/app/src/main/java/com/example/barmaster/ui/rutinasGrupos/ViewHolderRowGR.java", "file_name": "ViewHolderRowGR.java", "file_ext": "j... | https://github.com/jhonnyfc/Bar_Master_App | 172 | FILENAME: ViewHolderRowGR.java | 0.210766 | package com.example.barmaster.ui.rutinasGrupos;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.example.barmaster.R;
public class ViewHolderRowGR extends RecyclerView.ViewHolder {
public TextView grupName;
... |
0031f9d6-5a89-46f8-afbd-c5ad7c0d4465 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-29 17:38:47", "repo_name": "EvgenUlianov/Builder_1_1_1", "sub_path": "/src/test/java/PersonBuilderTest.java", "file_name": "PersonBuilderTest.java", "file_ext": "java", "file_size_in_byte": 997, "line_count": ... | https://github.com/EvgenUlianov/Builder_1_1_1 | 173 | FILENAME: PersonBuilderTest.java | 0.267408 | import Persons.PersonBuilder;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
public class PersonBuilderTest {
private st... |
91cd19c0-de99-4a9a-bbe8-ac7f1ab40bd8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-23 12:40:53", "repo_name": "YohannBethoule/MeteoProject", "sub_path": "/src/metier/ICapteur.java", "file_name": "ICapteur.java", "file_ext": "java", "file_size_in_byte": 1118, "line_count": 42, "lang": "en", "... | https://github.com/YohannBethoule/MeteoProject | 232 | FILENAME: ICapteur.java | 0.278257 | /*
* 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 Metier;
import Controller.AbstractController;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.Simpl... |
57ea71b7-9367-4206-813e-ec8de9ce6d0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-04 16:27:42", "repo_name": "AndXorr/AndroidBase", "sub_path": "/app/src/main/java/net/base/testo.java", "file_name": "testo.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 36, "lang": "en", ... | https://github.com/AndXorr/AndroidBase | 196 | FILENAME: testo.java | 0.240775 | package net.base;
import android.base.activity.BaseAppCompatActivity;
import android.base.alert.Alert;
import android.base.http.WebConnect;
import android.base.log.Log;
import android.base.util.ApplicationUtils;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.LinkedHashMap;
/**
* Created by... |
abea23ca-4b9a-4716-b32e-d1a2115141ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-06T09:52:17", "repo_name": "SimeonRumy/AIKeys", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 13, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/SimeonRumy/AIKeys | 204 | FILENAME: README.md | 0.262842 | # Check out deployed app:
https://aikeys.herokuapp.com/
# Goals
Develop a Touch-Typing application specifically for programmers. Touch-Typing is a special way to type, involving all 10 fingers, speeding up ones typing. To practice this technique one needs to do a lot of typing. This requires applications which gene... |
f2a9887a-f4e9-4607-bf3d-966d1368cfd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-08 08:54:01", "repo_name": "CanonNr/KafkaDemo", "sub_path": "/consumer-service/src/main/java/cn/lksun/kafkademo/consumerservice/task/ConsumerListener.java", "file_name": "ConsumerListener.java", "file_ext": "j... | https://github.com/CanonNr/KafkaDemo | 219 | FILENAME: ConsumerListener.java | 0.225417 | package cn.lksun.kafkademo.consumerservice.task;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.annotation.TopicPartition;
import org.springframework.stereotype.Component;
@Compone... |
ae857eeb-6c77-4b41-860e-d1c59df98d97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 13:15:06", "repo_name": "ahmad1998se/Code", "sub_path": "/Operating System/Multithreaded/Part 1/Thread_OS_B/src/thread_os_b/Thread_OS_B.java", "file_name": "Thread_OS_B.java", "file_ext": "java", "file_size... | https://github.com/ahmad1998se/Code | 196 | FILENAME: Thread_OS_B.java | 0.295027 | /*
* 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 thread_os_b;
import java.util.Scanner;
/**
*
* @author Ahmad
*/
public class Thread_OS_B {
public static int size;
... |
6abb4ebc-9662-44c1-b232-9e3448b43bb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-19 21:54:44", "repo_name": "dallara81/training-solutions", "sub_path": "/src/main/java/covid/CitizenDao.java", "file_name": "CitizenDao.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 30, "... | https://github.com/dallara81/training-solutions | 210 | FILENAME: CitizenDao.java | 0.262842 | package covid;
import org.mariadb.jdbc.MariaDbDataSource;
import org.springframework.jdbc.core.JdbcTemplate;
import java.sql.SQLException;
import java.util.List;
public class CitizenDao {
private static final String NAME_AND_PW = "covid";
private final JdbcTemplate jdbcTemplate;
public CitizenDao() {
... |
17222d71-4852-43a7-b99a-ea16e903401f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-17 17:41:48", "repo_name": "lclhst/ircbot", "sub_path": "/test/pl/quider/standalone/irc/ConfigurationTest.java", "file_name": "ConfigurationTest.java", "file_ext": "java", "file_size_in_byte": 1065, "line_coun... | https://github.com/lclhst/ircbot | 211 | FILENAME: ConfigurationTest.java | 0.262842 | package pl.quider.standalone.irc;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Collection;
import static org.junit.Assert.*;... |
d4d24edd-a1ca-4bab-83e4-44498c266310 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-26T17:36:46", "repo_name": "andersonmadeira/aspJSON", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1044, "line_count": 69, "lang": "en", "doc_type": "text", "b... | https://github.com/andersonmadeira/aspJSON | 284 | FILENAME: README.md | 0.264358 | # aspJSON
### 1. Before you jump in...
Version 1.17 of this library was originally developed by Gerrit van Kuipers.
Since I was unable to contact him or find a public repository hosting this code, I decided to publish this library so other people could benefit of it as I did,
and maybe we can improve it a little bi... |
80bf6d7b-e551-4adc-a3f5-5221efa23164 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 17:34:34", "repo_name": "BenayounP/BADASS", "sub_path": "/badass/src/main/java/eu/benayoun/badass/utility/model/BadassList.java", "file_name": "BadassList.java", "file_ext": "java", "file_size_in_byte": 966... | https://github.com/BenayounP/BADASS | 210 | FILENAME: BadassList.java | 0.284576 | package eu.benayoun.badass.utility.model;
import java.util.ArrayList;
public class BadassList<E>
{
int currentIndex;
ArrayList<E> arrayList;
public BadassList(ArrayList<E> arrayList)
{
this.arrayList = arrayList;
currentIndex =0;
}
// Info on list state
public boolean isO... |
2c624e1d-9cf5-4c8c-90fd-4438de08aaee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03 08:21:58", "repo_name": "Aya1602/TimePicker", "sub_path": "/app/src/main/java/com/example/timepicker/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 995, "line... | https://github.com/Aya1602/TimePicker | 179 | FILENAME: MainActivity.java | 0.293404 | package com.example.timepicker;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.TimePicker;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... |
ee2ebb8a-9f11-4b08-bedb-867c98033c00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-05-01T06:56:51", "repo_name": "svnk/wordpressXmlToJekyllMarkdown", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 993, "line_count": 43, "lang": "en", "doc_type": "... | https://github.com/svnk/wordpressXmlToJekyllMarkdown | 251 | FILENAME: README.md | 0.185947 | # wordpressXmlToJekyllMarkdown
Converts your wordpress Export XML to Jekyll-Friendly Markdown
## Usage
The script expects the export from your wordpress site as "export.xml" in the
same directory. It exports all posts into the directory "posts".
Each post gets exported into a markdown-file fit for import int Jekyll,... |
014dfc9e-a959-4ff2-a9b0-896f4b6eb8c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 11:53:12", "repo_name": "EugeneVanchugov/SpringReaper", "sub_path": "/src/main/java/com/epam/reaper/classes/TerminatorQuoter.java", "file_name": "TerminatorQuoter.java", "file_ext": "java", "file_size_in_by... | https://github.com/EugeneVanchugov/SpringReaper | 219 | FILENAME: TerminatorQuoter.java | 0.246533 | package com.epam.reaper.classes;
import com.epam.reaper.annotations.DeprecatedClass;
import com.epam.reaper.annotations.InjectRandomInt;
import com.epam.reaper.annotations.PostProxyListener;
import com.epam.reaper.annotations.Profiling;
import com.epam.reaper.interfaces.Quoter;
import javax.annotation.PostConstruct;
... |
b5f78707-bae2-43a7-957a-da2010db0bc7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-22 15:49:41", "repo_name": "alexcwyu/algotrader", "sub_path": "/algotrader-provider/algotrader-provider-common/src/main/java/com/unisoft/algotrader/provider/data/SubscriptionType.java", "file_name": "Subscript... | https://github.com/alexcwyu/algotrader | 218 | FILENAME: SubscriptionType.java | 0.256832 | package com.unisoft.algotrader.provider.data;
import com.google.common.base.Objects;
import com.unisoft.algotrader.model.event.data.DataType;
/**
* Created by alex on 9/22/15.
*/
public class SubscriptionType {
public final DataType type;
public final int barSize;
public SubscriptionType(DataType typ... |
88679c13-1094-4d1e-b375-b3a4fa1c148d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-30 15:57:48", "repo_name": "michellymenezes/easy-meal", "sub_path": "/app/src/main/java/com/projeto_les/easymeal/services/retrofit_models/AnalyzedRecipeInstructionsMapper.java", "file_name": "AnalyzedRecipeIns... | https://github.com/michellymenezes/easy-meal | 235 | FILENAME: AnalyzedRecipeInstructionsMapper.java | 0.228156 | package com.projeto_les.easymeal.services.retrofit_models;
import com.google.gson.annotations.SerializedName;
/**
* Created by caynan on 17/02/17.
*/
public class AnalyzedRecipeInstructionsMapper {
@SerializedName("id")
private int id = 0;
@SerializedName("stepBreakdown")
private boolean stepBreak... |
3b4db736-cea1-4a3a-bee8-6ec9195f13a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-25 10:10:42", "repo_name": "Daveiac/FProj_Gruppe48", "sub_path": "/KalenderProsjekt/src/networking/packages/DataResponse.java", "file_name": "DataResponse.java", "file_ext": "java", "file_size_in_byte": 1041, ... | https://github.com/Daveiac/FProj_Gruppe48 | 226 | FILENAME: DataResponse.java | 0.26588 | package networking.packages;
import java.util.List;
public class DataResponse extends Response {
private static final long serialVersionUID = -1664992392938826860L;
private List data;
private DataResponseType dataResponseType;
public final boolean requested;
public enum DataResponseType {
NOTIFICATION_RESPONS... |
b8232153-36f0-4ef2-873d-0d84e8a8d277 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-15 07:42:06", "repo_name": "PeterPorzuczek/pieson", "sub_path": "/backend/src/main/java/com/peterporzuczek/backend/domain/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1000, "l... | https://github.com/PeterPorzuczek/pieson | 193 | FILENAME: Task.java | 0.226784 | package com.peterporzuczek.backend.domain;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIdentityReference;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.*;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.UUID;... |
2d37305d-cf13-49c0-a4bf-9977bf902f9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-14 13:48:41", "repo_name": "greycode123/springDemo", "sub_path": "/src/main/java/com/smart/itext/PdfTest.java", "file_name": "PdfTest.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 40, "la... | https://github.com/greycode123/springDemo | 257 | FILENAME: PdfTest.java | 0.294215 | package com.smart.itext;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Image;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.PdfWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
public class PdfTest {
... |
9cea6e0a-4801-4142-8e35-bc80e41facd8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-17 09:52:13", "repo_name": "Fousq/Java_Core", "sub_path": "/src/main/java/kz/zhanbolat/chief/util/ProdCodeRunModel.java", "file_name": "ProdCodeRunModel.java", "file_ext": "java", "file_size_in_byte": 1043, "l... | https://github.com/Fousq/Java_Core | 201 | FILENAME: ProdCodeRunModel.java | 0.261331 | package kz.zhanbolat.chief.util;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class ProdCodeRunModel {
private Object instance;
private List<Object> parameters;
public ProdCodeRunModel(Object instance, List<Object> parameters) {
this.instance = instance;
... |
8ca0ceef-68c0-4ef1-93cd-5860fc708d91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-28 06:58:24", "repo_name": "ampie/serenity-filterchain", "sub_path": "/serenity-filterchain-core/src/main/java/net/serenitybdd/cucumber/filterchain/OutputLinkConfig.java", "file_name": "OutputLinkConfig.java",... | https://github.com/ampie/serenity-filterchain | 205 | FILENAME: OutputLinkConfig.java | 0.252384 |
package net.serenitybdd.cucumber.filterchain;
import java.io.File;
import java.util.List;
public class OutputLinkConfig extends LinkConfig<OutputLink> {
private File outputDirectory;
private List<String> sources;
public OutputLinkConfig() {
}
public OutputLinkConfig(String name, String implemen... |
6322f6ef-1573-4742-99f1-bc27b11aa925 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-08 12:32:33", "repo_name": "yanguefeng/pinyougou-parent", "sub_path": "/pinyougou_seckill_web/src/main/java/com/pinyougou/seckill/controller/SeckillGoodsController.java", "file_name": "SeckillGoodsController.j... | https://github.com/yanguefeng/pinyougou-parent | 237 | FILENAME: SeckillGoodsController.java | 0.235108 | package com.pinyougou.seckill.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.pinyougou.pojo.TbSeckillGoods;
import com.pinyougou.seckill.service.SeckillGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestControlle... |
9aa992ce-ee6c-4151-b6c2-0f5ae4b22fa1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 12:29:22", "repo_name": "al364387/proyecto-EI1027", "sub_path": "/src/main/java/es/uji/ei1027/majorsacasa/dao/ElderlyRowMapper.java", "file_name": "ElderlyRowMapper.java", "file_ext": "java", "file_size_in_... | https://github.com/al364387/proyecto-EI1027 | 219 | FILENAME: ElderlyRowMapper.java | 0.218669 | package es.uji.ei1027.majorsacasa.dao;
import es.uji.ei1027.majorsacasa.model.Elderly;
import org.springframework.jdbc.core.RowMapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;
public class ElderlyRowMapper implements RowMapper<Elderly> {
@Override
public Elderly m... |
d2ab3e8d-1cf9-42eb-8c6a-0cb83eff309e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-21 16:59:09", "repo_name": "xdawax/android", "sub_path": "/SaveStateExercise/app/src/main/java/se/umu/cs/johane/savestateexercise/Die.java", "file_name": "Die.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/xdawax/android | 232 | FILENAME: Die.java | 0.290176 | package se.umu.cs.johane.savestateexercise;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Random;
/**
* Created by johane on 2018-01-09.
* A representation of a 6 sided Die
*/
public class Die implements Parcelable{
public static final Parcelable.Creator<Die> CREATOR = new Parcela... |
215dab61-efa2-48b8-8ba3-534c8b4a29a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 14:04:52", "repo_name": "wnstlr0615/SpringFrameworkExamplePratice", "sub_path": "/src/test/java/com/joon/demo/converter/EventControllerTest.java", "file_name": "EventControllerTest.java", "file_ext": "java"... | https://github.com/wnstlr0615/SpringFrameworkExamplePratice | 184 | FILENAME: EventControllerTest.java | 0.23793 | package com.joon.demo.converter;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test... |
197d6e1a-976f-49c2-9b92-6e1856dbeef5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-25T22:17:13", "repo_name": "TSimmz/jammming", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1022, "line_count": 32, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/TSimmz/jammming | 279 | FILENAME: README.md | 0.233706 | # Jammming!
Jammming is a simple React app bootstrapped with [Create React App](https://github.com/facebook/create-react-app). Using the Spotify API, it allows the user to login to Spotify, search for songs, and create new playlists. The playlists are saved to the users Spotify account.
## View the website
[peanut-but... |
2f6c5cc5-5a59-480c-80da-434e1f7cc247 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 14:19:54", "repo_name": "romasini/mvc-example", "sub_path": "/src/main/java/ru/romasini/structure/pattern/mvc/controllers/ProductController.java", "file_name": "ProductController.java", "file_ext": "java", ... | https://github.com/romasini/mvc-example | 191 | FILENAME: ProductController.java | 0.273574 | package ru.romasini.structure.pattern.mvc.controllers;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import ru.romasini.structure.pattern.mvc.dto.ProductDto;
import ru.romasini.structure.pattern.mvc.entities.Product;
import ru.romasini.structure.pattern.mvc.services.ProductSe... |
bc25806a-4a34-4b62-83c9-ee4c526a6f09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 09:57:10", "repo_name": "jgis/psv-java", "sub_path": "/src/main/java/jgis/psv/PSVOutputStream.java", "file_name": "PSVOutputStream.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 40, "lan... | https://github.com/jgis/psv-java | 198 | FILENAME: PSVOutputStream.java | 0.240775 | package jgis.psv;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.Charset;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* An OutputStream for writing PSV streams.
*/
public class PSVOutputStream extends FilterOutputStream {
private At... |
f57811b5-1d91-45f0-b88f-3109d0e0b93d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-08T05:15:14", "repo_name": "LoganXGS/juc-advanced", "sub_path": "/src/main/java/com/geek/demo09/ThreadPoolExecutorsDemo.java", "file_name": "ThreadPoolExecutorsDemo.java", "file_ext": "java", "file_size_in_byt... | https://github.com/LoganXGS/juc-advanced | 283 | FILENAME: ThreadPoolExecutorsDemo.java | 0.290176 | package com.geek.demo09;
import java.util.concurrent.*;
/**
* @author : 赵静超
* @date : 2020/6/10
* @description :
* 四种拒绝策略:
* AbortPolicy:队列满了则抛出异常
* CallerRunsPolicy:队列满了谁叫你调的我则 谁去执行(交个main线程去执行)
* DiscardPolicy:队列满了,则直接抛弃,不会抛出异常
* DiscardOldestPolicy:队列满了,则会判断最早执行的线程有没有空闲,如有空闲则交个它执行
*/
@SuppressWarnings("al... |
7c354917-cc81-49ec-ab54-8f43b04dc300 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-13 17:22:09", "repo_name": "wrowston/MOOCHelsinki-Java-OOP-Part2", "sub_path": "/week10-week10_33.Dungeon/src/dungeon/GamePiece.java", "file_name": "GamePiece.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/wrowston/MOOCHelsinki-Java-OOP-Part2 | 228 | FILENAME: GamePiece.java | 0.242206 | package dungeon;
import java.util.List;
public abstract class GamePiece {
String name;
int x;
int y;
int length;
int height;
public GamePiece(String name, int length, int height) {
this.name = name;
this.length = length;
this.height = height;
}
public String g... |
ee0741c3-c324-4a30-b865-8f1844f2cb42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-31 09:45:33", "repo_name": "yaolijie/management", "sub_path": "/src/main/java/com/liji/managementSystem/Servlet/LoadServlet.java", "file_name": "LoadServlet.java", "file_ext": "java", "file_size_in_byte": 1048... | https://github.com/yaolijie/management | 173 | FILENAME: LoadServlet.java | 0.252384 | package com.liji.managementSystem.Servlet;
import com.liji.managementSystem.Hendle.CreateHeadle;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLExc... |
d513e7f1-f9c8-4633-9be4-a1b44de84555 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 08:13:22", "repo_name": "DarkishXiaoA/ASkyBlockEx2", "sub_path": "/src/main/java/cn/ninja9/darkisha/Listener/onBlockBreakEvent.java", "file_name": "onBlockBreakEvent.java", "file_ext": "java", "file_size_in... | https://github.com/DarkishXiaoA/ASkyBlockEx2 | 223 | FILENAME: onBlockBreakEvent.java | 0.216012 | package cn.ninja9.darkisha.Listener;
import cn.ninja9.darkisha.AskyBlockEx2;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
public class onBlockBreakEvent implements Listener... |
1addaaba-f0cd-492b-aee0-3cd03d732840 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 13:18:46", "repo_name": "zyuQ/springboot-learning-example", "sub_path": "/springboot-redis/src/main/java/springboot/controller/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "... | https://github.com/zyuQ/springboot-learning-example | 197 | FILENAME: HomeController.java | 0.225417 | package springboot.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import ... |
9bbde06c-aff2-4d65-85a1-36a35b787896 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-23 17:41:08", "repo_name": "yousef1876/Ecommerce-Banking-IngenicoConnectAPI", "sub_path": "/src/main/java/com/hr/framework/po/leave/LeaveApproval.java", "file_name": "LeaveApproval.java", "file_ext": "java", "... | https://github.com/yousef1876/Ecommerce-Banking-IngenicoConnectAPI | 221 | FILENAME: LeaveApproval.java | 0.27048 | package com.hr.framework.po.leave;
import com.hr.framework.config.audit.Auditable;
import com.hr.framework.config.audit.EntityListener;
import com.hr.framework.po.employee.base.Employee;
import com.hr.framework.po.person.Person;
import lombok.Data;
import javax.persistence.*;
@Entity
@Table(name = "leave... |
6f7d3d0e-9962-47c0-90b2-de412b87618b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-31 04:18:51", "repo_name": "TacticalAxis/PlayerFreeze", "sub_path": "/src/main/java/io/github/tacticalaxis/playerfreeze/image/MessageRunnable.java", "file_name": "MessageRunnable.java", "file_ext": "java", "fi... | https://github.com/TacticalAxis/PlayerFreeze | 192 | FILENAME: MessageRunnable.java | 0.250913 | package io.github.tacticalaxis.playerfreeze.image;
import io.github.tacticalaxis.playerfreeze.ConfigurationManager;
import io.github.tacticalaxis.playerfreeze.PlayerFreeze;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
public class MessageRunnable extends BukkitRunnable {
private fi... |
c11fbf30-9fd2-451e-a186-eda8ab007baf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-07 09:00:36", "repo_name": "luoxinghan/LogInAndLogOut", "sub_path": "/app/src/main/java/com/example/luo/loginandlogout/data/helper/ContactHelper.java", "file_name": "ContactHelper.java", "file_ext": "java", "f... | https://github.com/luoxinghan/LogInAndLogOut | 185 | FILENAME: ContactHelper.java | 0.287768 | package com.example.luo.loginandlogout.data.helper;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.example.luo.loginandlogout.data.modules.FileUser;
import java.util.ArrayList;
import java.util.List;
public class ContactHelper {
public static List<FileUser> getAllCont... |
84084c8c-dda7-49bc-be94-8b792798de17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-25 07:45:40", "repo_name": "miaoxu9999/beauty-beast", "sub_path": "/Party_Back/src/test/java/com/example/party/controller/Registration_ControllerTest.java", "file_name": "Registration_ControllerTest.java", "fi... | https://github.com/miaoxu9999/beauty-beast | 202 | FILENAME: Registration_ControllerTest.java | 0.218669 | package com.example.party.controller;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import or... |
6407eb35-796e-42b1-b23d-07e6072c615c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-16T09:59:59", "repo_name": "Uraharadono/EFCoreCodeFirstPostgressBoilerplate", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1233, "line_count": 24, "lang": "en"... | https://github.com/Uraharadono/EFCoreCodeFirstPostgressBoilerplate | 267 | FILENAME: README.md | 0.267408 | # Entity Framework Core 3.1 - Code First - Postgress Boilerplate
Boilerplate project for quick-start of EntityFrameworkCore CodeFirst approach with Postgress database
## Solution contents:
Solution contains 2 projects in it:
- 1st one contains only EFCore and functionalities to get quickstart with the setting up da... |
97216529-d17d-4d38-9563-174dae9b4b11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-19 15:04:52", "repo_name": "rishipollai/SpringBootApiAssignments", "sub_path": "/hotelsystemWithSecurity/src/main/java/com/hotelmanagement/hotelsystem/UserOne.java", "file_name": "UserOne.java", "file_ext": "j... | https://github.com/rishipollai/SpringBootApiAssignments | 175 | FILENAME: UserOne.java | 0.236516 | package com.hotelmanagement.hotelsystem;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
... |
2676f5e7-9097-46e7-85ed-ceb2af669c59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-12 08:56:53", "repo_name": "819715035/FarmProbe", "sub_path": "/app/src/main/java/com/lanjian/farm/common/MyBaseAdapter.java", "file_name": "MyBaseAdapter.java", "file_ext": "java", "file_size_in_byte": 1002, ... | https://github.com/819715035/FarmProbe | 219 | FILENAME: MyBaseAdapter.java | 0.27513 | package com.lanjian.farm.common;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.List;
/**
* Created by Administrator on 2017/11/10 0010.
*/
public abstract class MyBaseAdapter<T> extends BaseAdapter{
public List<T> list;
public MyBaseAdapter(... |
12728db2-9521-4e5c-a0b1-3d54d5c83dd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-19 11:00:05", "repo_name": "poovarasanvasudevan/SHPTAA", "sub_path": "/app/src/main/java/in/shpt/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count... | https://github.com/poovarasanvasudevan/SHPTAA | 187 | FILENAME: MainActivity.java | 0.235108 | package in.shpt;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import com.parse.GetCallback;
import com.parse.ParseException;
import com.parse.ParseObject;
import com.parse.ParseQuery;
import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EA... |
27feaf60-de21-4161-8ec1-0b2a92c78ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-18 17:57:03", "repo_name": "PaffcioStudio/Oxygen-Menu", "sub_path": "/src/main/java/austeretony/oxygen_menu/client/input/OxygenMenuKeyHandler.java", "file_name": "OxygenMenuKeyHandler.java", "file_ext": "java"... | https://github.com/PaffcioStudio/Oxygen-Menu | 221 | FILENAME: OxygenMenuKeyHandler.java | 0.279042 | package austeretony.oxygen_menu.client.input;
import austeretony.oxygen_core.client.api.ClientReference;
import austeretony.oxygen_menu.client.gui.menu.OxygenMenuScreen;
import austeretony.oxygen_menu.common.config.OxygenMenuConfig;
import net.minecraft.client.settings.KeyBinding;
import net.minecraftforge.fml.common.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.