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 |
|---|---|---|---|---|---|---|
ecd14c18-85a5-42ef-9d22-67ebb060fdd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-22 13:13:18", "repo_name": "audit4j/audit4j-core", "sub_path": "/src/main/java/org/audit4j/core/schedule/CronTask.java", "file_name": "CronTask.java", "file_ext": "java", "file_size_in_byte": 1164, "line_count... | https://github.com/audit4j/audit4j-core | 258 | FILENAME: CronTask.java | 0.250913 | package org.audit4j.core.schedule;
/**
* The Class CronTask.
*
* @author <a href="mailto:janith3000@gmail.com">Janith Bandara</a>
*/
public class CronTask extends TriggerTask {
/** The expression. */
private final String expression;
/**
* Create a new {@code CronTask}.
*
* @param run... |
0fd7d8a2-7e94-45d1-bdd9-ab685b4e9c4f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-16 14:25:08", "repo_name": "Srbnsng/ArobsMeetup", "sub_path": "/ArobsMeetup/ArobsMeetup/src/main/java/com/arobs/ArobsMeetup/repository/RepositoryFactory.java", "file_name": "RepositoryFactory.java", "file_ext"... | https://github.com/Srbnsng/ArobsMeetup | 179 | FILENAME: RepositoryFactory.java | 0.268941 | package com.arobs.ArobsMeetup.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class RepositoryFactory {
@Autowired
UserRepository userRepository;
@Autowired
ProposalRepository proposalRepository;
@Autowi... |
9102eb86-7bd0-4fb0-8775-28eafb317cd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-25 14:10:36", "repo_name": "baxykk/XML", "sub_path": "/src/main/java/ua/baxykkit/app/MyErrorHandler.java", "file_name": "MyErrorHandler.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 41, "... | https://github.com/baxykk/XML | 233 | FILENAME: MyErrorHandler.java | 0.245085 | package ua.baxykkit.app;
import java.io.PrintStream;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
public class MyErrorHandler implements ErrorHandler {
MyErrorHandler() {
}
private String getParseExceptionInfo(SAXParseException spe) {
String systemI... |
521e3fca-aed1-48ef-a38b-89a7ab7f5442 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-24 10:10:00", "repo_name": "SumitPShrestha/advautomation", "sub_path": "/src/main/java/com/advalent/automation/impl/pages/search/globalsearch/viewevent/recoveriesandreceipts/RecoveriesAndReceiptsTab.java", "fi... | https://github.com/SumitPShrestha/advautomation | 237 | FILENAME: RecoveriesAndReceiptsTab.java | 0.26971 | package com.advalent.automation.impl.pages.search.globalsearch.viewevent.recoveriesandreceipts;
import com.advalent.automation.api.components.tab.ITab;
import com.advalent.automation.impl.pages.common.AbstractWebComponent;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.s... |
14e9a7d1-81f3-4f7e-9b63-98ec5c4256fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-29 00:49:38", "repo_name": "XDelta/Seafaring", "sub_path": "/src/main/java/tk/deltawolf/sea/config/ConfigHelper.java", "file_name": "ConfigHelper.java", "file_ext": "java", "file_size_in_byte": 1035, "line_cou... | https://github.com/XDelta/Seafaring | 243 | FILENAME: ConfigHelper.java | 0.261331 | package tk.deltawolf.sea.config;
import net.minecraftforge.fml.config.ModConfig;
public class ConfigHelper {
public static ModConfig commonConfig;
public static ModConfig clientConfig;
public static void updateCommonConfig(ModConfig config) {
commonConfig = config;
Config.enableHaddockSpawning = Config.COMMO... |
e9f05f75-a7f1-46a7-a06d-cba864993541 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-03 21:13:40", "repo_name": "vishalsingh572/swaggerimplementation", "sub_path": "/admintool/src/main/java/com/admintool/service/EmployeeServiceImpl.java", "file_name": "EmployeeServiceImpl.java", "file_ext": "j... | https://github.com/vishalsingh572/swaggerimplementation | 204 | FILENAME: EmployeeServiceImpl.java | 0.288569 | package com.admintool.service;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.springframework.stereotype.Service;
import com.admintool.model.Employee;
@Service("employeeService")
public class EmployeeServiceImpl implements EmployeeService {
public Em... |
b3320499-1cf5-495e-b8db-3c58cf6c3c6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 15:55:45", "repo_name": "Iokhin/java-se", "sub_path": "/tm-server/src/main/java/ru/iokhin/tm/entity/Project.java", "file_name": "Project.java", "file_ext": "java", "file_size_in_byte": 1165, "line_count": 4... | https://github.com/Iokhin/java-se | 222 | FILENAME: Project.java | 0.275909 | package ru.iokhin.tm.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Cache;
import org.jetbrains.annotations.Nullable;
import ru.iokhin.tm.entityDTO.ProjectDTO;
import javax.persistence.*;
... |
60d011a0-fe8e-4f8d-89aa-7a65dd662053 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-12 03:05:28", "repo_name": "BryceLee/android-demo", "sub_path": "/jetpacklearning/src/main/java/com/android/jetpacklearning/databing/Ac_DataBing_Easy.java", "file_name": "Ac_DataBing_Easy.java", "file_ext": "j... | https://github.com/BryceLee/android-demo | 216 | FILENAME: Ac_DataBing_Easy.java | 0.242206 | package com.android.jetpacklearning.databing;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Toast;
import com.an... |
3d7fb17d-ef9f-41d5-b656-a52186f54422 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-16 10:12:23", "repo_name": "hendrayuanita/tugasLBS", "sub_path": "/app/src/main/java/com/example/myapplication/RegisterResult.java", "file_name": "RegisterResult.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/hendrayuanita/tugasLBS | 227 | FILENAME: RegisterResult.java | 0.249447 | package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class RegisterResult extends AppCompatActivity {
//Inisialisasi variabel
TextView tvResultNama, tvResu... |
b1ce59c9-89c0-43d7-93f7-f45ac2c885c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-18 09:09:31", "repo_name": "swapnilbagadia/covid19-bot", "sub_path": "/src/main/java/com/demo/covidbot/services/impl/TwilioWhatsappBotServiceImpl.java", "file_name": "TwilioWhatsappBotServiceImpl.java", "file_... | https://github.com/swapnilbagadia/covid19-bot | 223 | FILENAME: TwilioWhatsappBotServiceImpl.java | 0.250913 | package com.demo.covidbot.services.impl;
import com.demo.covidbot.apimodels.MessageCommand;
import com.demo.covidbot.services.IWhatsappBotService;
import com.demo.covidbot.services.commands.ActiveCasesCountryWiseCommand;
import com.demo.covidbot.services.commands.CommandRouter;
import com.twilio.rest.api.v2010.account... |
1cd22336-1154-433c-bb6c-99b8dc7868dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-04 16:17:48", "repo_name": "opannapo/FirebaseCrashReport", "sub_path": "/app/src/main/java/exmp/napodev/firebasecrashexample/entity/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/opannapo/FirebaseCrashReport | 249 | FILENAME: User.java | 0.23231 | package exmp.napodev.firebasecrashexample.entity;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by opannapo on 12/3/17.
*/
public class User implements Parcelable {
private int id;
private String name;
public User() {
}
public User(Parcel in) {
id = in.readInt... |
dd4bcc52-bea2-406e-8dc8-91e3b295b391 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-30 13:43:28", "repo_name": "Phoen-X/ilia-practice", "sub_path": "/src/main/java/com/iredko/testBook/AvailableCharSets.java", "file_name": "AvailableCharSets.java", "file_ext": "java", "file_size_in_byte": 996,... | https://github.com/Phoen-X/ilia-practice | 191 | FILENAME: AvailableCharSets.java | 0.284576 | package com.iredko.testBook;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.Iterator;
import java.util.SortedMap;
public class AvailableCharSets {
public static void main(String[] args) {
int count = 0;
SortedMap<String, Charset> charSets= Charset.availableCharsets();
... |
dcd30e6e-e8c9-4cc0-823c-759de9eba8f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-02 02:56:44", "repo_name": "soizensun/JavaFX", "sub_path": "/dictionary/src/sample/ModelMain.java", "file_name": "ModelMain.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 35, "lang": "en", ... | https://github.com/soizensun/JavaFX | 215 | FILENAME: ModelMain.java | 0.262842 | package sample;
public class ModelMain {
public static void main(String[] args) {
Vocabulary vo1 = new Vocabulary("hello", "noun", "a word used as a greeting", "Hello, Christina. How are you?");
Vocabulary vo2 = new Vocabulary("dog", "n.", "a kind of animal", "This is a dog");
Vocabulary vo... |
0261f2e2-5379-427e-a7d2-643c54a33911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-27 15:54:00", "repo_name": "MrGajewski/LastStand", "sub_path": "/Last Stand/src/Hero.java", "file_name": "Hero.java", "file_ext": "java", "file_size_in_byte": 1050, "line_count": 55, "lang": "en", "doc_type": ... | https://github.com/MrGajewski/LastStand | 304 | FILENAME: Hero.java | 0.283781 | import java.awt.Color;
import java.awt.event.KeyEvent;
public class Hero extends Person {
//Member variable section
public static int LEFT = KeyEvent.VK_A,
RIGHT = KeyEvent.VK_D,
UP = KeyEvent.VK_W,
DOWN = KeyEvent.VK_S,
BURST = KeyEvent.VK_SHIFT,
RELOAD = KeyEvent.VK_R;
... |
3443f0fe-117a-4a89-9331-9fd666c6c82e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-25 21:04:43", "repo_name": "jonnySotomonte/MELI", "sub_path": "/src/main/java/com/meli/core/model/SolarSystemWeather.java", "file_name": "SolarSystemWeather.java", "file_ext": "java", "file_size_in_byte": 1012... | https://github.com/jonnySotomonte/MELI | 213 | FILENAME: SolarSystemWeather.java | 0.292595 | package com.meli.core.model;
public class SolarSystemWeather {
private final int day;
private final WeatherCondition condition;
private final PlanetsAlignment alignment;
private final double planetsTrianglePerimeter;
public SolarSystemWeather(int day, WeatherCondition condition, PlanetsAlignment alignment,... |
7e67be8f-2393-4ebe-8d96-15747a615bcc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-13 20:07:46", "repo_name": "hal4j/hal4j", "sub_path": "/hal4j-jackson/src/test/java/com/github/hal4j/test/model/Money.java", "file_name": "Money.java", "file_ext": "java", "file_size_in_byte": 1034, "line_coun... | https://github.com/hal4j/hal4j | 199 | FILENAME: Money.java | 0.291787 | package com.github.hal4j.test.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Currency;
public class Money implements Serializable {
public final BigDecimal amount;
publ... |
8df0e3eb-ac55-4bad-bf8b-75e5555a1b96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-05 09:49:05", "repo_name": "pozziteo/ing-sw-2019-24", "sub_path": "/src/main/java/adrenaline/data/data_for_client/responses_for_view/fake_model/SquareDetails.java", "file_name": "SquareDetails.java", "file_ext... | https://github.com/pozziteo/ing-sw-2019-24 | 230 | FILENAME: SquareDetails.java | 0.286968 | package adrenaline.data.data_for_client.responses_for_view.fake_model;
import java.io.Serializable;
import java.util.List;
/**
* This class contains information for square shown to the client
*/
public abstract class SquareDetails implements Serializable {
private int id;
private List<String> playersOnSqua... |
13b50329-34fa-491a-bbe7-d72541144cf3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-30 10:53:41", "repo_name": "swapper9/sibintek-task-nifi", "sub_path": "/src/main/java/com/job/applicants/aptitude/test/InputCache.java", "file_name": "InputCache.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/swapper9/sibintek-task-nifi | 205 | FILENAME: InputCache.java | 0.295027 | package com.job.applicants.aptitude.test;
import java.io.*;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
public class InputCache {
private static Path path = Paths.get(System.getProperty("user.dir"), "input_data.dat");
... |
8e396390-1343-4105-8498-bdb7c2d62326 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 20:58:15", "repo_name": "chhavis334/basics", "sub_path": "/app/src/main/java/com/example/myapplication1/Customadapter.java", "file_name": "Customadapter.java", "file_ext": "java", "file_size_in_byte": 1191,... | https://github.com/chhavis334/basics | 242 | FILENAME: Customadapter.java | 0.293404 | package com.example.myapplication1;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
public class Customadapter extends BaseAdapter {
Context c;
String [] title={"fb",... |
1b1f17bf-fe41-400c-a423-940ae3ce012a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-28 19:06:33", "repo_name": "atirodkar3/CareerCupCode", "sub_path": "/ArraysandStrings1.java", "file_name": "ArraysandStrings1.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 57, "lang": "en... | https://github.com/atirodkar3/CareerCupCode | 227 | FILENAME: ArraysandStrings1.java | 0.281406 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Rosenkrantz
*/
import java.util.*;
public class ArraysandStrings1 {
public static void main(String args[])
{ Scanner s=new Scanner(System.in);
System.out.println("Enter String");
String in... |
2ad3e97c-8b9f-4b89-8f93-48bbd3b70539 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-23 16:41:47", "repo_name": "BrunoEleodoro/MVP-Android-Test", "sub_path": "/app/src/main/java/com/brunoeleodoro/org/mvptest/NovaTela.java", "file_name": "NovaTela.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/BrunoEleodoro/MVP-Android-Test | 229 | FILENAME: NovaTela.java | 0.249447 | package com.brunoeleodoro.org.mvptest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import com.brunoeleodoro.org.mvptest.MvpNovaTela.MVPNovaTela;
import com.brunoeleodoro.org.mvptest.MvpNovaTela.Presente... |
bcb7de65-a9e8-4528-8f41-7af0a035fef8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-02 12:24:28", "repo_name": "liximing666/DesignModel", "sub_path": "/designModel/Creator/Prototype/demo01/Video.java", "file_name": "Video.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 54,... | https://github.com/liximing666/DesignModel | 227 | FILENAME: Video.java | 0.23092 | package designModel.Creator.Prototype.demo01;
import java.util.Date;
public class Video implements Cloneable {
private String name = "aaa";
private Date creatTime = getCreatTime();
@Override
protected Video clone() throws CloneNotSupportedException {
Video v = (Video)super.clone();
v... |
ed893928-bbd0-4d9b-bbeb-6722aaac0bd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-27 08:30:30", "repo_name": "1507571873/-Bug", "sub_path": "/Admin_SHIELD/src/main/java/com/shield/service/impl/CheckingSettingServiceImpl.java", "file_name": "CheckingSettingServiceImpl.java", "file_ext": "jav... | https://github.com/1507571873/-Bug | 220 | FILENAME: CheckingSettingServiceImpl.java | 0.26588 | package com.shield.service.impl;
import com.alibaba.fastjson.JSON;
import com.shield.mapper.CheckingSettingMapper;
import com.shield.model.User;
import com.shield.service.CheckingSettingService;
import com.shield.utils.SubjectUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
impo... |
07c9755a-4f05-47b5-84f2-0ad305413388 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-26T02:42:15", "repo_name": "hardzork/rocketshoes-mobile", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1165, "line_count": 34, "lang": "en", "doc_type": "text"... | https://github.com/hardzork/rocketshoes-mobile | 286 | FILENAME: README.md | 0.245085 | # React Native Simple e-Shop features (Inspired by Netshoes)
Hardzork's GoStack 7.0 Challenge 07
This project uses React and React Native concepts such as Styled Components, States, Props, React Navigation, React Native Gesture Handler, Redux and Redux Saga. It also use Json Server to simulate an API to provide produ... |
7b44d685-dd08-40c7-8c9f-39e2d4581150 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-20 10:25:29", "repo_name": "SusannaFerrari88/guests-tracking", "sub_path": "/src/main/java/de/hrs/innovation/guests/tracking/config/MyExceptionHandler.java", "file_name": "MyExceptionHandler.java", "file_ext":... | https://github.com/SusannaFerrari88/guests-tracking | 199 | FILENAME: MyExceptionHandler.java | 0.224055 |
package de.hrs.innovation.guests.tracking.config;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import lombok.AllArgsConstru... |
4db49c53-e16d-4977-addc-6e601568caaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-22 12:58:59", "repo_name": "yuanpeili/springBoot", "sub_path": "/src/main/java/com/lpy/marks/service/impl/ApplyServiceImpl.java", "file_name": "ApplyServiceImpl.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/yuanpeili/springBoot | 216 | FILENAME: ApplyServiceImpl.java | 0.267408 | package com.lpy.marks.service.impl;
import com.lpy.marks.dao.ApplyDao;
import com.lpy.marks.model.Apply;
import com.lpy.marks.service.ApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ApplyServiceImpl implements ApplyServi... |
4fe9ebd4-aee8-499e-83fe-e99a9a0b46f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-04 19:37:36", "repo_name": "kgabriel/Ape", "sub_path": "/src/ape/petri/generic/net/Transition.java", "file_name": "Transition.java", "file_ext": "java", "file_size_in_byte": 1043, "line_count": 53, "lang": "en... | https://github.com/kgabriel/Ape | 244 | FILENAME: Transition.java | 0.293404 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ape.petri.generic.net;
import ape.util.aml.AMLNode;
/**
*
* @author Gabriel
*/
public class Transition extends Node {
public Transition(Net net, TransitionData data) {
super(net, data);... |
aac73607-19c2-42bf-b0a8-22362ae82746 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 10:35:35", "repo_name": "laxminath29/security", "sub_path": "/src/main/java/com/myprojects/spring/security/service/common/BaseService.java", "file_name": "BaseService.java", "file_ext": "java", "file_size_i... | https://github.com/laxminath29/security | 206 | FILENAME: BaseService.java | 0.284576 | package com.myprojects.spring.security.service.common;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import com.myprojects.spring.security.entity.user.User;
import com.myprojects.spring.security.util.LongObfuscator;
public abstract cl... |
9e79e5b3-f818-455c-a68d-05f099944c44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-06 08:33:23", "repo_name": "luechtdiode/scalatuts", "sub_path": "/WhyAkka/src/main/java/queueworker/JProducerWorkersApp.java", "file_name": "JProducerWorkersApp.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/luechtdiode/scalatuts | 219 | FILENAME: JProducerWorkersApp.java | 0.280616 | package queueworker;
import java.util.concurrent.TimeUnit;
import scala.concurrent.duration.Duration;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import common.JMessageProtocol;
import common.JPub;
public class JProducerWorkersApp {
public static void main(String[] args) {
ActorSys... |
08dfba03-ffd6-472a-930c-78407ef60ce1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 11:08:04", "repo_name": "AuBGa/aubga", "sub_path": "/aubga-java/src/main/java/com/aubga/java/currentArt/chapter05/LockTest.java", "file_name": "LockTest.java", "file_ext": "java", "file_size_in_byte": 1191,... | https://github.com/AuBGa/aubga | 222 | FILENAME: LockTest.java | 0.252384 | package com.aubga.java.currentArt.chapter05;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class LockTest {
private static Lock lock = new ReentrantLock();
static class Runner implements Runnable{
boolean flag =... |
95820aa0-3d75-4412-b528-b5f07a36a997 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 10:54:37", "repo_name": "Dsingh8299/PlayersArena", "sub_path": "/app/src/main/java/xyz/toors/toors/Row_Member.java", "file_name": "Row_Member.java", "file_ext": "java", "file_size_in_byte": 1051, "line_coun... | https://github.com/Dsingh8299/PlayersArena | 240 | FILENAME: Row_Member.java | 0.235108 | package xyz.toors.toors;
public class Row_Member {
private String mDpResource;
private String mMemberName;
private String mLastMessage;
private String uid;
public long timestamp;
private String time="";
public Row_Member() {
}
public Row_Member( String Uid, String DpResource, S... |
f0bf2a29-b0d1-4f37-90d2-e5b2d8f8a531 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-05 19:59:10", "repo_name": "Arhsota/Android", "sub_path": "/Lessons/app/src/main/java/com/test/lessons/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1020, "line... | https://github.com/Arhsota/Android | 180 | FILENAME: MainActivity.java | 0.252384 | package com.test.lessons;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private TextView textView;
//* private TextView textViewGB;
@Ov... |
6f924ff5-edf7-40d0-b844-f4281044cd28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-09 01:59:39", "repo_name": "aluethi/Flux", "sub_path": "/src/ch/ventoo/flux/util/NIOInputStream.java", "file_name": "NIOInputStream.java", "file_ext": "java", "file_size_in_byte": 1165, "line_count": 57, "lang... | https://github.com/aluethi/Flux | 276 | FILENAME: NIOInputStream.java | 0.268941 | package ch.ventoo.flux.util;
import java.io.InputStream;
import java.nio.ByteBuffer;
/**
* NIO ByteBuffer InputStream wrapper. (Inspired by Apache Active MQ)
* Used to read from a ByteBuffer like it was a stream.
*/
public class NIOInputStream extends InputStream {
private final ByteBuffer _input;
public ... |
75c1c571-8319-4efe-b9c3-eebc3700383a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-02 06:44:23", "repo_name": "loading103/ddmath", "sub_path": "/app/src/main/java/com/tsinghuabigdata/edu/ddmath/receive/ShutdownReceiver.java", "file_name": "ShutdownReceiver.java", "file_ext": "java", "file_si... | https://github.com/loading103/ddmath | 199 | FILENAME: ShutdownReceiver.java | 0.255344 | package com.tsinghuabigdata.edu.ddmath.receive;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import com.tsinghuabigdata.edu.ddmath.util.AppLog;
public class ShutdownReceiver {
private static final BroadcastReceiver... |
5eb0733a-86e0-4f1c-a111-98e611fb2d65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-08 15:35:28", "repo_name": "P79N6A/temp", "sub_path": "/item-partner-provider/src/main/java/com/dfire/soa/item/partner/rocketmq/MyTransactionListener.java", "file_name": "MyTransactionListener.java", "file_ext... | https://github.com/P79N6A/temp | 209 | FILENAME: MyTransactionListener.java | 0.208179 | package com.dfire.soa.item.partner.rocketmq;
import com.dfire.soa.item.platform.constants.CommonConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.anno... |
376dcbf5-5aa5-4898-930e-ea4ce6bd0aca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-09-03T15:06:49", "repo_name": "Niels-Git/soulissapp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1065, "line_count": 10, "lang": "en", "doc_type": "text", "blob... | https://github.com/Niels-Git/soulissapp | 265 | FILENAME: README.md | 0.210766 | # soulissapp
SoulissApp is an Android Application that acts as client in Souliss Framework
You can find it published on <a href="https://play.google.com/store/apps/details?id=it.angelic.soulissclient">Play store</a>; please note that the app itself is useless unless a souliss run-time is found on a local or remote net... |
a5cea213-3281-419f-b7fe-92d3a68cb643 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-18 06:18:17", "repo_name": "devanshusomani99/Android-Development", "sub_path": "/main/java/com/example/devanshu/sql/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/devanshusomani99/Android-Development | 218 | FILENAME: MainActivity.java | 0.29584 | package com.example.devanshu.sql;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView input;
EditText text;
MyDBHandler dbHandler... |
fca2d780-b48c-4964-84a3-068215df83cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 11:56:59", "repo_name": "manishbit97/andoid-studio-codes", "sub_path": "/appp37videonew/src/com/example/appp37videonew/MainActivity37.java", "file_name": "MainActivity37.java", "file_ext": "java", "file_siz... | https://github.com/manishbit97/andoid-studio-codes | 209 | FILENAME: MainActivity37.java | 0.236516 | package com.example.appp37videonew;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.app.Activity;
import android.view.Menu;
import android.widget.MediaController;
import android.widget.VideoView;
public class MainActivity37 extends Activity {
@Override
protecte... |
bf02197d-ce20-4d3d-a92c-35a4a150f169 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-06T08:56:58", "repo_name": "krisleech/krisleech.github.io", "sub_path": "/source/_posts/2013-07-28-vim-remote-branches.markdown", "file_name": "2013-07-28-vim-remote-branches.markdown", "file_ext": "markdo... | https://github.com/krisleech/krisleech.github.io | 262 | FILENAME: 2013-07-28-vim-remote-branches.markdown | 0.216012 | ---
layout: post
title: "Remote Git Branches"
date: 2013-07-28 21:01
comments: true
published: true
categories: [git]
---
Some notes on managing remote branches
<!-- more -->
List remote branches
```
git branch -r
```
Checkout a remote branch
```
git fetch
git checkout -t origin/feature
```
Tracking links a loca... |
e8729518-bd55-4591-bbb8-6de95af832bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-28 07:35:52", "repo_name": "gyorgycsintalan/homeworks", "sub_path": "/nd035-c3-data-stores-and-persistence-project-starter-master/starter/critter/src/main/java/com/udacity/jdnd/course3/critter/service/PetServi... | https://github.com/gyorgycsintalan/homeworks | 218 | FILENAME: PetService.java | 0.282196 | package com.udacity.jdnd.course3.critter.service;
import com.udacity.jdnd.course3.critter.model.Pet;
import com.udacity.jdnd.course3.critter.repository.PetRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util... |
9dde5deb-d110-401d-bce4-3873e7298a50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-25 14:12:46", "repo_name": "gabi-250/minesweeperim", "sub_path": "/minesweeper/Cell.java", "file_name": "Cell.java", "file_ext": "java", "file_size_in_byte": 1049, "line_count": 68, "lang": "en", "doc_type": "... | https://github.com/gabi-250/minesweeperim | 256 | FILENAME: Cell.java | 0.290176 | package minesweeper;
public class Cell {
private boolean hasMine;
private boolean isFlagged;
private boolean isExplored;
private int adjacentMines;
public Cell(boolean hasMine) {
this.hasMine = hasMine;
this.isFlagged = false;
this.isExplored = false;
this.adjacen... |
5b7f9ae6-888a-4f1c-affe-47a5b5ea30cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-10 19:07:19", "repo_name": "patsuyash/TSFinder", "sub_path": "/src/main/java/com/suyash586/Meeting.java", "file_name": "Meeting.java", "file_ext": "java", "file_size_in_byte": 1018, "line_count": 52, "lang": "... | https://github.com/patsuyash/TSFinder | 217 | FILENAME: Meeting.java | 0.287768 | package com.suyash586;
import com.sun.javaws.exceptions.InvalidArgumentException;
import java.time.LocalDateTime;
/**
* Created by Suyash on 10-11-2015.
*/
public class Meeting {
private static int MIN_DURATION = 30;
private static int MAX_DURATION = 240;
private Integer duration;
private Strin... |
4b1b46ca-ef77-4ac6-95dd-796a94d48e65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 21:59:44", "repo_name": "pdfmarkov/web_lab4", "sub_path": "/backend/src/main/java/com/itmo/lab4/backend/security/RestAuthenticationEntryPoint.java", "file_name": "RestAuthenticationEntryPoint.java", "file_e... | https://github.com/pdfmarkov/web_lab4 | 152 | FILENAME: RestAuthenticationEntryPoint.java | 0.240775 | package com.itmo.lab4.backend.security;
import com.itmo.lab4.backend.exceptions.UserAlreadyExistException;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;
import javax.servlet.http.Http... |
3c3a1fa7-21a2-4541-a884-d2ed0dd7dfbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-01T22:49:18", "repo_name": "rubenerd/rubenerd.com", "sub_path": "/content/post/2016/perl-520-freebsd.markdown", "file_name": "perl-520-freebsd.markdown", "file_ext": "markdown", "file_size_in_byte": 1062, ... | https://github.com/rubenerd/rubenerd.com | 323 | FILENAME: perl-520-freebsd.markdown | 0.236516 | ---
title: "Perl 5.20 in FreeBSD"
date: "2016-01-07T15:46:00+10:00"
abstract: "Symlink has been moved"
year: "2016"
category: Software
tag:
- bsd
- freebsd
- perl
location: sydney
---
Running [Perl][perl] in [FreeBSD][freebsd]? You should be [using env][env], but a heads up by the tireless maintainers:
Message fro... |
4bb3395d-8f09-437a-8cd5-6004eaa1336c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-11 10:24:45", "repo_name": "nbeloglazov/homework", "sub_path": "/information_theory/src/main/java/TextConverter.java", "file_name": "TextConverter.java", "file_ext": "java", "file_size_in_byte": 1195, "line_co... | https://github.com/nbeloglazov/homework | 231 | FILENAME: TextConverter.java | 0.275909 | import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
public class TextConverter {
... |
5612a36b-8c61-4826-b7ce-d749aa411e9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-13 23:08:36", "repo_name": "OctoOsmo/DiskSpaceMonitoring", "sub_path": "/src/main/java/com/octoosmo/monitoring/disks/OutputParser.java", "file_name": "OutputParser.java", "file_ext": "java", "file_size_in_byte... | https://github.com/OctoOsmo/DiskSpaceMonitoring | 200 | FILENAME: OutputParser.java | 0.279042 | package com.octoosmo.monitoring.disks;
import java.util.*;
public class OutputParser {
public static Map<String, DiskInfo> parseDiskFreeOutput(String output){
Map<String, DiskInfo> diskInfoMap = new HashMap<String, DiskInfo>();
String[] lines = output.split("\n");
for (String line : Array... |
773ab219-e31a-4b0c-b175-799eb6e11b67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-02 15:19:00", "repo_name": "ICE1997/Chat", "sub_path": "/app/src/main/java/com/chzu/ice/chat/activity/chat/ChatModel.java", "file_name": "ChatModel.java", "file_ext": "java", "file_size_in_byte": 1036, "line_c... | https://github.com/ICE1997/Chat | 204 | FILENAME: ChatModel.java | 0.281406 | package com.chzu.ice.chat.activity.chat;
import android.content.Intent;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import com.chzu.ice.chat.App;
import com.chzu.ice.chat.config.MQTTConfig;
import com.chzu.ice.chat.pojo.mqtt.MTQQMessage;
import com.google.gson.Gson;
class ChatModel {
pr... |
14cfcbdf-5925-469d-863a-b08d1dd18052 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-24 13:02:14", "repo_name": "Neram42/WF", "sub_path": "/src/main/java/org/camunda/wf/hiring/sendMessages/RefuseApplicant.java", "file_name": "RefuseApplicant.java", "file_ext": "java", "file_size_in_byte": 1165... | https://github.com/Neram42/WF | 270 | FILENAME: RefuseApplicant.java | 0.290176 | package org.camunda.wf.hiring.sendMessages;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.camunda.wf.hiring.OutlookAccess.OutlookAccess;
import microsoft.exchange.webservices.data.core.ExchangeService;
/**
*
* This class sends an email to... |
243a3b28-2e65-4c78-addc-e50fa5c1a261 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-05 21:00:54", "repo_name": "thijsmaes/WebshopTemplate", "sub_path": "/webshoptemplate-frontend/src/main/java/be/webshop/templateshop/frontend/pages/Menubar.java", "file_name": "Menubar.java", "file_ext": "java... | https://github.com/thijsmaes/WebshopTemplate | 244 | FILENAME: Menubar.java | 0.245085 | package be.webshop.templateshop.frontend.pages;
import com.vaadin.ui.Button;
import com.vaadin.ui.HorizontalLayout;
/**
* Created by tmaes on 29/06/2015.
*/
public class Menubar {
public Menubar(){
createButtonView();
}
private HorizontalLayout createButtonView() {
HorizontalLayout buttonLayout = new Hori... |
43d4f75d-cfed-4d30-8a1d-ca0f4488304d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-04 22:55:30", "repo_name": "McLoy/HomeAccount", "sub_path": "/Console/src/main/java/ua/com/vtkachenko/HelpCommand.java", "file_name": "HelpCommand.java", "file_ext": "java", "file_size_in_byte": 1190, "line_co... | https://github.com/McLoy/HomeAccount | 213 | FILENAME: HelpCommand.java | 0.27048 | package ua.com.vtkachenko;
import org.kohsuke.args4j.CmdLineParser;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.core.env.SystemEnvironmentPropertySource;
import java.beans... |
cd0decbb-9e84-4e0f-a7c2-84e0fa0c889e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-22T04:44:39", "repo_name": "NoorA1125/react-portfolio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1035, "line_count": 41, "lang": "en", "doc_type": "text", ... | https://github.com/NoorA1125/react-portfolio | 260 | FILENAME: README.md | 0.23231 | # React Portfolio
## Table of Contents
* [Deployable Link](#deployable-links)
* [Description](#user-story)
* [License](#license)
* [Technology Used](#technology-used)
* [Questions](#questions)
## Deployable-Link
* (https://nabdikadir.herokuapp.com/)
## Description
This is my updated portfolio, portfolio #3. This ... |
2e22402e-2599-48a7-8242-c687549d816a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-08 20:57:22", "repo_name": "GrabzIt/grabzit", "sub_path": "/java/grabzit/src/main/java/it/grabz/grabzit/HttpUtility.java", "file_name": "HttpUtility.java", "file_ext": "java", "file_size_in_byte": 1082, "line_... | https://github.com/GrabzIt/grabzit | 229 | FILENAME: HttpUtility.java | 0.279042 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package it.grabz.grabzit;
import it.grabz.grabzit.enums.ErrorCode;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URLConnection;
/**
*
* @author GrabzIt
*/
class HttpUtility {
... |
9ad3e83a-1f3f-4b7e-a73e-73a05300f3a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-01 23:02:15", "repo_name": "lucasprudencio07/irts-selenium", "sub_path": "/src/test/java/selenium/pages/ConfirmedOrderPage.java", "file_name": "ConfirmedOrderPage.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/lucasprudencio07/irts-selenium | 221 | FILENAME: ConfirmedOrderPage.java | 0.292595 | package selenium.pages;
import Util.Functions;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class ConfirmedOrderPage {
private WebDriver chromeDriver;
public ConfirmedOrderPage(WebDriver chromeDriver) {
this.chromeDriver = chromeDriver;
}
public String getCo... |
42ea3b83-cb2a-42ec-88b9-c325478b62a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-12 03:15:28", "repo_name": "safekids-ai/nitmproxy", "sub_path": "/src/main/java/com/github/chhsiao90/nitmproxy/handler/ToServerHandler.java", "file_name": "ToServerHandler.java", "file_ext": "java", "file_size... | https://github.com/safekids-ai/nitmproxy | 241 | FILENAME: ToServerHandler.java | 0.274351 | package com.github.chhsiao90.nitmproxy.handler;
import com.github.chhsiao90.nitmproxy.ConnectionContext;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static com.githu... |
ae5c5dd1-f9e3-46df-b71b-38dd6b4c9e1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-24 02:32:53", "repo_name": "moloxiao/SmartLifeC", "sub_path": "/src/com/smartlife/smartlifec/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count... | https://github.com/moloxiao/SmartLifeC | 223 | FILENAME: SplashActivity.java | 0.27048 | package com.smartlife.smartlifec;
import java.util.Timer;
import java.util.TimerTask;
import com.smartlife.smartlifec.domain.DeviceType;
import com.smartlife.smartlifec.setting.SettingDeviceTypeActivity;
import com.smartlife.smartlifec.setting.SettingInitActivity;
import android.app.Activity;
import android.content.... |
b40a1243-7b6b-40a2-8536-d7fe55aac343 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-11 17:13:00", "repo_name": "yoshikawaa/spark-sample", "sub_path": "/todo-app/src/main/java/io/github/yoshikawaa/spark/sample/core/view/ModelLoggingTemplateEngine.java", "file_name": "ModelLoggingTemplateEngine... | https://github.com/yoshikawaa/spark-sample | 211 | FILENAME: ModelLoggingTemplateEngine.java | 0.295027 | package io.github.yoshikawaa.spark.sample.core.view;
import static java.util.stream.Collectors.joining;
import java.util.Locale;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
import spark.ModelAndView;
import spark.template.thymeleaf.ThymeleafTemplateEngine;
@Slf4j
public class ModelLoggingTem... |
05d6c5f1-185a-41ec-b309-933ea0202bce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-07 06:37:56", "repo_name": "codekamp/java_13thjune", "sub_path": "/ExceptionsDemo/src/Demo.java", "file_name": "Demo.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 35, "lang": "en", "doc_t... | https://github.com/codekamp/java_13thjune | 226 | FILENAME: Demo.java | 0.268941 | import java.util.List;
/**
* Created by cerebro on 24/06/16.
*/
public class Demo {
public static void main(String[] args) {
try {
List<String> allFriends = FriendService.fetchFriendlist(10);
System.out.println("2nd line of try");
} catch (InternetUnavailableException e... |
89fa0e32-5c77-49fc-9157-c0e1040ac0c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-05 20:56:11", "repo_name": "plsb/scedestop", "sub_path": "/scemobile/app/src/main/java/sce/br/scemobile/ActSynchronize.java", "file_name": "ActSynchronize.java", "file_ext": "java", "file_size_in_byte": 1192, ... | https://github.com/plsb/scedestop | 237 | FILENAME: ActSynchronize.java | 0.259826 | package sce.br.scemobile;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import sce.br.model.Mensagem;
import sce.br.util.Synchronize;
public class ActSynchronize extends Activity implements View.OnClickListener{
priva... |
ac4182b3-39b7-4929-b319-473bfd6378f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-10 10:05:50", "repo_name": "1835434698/RetrofitMVP", "sub_path": "/app/src/main/java/com/cnepay/android/swiper/core/utils/SHA1.java", "file_name": "SHA1.java", "file_ext": "java", "file_size_in_byte": 1069, "l... | https://github.com/1835434698/RetrofitMVP | 219 | FILENAME: SHA1.java | 0.264358 | package com.cnepay.android.swiper.core.utils;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Created by xugang on 2016/11/13.
* SHA1加密串
*/
public class SHA1 {
public static String encrypt(String content) {
try {
MessageDigest digest = MessageDigest... |
e3c5e460-538a-4f65-82ed-5f1966adbb9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-10 05:05:19", "repo_name": "jiass123/pinyougou", "sub_path": "/pinyougou-manager/src/main/java/com/asiainfo/common/exception/GlobalExceptionHandler.java", "file_name": "GlobalExceptionHandler.java", "file_ext"... | https://github.com/jiass123/pinyougou | 241 | FILENAME: GlobalExceptionHandler.java | 0.233706 | package com.asiainfo.common.exception;
import com.asiainfo.common.entity.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.dao.DuplicateKeyException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springf... |
52ea0d66-b910-4e1b-8dc8-d7b7950cc676 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-17 13:44:19", "repo_name": "mack94/urban-traffic-monitoring-application", "sub_path": "/cron/src/main/java/pl/edu/agh/pp/cron/utils/ContextLoader.java", "file_name": "ContextLoader.java", "file_ext": "java", "... | https://github.com/mack94/urban-traffic-monitoring-application | 214 | FILENAME: ContextLoader.java | 0.286968 | package pl.edu.agh.pp.cron.utils;
import ch.qos.logback.classic.Logger;
import com.google.maps.GeoApiContext;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Created by Maciej on 14.05.2016.
* 23:49
* Project: 1.
*/
public class ContextLo... |
ec061610-e55d-4b6f-b54a-aef20b695ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-12-08T12:32:48", "repo_name": "magicalcows/formsy-mui-demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count": 32, "lang": "en", "doc_type": "text"... | https://github.com/magicalcows/formsy-mui-demo | 344 | FILENAME: README.md | 0.210766 | # formsy-mui-demo
A simple Meteor app to demo [formsy-material-ui](https://github.com/mbrookes/formsy-material-ui)
- a [formsy-react](https://github.com/christianalfoni/formsy-react) wrapper
for [Material-UI](http://material-ui.com) form components.
## Live demo
http://formsy-mui-demo.meteor.com
## Usage
[Install m... |
1a772db7-6381-4f03-90a5-0e3edd828c96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-31 06:21:11", "repo_name": "zee7985/Flipkart-JEDI-7-Group-2", "sub_path": "/CRS-JEDI-07-Group-02-Dropwizard/src/main/java/com/flipkart/utils/DBUtil.java", "file_name": "DBUtil.java", "file_ext": "java", "file_... | https://github.com/zee7985/Flipkart-JEDI-7-Group-2 | 187 | FILENAME: DBUtil.java | 0.221351 | package com.flipkart.utils;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
public class DBUtil {
private static Connection connection = null;
p... |
2b35792b-0150-4572-9677-13d67eb7541d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 22:23:16", "repo_name": "AlexINSA72/RideSharing-AndroidPrototype-Alex", "sub_path": "/app/src/main/java/sharing/ride/rideexchange/Ride.java", "file_name": "Ride.java", "file_ext": "java", "file_size_in_byte... | https://github.com/AlexINSA72/RideSharing-AndroidPrototype-Alex | 264 | FILENAME: Ride.java | 0.294215 | package sharing.ride.rideexchange;
public class Ride
{
public String dep;
public String des;
public String dayy;
public String monthh;
public String yearr;
public String hourr;
public String minss;
public String name;
public int idDriver;
public int nbPass;
public int realNb... |
98ebab37-a982-407a-b629-67ea8b9b0888 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-31 08:34:26", "repo_name": "AhmedRiahi/Scraper", "sub_path": "/PPDatabase/src/main/java/com/pp/database/model/scrapper/descriptor/signature/SignatureModel.java", "file_name": "SignatureModel.java", "file_ext":... | https://github.com/AhmedRiahi/Scraper | 229 | FILENAME: SignatureModel.java | 0.252384 | package com.pp.database.model.scrapper.descriptor.signature;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import org.mongodb.morphia.annotatio... |
bd2ff4bd-5170-4693-b9b8-043530ad6fd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 14:18:15", "repo_name": "unmeshchow/our-thoughts", "sub_path": "/src/test/java/com/unmeshc/ourthoughts/controllers/LoginControllerTest.java", "file_name": "LoginControllerTest.java", "file_ext": "java", "fi... | https://github.com/unmeshchow/our-thoughts | 210 | FILENAME: LoginControllerTest.java | 0.224055 | package com.unmeshc.ourthoughts.controllers;
import org.junit.Before;
import org.junit.Test;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.... |
6bb01837-f476-480e-967b-3d15c9fbb475 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-23 01:57:20", "repo_name": "KevinCT/projectGamma", "sub_path": "/AndroidProject/Gasqueue/app/src/main/java/pekl/gasqueue/com/gasqueue/control/ChatController.java", "file_name": "ChatController.java", "file_ext... | https://github.com/KevinCT/projectGamma | 219 | FILENAME: ChatController.java | 0.256832 | package pekl.gasqueue.com.gasqueue.control;
import pekl.gasqueue.com.gasqueue.model.FormatDate;
import pekl.gasqueue.com.gasqueue.model.Message;
import pekl.gasqueue.com.gasqueue.service.FirebaseDatabaseManager;
import pekl.gasqueue.com.gasqueue.service.IDatabaseManager;
/**
* Created by kevin on 15/05/2016.
*/
pub... |
d6a59c03-fc7c-472c-8d34-746e7f88c68c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-01 16:56:15", "repo_name": "epinter/Partner-Center-Java", "sub_path": "/src/main/java/com/microsoft/store/partnercenter/models/subscriptions/ProvisioningStatus.java", "file_name": "ProvisioningStatus.java", "f... | https://github.com/epinter/Partner-Center-Java | 199 | FILENAME: ProvisioningStatus.java | 0.258326 | // -----------------------------------------------------------------------
// <copyright file="ProvisioningStatus.java" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
package com.microsoft... |
931a985b-53cb-45ff-9a0a-2fb4ce1ea235 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-02T00:12:49", "repo_name": "x8086105/Design", "sub_path": "/src/main/java/com/xmm/concurrent/valotileTest.java", "file_name": "valotileTest.java", "file_ext": "java", "file_size_in_byte": 1205, "line_count": 3... | https://github.com/x8086105/Design | 281 | FILENAME: valotileTest.java | 0.268941 | package com.xmm.concurrent;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @Author: xuemingming
* @Date: 2019/5/23 18:17
* 可以加上volatile 和去掉volatile 看看有什么区别
* volatile 只能保证可见性,并不能保证原子性,在给其赋值的时候,不依赖当前值,可以使用
**/
public class valotileTest {
private static volatile int age = 0;
private static volatil... |
ac4153c2-d77b-4fc1-b231-78a936e1bd68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-14 03:03:14", "repo_name": "shanejansen/portable-security-android", "sub_path": "/app/src/main/java/com/shanejansen/portablesecurity/data/handlers/BluetoothConnectionHandler.java", "file_name": "BluetoothConne... | https://github.com/shanejansen/portable-security-android | 223 | FILENAME: BluetoothConnectionHandler.java | 0.261331 | package com.shanejansen.portablesecurity.data.handlers;
import android.app.Activity;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import com.shanejansen.portablesecurity.data.helpers.BluetoothConnectionHelper;
import com.shanejansen.portablesecurity.data.services.BluetoothServic... |
d62837fa-e0ab-4678-bc82-9703051968f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-14 09:00:04", "repo_name": "Trigit/meisens", "sub_path": "/01_Source_Code/src/controller/LoginAction.java", "file_name": "LoginAction.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 47, "la... | https://github.com/Trigit/meisens | 215 | FILENAME: LoginAction.java | 0.255344 | package controller;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import pojo.Message;
import service.MessageService;
@SuppressWarnings({ "serial", "unused"... |
5e9548fe-4e3b-4e20-9f0d-78b674bf037c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-12 20:33:49", "repo_name": "luan-alencar/SGE-gerenciamento-estoque", "sub_path": "/src/main/java/com/luan/ecommerce/ecommerce/recurso/CategoriaRecurso.java", "file_name": "CategoriaRecurso.java", "file_ext": "... | https://github.com/luan-alencar/SGE-gerenciamento-estoque | 220 | FILENAME: CategoriaRecurso.java | 0.218669 | package com.luan.ecommerce.ecommerce.recurso;
import com.luan.ecommerce.ecommerce.dominio.Categoria;
import com.luan.ecommerce.ecommerce.servico.CategoriaServico;
import com.luan.ecommerce.ecommerce.servico.dto.CategoriaDTO;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.... |
fb326e9a-3ad4-4634-b08b-9ce76ad66f54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-24T07:09:06", "repo_name": "coin-mwk/DailyPractice", "sub_path": "/eclipse/Web02/src/fitz/servlet/LoginServlet.java", "file_name": "LoginServlet.java", "file_ext": "java", "file_size_in_byte": 1295, "line_coun... | https://github.com/coin-mwk/DailyPractice | 243 | FILENAME: LoginServlet.java | 0.292595 | package fitz.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import fitz.pojo.User;
import fitz.service.UserService;
import fitz.service.impl.UserServiceImpl;... |
19eeced3-e0d9-4998-9ee2-b13d7eabcaa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 07:29:53", "repo_name": "leonrjg/Treball", "sub_path": "/app/src/main/java/com/leonrjg/treball/utils/DataHolder.java", "file_name": "DataHolder.java", "file_ext": "java", "file_size_in_byte": 1060, "line_co... | https://github.com/leonrjg/Treball | 228 | FILENAME: DataHolder.java | 0.261331 | package com.leonrjg.treball.utils;
final public class DataHolder {
public static final String API_BASE_URL = "http://akai.nijiiro.moe:39284/";
private String city;
private String category_id;
private String search;
public void setCity(String city) {this.city = city;}
... |
8187b49f-a369-4038-9fcf-5e3a2da3db1c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-27 12:38:07", "repo_name": "cunhanohaole/emanager", "sub_path": "/email-manager-web/src/main/java/br/com/tscpontual/email/service/EmailRunnable.java", "file_name": "EmailRunnable.java", "file_ext": "java", "fi... | https://github.com/cunhanohaole/emanager | 209 | FILENAME: EmailRunnable.java | 0.252384 | package br.com.tscpontual.email.service;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import br.com.tscpontual.email.model.Email;
import br.com.tscpontual.exc... |
46e0c960-45f9-4747-8a68-712812304eaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 12:33:46", "repo_name": "huangruiqing/yidiandian", "sub_path": "/springboot002datasourcemulti/src/main/java/com/huang/datasourcemulti/controller/TestController.java", "file_name": "TestController.java", "fi... | https://github.com/huangruiqing/yidiandian | 219 | FILENAME: TestController.java | 0.217338 | package com.huang.datasourcemulti.controller;
import com.huang.datasourcemulti.Service.SysAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayL... |
a1462ce2-9d60-426a-b971-5cbe4318aeab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-09 09:15:51", "repo_name": "wuweishuo/myrpc", "sub_path": "/myrpc-common/src/main/java/com/wws/myrpc/core/handler/ProtocolDecoder.java", "file_name": "ProtocolDecoder.java", "file_ext": "java", "file_size_in_b... | https://github.com/wuweishuo/myrpc | 238 | FILENAME: ProtocolDecoder.java | 0.245085 | package com.wws.myrpc.core.handler;
import com.wws.myrpc.core.exception.NoLongException;
import com.wws.myrpc.core.protocol.Protocol;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... |
2b0ae9ef-95bc-4e8e-93af-8364f193d9d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-30T17:08:33", "repo_name": "getsentry/zeus", "sub_path": "/kubernetes/zeus/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1093, "line_count": 41, "lang": "en", "doc_type": "te... | https://github.com/getsentry/zeus | 266 | FILENAME: README.md | 0.16238 | # k8s
This is just general rough documentation for things we've done. Assume its incomprehensible to most people.
Also, we are not kubernetes experts, so assume everything here is bad/wrong.
## Bootstrap
Apply zeus/\*.yaml
Create a cluster:
```bash
gcloud container clusters create zeus --num-nodes=3 --scopes http... |
53485445-fec2-42ee-9eb5-69ee64f9a7e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-08 16:28:45", "repo_name": "gusparis/chobi_temp_soa", "sub_path": "/android/app/src/main/java/soa/unlam/edu/ar/chobitemp/temp/TemperatureSource.java", "file_name": "TemperatureSource.java", "file_ext": "java",... | https://github.com/gusparis/chobi_temp_soa | 259 | FILENAME: TemperatureSource.java | 0.246533 | package soa.unlam.edu.ar.chobitemp.temp;
import soa.unlam.edu.ar.chobitemp.R;
/**
* Created by mcurrao on 17/06/17.
*/
public enum TemperatureSource {
CHOBI(R.id.current_state, "chobi", R.drawable.watch, R.string.temp_source_chobi), CLOUD(R.id.future_state, "cloud", R.drawable.cloud, R.string.temp_source_weath... |
65b621cf-e65f-47cb-88b2-ec978721eca6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-18T00:12:07", "repo_name": "vistrcm/pmoclient", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1005, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/vistrcm/pmoclient | 260 | FILENAME: README.md | 0.256832 | # pmoclient
[](https://cloud.drone.io/vistrcm/pmoclient)
very basic script to simplify work with 'PMO' tool.
This scrip logs in to PMO, get list of engineers and prints table filtered by _filterUsers_ from config.
## configuration file
... |
2d4bfe73-6d0f-4bd5-a776-7acc867f332c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-12 03:04:59", "repo_name": "tuannh982/ladder", "sub_path": "/src/main/java/io/github/tuannh982/ladder/queue/internal/LadderQueue.java", "file_name": "LadderQueue.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/tuannh982/ladder | 217 | FILENAME: LadderQueue.java | 0.258326 | package io.github.tuannh982.ladder.queue.internal;
import io.github.tuannh982.ladder.queue.Queue;
import java.io.File;
import java.io.IOException;
public class LadderQueue implements Queue {
private final LadderQueueInternal internal;
public LadderQueue(File dir, LadderQueueOptions options) throws IOExcepti... |
1ddab77b-2be4-4717-811e-dbe5089e1c55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-09 17:33:24", "repo_name": "cpsoneghett/food-delivery-api", "sub_path": "/src/main/java/com/soneghett/food/delivery/domain/service/KitchenRegisterService.java", "file_name": "KitchenRegisterService.java", "fil... | https://github.com/cpsoneghett/food-delivery-api | 211 | FILENAME: KitchenRegisterService.java | 0.287768 | package com.soneghett.food.delivery.domain.service;
import javax.persistence.EntityNotFoundException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework... |
d6fa209f-883c-46a0-bc40-8e1f74d5fcd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-29 13:46:51", "repo_name": "ctreloknik/relex_summer_practice", "sub_path": "/summer_practice/db/src/main/java/ru/relex/summer_practice/db/PersonLectureRole.java", "file_name": "PersonLectureRole.java", "file_e... | https://github.com/ctreloknik/relex_summer_practice | 265 | FILENAME: PersonLectureRole.java | 0.283781 | package ru.relex.summer_practice.db;
import javax.persistence.*;
/**
* Created by Nikita on 11.07.2015.
*/
@Entity
@Table(name = "PERSON_LECTURE_ROLE")
public class PersonLectureRole {
public PersonLectureRole() {}
@Id
@Column(name = "PERSON_LECTURE_ROLE_ID")
@GeneratedValue
private Long id;
... |
f0daea39-424d-4758-901f-e62cdbdfe8be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-12 05:28:57", "repo_name": "FabioMassaretto/UdemyJavaCompleto2019", "sub_path": "/secao019aula207/src/main/java/com/fabio/javacompletoudemy/secao019aula207/domain/entity/Candidate.java", "file_name": "Candidat... | https://github.com/FabioMassaretto/UdemyJavaCompleto2019 | 250 | FILENAME: Candidate.java | 0.262842 | package com.fabio.javacompletoudemy.secao019aula207.domain.entity;
import java.util.Objects;
public class Candidate implements Comparable<Candidate>{
private String name;
private Integer vote;
public Candidate(String name, Integer vote) {
this.name = name;
this.vote = vote;
}
pub... |
e3a0b037-03f0-4944-896d-677f626ed28a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-06 15:21:41", "repo_name": "zndy10/Theseed-back-end", "sub_path": "/src/main/java/com/seed/service/impl/InformationServiceImpl.java", "file_name": "InformationServiceImpl.java", "file_ext": "java", "file_size_... | https://github.com/zndy10/Theseed-back-end | 232 | FILENAME: InformationServiceImpl.java | 0.264358 | package com.seed.service.impl;
import com.github.pagehelper.PageHelper;
import com.seed.dao.InformationMapper;
import com.seed.enums.PageConstant;
import com.seed.enums.RecordStatusEnum;
import com.seed.model.Information;
import com.seed.model.InformationExample;
import com.seed.service.InformationService;
import org.... |
cebdfcc1-21cc-43e8-8457-f456a027fa22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-11 03:44:03", "repo_name": "GYiyouth/SuperLiarWeb-HelloWorld", "sub_path": "/src/xmlHandleBean/ControllerBean.java", "file_name": "ControllerBean.java", "file_ext": "java", "file_size_in_byte": 1010, "line_cou... | https://github.com/GYiyouth/SuperLiarWeb-HelloWorld | 239 | FILENAME: ControllerBean.java | 0.290981 | package xmlHandleBean;
import java.util.HashMap;
/**
* Created by geyao on 2016/12/3.
*/
public class ControllerBean {
public ControllerBean() {
super();
}
private HashMap<String, ActionBean>actions = new HashMap<>();
private HashMap<String, InterceptorBean>interceptors = new HashMap<>();
public HashMap... |
e67c9c7e-f5c8-480e-a0ba-bfa91709ea33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-04 16:32:45", "repo_name": "Coreoz/Plume-file", "sub_path": "/plume-file-core/src/main/java/com/coreoz/plume/file/services/mimetype/PeekingInputStream.java", "file_name": "PeekingInputStream.java", "file_ext":... | https://github.com/Coreoz/Plume-file | 226 | FILENAME: PeekingInputStream.java | 0.255344 | package com.coreoz.plume.file.services.mimetype;
import java.io.IOException;
import java.io.InputStream;
import java.io.PushbackInputStream;
/**
* An InputStream wrapper that provides a peeking feature.
* See {@link FileMimeTypeDetector} for usage
*/
public class PeekingInputStream {
// This number comes from ... |
b793a50b-42ee-4c7e-8ce5-9e544ee74cbc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-29 02:37:05", "repo_name": "kaiserleib/spark-doodle", "sub_path": "/src/main/java/doodle/Application.java", "file_name": "Application.java", "file_ext": "java", "file_size_in_byte": 1107, "line_count": 42, "la... | https://github.com/kaiserleib/spark-doodle | 249 | FILENAME: Application.java | 0.290981 | package doodle;
import static spark.Spark.*;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jetty.websocket.api.Session;
public class Application {
static List<Session> sessions = new ArrayList<>();
public static void main(String[] args) {
port(getHerokuAssignedPort());
staticFileLoca... |
74525f85-5cb3-41a7-ab35-a57922254e72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 13:23:35", "repo_name": "ayushshrivastava2507/HackerNews", "sub_path": "/src/main/java/com/hackernews/rest/entities/Comments.java", "file_name": "Comments.java", "file_ext": "java", "file_size_in_byte": 119... | https://github.com/ayushshrivastava2507/HackerNews | 263 | FILENAME: Comments.java | 0.273574 | package com.hackernews.rest.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table (name = "comments")
public class Comments {
@Id
@Column(name="COMMENT_ID")
private Integer commentId;
@Column(name="PARENT")
priv... |
db473892-fa83-4fb0-9fa8-1731ec42ec8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-09 14:26:58", "repo_name": "cloud-cloud-cloud/SpringDemo", "sub_path": "/src/main/java/com/example/demo/util/SpringContextHelper.java", "file_name": "SpringContextHelper.java", "file_ext": "java", "file_size_i... | https://github.com/cloud-cloud-cloud/SpringDemo | 215 | FILENAME: SpringContextHelper.java | 0.273574 | package com.example.demo.util;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.stereotype.Component;
import java.util.concurrent.CountDownLatch;
@Component
public class SpringC... |
fbfb7bca-21f7-44ec-b9e2-dfcbc02213ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 06:52:39", "repo_name": "NordicSemiconductor/Android-nRF-Connect-Device-Manager", "sub_path": "/sample/src/main/java/io/runtime/mcumgr/sample/di/module/ContextModule.java", "file_name": "ContextModule.java"... | https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager | 173 | FILENAME: ContextModule.java | 0.249447 | /*
* Copyright (c) 2018, Nordic Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
package io.runtime.mcumgr.sample.di.module;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import javax.inject.Singleton... |
a7ba5e5c-c55f-4964-9d5b-125ec354f6aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-07 13:27:56", "repo_name": "Xin0127/Java", "sub_path": "/servlet-blog-1/src/main/java/org/example/servlet/ArticleListServlet.java", "file_name": "ArticleListServlet.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Xin0127/Java | 194 | FILENAME: ArticleListServlet.java | 0.250913 | package org.example.servlet;
import org.example.dao.ArticleDAO;
import org.example.model.Article;
import org.example.model.JSONResponse;
import org.example.model.User;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.Ht... |
0a6e8f16-9d1e-44be-93d2-0c846bd1ac7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-02 03:02:26", "repo_name": "semantic-gitlog/semantic-commit", "sub_path": "/src/main/java/team/yi/tools/semanticcommit/model/IssueRef.java", "file_name": "IssueRef.java", "file_ext": "java", "file_size_in_byte... | https://github.com/semantic-gitlog/semantic-commit | 269 | FILENAME: IssueRef.java | 0.253861 | package team.yi.tools.semanticcommit.model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import java.io.Serializable;
@Getter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@ToString(onlyExplicitlyIncluded = true)
public class IssueRef implements Serializable {
private static... |
973e3655-f56d-4a67-a484-533aba4348f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 16:11:18", "repo_name": "abguymon/Ticket-to-Ride-Hyrule", "sub_path": "/TicketToHyrule/lib/src/main/java/cs240/lib/common/results/LeaveResult.java", "file_name": "LeaveResult.java", "file_ext": "java", "fil... | https://github.com/abguymon/Ticket-to-Ride-Hyrule | 215 | FILENAME: LeaveResult.java | 0.233706 | package cs240.lib.common.results;
/**
* Created by David on 1/31/2018.
*/
public class LeaveResult {
private String gameName;
private int newPlayerNumber;
private String errorMessage;
public LeaveResult() {}
public LeaveResult(String gameName, int newPlayerNumber) {
this.gameName = gam... |
67d3e768-5499-4d0d-9a76-783f37647f93 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-03 22:57:18", "repo_name": "marcosflavio/androidBookFragments", "sub_path": "/app/src/main/java/com/example/marcosf/toolbar/MyTabListener.java", "file_name": "MyTabListener.java", "file_ext": "java", "file_siz... | https://github.com/marcosflavio/androidBookFragments | 236 | FILENAME: MyTabListener.java | 0.262842 | package com.example.marcosf.toolbar;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.ActionBar;
import com.example.marcosf.toolbar.com.example.marcosf.fragments.Fragment1;
/**
* Created by marcosf on 28/07/2016.... |
9b9d3e81-7510-4bf6-9f6f-7ef8c624c1ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-19 02:00:54", "repo_name": "yuhaihui3435/sq-backend", "sub_path": "/src/main/java/com/neuray/wp/entity/UserDept.java", "file_name": "UserDept.java", "file_ext": "java", "file_size_in_byte": 838, "line_count": ... | https://github.com/yuhaihui3435/sq-backend | 263 | FILENAME: UserDept.java | 0.2227 | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018. 沈阳东睿科技有限公司.版权所有.
// SHENYANG NEURAY TECHNOLOGY CO.,LTD. All Rights Reserved
////////////////////////////////////////////////////////////////////////////////
package com.neuray.wp.entity;
import com.neuray.wp.core.B... |
1fc7c8db-5658-4e73-b4d3-3073a32b80ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-14 21:04:39", "repo_name": "diamondq/dq-common-java", "sub_path": "/servers/common-servers.undertow.resteasy.weld/src/main/java/com/diamondq/common/servers/undertow/ResourceHandler.java", "file_name": "Resourc... | https://github.com/diamondq/dq-common-java | 235 | FILENAME: ResourceHandler.java | 0.264358 | package com.diamondq.common.servers.undertow;
import io.undertow.util.MimeMappings;
import org.jetbrains.annotations.Nullable;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.ResponseBuilder;
import javax.ws.rs.core.Resp... |
37171fe2-768f-4570-a3b8-116992075927 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-28 13:01:11", "repo_name": "jhorber95/estructura-datos", "sub_path": "/src/estructura_datos/lista_enlazada/DoubleListMain.java", "file_name": "DoubleListMain.java", "file_ext": "java", "file_size_in_byte": 111... | https://github.com/jhorber95/estructura-datos | 230 | FILENAME: DoubleListMain.java | 0.287768 | package estructura_datos.lista_enlazada;
import estructura_datos.lista_enlazada.runner.InsertUser;
import estructura_datos.lista_enlazada.runner.RemoveUser;
import estructura_datos.lista_enlazada.runner.addUser;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class DoubleLi... |
a31dffee-d373-45b7-ba95-617e0d71d3bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-30 10:40:21", "repo_name": "mkmDEV/compilus-errorus", "sub_path": "/backend/src/main/java/com/codecool/compiluserrorus/controller/EventController.java", "file_name": "EventController.java", "file_ext": "java",... | https://github.com/mkmDEV/compilus-errorus | 237 | FILENAME: EventController.java | 0.294215 | package com.codecool.compiluserrorus.controller;
import com.codecool.compiluserrorus.model.Event;
import com.codecool.compiluserrorus.service.EventService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import java.util.List;
@RestController
@R... |
a1be2ba1-4f3c-4ed8-b24c-263a780eaa5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-23 22:40:41", "repo_name": "debeers/AffinityFramework", "sub_path": "/src/main/java/ApiWorker/model/ads/InfoParam.java", "file_name": "InfoParam.java", "file_ext": "java", "file_size_in_byte": 1052, "line_coun... | https://github.com/debeers/AffinityFramework | 230 | FILENAME: InfoParam.java | 0.250913 | package ApiWorker.model.ads;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import ApiWorker.model.BaseModel;
/**
* Created by artem on 9/23/15.
*/
public class InfoParam extends BaseModel {
public InfoParam(String paramName, String valueName, String paramId, S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.