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 |
|---|---|---|---|---|---|---|
4e0a34bd-86f2-4528-87ff-79b501ed395a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-16 09:54:42", "repo_name": "Gaoxiang-Zhang/Lucene_v1.0", "sub_path": "/src/model/DBPedia.java", "file_name": "DBPedia.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 60, "lang": "en", "doc_... | https://github.com/Gaoxiang-Zhang/Lucene_v1.0 | 262 | FILENAME: DBPedia.java | 0.291787 | package model;
/**
* DBPedia: the model of DBPedia File
* @author Gaoxiang Zhang
*
*/
public class DBPedia {
private String itemName;
private String resourceAddress;
private String itemContent;
private double confidence;
public DBPedia(){
itemName = "";
resourceAddress = "";
itemConten... |
de74b445-32e4-4dbf-a0cc-95dd089d48e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-23 08:25:33", "repo_name": "kellensd/investimento", "sub_path": "/src/test/java/simulacoes/SimulacoesGetTest.java", "file_name": "SimulacoesGetTest.java", "file_ext": "java", "file_size_in_byte": 968, "line_co... | https://github.com/kellensd/investimento | 226 | FILENAME: SimulacoesGetTest.java | 0.293404 | package simulacoes;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import test.BaseTest;
import java.util.ArrayList;
import java.util.List;
import static io.restassured.RestAssured.*;
import static org.hamcrest.CoreMatchers.*;
public class SimulacoesGetTest extends BaseTest {
@T... |
d3921d2e-7714-4581-9c72-6b0af79ec91a | {"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/Clients.java", "file_name": "Clients.java", "file_ext": "java", "file_size_in_byte": 1096, "line... | https://github.com/jamerlan/jSpringLobbyLib | 210 | FILENAME: Clients.java | 0.250913 | package com.jamerlan.commands.impl.in;
import com.jamerlan.ServerState;
import com.jamerlan.commands.Command;
import com.jamerlan.utils.CommandParser;
import com.jamerlan.model.Channel;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
/**
CLIENTS chanName {clients}
*/
public cla... |
291daa47-4741-4989-b387-73a9e09d1a30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-27 12:38:36", "repo_name": "eduardscaueru/Energy-Management-System", "sub_path": "/src/writer/Contract.java", "file_name": "Contract.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 39, "lang... | https://github.com/eduardscaueru/Energy-Management-System | 192 | FILENAME: Contract.java | 0.282988 | package writer;
public class Contract {
private int consumerId;
private int price;
private int remainedContractMonths;
public Contract(final int consumerId, final int price,
final int remainedContractMonths) {
this.consumerId = consumerId;
this.price = pri... |
6d8f5237-0227-4df1-a924-46b87e17003d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-03 22:10:11", "repo_name": "achowdhury3762/Adopt-an-Animal", "sub_path": "/app/src/main/java/nyc/c4q/ashiquechowdhury/adoptme/animalpicturerecycler/AnimalPictureAdapter.java", "file_name": "AnimalPictureAdapte... | https://github.com/achowdhury3762/Adopt-an-Animal | 242 | FILENAME: AnimalPictureAdapter.java | 0.290176 | package nyc.c4q.ashiquechowdhury.adoptme.animalpicturerecycler;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
import nyc.c4q.ashiquechowdhury.adoptme.R;
/**
* Created by ashiquechowdhury on 12/2/16.... |
c3e01f70-8827-4d49-94a5-75dea58736f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 14:25:43", "repo_name": "fmendezh/padrones", "sub_path": "/src/main/java/fmendez/padron/transforms/LineToElector.java", "file_name": "LineToElector.java", "file_ext": "java", "file_size_in_byte": 1153, "lin... | https://github.com/fmendezh/padrones | 247 | FILENAME: LineToElector.java | 0.274351 | package fmendez.padron.transforms;
import java.text.SimpleDateFormat;
import fmendez.padron.dict.DistritosElectoralesDictionary;
import fmendez.padron.model.Elector;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import org.apache.beam.sdk.transforms.SerializableFunction;
@Dat... |
408e1b8d-1a96-4e7c-85bf-b285cdcd475b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-30 12:19:14", "repo_name": "hcoles/pitest", "sub_path": "/pitest-entry/src/test/java/org/pitest/mutationtest/build/intercept/exclude/FirstLineInterceptorFactoryTest.java", "file_name": "FirstLineInterceptorFac... | https://github.com/hcoles/pitest | 213 | FILENAME: FirstLineInterceptorFactoryTest.java | 0.267408 | package org.pitest.mutationtest.build.intercept.exclude;
import org.junit.Test;
import org.pitest.mutationtest.build.InterceptorType;
import org.pitest.mutationtest.build.intercept.groovy.GroovyFilterFactory;
import org.pitest.verifier.interceptors.FactoryVerifier;
public class FirstLineInterceptorFactoryTest {
... |
cdea120c-a949-4a9f-b12e-61c43c169f93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 10:01:06", "repo_name": "zhangnengxian/GYPROJECT", "sub_path": "/GYproject-common/src/main/java/cc/dfsoft/uexpress/common/util/StringUtil.java", "file_name": "StringUtil.java", "file_ext": "java", "file_siz... | https://github.com/zhangnengxian/GYPROJECT | 292 | FILENAME: StringUtil.java | 0.290176 | package cc.dfsoft.uexpress.common.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
/**
* 字符串处理工具类
* @author van.zheng
*
*/
public class StringUtil extends StringUtils{
/**
* 去除以逗号分隔的字符串的重复项
* @param str
* @return
*/
pub... |
c92e2174-8e90-4b9e-a367-b7894d6801a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-24 08:44:43", "repo_name": "ZionSS/Object-oriented-programming-Lab", "sub_path": "/Lab06/src/lab06/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 1103, "line_count": 50, "la... | https://github.com/ZionSS/Object-oriented-programming-Lab | 241 | FILENAME: Course.java | 0.29584 | /*
* 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 lab06;
/**
*
* @author Ailas
*/
import java.util.List;
import java.util.ArrayList;
public class Course {
private List<S... |
53fa12a8-c085-48e0-a0b0-0da425dec32c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-03 20:32:39", "repo_name": "1204al/JavaEEKPIlabs", "sub_path": "/src/datasource/ConnectionSource.java", "file_name": "ConnectionSource.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 43, "la... | https://github.com/1204al/JavaEEKPIlabs | 189 | FILENAME: ConnectionSource.java | 0.252384 | package datasource;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;
/**
* Created by aliubivyi on 17.04.17.
*/
public class ConnectionSource {
private InitialContext initC... |
e1339165-9370-4eba-83ee-9101d0f23965 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-25T09:15:27", "repo_name": "Innarticles/oauth-one", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 977, "line_count": 40, "lang": "en", "doc_type": "text", "blob... | https://github.com/Innarticles/oauth-one | 239 | FILENAME: README.md | 0.253861 |
# OAuth-One
Easly make Oath1 requests to other services
## Installation
Add this line to your application's Gemfile:
gem 'oauth-one', require: "oauth_one/helper"
And then execute:
$ bundle
Or install it yourself as:
$ gem install oauth-one
## Usage
domain_url = 'https://www.example.com/some... |
9f0670df-1870-4bba-b4c5-f2b8ec800647 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-05-18 18:03:49", "repo_name": "Ehres/SafeDriving", "sub_path": "/SafeDriving-ejb/src/java/com/safedriving/model/Examen.java", "file_name": "Examen.java", "file_ext": "java", "file_size_in_byte": 983, "line_count"... | https://github.com/Ehres/SafeDriving | 237 | FILENAME: Examen.java | 0.250913 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.safedriving.model;
import com.safedriving.enumeration.TypeExam;
import java.io.Serializable;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
/**
*
* @author Ehres
*/
@Entity... |
120e936a-4501-4271-b35d-0759a58974c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 10:38:25", "repo_name": "koushen001/study", "sub_path": "/src/main/java/com/cike/juc/sync/VectorExample2.java", "file_name": "VectorExample2.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count... | https://github.com/koushen001/study | 219 | FILENAME: VectorExample2.java | 0.239349 | package com.cike.juc.sync;
import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Vector;
/**
* @Description 线程不安全
* @Author CIKE
* @Version 1.0
**/
@Slf4j
public class VectorExample2 {
private static List<Integer> vector = new Vector<>();
public static void main(String[] args) throws... |
168700b4-2e07-4962-8616-cbdd3580b9b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 12:31:15", "repo_name": "Khangbt/qlts", "sub_path": "/services/project-service/src/main/java/com/hust/qlts/project/entity/DeviceToRequestAddEntity.java", "file_name": "DeviceToRequestAddEntity.java", "file_... | https://github.com/Khangbt/qlts | 218 | FILENAME: DeviceToRequestAddEntity.java | 0.277473 | package com.hust.qlts.project.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Data
@Entity
//@Table(name = "DEVICE_TO_REQUEST_ADD")
@Table(name = "device_to_request_add")
@AllArgsConstructor
@NoArgsConstruct... |
425a1073-3ffe-41c0-92e8-373685b9cf42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 02:56:27", "repo_name": "chentianming11/demo", "sub_path": "/src/test/java/com/study/demo/concurrent2/volatileTest/VolatileTest.java", "file_name": "VolatileTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/chentianming11/demo | 231 | FILENAME: VolatileTest.java | 0.276691 | package com.study.demo.concurrent2.volatileTest;
/**
* @author 陈添明
* @date 2018/9/9
*/
public class VolatileTest {
private static int INIT_VALUE = 0;
private static int MAX_LIMIT = 5;
public static void main(String[] args) throws InterruptedException {
new Thread(() -> {
int localV... |
586946a4-dc5c-4f89-8baf-cd682470cfb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 08:53:20", "repo_name": "liuzonglin1226/hrms1", "sub_path": "/hrms/src/main/java/com/test/biz/Impl/EmployeeServiceImpl.java", "file_name": "EmployeeServiceImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/liuzonglin1226/hrms1 | 215 | FILENAME: EmployeeServiceImpl.java | 0.272799 | package com.test.biz.Impl;
import com.test.biz.EmployeeService;
import com.test.dao.EmployeeMapper;
import com.test.model.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class EmployeeServiceImpl implements ... |
9429bbca-2aa4-42a4-8799-6da8381a64aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-12 00:18:20", "repo_name": "nahuelPascual/Vault-test", "sub_path": "/src/main/java/com/vault/test/model/utils/Messages.java", "file_name": "Messages.java", "file_ext": "java", "file_size_in_byte": 1001, "line_... | https://github.com/nahuelPascual/Vault-test | 179 | FILENAME: Messages.java | 0.235108 | package com.vault.test.model.utils;
import javax.inject.Inject;
import javax.inject.Named;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
@Named
public class Messages {
private s... |
5d44a67b-7341-4a40-8a3c-6f13901c8b06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-01 20:19:58", "repo_name": "butterflyforever/Dating-App", "sub_path": "/app/src/main/java/com/example/pro/test1/people.java", "file_name": "people.java", "file_ext": "java", "file_size_in_byte": 1004, "line_co... | https://github.com/butterflyforever/Dating-App | 220 | FILENAME: people.java | 0.229535 | package com.example.pro.test1;
/**
* Created by liyang on 2017/6/16.
*/
public class people {
public int id ;
public String name;
public String password;
public String account;
public String signature;
public String introduction;
public int age;
public String place;
public int se... |
092fce6c-6cef-4015-88e7-623386eb7abd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-08 16:36:23", "repo_name": "Susshki/learn", "sub_path": "/Springboot/webProjFilterFields13/src/main/java/com/sushma/springboot/webProjFilterFields13/FilterController.java", "file_name": "FilterController.java"... | https://github.com/Susshki/learn | 202 | FILENAME: FilterController.java | 0.274351 | package com.sushma.springboot.webProjFilterFields13;
import org.springframework.http.converter.json.MappingJacksonValue;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.fasterxml.jackson.databind.ser.FilterProvider;
import com.faster... |
93160328-49a1-45bb-be93-b60ba0ed026e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-28 08:16:14", "repo_name": "cnso/LuaAndroid", "sub_path": "/app/src/main/java/com/jash/luaandroid/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1153, "line_coun... | https://github.com/cnso/LuaAndroid | 219 | FILENAME: MainActivity.java | 0.242206 | package com.jash.luaandroid;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import java.io.File;
import java.lang.reflect.Method;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
a2e12c7c-8e9c-4e10-97cb-0a2d51b5dabe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 18:55:18", "repo_name": "saralein/java-server", "sub_path": "/server/src/test/java/com/saralein/server/middleware/verifier/DirectoryVerifierTest.java", "file_name": "DirectoryVerifierTest.java", "file_ext":... | https://github.com/saralein/java-server | 226 | FILENAME: DirectoryVerifierTest.java | 0.284576 | package com.saralein.server.middleware.verifier;
import com.saralein.server.filesystem.Directory;
import com.saralein.server.filesystem.FilePath;
import com.saralein.server.request.Request;
import org.junit.Before;
import org.junit.Test;
import java.nio.file.Path;
import java.nio.file.Paths;
import static org.junit.As... |
56ff3cf3-0136-4a4f-9fbd-0533646404bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-24 09:52:33", "repo_name": "justanhnt/spring-boot", "sub_path": "/src/main/java/com/learning/springmvc/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size_in_byte": 1009,... | https://github.com/justanhnt/spring-boot | 206 | FILENAME: HelloController.java | 0.295027 | package com.learning.springmvc;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
imp... |
738f7982-0064-474d-9630-a0e29f15c300 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-13 05:20:32", "repo_name": "RAOE/RunnerManager", "sub_path": "/com-xyf-service/src/main/java/com/xyf/service/AdminService.java", "file_name": "AdminService.java", "file_ext": "java", "file_size_in_byte": 1120,... | https://github.com/RAOE/RunnerManager | 250 | FILENAME: AdminService.java | 0.282988 | package com.xyf.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.xyf.mapper.AdminMapper;
import com.xyf.mapper.UserMapper;
import com.xyf.pojo.Admin;
import com.xyf.utils.CommonUtils;
import redis.clients.jedis.P... |
151b6fca-c105-439a-85fe-03a2cec85966 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 08:52:01", "repo_name": "misternerd/resteasytox-maven-plugin", "sub_path": "/src/main/java/com/misternerd/resteasytox/swift/objects/SwiftConstructorMethod.java", "file_name": "SwiftConstructorMethod.java", ... | https://github.com/misternerd/resteasytox-maven-plugin | 245 | FILENAME: SwiftConstructorMethod.java | 0.286169 | package com.misternerd.resteasytox.swift.objects;
import java.util.ArrayList;
public class SwiftConstructorMethod extends SwiftMethod
{
public SwiftConstructorMethod(ArrayList<SwiftProperty> properties, ArrayList<SwiftProperty> superProperties, boolean hasSuperclass)
{
super(INIT_FUNCTION_NAME);
if (superProp... |
9c81937b-1801-4427-8b77-fc0aaff21be5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-12 07:45:38", "repo_name": "Drastaro/Accounting-data-ESB", "sub_path": "/SilverWiresAdmin/src/com/silverwiresapp/admin/quickbooks/data/DataServiceFactory.java", "file_name": "DataServiceFactory.java", "file_ex... | https://github.com/Drastaro/Accounting-data-ESB | 234 | FILENAME: DataServiceFactory.java | 0.279828 | package com.silverwiresapp.admin.quickbooks.data;
import com.intuit.ipp.core.Context;
import com.intuit.ipp.core.ServiceType;
import com.intuit.ipp.exception.FMSException;
import com.intuit.ipp.security.IAuthorizer;
import com.intuit.ipp.security.OAuthAuthorizer;
import com.intuit.ipp.services.DataService;
import com.... |
0f4477ce-82f9-4380-9caa-51ee4f429746 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 03:21:35", "repo_name": "armyant0920/IOProject", "sub_path": "/src/main/java/DBLab/TranscationLab.java", "file_name": "TranscationLab.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count": 52, ... | https://github.com/armyant0920/IOProject | 214 | FILENAME: TranscationLab.java | 0.288569 | package DBLab;
import java.sql.*;
public class TranscationLab {
public static void main(String[] args) {
try (Connection conn = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=JDBCDB", "scott", "tiger");
Statement st=conn.createStatement();
ResultSet ... |
235304b6-dd72-40bc-9ac3-e2df95a76431 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-02T11:20:42", "repo_name": "genmauger/rails-blog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 991, "line_count": 30, "lang": "en", "doc_type": "text", "blob_... | https://github.com/genmauger/rails-blog | 205 | FILENAME: README.md | 0.218669 | # README
This README would normally document whatever steps are necessary to get the
application up and running.
## Practice Blog Application
We are currently exploring the use of Application Programming Interfaces (APIs) in our class. After working with databases (such a sequel and sqlite3) and practicing pairing t... |
de26dd0a-5e29-4330-8661-30b2cc0a2810 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-11T11:26:06", "repo_name": "thai-ng/FGO-Bot-Framework", "sub_path": "/Readme.MD", "file_name": "Readme.MD", "file_ext": "md", "file_size_in_byte": 1152, "line_count": 36, "lang": "en", "doc_type": "text", ... | https://github.com/thai-ng/FGO-Bot-Framework | 265 | FILENAME: Readme.MD | 0.250913 | # This is a bot framework for Fate Grand Order.
## Roadmap:
1. Detect Servants present in battle scene.
2. Select servant skills
3. Detect cards in card selection scene
4. Select cards
5. Detect suit skills
6. Select suit skills
7. Detect NP cards
8. Select NP cards
9. Build scripting framework for scripting battle act... |
5fae172f-30e0-4f71-80e5-4d744d4d68ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 15:03:55", "repo_name": "ninedao/javaProject", "sub_path": "/src/com/lzc/thinkingInJava/concurrency/DaemonFromFactory.java", "file_name": "DaemonFromFactory.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/ninedao/javaProject | 193 | FILENAME: DaemonFromFactory.java | 0.272025 | package com.lzc.thinkingInJava.concurrency;
import com.lzc.thinkingInJava.util.DaemonThreadFactory;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class DaemonFromFactory implements Runnable{
@Override
public void run() {
... |
2d908e5b-c3a2-4b46-a2ab-f80c5a5007bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-08T18:13:47", "repo_name": "KSxiao/xyz-editor", "sub_path": "/packages/editor/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 998, "line_count": 33, "lang": "en", "doc_type": "... | https://github.com/KSxiao/xyz-editor | 231 | FILENAME: README.md | 0.252384 | # XYZ Maps JS: Editor
XYZ Maps is an experimental and work in progress open-source map editor written in TypeScript/JavaScript.
The editor module provides an API for editing map data that can be used to easily access, add, remove and edit various types of map data.
Changes can be automatically synchronized with variou... |
508f3cc0-54f4-4b82-9f97-1a5d5e81e8e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-01 09:19:12", "repo_name": "biin/AndroidLab", "sub_path": "/app/src/main/java/com/multicampus/androidlab/ch05/FrameLayoutActivity.java", "file_name": "FrameLayoutActivity.java", "file_ext": "java", "file_size_... | https://github.com/biin/AndroidLab | 196 | FILENAME: FrameLayoutActivity.java | 0.23092 | package com.multicampus.androidlab.ch05;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import com.multicampus.androidlab.R;
public class FrameLayoutActivity extends AppCompatActivity {
@Override... |
ebd044be-12f1-455e-adab-c4ae58b65fef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 01:04:44", "repo_name": "zhenghuan12/nhis-web", "sub_path": "/src/main/java/com/zebone/nhis/base/bd/vo/BdDefdocSaveParam.java", "file_name": "BdDefdocSaveParam.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/zhenghuan12/nhis-web | 304 | FILENAME: BdDefdocSaveParam.java | 0.26588 | package com.zebone.nhis.base.bd.vo;
import java.util.List;
import java.util.Set;
import com.zebone.nhis.common.module.base.bd.code.BdDefdoc;
public class BdDefdocSaveParam {
private String codeDefdoclist;
private List<BdDefdoc> bdDefdoc;
private List<String> delPkDefdocs; //删除的公共字典信息主键
public Set<String> ... |
b9a8d335-e9af-430b-8b95-e209e1ff6d1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-07 10:26:10", "repo_name": "ouyangshixiong/redisson-test", "sub_path": "/src/main/java/com/example/controller/CommonInnerObjectController.java", "file_name": "CommonInnerObjectController.java", "file_ext": "ja... | https://github.com/ouyangshixiong/redisson-test | 256 | FILENAME: CommonInnerObjectController.java | 0.236516 | package com.example.controller;
import com.example.entity.CommonObject;
import com.example.entity.SimTest4;
import lombok.extern.slf4j.Slf4j;
import org.redisson.api.RLiveObjectService;
import org.redisson.api.RedissonClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web... |
80f81874-f1a9-4cbd-b557-b927f9021cc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 02:40:28", "repo_name": "bkuschner/Carlton-app", "sub_path": "/WatchFootballActivity.java", "file_name": "WatchFootballActivity.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 38, "lang"... | https://github.com/bkuschner/Carlton-app | 206 | FILENAME: WatchFootballActivity.java | 0.204342 | package com.example.carltonapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.MediaController;
import android.widget.TextV... |
78f9c983-babe-4673-84c3-ef17eac419be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-30 14:25:46", "repo_name": "pmatosevic/JavaCourse", "sub_path": "/hw07-0036505868/src/main/java/hr/fer/zemris/java/hw07/observer2/IntegerStorageChange.java", "file_name": "IntegerStorageChange.java", "file_ext... | https://github.com/pmatosevic/JavaCourse | 261 | FILENAME: IntegerStorageChange.java | 0.294215 | package hr.fer.zemris.java.hw07.observer2;
/**
* A class that stores information about a change in the subject {@link IntegerStorage}.
*
* @author Patrik
*
*/
public class IntegerStorageChange {
/**
* The subject
*/
private IntegerStorage istorage;
/**
* Old value
*/
private int oldValue;
/**
... |
143504d4-7e01-4af6-8e19-5c1eec9323a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-03T17:25:32", "repo_name": "Alicolliar/text-Battleships", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 25, "lang": "en", "doc_type": "text"... | https://github.com/Alicolliar/text-Battleships | 267 | FILENAME: README.md | 0.240775 | # Text Based Battleships
## This, is text based Battleships
[](https://repl.it/github/Alicolliar/text-Battleships)
## Premise
If you've ever played the game "Battleships" before, then this is like that, but worse
much, much worse.
## Installa... |
0f0cbefe-1295-4655-bcc7-ce06def30cad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-25T16:44:56", "repo_name": "kpu/usage", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1179, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id": "fc93... | https://github.com/kpu/usage | 277 | FILENAME: README.md | 0.253861 | usage
=====
Prints resource usage of processes to stderr. Currently Linux only. Compile with
```bash
./compile.sh
```
Then use it:
```bash
./measure.sh true
```
You can also manually set `LD_PRELOAD` in the current shell:
```bash
export LD_PRELOAD=$PWD/libusage.so:/usr/lib64/librt.so
cat /dev/null
```
The fields a... |
c71d89f3-5a6b-4de2-ae48-a40be6791b68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-09T14:56:10", "repo_name": "cmfcruz/balena-yocto-builder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1153, "line_count": 45, "lang": "en", "doc_type": "text... | https://github.com/cmfcruz/balena-yocto-builder | 294 | FILENAME: README.md | 0.20947 | # balena-yocto-builder
## Introduction
This application allows you to offload building a balenaOS image to your
balena device. This is inspired by the docker-balena project from @alexgg:
https://github.com/alexgg/docker-balena
## Preparing the application
Clone the yocto repository which will be included in the ... |
a5681624-a5ae-402a-93bb-7ce2b534b270 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 10:54:02", "repo_name": "dlsyaim/EQIMSERVER", "sub_path": "/src/main/java/com/gisinfo/sand/login/LoginService.java", "file_name": "LoginService.java", "file_ext": "java", "file_size_in_byte": 1102, "line_co... | https://github.com/dlsyaim/EQIMSERVER | 227 | FILENAME: LoginService.java | 0.242206 | package com.gisinfo.sand.login;
import com.gisinfo.sand.core.auth.impl.User;
import com.gisinfo.sand.core.exception.exception.LoginException;
import com.gisinfo.sand.core.log.Log;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
impor... |
cdade608-a795-451f-b459-b26a45673d2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-16T08:31:22", "repo_name": "tryusweb/oBot", "sub_path": "/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 32, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/tryusweb/oBot | 292 | FILENAME: Readme.md | 0.206894 | Version: 7.8.7
Link Download: https://js.obot.it/obot.user.js
Compatibility ogame version: 6.x,7.x
Home: https://obot.it
Facebook: https://www.facebook.com/oBot.it
Youtute: https://www.youtube.com/channel/UC-JNcNJzWKs_JznrZQITqRw
User manual: https://obot.it/manual
Forum: https://obot-forum.tryus.it/
Support se... |
43e6d866-5fed-443e-a299-22235c1f3c27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-29T08:37:25", "repo_name": "Maixianda/work", "sub_path": "/liangce/GGLibrary/src/main/java/io/ganguo/library/core/cache/CacheManager.java", "file_name": "CacheManager.java", "file_ext": "java", "file_size_in_b... | https://github.com/Maixianda/work | 224 | FILENAME: CacheManager.java | 0.259826 | package io.ganguo.library.core.cache;
import android.content.Context;
import java.io.File;
/**
* cache manager
* <p/>
* Created by Tony on 10/5/15.
*/
public class CacheManager {
private static Cache mMemoryCache = null;
private static DiskCache mDiskCache = null;
/**
* memory cache
*
... |
0a40d97e-326e-4a3c-b812-196a8c6e3eaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-05 11:19:33", "repo_name": "jfylgw/base-back-end-demo", "sub_path": "/src/main/java/wtf/demo/listener/StartupListener.java", "file_name": "StartupListener.java", "file_ext": "java", "file_size_in_byte": 1021, ... | https://github.com/jfylgw/base-back-end-demo | 217 | FILENAME: StartupListener.java | 0.204342 | package wtf.demo.listener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.sprin... |
5d4a3acf-8451-40b0-bdd1-1bd7002b78a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-10T15:36:10", "repo_name": "JoseManuelMunozManzano/spring-crm-rest", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 998, "line_count": 32, "lang": "en", "doc_typ... | https://github.com/JoseManuelMunozManzano/spring-crm-rest | 288 | FILENAME: README.md | 0.286169 | # **Build a CRUD Demo using Spring REST**
An example in which I show the usage of Spring REST and Hibernate
It's a simple web customer tracker in which I do CRUD operations in a mysql Database using REST.
The Spring Configuration is done in pure Java (no XML)
* GET customers: http://localhost:8080/spring-crm-rest/a... |
ce029abc-8fa9-418d-b252-238e30c2432a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-02 07:22:50", "repo_name": "wangwei216/springProject", "sub_path": "/springTest/src/spring_test01/HelloSpring.java", "file_name": "HelloSpring.java", "file_ext": "java", "file_size_in_byte": 1614, "line_count"... | https://github.com/wangwei216/springProject | 406 | FILENAME: HelloSpring.java | 0.288569 | package spring_test01;
/*
一、实现IOC需要用到的底层技术有哪些?
1. XML的配置文件
2. dom4j解决XML
3. 工厂的设计模式
4. 反射机制
二、IOC原理流程:
1. 需要先配置一下xml文件,前面id就是当你直接用的时候直接把配置好的id传进去,后面就是你创建的类名的路径<bean id="test01" class="spring_test01.HelloSpring">
2. 创建工厂类使用dom4j + 反射 来实现
三、如何从IOC容器中获取bean的实例( ApplicationContext)(记得在new ClassPathX... |
336ad21e-ad7f-463c-b334-ae46e9f8450a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-13 09:00:19", "repo_name": "NaniiGheorghe/AccessControlSystem", "sub_path": "/project/AccessControlSystem-Server/src/main/java/com/acs/configuration/socket/communication/AcknowledgeProtocolEvent.java", "file_n... | https://github.com/NaniiGheorghe/AccessControlSystem | 223 | FILENAME: AcknowledgeProtocolEvent.java | 0.272025 | package com.acs.configuration.socket.communication;
import com.acs.configuration.socket.communication.util.EventIdentifier;
import org.apache.commons.lang3.StringUtils;
public class AcknowledgeProtocolEvent extends OutgoingAbstractProtocolEvent {
/**
* Defined 10 positions
*/
private St... |
e5643087-54f4-4b3e-9317-2e3081caa56e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 06:27:14", "repo_name": "eminemRSO/analyticsRSO", "sub_path": "/src/main/java/me/eminem/analyticsRSO/StorageController.java", "file_name": "StorageController.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/eminemRSO/analyticsRSO | 188 | FILENAME: StorageController.java | 0.236516 | package me.eminem.analyticsRSO;
import org.modelmapper.ModelMapper;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import ... |
ec2cca04-5001-441d-b917-055e784a167a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-05 15:04:13", "repo_name": "martinwangjun/spring_mybatis", "sub_path": "/src/main/java/controller/User2Controller.java", "file_name": "User2Controller.java", "file_ext": "java", "file_size_in_byte": 1072, "lin... | https://github.com/martinwangjun/spring_mybatis | 207 | FILENAME: User2Controller.java | 0.267408 | package controller;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import pojo.User;
@Controller
@RequestMapping(val... |
fe1d60b7-d4b6-4d2d-82f5-e7cfe4264c1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 03:14:17", "repo_name": "lililiyang/JavaBaseCode", "sub_path": "/src/ly/basetest/Stream/SimpleFileTransferTest.java", "file_name": "SimpleFileTransferTest.java", "file_ext": "java", "file_size_in_byte": 123... | https://github.com/lililiyang/JavaBaseCode | 272 | FILENAME: SimpleFileTransferTest.java | 0.282196 | package ly.basetest.Stream;
import java.io.*;
/**
* 普通io和nio
*/
public class SimpleFileTransferTest {
public static long transferFile(File source,File des) throws IOException {
long startTime = System.currentTimeMillis();
if(!des.exists()){
des.createNewFile();
}
Buf... |
7092e629-4519-41a1-9f08-f731da44b8f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 12:12:51", "repo_name": "adafflitto/java-web-dev-exercises", "sub_path": "/src/org/launchcode/java/demos/lsn3classes1/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 991, ... | https://github.com/adafflitto/java-web-dev-exercises | 193 | FILENAME: Course.java | 0.242206 | package org.launchcode.java.demos.lsn3classes1;
import java.util.ArrayList;
public class Course {
private ArrayList<Student> students;
private String courseName;
private String courseDescription;
public Course (ArrayList<Student> students, String courseName, String courseDescription) {
this.... |
a2905c7a-09ea-4084-9ab6-df5109ca5feb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-05 12:13:27", "repo_name": "zmPersevere/concurrencyzm", "sub_path": "/src/main/java/com/ming/concurrency/example/sync/SynchronizedExample2.java", "file_name": "SynchronizedExample2.java", "file_ext": "java", "... | https://github.com/zmPersevere/concurrencyzm | 260 | FILENAME: SynchronizedExample2.java | 0.268941 | package com.ming.concurrency.example.sync;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* @Description :
* @Author : zhangMing
* @Date : Created in 8:06 PM 2019/4/24
*/
@Slf4j
public class SynchronizedExample2 {
public void test1()... |
882bf11f-2c71-4a18-bcb5-46d4442651a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-13 01:23:27", "repo_name": "savioseb/wasproject", "sub_path": "/WhatAreWeSingingSongAnalyzer/src/com/savio/waslyzer/resource/impl/CheckDb.java", "file_name": "CheckDb.java", "file_ext": "java", "file_size_in_b... | https://github.com/savioseb/wasproject | 226 | FILENAME: CheckDb.java | 0.247987 | package com.savio.waslyzer.resource.impl;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class CheckDb {
public static void main( String[] args ) {
Connection con = null;
Statement st = null;
R... |
38876b0c-7cbd-4c3a-bc07-42dce49132fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-20 03:18:27", "repo_name": "AsTheStarsFall/JavaBase", "sub_path": "/base-sample/src/main/java/com/tianhy/javabase/serialize/SerializerTest.java", "file_name": "SerializerTest.java", "file_ext": "java", "file_s... | https://github.com/AsTheStarsFall/JavaBase | 258 | FILENAME: SerializerTest.java | 0.264358 | package com.tianhy.javabase.serialize;
import com.tianhy.javabase.serialize.pojo.User;
import com.tianhy.javabase.serialize.serializer.*;
/**
* {@link}
*
* @Desc:
* @Author: thy
* @CreateTime: 2019/6/18
**/
public class SerializerTest {
public static void main(String[] args) {
// ISerializer seriali... |
ecd538d0-18b3-4baf-8efe-3f24b8da82ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-09 10:26:11", "repo_name": "silvioincalza/notifications-exercise", "sub_path": "/notification-bucket-domain/src/main/java/it/incalza/notification/bucket/domain/PutInToBucket.java", "file_name": "PutInToBucket.... | https://github.com/silvioincalza/notifications-exercise | 199 | FILENAME: PutInToBucket.java | 0.247987 | package it.incalza.notification.bucket.domain;
import java.util.Set;
import static java.util.stream.Collectors.toSet;
/**
* Created by sincalza on 05/12/2016.
*/
public class PutInToBucket implements NotificationCommand<Notification> {
private final String systemId;
private final BucketRepository bucketRe... |
bde7a2c6-e74a-49f1-8e34-336df5a03996 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 13:56:09", "repo_name": "jakob-ristner/DIT953-lab1", "sub_path": "/src/model/vehicles/TransportVehicle.java", "file_name": "TransportVehicle.java", "file_ext": "java", "file_size_in_byte": 1152, "line_count... | https://github.com/jakob-ristner/DIT953-lab1 | 252 | FILENAME: TransportVehicle.java | 0.286169 | package model.vehicles;
import model.utilities.Vector;
import model.vehicleparts.Flatbed;
import java.awt.*;
import java.util.Timer;
import java.util.TimerTask;
public abstract class TransportVehicle extends MotorisedVehicle {
protected Flatbed flatbed;
public TransportVehicle(int nrDoors, Color color, doubl... |
fffbddca-4952-4a9d-b94b-5e0bd32b11bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-07-10T00:46:42", "repo_name": "NorthConcepts/TemplateMaster", "sub_path": "/library/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1013, "line_count": 18, "lang": "en", "doc_type... | https://github.com/NorthConcepts/TemplateMaster | 226 | FILENAME: README.md | 0.235108 | # TemplateMaster
TemplateMaster is a Java library for creating template driven content. It can be used to generate web pages, emails, and anything else that can be created based on a textual template.
It uses [FreeMarker](https://freemarker.apache.org/) underneath for the heavy lifting and comes with [RESTEasy](https... |
28267090-c4aa-4814-9ad2-2a74d6fb096a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-09-15 00:34:26", "repo_name": "don4of4/Herobrine", "sub_path": "/src/me/herobrine/gui/SettingsDialog.java", "file_name": "SettingsDialog.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count": 44, "la... | https://github.com/don4of4/Herobrine | 270 | FILENAME: SettingsDialog.java | 0.283781 | package me.herobrine.gui;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
public class SettingsDialog extends JDialog {
private final JPanel contentPanel = new JPanel();
public Set... |
7f74e718-2f9e-4e0c-b12e-40e691802610 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-13T18:50:50", "repo_name": "AntonSergeichyk/rwm", "sub_path": "/src/main/java/com/example/inhouse/rwm/demo/model/order/OrderDto.java", "file_name": "OrderDto.java", "file_ext": "java", "file_size_in_byte": 115... | https://github.com/AntonSergeichyk/rwm | 235 | FILENAME: OrderDto.java | 0.295027 | package com.example.inhouse.rwm.demo.model.order;
import com.example.inhouse.rwm.demo.domein.dictionary.order.PassengerType;
import com.example.inhouse.rwm.demo.domein.dictionary.order.Rate;
import com.example.inhouse.rwm.demo.domein.order.Order;
import com.example.inhouse.rwm.demo.model.ticket.TicketDto;
import com.f... |
081c4d2b-4846-4365-b8c9-15b794ca23a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-12T14:57:30", "repo_name": "mgadan/instalitre-microservices-post", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1022, "line_count": 38, "lang": "en", "doc_type... | https://github.com/mgadan/instalitre-microservices-post | 277 | FILENAME: README.md | 0.247987 | ## Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
## .env
DATABASE_URL_TEST=postgres://user:password@address/name_database
accesskey= scaleway > api token > generate new token (access key)
secretkey= scaleway > api token > generate new token (your ornisation id)
n... |
77cdd092-0a1f-4c7e-b1f1-d12c97052f80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-18 06:47:43", "repo_name": "ArchkWay/brewmapp", "sub_path": "/app/src/main/java/com/brewmapp/execution/task/RegisterTask.java", "file_name": "RegisterTask.java", "file_ext": "java", "file_size_in_byte": 1177, ... | https://github.com/ArchkWay/brewmapp | 226 | FILENAME: RegisterTask.java | 0.284576 | package com.brewmapp.execution.task;
import java.util.concurrent.Executor;
import javax.inject.Inject;
import com.brewmapp.execution.exchange.common.Api;
import com.brewmapp.execution.exchange.request.base.WrapperParams;
import com.brewmapp.execution.exchange.response.UserResponse;
import com.brewmapp.execution.task... |
d1a446fd-855e-4d35-8e3d-ca9c8da9e4f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-26 06:48:04", "repo_name": "372473552/MyLab", "sub_path": "/hello world/src/Calendar/Table.java", "file_name": "Table.java", "file_ext": "java", "file_size_in_byte": 993, "line_count": 47, "lang": "en", "doc_t... | https://github.com/372473552/MyLab | 254 | FILENAME: Table.java | 0.272025 | package Calendar;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
public class Table {
public enum week... |
637e0cb3-18df-4fb1-8125-808fadfd561f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 10:03:46", "repo_name": "libin1993/nbl", "sub_path": "/4GHot/app/src/main/java/com/doit/net/Model/DBScanFcn.java", "file_name": "DBScanFcn.java", "file_ext": "java", "file_size_in_byte": 1167, "line_count":... | https://github.com/libin1993/nbl | 321 | FILENAME: DBScanFcn.java | 0.242206 | package com.doit.net.Model;
import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;
/**
* Author:Libin on 2020/7/13 09:56
* Email:1993911441@qq.com
* Describe:扫网频点
*/
@Table(name = "scan_fcn")
public class DBScanFcn {
@Column(name = "id", isId = true)
private int id;
@Column(n... |
7a51031b-112c-4738-b7a2-034141b200b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-09 00:14:02", "repo_name": "zuku0404/FileManager", "sub_path": "/src/main/java/consumer/FileConsumerImpl.java", "file_name": "FileConsumerImpl.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count"... | https://github.com/zuku0404/FileManager | 220 | FILENAME: FileConsumerImpl.java | 0.26588 | package consumer;
import services.IFileService;
import java.io.File;
import java.util.List;
import java.util.Optional;
public class FileConsumerImpl implements IFileConsumer {
private IFileService iFileService;
public FileConsumerImpl(IFileService iFileService) {
this.iFileService = iFileService;
... |
3f65d19b-415a-4e48-9f78-e91d0882b521 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-04 03:48:11", "repo_name": "fl-w/teach-hub", "sub_path": "/src/main/java/com/itsfolarin/teachhub/backend/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/fl-w/teach-hub | 172 | FILENAME: UserService.java | 0.20947 | package com.itsfolarin.teachhub.backend.service;
import com.itsfolarin.teachhub.backend.domain.User;
import com.itsfolarin.teachhub.backend.repo.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.se... |
89343704-59c5-45f1-9a6b-927e07554ea9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-16 22:50:37", "repo_name": "samuraiseoul/starbot", "sub_path": "/src/main/java/bot/Rules/DirectMessageRules/ImageRule.java", "file_name": "ImageRule.java", "file_ext": "java", "file_size_in_byte": 1071, "line_... | https://github.com/samuraiseoul/starbot | 219 | FILENAME: ImageRule.java | 0.259826 | package bot.Rules.DirectMessageRules;
import bot.Helpers.GoogleImageHelper;
import com.ullink.slack.simpleslackapi.SlackSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.io.IOException;
@Component
public class ImageRule extends Abstra... |
67f9d41d-d8e0-459d-a2b0-9c652afbd728 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-17 08:45:01", "repo_name": "peeyoosh20/Demo-hibe", "sub_path": "/src/main/java/org/example/Alien.java", "file_name": "Alien.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count": 62, "lang": "en",... | https://github.com/peeyoosh20/Demo-hibe | 280 | FILENAME: Alien.java | 0.268941 | package org.example;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity()
//@Table(name = "alien_table")
public class Alien {
@Id
private int aId;
//@Transient
private AlienName aName;
//@Column(name = "alien_color")
private String color;
@ManyToMany
... |
6d97d360-746e-4723-aa4c-b473f368c547 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-06 06:52:21", "repo_name": "raika11/-", "sub_path": "/moka-core/moka-core-tps/src/main/java/jmnet/moka/core/tps/common/code/AnswerRelDivCode.java", "file_name": "AnswerRelDivCode.java", "file_ext": "java", "fi... | https://github.com/raika11/- | 282 | FILENAME: AnswerRelDivCode.java | 0.291787 | /*
* Copyright (c) 2017 Joongang Ilbo, Inc. All rights reserved.
*/
package jmnet.moka.core.tps.common.code;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import jmnet.moka.common.utils.MapBuilder;
/**
* Description: 시민마이크 답변 부가정보의 타입
*
* @author ssc
... |
a9e3fa66-dd3e-47bd-988d-c5bdc6ba18d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-07 14:36:00", "repo_name": "ssvaghasiya/AllProject", "sub_path": "/Shopkeeper/app/src/main/java/com/example/shopkeeper/ui/models/Transfer_Model.java", "file_name": "Transfer_Model.java", "file_ext": "java", "f... | https://github.com/ssvaghasiya/AllProject | 259 | FILENAME: Transfer_Model.java | 0.262842 | package com.example.shopkeeper.ui.models;
import java.io.Serializable;
public class Transfer_Model implements Serializable {
int id;
String item_name;
int quantity;
float price;
public Transfer_Model(int id, String item_name, int quantity, float price) {
this.id = id;
this.item_n... |
1a935898-3993-4203-8f01-13199a5689ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13 09:16:47", "repo_name": "praveenit219/quarkus_jaxrs", "sub_path": "/src/main/java/com/pheonix/pojo/JwtRequest.java", "file_name": "JwtRequest.java", "file_ext": "java", "file_size_in_byte": 1044, "line_coun... | https://github.com/praveenit219/quarkus_jaxrs | 268 | FILENAME: JwtRequest.java | 0.279042 | package com.pheonix.pojo;
import java.util.Map;
public class JwtRequest {
private String issuer;
private String subject;
private Map<String, Object> claims;
private int jwtExpiryInDays;
public JwtRequest() {}
public JwtRequest(String issuer, String subject, Map<String, Object> ... |
0b854574-7eb1-49f6-8251-0bc45c4a1c73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-10 01:37:11", "repo_name": "salahaz/DJ2", "sub_path": "/src/dj2/core/Node.java", "file_name": "Node.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 47, "lang": "en", "doc_type": "code", "blo... | https://github.com/salahaz/DJ2 | 254 | FILENAME: Node.java | 0.291787 | package dj2.core;
/**
* The Node that makes elements which the linked list is made of
* @author Salah Eddine Azekour
*
* @param <T> It is any type that extends methods from Performable
*/
public class Node<T extends Performable> {
protected T node;
protected Node<T> next;
protected Node<T> previous;
/**
* T... |
d429d666-1d68-4ac8-a4c9-43538056dd8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-23 15:01:19", "repo_name": "PayneYu/e-commerce", "sub_path": "/e-commerce-quartz/src/main/java/com/ecommerce/quartz/service/impl/SysJobLogServiceImpl.java", "file_name": "SysJobLogServiceImpl.java", "file_ext"... | https://github.com/PayneYu/e-commerce | 273 | FILENAME: SysJobLogServiceImpl.java | 0.253861 | package com.ecommerce.quartz.service.impl;
import com.ecommerce.framework.base.service.impl.BaseServiceImpl;
import com.ecommerce.quartz.entity.SysJobLog;
import com.ecommerce.quartz.mapper.SysJobLogMapper;
import com.ecommerce.quartz.service.ISysJobLogService;
import org.springframework.beans.factory.annotation.Autow... |
7c36e64a-c7a5-48ee-956d-8be7f416c4f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 10:30:04", "repo_name": "luping1994/Tenement", "sub_path": "/app/src/main/java/net/suntrans/tenement/bean/SceneInfo.java", "file_name": "SceneInfo.java", "file_ext": "java", "file_size_in_byte": 1178, "line... | https://github.com/luping1994/Tenement | 249 | FILENAME: SceneInfo.java | 0.23231 | package net.suntrans.tenement.bean;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Looney on 2017/11/15.
* Des:
*/
public class SceneInfo implements Parcelable {
public String name;
public String id;
public String image;
public String img_url;
@Override
public in... |
dcadcb90-b810-47f9-b1b2-f84984cbe501 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-11 10:29:21", "repo_name": "whatsthebeef/trello-doing", "sub_path": "/app/src/main/java/com/zode64/trellodoing/models/Action.java", "file_name": "Action.java", "file_ext": "java", "file_size_in_byte": 1006, "l... | https://github.com/whatsthebeef/trello-doing | 238 | FILENAME: Action.java | 0.264358 | package com.zode64.trellodoing.models;
import com.zode64.trellodoing.utils.TrelloManager;
public abstract class Action {
public enum Type {
CREATE,
UPDATE_NAME,
MOVE,
DELETE
}
protected int id;
protected Card card;
protected Type type;
protected TrelloManager ... |
77a22832-4622-49f5-b798-b344d22a2862 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-03T23:25:04", "repo_name": "sysadmin-sergey/TwoButtonVerilogSimon", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 16, "lang": "en", "doc_typ... | https://github.com/sysadmin-sergey/TwoButtonVerilogSimon | 218 | FILENAME: README.md | 0.26588 | # Two Button Verilog Simon
This repository was made for an Honors Contract for a class. These verilog files (\*.v) can be compiled together and will result in a simon game that uses two buttons.
# TwoToFour.diff
This diff file was added to show how the file would be changed to implement 4 buttons rather than two. Th... |
566175df-d6ed-46bb-91b4-60a99667879d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-11 06:39:34", "repo_name": "xenryjake/StageBot", "sub_path": "/src/main/java/com/xenry/stagebot/audio/AudioPlayerSendHandler.java", "file_name": "AudioPlayerSendHandler.java", "file_ext": "java", "file_size_in... | https://github.com/xenryjake/StageBot | 253 | FILENAME: AudioPlayerSendHandler.java | 0.272799 | package com.xenry.stagebot.audio;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.track.playback.AudioFrame;
import net.dv8tion.jda.api.audio.AudioSendHandler;
import java.nio.ByteBuffer;
/**
* StageBot created by Henry Blasingame (Xenry) on 5/19/20
* The content ... |
289fd3d8-6dfd-45d2-8957-16ec979539c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-01 21:09:45", "repo_name": "DenisMartsenyuk/Lab8", "sub_path": "/Server/src/commands/CommandHelp.java", "file_name": "CommandHelp.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 39, "lang":... | https://github.com/DenisMartsenyuk/Lab8 | 210 | FILENAME: CommandHelp.java | 0.295027 | package commands;
import communication.Response;
import java.util.Map;
public class CommandHelp extends Command {
@Override
public String getName() {
return "help";
}
@Override
public String getManual() {
return "Вывести справку по всем командам сервера";
}
@Override
... |
92ea959f-ffee-46b7-a495-e18af2cc81c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-27 21:10:43", "repo_name": "KarimElshaweish/LinesDriver", "sub_path": "/app/src/main/java/com/example/linesdriver/TabFragment/ContractsFragment.java", "file_name": "ContractsFragment.java", "file_ext": "java",... | https://github.com/KarimElshaweish/LinesDriver | 180 | FILENAME: ContractsFragment.java | 0.255344 | package com.example.linesdriver.TabFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import ... |
d9096a15-4959-412c-ac20-b3aff0b27b80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 14:05:06", "repo_name": "wangzhihaoaini/javaweb_news", "sub_path": "/src/com/zr/news/framework/JdbcDao.java", "file_name": "JdbcDao.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 34, "la... | https://github.com/wangzhihaoaini/javaweb_news | 187 | FILENAME: JdbcDao.java | 0.236516 | package com.zr.news.framework;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Connection;
public class JdbcDao {
private static String driveClassName="com.mysql.jdbc.Driver";
private static String url="jdbc:mysql://localhost:3306/newsdb";
private static String user="root"... |
b94e30ed-865a-4da1-8f77-6eedbf0a63a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-28 00:02:09", "repo_name": "Alexander-Rodrigues/GestorSociosDS", "sub_path": "/src/visual/Warning.java", "file_name": "Warning.java", "file_ext": "java", "file_size_in_byte": 1103, "line_count": 57, "lang": "e... | https://github.com/Alexander-Rodrigues/GestorSociosDS | 251 | FILENAME: Warning.java | 0.286968 | package visual;
import java.awt.EventQueue;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
public class Warning {
private JFrame frmWarning;
private String warning;
/**
* Launch the application.
*/
public static void newWarning(String ... |
e4229049-f023-4065-a965-e426ba04b893 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-15 22:04:32", "repo_name": "MSD-ET/Security_API", "sub_path": "/Security_API/src/main/java/com/bah/api/ServiceAPI.java", "file_name": "ServiceAPI.java", "file_ext": "java", "file_size_in_byte": 975, "line_coun... | https://github.com/MSD-ET/Security_API | 209 | FILENAME: ServiceAPI.java | 0.249447 | package com.bah.api;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMap... |
2c1bb3a3-699c-47c9-baa7-6fa17059d49e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-25 06:42:58", "repo_name": "with-ever/web-with-ever", "sub_path": "/src/main/java/kr/whenever/controller/notice/WSNoticeController.java", "file_name": "WSNoticeController.java", "file_ext": "java", "file_size_... | https://github.com/with-ever/web-with-ever | 205 | FILENAME: WSNoticeController.java | 0.267408 | package kr.whenever.controller.notice;
import java.util.List;
import kr.whenever.domain.Notice;
import kr.whenever.service.NoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
impor... |
92d11640-4f9b-49fd-88e2-9b1df9c43985 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-08 09:46:05", "repo_name": "jaiiye/ddd", "sub_path": "/ui/web/src/test/java/cn/ddd/core/tools/ModuleTest.java", "file_name": "ModuleTest.java", "file_ext": "java", "file_size_in_byte": 1241, "line_count": 39, ... | https://github.com/jaiiye/ddd | 218 | FILENAME: ModuleTest.java | 0.261331 | package cn.ddd.core.tools;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.cont... |
dd2ecf08-db30-4d6c-8a0d-434f5922e5b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 09:56:01", "repo_name": "DanielWeiser12/HeyCar", "sub_path": "/src/database/DbConnectionUtils.java", "file_name": "DbConnectionUtils.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 45, "l... | https://github.com/DanielWeiser12/HeyCar | 204 | FILENAME: DbConnectionUtils.java | 0.277473 | package database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* This class creates the connection to the database.
*
* @author Mohammed Al-Ashtal, Daniel Weiser
*
*/
public final class DbConnectionUtils {
private static Connection connection;
... |
719a33dc-ba4f-4f05-8ff8-32a61f8e982d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 15:23:25", "repo_name": "saketkumar1/hackCBS3.0", "sub_path": "/app/src/main/java/com/example/hackcbs30/MobileContactObject.java", "file_name": "MobileContactObject.java", "file_ext": "java", "file_size_in_... | https://github.com/saketkumar1/hackCBS3.0 | 216 | FILENAME: MobileContactObject.java | 0.229535 | package com.example.hackcbs30;
import java.io.Serializable;
public class MobileContactObject implements Serializable {
private String uid,
name,
phone,
notificationKey;
private Boolean selected = false;
public MobileContactObject(String uid){
this.uid = uid;
... |
27dfff57-b4dd-4241-9012-1faf95b6c693 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 07:19:24", "repo_name": "ump90/JavaProject", "sub_path": "/WebDemo4/src/main/java/com/itheima/edu/web/servlet/DelBrandsServlet.java", "file_name": "DelBrandsServlet.java", "file_ext": "java", "file_size_in_... | https://github.com/ump90/JavaProject | 219 | FILENAME: DelBrandsServlet.java | 0.290176 | package com.itheima.edu.web.servlet;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.itheima.edu.mapper.BrandMapper;
import com.itheima.edu.pojo.Brand;
import com.itheima.edu.service.BrandService;
import javax.servlet.*;
import javax.servlet.... |
035be842-9401-46b8-a379-b4aa76da7d48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-16 18:46:58", "repo_name": "OIMA/Classrooms-Mapping", "sub_path": "/Codigo Fuente/Aulas/src/main/java/coordinacion/sistemas/aulas/model/ValidarPlan.java", "file_name": "ValidarPlan.java", "file_ext": "java", "... | https://github.com/OIMA/Classrooms-Mapping | 248 | FILENAME: ValidarPlan.java | 0.290176 | /*
* 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 coordinacion.sistemas.aulas.model;
import coordinacion.sistemas.aulas.entities.CatalogoPlanes;
import org.springfram... |
1ea444e1-4f7f-4d86-9684-25816b952264 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-10T15:11:47", "repo_name": "Spidey01/rpigo-server", "sub_path": "/INSTALL.md", "file_name": "INSTALL.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 33, "lang": "en", "doc_type": "text", "bl... | https://github.com/Spidey01/rpigo-server | 242 | FILENAME: INSTALL.md | 0.256832 |
For general info run `make help` in this directory. Here's a snapshot of it:
$ make help
Available targets and variables are as follows:
* help: You're reading it.
* install: Install to /usr/local
* uninstall: uninstall files but leave /etc/xdg/rpigo
* purge: uninstall + purge... |
6b4d4e2a-99a7-45c8-ab7a-5d35092776a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-09 12:05:50", "repo_name": "akarengin/Repair-Service", "sub_path": "/src/main/java/com/enginakar/models/Phone.java", "file_name": "Phone.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 54, ... | https://github.com/akarengin/Repair-Service | 298 | FILENAME: Phone.java | 0.288569 | package com.enginakar.models;
import java.io.Serializable;
import java.util.Calendar;
import javax.persistence.MappedSuperclass;
@MappedSuperclass
public class Phone extends Product implements Serializable {
private static final long serialVersionUID = 1L;
private String adaptor;
public void changedBasicPart(Pr... |
328875de-26d9-49ee-b208-52e0caca49e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-04 03:44:38", "repo_name": "atendrasuri/JavaDSAlgo", "sub_path": "/src/main/java/com/suri/java/concurrency/ProducerConsumer.java", "file_name": "ProducerConsumer.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/atendrasuri/JavaDSAlgo | 265 | FILENAME: ProducerConsumer.java | 0.27048 | package com.suri.java.concurrency;
import java.util.Arrays;
import java.util.List;
/**
* @Author: Atendra Kumar - FT2 - Sapient
* @Current-Version: 1.0.0
* @Creation-Date: 11/10/18
* @Description: (Overwrite)
* 1. Please describe the business usage of the class.
* 2. Please describe the technical usage of the c... |
7e4ca062-0d25-4b88-bc97-6d82dee3a421 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 13:36:38", "repo_name": "554197854/Springboot-Security-Project", "sub_path": "/src/test/java/com/springboot/security/SecurityApplicationTests.java", "file_name": "SecurityApplicationTests.java", "file_ext":... | https://github.com/554197854/Springboot-Security-Project | 178 | FILENAME: SecurityApplicationTests.java | 0.243642 | package com.springboot.security;
import com.springboot.security.bean.Menu;
import com.springboot.security.dao.UserMapper;
import com.springboot.security.service.MenuService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... |
bea70e26-5947-4cbd-98f5-472f87f1526b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-27 13:21:34", "repo_name": "chen-hs/mobliesafe", "sub_path": "/app/src/main/java/cn/itcast/mobliesafe/SetUp1Activity.java", "file_name": "SetUp1Activity.java", "file_ext": "java", "file_size_in_byte": 1011, "l... | https://github.com/chen-hs/mobliesafe | 197 | FILENAME: SetUp1Activity.java | 0.203075 | package cn.itcast.mobliesafe;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.RadioButton;
import android.widget.Toast;
public class SetUp1Activity extends BaseSetUpActivity {
private RadioButton mRb_first;
@Override
protected void onCreate(@Nullable Bundle sa... |
b6a11204-e28c-44ae-a294-262420862694 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-17 18:58:34", "repo_name": "ottoszika/sokoban", "sub_path": "/core/src/main/java/com/ottoszika/sokoban/screens/PlayScreen.java", "file_name": "PlayScreen.java", "file_ext": "java", "file_size_in_byte": 1007, "... | https://github.com/ottoszika/sokoban | 246 | FILENAME: PlayScreen.java | 0.279828 | package com.ottoszika.sokoban.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.ottoszika.sokoban.Sokoban;
import com.ottoszika.sokoban.engine.GameEngine;
public class PlayScreen extends AbstractScreen {
/**
* Game reference.
*/
private Sokoban game;
/**
... |
f937c694-fba7-4667-a419-f18b95038fee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-22 07:03:31", "repo_name": "fidusio/zoxweb-core", "sub_path": "/src/test/java/org/zoxweb/shared/http/HTTPServerConfigTest.java", "file_name": "HTTPServerConfigTest.java", "file_ext": "java", "file_size_in_byte... | https://github.com/fidusio/zoxweb-core | 238 | FILENAME: HTTPServerConfigTest.java | 0.290981 | package org.zoxweb.shared.http;
import java.io.IOException;
import java.util.Arrays;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.zoxweb.server.io.IOUtil;
import org.zoxweb.server.util.GSONUtil;
import org.zoxweb.shared.util.ArrayValues;
import org.zoxweb.shared.util.SharedU... |
ea9baf76-fe8c-4152-bb7a-8995ef378b08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-28 18:45:22", "repo_name": "sabanhaim/server_java_client_c-_project", "sub_path": "/server/src/main/java/protocol/tbgp/TBGPUser.java", "file_name": "TBGPUser.java", "file_ext": "java", "file_size_in_byte": 993... | https://github.com/sabanhaim/server_java_client_c-_project | 222 | FILENAME: TBGPUser.java | 0.255344 | package protocol.tbgp;
import java.io.IOException;
import java.security.InvalidParameterException;
import protocol.ProtocolCallback;
import tokenizer.StringMessage;
public class TBGPUser {
private final String nickname;
private final ProtocolCallback<StringMessage> callback;
private TBGPRoom room;
public TBGPUs... |
a0d0d71b-92b1-4363-bd2b-a3a72fa3025b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-20T21:09:57", "repo_name": "ethanreeder/newlanginterpreter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1153, "line_count": 29, "lang": "en", "doc_type": "te... | https://github.com/ethanreeder/newlanginterpreter | 221 | FILENAME: README.md | 0.249447 | # newlanginterpreter
Interpreter for a novel simple programming language. Syntax is detailed in syntax.txt.
Run from top level directory on file 'file.txt' as follows:
> python3 interpreter.py -f file.txt
Result is printed to stdout.
Includes:
- An abstract syntax tree of the novel language
- Parsing from JSON t... |
b79238b0-a843-4027-ada2-f3e51dab63ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-28 07:52:33", "repo_name": "tss0823/platform", "sub_path": "/src/main/java/com/usefullc/platform/common/dto/UserInfoSpringDto.java", "file_name": "UserInfoSpringDto.java", "file_ext": "java", "file_size_in_byt... | https://github.com/tss0823/platform | 262 | FILENAME: UserInfoSpringDto.java | 0.228156 | /**
*
*/
package com.usefullc.platform.common.dto;
import java.util.Collection;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
/**
* @author tangss
* @2013年10月12日 @下午3:03:59
*/
public class UserInfoSpringDto extends User {
/**
*
... |
98bf83af-0438-4fbe-9dc7-c38c75b35286 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-03 07:29:04", "repo_name": "zhouzhou3516/stjava", "sub_path": "/mybatis/src/main/java/com/zhou/jdbc/abstractdemo/dynamicproxy/ProxyRegister.java", "file_name": "ProxyRegister.java", "file_ext": "java", "file_s... | https://github.com/zhouzhou3516/stjava | 194 | FILENAME: ProxyRegister.java | 0.2227 | package com.zhou.jdbc.abstractdemo.dynamicproxy;
import com.google.common.io.Files;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Proxy;
import java.nio.charset.StandardCharsets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author zhuchao on 2017/7/22.
*/
public class... |
fb024056-9d95-4eb3-b379-8dccafaa50c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-28 16:48:20", "repo_name": "DesireFactions/desirehcf", "sub_path": "/src/main/java/com/desiremc/hcf/validators/PlayerKitOffCooldownValidator.java", "file_name": "PlayerKitOffCooldownValidator.java", "file_ext"... | https://github.com/DesireFactions/desirehcf | 218 | FILENAME: PlayerKitOffCooldownValidator.java | 0.267408 | package com.desiremc.hcf.validators;
import com.desiremc.core.api.newcommands.Validator;
import com.desiremc.core.session.Session;
import com.desiremc.core.utils.DateUtils;
import com.desiremc.hcf.DesireHCF;
import com.desiremc.hcf.session.FSession;
import com.desiremc.hcf.session.FSessionHandler;
import com.desiremc.... |
95da3800-af03-4639-bf4c-01aa7a7ef6f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-22 10:51:31", "repo_name": "sparkaochong/java-advance-feature", "sub_path": "/src/com/ac/io/TestReader.java", "file_name": "TestReader.java", "file_ext": "java", "file_size_in_byte": 1241, "line_count": 46, "l... | https://github.com/sparkaochong/java-advance-feature | 265 | FILENAME: TestReader.java | 0.285372 | package com.ac.io;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
/**
* Description:
* <字符输入流>
* Created by aochong on 2019/10/20
*
* @author aochong
* @version 1.0
*/
public class TestReader {
public static void main(String[] args) {
String path ... |
7677e542-484e-43cc-a976-5a78e4a98ff2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-15 12:52:50", "repo_name": "fernandojr999/ecommerce", "sub_path": "/src/test/java/br/com/fernando/ecommerce/cepServiceTest/CepServiceTest.java", "file_name": "CepServiceTest.java", "file_ext": "java", "file_si... | https://github.com/fernandojr999/ecommerce | 260 | FILENAME: CepServiceTest.java | 0.253861 | package br.com.fernando.ecommerce.cepServiceTest;
import br.com.fernando.ecommerce.core.address.cep.CepDTO;
import br.com.fernando.ecommerce.core.address.cep.CepService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.Spring... |
acebfeca-1dc1-461a-bcea-29fe51069af9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-16 02:47:51", "repo_name": "juanwalker/policy-kafka", "sub_path": "/kafka-policy/src/main/java/com/cognizant/kafkainsurer/model/Policy.java", "file_name": "Policy.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/juanwalker/policy-kafka | 219 | FILENAME: Policy.java | 0.201813 | package com.cognizant.kafkainsurer.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="policydb")
@JsonIgnorePropert... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.