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 |
|---|---|---|---|---|---|---|
b7b492fa-9b0f-4b46-8f89-11cd5fb8167f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 08:28:28", "repo_name": "gitzzp/ECode", "sub_path": "/baselib/src/main/java/com/gitzzp/ecode/baselib/utils/DialogUtil.java", "file_name": "DialogUtil.java", "file_ext": "java", "file_size_in_byte": 1059, "l... | https://github.com/gitzzp/ECode | 218 | FILENAME: DialogUtil.java | 0.239349 | package com.gitzzp.ecode.baselib.utils;
import android.app.ProgressDialog;
import android.content.Context;
import com.gitzzp.ecode.baselib.R;
import com.gitzzp.ecode.baselib.view.LoadingDialog;
/**
* 创建人:gitzzp
* 创建日期:17/3/29 12:13
* 类描述:
*/
public class DialogUtil {
private static ProgressDialog loadingDia... |
d31f2d53-334d-48d1-ac88-545f6f40f1da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-05 15:31:36", "repo_name": "stal111/Forbidden-Arcanus", "sub_path": "/src/main/java/com/stal111/forbidden_arcanus/client/renderer/entity/BoomArrowRenderer.java", "file_name": "BoomArrowRenderer.java", "file_ex... | https://github.com/stal111/Forbidden-Arcanus | 241 | FILENAME: BoomArrowRenderer.java | 0.261331 | package com.stal111.forbidden_arcanus.client.renderer.entity;
import com.stal111.forbidden_arcanus.ForbiddenArcanus;
import com.stal111.forbidden_arcanus.common.entity.projectile.BoomArrow;
import net.minecraft.client.renderer.entity.ArrowRenderer;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
im... |
64a25eae-e514-484d-97e9-f3277d11431d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-20 21:18:52", "repo_name": "Kainazar/java-programming", "sub_path": "/src/practice_my_self/LoopPractice.java", "file_name": "LoopPractice.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 34,... | https://github.com/Kainazar/java-programming | 211 | FILENAME: LoopPractice.java | 0.249447 | package practice_my_self;
//import java.util.Scanner;
public class LoopPractice {
public static void main(String[] args) {
// String name = "sam smith";
// System.out.println("Enter the name:");
// System.out.println(name);
// System.out.println();
// System.out.print(name.toU... |
fe19469c-35ac-429f-96ce-0b44c091c3d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-21 22:02:32", "repo_name": "JeremyFSMoreau/AndroidESGI", "sub_path": "/app/src/main/java/com/team/esgi/projet_esgi/models/Series/Links.java", "file_name": "Links.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/JeremyFSMoreau/AndroidESGI | 210 | FILENAME: Links.java | 0.191933 | package com.team.esgi.projet_esgi.models.Series;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Links {
@SerializedName("first")
@Expose
private Integer first;
@SerializedName("last")
@Expose
private Integer last;
@SerializedName... |
18dca546-e814-4936-abb6-471d6b7437c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-14 07:09:26", "repo_name": "Hyq0823/GpsDemo", "sub_path": "/GpsDemo/src/main/java/com/spzh/controller/PdfController.java", "file_name": "PdfController.java", "file_ext": "java", "file_size_in_byte": 995, "line... | https://github.com/Hyq0823/GpsDemo | 196 | FILENAME: PdfController.java | 0.2227 | package com.spzh.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;
@Controller
@RequestMapping("pdf")
public class PdfController {
@RequestMapping("/par... |
edbcdb16-c4ce-41e5-80a2-09447040621c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-16 15:39:15", "repo_name": "ThierryAcc/Jumper_Java", "sub_path": "/src/inheritance2/Dog.java", "file_name": "Dog.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 59, "lang": "en", "doc_type"... | https://github.com/ThierryAcc/Jumper_Java | 302 | FILENAME: Dog.java | 0.295027 | package inheritance2;
import inheritance.Animal;
public class Dog extends Animal { // DRY = DON'T REPEAT YOURSELF
public Dog() {
this("Hundy", 22);
}
public Dog(String name, int age) {
super(name, age);
}
@Override
public void giveLoud() {
System.out.println("WUFF");
}
@Override
public void only... |
8791f7c1-6880-4298-9a04-79e6d175d98c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-13 08:38:00", "repo_name": "chlbeyond/smartPos", "sub_path": "/smartpos/smartPOS/src/main/java/com/rainbow/smartpos/gson/DateTimeDeserializer.java", "file_name": "DateTimeDeserializer.java", "file_ext": "java"... | https://github.com/chlbeyond/smartPos | 217 | FILENAME: DateTimeDeserializer.java | 0.264358 | package com.rainbow.smartpos.gson;
import java.lang.reflect.Type;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseE... |
e7e3da45-e398-4050-b371-063390e87c81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 07:14:50", "repo_name": "mirai2333/Java-Mall_SSM-Distribute", "sub_path": "/taotao-rest/src/main/java/com/taotao/rest/controller/ContentController.java", "file_name": "ContentController.java", "file_ext": "... | https://github.com/mirai2333/Java-Mall_SSM-Distribute | 219 | FILENAME: ContentController.java | 0.250913 | package com.taotao.rest.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.anno... |
1a623553-408a-40c9-9808-59fa1b8da64c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-21 20:06:02", "repo_name": "rezastallone/clean-news-app", "sub_path": "/domain/src/main/java/com/rsa/cleannewsapp/core/domain/usecase/DeleteBookmarkedNews.java", "file_name": "DeleteBookmarkedNews.java", "file... | https://github.com/rezastallone/clean-news-app | 187 | FILENAME: DeleteBookmarkedNews.java | 0.256832 | package com.rsa.cleannewsapp.core.domain.usecase;
import com.rsa.cleannewsapp.core.domain.entity.Article;
import com.rsa.cleannewsapp.core.domain.repository.NewsArticleRepository;
import java.util.concurrent.Callable;
import javax.inject.Inject;
import javax.inject.Named;
import io.reactivex.Observable;
import io.r... |
fd605360-8aae-4006-bfeb-233d31689253 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-19 00:24:21", "repo_name": "dinaurazalina460/jd-spring", "sub_path": "/Spring-05-JavaAnnotations-Autowired/src/main/java/com/cybertek/services/Java.java", "file_name": "Java.java", "file_ext": "java", "file_si... | https://github.com/dinaurazalina460/jd-spring | 203 | FILENAME: Java.java | 0.282196 | package com.cybertek.services;
import com.cybertek.interfaces.Course;
import com.cybertek.interfaces.ExtraSessions;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class Java implements Course {
@Au... |
24389aa6-7223-4430-b7dc-9a376b5acbca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-11 16:56:27", "repo_name": "Mohamad-Altahan/antlrTest", "sub_path": "/src/Java/AST/JavaStmt/Call_Json_Var.java", "file_name": "Call_Json_Var.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 4... | https://github.com/Mohamad-Altahan/antlrTest | 226 | FILENAME: Call_Json_Var.java | 0.282196 | package Java.AST.JavaStmt;
import Java.AST.Node;
import Java.AST.Visitor.ASTVisitor;
import java.util.ArrayList;
import java.util.List;
public class Call_Json_Var extends Node {
public List<String> key = new ArrayList<String>();
private String jsonName ;
public String getJsonName() {
return js... |
955c2342-0f43-4ac3-a5af-77fa20261e53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-18 20:46:56", "repo_name": "sri420/spring-mvc-sample", "sub_path": "/DBProject/src/com/sri/QueryParam.java", "file_name": "QueryParam.java", "file_ext": "java", "file_size_in_byte": 1061, "line_count": 43, "la... | https://github.com/sri420/spring-mvc-sample | 238 | FILENAME: QueryParam.java | 0.268941 | package com.sri;
public class QueryParam {
public QueryParam(String paramType,String paramValue) {
this.paramType=paramType;
this.paramValue=paramValue;
}
public QueryParam(int paramPosition,String paramName,String paramType,String paramValue) {
this.paramPosition=paramPosition;
this.paramName=para... |
d7753e90-0e14-4782-af01-a7e28ab4b296 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-16 17:31:12", "repo_name": "Calvinjmin/Personal_Projects", "sub_path": "/JSON + GSON Demo/Movie.java", "file_name": "Movie.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count": 49, "lang": "en", ... | https://github.com/Calvinjmin/Personal_Projects | 272 | FILENAME: Movie.java | 0.290981 | import java.util.Arrays;
public class Movie {
private String title;
private int year;
private String [] cast;
private String [] genres;
public Movie ( String title, int year, String [] cast, String [] genres) {
this.title = title;
this.year = year;
this.cast = cast;
this.genres = genres;
}
public ... |
a33f7200-7049-4a7c-9d0d-7f97b35c6d32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-25T15:18:50", "repo_name": "JamesKyburz/create-files", "sub_path": "/readme.markdown", "file_name": "readme.markdown", "file_ext": "markdown", "file_size_in_byte": 1050, "line_count": 50, "lang": "en", "do... | https://github.com/JamesKyburz/create-files | 320 | FILENAME: readme.markdown | 0.276691 | # create-files
[](https://greenkeeper.io/)
create-files
I find myself adding the same files to most projects
eg
* LICENSE
* .gitignore
* package.json
for package.json I use [pkginit](http://npm.im/pkginit) but wanted a
solution for th... |
bd7721dc-aefb-43a0-9c16-6a4a3acde167 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-10 17:24:36", "repo_name": "AjibolaOlayemi/LeaderboardProj", "sub_path": "/app/src/main/java/com/example/leaderboard/SubmitActivity.java", "file_name": "SubmitActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/AjibolaOlayemi/LeaderboardProj | 160 | FILENAME: SubmitActivity.java | 0.200558 | package com.example.leaderboard;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
public class SubmitActivity extends AppCompatActivity {
private Toolbar toolbar2;
@Override
protected void onCreate(Bundle saved... |
eacacafa-d559-4b26-b5ef-213e44f6865f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-06 01:14:14", "repo_name": "HalcyonDays11/DiscordRPBot", "sub_path": "/src/main/java/com/dreaminsteam/rpbot/web/util/ViewUtil.java", "file_name": "ViewUtil.java", "file_ext": "java", "file_size_in_byte": 1000,... | https://github.com/HalcyonDays11/DiscordRPBot | 186 | FILENAME: ViewUtil.java | 0.247987 | package com.dreaminsteam.rpbot.web.util;
import java.util.Map;
import org.apache.velocity.app.VelocityEngine;
import spark.ModelAndView;
import spark.Request;
import spark.template.velocity.VelocityTemplateEngine;
public class ViewUtil {
public static String render(Request request, Map<String, Object> model, Stri... |
51d3182b-b4dd-4f5e-8cf3-b31162a64aeb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-09 19:53:28", "repo_name": "luisfon/Android", "sub_path": "/componentesBasicos/CheckRadio/app/src/main/java/com/example/acer/checkradio/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java",... | https://github.com/luisfon/Android | 168 | FILENAME: MainActivity.java | 0.250913 | package com.example.acer.checkradio;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity
... |
8ad2dcbf-4883-483e-83aa-28febac53911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 16:34:37", "repo_name": "searchgadchiroli/search-config", "sub_path": "/search-csv/search-registration/src/main/java/org/bahmni/implementation/searchconfig/request/PatientAddress.java", "file_name": "Patien... | https://github.com/searchgadchiroli/search-config | 204 | FILENAME: PatientAddress.java | 0.204342 | package org.bahmni.implementation.searchconfig.request;
import lombok.Data;
@Data
public class PatientAddress {
private String uuid;
private String address3;
private String cityVillage;
private String countyDistrict;
private String stateProvince;
private String country;
public PatientAddr... |
2ed84d91-1ef3-4c20-a5ce-d4d6dc010ac9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-31T23:30:30", "repo_name": "rstruempf/FragmentTest", "sub_path": "/app/src/main/java/com/ronstruempf/fragmenttest/DetailActivity.java", "file_name": "DetailActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/rstruempf/FragmentTest | 196 | FILENAME: DetailActivity.java | 0.224055 | package com.ronstruempf.fragmenttest;
import android.app.Activity;
import android.os.Bundle;
/**
* Activity for displaying detail in single pane view
*
* Created by Ron on 1/31/2016.
*/
public class DetailActivity extends Activity {
public static final String EXTRA_URL = "url";
@Override
protected v... |
07afc88f-2333-4b21-ad85-e2155af06710 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 13:01:30", "repo_name": "jahtzee/gdi2-uebungen", "sub_path": "/gdi2-uebungen/src/test1/LayoutVBox.java", "file_name": "LayoutVBox.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 36, "lang... | https://github.com/jahtzee/gdi2-uebungen | 218 | FILENAME: LayoutVBox.java | 0.27513 | package test1;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class LayoutVBox extends Application {
@Override
public void start(Stage stage) {
String javaVersion = System.ge... |
f36969eb-d650-4029-8998-80ea3222374c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-15 23:12:56", "repo_name": "daniel-kranowski/bluegreen-manager", "sub_path": "/src/main/java/bluegreen/manager/tasks/SshVmDeleteConfig.java", "file_name": "SshVmDeleteConfig.java", "file_ext": "java", "file_si... | https://github.com/daniel-kranowski/bluegreen-manager | 268 | FILENAME: SshVmDeleteConfig.java | 0.240775 | package bluegreen.manager.tasks;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
/**
* Configures the commands sent over ssh for vm deletion.
*/
@Lazy
@Component
public class SshVmDeleteConfig
{
@Value(... |
5e7e90b7-21c7-4626-b031-cda1a1220fe8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-15 16:10:29", "repo_name": "nsipid/chargerks", "sub_path": "/src/main/java/com/michaelgrenon/chargerks/cg/ActorInfo.java", "file_name": "ActorInfo.java", "file_ext": "java", "file_size_in_byte": 1048, "line_co... | https://github.com/nsipid/chargerks | 223 | FILENAME: ActorInfo.java | 0.27513 | package com.michaelgrenon.chargerks.cg;
import java.util.ArrayList;
import java.util.List;
import charger.obj.Actor;
import charger.obj.Concept;
import charger.obj.GEdge;
public class ActorInfo {
private ArrayList<Concept> inputs = new ArrayList<Concept>();
private ArrayList<Concept> outputs = new ArrayList<... |
8cc4101f-731e-459d-b6bd-fc5eb075778c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-28 18:11:47", "repo_name": "tobiasquinteiro/alura-cursos", "sub_path": "/jsf2/livraria/src/br/com/caelum/livraria/dao/UsuarioDAO.java", "file_name": "UsuarioDAO.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/tobiasquinteiro/alura-cursos | 199 | FILENAME: UsuarioDAO.java | 0.240775 | package br.com.caelum.livraria.dao;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import br.com.caelum.livraria.modelo.Usuario;
public class UsuarioDAO im... |
eeb46fd7-7bba-40df-b3fb-0dd803cfd6a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-18 09:32:20", "repo_name": "jakubriegel/Lets_Chess_on_Android", "sub_path": "/app/src/main/java/eu/jrie/lets_chess/SurrenderFragment.java", "file_name": "SurrenderFragment.java", "file_ext": "java", "file_size... | https://github.com/jakubriegel/Lets_Chess_on_Android | 182 | FILENAME: SurrenderFragment.java | 0.226784 | package eu.jrie.lets_chess;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
public class SurrenderFragment extends Fragment {
private PlayerPadFragment pad;
public Su... |
f4fbf669-8882-412d-9aeb-12c4337f57e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-18T13:59:34", "repo_name": "tobbbe/docker-templates", "sub_path": "/aspnetcore-webapi/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 34, "lang": "en", "doc... | https://github.com/tobbbe/docker-templates | 277 | FILENAME: README.md | 0.279828 | why not only use docker and prod env?\
because im not able to setup `dotnet watch run` and debugger with docker.\
maybe because rebuilding binaries requires to stop/build/start of the debugger
## Local environment
i.e using local runtime/sdk, not using production docker container environment. Easy to debug and can use... |
26ce4556-c36d-42c4-95e7-adc22f8e3628 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 05:31:41", "repo_name": "patriciamarch3/Me_Learning_Android", "sub_path": "/AndroidStudioProjects/ChallengeRoomAPI/app/src/main/java/com/example/challengeroomapi/room/AppDatabase.java", "file_name": "AppDat... | https://github.com/patriciamarch3/Me_Learning_Android | 184 | FILENAME: AppDatabase.java | 0.26588 | package com.example.challengeroomapi.room;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@Database(entities = {Book.class}, version = 1, exportSchema = f... |
9eb0399d-800f-4b86-aa94-b192e92cbd46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-16T18:48:14", "repo_name": "recursivecodes/oci-policy-generator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1035, "line_count": 25, "lang": "en", "doc_type"... | https://github.com/recursivecodes/oci-policy-generator | 241 | FILENAME: README.md | 0.213377 | # OCI Policy Generator
## Purpose
## Prerequisites
Please ensure that you have the OCI CLI [installed](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm) and configured on the machine where you run this script.
To test, open a command prompt and type:
```oci --version```
If this command do... |
fc01a6fc-f6db-4b05-857d-1621ff6f36a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-30 10:27:16", "repo_name": "BenedictwOw/P02-SGHols", "sub_path": "/app/src/main/java/com/myapplicationdev/android/p02_sghols/Festive.java", "file_name": "Festive.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/BenedictwOw/P02-SGHols | 221 | FILENAME: Festive.java | 0.217338 | package com.myapplicationdev.android.p02_sghols;
public class Festive {
private String festivename;
private String date;
private Integer image;
public Festive(String festivename, String date, int image) {
this.festivename = festivename;
this.date = date;
this.image = image;
... |
c7e576a9-8a7d-42ae-b378-34f0dde9140e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-03T18:04:21", "repo_name": "SteveImmanuel/furious-birds-unity", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 18, "lang": "en", "doc_type": ... | https://github.com/SteveImmanuel/furious-birds-unity | 217 | FILENAME: readme.md | 0.287768 | # Furious Birds
Remake of Angry Birds using Unity. Consist of 3 levels and 1 final level.
## Improvements
From the base tutorial I make lots of improvements which are:
- Refactor base code so that each script has single purpose responsibility and optimize performance (remove unused delegate, GetComponent function call... |
3bd8637c-a980-424d-8155-cae18569c231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-09 05:49:33", "repo_name": "PedramVeisi/BuildItBigger", "sub_path": "/backend/src/main/java/si/vei/pedram/builditbigger/backend/JokeEndpoint.java", "file_name": "JokeEndpoint.java", "file_ext": "java", "file_s... | https://github.com/PedramVeisi/BuildItBigger | 243 | FILENAME: JokeEndpoint.java | 0.261331 | /*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Java Endpoints Module" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints
*/
package si.vei.pedram.builditbigger.backend;
import ... |
c4bd8d37-a4ef-4d6a-b263-eaf7a5c0c4f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 03:03:53", "repo_name": "chelin192837/FaceToFace", "sub_path": "/FaceToFace/faceToface-mall/mall-API/src/main/java/com/macro/mall/api/service/impl/FacConsultationServiceImpl.java", "file_name": "FacConsulta... | https://github.com/chelin192837/FaceToFace | 203 | FILENAME: FacConsultationServiceImpl.java | 0.264358 | package com.macro.mall.api.service.impl;
import com.macro.mall.api.service.FacConsultationService;
import com.macro.mall.mapper.FacConsultationMapper;
import com.macro.mall.model.FacConsultation;
import com.macro.mall.model.FacConsultationExample;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
2f2fb7e2-649f-462b-93ad-17c8cb2a3d8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 09:47:16", "repo_name": "oville92/al-geek-v2", "sub_path": "/gateway/api-gateway/src/main/java/fr/afcepf/algeek/rest/ProductCompatibilityRestController.java", "file_name": "ProductCompatibilityRestControlle... | https://github.com/oville92/al-geek-v2 | 202 | FILENAME: ProductCompatibilityRestController.java | 0.26971 | package fr.afcepf.algeek.rest;
import fr.afcepf.algeek.dto.Produit;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@Slf4j
@RestController
@CrossOrigin(origins = "*"... |
26d5e8b3-2574-4d15-a2ce-e1dd44dc9ff8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 16:47:15", "repo_name": "devarthurribeiro/web-final-backend", "sub_path": "/src/main/java/com/arthur/web/user/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1027, "line_count... | https://github.com/devarthurribeiro/web-final-backend | 203 | FILENAME: User.java | 0.258326 | package com.arthur.web.user;
import com.arthur.web.credential.Auth;
import com.arthur.web.product.Product;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java... |
6e105eae-e8e7-4f6a-8c0c-bf59eafb5233 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-19 02:28:28", "repo_name": "ekubatov/ejercicio_Eric_Kubatov", "sub_path": "/src/main/java/dispatcher/CallProducer.java", "file_name": "CallProducer.java", "file_ext": "java", "file_size_in_byte": 999, "line_co... | https://github.com/ekubatov/ejercicio_Eric_Kubatov | 256 | FILENAME: CallProducer.java | 0.295027 | package dispatcher;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import model.InboundCall;
/**
*
*
* @author Eric Kubatov
*
*/
public class CallProducer implements Runnable {
private static final int INBOUNDCALL_MINIMUM_COUNT = 10;
private static final in... |
e9ef5fe3-7f8b-4464-8e6c-59927e405592 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-15T15:29:22", "repo_name": "BobbyBakes/leaflet-meteor-spike", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 27, "lang": "en", "doc_type": "t... | https://github.com/BobbyBakes/leaflet-meteor-spike | 342 | FILENAME: readme.md | 0.26588 | run:
meteor run for atlas db
MONGO_URL='mongodb://Bobbys-MacBook-Pro.local:27000' meteor
meteor run for local (not meteor) db
MONGO_URL='mongodb://192.168.128.210:27017' meteor
update car:
meteor:PRIMARY> db.locations.update({'id': id}, {'$set': {'x': x, 'y': y}})
*Python script written to update via TCP Packet
Env ... |
197e7a8e-b807-4105-8617-adb7e241d3c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-03 21:09:11", "repo_name": "cbochs/AndroidExamples", "sub_path": "/21_DialogActivityCommunicationExample/app/src/main/java/com/calvin/a21_dialogactivitycommunicationexample/MainActivity.java", "file_name": "Ma... | https://github.com/cbochs/AndroidExamples | 178 | FILENAME: MainActivity.java | 0.250913 | package com.calvin.a21_dialogactivitycommunicationexample;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import java.util.List;
public class MainActivity extends AppCompatActivity implements MyDialogFragment.ToppingSelectionListen... |
96ca31b0-ec94-4b98-8c0d-360249fe7553 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 02:55:06", "repo_name": "chenchang-lime/easyBuy_SSM", "sub_path": "/src/main/java/com/easybuy/entity/News.java", "file_name": "News.java", "file_ext": "java", "file_size_in_byte": 1130, "line_count": 73, "l... | https://github.com/chenchang-lime/easyBuy_SSM | 262 | FILENAME: News.java | 0.245085 | package com.easybuy.entity;
import java.util.Date;
/**
* 表名:easybuy_news
* 新闻表
* @author 陈昌
*/
public class News {
/**
* 新闻ID
*/
private Integer id;
/**
* 新闻标题
*/
private String title;
/**
* 新闻内容
*/
private String content;
/**
* 创建时间,默认为系统当前时间
*/
private Date creat... |
ee3c7640-78f7-4350-92fe-1e20348800a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-01 12:37:00", "repo_name": "HeenaNautiyal/Joshua2", "sub_path": "/D2DApplicationHeena/BackUpD2d/TestingFirebaseCloud/app/src/main/java/com/heena/D2dmedicine/Admincla.java", "file_name": "Admincla.java", "file_... | https://github.com/HeenaNautiyal/Joshua2 | 175 | FILENAME: Admincla.java | 0.189521 | package com.heena.D2dmedicine;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.example.heena.testingfirebasecloud.R;
public class Admincla extends AppCompatActivity {
ImageView btnback;... |
45c027e0-1ade-4ddb-a63d-9d184b99904f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-09 19:28:16", "repo_name": "foyst/smalldata-cep", "sub_path": "/smalldata-cep-core/src/main/java/uk/co/foyst/smalldata/cep/dao/StreamViewFactory.java", "file_name": "StreamViewFactory.java", "file_ext": "java"... | https://github.com/foyst/smalldata-cep | 209 | FILENAME: StreamViewFactory.java | 0.262842 | package uk.co.foyst.smalldata.cep.dao;
import org.springframework.stereotype.Component;
import uk.co.foyst.smalldata.cep.Stream;
import uk.co.foyst.smalldata.cep.StreamId;
import java.util.ArrayList;
import java.util.List;
@Component
public class StreamViewFactory {
public StreamView build(final Stream stream) ... |
494c2a83-0abb-4aaf-9e75-58535cb7ec3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-07 01:53:22", "repo_name": "rraaff/tdil-pq", "sub_path": "/ tdil-pq --username subcmd@gmail.com/JavaBase/src/com/tdil/ga/MeasurementProtocol.java", "file_name": "MeasurementProtocol.java", "file_ext": "java", ... | https://github.com/rraaff/tdil-pq | 193 | FILENAME: MeasurementProtocol.java | 0.226784 | package com.tdil.ga;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import com.tdil.web.ProxyConfiguration;
public class MeasurementProtocol {
protected static String HTTP = "http://www.google-analytics.com/collect?";
protected static String HTTPS = "https://ssl.google-analyti... |
51b492d1-6a4b-4416-b220-60a7f1147beb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-13 18:41:01", "repo_name": "FRCTeam2910/2020CompetitionRobot", "sub_path": "/src/main/java/org/frcteam2910/c2020/commands/PlayTheWheelOfFortuneCommand.java", "file_name": "PlayTheWheelOfFortuneCommand.java", "... | https://github.com/FRCTeam2910/2020CompetitionRobot | 259 | FILENAME: PlayTheWheelOfFortuneCommand.java | 0.282988 | package org.frcteam2910.c2020.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import org.frcteam2910.c2020.subsystems.WheelOfFortuneSubsystem;
public class PlayTheWheelOfFortuneCommand extends CommandBase {
private final WheelOfFortuneSubsystem wheelOfFortune;
private double lastPosition = 0.0;
... |
b5f61cee-904c-4ffe-a55a-574f3f06e1fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-16T19:37:32", "repo_name": "nthdeveloper/InnoSetupSamples", "sub_path": "/SampleProjects/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 13, "lang": "en", "d... | https://github.com/nthdeveloper/InnoSetupSamples | 182 | FILENAME: README.md | 0.246533 | # Sample Projects
## DesktopApp
Sample Windows Forms desktop application with a class library project. Inno Setup script file installs tha application, creates a desktop shortcut and an uninstall shortcut in Add/Remove Programs.
## OptionalFeatures
Sample Windows Forms desktop application with 3 class libraries that ... |
6660ed5f-d3f8-4947-92ae-d4d4336ce4c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-05T17:20:58", "repo_name": "Nippius/apa102c", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1038, "line_count": 30, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/Nippius/apa102c | 264 | FILENAME: README.md | 0.204342 | # apa102c - Tiva C series driver for APA102C Super LED IC's
This repository contains the software driver for controling APA102C LED driver IC's using Tiva C series hardware.
The driver was tested using a Tiva C EK-TM4C123GXL development board.
## Getting started:
Using this driver is simple:
1. Add apa102c_conf.h,... |
d0f68d8a-8c29-4527-93bf-d8155306a126 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-01 07:04:21", "repo_name": "gaocn/eshop-inventory", "sub_path": "/src/main/java/govind/inventory/hystrix/command/SaveProductInfoToRedisCommand.java", "file_name": "SaveProductInfoToRedisCommand.java", "file_ex... | https://github.com/gaocn/eshop-inventory | 226 | FILENAME: SaveProductInfoToRedisCommand.java | 0.279042 | package govind.inventory.hystrix.command;
import com.alibaba.fastjson.JSONObject;
import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixCommandGroupKey;
import govind.inventory.dao.entity.ProductInfo;
import govind.inventory.product.SpringContext;
import redis.clients.jedis.JedisCluster;
public... |
5f51c321-93e3-41ec-961e-de7a7e38caad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-08-09 16:46:28", "repo_name": "Foxkid/Oarlok", "sub_path": "/src/oarlok/resources/dbo/DatabaseConnection.java", "file_name": "DatabaseConnection.java", "file_ext": "java", "file_size_in_byte": 965, "line_count": ... | https://github.com/Foxkid/Oarlok | 240 | FILENAME: DatabaseConnection.java | 0.279042 | /*
* This file connects to the database server on AMAZON.
* Author - OARLOK Team
* Data Modified - 7th Aug 2012
*
*/
package oarlok.resources.dbo;
import java.sql.Connection;
import java.sql.DriverManager;
public class DatabaseConnection {
private String jdbcUsername = "flippers";
private String jdbcPassword ... |
00c26da9-d9c2-42b4-8a8e-030a6b38016a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-02 07:22:50", "repo_name": "wangwei216/springProject", "sub_path": "/springTest/src/spring_test01/TestMain.java", "file_name": "TestMain.java", "file_ext": "java", "file_size_in_byte": 1352, "line_count": 38, ... | https://github.com/wangwei216/springProject | 278 | FILENAME: TestMain.java | 0.291787 | package spring_test01;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestMain {
public static void main(String[] args){
// helloSpring.sayHello("这是我要传进来的参数的名字");
//这个是传统的正常调用对象去实现
// HelloSpring helloS... |
7282e0d6-7156-4b4d-831c-b2bc694f108e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-20 15:53:12", "repo_name": "preetkewl/My_Application", "sub_path": "/app/src/main/java/com/example/myapplication/beans/RegisterData.java", "file_name": "RegisterData.java", "file_ext": "java", "file_size_in_by... | https://github.com/preetkewl/My_Application | 203 | FILENAME: RegisterData.java | 0.187133 | package com.example.myapplication.beans;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class RegisterData {
@SerializedName("user_id")
@Expose
private String userId;
@SerializedName("name")
@Expose
private String name;
@SerializedNa... |
23c7bf41-1cd5-4367-9fe1-6daee16b9180 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 15:49:10", "repo_name": "SmokedKoala/tamagotchi", "sub_path": "/app/src/main/java/ru/practice/tamagotchi/tamagotchiactivity/TamagotchiActivity.java", "file_name": "TamagotchiActivity.java", "file_ext": "jav... | https://github.com/SmokedKoala/tamagotchi | 202 | FILENAME: TamagotchiActivity.java | 0.272799 | package ru.practice.tamagotchi.tamagotchiactivity;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
public class TamagotchiActivity extends AppCompatActivity {
private TamagotchiView tama... |
09771092-837f-44e4-86b4-e99c838a12eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 19:39:00", "repo_name": "jooccoo/JavaHazik_AgocsJozsef", "sub_path": "/JavaHazik_AgocsJozsef/HF2/src/tizennegyedik_feladat/Szotar.java", "file_name": "Szotar.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/jooccoo/JavaHazik_AgocsJozsef | 247 | FILENAME: Szotar.java | 0.216012 | /*
* 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 tizennegyedik_feladat;
import java.util.Objects;
/**
*
* @author Jocó
*/
public class Szotar {
private String angol;
... |
cbad23bb-5fa4-4b50-acb2-2f7ffefb2164 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 15:47:30", "repo_name": "elkhader/jee-first-webapp", "sub_path": "/src/java/com/LoginDAO.java", "file_name": "LoginDAO.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 44, "lang": "en", "... | https://github.com/elkhader/jee-first-webapp | 191 | FILENAME: LoginDAO.java | 0.259826 | /*
* 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;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql... |
0252ac6d-2b70-4f0d-b0c9-56353e41150a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-13 01:40:08", "repo_name": "teepidge/mooc.fi", "sub_path": "/Part 5/Part05_15 Item.java", "file_name": "Part05_15 Item.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 45, "lang": "en", "doc_... | https://github.com/teepidge/mooc.fi | 197 | FILENAME: Part05_15 Item.java | 0.27513 | /*
* 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.
*/
/**
*
* @author Taylor Pigeon
*/
public class Item {
private String identifier;
private String name;
public Item(Strin... |
9017c605-68d1-42b8-a1c9-0cf37ddacef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-26T02:07:13", "repo_name": "JessicaSellers/habit-tracker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1000, "line_count": 44, "lang": "en", "doc_type": "text... | https://github.com/JessicaSellers/habit-tracker | 245 | FILENAME: README.md | 0.196826 | # habit-tracker
## Installation
All terminal commands below are relative to the directory where you've checked out the source code.
Install Node Version Manager & Node 10+
curl https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 15
nvm use 15
Install Yarn ... |
1502fd6a-81a1-4a58-a2bc-8a5601cb47d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-09T03:57:36", "repo_name": "Wilson13/vision-web-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 35, "lang": "en", "doc_type": "text", "b... | https://github.com/Wilson13/vision-web-app | 224 | FILENAME: README.md | 0.198064 | # Google Cloud Vision API - Object Detection
## Name
vision-web-app
## Description
This is a simple project that demonstrates the usage of Next.js with TypeScript, GrommetJS, FireBase Auth that provides object detection based on image file uploaded by user.
Separately, it is powered by a backend application called... |
6d23a0cd-69b5-431d-b903-10e6c50f7a73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-03 09:33:08", "repo_name": "Valentyna-Pavliv/database", "sub_path": "/interface/src/sample/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 39, "lang": "en", "... | https://github.com/Valentyna-Pavliv/database | 197 | FILENAME: Main.java | 0.256832 | package sample;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.text.Text;
import javafx.stage.Stage;
public class Mai... |
7104917b-cbd8-4a85-9e14-36705da287e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-08T17:29:08", "repo_name": "alanorthon/spring_sandBox", "sub_path": "/src/main/java/ru/springCRUDapp/testSpring/security/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java", "file_ext": "j... | https://github.com/alanorthon/spring_sandBox | 181 | FILENAME: UserDetailsServiceImpl.java | 0.253861 | package ru.springCRUDapp.testSpring.security;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundEx... |
188d2a02-a2dd-4651-8d82-aaf8babe7ccc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-06 09:46:43", "repo_name": "LoaySrouji/ex8", "sub_path": "/app/src/main/java/com/image/get/talkwitharemoteserver/ServerHolder.java", "file_name": "ServerHolder.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/LoaySrouji/ex8 | 187 | FILENAME: ServerHolder.java | 0.252384 | package com.image.get.talkwitharemoteserver;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ServerHolder {
private static ServerHolder instance = null;
private static final String URL = "http://hujipostpc2019.pythonanywhere.com";
... |
842fe2ee-33d3-4f9a-baf1-22938b2f9114 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-16 16:27:52", "repo_name": "TVanLinh/bai-tap-lon-mon-thuong-mai-dien-tu", "sub_path": "/sale/src/main/java/linhtran/it/vnua/sale/form/OrderForm.java", "file_name": "OrderForm.java", "file_ext": "java", "file_s... | https://github.com/TVanLinh/bai-tap-lon-mon-thuong-mai-dien-tu | 222 | FILENAME: OrderForm.java | 0.271252 | package linhtran.it.vnua.sale.form;
import linhtran.it.vnua.sale.entities.OrderDetail;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Created by linhtran on 04/10/17.
*/
public class OrderForm {
private Set<EngredientForm> engredients;
private CustomerLoginForm customerLogin... |
9f53753b-5cea-49f6-8731-adb2ff4a4a95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-23 11:22:01", "repo_name": "kdsalvy/SpringBoot-OnlineTravelAgent", "sub_path": "/OnlineTravelAgent-SpringBoot/src/main/java/com/putnam/online/travel/agent/application/booking/service/CustomerService.java", "fi... | https://github.com/kdsalvy/SpringBoot-OnlineTravelAgent | 161 | FILENAME: CustomerService.java | 0.286968 | package com.putnam.online.travel.agent.application.booking.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.putnam.online.travel.agent.application.bo... |
ae67e7d8-13c3-4596-b2ba-9370efaaaaba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 01:13:23", "repo_name": "leondavidtb/biblioteca", "sub_path": "/Biblioteca/src/dao/EmprestimoDao.java", "file_name": "EmprestimoDao.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 44, "la... | https://github.com/leondavidtb/biblioteca | 253 | FILENAME: EmprestimoDao.java | 0.290176 | package dao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import conexao.ConnectionFactory;
public class EmprestimoDao {
public void busca(String valor, ArrayList<Object> vetor) {
String sql = "SELECT * FROM Emprestimo WHERE codigo = ? || cod_exemplar = ?";
try {
... |
8d7d672d-a9ed-4b0f-ab5b-31d5f03f76fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-15 10:13:01", "repo_name": "zhangjiweiuser/rabbit", "sub_path": "/src/main/java/com/zhang/rabbit/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/zhangjiweiuser/rabbit | 185 | FILENAME: LoginController.java | 0.176672 | package com.zhang.rabbit.controller;
import com.zhang.rabbit.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.Res... |
c5db73e7-f65d-4879-bbfa-555fe8fe83e9 | {"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/SampleInformation.java", "file_name": "SampleInformation.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/smdb21/java-miape-api | 258 | FILENAME: SampleInformation.java | 0.272025 | package org.proteored.miapeapi.cv;
public class SampleInformation extends ControlVocabularySet {
public static Accession SAMPLE_BATCH_ACC = new Accession("MS:1000053");
public static Accession SAMPLE_VOLUME_ACC = new Accession("MS:1000005");
/* ; */
private static SampleInformation instance;
public static Sampl... |
bda44679-86f9-41b6-9760-c05724c2b4ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-18 20:16:03", "repo_name": "MakRaamWilliam/DesignPatterns", "sub_path": "/src/IteratorPattern/Waiter.java", "file_name": "Waiter.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 29, "lang": "... | https://github.com/MakRaamWilliam/DesignPatterns | 200 | FILENAME: Waiter.java | 0.282988 | package IteratorPattern;
public class Waiter {
private Menu DinnerMenu, PancakeMenu;
public Waiter(DinnerMenu dinnerMenu, PancakeMenu pancakeMenu){
this.DinnerMenu = dinnerMenu;
this.PancakeMenu = pancakeMenu;
}
public void printMenu(){
Iterator PancakeIterator = PancakeMenu.c... |
3b2d1223-6f6f-4509-9193-943cbabf7660 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-12 06:13:53", "repo_name": "dlatldud11/romanticseoul", "sub_path": "/RomanticSeoul/src/main/java/utility/GlobalData.java", "file_name": "GlobalData.java", "file_ext": "java", "file_size_in_byte": 1034, "line_c... | https://github.com/dlatldud11/romanticseoul | 215 | FILENAME: GlobalData.java | 0.286968 | package utility;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
public class GlobalData {
public static final String HOST_URL = "http://localhost:8000";
public static final St... |
ed4a5916-cd44-4ac8-a291-4a7f01ffd4ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-03 06:37:03", "repo_name": "lianghe423/netty_http2", "sub_path": "/src/main/java/netty/mmb/http2/Http2ExampleUtil.java", "file_name": "Http2ExampleUtil.java", "file_ext": "java", "file_size_in_byte": 353, "lin... | https://github.com/lianghe423/netty_http2 | 226 | FILENAME: Http2ExampleUtil.java | 0.239349 | /*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you 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 re... |
83f5d18e-782e-4341-b337-7e1e4f4c6b00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-14 07:31:49", "repo_name": "bulkeshswami9999/CigarDriver", "sub_path": "/app/src/main/java/com/hav/cigar/driver/model/MobileNoExistsData.java", "file_name": "MobileNoExistsData.java", "file_ext": "java", "file... | https://github.com/bulkeshswami9999/CigarDriver | 263 | FILENAME: MobileNoExistsData.java | 0.226784 | package com.hav.cigar.driver.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class MobileNoExistsData implements Serializable
{
@SerializedName("message")
@Expose
String message;
@SerializedName("id")
@Expo... |
bd3aa235-84b7-4833-aa09-503034a586d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-09 13:31:05", "repo_name": "willbe058/Pigggeon", "sub_path": "/app/src/main/java/com/me/xpf/pigggeon/model/entity/LikedUser.java", "file_name": "LikedUser.java", "file_ext": "java", "file_size_in_byte": 1021, ... | https://github.com/willbe058/Pigggeon | 243 | FILENAME: LikedUser.java | 0.210766 | package com.me.xpf.pigggeon.model.entity;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by xpf on 2015/8/31.
*/
public class LikedUser {
@Expose
private Integer id;
@SerializedName("created_at")
@Expose
private String createdAt;
... |
2296acf1-4ce1-4681-9b7f-696ee5d53e9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-26 05:23:53", "repo_name": "matthew7j/Blackjack", "sub_path": "/src/com/matthew7j/Shoe.java", "file_name": "Shoe.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 44, "lang": "en", "doc_type":... | https://github.com/matthew7j/Blackjack | 236 | FILENAME: Shoe.java | 0.290981 | package com.matthew7j;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
public class Shoe {
int numDecks;
boolean yellow;
ArrayList<Card> cards = new ArrayList<Card>();
public Shoe(int numDecks) {
this.numDecks = numDecks;
initialize();
}
pri... |
e28bad4c-a4ea-4696-a35e-edc946717b0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-09 10:03:01", "repo_name": "zerolancher/MybatisProject", "sub_path": "/src/main/java/com/itheima/zero/pojo/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 55,... | https://github.com/zerolancher/MybatisProject | 238 | FILENAME: Role.java | 0.23092 | package com.itheima.zero.pojo;
import java.util.List;
public class Role {
private Integer rid;
private String rname;
private String rdesc;
private List<User> userList;
public List<User> getUserList() {
return userList;
}
public void setUserList(List<User> userList) {
th... |
57c7023e-1ad3-4016-a457-df730a7c979d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-23T09:13:44", "repo_name": "paulgreg/roomba_pilot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1028, "line_count": 21, "lang": "en", "doc_type": "text", "blo... | https://github.com/paulgreg/roomba_pilot | 285 | FILENAME: README.md | 0.23231 | # Piloting a Roomba with an Arduino #
Watch a [video of what source code is doing here](https://www.youtube.com/watch?v=7rpqySur7gI).
## What you need ##
- A roomba with a serial port (mine is the 555 model),
- An arduino,
- to build a cable to connect the Arduino to the Roomba, see [theses instructions](http://www.... |
2e05c966-d1c0-4453-8a99-4cc86a085c7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 04:59:17", "repo_name": "janggege/moni", "sub_path": "/moni/app/src/main/java/com/example/lenovo/moni/mvp/model/Loginmodel.java", "file_name": "Loginmodel.java", "file_ext": "java", "file_size_in_byte": 970... | https://github.com/janggege/moni | 219 | FILENAME: Loginmodel.java | 0.229535 | package com.example.lenovo.moni.mvp.model;
import com.example.lenovo.moni.mvp.Myinterface.Logininterface;
import com.example.lenovo.moni.mvp.okhttp.Okhttputils;
import java.io.IOException;
import java.util.Map;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.Response;
/*Time:2019/4/4
*Author:刘江
*Desc... |
d668c0c6-c8bc-4144-bcaa-170870d30c07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-25T15:22:34", "repo_name": "AmosFord/gitclass", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 973, "line_count": 43, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/AmosFord/gitclass | 213 | FILENAME: README.md | 0.198064 | # gitclass
Basic web app to use for in class project
Initial set up generated from Yoeman Web App generator: https://github.com/yeoman/generator-webapp
# Features
Please see our gulpfile for up to date information on what we support.
enable ES2015 features using Babel
CSS Autoprefixing
Built-in preview server wi... |
e9166e0d-ee2f-4c7b-83e2-93e87e934570 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-11 09:39:19", "repo_name": "GnohiSiaM/demos", "sub_path": "/java/form-validation/src/main/java/com/gnohisiam/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/GnohiSiaM/demos | 227 | FILENAME: UserService.java | 0.27048 | package com.gnohisiam.service;
import com.gnohisiam.model.User;
import com.gnohisiam.repository.UserRepository;
import com.gnohisiam.util.CipherUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Objects;
@Service
public class UserServi... |
0d84fd6c-b3d6-43e1-a456-ab3ee28f7472 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-26 14:58:54", "repo_name": "13555785106/AndroidPPT-V01", "sub_path": "/04-GeoQuiz-Final/app/src/main/java/com/telecom/geoquiz/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size_in_byt... | https://github.com/13555785106/AndroidPPT-V01 | 250 | FILENAME: Question.java | 0.26588 | package com.telecom.geoquiz;
/**
* Created by xiaojf on 17/12/18.
*/
public class Question {
private int mTextResId;
private boolean mAnswerTrue;
private boolean mPassed;
public Question(int textResId, boolean answerTrue) {
mTextResId = textResId;
mAnswerTrue = answerTrue;
}
... |
0d60611c-58aa-4a1b-8675-18e04405d8e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 09:20:50", "repo_name": "ranganath98/SeleniumJavaFramework", "sub_path": "/SeleniumFramework/src/test/java/test/Test_GoogleSearch.java", "file_name": "Test_GoogleSearch.java", "file_ext": "java", "file_size... | https://github.com/ranganath98/SeleniumJavaFramework | 213 | FILENAME: Test_GoogleSearch.java | 0.279828 | package test;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.chrome.ChromeDriver;
public class Test_GoogleSearch {
public static void main(String[] args) throws InterruptedException {
googleSearch();
}
private static void googleSearch() throws InterruptedExc... |
34451fd2-7c4d-40ff-8eb7-0b36a2d29b44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-14 01:19:49", "repo_name": "MaykiHu/cse331-20sp-mayki", "sub_path": "/hw-marvel/src/main/java/marvel/MarvelHeroModel.java", "file_name": "MarvelHeroModel.java", "file_ext": "java", "file_size_in_byte": 1022, "... | https://github.com/MaykiHu/cse331-20sp-mayki | 249 | FILENAME: MarvelHeroModel.java | 0.236516 | package marvel;
import com.opencsv.bean.CsvBindByName;
/*
* This is the Java representation of a Marvel Hero
*/
public class MarvelHeroModel {
/*
* name of the marvel hero
*/
@CsvBindByName
private String hero;
/*
* comic's title where the marvel hero appeared
*/
@CsvBind... |
24c848ed-3697-4c97-9ae9-686816ff97b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-25T00:32:22", "repo_name": "latimercaleb/mockups", "sub_path": "/Design 2/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 975, "line_count": 14, "lang": "en", "doc_type": "text... | https://github.com/latimercaleb/mockups | 200 | FILENAME: readme.md | 0.190724 | # Mockup 2
This mockup and all the other ones are done differently from the first. This code written on top of a template downloaded from quackit linked here: https://www.quackit.com/html/templates/business_website_templates.cfm
Within this folder you will find a .html and .css file consisting of the code for the mai... |
515d0eda-0b71-4250-95ad-864e31028330 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-27T06:06:11", "repo_name": "sbsabapathi/selenium-java", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1040, "line_count": 20, "lang": "en", "doc_type": "text", ... | https://github.com/sbsabapathi/selenium-java | 212 | FILENAME: README.md | 0.279042 |
#cucumber JVM Test
#===========================
#Applicants are politely asked not to disseminate or discuss the details of this coding test to others.
#Cucumber JVM Test
#The feature file that requires automating (search.feature) is included, the User Story and scenario is within that file. The aim of this... |
d9ba30d8-fcee-4253-a141-85f237f2efd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-01 11:33:59", "repo_name": "shareyan/winfly-android", "sub_path": "/TestFragment/src/com/example/testfragment/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 987,... | https://github.com/shareyan/winfly-android | 204 | FILENAME: MainActivity.java | 0.278257 | package com.example.testfragment;
import android.app.Activity;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import android.view.Menu;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSt... |
67b1efb7-718b-4c88-8bb7-dc448d7d897c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-15 01:29:53", "repo_name": "nerJll/amet", "sub_path": "/src/main/java/com/aixu/meeting/utils/WeChatUtil.java", "file_name": "WeChatUtil.java", "file_ext": "java", "file_size_in_byte": 1123, "line_count": 40, "... | https://github.com/nerJll/amet | 344 | FILENAME: WeChatUtil.java | 0.271252 | package com.aixu.meeting.utils;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import com.aiko.config.wxcp.WxcpApi;
import com.google.gson.Gson;
import me.chanjar.weixin.cp.bean.WxCpMessage;
/**
* @author RenBowen
* @date 2017年11月6日-上午10:03:36
* @since 1.0.0
... |
5dcc1a2d-eb37-4d4d-9660-877868c387c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-22 06:09:48", "repo_name": "Json-Liu/spring-amqp-samples", "sub_path": "/helloworld/src/main/java/org/springframework/amqp/helloworld/financepush/mq/pushrequest/PushRequestListener.java", "file_name": "PushReq... | https://github.com/Json-Liu/spring-amqp-samples | 177 | FILENAME: PushRequestListener.java | 0.217338 | package org.springframework.amqp.helloworld.financepush.mq.pushrequest;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.amqp.helloworld.financepush.mq.AbstractBaseListener;
import org.springframework.amqp.helloworld.sync.annotation.Message;
import org.springframework.context.Appli... |
45d5a5c4-469c-480e-b071-38e9708fb4cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-02-23T23:49:50", "repo_name": "NYU-CS6313-Projects/d3-labs-example-repo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1031, "line_count": 28, "lang": "en", "doc_... | https://github.com/NYU-CS6313-Projects/d3-labs-example-repo | 224 | FILENAME: README.md | 0.218669 | # Example Git Repo
This is an example git repo.
## Master Branch
The master branch is the default branch.
Branches are useful tools when making modifications, as any commits you make
as a team don't interfere with each other. Once you're done with your feature,
you can merge it back into master.
You can also use ... |
d12787c6-84e5-460d-a6aa-a2e78a11e2f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-03 16:40:07", "repo_name": "danishm026/ResumeManager", "sub_path": "/DAO/src/main/java/com/arc/dto/UserRegistrationDetails.java", "file_name": "UserRegistrationDetails.java", "file_ext": "java", "file_size_in_... | https://github.com/danishm026/ResumeManager | 215 | FILENAME: UserRegistrationDetails.java | 0.250913 | package com.arc.dto;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
@Entity
public class UserRegistrationDetails {
@Id
private String rollNumber;
@NotNull
private String email;
@NotNull
private String passwordHash;
public UserRegistrationDetails() {... |
8d77990b-c97f-40fe-9fa5-021b916bcc53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-13 08:03:56", "repo_name": "patrickbucher/ad_exercises", "sub_path": "/src/main/java/ch/hslu/ad/sw06/ex02/RaceHorse.java", "file_name": "RaceHorse.java", "file_ext": "java", "file_size_in_byte": 1049, "line_co... | https://github.com/patrickbucher/ad_exercises | 242 | FILENAME: RaceHorse.java | 0.276691 | package ch.hslu.ad.sw06.ex02;
import java.util.Random;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public final class RaceHorse implements Runnable {
private static final Logger LOG = LogManager.getLogger();
private final Synch startSignal;
private volatile Thread ... |
38893b9d-02d3-4a97-97eb-88511396a283 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 08:28:56", "repo_name": "git867/smq", "sub_path": "/src/com/cn/pre/show_module/servlet/ShowServlet.java", "file_name": "ShowServlet.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 35, "l... | https://github.com/git867/smq | 169 | FILENAME: ShowServlet.java | 0.236516 | package com.cn.pre.show_module.servlet;
import com.cn.pre.show_module.service.Imp.ShowServiceImp;
import com.cn.pre.show_module.service.ShowService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
i... |
4f2075dc-d401-48e1-b050-53655d86948c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-17 03:15:09", "repo_name": "BanofCat/MaoPuNews", "sub_path": "/app/src/main/java/com/ban/Activity/StartActivity.java", "file_name": "StartActivity.java", "file_ext": "java", "file_size_in_byte": 978, "line_cou... | https://github.com/BanofCat/MaoPuNews | 188 | FILENAME: StartActivity.java | 0.190724 | package com.ban.Activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import com.ban.maopu.R;
import java.io.File;
/**
* Created by Administrator on 2016/4/11.
*/
public class StartActivity extends Activity {
@... |
24e1feb6-525e-4850-afb0-e4c5c8477212 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 15:43:59", "repo_name": "victorursan/banana", "sub_path": "/src/main/java/com/victor/banana/models/events/stickies/ActionUpdate.java", "file_name": "ActionUpdate.java", "file_ext": "java", "file_size_in_byt... | https://github.com/victorursan/banana | 220 | FILENAME: ActionUpdate.java | 0.246533 | package com.victor.banana.models.events.stickies;
import com.victor.banana.utils.Constants.PersonnelRole;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
import lombok.*;
import org.jetbrains.annotations.NotNull;import java.util.List;
import java.util.Optional;
import java.util.UU... |
91d8ea95-7aa5-45d0-8b35-428e30c85eb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 02:12:31", "repo_name": "SM-Leee/Spring-IOC-Container", "sub_path": "/src/main/java/com/douzone/springcontainer/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 992, "line_coun... | https://github.com/SM-Leee/Spring-IOC-Container | 243 | FILENAME: User.java | 0.23092 | package com.douzone.springcontainer;
import java.util.List;
public class User {
private Long no;
private Friend friend;
private String name = "이성민";
private List<String> friends;
public List<String> getFriends() {
return friends;
}
public void setFriends(List<String> friends) {
this.friends... |
c84d991b-8d63-4376-a59b-33a760d9ba61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-16 17:35:54", "repo_name": "JMastroionni/Android251_public", "sub_path": "/ScottsExamples/Services/IntentService/app/src/main/java/com/ebookfrenzy/startedservice1/MainActivity.java", "file_name": "MainActivity... | https://github.com/JMastroionni/Android251_public | 163 | FILENAME: MainActivity.java | 0.23092 | package com.ebookfrenzy.startedservice1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected... |
bc9c650c-9afc-4e2b-9402-fcc9868834d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-12 18:32:25", "repo_name": "marc-x-andre/Infectious_Mobile", "sub_path": "/app/src/main/java/com/m224/infectious/adapters/GridImageAdapter.java", "file_name": "GridImageAdapter.java", "file_ext": "java", "file... | https://github.com/marc-x-andre/Infectious_Mobile | 229 | FILENAME: GridImageAdapter.java | 0.262842 | package com.m224.infectious.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.m224.infectious.domaine.GridImageView;
import com.m224.infectious.utils.GridConfig;
import java.util.List;
/**
* Created by 224 on 2017-10-20.... |
52601c93-a62e-486e-a65a-0084e43f2b07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-09 12:46:10", "repo_name": "Ruchika0810/Hiber", "sub_path": "/src/main/java/com/lti/Fetch.java", "file_name": "Fetch.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": 32, "lang": "en", "doc_t... | https://github.com/Ruchika0810/Hiber | 190 | FILENAME: Fetch.java | 0.279042 | package com.lti;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.lti.dao.CustomerDa... |
88533c0a-4306-45be-a35a-6edeaed050ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-04 10:26:20", "repo_name": "nazar-art/auto_stub", "sub_path": "/src/main/java/net/lelyak/edu/core/driver/Driver.java", "file_name": "Driver.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 26... | https://github.com/nazar-art/auto_stub | 191 | FILENAME: Driver.java | 0.245085 | package net.lelyak.edu.core.driver;
import net.lelyak.edu.core.common.Config;
import net.lelyak.edu.core.parallel.WebDriverPool;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriverService;
public class Driver {
public final static WebDriverPool dr... |
bdd65843-97f3-421a-b2a5-6b160a482d59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-10 01:06:11", "repo_name": "Acomy/flowtreatment-service", "sub_path": "/src/main/java/com/bossien/flowtreatmentservice/handler/MessageContainer.java", "file_name": "MessageContainer.java", "file_ext": "java", ... | https://github.com/Acomy/flowtreatment-service | 214 | FILENAME: MessageContainer.java | 0.267408 | package com.bossien.flowtreatmentservice.handler;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 消息容器
*
* @author gb
*/
public class MessageContainer<K extends MessageHandler<V>,V> {
private CopyOnWriteArrayList<K> messageHandlers = new CopyOnWriteA... |
1bb9ebc3-75fe-40e9-8bc8-55988cae6d8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-23 01:45:43", "repo_name": "18380163461/transformer", "sub_path": "/src/main/java/transformer/demo/BaseConstants.java", "file_name": "BaseConstants.java", "file_ext": "java", "file_size_in_byte": 982, "line_co... | https://github.com/18380163461/transformer | 200 | FILENAME: BaseConstants.java | 0.253861 | package transformer.demo;
public class BaseConstants {
/**
* @Author: youpengda@qq.com
* @Description: 0:失效 1:生效
*/
public enum State {
INVALID("0", "失效"),
VALID("1", "生效"),
;
private String key;
private String name;
State(String key, String name... |
de963215-fecb-4ab1-9234-9602deef2990 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 06:13:25", "repo_name": "MRLEILOVE/log2mongo", "sub_path": "/log2mongo-server/src/main/java/xyz/yuanwl/job/LogsCleanupTask.java", "file_name": "LogsCleanupTask.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/MRLEILOVE/log2mongo | 328 | FILENAME: LogsCleanupTask.java | 0.272799 | package xyz.yuanwl.job;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import xyz.yuanwl.config.LogsRtProperties;
import xyz.yuanwl.service.ProdService;
import ... |
b2b6e62e-d4e5-40b4-a6f5-9908d6bcf082 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-15T17:56:20", "repo_name": "nealmatrix/emulator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1029, "line_count": 31, "lang": "en", "doc_type": "text", "blob_... | https://github.com/nealmatrix/emulator | 263 | FILENAME: README.md | 0.258326 | # CHIP-8 Emulator
## Usage
After download or clone the repository, I use CMake to build the code, then run the `chip8` program.
The default game is Tetris. If you want to use CLI, please uncomment `#define CLI` in the main.cpp file.
### Command Line Usage
chip8 \<Scale> \<Delay> \<Rom>
Scale: scale factor to enlarg... |
816d9f85-cd0f-47ad-aabf-07a039c5a9ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 12:24:46", "repo_name": "avshabavsha/rabbitmqplainjava", "sub_path": "/src/main/java/com/rabbitmq/tutorial/RabbitHelper.java", "file_name": "RabbitHelper.java", "file_ext": "java", "file_size_in_byte": 1007... | https://github.com/avshabavsha/rabbitmqplainjava | 184 | FILENAME: RabbitHelper.java | 0.233706 | package com.rabbitmq.tutorial;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
import java.net.URISyntaxException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import jav... |
f1478031-0e7d-4e15-96ef-a9b8aad10094 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-23 12:12:48", "repo_name": "zhongl/lab", "sub_path": "/benchmarker/src/test/java/com/github/zhongl/benchmarker/FixInstanceSizeFactoryTest.java", "file_name": "FixInstanceSizeFactoryTest.java", "file_ext": "jav... | https://github.com/zhongl/lab | 199 | FILENAME: FixInstanceSizeFactoryTest.java | 0.285372 | package com.github.zhongl.benchmarker;
import org.junit.Test;
import java.util.concurrent.Callable;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assertThat;
/** @author <a href="mailto:zhong.lunfu@gmail.com">zhongl<a> */
public class FixInstanceSizeFactoryTest {
@Test
public void r... |
af267f2e-ad6e-4ca3-8e06-1ca03eb1659a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-08 16:35:09", "repo_name": "rexlManu/decompiled-shop-plugin", "sub_path": "/src/main/java/conj/Shop/tools/StringUtil.java", "file_name": "StringUtil.java", "file_ext": "java", "file_size_in_byte": 973, "line_c... | https://github.com/rexlManu/decompiled-shop-plugin | 213 | FILENAME: StringUtil.java | 0.261331 | package conj.Shop.tools;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
public class StringUtil {
public static String toString(List<String> list) {
if (list == null) {
return null;
} else {
String string = "";
String s... |
df4f1b0d-3fbe-45d1-a66b-0d4725cddeaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-05 05:56:57", "repo_name": "kanaktenguria/Tello-Drone-Simulator", "sub_path": "/src/Flyer/StateReceiver.java", "file_name": "StateReceiver.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 40... | https://github.com/kanaktenguria/Tello-Drone-Simulator | 193 | FILENAME: StateReceiver.java | 0.253861 | package Flyer;
import Common.DroneCommunicator;
import Common.DroneState;
import Message.Status;
import java.net.SocketException;
public class StateReceiver implements Runnable{
DroneState droneState;
private Status status;
public StateReceiver(DroneState droneState) {
this.droneState=droneState;... |
8e016bcd-8372-4543-977b-4c76352f62b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-25 12:25:31", "repo_name": "rohitguta2432/tr-learn-api", "sub_path": "/src/main/java/com/workevr/api/config/AwsConfig.java", "file_name": "AwsConfig.java", "file_ext": "java", "file_size_in_byte": 982, "line_c... | https://github.com/rohitguta2432/tr-learn-api | 207 | FILENAME: AwsConfig.java | 0.20947 | package com.workevr.api.config;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.AWSStaticCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import org.springframework.beans.factory.annotatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.