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 |
|---|---|---|---|---|---|---|
c78ab1ed-61f9-42b2-9410-d72f314e0145 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 08:40:28", "repo_name": "andreasdan/Ships-and-Sails", "sub_path": "/src/main/java/com/kea/shipsandsails/communication/SocketClient.java", "file_name": "SocketClient.java", "file_ext": "java", "file_size_in_... | https://github.com/andreasdan/Ships-and-Sails | 230 | FILENAME: SocketClient.java | 0.246533 | /**
* @Author Daniel Blom
* A Socket client for sending and requesting data
*/
package com.kea.shipsandsails.communication;
import java.io.*;
import java.net.Socket;
public class SocketClient implements ISocketClient {
private Socket socket;
private PrintWriter out;
private DataInputStream in;
p... |
df620a6e-e51e-4190-8466-6ddb205e5b19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-31 06:55:21", "repo_name": "dengjiaping/hn-apos", "sub_path": "/apos/ti-moible-framework/src/main/java/me/andpay/timobileframework/mvc/action/ActionTypeListener.java", "file_name": "ActionTypeListener.java", "... | https://github.com/dengjiaping/hn-apos | 221 | FILENAME: ActionTypeListener.java | 0.255344 | package me.andpay.timobileframework.mvc.action;
import com.google.inject.TypeLiteral;
import com.google.inject.spi.InjectionListener;
import com.google.inject.spi.TypeEncounter;
import com.google.inject.spi.TypeListener;
/**
* 用来监听action的存在
*
* @author tinyliu
*
*/
public class ActionTypeListener implements Ty... |
88148ad3-7d94-4e1a-b22c-e1dc4b02f073 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-22 05:09:37", "repo_name": "youzi-td/edata", "sub_path": "/src/main/java/com/ruochu/edata/read/validator/impl/SelectionValidator.java", "file_name": "SelectionValidator.java", "file_ext": "java", "file_size_in... | https://github.com/youzi-td/edata | 222 | FILENAME: SelectionValidator.java | 0.262842 | package com.ruochu.edata.read.validator.impl;
import com.ruochu.edata.constant.Constants;
import com.ruochu.edata.read.validator.IRuleValidator;
import com.ruochu.edata.xml.Rule;
import com.ruochu.edata.util.EmptyChecker;
import java.util.*;
/**
* 单选
*
* @author RanPengCheng
* @date 2019/7/14 18:06
*/
public cl... |
454b0c26-736c-469e-8af9-ef41d5524c00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-27 06:50:21", "repo_name": "nefulinda/springboot-2018", "sub_path": "/src/main/java/com/nefu/myspringboot/service/MachineService.java", "file_name": "MachineService.java", "file_ext": "java", "file_size_in_byt... | https://github.com/nefulinda/springboot-2018 | 190 | FILENAME: MachineService.java | 0.242206 | package com.nefu.myspringboot.service;
import com.nefu.myspringboot.entity.Machine;
import com.nefu.myspringboot.mapper.MachineMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.a... |
55e46ea1-5256-48be-b482-74586dc823aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-27 09:07:03", "repo_name": "wugongzhiren/clocle-release1", "sub_path": "/app/src/main/java/com/bean/Clocle_help_coment.java", "file_name": "Clocle_help_coment.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/wugongzhiren/clocle-release1 | 254 | FILENAME: Clocle_help_coment.java | 0.243642 | package com.bean;
import com.clocle.huxiang.clocle.Bmob_UserBean;
/**
* Created by Administrator on 2016/9/19.
*/
public class Clocle_help_coment {
private String coment;//评论内容
private Bmob_UserBean commentUser;//评论者
private String clocle_help_id;
public Clocle_help_coment(String coment,Bmob_Use... |
12d6c388-8d6b-4151-81b4-be29205dc16b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-08 06:26:34", "repo_name": "QianJinGuo/soul-apm", "sub_path": "/apm-collector/collector-agent-jetty/collector-agent-jetty-provider/src/main/java/com.furioussoulk.collector.agent.jetty/reader/KeyWithStringValue... | https://github.com/QianJinGuo/soul-apm | 182 | FILENAME: KeyWithStringValueJsonReader.java | 0.236516 | package com.furioussoulk.collector.agent.jetty.reader;
import com.furioussoulk.network.proto.KeyWithStringValue;
import com.google.gson.stream.JsonReader;
import java.io.IOException;
public class KeyWithStringValueJsonReader implements StreamJsonReader<KeyWithStringValue> {
private static final String KEY = "k"... |
83b1ba56-95f7-4f4b-8d9b-65be85b8cd3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-17 10:12:00", "repo_name": "gaomianyang/Graduation-project-back", "sub_path": "/src/main/java/com/example/sqltest/bean/ActIdGroupBean.java", "file_name": "ActIdGroupBean.java", "file_ext": "java", "file_size_i... | https://github.com/gaomianyang/Graduation-project-back | 277 | FILENAME: ActIdGroupBean.java | 0.281406 | package com.example.sqltest.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
* generated by Generate POJOs.groovy
* <p>Date: Tue Mar 12 11:22:34 GMT+08:00 2019.</p>
*
* @author T016
*/
@Entity
@... |
b9619703-1bae-4218-abf2-9498bdc5b5b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-21 09:09:21", "repo_name": "vikramvi/CrunchTests", "sub_path": "/src/main/java/steps/NotificationPopupSteps.java", "file_name": "NotificationPopupSteps.java", "file_ext": "java", "file_size_in_byte": 967, "lin... | https://github.com/vikramvi/CrunchTests | 194 | FILENAME: NotificationPopupSteps.java | 0.259826 | package steps;
import net.thucydides.core.annotations.Step;
import net.thucydides.core.steps.ScenarioSteps;
import pages.NotificationPopupPage;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
public class NotificationPopupSteps extends ScenarioSteps {
private Notifica... |
08116c0d-fc21-41f8-a4db-dede06930b7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-17 03:02:23", "repo_name": "JiaDingCN/vsftpdGUI", "sub_path": "/src/main/java/sample/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": 968, "line_count": 38, "lang": "e... | https://github.com/JiaDingCN/vsftpdGUI | 191 | FILENAME: Controller.java | 0.245085 | package sample;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
import javafx.scene.input.MouseEvent;
import javafx.scene.text.Text;
import javafx.stage.Stage;
public class Controller {
public String passwd = null;
... |
c0d901e0-fe19-4c3c-90d4-edd39bdc805c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-11 01:36:50", "repo_name": "igormicael/uni7-reposicao", "sub_path": "/ejb/src/main/java/br/com/im/ComprasMDB.java", "file_name": "ComprasMDB.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 3... | https://github.com/igormicael/uni7-reposicao | 235 | FILENAME: ComprasMDB.java | 0.240775 | package br.com.im;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.EJB;
import javax.ejb.MessageDriven;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.TextMessage;
@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "d... |
25e3e3be-6ae0-4cf9-ade5-e178ac764f86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-03 08:37:05", "repo_name": "accessun/LargeSort", "sub_path": "/src/io/github/accessun/largesort/model/Record.java", "file_name": "Record.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 53, "... | https://github.com/accessun/LargeSort | 227 | FILENAME: Record.java | 0.267408 | package io.github.accessun.largesort.model;
public class Record implements Comparable<Record> {
private String name;
private int age;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;... |
f4fbea0f-7a5f-493e-b484-7b95070cf597 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-01 17:41:25", "repo_name": "olegbezk/ArchitectureAndDesignPrinciples", "sub_path": "/src/main/java/com/udemy/training/service/locator/Cache.java", "file_name": "Cache.java", "file_ext": "java", "file_size_in_b... | https://github.com/olegbezk/ArchitectureAndDesignPrinciples | 169 | FILENAME: Cache.java | 0.285372 | package com.udemy.training.service.locator;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class Cache {
private List<Service> services;
public Cache() {
this.services = new ArrayList<>();
}
public Service getSer... |
9a226deb-2a56-42dd-a0c8-e5aca50793ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-06 20:55:22", "repo_name": "luiss99/CasosAcad", "sub_path": "/CasosAcad-web/src/main/java/ManagedBean/TipoRequisitoMB.java", "file_name": "TipoRequisitoMB.java", "file_ext": "java", "file_size_in_byte": 1015, ... | https://github.com/luiss99/CasosAcad | 224 | FILENAME: TipoRequisitoMB.java | 0.242206 | /*
* 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 ManagedBean;
import Entidades.TipoRequisito;
import javax.inject.Named;
import javax.enterprise.context.RequestScoped... |
a767f848-148c-448e-8c0c-02899487325b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-12 12:08:35", "repo_name": "gs-vtiwari/serenity-web-todomvc-journey", "sub_path": "/src/main/java/net/serenitybdd/demos/todos/tasks/AddATodoItem.java", "file_name": "AddATodoItem.java", "file_ext": "java", "fi... | https://github.com/gs-vtiwari/serenity-web-todomvc-journey | 231 | FILENAME: AddATodoItem.java | 0.290176 | package net.serenitybdd.demos.todos.tasks;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.Task;
import net.serenitybdd.screenplay.actions.Enter;
import net.thucydides.core.annotations.Step;
import static net.serenitybdd.demos.todos.user_interface.ToDoList.WHAT_NEEDS_TO_BE_DONE;
import stat... |
8c292e43-c704-4087-bfb0-eb03beb0a673 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-30 23:45:18", "repo_name": "DimitrisGan/eBayDIT", "sub_path": "/src/main/java/com/ted/eBayDIT/ui/model/response/ErrorMessages.java", "file_name": "ErrorMessages.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/DimitrisGan/eBayDIT | 195 | FILENAME: ErrorMessages.java | 0.214691 | package com.ted.eBayDIT.ui.model.response;
// Source: http://appsdeveloperblog.com/exception-handling-restful-web-service/
public enum ErrorMessages {
MISSING_REQUIRED_FIELD("Missing required field! Please give all the required fields"),
RECORD_ALREADY_EXISTS("Record already exists!"),
NO_RECORD_FOUND("R... |
f7a46b19-e0be-4cec-b66e-06369a69a2fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-24 19:31:53", "repo_name": "Gladislao/AndroidBasic", "sub_path": "/Lesson2/app/src/main/java/com/example/gcuzcano/lesson2/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in... | https://github.com/Gladislao/AndroidBasic | 187 | FILENAME: MainActivity.java | 0.259826 | package com.example.gcuzcano.lesson2;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
public class MainActivity extends AppCompatActivity {
private static final... |
9b56b452-39a0-4dcf-acbe-0eccb98ddfde | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-10 06:12:42", "repo_name": "Anchorer/Lib_dayi", "sub_path": "/DayiLib/src/main/java/im/dayi/app/library/media/OnPlayListener.java", "file_name": "OnPlayListener.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Anchorer/Lib_dayi | 210 | FILENAME: OnPlayListener.java | 0.226784 | package im.dayi.app.library.media;
import android.media.MediaPlayer;
/**
* 监听各种播放事件
*/
public abstract class OnPlayListener implements MediaPlayer.OnPreparedListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener {
@Override
abstract public void onPrepared(MediaPlayer mediaPlayer);
@Ov... |
849dd445-120d-4cb1-8a53-dd99ee156883 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-05 13:40:09", "repo_name": "zhushenyang/liuyjy-parent", "sub_path": "/liuyjy-api/liuyjy-api-mybatis-plus/src/main/java/com/example/controller/DataInpuController.java", "file_name": "DataInpuController.java", "... | https://github.com/zhushenyang/liuyjy-parent | 228 | FILENAME: DataInpuController.java | 0.205615 | package com.example.controller;
import com.example.service.TestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Auther: liuyjy... |
5e72b163-8c89-4b7e-a8c8-5d2f5cba29a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-18 03:07:30", "repo_name": "hanlizhihao/update-system", "sub_path": "/update-main/src/main/java/com/thinking/update/main/common/enums/AppRunningStateEnum.java", "file_name": "AppRunningStateEnum.java", "file_e... | https://github.com/hanlizhihao/update-system | 233 | FILENAME: AppRunningStateEnum.java | 0.282196 | package com.thinking.update.main.common.enums;
import com.thinking.update.main.common.exception.BDException;
/**
* @author Administrator
*/
public enum AppRunningStateEnum {
/**
* 终端运行状态0-正常,1-异常
*/
NORMAL(0, "正常"),
ABNORMAL(1, "异常");
private int value;
private String name;
App... |
da7ee9dc-251f-445b-aca1-1b58cf1ece1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-07 12:39:44", "repo_name": "singgel/RPC-SkillTree", "sub_path": "/grpc-api/src/main/java/com/hks/grpc/service/HelloRequestJava.java", "file_name": "HelloRequestJava.java", "file_ext": "java", "file_size_in_byt... | https://github.com/singgel/RPC-SkillTree | 220 | FILENAME: HelloRequestJava.java | 0.249447 | package com.hks.grpc.service;
public class HelloRequestJava {
private String name;
private int age;
private double profit_rate;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
... |
2ab17b0b-6c54-44c5-976d-0c85ba791aa7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-27 03:36:24", "repo_name": "artisan323/MyCode", "sub_path": "/TestJUC/src/com/artisan/juc/TestAtomicReference.java", "file_name": "TestAtomicReference.java", "file_ext": "java", "file_size_in_byte": 1118, "lin... | https://github.com/artisan323/MyCode | 261 | FILENAME: TestAtomicReference.java | 0.279828 | package com.artisan.juc;
import java.util.concurrent.atomic.AtomicReference;
class User{
private String name;
private int age;
public User() {
}
public User(String name, int age) {
this.name = name;
this.age = age;
}
public String getName() {
return name;
}
... |
52724a70-0bdf-4352-9de1-53b449f40c10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-15 07:44:19", "repo_name": "weizhongxin-cpu/tedu-springcloud-test", "sub_path": "/sp04-orderservice/src/main/java/cn/tedu/sp04/order/feign/ItemClientFB.java", "file_name": "ItemClientFB.java", "file_ext": "jav... | https://github.com/weizhongxin-cpu/tedu-springcloud-test | 294 | FILENAME: ItemClientFB.java | 0.264358 | package cn.tedu.sp04.order.feign;
import cn.tedu.sp01.pojo.Item;
import cn.tedu.web.util.JsonResult;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
/**
* Administrator
* 2020/12/30 - 18:42
*/
@Component
public class ItemClientFB implements ItemClient {
@Ove... |
3d1c266f-54e8-441f-984f-273cd08fcd34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-01T03:24:06", "repo_name": "helpfulengineering/project-mechanical-volunteer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1026, "line_count": 17, "lang": "en"... | https://github.com/helpfulengineering/project-mechanical-volunteer | 211 | FILENAME: README.md | 0.235108 | # Mechanical Volunteer - Crowdsourcing for Helpful Engineering
The aim of this project is to provide a crowdsourcing platform for Helpful Engineering related projects to take advantage of our large volunteer community to perform tasks that are difficult to automate. Currently our platform is built on [Pybossa](https:... |
11c2ee6f-aec7-4a05-b069-3dd0d5bd3de5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-04 15:40:48", "repo_name": "andyglick/javATE", "sub_path": "/guidate/guidate-zk/src/main/java/it/amattioli/guidate/converters/EnumConverter.java", "file_name": "EnumConverter.java", "file_ext": "java", "file_s... | https://github.com/andyglick/javATE | 232 | FILENAME: EnumConverter.java | 0.255344 | package it.amattioli.guidate.converters;
import it.amattioli.dominate.Described;
import it.amattioli.dominate.LocalDescribed;
import org.zkoss.util.Locales;
import org.zkoss.util.resource.Labels;
import org.zkoss.zk.ui.Component;
import org.zkoss.zkplus.databind.TypeConverter;
public class EnumConverter im... |
1b69f61e-15ae-4175-8bea-ef9885937ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-10-20T21:39:06", "repo_name": "adaptdk/usa-documentation", "sub_path": "/contributions/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1021, "line_count": 41, "lang": "en", "doc_t... | https://github.com/adaptdk/usa-documentation | 230 | FILENAME: README.md | 0.256832 | # Why
Our work is supported by, and it is possible thanks to a lot of base software.
Most of that infrastructure software are different pieces of open source
software projects, which in most of the cases are not directly funded in any
way.
This may lead to problems in sustainability, that will later affect us directly... |
602d5783-ca52-4a9f-9bc3-8e706821f3f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-20 01:33:54", "repo_name": "Sachin-dua/sd100", "sub_path": "/CollectionsApps/src/com/tcs/PropertiesEx.java", "file_name": "PropertiesEx.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 41, "l... | https://github.com/Sachin-dua/sd100 | 208 | FILENAME: PropertiesEx.java | 0.295027 | package com.tcs;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import java.util.SortedSet;
public class PropertiesEx
{
public static void main(... |
bedabc14-370a-4cd3-9464-5a974966d670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-15 00:21:13", "repo_name": "tcarlSwing/epics-skill-session", "sub_path": "/Treasure.java", "file_name": "Treasure.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 37, "lang": "en", "doc_type... | https://github.com/tcarlSwing/epics-skill-session | 232 | FILENAME: Treasure.java | 0.240775 | import java.util.Scanner;
public class Treasure extends GameStage implements playable
{
public Treasure()
{
super("Hooray! You found the treasure!.");
hasEscaped = true;
}
public void run()
{
super.run();
while(!hasEscaped)
{
String userIn = ... |
48b373a1-5316-43d3-a74a-e6059e15962c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-23 22:10:26", "repo_name": "bgreeneaka/ds-systems", "sub_path": "/src/java/session/comment/CommentFacade.java", "file_name": "CommentFacade.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 4... | https://github.com/bgreeneaka/ds-systems | 222 | FILENAME: CommentFacade.java | 0.29584 | /**
* Brian Greene - 11042141 Eoghan Griffin - 10091157 Bartosz Kaminiecki -
* 11060204
*/
package session.comment;
import entity.Comment;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import session.AbstractFacade;
/**
*
... |
4451c42f-b30c-498b-80f6-28591b99d4ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-04 12:42:06", "repo_name": "chnyQAQ/app-worker", "sub_path": "/src/main/java/com/dah/cem/app/sc/worker/workers/netty/ConnectionListener.java", "file_name": "ConnectionListener.java", "file_ext": "java", "file_... | https://github.com/chnyQAQ/app-worker | 195 | FILENAME: ConnectionListener.java | 0.239349 | package com.dah.cem.app.sc.worker.workers.netty;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.EventLoop;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.TimeUnit;
@Slf4j
public class ConnectionListener... |
2560b9aa-7d51-4537-b4db-19dbd5262fd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-23 02:59:05", "repo_name": "wrdx2/springbootdirdemo", "sub_path": "/src/main/java/com/wrdao/springboot/sys/vo/SysRolePermissionVo.java", "file_name": "SysRolePermissionVo.java", "file_ext": "java", "file_size_... | https://github.com/wrdx2/springbootdirdemo | 225 | FILENAME: SysRolePermissionVo.java | 0.212069 | package com.wrdao.springboot.sys.vo;
import com.wrdao.springboot.common.vo.BaseVo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "Sys_role_permission_tr")
public class SysRolePermissionVo extends BaseVo {
@Id
... |
e2e882f3-e48a-42ec-8ed2-76b3c1aca661 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-30 14:18:42", "repo_name": "ikernits/iklib", "sub_path": "/iklib-common/src/test/java/org/ikernits/lib/common/io/daemon/IoStreamSourceReadFailedImpl.java", "file_name": "IoStreamSourceReadFailedImpl.java", "fi... | https://github.com/ikernits/iklib | 197 | FILENAME: IoStreamSourceReadFailedImpl.java | 0.23092 | package org.ikernits.lib.common.io.daemon;
import org.ikernits.lib.common.io.IoStreamSource;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
public class IoStreamSourceReadFailedImpl implements IoStreamSource {
... |
5364ff2c-e9d4-4d1f-a6e2-cb4e104096b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-11 14:20:22", "repo_name": "whtome/project.code", "sub_path": "/java-chat-room/client/src/MultiClient/WriteToServerThread.java", "file_name": "WriteToServerThread.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/whtome/project.code | 178 | FILENAME: WriteToServerThread.java | 0.273574 | package MultiClient;
import java.io.IOException;
import java.io.PrintStream;
import java.net.Socket;
import java.util.Scanner;
public class WriteToServerThread extends Thread {
private final Socket client;
public WriteToServerThread(Socket client) {
this.client = client;
}
@Override
pub... |
2241ad95-33e6-4fdf-8d34-0d57e011fb7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-19T11:47:08", "repo_name": "bmurr/appengine-devserver-patches", "sub_path": "/file_watcher_patch/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 19, "lang": ... | https://github.com/bmurr/appengine-devserver-patches | 245 | FILENAME: README.md | 0.235108 | Uses watchdog (https://github.com/gorakhargosh/watchdog) to watch for file system events.
The default mtime_file_watcher was very resource intensive, causing my Macbook's fan to spin like a jet engine even when it should be idle.
Watchdog uses the native MacOS FSEvents to detect file changes, which is more efficient.
... |
c3aea218-a25b-4e35-a389-2bc5932b43a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 05:04:03", "repo_name": "kasunsk/grpc-spring-boot-starter", "sub_path": "/grpc-spring-boot-starter-demo/src/main/java/org/lognet/springboot/grpc/demo/InvoiceService.java", "file_name": "InvoiceService.java"... | https://github.com/kasunsk/grpc-spring-boot-starter | 195 | FILENAME: InvoiceService.java | 0.233706 | package org.lognet.springboot.grpc.demo;
import io.grpc.examples.InvoiceGrpc;
import io.grpc.examples.InvoiceOuterClass;
import io.grpc.stub.StreamObserver;
import org.lognet.springboot.grpc.GRpcService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@GRpcService(interceptors = LogInterceptor.class)
public ... |
5c90a3fd-305f-4e47-990b-9fec6a28f334 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-23 01:31:57", "repo_name": "hack-feng/maple", "sub_path": "/src/main/java/com/maple/demo/controller/CrawlerController.java", "file_name": "CrawlerController.java", "file_ext": "java", "file_size_in_byte": 1092... | https://github.com/hack-feng/maple | 268 | FILENAME: CrawlerController.java | 0.247987 | package com.maple.demo.controller;
import com.maple.demo.bean.MapleCrawler;
import com.maple.demo.utils.CSDNCrawlerUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import jav... |
e6feb6fd-5ebc-4f92-bfb7-891bf92b3c53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-09T20:01:50", "repo_name": "seung-hyun0/searchScore", "sub_path": "/src/com/java/self/command/upDateInfoOk.java", "file_name": "upDateInfoOk.java", "file_ext": "java", "file_size_in_byte": 1248, "line_count": ... | https://github.com/seung-hyun0/searchScore | 260 | FILENAME: upDateInfoOk.java | 0.286968 | package com.java.self.command;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.java.command.CommandAction;
import com.java.member.dao.MemberDao;
import com.java.member.dto.MemberDto;
public class upDateInfoOk implements CommandAction{
@Override
public String... |
18d2e342-d49f-4ec3-9489-875dcfd48e0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-27 13:40:14", "repo_name": "OmegaStudios/OmegaMinestom", "sub_path": "/src/main/java/net/minestom/server/network/packet/server/multiversion/v1_17/impl/V1_17TabCompletePacket.java", "file_name": "V1_17TabComple... | https://github.com/OmegaStudios/OmegaMinestom | 259 | FILENAME: V1_17TabCompletePacket.java | 0.272799 | package net.minestom.server.network.packet.server.multiversion.v1_17.impl;
import net.minestom.server.network.packet.server.ServerPacket;
import net.minestom.server.network.packet.server.multiversion.VersionedPacket;
import net.minestom.server.network.packet.server.multiversion.v1_17.V1_17ServerPacketIdentifier;
impor... |
9a1c6d2e-60e2-4b9e-9021-5b5fd7c0fcce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-21 08:35:32", "repo_name": "LA-/castlewood-server-alpha-1.1", "sub_path": "/src/com/castlewood/actor/services/network/message/out/OpenChatboxWindowMessage.java", "file_name": "OpenChatboxWindowMessage.java", "... | https://github.com/LA-/castlewood-server-alpha-1.1 | 235 | FILENAME: OpenChatboxWindowMessage.java | 0.290981 | package com.castlewood.actor.services.network.message.out;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import com.castlewood.actor.services.network.message.NetworkMessage;
/**
* This shows a window over the chatbox area.
*
* @author William Nguyen <L__A> <larevxpk@gmail.com>
*
*/
public c... |
f0b8a20e-7f05-4a5b-8506-8529aed3db0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-24 00:10:17", "repo_name": "tterrag1098/ModTweaker2", "sub_path": "/src/main/java/modtweaker/commands/EntityMappingLogger.java", "file_name": "EntityMappingLogger.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/tterrag1098/ModTweaker2 | 226 | FILENAME: EntityMappingLogger.java | 0.247987 | package modtweaker.commands;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import net.minecraft.entity.EntityList;
import vazkii.botania.api.BotaniaAPI;
import vazkii.botania.api.lexicon.LexiconCategory;
import minetweaker.MineTweakerAPI;
import minetweaker.MineTweakerImplementationAPI;
i... |
ce5e9e8b-29f6-4c01-b32f-797bc436c570 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-13T02:48:11", "repo_name": "Omac092627/Omac092627.github.io", "sub_path": "/301/threeohone.md", "file_name": "threeohone.md", "file_ext": "md", "file_size_in_byte": 1032, "line_count": 61, "lang": "en", "d... | https://github.com/Omac092627/Omac092627.github.io | 377 | FILENAME: threeohone.md | 0.220007 | # CODE 301 READING NOTES
**TABLE OF CONTENTS:**
**HOME**
[Home](../index.md)
**CLASS 201 READING NOTES**
[201 notes](../201/twoohone.html)
**CLASS 401 READING NOTES**
[401 notes](../401/fourohone.html)
**CLASS 401 Javascript READING NOTES**
[401JS notes](../401JS/fourohoneJS.html)
**301 NOTES**
[... |
d15c2f33-a110-4ef6-a9e0-410f46fb35be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 06:53:32", "repo_name": "ecjante/TwitchGames", "sub_path": "/app/src/main/java/com/enrico/twitchgames/topgames/TopGamesUiManager.java", "file_name": "TopGamesUiManager.java", "file_ext": "java", "file_size_... | https://github.com/ecjante/TwitchGames | 219 | FILENAME: TopGamesUiManager.java | 0.239349 | package com.enrico.twitchgames.topgames;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.enrico.twitchgames.R;
import com.enrico.twitchgames.di.ScreenScope;
import com.enrico.twitchgames.lifecycle.ScreenLifecycleTask;
import com.enrico.twitchgames.util.ButterknifeUtils;
import javax.in... |
e9ebd9ff-4c66-4423-bd76-e0995c69f0e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-16 08:58:16", "repo_name": "lxb89/DailyStudyDemos", "sub_path": "/app/src/main/java/angqin/myapplication/enum_study/base/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_in_... | https://github.com/lxb89/DailyStudyDemos | 234 | FILENAME: BaseFragment.java | 0.268941 | package angqin.myapplication.enum_study.base;
import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import angqin.myapplication.enum_stud... |
eda32312-a0aa-4837-bdb3-20519cf7aa46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-01 17:07:40", "repo_name": "hoangnguyen96/test-booking", "sub_path": "/src/main/java/com/spring/booking/more/FileUploader.java", "file_name": "FileUploader.java", "file_ext": "java", "file_size_in_byte": 1129,... | https://github.com/hoangnguyen96/test-booking | 197 | FILENAME: FileUploader.java | 0.272799 | package com.spring.booking.more;
import org.springframework.web.multipart.MultipartFile;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
public class FileUploader {
public static String uploadFile(MultipartFile file, String path){
try {
byte[] bytes... |
5ed80b5f-94fa-4c8f-8a0a-496bb80e8de8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-12T21:27:53", "repo_name": "tamtr89/Amazon-like-storefront", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1240, "line_count": 61, "lang": "en", "doc_type": "te... | https://github.com/tamtr89/Amazon-like-storefront | 358 | FILENAME: README.md | 0.285372 | # Amazon-like-storefront
<h3>Overview</h3>
Amazon-like storefront with the MySQL skills you learned this unit. The app will take in orders from customers and deplete stock from the store's inventory.
<br>
<br>
<hr>
### Demo:
<h1>Manager View</h1>
<img src="images/managerview.PNG" width="680px">
***Click fo... |
6bee001b-76ee-4014-8c30-9adcaaa2506f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-16 06:41:17", "repo_name": "EvgeniyBulovackiy/MyAccessDB", "sub_path": "/src/main/java/models/SignalKinds.java", "file_name": "SignalKinds.java", "file_ext": "java", "file_size_in_byte": 1244, "line_count": 68... | https://github.com/EvgeniyBulovackiy/MyAccessDB | 300 | FILENAME: SignalKinds.java | 0.290176 | package models;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Objects;
@Entity
@Table(name = "[Виды сигналов]")
public class SignalKinds {
@Id
@Column(name="Счетчик")
private String count;
@Column(name="Вид")
... |
ba935e05-437b-4b64-b47b-00544161ad37 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 02:52:21", "repo_name": "lishunyi123/books", "sub_path": "/src/main/java/com/lishunyi/books/controller/BookCategoryController.java", "file_name": "BookCategoryController.java", "file_ext": "java", "file_siz... | https://github.com/lishunyi123/books | 243 | FILENAME: BookCategoryController.java | 0.242206 | package com.lishunyi.books.controller;
import cn.hutool.core.bean.BeanUtil;
import com.lishunyi.base.http.Response;
import com.lishunyi.books.dto.BookCategoryDTO;
import com.lishunyi.books.entity.BookCategory;
import com.lishunyi.books.service.BookCategoryService;
import org.springframework.beans.factory.annotation.Au... |
55c3c8ab-3e8a-4812-942c-fa9f6249413f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 16:40:58", "repo_name": "nn12011999/To_Do", "sub_path": "/local2.0/src/main/java/com/example/demo/WebController.java", "file_name": "WebController.java", "file_ext": "java", "file_size_in_byte": 1224, "line... | https://github.com/nn12011999/To_Do | 259 | FILENAME: WebController.java | 0.267408 | package com.example.demo;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
@Controller
public class WebController {
List<Todo> todoList = new CopyOnWrit... |
5c59584c-916f-405c-a335-3781ec33a7c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/stream/examples/android.md", "file_name": "android.md", "file_ext": "md", "file_size_in_byte": 1098, "line_count": 25, "lang":... | https://github.com/cloudflare/cloudflare-docs | 286 | FILENAME: android.md | 0.216012 | ---
type: example
summary: Example of video playback on Android using ExoPlayer
tags:
- Playback
pcx_content_type: configuration
title: Android (ExoPlayer)
weight: 3
layout: example
meta:
description: View an example of video playback on Android using ExoPlayer.
---
{{<render file="_prereqs.md">}}
{{<render fil... |
66248b71-6217-41d1-9257-9e26a44761a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 08:36:44", "repo_name": "no8night/TimePickerView", "sub_path": "/app/src/main/java/com/nonight/timepickerview/activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in... | https://github.com/no8night/TimePickerView | 222 | FILENAME: MainActivity.java | 0.281406 | package com.nonight.timepickerview.activity;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import com.nonight.timepickerview.R;
import com.nonight.timepickview.entity.DateStyle;
import com.nonight.timepickview.utils.DateUtils;
import com.nonight.timepickview.view.TimePickerVie... |
e7bb484f-88ca-4dbd-af9c-605ff85d53c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-18T12:21:33", "repo_name": "42ways/the-beauty-of-git", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1210, "line_count": 24, "lang": "en", "doc_type": "text", "... | https://github.com/42ways/the-beauty-of-git | 301 | FILENAME: README.md | 0.221351 | # The beauty of git
Short presentation about the concepts and internals of git, e.g. object types, trees, content-addressable etc.
To run the presentation, it has to be served from a web server, since the shell transcripts are loaded
from seperate files via the reveal-sampler plugin (using ajax calls).
Of course you ... |
e0005268-8dae-4480-87e4-eeefb74996c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-28 09:24:24", "repo_name": "fmleing/manyThread", "sub_path": "/src/main/CyclicBarrierDemo.java", "file_name": "CyclicBarrierDemo.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 37, "lang": ... | https://github.com/fmleing/manyThread | 197 | FILENAME: CyclicBarrierDemo.java | 0.279042 | import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class CyclicBarrierDemo {
static CyclicBarrier cyclicBarrier = new CyclicBarrier(6, CyclicBarrierDemo::printDown);
public s... |
cfe7efc0-9003-41e1-b43d-659839748917 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-02 07:56:33", "repo_name": "danielcsiki/bloc-admin", "sub_path": "/util-admin/src/main/java/ro/sci/commands/validators/UserFormValidator.java", "file_name": "UserFormValidator.java", "file_ext": "java", "file_... | https://github.com/danielcsiki/bloc-admin | 241 | FILENAME: UserFormValidator.java | 0.290981 | /**
*
*/
package ro.sci.commands.validators;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import ro.sci.commands.UserForm;
/**
* @author yellow
*
*/
@Component
public class UserFormValidator implements Validator ... |
5cb06ddd-9419-4a83-9cb1-61e33e15c007 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 06:32:55", "repo_name": "Chauhan-Hemant/Campus-Recruitment-System", "sub_path": "/Campus Recruitment System/src/Desktop/View_Jobs.java", "file_name": "View_Jobs.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Chauhan-Hemant/Campus-Recruitment-System | 236 | FILENAME: View_Jobs.java | 0.289372 |
package Desktop;
public class View_Jobs {
private String company_name,job_title,job_description,job_requirement,key_responsibilities,salary_range;
private int criteria;
public View_Jobs(String Company_Name, String Job_Title, String Job_Description, String Job_Requirement, String Key_Responsibiliti... |
664b47d0-c5b3-4032-b81d-14d4f0f76e08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-24 03:10:33", "repo_name": "g1rjeevan/Programming-eclipse", "sub_path": "/hibernate_demo/src/com/om/hib/dto/PersonDTO.java", "file_name": "PersonDTO.java", "file_ext": "java", "file_size_in_byte": 984, "line_c... | https://github.com/g1rjeevan/Programming-eclipse | 234 | FILENAME: PersonDTO.java | 0.259826 | package com.om.hib.dto;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "person_table")
public class PersonDTO implements Serializable {
// pk
@Id
@Column(name = "p_id")
private int ... |
cb91347a-55de-4210-be09-88fcd14a671c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-03 16:40:07", "repo_name": "danishm026/ResumeManager", "sub_path": "/web-application/src/main/java/com/arc/controllers/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size... | https://github.com/danishm026/ResumeManager | 213 | FILENAME: LoginController.java | 0.268941 | package com.arc.controllers;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.spr... |
ea6fedfa-962a-46e1-b12f-6aecce5a978d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-11 06:09:35", "repo_name": "xha123/testForsrs", "sub_path": "/app/src/main/java/com/yaoyao/testall/app/Myapp.java", "file_name": "Myapp.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 56, "... | https://github.com/xha123/testForsrs | 284 | FILENAME: Myapp.java | 0.285372 | package com.yaoyao.testall.app;
import android.app.Application;
import android.content.Context;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Administrator on 2017/5/8.
*/
public class Myapp extends Application {
private static Map<String, Object> hashMap = null;
private static Object ... |
71f725fd-cb66-4c24-821e-ff8dcfe29f58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-19T21:00:52", "repo_name": "kellybirr/c-auth", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1223, "line_count": 14, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/kellybirr/c-auth | 268 | FILENAME: README.md | 0.272799 | # C-Auth
This is my proposed "C-Auth" API Authentication Framework
C-Auth is heavily based on the core principals of *OAuth v2* for the authentication and authorization of API call between services and micro-services in homogeneous or heterogeneous systems.
The fundamental difference is that C-Auth issues and valid... |
e33a5ca7-f646-4a76-9e5a-5fd036c59307 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 13:05:51", "repo_name": "st49617/INPIA_CV1", "sub_path": "/cv2/cv2_spring/src/main/java/cz/branda/npia/cv2/Application.java", "file_name": "Application.java", "file_ext": "java", "file_size_in_byte": 1025, ... | https://github.com/st49617/INPIA_CV1 | 191 | FILENAME: Application.java | 0.268941 | package cz.branda.npia.cv2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.List;
@Component
public class Applicati... |
a9f0884a-090c-4755-8595-c60687474c7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 10:23:43", "repo_name": "leminaselman/student-management", "sub_path": "/app/src/main/java/com/gtappdevelopers/gfgroomdatabase/StudentView.java", "file_name": "StudentView.java", "file_ext": "java", "file_s... | https://github.com/leminaselman/student-management | 200 | FILENAME: StudentView.java | 0.267408 | package com.gtappdevelopers.gfgroomdatabase;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import com.gtappdevelopers.gfgroomdatabase.StudentModal;
import com.gtappdevelopers.gfgroomdatabase.StudentRepository;
impo... |
40efadc2-6946-4b0f-a37c-41f3273aa378 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-28 03:21:25", "repo_name": "laolinmao/sale_delivery_android", "sub_path": "/base/src/main/java/com/histudio/base/http/subscribers/LoadingSubscriber.java", "file_name": "LoadingSubscriber.java", "file_ext": "ja... | https://github.com/laolinmao/sale_delivery_android | 287 | FILENAME: LoadingSubscriber.java | 0.283781 | package com.histudio.base.http.subscribers;
import io.reactivex.disposables.Disposable;
/**
* 用于在Http请求开始时,自动显示一个loadingview
* 调用者自己对请求数据进行处理
* Created by ljh on 16/3/10.
*/
public class LoadingSubscriber<T> extends BaseSubscriber<T> {
private SubscriberOnNextListener mSubscriberOnNextListener;
public ... |
bd5c11df-43ca-4898-89b8-9d6d6adefbd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 11:29:28", "repo_name": "Akesh/serverless-app", "sub_path": "/aws-core/src/main/java/com/payu/dynamo/DynamoDBClient.java", "file_name": "DynamoDBClient.java", "file_ext": "java", "file_size_in_byte": 1225, ... | https://github.com/Akesh/serverless-app | 254 | FILENAME: DynamoDBClient.java | 0.256832 | package com.payu.dynamo;
import com.amazonaws.AmazonClientException;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.DefaultAWSCredentialsProviderChain;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient;
import c... |
02c2ea0a-913d-43cd-ac5a-0b9a2586907b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-12 14:29:38", "repo_name": "cornflower10/IEPSC", "sub_path": "/app/src/main/java/cn/cornflower/com/huan/ui/activity/TestActivity.java", "file_name": "TestActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/cornflower10/IEPSC | 240 | FILENAME: TestActivity.java | 0.23231 | package cn.cornflower.com.huan.ui.activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.facebook.drawee.view.SimpleDraweeView;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import... |
f223528d-3fe7-46a5-baef-83f838799b62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-07T16:19:28", "repo_name": "PereAL7/AssemblyGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1227, "line_count": 20, "lang": "en", "doc_type": "text", "blob... | https://github.com/PereAL7/AssemblyGame | 258 | FILENAME: README.md | 0.220007 | # AssemblyGame
First of all, I'm not the only creator of this. Mateo Javier Ramón Román is the cocreator besides me.
Basically this is a game developed in Motorola 68K's assembly language as a university project.
This was an assigment to test our skills dealing with I/O operations using assembly and our hability to
ada... |
deacf108-600f-4f12-9cf5-a208d67917c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-05T14:42:11", "repo_name": "Franciskadtt/hello-django", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1095, "line_count": 35, "lang": "en", "doc_type": "text", ... | https://github.com/Franciskadtt/hello-django | 264 | FILENAME: README.md | 0.20947 | # Code Institute - To Do application
This is a solution to the a challenge from the [Code Institute](https://codeinstitute.net/) Full-Stack Module to create a basic to do application with Django.
## Overview
### Links
- [Repo](https://github.com/Franciskadtt/hello-django)
- [Live site](https://the-django-todo-app.... |
7a9d50d5-bc5d-4961-809c-314125dc8a3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-24 15:42:49", "repo_name": "QuelessQuest/US", "sub_path": "/src/main/java/com/barrypress/us/object/Deck.java", "file_name": "Deck.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 62, "lang":... | https://github.com/QuelessQuest/US | 264 | FILENAME: Deck.java | 0.268941 | package com.barrypress.us.object;
import com.barrypress.us.db.Derby;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
public class Deck {
protected Integer type;
protected List<Integer> draw;
protected List<Integer> discard;
protected Derby db... |
14414c0a-2f94-403c-8d1c-5cf7677e2b44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 16:17:53", "repo_name": "vgtstptlk/microservices-course", "sub_path": "/NedFlanders/src/main/java/RunNed.java", "file_name": "RunNed.java", "file_ext": "java", "file_size_in_byte": 1105, "line_count": 35, "... | https://github.com/vgtstptlk/microservices-course | 217 | FILENAME: RunNed.java | 0.240775 | import my.experiments.services.MyPetSOAPService;
import my.experiments.services.MyPetSOAPServiceService;
public class RunNed {
public static void main(String[] args) throws InterruptedException {
MyPetSOAPServiceService ms = new MyPetSOAPServiceService();
MyPetSOAPService client = ms.getMyPetSO... |
860f8a86-4ed9-4e95-8e02-3b7017686792 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-30 17:04:12", "repo_name": "kenzhaoyihui/javase_L", "sub_path": "/springboot_demo/src/main/java/springboot_jpa/service/Impl/AccountServiceImpl.java", "file_name": "AccountServiceImpl.java", "file_ext": "java",... | https://github.com/kenzhaoyihui/javase_L | 221 | FILENAME: AccountServiceImpl.java | 0.282988 | package springboot_jpa.service.Impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import springboot_jpa.dao.AccountDao;
import springboot_jpa.entity.Account;
import springboot_jpa.service.AccountService;
import java.util.List;
@Service
public class Acc... |
8c1ba7a8-b01d-4f73-891c-1ff7dec259fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 16:10:27", "repo_name": "itcolombia/gws-integraciones", "sub_path": "/gws-solicitudes-salidas-dto/src/main/java/com/gws/integraciones/solicitudes/salidas/dto/SolicitudLineaDto.java", "file_name": "Solicitud... | https://github.com/itcolombia/gws-integraciones | 285 | FILENAME: SolicitudLineaDto.java | 0.262842 | package com.gws.integraciones.solicitudes.salidas.dto;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gws.integraciones.core.dto.EntityDto;
import lombok.AllArgsConstructor;
import lom... |
5f1b27d3-7be2-4c07-b35b-09f4bee3e47d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-16T21:31:00", "repo_name": "arunkumar198857/JavaFX_Practice", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1129, "line_count": 36, "lang": "en", "doc_type": "t... | https://github.com/arunkumar198857/JavaFX_Practice | 284 | FILENAME: README.md | 0.267408 | # JavaFX_Practice
In this repository, I have uploaded the final contents of the project. This is a practice project in which i implemented all the
JavaFX topics as i learnt them. The java version used in this project is Java 12.0.1.
Along with this i have also made a sample Login Class which fetches the user input and... |
4bcfc398-3af9-4ddd-8417-c4bd765a65b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 22:11:24", "repo_name": "cano112/neo4jlab", "sub_path": "/src/main/java/pl/edu/agh/wiet/neo4jlab/model/results/CompanyRelationshipAggregate.java", "file_name": "CompanyRelationshipAggregate.java", "file_ext... | https://github.com/cano112/neo4jlab | 212 | FILENAME: CompanyRelationshipAggregate.java | 0.262842 | package pl.edu.agh.wiet.neo4jlab.model.results;
import pl.edu.agh.wiet.neo4jlab.model.relationships.CustomerRelationship;
import pl.edu.agh.wiet.neo4jlab.model.relationships.StockItemRelationship;
import pl.edu.agh.wiet.neo4jlab.model.relationships.WorkerRelationship;
import java.util.List;
public class CompanyRelat... |
f2069c8f-127c-4aca-a914-82dec2c1cb27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-24 11:45:20", "repo_name": "851822132/starter-test", "sub_path": "/jdbc-starter/src/main/java/com/ysh/jdbcstarter/JdbcAutoConfigrution.java", "file_name": "JdbcAutoConfigrution.java", "file_ext": "java", "file... | https://github.com/851822132/starter-test | 223 | FILENAME: JdbcAutoConfigrution.java | 0.217338 | package com.ysh.jdbcstarter;
import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.con... |
ec8307e5-95e5-4b26-acef-98a900a35121 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-10 18:01:57", "repo_name": "gamb77/am-store", "sub_path": "/am-application/src/main/java/org/hopto/gamb/components/AMMainWindow.java", "file_name": "AMMainWindow.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/gamb77/am-store | 214 | FILENAME: AMMainWindow.java | 0.271252 | package org.hopto.gamb.components;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
import org.hopto.gamb.AMUIApplication;
/**
* Main window over the application
*
* @author jani
*/
public class AMMainWindow extends Window {
private AMTitleComponent title;
private AMMainComponent main;
... |
ad115cd1-3ce4-4f8e-93f2-a12ea07d348d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-12 14:36:17", "repo_name": "lujian0571/weixin-java-tools", "sub_path": "/weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/WxMpXmlOutPayCallback.java", "file_name": "WxMpXmlOutPayCallback.java", "file_ext... | https://github.com/lujian0571/weixin-java-tools | 261 | FILENAME: WxMpXmlOutPayCallback.java | 0.242206 | package me.chanjar.weixin.mp.bean;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
/**
* @au... |
0013eb98-79b4-4f91-9dd6-da3e8dce1c67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 02:16:41", "repo_name": "jaypanchal07/Project-Brain", "sub_path": "/jay panchal(Project Brain)/app/src/main/java/com/example/instaappandroidprojectprojectbrain/Model/Profile1.java", "file_name": "Profile1.j... | https://github.com/jaypanchal07/Project-Brain | 213 | FILENAME: Profile1.java | 0.217338 | package com.example.instaappandroidprojectprojectbrain.Model;
import java.util.ArrayList;
public class Profile1 {
private String email;
private String username;
private String name;
private ArrayList<String> Following;
public Profile1(){
}
public Profile1(String email, String userna... |
1544e9af-a450-40ba-84cd-62bbf34e22d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-26 01:08:50", "repo_name": "vinohsueh/i9-defence-parent", "sub_path": "/i9-defence-parent/i9-defence-microservice-observer/src/main/java/i9/defence/platform/microservice/observer/pool/ActiveMQConsumerTask.java... | https://github.com/vinohsueh/i9-defence-parent | 214 | FILENAME: ActiveMQConsumerTask.java | 0.261331 | package i9.defence.platform.microservice.observer.pool;
import i9.defence.platform.microservice.observer.util.SpringBeanService;
import i9.defence.platform.service.UpStreamOriginService;
import java.util.TimerTask;
import javax.jms.TextMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
p... |
e78ae35b-d53e-4afa-859f-97eddd4ca6cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-28 03:40:57", "repo_name": "Nuttapus/nongcharon", "sub_path": "/app/src/main/java/com/example/taochiz/sharelo/SelectActivity.java", "file_name": "SelectActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Nuttapus/nongcharon | 179 | FILENAME: SelectActivity.java | 0.206894 | package com.example.taochiz.sharelo;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class SelectActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstance... |
527e798f-6309-48ac-a29c-2d2aa2b99222 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-28 20:44:07", "repo_name": "hs750/JavaPublishSubscribe", "sub_path": "/src/main/java/com/github/hs750/pubsub/SubscriptionManager.java", "file_name": "SubscriptionManager.java", "file_ext": "java", "file_size_i... | https://github.com/hs750/JavaPublishSubscribe | 257 | FILENAME: SubscriptionManager.java | 0.282988 | package com.github.hs750.pubsub;
import java.util.HashSet;
import java.util.Set;
/**
* Manages the {@link Subscriber}s of a particular type.
*
* @param <T> The type of data being subscribed to by managed {@link Subscriber}s.
*/
final class SubscriptionManager<T> {
private Set<Subscriber<T>> subscribers = new H... |
0da8ae43-15dd-429e-bd93-952a3ca1bab3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 06:29:32", "repo_name": "Zhangqingling1/GreenDao", "sub_path": "/app/src/main/java/com/aqinga/greendao/GreenDaoManger.java", "file_name": "GreenDaoManger.java", "file_ext": "java", "file_size_in_byte": 1145... | https://github.com/Zhangqingling1/GreenDao | 283 | FILENAME: GreenDaoManger.java | 0.282196 | package com.aqinga.greendao;
import com.aqinga.greendaodemo.greendao.gen.DaoMaster;
import com.aqinga.greendaodemo.greendao.gen.DaoSession;
/**
* Created by
* 张庆龄
* 1506A
* Administrator
* 2017/10/1311:21
*/
public class GreenDaoManger {
private static GreenDaoManger mInstance;
private static GreenDao... |
42267caa-6cb2-4dfb-9483-13605ce77869 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-22 13:24:39", "repo_name": "fanlingzhi1234/Xingyi-Tech", "sub_path": "/workplace/spring-mvc-demo/src/main/java/com/example/springmvcdemo/Message.java", "file_name": "Message.java", "file_ext": "java", "file_si... | https://github.com/fanlingzhi1234/Xingyi-Tech | 242 | FILENAME: Message.java | 0.23231 | package com.example.springmvcdemo;
import java.util.ArrayList;
import java.util.List;
public class Message {
private String content;
private String sender;
private List<String> receiver;
public Message(){
}
public Message(String content, String sender, List<String> receiver) {
this.... |
c98c3bd2-45b9-49ed-a290-2c6cb030f8b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-15 19:32:32", "repo_name": "google-code/basic-web-layouts", "sub_path": "/JPE/WEB-INF/src/com/joelaws/prototype/client/meeting/ActionInfo.java", "file_name": "ActionInfo.java", "file_ext": "java", "file_size_i... | https://github.com/google-code/basic-web-layouts | 228 | FILENAME: ActionInfo.java | 0.252384 | package com.joelaws.prototype.client.meeting;
import java.io.Serializable;
public class ActionInfo implements Serializable {
private static final long serialVersionUID = 1L;
private String question;
private String[] choices;
private MeetingType type;
public ActionInfo() {
}
public ActionInfo(String ques... |
ad61192b-e0c9-427e-b368-118a849b7ae8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 20:40:19", "repo_name": "danirg15/javascript-text-processor", "sub_path": "/src/clases/sintacticAnalizer/TerminalSymbol.java", "file_name": "TerminalSymbol.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/danirg15/javascript-text-processor | 232 | FILENAME: TerminalSymbol.java | 0.295027 | package sintacticAnalizer;
import lexicalAnalizer.Token;
import semanticAnalizer.Attribute;
public class TerminalSymbol implements GrammaticalSymbol {
private Token token;
private Attribute attribute;
public TerminalSymbol(Token token){
this.token = token;
this.attribute = new Attribute();
}
public Token... |
4d425688-9274-4a5f-86ea-01b196915689 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-06 06:40:34", "repo_name": "zdb17173/vertx", "sub_path": "/core/src/main/java/org/fran/vertx/core/streams/StreamsServerTest.java", "file_name": "StreamsServerTest.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/zdb17173/vertx | 234 | FILENAME: StreamsServerTest.java | 0.256832 | package org.fran.vertx.core.streams;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
import io.vertx.core.net.NetServer;
import io.vertx.core.net.NetServerOptions;
/**
* Created by fran on 2017/10/6.
*/
public class StreamsServerTest extends AbstractVerticle{
pub... |
1a40950c-c46e-4751-b5ef-676d9a4909fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-04 09:46:47", "repo_name": "bookwed/yuegou", "sub_path": "/yuegou-util/src/main/java/com/wei/util/upload/UploadDto.java", "file_name": "UploadDto.java", "file_ext": "java", "file_size_in_byte": 1267, "line_cou... | https://github.com/bookwed/yuegou | 290 | FILENAME: UploadDto.java | 0.233706 | package com.wei.util.upload;
;
/**
* Description
* Author ed
* Created 2017-08-03 14:10
*/
public class UploadDto {
/**
* 文件大小
*/
private Long fileSize;
/**
* 真实文件名
*/
private String fileName;
/**
* 随机文件名
*/
private String uuidName;
/**
* 文件路径
... |
0bc5f037-2564-42a3-be60-5f0f0f6264fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-18 12:45:20", "repo_name": "A5H73Y/Carz", "sub_path": "/src/main/java/io/github/a5h73y/carz/utility/PlayerUtils.java", "file_name": "PlayerUtils.java", "file_ext": "java", "file_size_in_byte": 1128, "line_coun... | https://github.com/A5H73Y/Carz | 270 | FILENAME: PlayerUtils.java | 0.282988 | package io.github.a5h73y.carz.utility;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
/**
* Player related utility methods.
*/
public class PlayerUtils {
/**
* Get the Material in the player's hand.
*
* @param player target player
* @return {@link Mater... |
05bb0c66-53dd-4c13-8383-226ea335e805 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 16:05:31", "repo_name": "marinjurisich/CovidPortal", "sub_path": "/src/main/java/ekrani/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 43, "lang": "en", "... | https://github.com/marinjurisich/CovidPortal | 216 | FILENAME: Main.java | 0.250913 | package main.java.ekrani;
import hr.java.covidportal.model.Simptom;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
* Main klasa JavaFX-a
*/
public class Main extends Application {
private ... |
5ec95e80-6d10-44c4-9beb-ca1cf1969618 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-02 21:05:03", "repo_name": "jashangunike/Selenium-with-Java-basic", "sub_path": "/SeleniumJava/src/SeleniumTutorial/parentChild.java", "file_name": "parentChild.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/jashangunike/Selenium-with-Java-basic | 207 | FILENAME: parentChild.java | 0.243642 | package SeleniumTutorial;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.util.Iterator;
import java.util.Set;
public class parentChild {
public static void main(String[] args) {
... |
f854e117-4789-4c80-b904-2a404327104a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-17 02:46:44", "repo_name": "ThalliumDZN/StardewValley-1.16.5", "sub_path": "/src/main/java/com/thallium/sdvm/blocks/selling_block/SellingBlockGui.java", "file_name": "SellingBlockGui.java", "file_ext": "java",... | https://github.com/ThalliumDZN/StardewValley-1.16.5 | 248 | FILENAME: SellingBlockGui.java | 0.294215 | package com.thallium.sdvm.blocks.selling_block;
import com.thallium.sdvm.registry.ModScreens;
import io.github.cottonmc.cotton.gui.SyncedGuiDescription;
import io.github.cottonmc.cotton.gui.widget.WGridPanel;
import io.github.cottonmc.cotton.gui.widget.WItemSlot;
import net.minecraft.entity.player.PlayerEntity;
... |
1b8ed55b-fade-475e-90a6-61105893b38b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-13T15:23:47", "repo_name": "ampize/docs", "sub_path": "/content/docs/components/jwplayer.md", "file_name": "jwplayer.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 34, "lang": "en", "doc_t... | https://github.com/ampize/docs | 316 | FILENAME: jwplayer.md | 0.23092 | ---
$title@: JW Player
$category: Media
$order: 345
components:
- jwplayer
isDraft: 0
$date: 2014-03-17
$dates:
published: 2014-03-17
description: >
Displays a cloud-hosted JW Player.
href: /docs/components/jwplayer
---
<p>The JW Player component displays a cloud-hosted JW Player.</p>
<amp-jwplayer data-playlis... |
64a708d7-c3c3-4fa1-b60a-13495e94b62b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-08-05 10:05:45", "repo_name": "ChenYiXiao/CEClient", "sub_path": "/CEClient/src/cewedo/others/Global.java", "file_name": "Global.java", "file_ext": "java", "file_size_in_byte": 1242, "line_count": 53, "lang": "en... | https://github.com/ChenYiXiao/CEClient | 294 | FILENAME: Global.java | 0.293404 | package cewedo.others;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
/**全局变量类,该类存放一些全局变量
* @author CYX
*
*/
public class Global {
private static String mSkinName="";
private static String mSkinPackageName="" ;
private static List<Activity> mCurrentAcitivities=ne... |
5ad793fd-6c5a-4384-8ee6-6865107eaf7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-17 13:49:57", "repo_name": "bndly/bndly-commons", "sub_path": "/html/src/main/java/org/bndly/common/html/Tag.java", "file_name": "Tag.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 49, "la... | https://github.com/bndly/bndly-commons | 296 | FILENAME: Tag.java | 0.285372 | package org.bndly.common.html;
/*-
* #%L
* HTML
* %%
* Copyright (C) 2013 - 2020 Cybercon GmbH
* %%
* 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/li... |
27ab63a8-7aad-4b4a-8f07-5559eebacfac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-19 16:27:44", "repo_name": "Archer6621/TestPlugin", "sub_path": "/src/main/java/com/aquanova_mp/Homes/NameID.java", "file_name": "NameID.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 54, ... | https://github.com/Archer6621/TestPlugin | 244 | FILENAME: NameID.java | 0.261331 | package com.aquanova_mp.Homes;
import org.bukkit.entity.Player;
import java.util.Objects;
/**
* Created by Archer on 30-Mar-16.
*/
public class NameID {
private String name;
private String id;
public NameID(String name, String id){
this.name = name;
this.id = id;
}
public Name... |
48ca6036-630e-4e3f-b2a3-1774ca46e88a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-05-17 14:23:55", "repo_name": "ngothachlam/devlead-tool", "sub_path": "/src/com/jonas/agile/devleadtool/gui/component/table/editor/CheckBoxTableCellEditor.java", "file_name": "CheckBoxTableCellEditor.java", "file... | https://github.com/ngothachlam/devlead-tool | 244 | FILENAME: CheckBoxTableCellEditor.java | 0.289372 | package com.jonas.agile.devleadtool.gui.component.table.editor;
import java.awt.Component;
import javax.swing.DefaultCellEditor;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import org.apache.log4j.Logger;
import com.jonas.common.loggin... |
cbd30f47-8bf7-4286-b93a-7f771f26acd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-20 17:30:06", "repo_name": "LukeKan/middleware-akka", "sub_path": "/src/main/java/com/polimi/mailing_network/client/ClientActor.java", "file_name": "ClientActor.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/LukeKan/middleware-akka | 250 | FILENAME: ClientActor.java | 0.267408 | package com.polimi.mailing_network.client;
import akka.actor.AbstractActor;
import akka.actor.ActorSelection;
import akka.actor.Props;
import com.polimi.mailing.GetMessage;
import com.polimi.mailing.PutMessage;
import com.polimi.mailing_network.DefaultMessage;
import com.polimi.mailing_network.ServerMessage;
import j... |
c3892139-c78d-4902-84bd-cfc3e8606497 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-02 08:38:43", "repo_name": "bodii/test-code", "sub_path": "/java/java_core_technology_first_volume/chapter12/dialog/DialogFrame.java", "file_name": "DialogFrame.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/bodii/test-code | 220 | FILENAME: DialogFrame.java | 0.290176 | package dialog;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
/**
* A frame with a menu whose File->Abot action show a dialog.
*/
public class DialogFrame extends JFrame {
private static final int DEFAULT_WIDTH = 300;
private static final int... |
92fd8c85-5f82-4c2c-ad05-6971c080d1fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 08:14:31", "repo_name": "Catfeeds/myWorkspace", "sub_path": "/hljcommonlibrary/src/main/java/com/hunliji/hljcommonlibrary/models/realm/PostAnswerBody.java", "file_name": "PostAnswerBody.java", "file_ext": "... | https://github.com/Catfeeds/myWorkspace | 246 | FILENAME: PostAnswerBody.java | 0.242206 | package com.hunliji.hljcommonlibrary.models.realm;
import com.google.gson.annotations.SerializedName;
import io.realm.RealmObject;
import io.realm.annotations.RealmClass;
/**
* Created by Suncloud on 2016/8/31.
*/
@RealmClass
public class PostAnswerBody extends RealmObject {
@SerializedName("answer_id")
p... |
7982b2a2-b1b7-4c5c-a6aa-406c730eeeb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-26 19:18:22", "repo_name": "michael-sandy-walker/walker_productions2", "sub_path": "/HabitabberV2/src/result/SourceElement.java", "file_name": "SourceElement.java", "file_ext": "java", "file_size_in_byte": 122... | https://github.com/michael-sandy-walker/walker_productions2 | 314 | FILENAME: SourceElement.java | 0.278257 | package result;
import java.util.LinkedHashMap;
import java.util.Map;
public class SourceElement {
private String url;
private String title;
private String alt;
private Map<String, String> otherAttributes = new LinkedHashMap<>();
public SourceElement() {
}
public SourceElement(String url, String title... |
d4df1818-a21d-449d-9cc8-2be5384f1e22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-23 06:28:36", "repo_name": "timea12345/AnimalAdoption", "sub_path": "/src/main/java/com/sda/animal_adoption/service/DonationService.java", "file_name": "DonationService.java", "file_ext": "java", "file_size_in... | https://github.com/timea12345/AnimalAdoption | 194 | FILENAME: DonationService.java | 0.253861 | package com.sda.animal_adoption.service;
import com.sda.animal_adoption.dao.donation.DonationRepository;
import com.sda.animal_adoption.model.Contract;
import com.sda.animal_adoption.model.Donation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ja... |
8d9308fe-744a-4c6b-9950-a4e11023feb5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 07:00:55", "repo_name": "stefashkaa/MusicShop", "sub_path": "/src/main/java/music_shop/dao/DAO.java", "file_name": "DAO.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 39, "lang": "en", ... | https://github.com/stefashkaa/MusicShop | 197 | FILENAME: DAO.java | 0.239349 | package music_shop.dao;
import java.sql.Connection;
import java.util.Properties;
public abstract class DAO {
protected String driver = null;
protected String url = null;
protected Properties properties = null;
public DAO(String driver) {
this.driver = driver;
}
protected void registe... |
eb2250cf-2312-440b-8df6-5aa1d22e8b9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-11 13:41:55", "repo_name": "lw9391/blockchain_repo", "sub_path": "/src/main/java/blockchain/serialization/TransactionSerializer.java", "file_name": "TransactionSerializer.java", "file_ext": "java", "file_size_... | https://github.com/lw9391/blockchain_repo | 200 | FILENAME: TransactionSerializer.java | 0.255344 | package blockchain.serialization;
import blockchain.core.SignedTransaction;
import blockchain.encryption.EncryptionUtils;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import java.lang.reflect.Type;
publi... |
7b924776-0579-4b7d-bb03-966ae210bec2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-23 20:16:42", "repo_name": "Bobberclobber/old-repos", "sub_path": "/dungeons-v2/src/character_actions/ShootAction.java", "file_name": "ShootAction.java", "file_ext": "java", "file_size_in_byte": 1040, "line_co... | https://github.com/Bobberclobber/old-repos | 261 | FILENAME: ShootAction.java | 0.264358 | package se.liu.ida.josfa969.dungeonsv2.character_actions;
import se.liu.ida.josfa969.dungeonsv2.dungeon_interfaces.CharacterAction;
import se.liu.ida.josfa969.dungeonsv2.dungeon_objects.PlayerCharacter;
import se.liu.ida.josfa969.dungeonsv2.enums.Direction;
import se.liu.ida.josfa969.dungeonsv2.help_classes.Constants;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.