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 |
|---|---|---|---|---|---|---|
a7963a16-2677-42a3-9492-a7ea251dadc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-16 15:54:16", "repo_name": "axelrodvl/ibm-mq-client", "sub_path": "/src/main/java/co/axelrod/ibm/mq/client/mq/MQCloseableQueue.java", "file_name": "MQCloseableQueue.java", "file_ext": "java", "file_size_in_byt... | https://github.com/axelrodvl/ibm-mq-client | 231 | FILENAME: MQCloseableQueue.java | 0.250913 | package co.axelrod.ibm.mq.client.mq;
import co.axelrod.ibm.mq.client.configuration.MQConfiguration;
import com.ibm.mq.MQException;
import com.ibm.mq.MQQueue;
import com.ibm.mq.MQQueueManager;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class MQCloseableQueue implements AutoCloseable {
pr... |
16f801ea-50c1-468f-89b5-57824e5cc0d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-26 20:15:21", "repo_name": "SzymiJimi/bank-app-core", "sub_path": "/src/main/java/com/pai2/bank/app/controller/AddressController.java", "file_name": "AddressController.java", "file_ext": "java", "file_size_in_... | https://github.com/SzymiJimi/bank-app-core | 247 | FILENAME: AddressController.java | 0.271252 | package com.pai2.bank.app.controller;
import com.pai2.bank.app.dao.AccountTransferDao;
import com.pai2.bank.app.dao.AddressDao;
import com.pai2.bank.app.model.Address;
import com.pai2.bank.app.model.Creditcard;
import javax.ejb.EJB;
import javax.mvc.Controller;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
i... |
51ea828a-3e9f-41d4-957e-4e772092e8f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 14:53:39", "repo_name": "JankenLv/Practice", "sub_path": "/FileIO/src/com/FileIO/Utils/ParseRequestUtil.java", "file_name": "ParseRequestUtil.java", "file_ext": "java", "file_size_in_byte": 1045, "line_coun... | https://github.com/JankenLv/Practice | 213 | FILENAME: ParseRequestUtil.java | 0.255344 | package com.FileIO.Utils;
import com.FileIO.Dto.fileItemDto;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
/**
* 解析 requ... |
861ff2be-ac28-4abc-8e60-1738ff972179 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-09 15:44:01", "repo_name": "Pushp1403/Timezone-store-spring-Oauth-React", "sub_path": "/tz-store/src/main/java/com/toptal/pushpendra/mappers/EmailDetailsMapper.java", "file_name": "EmailDetailsMapper.java", "f... | https://github.com/Pushp1403/Timezone-store-spring-Oauth-React | 238 | FILENAME: EmailDetailsMapper.java | 0.285372 | package com.toptal.pushpendra.mappers;
import org.springframework.stereotype.Component;
import com.toptal.pushpendra.entities.EmailRequest;
import com.toptal.pushpendra.models.EmailData;
import com.toptal.pushpendra.models.JwtUserDetails;
import com.toptal.pushpendra.utilities.Constants;
@Component
public class Emai... |
746caea7-7875-4289-81f8-440dc87e298b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 06:20:09", "repo_name": "jxday/JDKSourceCode1.8", "sub_path": "/jdkSourceTest/src/main/java/util/LinkedList.java", "file_name": "LinkedList.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count"... | https://github.com/jxday/JDKSourceCode1.8 | 232 | FILENAME: LinkedList.java | 0.250913 | package util;
import sun.misc.Unsafe;
import sun.reflect.Reflection;
import java.lang.reflect.Field;
/**
* 〈〉
*
* @author cty
* @ClassName LinkedList
* @create 2020-01-10 16:19
* @Version 1.0.0
*/
public class LinkedList implements List {
private static Unsafe unsafe = reflectGetUnsafe();
private Inte... |
c2b217bd-3250-4ab9-9c4e-bf3b43e3d582 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-23 01:22:25", "repo_name": "chavonac/UtilsTecWs", "sub_path": "/src/main/java/com/mx/msc/servicios/SalasDisponiblesService.java", "file_name": "SalasDisponiblesService.java", "file_ext": "java", "file_size_in_... | https://github.com/chavonac/UtilsTecWs | 259 | FILENAME: SalasDisponiblesService.java | 0.262842 | /*
* 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 com.mx.msc.servicios;
import com.mx.msc.dao.SalasDisponiblesDao;
import java.util.List;
import javax.jws.WebService;
... |
3ab9492b-e212-455d-b273-08293c4c42c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-16 18:06:02", "repo_name": "hecun1993/shipdata", "sub_path": "/shipdata-security/src/main/java/me/hecun/shipdata/security/common/ResponseEnum.java", "file_name": "ResponseEnum.java", "file_ext": "java", "file_... | https://github.com/hecun1993/shipdata | 274 | FILENAME: ResponseEnum.java | 0.252384 | package me.hecun.shipdata.security.common;
/**
*
* @author hecun
* @date 2017/10/25
*/
public enum ResponseEnum {
SUCCESS(0, "success!"),
PARAMETER_ERROR(11, "parameter error!"),
ERROR(10, "error!"),
DATA_FILE_ERROR(12, "data file error!"),
BATCH_JOB_ERROR(13, "batch job error!"),
UNAUTHOR... |
3cd9ee12-cf7b-443d-b3f9-010315476635 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-28 17:15:43", "repo_name": "dx1MS/TaskTrackerCodeX", "sub_path": "/src/main/java/com/codex/busel/web/utils/PasswordHelper.java", "file_name": "PasswordHelper.java", "file_ext": "java", "file_size_in_byte": 103... | https://github.com/dx1MS/TaskTrackerCodeX | 197 | FILENAME: PasswordHelper.java | 0.23231 | package com.codex.busel.web.utils;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import java.security.MessageDigest;
@Service
public class PasswordHelper implements PasswordEncoder{
private MessageDigest md;
@Override
public String e... |
312b69e0-a400-4a60-ad00-6f826e91d824 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-08 07:48:57", "repo_name": "AudricLarose/RealEstateManager", "sub_path": "/app/src/main/java/com/openclassrooms/realestatemanager/modele/NearbyEstate.java", "file_name": "NearbyEstate.java", "file_ext": "java"... | https://github.com/AudricLarose/RealEstateManager | 272 | FILENAME: NearbyEstate.java | 0.236516 | package com.openclassrooms.realestatemanager.modele;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
@Entity(tableName = "bddNearby", foreignKeys = @ForeignKey(entity = RealEstate.class,
parentColumns ... |
8b479e05-bb46-4c39-a6f8-df2fdcd3512f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-10T12:11:21", "repo_name": "BMKEG/exp-parser", "sub_path": "/statement_classification/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 21, "lang": "en", "doc... | https://github.com/BMKEG/exp-parser | 242 | FILENAME: README.md | 0.259826 | #Code for preparing data for statement classification, training the classifier and classifying new files
## Dependencies
* Stanford Basic English POS Tagger: Download from http://nlp.stanford.edu/software/stanford-postagger-2015-04-20.zip and install
* Stanford Parser: Download from http://nlp.stanford.edu/software/st... |
53e13328-b545-4d03-8083-114061329715 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-05 13:25:10", "repo_name": "lor1an/task4", "sub_path": "/src/java/ua/kpi/filters/Encoding.java", "file_name": "Encoding.java", "file_ext": "java", "file_size_in_byte": 1148, "line_count": 44, "lang": "en", "do... | https://github.com/lor1an/task4 | 216 | FILENAME: Encoding.java | 0.26588 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ua.kpi.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servle... |
9889a8a4-86c6-45fc-a93d-952226af85f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-17 14:33:54", "repo_name": "hehaihao/Test", "sub_path": "/project/wallet_module/src/main/java/com/xm6leefun/wallet_module/reset_psw/adapter/ResetPswViewPagerAdapter.java", "file_name": "ResetPswViewPagerAdapte... | https://github.com/hehaihao/Test | 235 | FILENAME: ResetPswViewPagerAdapter.java | 0.264358 | package com.xm6leefun.wallet_module.reset_psw.adapter;
import com.xm6leefun.wallet_module.reset_psw.ResetPswFragment;
import java.util.List;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
/**
* @Description:
* @Author: hhh
* ... |
15bd7e5b-b5a4-44ad-aa02-5785f568d8bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-03 12:08:11", "repo_name": "farshmaker/IssueTracker", "sub_path": "/src/main/java/by/epamlab/bugtracker/service/impl/ProjectServiceImpl.java", "file_name": "ProjectServiceImpl.java", "file_ext": "java", "file_... | https://github.com/farshmaker/IssueTracker | 195 | FILENAME: ProjectServiceImpl.java | 0.292595 | package by.epamlab.bugtracker.service.impl;
import by.epamlab.bugtracker.dao.intefaces.ProjectDAO;
import by.epamlab.bugtracker.model.bean.Project;
import by.epamlab.bugtracker.service.interfaces.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... |
a398402a-cd0a-4c1b-9de5-1d18875ae9df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-22 13:09:26", "repo_name": "jackeybill/eShop", "sub_path": "/src/net/shopxx/FileInfo.java", "file_name": "FileInfo.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 67, "lang": "en", "doc_typ... | https://github.com/jackeybill/eShop | 297 | FILENAME: FileInfo.java | 0.292595 | package net.shopxx;
import java.util.Date;
public class FileInfo
{
private String IIIllIlI;
private String IIIllIll;
private Boolean IIIlllII;
private Long IIIlllIl;
private Date IIIllllI;
public String getName()
{
return this.IIIllIlI;
}
public void setName(String name)
{
this.IIIllIlI ... |
750fdf7b-a93a-43b5-8928-0c7558e44fce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 03:06:44", "repo_name": "hcfr1314/sleepworker", "sub_path": "/early_kks/kks/src/test/java/com/hhgs/kks/narikks/NaRiPageDataTest.java", "file_name": "NaRiPageDataTest.java", "file_ext": "java", "file_size_in... | https://github.com/hcfr1314/sleepworker | 263 | FILENAME: NaRiPageDataTest.java | 0.264358 | package com.hhgs.kks.narikks;
import com.hhgs.kks.SpringbootKksApplication;
import com.hhgs.kks.mapper.NaRiPageMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springfr... |
aacc9661-e52b-4f3d-985e-8a09c64f16e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-26 01:53:23", "repo_name": "canuonifeng/framework", "sub_path": "/src/main/java/com/codeages/framework/config/WebMvcConfig.java", "file_name": "WebMvcConfig.java", "file_ext": "java", "file_size_in_byte": 1114... | https://github.com/canuonifeng/framework | 205 | FILENAME: WebMvcConfig.java | 0.253861 | package com.codeages.framework.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.spr... |
7a0ad6d0-08d5-449d-b981-9e2e42ca0f79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 13:10:29", "repo_name": "FischerMatias/WeatherApp", "sub_path": "/WeatherREST/src/main/java/service/WeatherService.java", "file_name": "WeatherService.java", "file_ext": "java", "file_size_in_byte": 1048, "... | https://github.com/FischerMatias/WeatherApp | 214 | FILENAME: WeatherService.java | 0.278257 | package service;
import com.github.fedy2.weather.YahooWeatherService;
import com.github.fedy2.weather.data.Channel;
import com.github.fedy2.weather.data.Condition;
import com.github.fedy2.weather.data.unit.DegreeUnit;
import javax.xml.bind.JAXBException;
import java.io.IOException;
/**
* Created by Matias Fischer o... |
abcf6f9c-9afb-4d16-a3eb-116419d3ff29 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-16T14:43:16", "repo_name": "hollanderski/myselfisnotenough", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1122, "line_count": 14, "lang": "en", "doc_type": "te... | https://github.com/hollanderski/myselfisnotenough | 254 | FILENAME: README.md | 0.283781 | # My self is not enough
Selected for the Jeune Création prize organized by Jennifer Flay (FIAC), Ninon Lizé Masclef in collaboration with Félix Ramon, conceived the installation « My self is not enough ». The digital device challenges visitors to play the game of love with their own reflection. The work is visible dur... |
a5b8967c-7229-4b9b-b987-f06969dfeac7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-03 12:54:45", "repo_name": "xiaotao1991/EMarket", "sub_path": "/EShop-sso-web/src/main/java/com/xiaotao/eshop/sso/web/controller/TokenController.java", "file_name": "TokenController.java", "file_ext": "java", ... | https://github.com/xiaotao1991/EMarket | 233 | FILENAME: TokenController.java | 0.212069 | package com.xiaotao.eshop.sso.web.controller;
import com.xiaotao.common.utils.E3Result;
import com.xiaotao.common.utils.JsonUtils;
import com.xiaotao.eshop.sso.service.TokenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframewo... |
f4d51933-0417-4eaf-85ab-5a4d7c7ad85c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-14T21:31:25", "repo_name": "RedFalconKen/JustaLadder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1146, "line_count": 11, "lang": "en", "doc_type": "text", "... | https://github.com/RedFalconKen/JustaLadder | 267 | FILENAME: README.md | 0.228156 | # JustaLadder
This is literally just a ladder for using in DayZ.
Ever need a climbable ladder on your DayZ server? Well I did and was disappointed to find that the ladders from BuilderItems or the base game were decorative and weren't climbable. I was working on putting an oil rig (that had been painstakingly built b... |
a3e6ec2c-33fc-4b8c-a30f-2f72b84cec38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-02 04:32:37", "repo_name": "8tuv/mabi", "sub_path": "/app/src/main/java/com/ying/qixu/MyApplication.java", "file_name": "MyApplication.java", "file_ext": "java", "file_size_in_byte": 1156, "line_count": 41, "l... | https://github.com/8tuv/mabi | 261 | FILENAME: MyApplication.java | 0.249447 | package com.ying.qixu;
import android.Manifest;
import android.app.Application;
import android.os.Build;
import android.support.v4.app.ActivityCompat;
import android.util.Log;
import com.alibaba.baichuan.android.trade.AlibcTradeSDK;
import com.alibaba.baichuan.android.trade.callback.AlibcTradeInitCallback;
import com... |
bc688da0-8924-4fa1-97e8-057000779a4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-01 18:24:01", "repo_name": "AJAkil/NW_lab_practice", "sub_path": "/src/Sender_receiver_new/Sender.java", "file_name": "Sender.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 29, "lang": "en... | https://github.com/AJAkil/NW_lab_practice | 173 | FILENAME: Sender.java | 0.280616 | package Sender_receiver_new;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.util.Scanner;
public class Sender {
public static void main(String[] args) throws IOException, ClassNotFoundException {
Socket socket = new Sock... |
18b0e16c-1cc4-4c86-9036-7961bebb1b16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-24 02:15:56", "repo_name": "XSation/BJQQYKNetWork", "sub_path": "/v1/src/main/java/com/example/v1/xklibrary/activity/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/XSation/BJQQYKNetWork | 215 | FILENAME: BaseActivity.java | 0.259826 | package com.example.v1.xklibrary.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.example.v1.xklibrary.MyCallback;
import com.example.v1.xklibrary.net.Ne... |
14012f7e-a213-4b0e-89c5-249cce1aa064 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 15:12:55", "repo_name": "abdasik25/OneMusic", "sub_path": "/src/by/epam/onemusic/entity/Author.java", "file_name": "Author.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 62, "lang": "en... | https://github.com/abdasik25/OneMusic | 270 | FILENAME: Author.java | 0.273574 | /**
* Created by Alexander Lomat on 13.05.19
* version 0.0.1
*/
package by.epam.onemusic.entity;
import java.util.Objects;
public class Author extends Entity {
private String name;
private String country;
public Author(){
}
public Author(long id, String name, String country) {
super... |
d326d97a-949a-487c-9bdb-69c03248e8d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-04 18:14:35", "repo_name": "hadouken89/Tinder_clone", "sub_path": "/app/src/main/java/com/jonas/tinderclone/adapters/CardAdapter.java", "file_name": "CardAdapter.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/hadouken89/Tinder_clone | 203 | FILENAME: CardAdapter.java | 0.247987 | package com.jonas.tinderclone.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.jonas.tinderclone.R;
import com.jonas.tin... |
5a65a47d-6c65-45a6-a2ef-4b68e592beae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-30 12:29:47", "repo_name": "gtu001/gtu-test-code", "sub_path": "/GTU/src/gtu/charset/CustomCharsetProvider.java", "file_name": "CustomCharsetProvider.java", "file_ext": "java", "file_size_in_byte": 1248, "line... | https://github.com/gtu001/gtu-test-code | 276 | FILENAME: CustomCharsetProvider.java | 0.284576 | package gtu.charset;
import java.nio.charset.Charset;
import java.nio.charset.spi.CharsetProvider;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* 將此package包成檔案 CP937_FUCO.jar
* 放到 C:\Program Files\Java\jdk1.8.0_73\jre\lib\ext\CP937_FUCO.jar
*
* Example : new Strin... |
91beea5a-c619-4c40-b080-605cbbd8b45b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-30 06:59:55", "repo_name": "studyforgitzxl/nettyserver", "sub_path": "/nettystudy/src/main/java/zxl/netty/command/consolecommand/SendToUserConsoleCommand.java", "file_name": "SendToUserConsoleCommand.java", "f... | https://github.com/studyforgitzxl/nettyserver | 214 | FILENAME: SendToUserConsoleCommand.java | 0.274351 | package zxl.netty.command.consolecommand;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import zxl.netty.command.ConsoleCommand;
import zxl.netty.packet.codec.PacketCodec;
import zxl.netty.packet.request.MessageRequestPacket;
import java.util.Scanner;
public class SendToUserConsoleCommand implemen... |
87870846-cc8b-479b-936c-07d66cc86e9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 19:10:40", "repo_name": "rogeriosilva-ifpi/android-teaching-projects", "sub_path": "/AppLesson2/app/src/main/java/com/example/rogermac/applesson2/Tela1DebugLogActivity.java", "file_name": "Tela1DebugLogActi... | https://github.com/rogeriosilva-ifpi/android-teaching-projects | 236 | FILENAME: Tela1DebugLogActivity.java | 0.259826 | package com.example.rogermac.applesson2;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import butterknife.BindView;
import butterknife.ButterKnife;
public class Tela1DebugLo... |
29e20d6a-1dcd-41c1-ba11-a806c5f9e4ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-24 22:44:08", "repo_name": "MaximCeban/test_project", "sub_path": "/app/src/main/java/com/example/ceban/maxim/mvprx/rest/RestClient.java", "file_name": "RestClient.java", "file_ext": "java", "file_size_in_byte... | https://github.com/MaximCeban/test_project | 195 | FILENAME: RestClient.java | 0.243642 | package com.example.ceban.maxim.mvprx.rest;
import android.support.annotation.NonNull;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
public class R... |
45be32b7-2e1a-4cf5-90ad-23823df0918c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-07 09:38:31", "repo_name": "chaolemen-github/Ergedd", "sub_path": "/app/src/main/java/com/chaolemen/ergedd/look/presenter/TabPresenter.java", "file_name": "TabPresenter.java", "file_ext": "java", "file_size_in... | https://github.com/chaolemen-github/Ergedd | 256 | FILENAME: TabPresenter.java | 0.282988 | package com.chaolemen.ergedd.look.presenter;
import com.chaolemen.ergedd.look.bean.TabBean;
import com.chaolemen.ergedd.look.contract.TabContract;
import com.chaolemen.ergedd.look.model.TabModel;
import com.chaolemen.ergedd.look.parmasen.TabParameter;
import com.chaolemen.mvplibrary.model.ModelFractory;
import com.cha... |
e3f5be44-5be2-453a-91c4-e379bc85a34b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-07 13:17:08", "repo_name": "fabianlupa/geometri", "sub_path": "/src/main/java/com/flaiker/geometri/blocks/TestBlock.java", "file_name": "TestBlock.java", "file_ext": "java", "file_size_in_byte": 657, "line_cou... | https://github.com/fabianlupa/geometri | 191 | FILENAME: TestBlock.java | 0.264358 | /******************************************************************************
* Copyright (c) 2015 Fabian Lupa *
* This software is licensed under the MIT License (MIT). *
******************************************************************************/... |
f972ef42-2c28-477f-b405-63ca482611f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 07:11:26", "repo_name": "liuyanjun528/SpringCloud", "sub_path": "/my-spring-feign/src/main/java/com/example/demo/contorlle/HiControlle.java", "file_name": "HiControlle.java", "file_ext": "java", "file_size_... | https://github.com/liuyanjun528/SpringCloud | 230 | FILENAME: HiControlle.java | 0.226784 | package com.example.demo.contorlle;
import javax.sound.sampled.Port;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping... |
47354ea1-9a92-40f6-9985-b49dfca71fd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 21:18:05", "repo_name": "Vladzensan/equeue-webserver-app", "sub_path": "/src/main/java/by/equeue/webserverapp/model/users/UserQueueKey.java", "file_name": "UserQueueKey.java", "file_ext": "java", "file_size... | https://github.com/Vladzensan/equeue-webserver-app | 261 | FILENAME: UserQueueKey.java | 0.290176 | package by.equeue.webserverapp.model.users;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
@Embeddable
public class UserQueueKey implements Serializable {
@Column(name = "user_id")
Long userId;
@Column(name = "queue_id")
Lo... |
7a6dc51a-f498-47f5-98ca-214d6302346e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-21 02:48:16", "repo_name": "BMariscal/fire_tv_for_reddit", "sub_path": "/app/src/test/java/seveida/firetvforreddit/SubredditRepoTest.java", "file_name": "SubredditRepoTest.java", "file_ext": "java", "file_size... | https://github.com/BMariscal/fire_tv_for_reddit | 199 | FILENAME: SubredditRepoTest.java | 0.20947 | package seveida.firetvforreddit;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import io.reactivex.functions.Consumer;
import retrofit2.Retrofit;
import seveida.firetvforreddit.domain.objects.SubredditDetails;
import seveida.firetvforreddit.domain.objects.Thread... |
737d91e3-8510-40aa-b169-0684d83f7379 | {"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/19/1655.java", "file_name": "1655.java", "file_ext": "java", "file_size_in_byte": 1062, "line_count":... | https://github.com/qiuchili/ggnn_graph_classification | 378 | FILENAME: 1655.java | 0.255344 | import java.util.*;
package <missing>;
public class GlobalMembers
{
public static int Main()
{
String s = new String(new char[201]);
String a = new String(new char[101]);
String b = new String(new char[101]);
int S;
int A;
int i;
int j;
int k = 0;
int m = 0;
s = new Scanner(System.in).nextLine()... |
95add1c6-75ee-43d0-9f08-025303a1f257 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-12 20:20:07", "repo_name": "LluisAguilar/Kinedu_test", "sub_path": "/app/src/main/java/com/luis/test/kinedu/POJO/Meta.java", "file_name": "Meta.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count... | https://github.com/LluisAguilar/Kinedu_test | 217 | FILENAME: Meta.java | 0.212069 | package com.luis.test.kinedu.POJO;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Meta {
@SerializedName("page")
@Expose
private Integer page;
@SerializedName("per_page")
@Expose
private Integer perPage;
@SerializedName("total_pa... |
629d2c26-2201-47a8-a647-4f4cda1a662f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-06 05:41:32", "repo_name": "abusayedruetcse/Miwok", "sub_path": "/app/src/main/java/com/ecxample/android/miwok/Word.java", "file_name": "Word.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count":... | https://github.com/abusayedruetcse/Miwok | 263 | FILENAME: Word.java | 0.268941 | package com.ecxample.android.miwok;
public class Word {
private String english;
private String bangla;
private int imageId=NO_IMAGE_PROVIDED;
//private boolean isPhrases;
private static final int NO_IMAGE_PROVIDED = -1;
private int audioId;
public Word(String s1,String s2,int id,int audio)
... |
d29ba235-2cfb-468a-9929-03b142ba91d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-08 05:39:59", "repo_name": "iboomboom/MJNPullToRefresh", "sub_path": "/app/src/main/java/com/meiyouwifi/mjnpulltorefresh/view/NormalRefreshViewManager.java", "file_name": "NormalRefreshViewManager.java", "file... | https://github.com/iboomboom/MJNPullToRefresh | 247 | FILENAME: NormalRefreshViewManager.java | 0.243642 | package com.meiyouwifi.mjnpulltorefresh.view;
import android.content.Context;
import android.view.MotionEvent;
import android.view.View;
import android.widget.TextView;
import com.meiyouwifi.mjnpulltorefresh.R;
/**
* Created by hiviiup on 2017/1/12.
* 加载样式管理器
*/
public class NormalRefreshViewManager extends Base... |
c028cedb-a3bb-4c28-ae34-1cb29437c076 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-19 10:21:29", "repo_name": "ThornJuice/LearnAndroid", "sub_path": "/app/src/main/java/com/ju/learnandroid/lifecycle/LifeCycleDemoActivity.java", "file_name": "LifeCycleDemoActivity.java", "file_ext": "java", "... | https://github.com/ThornJuice/LearnAndroid | 206 | FILENAME: LifeCycleDemoActivity.java | 0.286968 | package com.ju.learnandroid.lifecycle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;
import android.os.Bundle;
import android.util.Log;
import com.ju.learnandroid.R;
public class LifeCycl... |
04f85215-2836-47b0-8124-3f95f358e090 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-24 13:48:25", "repo_name": "TonySamara/CPWeb", "sub_path": "/WebProject/src/main/java/com/dao/HibernateUtil.java", "file_name": "HibernateUtil.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count"... | https://github.com/TonySamara/CPWeb | 188 | FILENAME: HibernateUtil.java | 0.268941 | package com.dao;
import com.models.Biography;
import com.models.Player;
import com.models.Position;
import com.models.Statistics;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
/**
* Created by ANTON on 05.03.2016.
*/
public class HibernateUtil {
private static final SessionFactory ... |
4af8371f-ee11-4ada-8765-065821822dfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-23 10:05:27", "repo_name": "Maves1/TheBanyaSimulatorLGDX", "sub_path": "/core/src/ru/mavesoft/thebanyasim/Cloud.java", "file_name": "Cloud.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count": 43... | https://github.com/Maves1/TheBanyaSimulatorLGDX | 234 | FILENAME: Cloud.java | 0.286169 | package ru.mavesoft.thebanyasim;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.math.MathUtils;
public class Cloud {
public float x;
public float y;
private short direction;
private float speed = 6.0f;
private int width = 200;
pri... |
ccdb5642-959d-42ca-ba82-1d2b024d1246 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-27 14:47:41", "repo_name": "olebas13/AndroidLessons2", "sub_path": "/p1061fragmentactivity/src/main/java/com/olebas/p1061fragmentactivity/Fragment1.java", "file_name": "Fragment1.java", "file_ext": "java", "fi... | https://github.com/olebas13/AndroidLessons2 | 189 | FILENAME: Fragment1.java | 0.240775 | package com.olebas.p1061fragmentactivity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import... |
66ba2b65-968b-477f-8ea7-a8db418e3803 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-06 20:27:24", "repo_name": "ireneroy2797/SeleniumHabileTechnologiesCode", "sub_path": "/src/main/java/pages/ClientActivationPage.java", "file_name": "ClientActivationPage.java", "file_ext": "java", "file_size_... | https://github.com/ireneroy2797/SeleniumHabileTechnologiesCode | 212 | FILENAME: ClientActivationPage.java | 0.236516 | package pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class ClientActivationPage {
WebDriver driver;
public ClientActivationPage(WebDriver driver) {
this.driver=driver;
PageF... |
57c7b02d-01ff-405f-99f2-da5d1b37888c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-06 08:16:03", "repo_name": "Prashant-Pandey/Tutorial-Java", "sub_path": "/SplashDemo/src/com/example/splashdemo/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/Prashant-Pandey/Tutorial-Java | 219 | FILENAME: SplashScreen.java | 0.293404 | package com.example.splashdemo;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.Window;
public class SplashScreen extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
7279e0e1-607f-46ab-aeb0-0afa51cf9ced | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 02:26:01", "repo_name": "cheloide/telegram-bot-api", "sub_path": "/common/src/main/java/com/github/cheloide/telegrambotapi/model/common/Location.java", "file_name": "Location.java", "file_ext": "java", "fil... | https://github.com/cheloide/telegram-bot-api | 236 | FILENAME: Location.java | 0.246533 | package com.github.cheloide.telegrambotapi.model.common;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* This object represents a point on the map.
*
* @author Marcelo González
*
* @see <a href="https://core.telegram.org/bots/api#location">https://core.telegram.org/bots/api#location</a>
*
*/
publ... |
5ea87353-b3db-4a44-91c1-eadcde5837f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-24 12:09:18", "repo_name": "ryhonour/community", "sub_path": "/src/test/java/com/ry/community/CommunityApplicationTests.java", "file_name": "CommunityApplicationTests.java", "file_ext": "java", "file_size_in_b... | https://github.com/ryhonour/community | 206 | FILENAME: CommunityApplicationTests.java | 0.259826 | package com.ry.community;
import com.ry.community.mapper.QuestionMaperCustom;
import com.ry.community.model.Question;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springfram... |
3fddffe9-28bd-446d-b0f0-e0ef131575a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-27 06:53:29", "repo_name": "GGtray/FlagCampAndroid", "sub_path": "/app/src/main/java/com/example/flagcamp/Splash/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/GGtray/FlagCampAndroid | 179 | FILENAME: SplashActivity.java | 0.210766 | package com.example.flagcamp.Splash;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.example.flagcamp.Discover.DiscoverActivity;
import com.example.fl... |
4ea28937-cdff-46ec-a013-4b944fd8a7e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 11:09:19", "repo_name": "galasam/GalaBank", "sub_path": "/TradeEngine/src/main/java/com/gala/sam/tradeengine/utils/orderprocessors/OrderProcessorFactory.java", "file_name": "OrderProcessorFactory.java", "fi... | https://github.com/galasam/GalaBank | 210 | FILENAME: OrderProcessorFactory.java | 0.282196 | package com.gala.sam.tradeengine.utils.orderprocessors;
import com.gala.sam.orderrequestlibrary.orderrequest.AbstractOrderRequest.OrderType;
import com.gala.sam.tradeengine.utils.exception.OrderTypeNotSupportedException;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframewor... |
e3fded5e-be18-4759-a6f2-3258a806b4e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 02:17:49", "repo_name": "gocd/gocd", "sub_path": "/common/src/test/java/com/thoughtworks/go/helper/UsersMother.java", "file_name": "UsersMother.java", "file_ext": "java", "file_size_in_byte": 429, "line_cou... | https://github.com/gocd/gocd | 221 | FILENAME: UsersMother.java | 0.225417 | /*
* Copyright 2023 Thoughtworks, Inc.
*
* 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 agr... |
01463c16-89cf-4fef-a522-dbf06ad6b3e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-27 18:52:00", "repo_name": "kendeclise/FakeGenerator", "sub_path": "/fakeGenerator/src/main/java/com/fakegenerator/entities/Empleado.java", "file_name": "Empleado.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/kendeclise/FakeGenerator | 242 | FILENAME: Empleado.java | 0.233706 | /*
* 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 com.fakegenerator.entities;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import ... |
8b19b762-f9a2-4d44-92ea-b5cb9a8d2ac3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-21 10:35:56", "repo_name": "ArinaLau/ProgCompICPC", "sub_path": "/StreetLightPole.java", "file_name": "StreetLightPole.java", "file_ext": "java", "file_size_in_byte": 1147, "line_count": 42, "lang": "en", "doc... | https://github.com/ArinaLau/ProgCompICPC | 279 | FILENAME: StreetLightPole.java | 0.268941 | import java.util.Scanner;
//acmicpc2016 - E
public class StreetLightPole {
public static void main(String[] args) {
int test_case, hn, cn, status[][], steps;
Scanner scanner = new Scanner(System.in);
Scanner in = new Scanner(System.in).useDelimiter("[,\\s+]");
System.out.print("E... |
143a6847-29b4-46dd-ad3a-7c9c5f9f0e18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 22:34:19", "repo_name": "grwkremilek/Excerpts", "sub_path": "/src/main/java/com/excerpts/springboot/validators/TagValidator.java", "file_name": "TagValidator.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/grwkremilek/Excerpts | 207 | FILENAME: TagValidator.java | 0.289372 | package com.excerpts.springboot.validators;
import java.nio.charset.StandardCharsets;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import com.excerpts.springboot.d... |
7a9b5745-fc34-43e2-81dd-5136b24e79e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-10 01:03:52", "repo_name": "lonely7yk/shop_admin_back", "sub_path": "/src/test/java/com/lonely7yk/service/PermsServiceTest.java", "file_name": "PermsServiceTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/lonely7yk/shop_admin_back | 220 | FILENAME: PermsServiceTest.java | 0.277473 | package com.lonely7yk.service;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.lonely7yk.pojo.po.Perms;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.contex... |
28169449-6fcf-42e7-b5d0-378c1c626e87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-29 10:25:29", "repo_name": "Pamod997/java-sample", "sub_path": "/src/com/pamod/sample/Sensor.java", "file_name": "Sensor.java", "file_ext": "java", "file_size_in_byte": 1018, "line_count": 46, "lang": "en", "d... | https://github.com/Pamod997/java-sample | 211 | FILENAME: Sensor.java | 0.280616 | package com.pamod.sample;
public class Sensor { //sensor have two properties name , value
private String name; // make variables for properties
private double value;
//by using private we can make variable can only read by this class
//standard practice make variables as private
public Sensor() ... |
5a9bb2d3-0f8d-4f52-99e9-1ef2503d371e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-20 07:45:39", "repo_name": "September31st/CleanDemo", "sub_path": "/app/src/main/java/com/example/mylo/cleandemo/data/service/ZhihuService.java", "file_name": "ZhihuService.java", "file_ext": "java", "file_siz... | https://github.com/September31st/CleanDemo | 302 | FILENAME: ZhihuService.java | 0.27513 | /**
* Copyright 2017 Sun Jian
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agre... |
00ec0e4c-e62b-4e2f-96a6-1b1132589a3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-30 22:23:12", "repo_name": "KananMusayev/NextBaseCRM", "sub_path": "/src/test/java/com/NextBaseCRM/Pages/VisualEditorPage.java", "file_name": "VisualEditorPage.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/KananMusayev/NextBaseCRM | 189 | FILENAME: VisualEditorPage.java | 0.249447 | package com.NextBaseCRM.Pages;
import com.NextBaseCRM.utilities.Driver;
import org.junit.Assert;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
public class VisualEditorPage ext... |
bdb6cb1a-48e1-4f74-90f5-6fe6b9b7b930 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-10-10 20:53:41", "repo_name": "ddrezga/ddrezga-diplomski", "sub_path": "/video/DiplomskiWorkspace/src/hr/drezga/diplomski/workspace/input/VideoEditorInput.java", "file_name": "VideoEditorInput.java", "file_ext": ... | https://github.com/ddrezga/ddrezga-diplomski | 216 | FILENAME: VideoEditorInput.java | 0.226784 | package hr.drezga.diplomski.workspace.input;
import hr.drezga.diplomski.video.core.IVideoProducer;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
public class VideoEditorInput impleme... |
c63119b2-2901-409c-9c56-a5375f81a43e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-03 17:03:42", "repo_name": "ConnorYoto/GlyndwrTimetables", "sub_path": "/GlyndwrTimetables/app/src/main/java/com/example/glyndwrtimetables/AboutActivity.java", "file_name": "AboutActivity.java", "file_ext": "j... | https://github.com/ConnorYoto/GlyndwrTimetables | 163 | FILENAME: AboutActivity.java | 0.240775 | package com.example.glyndwrtimetables;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class AboutActivity extends AppCompatActivity
{
// Interface
Button backButton;
@Override
protected void onCreate(Bundle sa... |
87637f39-408c-4e4e-b465-69dc8008c6f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-11T18:41:04", "repo_name": "twashing/market-scanner", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 37, "lang": "en", "doc_type": "text", "b... | https://github.com/twashing/market-scanner | 269 | FILENAME: README.md | 0.235108 | # market-scanner
Edgarly microservice for interfacing with the TWS Gateway. From here, the platform makes historical, stock and scanner requests.
## Notes
A) You can connect to TWS, with a VNC viewer (ex: TightVNC).
```
cd ~/Downloads/tvnjviewer-2.8.3-bin-gnugpl/
java -jar tightvnc-jviewer.jar
```
B) You have to ... |
5ec05689-75b1-4058-9db8-592edf9dc238 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 14:44:24", "repo_name": "tim-butterworth/tdd-katas", "sub_path": "/src/main/java/coreRefactor/effectiveLegacyCode/classIntoTestHarness_9/hiddenDependency/solution/parameterizeConstructor/dependency/NetworkN... | https://github.com/tim-butterworth/tdd-katas | 215 | FILENAME: NetworkNotHiddenDependency.java | 0.290981 | package coreRefactor.effectiveLegacyCode.classIntoTestHarness_9.hiddenDependency.solution.parameterizeConstructor.dependency;
import java.util.Random;
public class NetworkNotHiddenDependency implements NotHiddenDependency {
private final String status;
public NetworkNotHiddenDependency() {
String st... |
06f20328-6d7e-418a-b24b-710f7cd11af6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-26 07:54:42", "repo_name": "kyanrong/sorting-signed-permutation", "sub_path": "/src/CNode.java", "file_name": "CNode.java", "file_ext": "java", "file_size_in_byte": 1033, "line_count": 66, "lang": "en", "doc_t... | https://github.com/kyanrong/sorting-signed-permutation | 250 | FILENAME: CNode.java | 0.294215 | import java.util.*;
import java.lang.*;
class CNode{
private CNode childLeft;
private CNode childRight;
private CNode parent;
private String type;
private String index;
private double distance;
public CNode( CNode parent,String nodeType,String indexNode){
childLeft = null;
childRight = null;
this.par... |
949f6e21-9032-4f4a-858a-35d49684b354 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 14:33:10", "repo_name": "zzckm/Demo", "sub_path": "/src/main/java/com/zhiyou100/servlet/message/UpdateServlet.java", "file_name": "UpdateServlet.java", "file_ext": "java", "file_size_in_byte": 1086, "line_c... | https://github.com/zzckm/Demo | 194 | FILENAME: UpdateServlet.java | 0.245085 | package com.zhiyou100.servlet.message;
import com.zhiyou100.util.AdminBaseServlet;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* 更新邮件
*/
@WebServlet("/... |
8f31d8c2-af71-4a64-8fe4-562f5d05cc4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-31 03:09:33", "repo_name": "wyhwpl/NetflowProject", "sub_path": "/netflow-authority/src/main/java/com/netflow/interceptor/InterceptorConfig.java", "file_name": "InterceptorConfig.java", "file_ext": "java", "fi... | https://github.com/wyhwpl/NetflowProject | 201 | FILENAME: InterceptorConfig.java | 0.200558 | package com.netflow.interceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import j... |
d92f53ea-0da5-4da3-be67-d24fd7cad31f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-27 02:17:12", "repo_name": "FlameJordan/Proyecto3LenguajesAndroid", "sub_path": "/app/src/main/java/ucr/cr/ac/proyecto3/Api/ApiPacientes.java", "file_name": "ApiPacientes.java", "file_ext": "java", "file_size_... | https://github.com/FlameJordan/Proyecto3LenguajesAndroid | 210 | FILENAME: ApiPacientes.java | 0.23231 | package ucr.cr.ac.proyecto3.Api;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import ucr.cr.ac.proyecto3.IUser.UserService;
public class Api... |
f299d985-6a91-4b74-9081-300e25158028 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-07 09:47:18", "repo_name": "gp990824/DesignPattern", "sub_path": "/src/javase/gp/threadpool/MyThreadPool.java", "file_name": "MyThreadPool.java", "file_ext": "java", "file_size_in_byte": 1050, "line_count": 37... | https://github.com/gp990824/DesignPattern | 208 | FILENAME: MyThreadPool.java | 0.253861 | package javase.gp.threadpool;
import java.util.concurrent.*;
/**
* @author Gp
* @create 2020/4/2 16:05
*/
//手写一个线程池
public class MyThreadPool {
public static void main(String[] args) {
System.out.println(Runtime.getRuntime().availableProcessors());
ExecutorService threadPool = new ThreadPoolEx... |
7a14cee8-22fd-4781-aa6d-15505ebdb125 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-15 04:45:32", "repo_name": "zaoshang67dian/wechat-sdk", "sub_path": "/src/main/java/com/sky/open/wx/sdk/response/appdev/GetAppWVDomainResponse.java", "file_name": "GetAppWVDomainResponse.java", "file_ext": "ja... | https://github.com/zaoshang67dian/wechat-sdk | 314 | FILENAME: GetAppWVDomainResponse.java | 0.259826 | package com.sky.open.wx.sdk.response.appdev;
import com.alibaba.fastjson.annotation.JSONField;
import com.sky.open.wx.sdk.response.WechatResponse;
import java.util.List;
/**
* 获取小程序全部业务域名:
* 提示:
* 1、需要先将域名登记到第三方平台的小程序业务域名中,才可以调用接口进行配置。
* 2、为授权的小程序配置域名时支持配置子域名,
* 例如第三方登记的业务域名如为qq.com,则可以直接将qq.com及其子域名(如xxx... |
d9573d76-c841-48de-aa65-be5b20b3fe79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-12 16:17:43", "repo_name": "mraza-x/java3_worker_exceptions2", "sub_path": "/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1104, "line_count": 91, "lang": "en", "doc_ty... | https://github.com/mraza-x/java3_worker_exceptions2 | 289 | FILENAME: Employee.java | 0.26588 | /**
Mohammed Raza
CSC 236 - Lab1 # 3 (class1)
*/
public class Employee
{
public String name;
public int id;
public String date;
public Employee()
{
name = " ";
id = 0;
date = " ";
}
public Employee(String n, String d, int i)
{
name = n;
id = i;
date ... |
d8884d5a-75b6-408b-a1b2-d4481f814e8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-13T02:23:56", "repo_name": "cathymicyi/Fart-Away", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 22, "lang": "en", "doc_type": "text", "blob_... | https://github.com/cathymicyi/Fart-Away | 210 | FILENAME: README.md | 0.253861 | # Description
Have you ever heard of “selling good smell fart”? This is a folk
story in south Asia, the main goal of this story is teaching people to
be kind. How much does animal agriculture and eating meat con-
tribute to global warming? Animal agriculture and eating meat are
the biggest causes of global warming. Bec... |
ce099e86-850c-4afe-b030-1e1b5222c983 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-08 07:52:33", "repo_name": "Kutty39/Program", "sub_path": "/StockAccountManagement/src/com/blbz/stockaccountnanagement/repository/CompanyFileHandler.java", "file_name": "CompanyFileHandler.java", "file_ext": "... | https://github.com/Kutty39/Program | 189 | FILENAME: CompanyFileHandler.java | 0.261331 | package com.blbz.stockaccountnanagement.repository;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import static com.blbz.stockaccountnanagement.model.StockMo... |
eeb42069-76fd-4a8e-85ff-58be5f3f1287 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-02 23:19:35", "repo_name": "timv5/MyFinanceApp", "sub_path": "/app/src/main/java/com/example/myfinanceapp/database/db/AppDatabase.java", "file_name": "AppDatabase.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/timv5/MyFinanceApp | 181 | FILENAME: AppDatabase.java | 0.264358 | package com.example.myfinanceapp.database.db;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import com.example.myfinanceapp.database.dao.CryptoCoinDao;
import com.example.myfinanceapp.database.model.CryptoCoin;
@Database(entities = {
... |
b411d9a9-556b-41d7-9c2b-6f9a3a2bbd12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-23T15:18:27", "repo_name": "shiftypanda/fatigue-performance", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1044, "line_count": 32, "lang": "en", "doc_type": "t... | https://github.com/shiftypanda/fatigue-performance | 211 | FILENAME: README.md | 0.226784 | #Fatigue and performance
This project aims to help capture data on fatigue and performance
It's split into multiple smaller apps to make debugging easier and show the
overall framework.
Based upon Django 2.0.2
#Overall framework of smaller apps:-
1. ai - for customizing responses based upon machine learning system... |
e28c849a-b573-4035-9e15-bf721e247af0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-10 19:31:25", "repo_name": "simplyti/simple-server", "sub_path": "/acceptance/src/test/java/com/simplyti/service/examples/filter/FullHttpRequestFilterModule.java", "file_name": "FullHttpRequestFilterModule.jav... | https://github.com/simplyti/simple-server | 210 | FILENAME: FullHttpRequestFilterModule.java | 0.259826 | package com.simplyti.service.examples.filter;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import com.google.inject.multibindings.Multibinder;
import com.simplyti.service.exception.BadRequestException;
import com.simplyti.service.filter.FilterContext;
import com.simplyti.service.filter.... |
8b870556-0a15-4534-bd16-ac0486f1d235 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-17T15:25:36", "repo_name": "stevelilly/rxandroid-racecondition", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1099, "line_count": 25, "lang": "en", "doc_type":... | https://github.com/stevelilly/rxandroid-racecondition | 244 | FILENAME: README.md | 0.255344 | This demo is based on the belief that when running the following code in the main thread it should
not be possible to reach the exception:
```java
Single.fromCallable(Object::new)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(object -> {
throw new IllegalState... |
39fefdf8-7992-46a5-9278-4db840e2dffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-24 09:43:12", "repo_name": "keillen/springboot-VUE-", "sub_path": "/shop/src/main/java/com/zxsc/springboot/bean/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1147, "line_count"... | https://github.com/keillen/springboot-VUE- | 219 | FILENAME: Item.java | 0.259826 | package com.zxsc.springboot.bean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.text.DecimalFormat;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Item {
private Integer id;
private Integer cid;
private String title;
... |
acf3db16-78fe-4375-b691-dc7a50f1f1ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 07:15:23", "repo_name": "sunjulei/WeatherDemo", "sub_path": "/app/src/main/java/com/example/administrator/weatherdemo/GetUtil.java", "file_name": "GetUtil.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/sunjulei/WeatherDemo | 221 | FILENAME: GetUtil.java | 0.252384 | package com.example.administrator.weatherdemo;
import android.icu.util.ULocale;
import android.widget.TextView;
import android.widget.Toast;
import org.apache.commons.io.IOUtils;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.net.URLEncoder;
/*... |
58c4fb93-602f-4933-9746-308cb9d80145 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-14T11:36:58", "repo_name": "anurgsrivastava/react-native-couchbase-lite", "sub_path": "/android/src/main/java/com/reactlibrary/JsonQuery.java", "file_name": "JsonQuery.java", "file_ext": "java", "file_size_in_... | https://github.com/anurgsrivastava/react-native-couchbase-lite | 226 | FILENAME: JsonQuery.java | 0.288569 | package com.reactlibrary;
//import com.couchbase.lite.AbstractQuery;
import com.couchbase.lite.CouchbaseLiteException;
import com.couchbase.lite.Database;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
class JsonQuery { //extends AbstractQuery {
private Map<String, Object> jsonSchema;
... |
b15af544-56ae-43bb-a5e5-e6788a8ed91b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-24 05:58:38", "repo_name": "mickdevill/Entrevoisins", "sub_path": "/app/src/main/java/com/openclassrooms/entrevoisins/service/DummyNeighbourApiService.java", "file_name": "DummyNeighbourApiService.java", "file... | https://github.com/mickdevill/Entrevoisins | 242 | FILENAME: DummyNeighbourApiService.java | 0.286968 | package com.openclassrooms.entrevoisins.service;
import com.openclassrooms.entrevoisins.model.Neighbour;
import java.util.ArrayList;
import java.util.List;
/**
* Dummy mock for the Api
*/
public class DummyNeighbourApiService implements NeighbourApiService {
private List<Neighbour> neighbours = DummyNeighbourG... |
b591f4db-354b-4bb1-9717-030fedeb6c6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-18T20:17:33", "repo_name": "sheepit/sheepit", "sub_path": "/source/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1146, "line_count": 34, "lang": "en", "doc_type": "text", "bl... | https://github.com/sheepit/sheepit | 237 | FILENAME: readme.md | 0.242206 | # sheepIT
## Swagger
Address: http://localhost:5000/swagger/index.html
## Architecture
Project is divided into three primary modules: infrastructure, use cases and core.
### Infrastructure
It mainly contains technical code reused by all other modules.
It should be unrelated to this specific project (meaning it c... |
b2ddf85f-cc66-46df-acf1-64ef7cce2836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-09 03:58:15", "repo_name": "yuxiaohui78/KJFrameForAndroid", "sub_path": "/KJFrameExample/src/org/kymjs/example/fragment/ExampleFragment.java", "file_name": "ExampleFragment.java", "file_ext": "java", "file_siz... | https://github.com/yuxiaohui78/KJFrameForAndroid | 211 | FILENAME: ExampleFragment.java | 0.26588 | package org.kymjs.example.fragment;
import org.kymjs.aframe.ui.BindView;
import org.kymjs.aframe.ui.fragment.BaseFragment;
import org.kymjs.example.R;
import org.kymjs.example.activity.SlidExample;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vi... |
8291b6b7-439c-4fef-82e6-ad9f5cfc71f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-18 15:52:43", "repo_name": "sacahan/opendata", "sub_path": "/ntpc-od-model/src/main/java/com/udn/ntpc/od/model/system/domain/CoordinateMapping.java", "file_name": "CoordinateMapping.java", "file_ext": "java", ... | https://github.com/sacahan/opendata | 222 | FILENAME: CoordinateMapping.java | 0.259826 | package com.udn.ntpc.od.model.system.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
... |
27145ab5-19cd-479b-93a7-36c44f4e1736 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-24 12:38:26", "repo_name": "camelinaction/camelinaction2", "sub_path": "/chapter5/splitter/src/test/java/camelinaction/CustomerService.java", "file_name": "CustomerService.java", "file_ext": "java", "file_size... | https://github.com/camelinaction/camelinaction2 | 248 | FILENAME: CustomerService.java | 0.292595 | package camelinaction;
import java.util.ArrayList;
import java.util.List;
/**
* Customer service bean
*/
public class CustomerService {
/**
* Split the customer into a list of departments
*
* @param customer the customer
* @return the departments
*/
public List<Department> splitDep... |
e55bf2ff-0b7f-4a6d-b020-bb0b690484ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-14 22:57:37", "repo_name": "tbal/space-sweeper", "sub_path": "/src/main/java/de/dynamobeuth/spacesweeper/component/LevelComponent.java", "file_name": "LevelComponent.java", "file_ext": "java", "file_size_in_by... | https://github.com/tbal/space-sweeper | 204 | FILENAME: LevelComponent.java | 0.253861 | package de.dynamobeuth.spacesweeper.component;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;
import java.io.IOException;
/**
* Component to display the current level
*/
public class Lev... |
cf381408-33fa-4172-a316-d3ea03b66ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-21 06:26:42", "repo_name": "MonsoonJava/simpleframework", "sub_path": "/src/main/java/simple/xfj/framework/util/DEcodeUtil.java", "file_name": "DEcodeUtil.java", "file_ext": "java", "file_size_in_byte": 1147, ... | https://github.com/MonsoonJava/simpleframework | 241 | FILENAME: DEcodeUtil.java | 0.247987 | package simple.xfj.framework.util;
import com.sun.org.apache.xml.internal.utils.StringToStringTableVector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
/**
* Created by asus on 2017/4/19.
*/
public clas... |
fd55b32e-c12e-469d-8f4c-64904a43ff28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 20:55:18", "repo_name": "dplucenio/spring-security-with-jwt", "sub_path": "/src/main/java/io/plucen/springsecuritywithjwt/SpringSecurityWithJwtApplication.java", "file_name": "SpringSecurityWithJwtApplicati... | https://github.com/dplucenio/spring-security-with-jwt | 184 | FILENAME: SpringSecurityWithJwtApplication.java | 0.208179 | package io.plucen.springsecuritywithjwt;
import io.plucen.springsecuritywithjwt.users.UserService;
import javax.annotation.PostConstruct;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.... |
86dbf597-4a69-4530-973b-d8d8a86ecf24 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-10T20:27:38", "repo_name": "congdv/vim-config", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 37, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/congdv/vim-config | 329 | FILENAME: README.md | 0.240775 | The font used in the screenshot is [Haskplex Nerd](https://github.com/huytd/haskplex-font).
## Installation
There are two way to use this config:
**Option 1:** Check `init.vim` and copy just what you need.
**Option 2:** Clone the whole repo in to `~/.config/nvim/`, please make sure you don't have this folder before... |
8b640acb-b03c-4c01-9768-b41b37bc28d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 01:37:22", "repo_name": "tonels/mongoDB-", "sub_path": "/src/main/java/com/example/demo/MongoDBController.java", "file_name": "MongoDBController.java", "file_ext": "java", "file_size_in_byte": 1101, "line_c... | https://github.com/tonels/mongoDB- | 228 | FILENAME: MongoDBController.java | 0.278257 | package com.example.demo;
import java.util.Collection;
import java.util.LinkedHashSet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotatio... |
e57018c8-d6c9-40ca-94ce-99e6411badf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-23 18:27:39", "repo_name": "ben-ng/checkmate", "sub_path": "/src/com/ben/chess/pieces/Knight.java", "file_name": "Knight.java", "file_ext": "java", "file_size_in_byte": 1084, "line_count": 46, "lang": "en", "d... | https://github.com/ben-ng/checkmate | 259 | FILENAME: Knight.java | 0.272025 | package com.ben.chess.pieces;
import com.ben.chess.Player;
import com.ben.chess.boards.ChessBoard;
import com.ben.chess.boards.ChessBoardCell;
import com.ben.chess.boards.ChessBoardCellNotOccupiedException;
import com.ben.chess.pieces.behaviors.Behavior;
import com.ben.chess.pieces.behaviors.KnightBehavior;
/**
* Cr... |
c1b42e95-4ed5-40dc-a10e-ea822e3d7754 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-12 07:39:32", "repo_name": "liwei6797/yuanbao", "sub_path": "/EvaluateStrategy/src/main/com/star/strategy/EsService.java", "file_name": "EsService.java", "file_ext": "java", "file_size_in_byte": 1053, "line_co... | https://github.com/liwei6797/yuanbao | 242 | FILENAME: EsService.java | 0.294215 | package com.star.strategy;
import java.util.Date;
import org.apache.log4j.Logger;
import com.star.db.SqlDao;
public class EsService {
private static Logger LOGGER = Logger.getLogger(EsService.class);
// 导入CSV文件到H2数据库
public static void importCSV(String filePath, String tableName) {
Date t1 = ne... |
dfeae360-27db-4095-9c6d-5fee0eae107e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-15 21:20:07", "repo_name": "Andrey777-a/pet-project-hillel", "sub_path": "/src/main/java/com/example/springhillel/api/service/crudservice/convert/UserConverter.java", "file_name": "UserConverter.java", "file_e... | https://github.com/Andrey777-a/pet-project-hillel | 192 | FILENAME: UserConverter.java | 0.261331 | package com.example.springhillel.api.service.crudservice.convert;
import com.example.springhillel.model.dto.UserDTO;
import com.example.springhillel.model.entity.Role;
import com.example.springhillel.model.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype... |
45777b47-068e-433f-a1a9-f0e104aef69d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-06 12:40:21", "repo_name": "rajivgh/oktpusandroid", "sub_path": "/app/src/main/java/com/app/oktpus/activity/PostAdActivity.java", "file_name": "PostAdActivity.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/rajivgh/oktpusandroid | 197 | FILENAME: PostAdActivity.java | 0.224055 | package com.app.oktpus.activity;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.widget.FrameLayout;
import com.app.oktpus.R;
import com.app.oktpus.fr... |
2c9052b0-d21e-4e6d-8638-0d6c2cfc5bab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 20:43:49", "repo_name": "alexvingg/cashbacktest", "sub_path": "/src/main/java/com/store/cashback/entity/SaleAlbum.java", "file_name": "SaleAlbum.java", "file_ext": "java", "file_size_in_byte": 1009, "line_c... | https://github.com/alexvingg/cashbacktest | 193 | FILENAME: SaleAlbum.java | 0.282988 | package com.store.cashback.entity;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
... |
e0314c83-12bf-48f3-9722-e51f65037614 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 07:30:32", "repo_name": "colorfulfrog/springboot-dubbox", "sub_path": "/platform-system/platform-system-api/src/main/java/com/yxhl/stationbiz/system/domain/entity/sys/OperateLog.java", "file_name": "Operate... | https://github.com/colorfulfrog/springboot-dubbox | 301 | FILENAME: OperateLog.java | 0.23092 | package com.yxhl.stationbiz.system.domain.entity.sys;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.yxhl.platform.common.entity.ELItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
*
* 表名:sys_operate_log
* 注释... |
2ff3a5ac-cde7-494e-ad07-d6a7cab8bab6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-23 01:49:23", "repo_name": "hanjiongchen/xquick", "sub_path": "/rocket/admin/src/main/java/com/nb6868/xquick/modules/shop/service/impl/OrderLogServiceImpl.java", "file_name": "OrderLogServiceImpl.java", "file_... | https://github.com/hanjiongchen/xquick | 240 | FILENAME: OrderLogServiceImpl.java | 0.258326 | package com.nb6868.xquick.modules.shop.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.nb6868.xquick.booster.service.impl.CrudServiceImpl;
import com.nb6868.xquick.modules.shop.dao.OrderLogDao;
import com.nb6868.xquick.modules.shop.dto.OrderLogDTO;
import com.nb6868.xquick.... |
8b52a3f3-2d03-4463-9cfd-ee09d06fe6e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-11-18T23:32:08", "repo_name": "iamdcj/reacts", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1148, "line_count": 38, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/iamdcj/reacts | 285 | FILENAME: README.md | 0.229535 | # React
React is a [declarative](https://github.com/iamdcj/javascripts/blob/master/paradigms/README.md#declarative-programming), [component-based](components) [JavaScript](https://github.com/iamdcj/javascripts/) library used for building User Interfaces of all sizes and complexities.
React can be used to deal with on... |
1bc569c1-64de-4a8a-9d29-4a22d919eece | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-30 23:01:15", "repo_name": "samuelvazcal/SpringUdemyCourse", "sub_path": "/hibernate-exercise/src/com/samuelvazquez/UpdatePokemon.java", "file_name": "UpdatePokemon.java", "file_ext": "java", "file_size_in_byt... | https://github.com/samuelvazcal/SpringUdemyCourse | 188 | FILENAME: UpdatePokemon.java | 0.247987 | package com.samuelvazquez;
import com.samuelvazquez.entity.Pokemon;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class UpdatePokemon {
public static void main(String[] args) {
SessionFactory factory =
new Configuration().... |
6d2057eb-e644-4d92-82ce-043fd2b24741 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 18:24:26", "repo_name": "SquidDev-CC/plethora", "sub_path": "/src/main/java/org/squiddev/plethora/integration/ic2/MetaEnergyItem.java", "file_name": "MetaEnergyItem.java", "file_ext": "java", "file_size_in_... | https://github.com/SquidDev-CC/plethora | 250 | FILENAME: MetaEnergyItem.java | 0.291787 | package org.squiddev.plethora.integration.ic2;
import ic2.api.item.IElectricItemManager;
import ic2.core.IC2;
import ic2.core.ref.ItemName;
import net.minecraft.item.ItemStack;
import org.squiddev.plethora.api.Injects;
import org.squiddev.plethora.api.meta.BasicMetaProvider;
import javax.annotation.Nonnull;
import ja... |
fb8559e3-7f0e-43bf-9ed6-7b9c5347966c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 20:19:10", "repo_name": "Njabulongwenyama/restful-web-service", "sub_path": "/src/main/java/Restfulwebservices/Restfulwebservices/user/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in... | https://github.com/Njabulongwenyama/restful-web-service | 258 | FILENAME: User.java | 0.228156 | package Restfulwebservices.Restfulwebservices.user;
import javax.validation.constraints.Past;
import javax.validation.constraints.Size;
import java.util.Date;
public class User {
private Integer id;
@Size(min=2, message = "Name should have atleast two charactors")
private String name;
@Past(messag... |
e6cebcaa-929c-4287-a025-89789659a049 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 23:48:07", "repo_name": "smdb21/java-miape-api", "sub_path": "/src/main/java/org/proteored/miapeapi/cv/ms/CollisionPressure.java", "file_name": "CollisionPressure.java", "file_ext": "java", "file_size_in_by... | https://github.com/smdb21/java-miape-api | 297 | FILENAME: CollisionPressure.java | 0.287768 | package org.proteored.miapeapi.cv.ms;
import org.proteored.miapeapi.cv.Accession;
import org.proteored.miapeapi.cv.ControlVocabularyManager;
import org.proteored.miapeapi.cv.ControlVocabularySet;
import org.proteored.miapeapi.cv.ControlVocabularyTerm;
import org.proteored.miapeapi.cv.ControlVocabularyTermImpl;
public... |
8375053b-f112-41c6-8dff-5618e5f03403 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 11:47:10", "repo_name": "DEV-yeongji/taketo", "sub_path": "/project_yeongji_final/src/com/taketo/www/Command/AdminCommand/AdminLocalBoardSettingCommand.java", "file_name": "AdminLocalBoardSettingCommand.jav... | https://github.com/DEV-yeongji/taketo | 221 | FILENAME: AdminLocalBoardSettingCommand.java | 0.286169 | package com.taketo.www.Command.AdminCommand;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.taketo.www.Command.Command;
import com.taketo.www.DAO.CourseBoardDAO;
imp... |
f2c428b0-96b5-4483-980e-ac133f878083 | {"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/57/1313.java", "file_name": "1313.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count":... | https://github.com/qiuchili/ggnn_graph_classification | 352 | FILENAME: 1313.java | 0.27513 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
int i;
int j;
int n;
int t;
String tempVar = ConsoleInput.scanfRead();
if (tempVar != null)
{
n = Integer.parseInt(tempVar);
}
String w = new String(new char[MAX + 1]);
String s = new String(new char[4]);
String a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.