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 |
|---|---|---|---|---|---|---|
3952e2b7-623e-43b4-9bc9-7ef6395d78c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-10 15:16:59", "repo_name": "HelloNYAC/FinalProject_CST2335", "sub_path": "/app/src/main/java/com/finalproject_cst2335/trivia/TriviaEmptyActivity.java", "file_name": "TriviaEmptyActivity.java", "file_ext": "jav... | https://github.com/HelloNYAC/FinalProject_CST2335 | 196 | FILENAME: TriviaEmptyActivity.java | 0.253861 | package com.finalproject_cst2335.trivia;
import android.app.Activity;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.finalproject_cst2335.R;
public class TriviaEmptyActivity extends AppCompatActivity {
@Override
/**
* To pass bundle with data to fragement
*... |
a0c2d2f0-8356-48d1-b613-f56b1796cf40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-14 22:44:20", "repo_name": "Alex-astakhov/IO_Technologies", "sub_path": "/src/main/java/pageObjects/reportPages/LeftMenuBar.java", "file_name": "LeftMenuBar.java", "file_ext": "java", "file_size_in_byte": 998,... | https://github.com/Alex-astakhov/IO_Technologies | 224 | FILENAME: LeftMenuBar.java | 0.259826 | package pageObjects.reportPages;
import core.MethodsFactory;
import org.openqa.selenium.By;
import ru.yandex.qatools.allure.annotations.Step;
public class LeftMenuBar extends MethodsFactory {
private By tvDashboardIcon = By.cssSelector(".fullscreen_icon");
private By homeLeftBar = By.cssSelector("[qa-... |
b7d76cd1-b84f-4aff-bfa3-93c4c3fcedb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-17 12:57:27", "repo_name": "anikolv/webteck-ws", "sub_path": "/src/main/java/com/rest/controller/CurrencyController.java", "file_name": "CurrencyController.java", "file_ext": "java", "file_size_in_byte": 1010,... | https://github.com/anikolv/webteck-ws | 187 | FILENAME: CurrencyController.java | 0.286169 | package com.rest.controller;
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody... |
fd1feec6-5a0a-41cd-ae95-b1d4016ce3a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-31 12:52:12", "repo_name": "geeker-lait/user-center", "sub_path": "/lmt-mbsp-user-controller/src/main/java/com/lmt/mbsp/user/controller/ResourcesController.java", "file_name": "ResourcesController.java", "file... | https://github.com/geeker-lait/user-center | 190 | FILENAME: ResourcesController.java | 0.221351 | package com.lmt.mbsp.user.controller;
import com.lmt.framework.support.model.message.ResponseMessage;
import com.lmt.framework.support.service.CrudService;
import com.lmt.framework.support.web.controller.CrudController;
import com.lmt.mbsp.user.dto.ResourcesQuery;
import com.lmt.mbsp.user.entity.resources.Resources;
i... |
a80ed4b7-b7cd-445e-bc04-c577d7295f56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-11 13:07:22", "repo_name": "MorkovkAs/auto-sql-migration-tool", "sub_path": "/src/main/java/ru/morkovka/migrationspring/utils/SkypeUtils.java", "file_name": "SkypeUtils.java", "file_ext": "java", "file_size_in... | https://github.com/MorkovkAs/auto-sql-migration-tool | 260 | FILENAME: SkypeUtils.java | 0.247987 | package ru.morkovka.migrationspring.utils;
import com.samczsun.skype4j.Skype;
import com.samczsun.skype4j.SkypeBuilder;
import com.samczsun.skype4j.exceptions.ConnectionException;
import com.samczsun.skype4j.exceptions.InvalidCredentialsException;
import com.samczsun.skype4j.exceptions.NotParticipatingException;
publ... |
5c86ef05-bffe-4a52-8d24-ac9811ab1505 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-15 19:14:48", "repo_name": "ilasoftwaretesting/GoogleFireFox", "sub_path": "/GoogleFireFox/src/test/java/org/example/MyStepDef.java", "file_name": "MyStepDef.java", "file_ext": "java", "file_size_in_byte": 105... | https://github.com/ilasoftwaretesting/GoogleFireFox | 241 | FILENAME: MyStepDef.java | 0.279828 | package org.example;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.junit.Assert;
import org.openqa.selenium.By;
public class MyStepDef extends BasePage {
LoginPage loginpage = new LoginPage();
@When("^I enter username \"([^\"]*)\"$")
public void i_enter_username(String E... |
f894fba1-7ec7-482e-b4e4-566d41c035a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 16:51:20", "repo_name": "bartgerard/lifestarter", "sub_path": "/server/web/src/main/java/be/gerard/starter/web/PledgeRestController.java", "file_name": "PledgeRestController.java", "file_ext": "java", "file... | https://github.com/bartgerard/lifestarter | 219 | FILENAME: PledgeRestController.java | 0.282196 | package be.gerard.starter.web;
import be.gerard.starter.model.Pledge;
import be.gerard.starter.service.PledgeService;
import be.gerard.starter.service.RegistrationService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Re... |
74e0ad57-318f-4260-84fe-44fdbc1bf9a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-07T11:47:55", "repo_name": "anton-shikov/Trimmomatic_try", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1216, "line_count": 48, "lang": "en", "doc_type": "text... | https://github.com/anton-shikov/Trimmomatic_try | 316 | FILENAME: README.md | 0.247987 | # Trimmomatic_try
A simple trimmomatic-like script to trim fastq-files.
## Getting Started
This tool allows you to trim sequences and trimmed file as a result.
### Prerequisites
You need to install python3 with Biopython library to run this tool.
### Installing
To install this tool clone this repository to your P... |
3af97886-ea1c-49dd-bfaf-b85665fe08d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 15:22:46", "repo_name": "prashantkaushik11/Josh", "sub_path": "/src/main/java/com/josh/model/CourseId.java", "file_name": "CourseId.java", "file_ext": "java", "file_size_in_byte": 1102, "line_count": 48, "l... | https://github.com/prashantkaushik11/Josh | 234 | FILENAME: CourseId.java | 0.252384 | package com.josh.model;
import org.hibernate.validator.constraints.NotEmpty;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
@Embeddable
public class CourseId implements Serializable {
@NotEmpty(message = "courseName must not be empty")
private String courseName;
... |
568a4113-3c21-4e87-84bf-74045414852c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-08 10:33:01", "repo_name": "yinzongchang/spring_transaction", "sub_path": "/src/main/java/com/yinzo/jichu/ReflectUtil.java", "file_name": "ReflectUtil.java", "file_ext": "java", "file_size_in_byte": 1182, "lin... | https://github.com/yinzongchang/spring_transaction | 249 | FILENAME: ReflectUtil.java | 0.268941 | package com.yinzo.jichu;
import java.lang.reflect.Method;
/**
* 通用的反射工具类
*
* Title: ReflectUtil.java<br>
* Description: <br>
* Copyright: Copyright (c) 2015<br>
* Company: 北京云杉世界信息技术有限公司<br>
*
* @author undyliu 2015年11月13日
*/
public class ReflectUtil {
public static <T> T cloneFrom(Object obj, Class<T... |
489d218e-d246-4542-a90e-a684891d0dcb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-04 21:51:28", "repo_name": "emilpyp/studentDB", "sub_path": "/Executor/src/main/java/models/Subject.java", "file_name": "Subject.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 51, "lang": ... | https://github.com/emilpyp/studentDB | 230 | FILENAME: Subject.java | 0.259826 | package models;
import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.Objects;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "subjects")
public class Subject ... |
b98492dd-36e2-4160-b24b-a511f1589339 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-17 14:33:54", "repo_name": "hehaihao/Test", "sub_path": "/project/block_browser/src/main/java/com/xm6leefun/block_browser/home/mvp/BlockBrowserHomeModelImp.java", "file_name": "BlockBrowserHomeModelImp.java", ... | https://github.com/hehaihao/Test | 242 | FILENAME: BlockBrowserHomeModelImp.java | 0.271252 | package com.xm6leefun.block_browser.home.mvp;
import com.xm6leefun.block_browser.api.BlockBrowserApiService;
import io.reactivex.Observable;
/**
* @Description:
* @Author: cyh
* @CreateDate: 2021/4/14
*/
public class BlockBrowserHomeModelImp implements BlockBrowserHomeContract.IModel{
private BlockBrowserA... |
74034c0e-c49b-4baa-9b64-068fb72e3329 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-19 01:07:54", "repo_name": "katalinkovacs/MyDropwizard", "sub_path": "/src/main/java/resources/DoSomethingResource.java", "file_name": "DoSomethingResource.java", "file_ext": "java", "file_size_in_byte": 1131,... | https://github.com/katalinkovacs/MyDropwizard | 236 | FILENAME: DoSomethingResource.java | 0.26588 | package resources;
import representation.DoSomething;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.io.IOException;
@Path("/dosomething")
@Produces(MediaType.APPLICATION_JSON)
public class DoSomethingResource {
private String doi... |
3e5e3e3d-b2c1-4b60-a8b4-c0fea4b5d725 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-17 15:46:34", "repo_name": "masaya1507/google-guice-sample", "sub_path": "/src/main/java/jp/projects/miya/google_guice_sample/module/GuiceModule.java", "file_name": "GuiceModule.java", "file_ext": "java", "fil... | https://github.com/masaya1507/google-guice-sample | 238 | FILENAME: GuiceModule.java | 0.29584 | package jp.projects.miya.google_guice_sample.module;
import jp.projects.miya.google_guice_sample.annotation.AopLogging;
import jp.projects.miya.google_guice_sample.component.IComponent;
import jp.projects.miya.google_guice_sample.component.SampleComponent;
import jp.projects.miya.google_guice_sample.interceptor.Loggin... |
c488f6fd-7d76-40d0-b819-fcd27f23d658 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-16 19:03:28", "repo_name": "itakenami/rest-swing", "sub_path": "/src/main/java/swing/ui/form/Combo.java", "file_name": "Combo.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 44, "lang": "en... | https://github.com/itakenami/rest-swing | 223 | FILENAME: Combo.java | 0.291787 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package swing.ui.form;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JComboBox;
import swing.model.DefaultModel;
/**
*
* @author itakenami
*/
public class Combo extends JComboBox implements F... |
78c69333-2081-4be2-a3a9-2d10dd3d0713 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 00:39:53", "repo_name": "aliKhan94/sdet", "sub_path": "/TestNG/Activity1.java", "file_name": "Activity1.java", "file_ext": "java", "file_size_in_byte": 1216, "line_count": 45, "lang": "en", "doc_type": "cod... | https://github.com/aliKhan94/sdet | 255 | FILENAME: Activity1.java | 0.279042 | package testNGTest;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
... |
743f677f-7010-4dbb-98e3-1458f0ac1b68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-20 01:16:36", "repo_name": "wz2cool/canal-utils", "sub_path": "/src/main/java/com/github/wz2cool/canal/utils/generator/Db2SqlTemplateGenerator.java", "file_name": "Db2SqlTemplateGenerator.java", "file_ext": "j... | https://github.com/wz2cool/canal-utils | 249 | FILENAME: Db2SqlTemplateGenerator.java | 0.229535 | package com.github.wz2cool.canal.utils.generator;
import com.github.wz2cool.canal.utils.converter.BaseAlterSqlConverter;
import com.github.wz2cool.canal.utils.converter.IValuePlaceholderConverter;
import com.github.wz2cool.canal.utils.converter.db2.Db2AlterSqlConverter;
import com.github.wz2cool.canal.utils.converter.... |
9adfd749-243d-4d18-818e-514dd45f7c2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-07 09:20:12", "repo_name": "Saukonoja/Mobile-Module", "sub_path": "/Mobile-Project/SignalStrength/app/src/main/java/fi/jamk/signalstrength/HttpRequestTask.java", "file_name": "HttpRequestTask.java", "file_ext"... | https://github.com/Saukonoja/Mobile-Module | 232 | FILENAME: HttpRequestTask.java | 0.290176 | package fi.jamk.signalstrength;
import android.os.AsyncTask;
import android.util.Log;
import static java.util.UUID.randomUUID;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.web.client.RestTemplate;
import java.util.Date;
import java.util.UUID;
import j... |
5c6cfa35-475b-497f-9339-b23b6471f5c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 14:42:16", "repo_name": "jinhak94/kh-arduino", "sub_path": "/HelloArduino/src/com/kh/arduino/controller/TestServlet.java", "file_name": "TestServlet.java", "file_ext": "java", "file_size_in_byte": 1089, "li... | https://github.com/jinhak94/kh-arduino | 212 | FILENAME: TestServlet.java | 0.23231 | package com.kh.arduino.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/test")
public class TestSe... |
8d7c63fe-e59f-4d54-bdb2-b7424c7a9bef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-21 18:33:18", "repo_name": "fmorris2/viking-api", "sub_path": "/src/viking/api/questing/Questing.java", "file_name": "Questing.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 34, "lang": "en... | https://github.com/fmorris2/viking-api | 234 | FILENAME: Questing.java | 0.287768 | package viking.api.questing;
import org.osbot.rs07.api.ui.RS2Widget;
import viking.api.Timing;
import viking.framework.VMethodProvider;
/**
* Created by Sphiinx on 1/19/2017.
*/
public class Questing extends VMethodProvider {
private final int QUEST_COMPLETION_INTERFACE = 277;
private final int QUEST_COMPL... |
41b669b3-3782-43b0-b59f-cfc064b302db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-02 07:36:24", "repo_name": "2016hsir/myRepository", "sub_path": "/app/src/main/java/com/example/hxf/day28customlistview/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/2016hsir/myRepository | 250 | FILENAME: MainActivity.java | 0.275909 | package com.example.hxf.day28customlistview;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import java.util.ArrayList;
import java.util.List;
public class MainActivity extends AppCompatActivity {
List<String> datas;
String[] strings={
... |
1503ee0a-6933-415d-b690-915f4217f4c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-03T02:30:26", "repo_name": "FooBartn/Ucs-Puptr", "sub_path": "/docs/Invoke-PuptrTest.md", "file_name": "Invoke-PuptrTest.md", "file_ext": "md", "file_size_in_byte": 1130, "line_count": 43, "lang": "en", "d... | https://github.com/FooBartn/Ucs-Puptr | 261 | FILENAME: Invoke-PuptrTest.md | 0.259826 | This is where all the magic happens.
...
Actually it's just a wrapper for Pester, built to run against a specified set of tests/configurations
# Running Ucs-Puptr
> Note: This requires a configuration to exist
Let's assume you have your Prod configuration, you want to run all of the tests against it, but you do no... |
95e39a52-b821-4304-951c-bd9871f8c12b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-05 02:06:32", "repo_name": "CoricovMA/JSeek", "sub_path": "/src/main/java/org/jseek/response/Response.java", "file_name": "Response.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 44, "lang... | https://github.com/CoricovMA/JSeek | 221 | FILENAME: Response.java | 0.23231 | package org.jseek.response;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import org.jseek.config.JSeekConfig;
import org.jseek.requests.Request;
public abstract class Response {
private MessageReceivedEvent event;
private Request parentRequest;
... |
252a3a42-25ce-449d-9973-1c259c1f11bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 13:32:34", "repo_name": "longnutrasweet/springcloud", "sub_path": "/eureka-gateway-5003/src/main/java/com/nutrasweet/jackson/TestJackson.java", "file_name": "TestJackson.java", "file_ext": "java", "file_siz... | https://github.com/longnutrasweet/springcloud | 224 | FILENAME: TestJackson.java | 0.242206 | package com.nutrasweet.jackson;
import com.fasterxml.jackson.core.JsonEncoding;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.File;
import jav... |
6bcbfb33-f8bf-4629-9628-b89e2833acdc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-16T14:33:26", "repo_name": "levatas-agency/engineering", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1133, "line_count": 21, "lang": "en", "doc_type": "text",... | https://github.com/levatas-agency/engineering | 236 | FILENAME: README.md | 0.256832 | # Engineering handbook
At Levatas, our Engineering team is a fundamental part of the success of our company. For us to understand what's important, to guide the decisions we make every day, and to help us grow and create the future we want to develop, we put together this handbook consisting of the following sections:... |
470e36f1-7d89-4632-a920-637809af39af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-17T18:32:33", "repo_name": "feliciaaurelia/KAMPUSMERDEKA_SDETIntern_TestCase_FeliciaAureliaS", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1215, "line_count":... | https://github.com/feliciaaurelia/KAMPUSMERDEKA_SDETIntern_TestCase_FeliciaAureliaS | 291 | FILENAME: README.md | 0.294215 | Web automation script was made using Katalon Studio as the automation tools that I choose.
Automated testing is divided into 2 test cases, a one-time flight and a round-trip flight.
Work files are uploaded in .rar format.
Testing is carried out starting from entering the tiket.com website, choosing a flight, choosing a... |
99c56ff0-91e5-418f-8e36-cad15e6ae972 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-15 04:13:26", "repo_name": "wcyz666/libapp", "sub_path": "/src/com/example/libapp/LibActivity.java", "file_name": "LibActivity.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 68, "lang": "e... | https://github.com/wcyz666/libapp | 249 | FILENAME: LibActivity.java | 0.252384 | package com.example.libapp;
import java.net.URL;
import java.text.DateFormat;
import java.util.Date;
public class LibActivity {
private String eventTitle;
private URL contentURL;
private Date date;
private String datestring;
public LibActivity()
{
eventTitle = new Stri... |
57e08a94-bcb0-4c45-982a-57ae39ccc6c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-09 20:03:43", "repo_name": "arollavengers/backend-java", "sub_path": "/backend-core/src/main/java/arollavengers/core/events/pandemic/FirstPlayerDesignatedEvent.java", "file_name": "FirstPlayerDesignatedEvent.j... | https://github.com/arollavengers/backend-java | 233 | FILENAME: FirstPlayerDesignatedEvent.java | 0.249447 | package arollavengers.core.events.pandemic;
import arollavengers.core.domain.pandemic.MemberKey;
import arollavengers.core.infrastructure.Id;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonTypeInfo;
/**
* @author <a href=... |
383faa52-d502-45d5-8a8c-3d6583000c69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-14 14:48:35", "repo_name": "li-yong-jie/1114-springcloud", "sub_path": "/1109-provider-management/1112-hystrix/src/main/java/com/aaa/jie/springcloud/controller/UserController.java", "file_name": "UserControlle... | https://github.com/li-yong-jie/1114-springcloud | 243 | FILENAME: UserController.java | 0.218669 | package com.aaa.jie.springcloud.controller;
import com.aaa.jie.springcloud.Model.User;
import com.aaa.jie.springcloud.UserService.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Request... |
8da961c0-af6e-4c25-bb59-4676046cb46b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-07 09:56:11", "repo_name": "jwee0330/jwp-was", "sub_path": "/src/test/java/http/RequestLineParserTest.java", "file_name": "RequestLineParserTest.java", "file_ext": "java", "file_size_in_byte": 1227, "line_coun... | https://github.com/jwee0330/jwp-was | 291 | FILENAME: RequestLineParserTest.java | 0.283781 | package http;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class RequestLineParserTest {
@Test
public void parseGet() {
RequestLine requestLine = RequestLineParser.parse("GET /users HTTP/1.1");
assertThat(requestLine).isEqualTo(RequestLine.of(... |
90e99b8f-2def-43bb-986b-25fbbf85f7dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-05 12:40:02", "repo_name": "NazarYunko/TT", "sub_path": "/src/sample/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 34, "lang": "en", "doc_type": "code", "bl... | https://github.com/NazarYunko/TT | 188 | FILENAME: Main.java | 0.249447 | package sample;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
import sample.controller.Controller;
public class Main extends Application {
@... |
e0eb8c0e-e45c-49cf-b5ef-44b593fcae23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-24 03:57:25", "repo_name": "castrolle/sitp", "sub_path": "/LocationFromGPS/src/in/wptrafficanalyzer/locationfromgps/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/castrolle/sitp | 225 | FILENAME: MainActivity.java | 0.27048 | package in.wptrafficanalyzer.locationfromgps;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle sav... |
dd8699dd-2ba6-48e6-aa60-ff065b93cc5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-08 23:49:43", "repo_name": "dev-alves/flashmeeting-tdd-iteris", "sub_path": "/src/main/java/com/tdd/services/PersonService.java", "file_name": "PersonService.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/dev-alves/flashmeeting-tdd-iteris | 195 | FILENAME: PersonService.java | 0.275909 | package com.tdd.services;
import com.tdd.domain.entities.Person;
import com.tdd.domain.exceptions.BirthDateException;
import com.tdd.domain.exceptions.PersonNotFoundException;
import com.tdd.repositories.PersonRepository;
import com.tdd.utils.AgeUtils;
import lombok.RequiredArgsConstructor;
import org.apache.commons.l... |
b7c3fe21-11b1-4add-a68a-5114edb85d28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-20 07:25:50", "repo_name": "prabhatomer/POC", "sub_path": "/src/main/java/hibernate/StoreSendMail.java", "file_name": "StoreSendMail.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 38, "lang... | https://github.com/prabhatomer/POC | 231 | FILENAME: StoreSendMail.java | 0.255344 | package hibernate;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
public class StoreSendMail {
public String storeMail(String to, String subject, String message) {
Configuration cf... |
0a0d5f1f-5166-4005-9a19-59c392d68ec3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-19T16:27:18", "repo_name": "edwardstock/httb", "sub_path": "/RELEASE.md", "file_name": "RELEASE.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 30, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/edwardstock/httb | 229 | FILENAME: RELEASE.md | 0.245085 | # Release notes
## 1.0.1
- Added support for request mocking
- Temporary, tests will work on mock request instead of server. In future, custom web server will be integrated
- Added support for MSVC
- Added support to build shared library and DLL
## 1.0.0
- Stable release
- Refactored code and used c++17 standar... |
71bbe435-726b-49f2-952f-a4ca0b80fc41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-04 07:33:33", "repo_name": "renddel/Car-leasing", "sub_path": "/src/main/java/com/carLease/carLease/controller/CreditApplicationController.java", "file_name": "CreditApplicationController.java", "file_ext": "j... | https://github.com/renddel/Car-leasing | 213 | FILENAME: CreditApplicationController.java | 0.272799 | package com.carLease.carLease.controller;
import com.carLease.carLease.model.CreditApplication;
import com.carLease.carLease.service.CreditApplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
imp... |
21a40948-fca2-458e-9c50-e55933f6a7aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-20 13:23:42", "repo_name": "morgande51/trivia-app", "sub_path": "/trivia-service/src/main/java/com/nge/triviaapp/security/UserDetails.java", "file_name": "UserDetails.java", "file_ext": "java", "file_size_in_b... | https://github.com/morgande51/trivia-app | 243 | FILENAME: UserDetails.java | 0.26588 | package com.nge.triviaapp.security;
import java.io.Serializable;
import javax.json.JsonObject;
import javax.json.JsonString;
import javax.json.bind.annotation.JsonbTransient;
import com.nge.triviaapp.domain.Contestant;
import lombok.Data;
@Data
public class UserDetails implements Serializable {
private String[]... |
4439a768-a32e-414a-9935-9d7bdd3ff62e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-16T22:37:15", "repo_name": "radytheprogrammer/QuotesOnDev", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1132, "line_count": 49, "lang": "en", "doc_type": "tex... | https://github.com/radytheprogrammer/QuotesOnDev | 270 | FILENAME: README.md | 0.286968 | # QuotesOnDev
Sample API call using RESTapi from the client computer
$(function() {
//this is your event listener
$('.randomQuote').on('click', function(e)
$.ajax({
method: 'get',
url:
red_vars.rest_url + 'wp/v2/posts?filter[orderby]=rand&filter[posts_per_pa... |
5a2f180a-b6c7-4870-9e32-d263f80bd6f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-17 02:49:57", "repo_name": "moshangpiaoxue/kUtilsxDemo", "sub_path": "/libsx/src/main/java/com/mo/libsx/utils/viewUtil/RecycleViewUtil.java", "file_name": "RecycleViewUtil.java", "file_ext": "java", "file_size... | https://github.com/moshangpiaoxue/kUtilsxDemo | 221 | FILENAME: RecycleViewUtil.java | 0.26588 | package com.mo.libsx.utils.viewUtil;
import android.view.View;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.mo.libsx.utils.tips_utils.LogUtil;
/**
* @ author:mo
* @ data:2019/4/19:15:26
* @ 功能:KRecycleView工具类
*/
public class RecycleViewUt... |
2b5f0e89-c249-4eec-b0f2-ce0a1b52d7b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-15 03:41:37", "repo_name": "gege0121/clothes-Tracking", "sub_path": "/src/main/java/com/ascending/training/service/HistoryService.java", "file_name": "HistoryService.java", "file_ext": "java", "file_size_in_by... | https://github.com/gege0121/clothes-Tracking | 198 | FILENAME: HistoryService.java | 0.264358 | package com.ascending.training.service;
import com.ascending.training.model.History;
import com.ascending.training.repository.HistoryDao;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.time.LocalDate;
import java.util.... |
41f9a0f8-3c10-43bf-9652-6e2da9e38201 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 19:44:55", "repo_name": "CottonMC/Workshop", "sub_path": "/src/main/java/io/github/cottonmc/workshop/binding/BindingType.java", "file_name": "BindingType.java", "file_ext": "java", "file_size_in_byte": 993,... | https://github.com/CottonMC/Workshop | 192 | FILENAME: BindingType.java | 0.23092 | package io.github.cottonmc.workshop.binding;
import com.google.common.base.MoreObjects;
import io.github.cottonmc.workshop.item.mold.MoldType;
import net.minecraft.util.Identifier;
public class BindingType {
private final Identifier identifier;
private final int colorPalette;
public BindingType(Identifie... |
6cb98f32-013f-42d6-bdb3-e1cf64e613c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 20:46:49", "repo_name": "aleksandarb99/Apoteka_Projekat", "sub_path": "/Backend/PharmacyProject/src/main/java/com/team11/PharmacyProject/security/JWTUserDetailsService.java", "file_name": "JWTUserDetailsSer... | https://github.com/aleksandarb99/Apoteka_Projekat | 166 | FILENAME: JWTUserDetailsService.java | 0.221351 | package com.team11.PharmacyProject.security;
import com.team11.PharmacyProject.users.user.MyUser;
import com.team11.PharmacyProject.users.user.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.secu... |
16841607-bc3c-4fdb-a884-984baa125c90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-17 03:08:36", "repo_name": "zjhyteam/EQWeiXin", "sub_path": "/src/org/earthQuake/course/common/bean/GroupSend.java", "file_name": "GroupSend.java", "file_ext": "java", "file_size_in_byte": 1187, "line_count": ... | https://github.com/zjhyteam/EQWeiXin | 299 | FILENAME: GroupSend.java | 0.2227 | package org.earthQuake.course.common.bean;
/**
* 短信群发信息表
* @author 徐晓亮
*
*/
public class GroupSend implements java.io.Serializable{
//短信群发信息ID
private int id;
//标题
private String title;
//发送时间
private String s_time;
//内容
private String content;
//图片路径
private String imageName;
public GroupSend() {
... |
8e715d9e-7bd1-4684-b358-733bfa4c3482 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-25 17:25:22", "repo_name": "MecanicalDragon/LearningApp", "sub_path": "/reactivit/bombarder/src/main/java/net/medrag/reactivit/reactivitapp/bombarder/service/SleepController.java", "file_name": "SleepControlle... | https://github.com/MecanicalDragon/LearningApp | 250 | FILENAME: SleepController.java | 0.261331 | package net.medrag.reactivit.reactivitapp.bombarder.service;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import net.medrag.reactivit.dto.RequestDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.w... |
e6735e85-4bd5-45a6-ba57-2619dac5b641 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-28 14:37:46", "repo_name": "GrupoProgra2/TrabajoGrupal2LabProgra2", "sub_path": "/src/trabajogrupal2/PlanTarjeta.java", "file_name": "PlanTarjeta.java", "file_ext": "java", "file_size_in_byte": 1008, "line_cou... | https://github.com/GrupoProgra2/TrabajoGrupal2LabProgra2 | 226 | FILENAME: PlanTarjeta.java | 0.256832 | /*
* 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 trabajogrupal2;
import java.util.Calendar;
/**
*
* @author Justm
*/
public class PlanTarjeta extends PlanBasico{
priv... |
347e3d10-85f7-46b8-b78a-c12486bb6e75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-19 13:22:14", "repo_name": "alexmilis/java-course", "sub_path": "/hw11-0036499702/src/main/java/hr/fer/zemris/java/hw11/jnotepadapp/local/AbstractLocalizationProvider.java", "file_name": "AbstractLocalizationP... | https://github.com/alexmilis/java-course | 215 | FILENAME: AbstractLocalizationProvider.java | 0.287768 | package hr.fer.zemris.java.hw11.jnotepadapp.local;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
/**
* Abstract implementation of {@link ILocalizationProvider}.
* Implements addition and removal of listeners.
* Provides method that notifies listeners.
* @author Alex
*
... |
e2922667-698a-477e-a318-62f8cbf1ff93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-10 17:51:19", "repo_name": "JavDriver/anime-checker", "sub_path": "/src/main/java/nasirov/yv/data/animedia/AnimediaTitleSearchInfo.java", "file_name": "AnimediaTitleSearchInfo.java", "file_ext": "java", "file_... | https://github.com/JavDriver/anime-checker | 241 | FILENAME: AnimediaTitleSearchInfo.java | 0.240775 | package nasirov.yv.data.animedia;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* Anime information for search on animedia
* Created by nasirov.yv
*/
@JsonIgnor... |
f09979be-fc0d-4215-b521-e99aaa97ca48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-03 11:06:18", "repo_name": "brokolee/fu", "sub_path": "/Kapitel 5/src/bsp_FlowLayout_BufferedReader_TextFile/FlowLayoutTest.java", "file_name": "FlowLayoutTest.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/brokolee/fu | 241 | FILENAME: FlowLayoutTest.java | 0.273574 | package bsp_FlowLayout_BufferedReader_TextFile;
import java.awt.*;
import java.io.*;
import java.util.StringTokenizer;
import adhoc5_BaseFrame.BaseFrame;
public class FlowLayoutTest {
public static void main(String[] args) throws HeadlessException, IOException {
Frame f = new BaseFrame();
f.setTi... |
340ab51f-c20c-4f59-8605-792c62e1ac57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 18:48:11", "repo_name": "HanYehong/vue-springboot-uppis", "sub_path": "/src/main/java/com/gly/uppis/login/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_siz... | https://github.com/HanYehong/vue-springboot-uppis | 214 | FILENAME: LoginController.java | 0.208179 | package com.gly.uppis.login.controller;
import com.gly.uppis.common.cache.RedisHelper;
import com.gly.uppis.common.response.Response;
import com.gly.uppis.common.util.UserUtil;
import com.gly.uppis.login.controller.request.LoginParamRequest;
import com.gly.uppis.login.service.LoginService;
import org.springframework.b... |
4301c1a0-a305-4649-bea4-bb8eb6e0c70b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-03 11:59:15", "repo_name": "manikanth004/manikanth_project", "sub_path": "/testing/src/test_fb/screen_capture.java", "file_name": "screen_capture.java", "file_ext": "java", "file_size_in_byte": 1010, "line_cou... | https://github.com/manikanth004/manikanth_project | 223 | FILENAME: screen_capture.java | 0.294215 | package test_fb;
import java.awt.Robot;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.... |
12e9a091-919a-47cb-8f20-40d3969ce59a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-27 05:21:20", "repo_name": "cynicLT/excel-api", "sub_path": "/src/main/java/org/cynic/excel/service/manager/FileManagerFactory.java", "file_name": "FileManagerFactory.java", "file_ext": "java", "file_size_in_b... | https://github.com/cynicLT/excel-api | 197 | FILENAME: FileManagerFactory.java | 0.27513 | package org.cynic.excel.service.manager;
import org.cynic.excel.data.FileFormat;
import org.cynic.excel.service.manager.excel.XlsFileManager;
import org.cynic.excel.service.manager.excel.XlsxFileManager;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import... |
5e539a56-3e17-4490-bdd7-7d390d47beb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-11 10:11:48", "repo_name": "fuatbakkal/LocationApp", "sub_path": "/app/src/main/java/com/fuat/locationapp/MyPlace.java", "file_name": "MyPlace.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count"... | https://github.com/fuatbakkal/LocationApp | 228 | FILENAME: MyPlace.java | 0.242206 | package com.fuat.locationapp;
import com.google.android.gms.maps.model.LatLng;
public class MyPlace {
private String id, name;
private double latitude, longitude;
public MyPlace(String id, String name, LatLng latLng) {
this.id = id;
this.name = name;
this.latitude = latLng.latitu... |
d821d940-47af-4eb6-a090-81c580d9716c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-19 03:35:53", "repo_name": "ToastedSnackBar/arbor-android", "sub_path": "/app/src/main/java/com/github/toastedsnackbar/arbor/net/responses/AuthorResponse.java", "file_name": "AuthorResponse.java", "file_ext": ... | https://github.com/ToastedSnackBar/arbor-android | 213 | FILENAME: AuthorResponse.java | 0.23231 | package com.github.toastedsnackbar.arbor.net.responses;
import android.os.Parcel;
import com.google.gson.annotations.SerializedName;
public class AuthorResponse extends ApiResponse {
@SerializedName("email")
public String mEmail;
@SerializedName("name")
public String mName;
public AuthorRespon... |
55639ef6-0ff1-4598-ae2f-bd4d206503ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-29 06:31:25", "repo_name": "liqilun/ikilun-zookeeper", "sub_path": "/src/main/java/com/ikilun/web/controller/zk/ZkController.java", "file_name": "ZkController.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/liqilun/ikilun-zookeeper | 237 | FILENAME: ZkController.java | 0.290176 | package com.ikilun.web.controller.zk;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.... |
6ff1e4bf-9749-4460-86df-0be36354b80e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-05 23:15:52", "repo_name": "stevehav/iowa-caucus-app", "sub_path": "/sources/com/google/firebase/firestore/core/DatabaseInfo.java", "file_name": "DatabaseInfo.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/stevehav/iowa-caucus-app | 216 | FILENAME: DatabaseInfo.java | 0.282196 | package com.google.firebase.firestore.core;
import com.google.firebase.firestore.model.DatabaseId;
/* compiled from: com.google.firebase:firebase-firestore@@20.2.0 */
public final class DatabaseInfo {
private final DatabaseId databaseId;
private final String host;
private final String persistenceKey;
... |
d4ea33bf-b6ce-4b35-a286-e175ed4ab6ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-11 02:36:34", "repo_name": "Jzcob/Majikku", "sub_path": "/src/main/java/majikku/majikku/Events/Leave.java", "file_name": "Leave.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count": 37, "lang": "... | https://github.com/Jzcob/Majikku | 251 | FILENAME: Leave.java | 0.247987 | package majikku.majikku.Events;
import majikku.majikku.Commands.Fly;
import majikku.majikku.Commands.God;
import me.clip.placeholderapi.PlaceholderAPI;
import majikku.majikku.Majikku;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.L... |
60b42915-f407-4083-8b8c-9cf274378b5b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-28 11:12:36", "repo_name": "Moruna/AndroidSkills", "sub_path": "/ImageCacheTest/app/src/main/java/com/moruna/imagecachetest/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_... | https://github.com/Moruna/AndroidSkills | 250 | FILENAME: MainActivity.java | 0.246533 | package com.moruna.imagecachetest;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import com.moruna.imagecachetest.Util.BitmapUtil;
public class MainActivity extends AppCompatActivity {
private ImageView imageView;
private... |
f80c046c-cfda-435d-ab38-6105cc742932 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-23 16:55:30", "repo_name": "thiago1fc3/educ4", "sub_path": "/core/src/main/java/br/com/educ4/core/userstory/week/CreateWeeksByRangeDateUS.java", "file_name": "CreateWeeksByRangeDateUS.java", "file_ext": "java"... | https://github.com/thiago1fc3/educ4 | 232 | FILENAME: CreateWeeksByRangeDateUS.java | 0.29584 | package br.com.educ4.core.userstory.week;
import br.com.educ4.core.domain.Week;
import br.com.educ4.core.ports.driven.repository.week.WeekRepositoryPort;
import br.com.educ4.core.ports.driver.week.CreateWeeksByRangeDatePort;
import lombok.RequiredArgsConstructor;
import org.bson.types.ObjectId;
import org.springframew... |
e08240a3-309e-4859-8faa-d40d545440eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-12 18:05:55", "repo_name": "mdemiguelr/ISST-Grupo23-RGPD", "sub_path": "/RGPD/src/es/upm/dit/isst/rgpd/servlets/ServeFileServlet.java", "file_name": "ServeFileServlet.java", "file_ext": "java", "file_size_in_b... | https://github.com/mdemiguelr/ISST-Grupo23-RGPD | 211 | FILENAME: ServeFileServlet.java | 0.250913 | package es.upm.dit.isst.rgpd.servlets;
import java.io.IOException;
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 es.upm.dit.isst.rgpd... |
ce7599fc-75eb-4626-be42-8efab6fec3af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-07 13:35:34", "repo_name": "alsgh4098/BaekJun", "sub_path": "/Baekjoon/src/Main_2941_크로아티아알파벳.java", "file_name": "Main_2941_크로아티아알파벳.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 51, "la... | https://github.com/alsgh4098/BaekJun | 331 | FILENAME: Main_2941_크로아티아알파벳.java | 0.295027 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main_2941_크로아티아알파벳 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String string = br.readLine();
char[] chr_a... |
6eb3cb8f-1f78-4212-9db3-46840a55345a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-20 01:58:14", "repo_name": "ahemenson/Tirando-De-Letra-2.0", "sub_path": "/src/com/projetoUfPB/tirandodeletra/DicaActivity.java", "file_name": "DicaActivity.java", "file_ext": "java", "file_size_in_byte": 1039... | https://github.com/ahemenson/Tirando-De-Letra-2.0 | 243 | FILENAME: DicaActivity.java | 0.26588 | package com.projetoUfPB.tirandodeletra;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class DicaActivity extends Activity implements OnClickListene... |
9b287c77-f8bd-4fb0-be51-5141e26321c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-01 14:31:57", "repo_name": "zoltancsaszi/action-monitor-application", "sub_path": "/src/test/java/net/zoltancsaszi/actionmonitor/service/JmsListenerServiceTest.java", "file_name": "JmsListenerServiceTest.java"... | https://github.com/zoltancsaszi/action-monitor-application | 248 | FILENAME: JmsListenerServiceTest.java | 0.271252 | package net.zoltancsaszi.actionmonitor.service;
import net.zoltancsaszi.actionmonitor.dto.MonitoringEvent;
import org.apache.activemq.artemis.junit.EmbeddedActiveMQResource;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
imp... |
4f099755-bf76-4bb7-b182-fcebcd63662e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-17T13:59:03", "repo_name": "jeok/Embedded-Systems-Programming-2015", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1052, "line_count": 27, "lang": "en", "doc_ty... | https://github.com/jeok/Embedded-Systems-Programming-2015 | 469 | FILENAME: README.md | 0.255344 | # Embedded-Systems-Programming-2015
Obligatory coursework for course [521142A](https://weboodi.oulu.fi/oodi/opintjakstied.jsp?MD5avain=&Kieli=1&OpinKohd=16913373&OnkoIlmKelp=1&takaisin=ilmsuor.jsp&haettuOrg=-1&sortJarj=2&Kieli=1&NimiTunniste=embedded&AlkPvm=&PaatPvm=&Selite=&Sivu=0&haettuOpas=-1&haettuOppAin=&haettuLk=... |
ab0a729a-96b1-4aa0-91b1-59c6284944ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 09:12:12", "repo_name": "dorfingerjonas/battleships", "sub_path": "/src/main/java/Ship.java", "file_name": "Ship.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count": 48, "lang": "en", "doc_ty... | https://github.com/dorfingerjonas/battleships | 224 | FILENAME: Ship.java | 0.26588 | import java.util.ArrayList;
import java.util.List;
public class Ship {
List<ShipPart> parts = new ArrayList<>();
public Ship(char startX, char startY,int length, boolean horizontal) {
char x = startX;
char y = startY;
for (int i = 0; i < length;i++) {
parts.add(new ShipPar... |
9f1ce4c7-c12e-4bc0-b4c2-4932128d70a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-07 08:59:18", "repo_name": "gsilvatici/BPMN-Prolog", "sub_path": "/src/xmlparser/Edge.java", "file_name": "Edge.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": 59, "lang": "en", "doc_type":... | https://github.com/gsilvatici/BPMN-Prolog | 260 | FILENAME: Edge.java | 0.26588 | package xmlparser;
/**
*
* @author Stefan_524450
*
* For each edge in the business process diagram ("sequenceFlow"), we
* create an object Edge An Edge contains an id, a name, the id of the
* source, the id of the target, and eventually a condition The source
* and the target m... |
c2dea13c-def9-435a-955b-d8569bc88a00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 15:14:24", "repo_name": "Everess/TradingNetwork", "sub_path": "/src/main/java/tnSpringHibernate/dao/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 1133, "line_c... | https://github.com/Everess/TradingNetwork | 196 | FILENAME: UserDaoImpl.java | 0.250913 | package tnSpringHibernate.dao;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.springframework.stereotype.Repository;
import tnSpringHibernate.models.User;
import tnSpringHibernate.utils.HibernateSessionFactoryUtil;
@Repository
public class UserDaoImpl implements UserDao {
@Override
... |
1a950c0c-e2fa-4462-acf7-1517737ccd31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-02 21:47:43", "repo_name": "PF-G4/airports-indoor-location-backend", "sub_path": "/src/main/java/afinal/proyecto/cuatro/grupo/entities/Location.java", "file_name": "Location.java", "file_ext": "java", "file_si... | https://github.com/PF-G4/airports-indoor-location-backend | 273 | FILENAME: Location.java | 0.247987 | package afinal.proyecto.cuatro.grupo.entities;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Set;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Entity
@Table(name = "location")
public class Location {
@Id
@Column(name = "id")
private Integer id;
@NotNull
pri... |
5f200156-bfda-41a7-a88e-557b0a92de26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 04:41:03", "repo_name": "parkjg20/DeliveryTalk", "sub_path": "/app/src/main/java/com/dataflow/deliverytalk/Models/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte": 965, ... | https://github.com/parkjg20/DeliveryTalk | 191 | FILENAME: Location.java | 0.216012 | package com.dataflow.deliverytalk.Models;
import android.os.Parcel;
import android.os.Parcelable;
public class Location implements Parcelable {
String name;
public Location(){}
public Location(String name) {
this.name = name;
}
protected Location(Parcel in){
name = in.readStri... |
af2a423b-9810-4482-836d-edcf45d4d06c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-18 13:38:28", "repo_name": "HighlandsWalker/JavaDocs", "sub_path": "/Collections/warmup-part2/src/main/java/exercise3/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1217, ... | https://github.com/HighlandsWalker/JavaDocs | 260 | FILENAME: Student.java | 0.258326 | package exercise3;
/**
* Created by Gabriel.Tabus on 7/7/2017.
*/
public class Student {
public String firstName;
public String lastName;
public Student(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
// GETTERS
public String get... |
4474df86-3b3c-4412-8874-f732bd861c4d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-24 12:05:03", "repo_name": "ReinRaus/Mrakopedia-Mobile", "sub_path": "/app/src/main/java/com/randomname/mrakopedia/models/api/recentchanges/RecentChangesResult.java", "file_name": "RecentChangesResult.java", "... | https://github.com/ReinRaus/Mrakopedia-Mobile | 221 | FILENAME: RecentChangesResult.java | 0.216012 | package com.randomname.mrakopedia.models.api.recentchanges;
import com.google.gson.annotations.SerializedName;
/**
* Created by Vlad on 27.01.2016.
*/
public class RecentChangesResult {
private Query query;
@SerializedName("continue")
private Continue mContinue;
private String batchcomplete;
... |
2872419d-8458-4460-97cf-3b2e1aea5783 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-11 01:44:23", "repo_name": "tortoises/cabrite", "sub_path": "/src/com/imm/mqtt/subscribe/Subscriber.java", "file_name": "Subscriber.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 40, "lang... | https://github.com/tortoises/cabrite | 244 | FILENAME: Subscriber.java | 0.245085 | package com.imm.mqtt.subscribe;
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttException;
import com.imm.mqtt.publish.Utils;
public class Subscriber {
public static final String BROKER_URL = "tcp://10.1.222.99:1883";
// We have to generate a unique Client id.
St... |
2b45abe7-19ff-46bb-aa7a-b356eaf39802 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-13 14:00:06", "repo_name": "Alvin-Tang/JVP", "sub_path": "/core/src/main/java/com/jvp/core/model/Result.java", "file_name": "Result.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 64, "lang... | https://github.com/Alvin-Tang/JVP | 229 | FILENAME: Result.java | 0.27048 | package com.jvp.core.model;
import java.io.Serializable;
public class Result implements Serializable
{
/**
*
*/
private static final long serialVersionUID = 1L;
private boolean success;
private Serializable sid;
private Message message;
public Result()
{
this(true, null);
}
public Result(boo... |
bfc74c1d-db25-4b5b-b240-6318ee67bff6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-28 16:48:26", "repo_name": "MatweyL/mkjsn", "sub_path": "/src/com/company/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1214, "line_count": 38, "lang": "en", "doc_type": "code"... | https://github.com/MatweyL/mkjsn | 256 | FILENAME: Main.java | 0.27513 | package com.company;
import com.gen.MYJSONLexer;
import com.gen.MYJSONParser;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.tree.ParseTree;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.t... |
dfea648b-5cef-415e-8ac1-b0b77d0dd0db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-22T00:37:06", "repo_name": "AwpData/Csgo-Case-Simulator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 22, "lang": "en", "doc_type": "text"... | https://github.com/AwpData/Csgo-Case-Simulator | 295 | FILENAME: README.md | 0.256832 | <h1> Csgo Case Simulator </h1>
-Open cases and obtain skins <br>
-Sell skins for credits <br>
-Don't go bankrupt or the game is over! <br>
-Data (will be) is saved using <a href="https://www.oracle.com/database/technologies/appdev/jdbc.html">JDBC</a> written in SQLite
<h1> Dev Path </h1>
-Need to add inventory saving/... |
539b7e1c-1f75-4e9c-b57c-1492e8382eca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 07:58:26", "repo_name": "yogita72/project10", "sub_path": "/src/main/java/com/ProjectOne/app/OneGraphApi.java", "file_name": "OneGraphApi.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count": ... | https://github.com/yogita72/project10 | 253 | FILENAME: OneGraphApi.java | 0.262842 |
package com.ProjectOne.app;
import java.io.*;
import java.util.*;
import org.scribe.builder.*;
import org.scribe.builder.api.*;
import org.scribe.model.*;
import org.scribe.oauth.*;
import org.scribe.extractors.*;
import org.scribe.model.*;
import org.scribe.utils.*;
public class OneGraphApi extends DefaultApi20
{
... |
930406fe-cb72-4b84-aeed-8b45f6450f90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-07 02:42:58", "repo_name": "JuanFRios/MatriculasLab1", "sub_path": "/src/java/com/udea/ejb/MatriculaFacade.java", "file_name": "MatriculaFacade.java", "file_ext": "java", "file_size_in_byte": 1046, "line_count... | https://github.com/JuanFRios/MatriculasLab1 | 226 | FILENAME: MatriculaFacade.java | 0.286169 | /*
* 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.udea.ejb;
import com.udea.modelo.Matricula;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.En... |
9e8f0af5-3808-4e16-9fed-9b61f2a0e6ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-24 16:26:09", "repo_name": "pekalam/FuelPrice", "sub_path": "/aplikacja/app/src/main/java/com/projekt/fuelprice/voicerecog/CheapestStationVoiceCommand.java", "file_name": "CheapestStationVoiceCommand.java", "f... | https://github.com/pekalam/FuelPrice | 222 | FILENAME: CheapestStationVoiceCommand.java | 0.295027 | package com.projekt.fuelprice.voicerecog;
import android.content.Context;
import com.projekt.fuelprice.data.GasStation;
import com.projekt.fuelprice.viewmodels.GasStationsViewModel;
public class CheapestStationVoiceCommand extends VoiceCommand {
public CheapestStationVoiceCommand(String cmdTail) {
super(... |
586eef98-4f7b-482e-a008-2de4a0c86733 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-08 21:16:04", "repo_name": "godwintrav/MyMusicApp", "sub_path": "/src/sample/datamodel/GetMusic.java", "file_name": "GetMusic.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 38, "lang": "en... | https://github.com/godwintrav/MyMusicApp | 226 | FILENAME: GetMusic.java | 0.267408 | package sample.datamodel;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.nio.file.FileVisitResult;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttri... |
4babd52c-ec71-4cd1-ace1-f089e49fdca5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-20 08:41:29", "repo_name": "finnflyer/CaseDB", "sub_path": "/src/main/java/com/demo/model/issue/IssuePhaseBean.java", "file_name": "IssuePhaseBean.java", "file_ext": "java", "file_size_in_byte": 1217, "line_co... | https://github.com/finnflyer/CaseDB | 320 | FILENAME: IssuePhaseBean.java | 0.290981 | package com.demo.model.issue;
import javax.persistence.*;
/**
* Created by Admin on 2016/9/8.
*/
@Entity
@Table(name = "ctdissuephase", schema = "", catalog = "casedb")
public class IssuePhaseBean {
private int phaseId;
private String phaseCato;
@Id
@Column(name = "PhaseID")
public int getPhase... |
798d7357-8105-4086-a228-3106a8e959f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 12:46:53", "repo_name": "abhi1505/Hostel-Information", "sub_path": "/src/main/java/com/first/controller/service/Hostel_feedbackservice/Hostel_feedbackserviceimp.java", "file_name": "Hostel_feedbackserviceim... | https://github.com/abhi1505/Hostel-Information | 212 | FILENAME: Hostel_feedbackserviceimp.java | 0.274351 | package com.first.controller.service.Hostel_feedbackservice;
import com.first.controller.dao.Hostel_feedback.Hostel_feedbackdao;
import com.first.controller.domain.Hostel_feedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.t... |
330612b0-a67a-499c-b5ee-2631d79afcbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-30 08:17:38", "repo_name": "zhengzongsheng/pdf_annotate", "sub_path": "/src/main/java/Filter/ValidateFilter.java", "file_name": "ValidateFilter.java", "file_ext": "java", "file_size_in_byte": 1167, "line_count... | https://github.com/zhengzongsheng/pdf_annotate | 239 | FILENAME: ValidateFilter.java | 0.249447 | package Filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.ser... |
db14c202-ef47-4da0-af7f-6fcdea0b2142 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-10 19:37:14", "repo_name": "ITKosta829/Pics2Share", "sub_path": "/app/src/main/java/com/example/deanc/pics2share/Pic.java", "file_name": "Pic.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": ... | https://github.com/ITKosta829/Pics2Share | 229 | FILENAME: Pic.java | 0.226784 | package com.example.deanc.pics2share;
import java.util.ArrayList;
/**
* Created by DeanC on 7/28/2016.
*/
public class Pic {
private String picName;
private ArrayList<String> commentList;
private String URL;
private int likes;
public Pic(String picName, String URL) {
this.picName = pic... |
9beb8cbf-91d1-4f49-b4f0-23c2ed6b1d48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-27 03:37:40", "repo_name": "tapdevops/PatroliApi", "sub_path": "/android/app/src/main/java/com/patroliapi/LocationServiceModule.java", "file_name": "LocationServiceModule.java", "file_ext": "java", "file_size_... | https://github.com/tapdevops/PatroliApi | 200 | FILENAME: LocationServiceModule.java | 0.218669 | package com.patroliapi;
import android.util.Log;
import android.widget.Toast;
import android.content.Intent;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import javax.annotation.Nonnull;
public cl... |
352ee383-3d31-4542-97c9-05e8d69419e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-25 23:03:38", "repo_name": "wagnerwave/Dossier_Hacking_de_peluche", "sub_path": "/Application_code_source/eMybaby/sources/androidx/core/content/SharedPreferencesCompat.java", "file_name": "SharedPreferencesCom... | https://github.com/wagnerwave/Dossier_Hacking_de_peluche | 163 | FILENAME: SharedPreferencesCompat.java | 0.240775 | package androidx.core.content;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
@Deprecated
public final class SharedPreferencesCompat {
@Deprecated
public static final class EditorCompat {
public static EditorCompat sInstance;
public final Helper mHelper = new He... |
9319237b-cdbe-436b-b846-7fe0d2471b39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-19 11:56:30", "repo_name": "ALFREDProject/CalendarApp", "sub_path": "/app/src/main/java/eu/alfred/calendarapp/actions/ShowCalendarAction.java", "file_name": "ShowCalendarAction.java", "file_ext": "java", "file... | https://github.com/ALFREDProject/CalendarApp | 255 | FILENAME: ShowCalendarAction.java | 0.272799 | package eu.alfred.calendarapp.actions;
import java.util.Map;
import eu.alfred.api.proxies.interfaces.ICadeCommand;
import eu.alfred.api.speech.Cade;
import eu.alfred.calendarapp.CalendarView;
import eu.alfred.calendarapp.MainActivity;
import eu.alfred.calendarapp.R;
/**
* Created by Gary on 26.02.2016.
*/
public c... |
77f8fee8-10b1-404b-b197-2e40d3a111e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-30 00:19:40", "repo_name": "knmuni/MyProjectWorkspace", "sub_path": "/src/main/java/com/test/springboot/mybatis/resource/EmployeeResource.java", "file_name": "EmployeeResource.java", "file_ext": "java", "file_... | https://github.com/knmuni/MyProjectWorkspace | 218 | FILENAME: EmployeeResource.java | 0.245085 | package com.test.springboot.mybatis.resource;
import java.util.List;
import org.apache.ibatis.type.MappedTypes;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind... |
16bbad0a-52ee-4ffe-a6d8-ee52122ec501 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 23:34:14", "repo_name": "qiuchili/ggnn_graph_classification", "sub_path": "/program_data/JavaProgramData/20/45.java", "file_name": "45.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": 82,... | https://github.com/qiuchili/ggnn_graph_classification | 438 | FILENAME: 45.java | 0.280616 | package <missing>;
public class GlobalMembers
{
public static void insert(String st1, String st2)
{
int i;
int m;
int n;
char max;
m = st1.length();
max = st1[0];
n = m - 1;
for (i = 0;i < m;i++)
{
if (st1[i].compareTo(max) > 0)
{
max = st1[i];
n = i;
}
}
for (i = 0;i <= n;i... |
a9e0ae9b-54fc-4c7e-8133-0ee7b70991a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-15 10:20:49", "repo_name": "sdotolo71/learngit_myrep", "sub_path": "/src/main/java/com/example/base/components/Alien.java", "file_name": "Alien.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count... | https://github.com/sdotolo71/learngit_myrep | 269 | FILENAME: Alien.java | 0.279042 | package com.example.base.components;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
@Component("A1")
@Scope("singleton")
public ... |
6cbd7d1f-f6fd-42ee-b8ec-421b0be5dd02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 07:18:24", "repo_name": "Harjot-kaur-code/jewelleryshoppingproject", "sub_path": "/src/java/changestatus.java", "file_name": "changestatus.java", "file_ext": "java", "file_size_in_byte": 1135, "line_count":... | https://github.com/Harjot-kaur-code/jewelleryshoppingproject | 201 | FILENAME: changestatus.java | 0.275909 |
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.ResultSet;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... |
4ade0d2d-4e1b-4027-bb7b-2e43652c2e4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-05 05:05:41", "repo_name": "botukarajesh/food-delivery", "sub_path": "/src/main/java/com/food/delivery/service/impl/RestaurantServiceImpl.java", "file_name": "RestaurantServiceImpl.java", "file_ext": "java", "... | https://github.com/botukarajesh/food-delivery | 172 | FILENAME: RestaurantServiceImpl.java | 0.293404 | package com.food.delivery.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.food.delivery.entity.RestaurantEntity;
import com.food.delivery.repository.RestaurantRepository;
import com.food.delivery.service.Res... |
1eabc63f-b194-40ac-af5f-2d80b3e8d84b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-15 01:19:35", "repo_name": "lliule/rpc", "sub_path": "/src/test/java/zookeeper/ZookeeperClientDemo.java", "file_name": "ZookeeperClientDemo.java", "file_ext": "java", "file_size_in_byte": 1329, "line_count": 5... | https://github.com/lliule/rpc | 388 | FILENAME: ZookeeperClientDemo.java | 0.264358 | package zookeeper;
import org.I0Itec.zkclient.IZkDataListener;
import org.I0Itec.zkclient.ZkClient;
import org.junit.Test;
/**
* @author leliu
*/
public class ZookeeperClientDemo {
@Test
public void test() throws InterruptedException {
String zkServer = "106.12.204.20:2181";
int connectionTimeout = 3000;
Zk... |
b1fe035f-92fa-4e0b-a086-1c87b9d39301 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-07 12:37:29", "repo_name": "The-Neo-Noir/my-coding-practise", "sub_path": "/src/main/java/com/aneonoir/dsalgo/practise/linkedlist/InerSectionOfTwoSortedList.java", "file_name": "InerSectionOfTwoSortedList.java... | https://github.com/The-Neo-Noir/my-coding-practise | 231 | FILENAME: InerSectionOfTwoSortedList.java | 0.261331 | package com.aneonoir.dsalgo.practise.linkedlist;
import java.util.HashSet;
/**
* link:
*/
public class InerSectionOfTwoSortedList {
Node head = new Node(0); // object of LinkedList having Intersection of two LinkedLists
// Function to find Intersection of two LinkedLists
void getIntersection(Node hea... |
1b671808-2b70-4256-a10f-6567b801a94f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-02 10:26:20", "repo_name": "vmyla/DropwizardTest", "sub_path": "/src/main/java/com/test/dropwizardtest/config/ManagedPersistenceService.java", "file_name": "ManagedPersistenceService.java", "file_ext": "java",... | https://github.com/vmyla/DropwizardTest | 244 | FILENAME: ManagedPersistenceService.java | 0.26971 | package com.test.dropwizardtest.config;
import com.google.inject.Inject;
import com.google.inject.Provider;
import io.dropwizard.lifecycle.Managed;
/**
* Created by venkateswara.km on 01/02/16.
*/
public class ManagedPersistenceService implements Managed{
private Provider<PersistenceServiceLifeCycle> persistenc... |
318aec10-84b8-4400-9357-03914c854947 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-09-01 06:29:10", "repo_name": "liweinan0423/AppFactory", "sub_path": "/src/com/appfactory/library/view/TabView.java", "file_name": "TabView.java", "file_ext": "java", "file_size_in_byte": 1217, "line_count": 34, ... | https://github.com/liweinan0423/AppFactory | 234 | FILENAME: TabView.java | 0.295027 | package com.appfactory.library.view;
import android.content.Context;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
public class TabView extends RelativeLayout {
private ImageView image;
private TextView text;
public TabView(Context context, String str, int ... |
c1bfc843-48e7-4f3a-a702-b0c31c4c0b11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-12 21:58:36", "repo_name": "Minehut/Skellett", "sub_path": "/src/main/java/com/gmail/thelimeglass/SkellettPacket.java", "file_name": "SkellettPacket.java", "file_ext": "java", "file_size_in_byte": 1069, "line_... | https://github.com/Minehut/Skellett | 245 | FILENAME: SkellettPacket.java | 0.256832 | package com.gmail.thelimeglass;
import java.io.Serializable;
public class SkellettPacket implements Serializable {
private static final long serialVersionUID = -7377209366283539512L;
private final Boolean returnable;
private final Object object;
private final Object settable;
private final Skelle... |
2b7ef354-af03-4665-a748-8e7e374a4d71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-06 09:22:13", "repo_name": "yufengqi/kb", "sub_path": "/kb-core/src/main/java/cn/damai/kb/core/entity/Topic.java", "file_name": "Topic.java", "file_ext": "java", "file_size_in_byte": 1155, "line_count": 68, "l... | https://github.com/yufengqi/kb | 310 | FILENAME: Topic.java | 0.280616 | package cn.damai.kb.core.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* @author 王惠
* @version 创建时间:2014年8月27日 上午10:49:31
* @className Topic.java
*/
public class Topic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 518817062075204... |
46cea73d-7b16-42cc-9f0d-15557ec6e03a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-28 07:01:13", "repo_name": "0Gz2bflQyU0hpW/portal", "sub_path": "/datacubic/src/main/java/com/weibo/dip/data/platform/datacubic/youku/entity/Result.java", "file_name": "Result.java", "file_ext": "java", "file_... | https://github.com/0Gz2bflQyU0hpW/portal | 249 | FILENAME: Result.java | 0.249447 | package com.weibo.dip.data.platform.datacubic.youku.entity;
/**
* @author delia
*/
public class Result {
private String vid;
private String domainid;
private Data data;
public Result() {
}
public Result(String vid, String domainid) {
this.vid = vid;
this.domainid = domain... |
0c9710a8-e205-4cb9-ada5-7b58e3a364e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-04 13:05:17", "repo_name": "ElFeesho/CastAnyVid", "sub_path": "/app/src/main/java/fd/com/castanyvid/EditTextCastMediaView.java", "file_name": "EditTextCastMediaView.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ElFeesho/CastAnyVid | 238 | FILENAME: EditTextCastMediaView.java | 0.289372 | package fd.com.castanyvid;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class EditTextCastMediaView implements CastMediaPresenter.CastMediaView {
private final EditText castMediaUrl;
private final Button castMediaButton;
private Listener listener;
pu... |
7fcf6e37-3235-4b82-98a4-182c1c9385fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-17 22:30:30", "repo_name": "gorjanz/solved-exercises", "sub_path": "/NP_Labs/src/edu/finki/np/lab1/Transaction.java", "file_name": "Transaction.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count... | https://github.com/gorjanz/solved-exercises | 253 | FILENAME: Transaction.java | 0.276691 | package edu.finki.np.lab1;
public abstract class Transaction {
private long fromAccountId;
private long toAccountId;
private String description;
private String amount;
private String provision;
public Transaction(){
}
public Transaction(long from_id, long to_id, String descr, String amount){... |
bf976cdd-a2dd-4b2b-b339-8891bac886ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-21 15:32:23", "repo_name": "NIKMC/KC", "sub_path": "/app/src/main/java/com/nikmc/kc/ConfirmationActivity.java", "file_name": "ConfirmationActivity.java", "file_ext": "java", "file_size_in_byte": 1055, "line_co... | https://github.com/NIKMC/KC | 181 | FILENAME: ConfirmationActivity.java | 0.235108 | package com.nikmc.kc;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;
public class ConfirmationActivity extends FragmentActivity {
TextView ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.