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 |
|---|---|---|---|---|---|---|
ba7b235b-a116-4a89-897f-8e78395b65e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 08:19:38", "repo_name": "huttonj/chevrolet", "sub_path": "/chevrolet-api/src/main/java/com/chevrolet/api/enums/WarehouseStatusEnum.java", "file_name": "WarehouseStatusEnum.java", "file_ext": "java", "file_s... | https://github.com/huttonj/chevrolet | 339 | FILENAME: WarehouseStatusEnum.java | 0.287768 | package com.chevrolet.api.enums;
/**
* Created by zhouxiaoliu on 16/9/24.
*/
public enum WarehouseStatusEnum {
AVAILABLE(1, "正常"),
/**
* 2018 9月后的版本仓库,实际已不存在该状态,但是对外暴露仍沿用该状态,外部api仍按原需求继续使用
* 此状态代表所有仓库状态id大于3的列表集合
*/
SUSPEND(2, "暂停"),
CLOSED(3, "关闭");
private Integer code;
pri... |
a4adc47f-f5fc-4c85-aef7-11c27a79854e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-25 06:04:55", "repo_name": "coding-dogs/console", "sub_path": "/src/main/java/com/easyorder/modules/product/entity/ProductProperty.java", "file_name": "ProductProperty.java", "file_ext": "java", "file_size_in_... | https://github.com/coding-dogs/console | 271 | FILENAME: ProductProperty.java | 0.259826 | package com.easyorder.modules.product.entity;
import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
/**
* 商品属性Entity
* @author qiudequan
* @version 2017-06-09
*/
public class ProductProperty extends DataEntity<ProductProperty> {
private static final long... |
289b9758-c438-4b59-a1ad-a9ea4f45a005 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-28 00:37:58", "repo_name": "tamuten/jukuSystem2", "sub_path": "/src/main/java/com/example/demo/login/domain/service/MEmployeeService.java", "file_name": "MEmployeeService.java", "file_ext": "java", "file_size_... | https://github.com/tamuten/jukuSystem2 | 163 | FILENAME: MEmployeeService.java | 0.246533 | package com.example.demo.login.domain.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundE... |
2fb7a243-2712-4b4d-ac00-183892d0bd1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-27 00:36:53", "repo_name": "vital667/Many-To-Many-Jpa", "sub_path": "/src/main/java/com/example/manytomanyjpa/entity/Photo.java", "file_name": "Photo.java", "file_ext": "java", "file_size_in_byte": 1017, "line... | https://github.com/vital667/Many-To-Many-Jpa | 202 | FILENAME: Photo.java | 0.277473 | package com.example.manytomanyjpa.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Getter
@NoArgsConstructor
public class Photo {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;... |
126fc30d-5db9-451e-87f0-3430b365e434 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-17 01:38:42", "repo_name": "song-dev/android-study", "sub_path": "/app/src/main/java/com/song/androidstudy/testcpp/TestCppActivity.java", "file_name": "TestCppActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/song-dev/android-study | 207 | FILENAME: TestCppActivity.java | 0.224055 | package com.song.androidstudy.testcpp;
import android.content.Context;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.util.Log;
import android.widget.TextView;
import com.song.androidstudy.R;
import butterknife.BindView;
import butterknife.ButterKnife;
public class TestCpp... |
bce46224-3ac2-464c-b4ea-c4e95890e80e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-16 11:44:18", "repo_name": "keligeri/spring_rest", "sub_path": "/src/main/java/com/codecool/spring/rest/model/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count": ... | https://github.com/keligeri/spring_rest | 225 | FILENAME: Role.java | 0.23231 | package com.codecool.spring.rest.model;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "roles")
public class Role {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
private String role;
... |
7cf97d57-78b2-4f69-b92f-ae5e7a71712a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-03 13:19:56", "repo_name": "rodriga/CSSE477-Homework5", "sub_path": "/homework5.pluginframework.gui/src/homework5/pluginframework/gui/AbstractGUIPanel.java", "file_name": "AbstractGUIPanel.java", "file_ext": "... | https://github.com/rodriga/CSSE477-Homework5 | 226 | FILENAME: AbstractGUIPanel.java | 0.287768 | package homework5.pluginframework.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JPanel;
@SuppressWarnings("serial")
public abstract class AbstractGUIPanel extends JPanel {
private JLabel title;
private Color... |
a687c479-56b2-456e-91c1-8cfbd23c44f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-08T15:05:33", "repo_name": "onabee/Empowered-Forum", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1060, "line_count": 52, "lang": "en", "doc_type": "text", "bl... | https://github.com/onabee/Empowered-Forum | 250 | FILENAME: README.md | 0.274351 | *project2*
# Internet Forum
## User Stories:
1. User should be able to discuss things by topic/category.
2. A post should belong to its relevant category.
3. User should be able to create posts *(which will belong to them)* and categories *(which will be for everyone, maybe ask them to put in necessary information to... |
5c9a945b-71e0-4669-b0e2-d9242dd8f3a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 13:32:11", "repo_name": "CaioEduardoMouta/maratonajava", "sub_path": "/Dev-DojoMaratonaJava/src/javacore/Xnio/test/PossixFileAtrtibutesTest.java", "file_name": "PossixFileAtrtibutesTest.java", "file_ext": "... | https://github.com/CaioEduardoMouta/maratonajava | 238 | FILENAME: PossixFileAtrtibutesTest.java | 0.240775 | package javacore.Xnio.test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.attribute.PosixFileAttributes;
import java.nio.file.attribute.PosixFilePermission;
import java.nio.file.attribute.PosixFilePermissions;
import java.util.Set;
... |
30fc5002-75fc-4e3e-9768-c2da0807e2c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 05:25:04", "repo_name": "u-malichenko/DivisionOfExpenses", "sub_path": "/src/main/java/ru/division/of/expenses/app/dto/UserDto.java", "file_name": "UserDto.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/u-malichenko/DivisionOfExpenses | 211 | FILENAME: UserDto.java | 0.284576 | package ru.division.of.expenses.app.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import ru.division.of.expenses.app.models.Event;
import ru.division.of.expenses.app.models.Role;
import ru.division.of.expenses.app.models.User;
import java.util.List;
import java.util.stream... |
86c9391f-6164-4b0f-9e7c-f743453b0b19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-09 23:10:17", "repo_name": "urandumani/file-io", "sub_path": "/src/main/java/com/ekipa/model/DirectoryModel.java", "file_name": "DirectoryModel.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count... | https://github.com/urandumani/file-io | 212 | FILENAME: DirectoryModel.java | 0.253861 | package com.ekipa.model;
import com.ekipa.constant.Permission;
import java.nio.file.Path;
import java.nio.file.attribute.BasicFileAttributes;
public class DirectoryModel extends FileModel {
private ChildrenModel childrenModel;
public ChildrenModel getChildrenModel() {
return childrenModel;
}
public void se... |
dbed190d-5858-4e29-a51f-80943493b428 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-16 11:54:53", "repo_name": "lparisot/confusion-spring", "sub_path": "/src/test/java/com/lpa/confusionspring/repositories/reactive/CommentReactiveRepositoryTest.java", "file_name": "CommentReactiveRepositoryTes... | https://github.com/lparisot/confusion-spring | 199 | FILENAME: CommentReactiveRepositoryTest.java | 0.26588 | package com.lpa.confusionspring.repositories.reactive;
import com.lpa.confusionspring.domain.Comment;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTe... |
8a7f401a-4853-47e1-b8b2-b42e7cd5aa8a | {"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-client/src/main/java/ru/iokhin/tm/command/system/HelpCommand.java", "file_name": "HelpCommand.java", "file_ext": "java", "file_size_in_byte": 1082,... | https://github.com/Iokhin/java-se | 207 | FILENAME: HelpCommand.java | 0.294215 | package ru.iokhin.tm.command.system;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import ru.iokhin.tm.command.AbstractCommand;
import ru.iokhin.tm.config.Bootstrap;
@Component
... |
e8f434fc-f72b-4ac9-8ef8-d894fe710487 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 18:48:35", "repo_name": "girayserter/FragmentApp", "sub_path": "/app/src/main/java/com/example/fragmentapp/FragmentB.java", "file_name": "FragmentB.java", "file_ext": "java", "file_size_in_byte": 1117, "lin... | https://github.com/girayserter/FragmentApp | 172 | FILENAME: FragmentB.java | 0.245085 | package com.example.fragmentapp;
import android.content.Intent;
import android.os.Bundle;
import androidx.databinding.DataBindingUtil;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo... |
1ca4ba37-8fb9-4ced-a8e1-e81c4d86cae9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-26T13:04:13", "repo_name": "bubblecloud/ilves-seed", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1082, "line_count": 55, "lang": "en", "doc_type": "text", "bl... | https://github.com/bubblecloud/ilves-seed | 229 | FILENAME: README.md | 0.27048 | Ilves Seed Project
==================
Ilves simplifies Java web site creation. This is seed project to simplify new project setup.
Preconditions
------------
1. Git
2. JDK 7
3. Maven 3
Features
--------
1. Example of navigation, page, localization and theme icon customization.
2. Procfile for running the project i... |
385aac47-0faf-4ed7-a2a0-b1de318a2cfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-18 12:52:20", "repo_name": "shaktysingh/webfluxdemo", "sub_path": "/src/main/java/com/webservice/webfluxdemo/model/ErrorResponse.java", "file_name": "ErrorResponse.java", "file_ext": "java", "file_size_in_byte... | https://github.com/shaktysingh/webfluxdemo | 240 | FILENAME: ErrorResponse.java | 0.206894 | /**
*
*/
package com.webservice.webfluxdemo.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
public... |
9fa213d6-3e22-4bf4-aded-e76940ee47b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-09 12:21:47", "repo_name": "Przemek94/Gra", "sub_path": "/app/src/main/java/com/example/ziom/jtr/Gra.java", "file_name": "Gra.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 51, "lang": "en... | https://github.com/Przemek94/Gra | 198 | FILENAME: Gra.java | 0.218669 | package com.example.ziom.jtr;
import android.content.Intent;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class Gra extends AppCompatActivity {
MediaPlayer pytanie;
@Override
public void onStop() {
s... |
27d29a1d-4e1d-46ea-8eac-a447647af9cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-15 09:05:31", "repo_name": "fabienb-bm/zDeprecated_ServiceWeb_BuyManager", "sub_path": "/src/java/WS/Avnet.java", "file_name": "Avnet.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 36, "la... | https://github.com/fabienb-bm/zDeprecated_ServiceWeb_BuyManager | 222 | FILENAME: Avnet.java | 0.226784 | /*
* 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 WS;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Invocation;
import ja... |
37355d40-e3b0-43b9-b514-f19d2134081c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-07 09:30:24", "repo_name": "artempolischuk4315/hybris-repos", "sub_path": "/extensions/mymoduleext/mymoduleextcore/src/org/training/core/workflow/SupervisorRegistrationConfirmationActionJob.java", "file_name":... | https://github.com/artempolischuk4315/hybris-repos | 192 | FILENAME: SupervisorRegistrationConfirmationActionJob.java | 0.278257 | package org.training.core.workflow;
import de.hybris.platform.core.model.user.CustomerModel;
import de.hybris.platform.servicelayer.model.ModelService;
import de.hybris.platform.workflow.model.WorkflowActionModel;
import de.hybris.platform.workflow.model.WorkflowDecisionModel;
import org.apache.log4j.Logger;
public c... |
b6a8e00e-fc33-4388-a302-b28a30d4962b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 09:53:56", "repo_name": "aripratom/FrontEndCodingTest", "sub_path": "/app/src/main/java/com/aripratom/frontendcodingtest/tokenmanager/TokenManager.java", "file_name": "TokenManager.java", "file_ext": "java"... | https://github.com/aripratom/FrontEndCodingTest | 201 | FILENAME: TokenManager.java | 0.221351 | package com.aripratom.frontendcodingtest.tokenmanager;
import android.content.Context;
import android.content.SharedPreferences;
public class TokenManager {
private SharedPreferences sharedPreferences;
private SharedPreferences.Editor editor;
private int Mode = 0;
private static final String REFNAME=... |
ff991a9f-7e18-4f4b-9da9-1bbeafa288a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-10 03:40:53", "repo_name": "originer/HZRPC", "sub_path": "/HZRPC/hzr-spring-provider/src/main/java/hzr/spring/provider/bean/ServerFactoryBean.java", "file_name": "ServerFactoryBean.java", "file_ext": "java", "... | https://github.com/originer/HZRPC | 251 | FILENAME: ServerFactoryBean.java | 0.233706 | package hzr.spring.provider.bean;
import hzr.common.bootstrap.ServerBuilder;
import hzr.common.transport.server.Server;
import hzr.common.transport.server.ServerImpl;
import lombok.Data;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.lang.Nullable;
import org.springframework.stereotyp... |
8201cb42-d06a-4616-acd6-9f2c9608b047 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-10 21:57:24", "repo_name": "jr091291/sisobeem", "sub_path": "/src/main/java/sisobeem/artifacts/Log.java", "file_name": "Log.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 54, "lang": "en",... | https://github.com/jr091291/sisobeem | 250 | FILENAME: Log.java | 0.272025 | package sisobeem.artifacts;
import java.net.URL;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import org.apache.log4j.helpers.Loader;
public class Log {
private final static Logger log = Logger.getLogger(Log.class);
private static Log ObLog;
private Log (){
URL url =... |
59b7b0e7-b557-4c41-b943-02acea8ea6af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-23 16:44:57", "repo_name": "dangnamlss/DangPhuongNam", "sub_path": "/DangPhuongNam/GPU/DictionaryManagement.java", "file_name": "DictionaryManagement.java", "file_ext": "java", "file_size_in_byte": 1053, "line... | https://github.com/dangnamlss/DangPhuongNam | 207 | FILENAME: DictionaryManagement.java | 0.27513 | package sample;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Scanner;
public class DictionaryManagement extends Dictionary {
public ArrayList<Word> insertFromFile() throws IOExce... |
68176789-ff93-4d05-9e15-a4f2e3f4210b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-20 05:23:13", "repo_name": "aman207/ShortIt", "sub_path": "/src/net/targetcraft/shortit/CheckUserBlacklist.java", "file_name": "CheckUserBlacklist.java", "file_ext": "java", "file_size_in_byte": 1117, "line_co... | https://github.com/aman207/ShortIt | 249 | FILENAME: CheckUserBlacklist.java | 0.291787 | package net.targetcraft.shortit;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.ChatColor;
public class CheckUserBlacklist {
static MainClass plugin;
public CheckUserBlacklist(MainClass config) {
plugin = config;
}
public static boolean findUser(String string)
{
List<String>bl... |
410384d5-ed4f-4dea-a35a-e90aa69fabbf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-02 05:24:13", "repo_name": "bralbers/LoginRegister", "sub_path": "/src/main/java/com/brian/albers/loginregisterexercise/listener/ApplicationListener.java", "file_name": "ApplicationListener.java", "file_ext": ... | https://github.com/bralbers/LoginRegister | 205 | FILENAME: ApplicationListener.java | 0.286968 | package com.brian.albers.loginregisterexercise.listener;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.jboss.logging.Logger;
import com.brian.albers.loginregisterexercise.persistence.UsersDAO;
/**
* Application Lifecycle Listener implementation class ApplicationL... |
5f22d038-2397-4374-b49f-84f10b41a947 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-18 18:19:56", "repo_name": "keithsjohnson/accounts", "sub_path": "/src/main/java/uk/co/keithsjohnson/accounts/model/payments/RegularPayment.java", "file_name": "RegularPayment.java", "file_ext": "java", "file_... | https://github.com/keithsjohnson/accounts | 224 | FILENAME: RegularPayment.java | 0.262842 | package uk.co.keithsjohnson.accounts.model.payments;
import java.time.LocalDate;
import uk.co.keithsjohnson.accounts.model.accounts.Account;
public class RegularPayment {
private final LocalDate dueDate;
private final String payee;
private final Account account;
private final long amount;
private final Pay... |
e4c20208-69a9-4985-bf43-5de7d9d95833 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-30 06:25:07", "repo_name": "wallellen/study-jpa", "sub_path": "/src/test/java/alvin/configs/TestSupport.java", "file_name": "TestSupport.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 38, ... | https://github.com/wallellen/study-jpa | 194 | FILENAME: TestSupport.java | 0.272799 | package alvin.configs;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.persist.PersistService;
import com.google.inject.persist.jpa.JpaPersistModule;
import org.junit.Before;
import javax.inject.Inject;
import javax.persistence.EntityManager;
public abstract class TestSupp... |
3a59f124-e623-4b70-907f-f3c3c5abe822 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-15 14:00:41", "repo_name": "nb8g13/gdp-alignment", "sub_path": "/src/Printer.java", "file_name": "Printer.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 37, "lang": "en", "doc_type": "code... | https://github.com/nb8g13/gdp-alignment | 232 | FILENAME: Printer.java | 0.255344 | import java.util.ArrayList;
/**
* Created by Pro on 02/02/2018.
*/
public class Printer {
public Printer() {
}
public void printTrans(ArrayList<Caption> trData) {
for (Caption sentence: trData) {
System.out.println(sentence.getText());
}
}
public void printMutation... |
537d71a8-bb61-4a60-9d51-c946fc346b6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 08:25:08", "repo_name": "blueshen/pomelo-rpc", "sub_path": "/pomelo-examples/src/main/java/cn/shenyanchao/pomelo/rpc/demo/entity/RpcUser.java", "file_name": "RpcUser.java", "file_ext": "java", "file_size_in... | https://github.com/blueshen/pomelo-rpc | 244 | FILENAME: RpcUser.java | 0.226784 | package cn.shenyanchao.pomelo.rpc.demo.entity;
import java.io.Serializable;
/**
* @author shenyanchao
*/
public class RpcUser implements Serializable {
private static final long serialVersionUID = -467668234191746603L;
private String name;
private String age;
/**
* @return the name
*/
... |
1fb794b4-a4cc-459a-9665-00758ff47eb1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-23 18:09:30", "repo_name": "dennywangdengyu/coprhd-controller", "sub_path": "/exportLibraries/xtremio/src/main/java/com/emc/storageos/xtremio/restapi/model/response/XtremIOPorts.java", "file_name": "XtremIOPor... | https://github.com/dennywangdengyu/coprhd-controller | 218 | FILENAME: XtremIOPorts.java | 0.23092 | /*
* Copyright 2015 EMC Corporation
* All Rights Reserved
*/
/**
* Copyright (c) 2014 EMC Corporation
* All Rights Reserved
*
* This software contains the intellectual property of EMC Corporation
* or is licensed to EMC Corporation from third parties. Use of this
* software and the intellectual property conta... |
a19dc9db-5d09-4713-b24f-b5d1b80d7f80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-13T02:57:54", "repo_name": "SpaceWorksCo/guides", "sub_path": "/Stake-With-Spacecoind.md", "file_name": "Stake-With-Spacecoind.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count": 31, "lang": "e... | https://github.com/SpaceWorksCo/guides | 252 | FILENAME: Stake-With-Spacecoind.md | 0.249447 | # Stake With Spacecoind
This guide will teach you how to stake with Spacecoind.
## Table of Contents
- [Please Note](#Please-Note)
- [Instructions](#Instructions)
### Please Note
With Spacecoind the commands will need to be used with `spacecoin-cli`.
For staking to work the wallet needs to be unlocked. If you enc... |
a5c5ff2b-fe8a-4704-a6b2-34e916c34d11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 04:53:56", "repo_name": "wscJayasooriya/Textile-Management-System", "sub_path": "/LOOPER-Common/src/lk/ijse/LOOPER_gentsWear/dto/GRNDetailsDTO.java", "file_name": "GRNDetailsDTO.java", "file_ext": "java", "... | https://github.com/wscJayasooriya/Textile-Management-System | 282 | FILENAME: GRNDetailsDTO.java | 0.283781 | /*
* 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 lk.ijse.LOOPER_gentsWear.dto;
/**
*
* @author Sandun_CJ
*/
public class GRNDetailsDTO extends SuperDTO{
private ItemDTO... |
41e7922b-60f8-4ef1-8860-a66301e2fdff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-21 18:45:16", "repo_name": "npathai/tic-tac-toe-kata", "sub_path": "/src/main/java/org/npathai/tictactoe/GameState.java", "file_name": "GameState.java", "file_ext": "java", "file_size_in_byte": 1059, "line_cou... | https://github.com/npathai/tic-tac-toe-kata | 214 | FILENAME: GameState.java | 0.285372 | package org.npathai.tictactoe;
public class GameState {
private final char[][] board;
private final Player currentPlayer;
private final Player nextPlayer;
private final Player winnerPlayer;
private final boolean isOver;
public GameState(char[][] board, Player currentPlayer, Player nextPlayer... |
8173188d-a040-4cfd-af99-ee164ea7656d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-03 13:10:02", "repo_name": "ekyrych/Homeworks", "sub_path": "/task10_IO_NIO/src/com/company/task7/NIOClient.java", "file_name": "NIOClient.java", "file_ext": "java", "file_size_in_byte": 1119, "line_count": 36... | https://github.com/ekyrych/Homeworks | 212 | FILENAME: NIOClient.java | 0.255344 | package com.company.task7;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.ArrayList;
import java.util.List;
public class NIOClient {
public static void main(String[] args) throws IOException, InterruptedException ... |
57f1f27f-143b-4dd8-9ffb-f917fe45a5c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-25 06:23:30", "repo_name": "zuyunbo/blogs", "sub_path": "/boke-main/src/main/java/com/boke/main/ex/UEditorController.java", "file_name": "UEditorController.java", "file_ext": "java", "file_size_in_byte": 1027,... | https://github.com/zuyunbo/blogs | 180 | FILENAME: UEditorController.java | 0.214691 | package com.boke.main.ex;
import com.boke.main.ueditor.ActionEnter;
import org.json.JSONException;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.s... |
049fef17-057d-404c-9734-84c5b1bb8242 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-01 08:42:23", "repo_name": "ttytt1978/gimbridge", "sub_path": "/src/main/java/com/maincontroller/ImageController.java", "file_name": "ImageController.java", "file_ext": "java", "file_size_in_byte": 1118, "line... | https://github.com/ttytt1978/gimbridge | 199 | FILENAME: ImageController.java | 0.253861 | package com.maincontroller;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import javax.imageio.ImageIO;
import java.awt.image.Buffere... |
d5cac004-bb9c-4723-843f-b3304e70b972 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-21 09:17:56", "repo_name": "Ayushmorankar/Question-Answer-Platform", "sub_path": "/src/main/java/com/example/ayush/questionanswerplatform/models/User.java", "file_name": "User.java", "file_ext": "java", "file_... | https://github.com/Ayushmorankar/Question-Answer-Platform | 198 | FILENAME: User.java | 0.26971 | package com.example.ayush.questionanswerplatform.models;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;
import java.util.HashSet;
import java.... |
5e51c6e5-8ec9-4e4f-a3be-8977f439911d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-09T11:51:16", "repo_name": "billwiliams/FinProject", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1022, "line_count": 19, "lang": "en", "doc_type": "text", "bl... | https://github.com/billwiliams/FinProject | 212 | FILENAME: README.md | 0.258326 | # FinProject
##Proximity Marketting Using Bluetooth Low Energy(BLE) beacons
This android application uses Estimote Beacons to determine relative distance between the smartphone and the beacon. Depending on the Distance
Different Actions are triggered
###Login
A user can opt to log on or skip the login on application ... |
7632c731-9679-437b-bccf-93b8d19ca224 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 10:40:22", "repo_name": "ginald-tkb/TwitterFeeds", "sub_path": "/src/main/java/com/company/models/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 49, "lang... | https://github.com/ginald-tkb/TwitterFeeds | 235 | FILENAME: User.java | 0.276691 | package com.company.models;
import java.util.ArrayList;
import java.util.List;
/**
* Created by tshiamo on 2019/03/09.
*/
public class User implements Comparable<User> {
private String name;
/** All tweets by this user and the user's followers*/
private List<Tweet> tweets;
private List<User> followe... |
b5346dfc-c376-4d20-9f10-b7cc9215714c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-15 17:05:41", "repo_name": "ShriLingam23/dms", "sub_path": "/app/src/main/java/com/mad/dms/salesRep/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1119, "line_count": 56, "lang"... | https://github.com/ShriLingam23/dms | 236 | FILENAME: User.java | 0.216012 | package com.mad.dms.salesRep;
public class User {
private String fullname;
private String email;
private String phoneNo;
private String password;
public User() {
}
public User(String fullname, String email, String phoneNo, String password) {
this.fullname = fullname;
this... |
08a2d030-01f8-4716-9b46-07652855d97f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-22 22:33:01", "repo_name": "abarson/PA-Google-API", "sub_path": "/gactions-sample/src/main/java/com/frogermcs/gactions/api/request/RawInput.java", "file_name": "RawInput.java", "file_ext": "java", "file_size_i... | https://github.com/abarson/PA-Google-API | 298 | FILENAME: RawInput.java | 0.267408 | package com.frogermcs.gactions.api.request;
/**
* Created by froger_mcs on 17/01/2017.
*/
public class RawInput {
public Time create_time;
public String query;
public InputType input_type;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || ge... |
f247b700-121d-49bf-94bc-e14ed4810637 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-09-29T07:42:22", "repo_name": "carlohamalainen/carlohamalainen.github.io", "sub_path": "/_posts/2009-09-15-crackle-in-audio-ubuntu-8-049-04-fix.md", "file_name": "2009-09-15-crackle-in-audio-ubuntu-8-049-04-f... | https://github.com/carlohamalainen/carlohamalainen.github.io | 413 | FILENAME: 2009-09-15-crackle-in-audio-ubuntu-8-049-04-fix.md | 0.233706 | ---
id: 739
title: Crackle in audio (Ubuntu 8.04/9.04) fix
date: 2009-09-15T00:00:00+00:00
author: Carlo Hamalainen
layout: post
guid: http://carlo-hamalainen.net/2009/09/15/crackle-in-audio-ubuntu-8-049-04-fix/
permalink: /2009/09/15/crackle-in-audio-ubuntu-8-049-04-fix/
restapi_import_id:
- 596a05ef0330b
original_p... |
47a0e3c3-c2b1-46ac-aaf4-5b89d95cca92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-31T06:19:50", "repo_name": "buildkite/docs", "sub_path": "/pages/agent/v3/prioritization.md", "file_name": "prioritization.md", "file_ext": "md", "file_size_in_byte": 1054, "line_count": 35, "lang": "en", ... | https://github.com/buildkite/docs | 237 | FILENAME: prioritization.md | 0.273574 | ---
toc: false
---
# Buildkite Agent prioritization
By setting an Agent's priority value you determine when it gets assigned build jobs compared to other agents.
Agents with a higher value priority number are assigned work first, with the last priority being given to Agents with the default value of `null`.
To set a... |
5f29c655-d8f5-4321-a900-98a67b8f2f99 | {"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/78/446.java", "file_name": "446.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count": 7... | https://github.com/qiuchili/ggnn_graph_classification | 440 | FILENAME: 446.java | 0.29584 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
char[][] c = new char[10][10];
int sum1 = 0;
int sum2 = 0;
int sum3 = 0;
int i = 0;
int j = 0;
int k = 0;
int p = 0;
int a = 0;
int m = 0;
for (i = 1;i <= 5;i++)
{
c[i][2] = ' ';
}
for (i = 1;i <= 5;i++)
{
... |
cc5974ce-236c-41cc-b0bc-d3094cda390d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-13 06:24:28", "repo_name": "rohitkatiyar/cccmixology", "sub_path": "/webProject/src/connection/JdbcConnection.java", "file_name": "JdbcConnection.java", "file_ext": "java", "file_size_in_byte": 1119, "line_cou... | https://github.com/rohitkatiyar/cccmixology | 244 | FILENAME: JdbcConnection.java | 0.289372 | package connection;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class JdbcConnection {
public static Connection getConnection() {
Connection connection = null;
try {
String url = "jdbc:mysql://1... |
e458d0ab-96b0-46b7-a53f-04a4e1a1710c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-22 08:45:21", "repo_name": "wiLLLL23/ApiRestSpringBoot", "sub_path": "/api/src/main/java/com/example/api/serviceImpl/CarServiceImpl.java", "file_name": "CarServiceImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/wiLLLL23/ApiRestSpringBoot | 221 | FILENAME: CarServiceImpl.java | 0.282988 | package com.example.api.serviceImpl;
import com.example.api.entity.Car;
import com.example.api.repository.CarRepo;
import com.example.api.service.CarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.O... |
7e1a1c36-6008-41ee-9641-33cd9f535d38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-25 05:03:08", "repo_name": "anthonymlortiz/MDP", "sub_path": "/Action.java", "file_name": "Action.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count": 44, "lang": "en", "doc_type": "code", "blob... | https://github.com/anthonymlortiz/MDP | 216 | FILENAME: Action.java | 0.268941 | /*
* 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 mdp;
import java.util.ArrayList;
/**
*
* @author Anthony Ortiz && Jerry Uranga
*/
public class Action {
//... |
4c19cc14-a4ef-4635-a62c-ee87581167b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-23 00:58:33", "repo_name": "chengjiamei/BleConnect", "sub_path": "/BLEConnect/app/src/main/java/roc/cjm/bleconnect/bles/BleLeScanCallback.java", "file_name": "BleLeScanCallback.java", "file_ext": "java", "file... | https://github.com/chengjiamei/BleConnect | 235 | FILENAME: BleLeScanCallback.java | 0.291787 | package roc.cjm.bleconnect.bles;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.util.Log;
import java.util.Calendar;
/**
* Created by Carmy Cheng on 2017/8/23.
*
*/
public class BleLeScanCallback implements BluetoothAdapter.LeScanCallback {
... |
f25a04a8-a31c-4c29-bc2c-7e470b2f1cb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-02 07:04:52", "repo_name": "mizool/mizool", "sub_path": "/core/src/main/java/com/github/mizool/core/validation/CheckDatabaseIdentifier.java", "file_name": "CheckDatabaseIdentifier.java", "file_ext": "java", "f... | https://github.com/mizool/mizool | 199 | FILENAME: CheckDatabaseIdentifier.java | 0.272799 | package com.github.mizool.core.validation;
import java.util.regex.Pattern;
import jakarta.validation.ConstraintValidator;
import jakarta.validation.ConstraintValidatorContext;
public class CheckDatabaseIdentifier implements ConstraintValidator<DatabaseIdentifier, Object>
{
private static final Pattern PATTERN = ... |
5d589324-ab48-4d9d-87f2-44e0fb096990 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-23 15:07:59", "repo_name": "carbage/RuneMate-API", "sub_path": "/darkapi/webwalker/web/loader/util/LoaderThread.java", "file_name": "LoaderThread.java", "file_ext": "java", "file_size_in_byte": 983, "line_coun... | https://github.com/carbage/RuneMate-API | 217 | FILENAME: LoaderThread.java | 0.272025 | package darkapi.webwalker.web.loader.util;
import darkapi.webwalker.web.Web;
import darkapi.webwalker.web.loader.AbstractWebLoader;
public final class LoaderThread extends Thread {
private final AbstractWebLoader loader;
private final String[] set;
private final Web web;
private int index;
privat... |
52a08332-2df6-43b1-a451-22c8175617ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-10 20:33:06", "repo_name": "GurekamSidhu/RecipeSearch", "sub_path": "/app/src/main/java/com/example/recipesearch/network/QueryResponse.java", "file_name": "QueryResponse.java", "file_ext": "java", "file_size_i... | https://github.com/GurekamSidhu/RecipeSearch | 221 | FILENAME: QueryResponse.java | 0.253861 | package com.example.recipesearch.network;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class QueryResponse {
/**
* Response from spoonacular server when searching for recipes with keywords
*/
@SerializedName("offset")
int offset;
@SerializedName("number... |
e813c0c3-d0bb-4893-b902-fa22389de193 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-17 03:47:52", "repo_name": "busyFox/bak", "sub_path": "/engine-server-ws/src/main/java/com/gotogames/bridge/engineserver/request/QueueTestRemoveOldest.java", "file_name": "QueueTestRemoveOldest.java", "file_ex... | https://github.com/busyFox/bak | 215 | FILENAME: QueueTestRemoveOldest.java | 0.272799 | package com.gotogames.bridge.engineserver.request;
import com.gotogames.bridge.engineserver.common.ContextManager;
import com.gotogames.bridge.engineserver.common.EngineConfiguration;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
public class QueueTestRemoveOld... |
e39b803b-2ad2-444c-a08f-25b839a6446a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-18 20:44:54", "repo_name": "Gemei/PushUpsCounter", "sub_path": "/src/com/exotics/pushupscounter/Logs.java", "file_name": "Logs.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 41, "lang": "e... | https://github.com/Gemei/PushUpsCounter | 196 | FILENAME: Logs.java | 0.233706 | package com.exotics.pushupscounter;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.widget.TextView;
import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.view.MenuItem;
public class Logs extends SherlockActivity {
pri... |
36e9ead9-9fe5-4ab7-b1a9-ad2d514997e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 18:55:18", "repo_name": "saralein/java-server", "sub_path": "/server/src/test/java/com/saralein/server/mocks/MockIO.java", "file_name": "MockIO.java", "file_ext": "java", "file_size_in_byte": 1005, "line_co... | https://github.com/saralein/java-server | 211 | FILENAME: MockIO.java | 0.235108 | package com.saralein.server.mocks;
import com.saralein.server.filesystem.IO;
import java.io.IOException;
import java.nio.file.Path;
public class MockIO implements IO {
private final byte[] response;
private Path readPath;
private Path writePath;
private String writeContent;
public MockIO(byte[] r... |
e0faacbf-a891-440d-a775-ad78a80ea8b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-01-17 09:36:37", "repo_name": "caprice/sissi", "sub_path": "/src/main/java/com/sissi/protocol/iq/bytestreams/Streamhost.java", "file_name": "Streamhost.java", "file_ext": "java", "file_size_in_byte": 1035, "line_... | https://github.com/caprice/sissi | 271 | FILENAME: Streamhost.java | 0.226784 | package com.sissi.protocol.iq.bytestreams;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import com.sissi.read.MappingMetadata;
/**
* @author kim 2013年12月18日
*/
@MappingMetadata(uri = Bytestreams.XMLNS, localName = Streamhost.NAME)
@XmlRootElement
public class Stre... |
cee48588-e1dd-4376-81aa-4e36943deb8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 09:52:56", "repo_name": "YashinSergey/Material_design", "sub_path": "/app/src/main/java/com/example/materialdesign/SnackbarActivity.java", "file_name": "SnackbarActivity.java", "file_ext": "java", "file_siz... | https://github.com/YashinSergey/Material_design | 184 | FILENAME: SnackbarActivity.java | 0.224055 | package com.example.materialdesign;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.snackbar.Snackbar;
public class SnackbarActivity extends AppCompatActivity {
... |
7c3d7d9b-fafe-4bfe-843e-9b3884be80fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-08 06:52:30", "repo_name": "urgenmagger/JavaSandbox", "sub_path": "/JavaSandbox/tracker/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 65, "lang": "en", "doc... | https://github.com/urgenmagger/JavaSandbox | 252 | FILENAME: Item.java | 0.279828 | package ru.job4j.tracker;
/**
* Item class tracker.
*
* @author Megger
* @version $Id$
* @since 0.1
*/
public class Item {
/**
* id - id.
*/
private String id;
/**
* name - name.
*/
private String name;
/**
* created - created.
*/
private Long created;
/... |
9e06723d-706b-408d-8611-d46e1762a7cf | {"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/217.java", "file_name": "217.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 5... | https://github.com/qiuchili/ggnn_graph_classification | 361 | FILENAME: 217.java | 0.286169 | package <missing>;
public class GlobalMembers
{
public static int Main()
{
String a = new String(new char[100]);
char c;
String str = new String(new char[100]);
String substr = new String(new char[100]);
char x;
int i;
int j;
int k;
int s;
int t;
while (gets(a))
{
for (i = 0;(c = a.charAt(... |
580fa385-1c5a-49c0-8d90-8e754128b5cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-18 06:33:59", "repo_name": "agkee/Java-Programming", "sub_path": "/Problems/first.java", "file_name": "first.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": 45, "lang": "en", "doc_type": "c... | https://github.com/agkee/Java-Programming | 249 | FILENAME: first.java | 0.264358 |
public class first{
public static class ListNode{
int val;
ListNode next;
ListNode(int a){
val = a;
}
}
public static ListNode findmid(ListNode head){
// The pointer used to disconnect the left half from the mid node.
ListNode slowPtr = head;
L... |
a1ea1549-3169-43e1-ad54-62ea30157462 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-28 06:51:16", "repo_name": "ufjf-dcc196/2019-1-dcc196-exr01-raihlima", "sub_path": "/Exercicio01/app/src/main/java/com/example/exercicio01/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "jav... | https://github.com/ufjf-dcc196/2019-1-dcc196-exr01-raihlima | 197 | FILENAME: MainActivity.java | 0.233706 | package com.example.exercicio01;
import android.annotation.SuppressLint;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {
EditText nome;
EditT... |
01d5a617-8cff-4081-bda8-2325ab252f95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-22T15:39:24", "repo_name": "jhart99/hugo-resume-medline", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1028, "line_count": 18, "lang": "en", "doc_type": "text"... | https://github.com/jhart99/hugo-resume-medline | 234 | FILENAME: README.md | 0.199308 | # hugo-resume-medline
This script takes a medline result file and converts the results into the markdown format used by [hugo-resume](https://github.com/eddiewebb/hugo-resume). The medline results can be produced using [PubMed](https://pubmed.ncbi.nlm.nih.gov/) and choosing the save the results as "PubMed" format. T... |
0e5f210b-3032-4630-9337-6cf652ad1746 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-18 12:16:58", "repo_name": "xaoo90/Zoo", "sub_path": "/System/ZooSystemFX/src/run/MainWindow.java", "file_name": "MainWindow.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 43, "lang": "en"... | https://github.com/xaoo90/Zoo | 200 | FILENAME: MainWindow.java | 0.2227 | /*
* 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 run;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Par... |
87a47c5e-0c31-4fdc-a2fe-b6a7aa553a16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-06 17:07:45", "repo_name": "AlexRefery/gahelp", "sub_path": "/src/main/java/io/khasang/gahelp/service/imol/BirdServiceImpl.java", "file_name": "BirdServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/AlexRefery/gahelp | 249 | FILENAME: BirdServiceImpl.java | 0.272025 | package io.khasang.gahelp.service.imol;
import io.khasang.gahelp.dao.BirdDao;
import io.khasang.gahelp.entity.Bird;
import io.khasang.gahelp.service.BirdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service("birdService"... |
20700be0-e1eb-4853-ac86-04d3b02e1c7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-23 17:43:52", "repo_name": "razor54/DAW-Checklist-Manager", "sub_path": "/spring_server/src/main/java/group1/spring_server/domain/resource/ChecklistItemResource.java", "file_name": "ChecklistItemResource.java"... | https://github.com/razor54/DAW-Checklist-Manager | 198 | FILENAME: ChecklistItemResource.java | 0.249447 | package group1.spring_server.domain.resource;
import group1.spring_server.control.ServiceController;
import group1.spring_server.domain.model.ChecklistItem;
import group1.spring_server.exceptions.MyException;
import org.springframework.hateoas.ResourceSupport;
import static org.springframework.hateoas.mvc.ControllerL... |
9f0d2827-37ea-4a64-a7d0-decb1d0316b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-16T05:04:23", "repo_name": "stormynico/StormyIdleBoost", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1072, "line_count": 26, "lang": "en", "doc_type": "text",... | https://github.com/stormynico/StormyIdleBoost | 260 | FILENAME: README.md | 0.226784 | # StormyIdleBoost
Set up ur accounts 24/7 Online & In-game even your pc close.
# Terms of service
-
# FAQ
-
# Will VAC Dectected This? Can I get banned for this?
- No, VAC doesn't detect this. this is not so dll cheat. Source are from Python.
- In order to answer that question, we should take a closer look at S... |
6f308801-7ccd-4267-bd89-30384fa147a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-07T19:38:04", "repo_name": "CodaCrop/hiwim", "sub_path": "/sass/components/toast/_toast.md", "file_name": "_toast.md", "file_ext": "md", "file_size_in_byte": 1119, "line_count": 23, "lang": "en", "doc_type... | https://github.com/CodaCrop/hiwim | 219 | FILENAME: _toast.md | 0.272025 | ---
title: Toast
---
## Toast
<button type="button" class="button-primary" onClick='TMNL.Toast.message({"position": "bottom", "backdrop": true, "content": "<h3>This is a toast</h3><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vitae ornare urna.</p>"})'>Show toast</button>
```javascript
TMNL.Toa... |
cb0672eb-dcd2-4734-93f0-b59fc37dfbc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-19T16:22:17", "repo_name": "jntingyu/sadasen-search", "sub_path": "/src/main/java/com/sadasen/search/modules/post/entity/Post.java", "file_name": "Post.java", "file_ext": "java", "file_size_in_byte": 1049, "li... | https://github.com/jntingyu/sadasen-search | 266 | FILENAME: Post.java | 0.246533 | package com.sadasen.search.modules.post.entity;
import org.beetl.sql.core.annotatoin.Table;
import com.fasterxml.jackson.annotation.JsonView;
import com.sadasen.search.base.BaseEntity;
/**
* @date 2018年8月16日
* @author lei.ys
* @addr home
* @desc
*/
@Table(name="t_post")
public class Post extends BaseEntity {
... |
351518a0-5414-44e9-8ebc-2138b7c6733d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 18:58:42", "repo_name": "alenkasob/forum", "sub_path": "/forum/src/main/java/com/frm/dao/entity/UserEntity.java", "file_name": "UserEntity.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count":... | https://github.com/alenkasob/forum | 235 | FILENAME: UserEntity.java | 0.250913 | package com.frm.dao.entity;
import com.frm.utils.enums.UserType;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "frm_users")
public class UserEntity implements Serializable {
@Id
private String id;
@Column(name = "name")
private String name;
@Column(name = "pass... |
dec4d66e-078a-4426-a4fa-ed5583977ac8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-16 21:32:08", "repo_name": "riki89/mpp", "sub_path": "/src/orderTracking/ACustomer.java", "file_name": "ACustomer.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 77, "lang": "en", "doc_type... | https://github.com/riki89/mpp | 255 | FILENAME: ACustomer.java | 0.275909 | package orderTracking;
import java.util.ArrayList;
import java.util.List;
public abstract class ACustomer implements ICustomer{
private String name;
private String adress;
private String phone;
private double points;
private List<Order> orders;
public ACustomer(String name, String adress, String phone, double... |
2d8e42a0-5370-488b-9d23-a4dc349151f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-24 10:37:14", "repo_name": "AladdinKevin/rbac", "sub_path": "/src/main/java/com/turnsole/rbac/exception/ParamException.java", "file_name": "ParamException.java", "file_ext": "java", "file_size_in_byte": 1097, ... | https://github.com/AladdinKevin/rbac | 251 | FILENAME: ParamException.java | 0.240775 | package com.turnsole.rbac.exception;
import org.apache.ibatis.executor.ErrorContext;
/**
* @author:徐凯
* @date:2019/8/1,17:31
* @what I say:just look,do not be be
*/
public class ParamException extends RuntimeException {
private static final long serialVersionUID = 6958499248468627021L;
/**错误码*/
priva... |
e62fc793-d4e1-4502-b6ae-ad676e568b27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-11 18:38:07", "repo_name": "MKDenys/TrackEnsureTest", "sub_path": "/app/src/main/java/com/example/trackensuretest/utils/InternetStatusChangeReceiver.java", "file_name": "InternetStatusChangeReceiver.java", "fi... | https://github.com/MKDenys/TrackEnsureTest | 169 | FILENAME: InternetStatusChangeReceiver.java | 0.240775 | package com.example.trackensuretest.utils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.example.trackensuretest.Constants;
import com.example.trackensuretest.services.SyncDBSe... |
9681dffe-61e5-4008-9e94-39b8f8a892f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-01 18:46:40", "repo_name": "Belfegor8625/ShoppingList-App", "sub_path": "/app/src/main/java/com/bartoszlewandowski/shoppinglist/registration/SignUpAndLoginActivity.java", "file_name": "SignUpAndLoginActivity.j... | https://github.com/Belfegor8625/ShoppingList-App | 206 | FILENAME: SignUpAndLoginActivity.java | 0.226784 | package com.bartoszlewandowski.shoppinglist.registration;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import com.bartoszlewandowski.shoppinglist.R;
import ... |
05f09e16-afdb-42c2-bd21-689d9fe78f03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-03 22:08:47", "repo_name": "Juik/TestWeb", "sub_path": "/src/com/pb/entity/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 56, "lang": "en", "doc_type": "code... | https://github.com/Juik/TestWeb | 218 | FILENAME: User.java | 0.23092 | package com.pb.entity;
public class User {
private int id;
private String userName;
private String userPassword;
private String authority;
public User() {
userName = "";
userPassword = "";
authority = "";
}
public User(int inputID, String inputUserName, String inputUserPassword,
String... |
2d462f0e-d91c-485c-8a0e-741cc577699d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-21T05:37:06", "repo_name": "BreakthrougBackEndTech/Aboo", "sub_path": "/springCloud/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1596, "line_count": 72, "lang": "zh", "doc_t... | https://github.com/BreakthrougBackEndTech/Aboo | 440 | FILENAME: README.md | 0.282988 | 
### config-server
统一的配置服务,所有服务默认都会读取application.yml里面的配置,然后每个服务读取和自己服务名一样的配置
### regist-server
服务发现eureka
服务分区 region 和zone https://segmentfault.com/a/1190000014107639
https://www.cnblogs.com/ldws/p/12379994.html
一个机房内的服务优先调用同一个机房内的服务,当同一个机房的服务不可用的时候,
再去调用其它机房的服务,以达到减少延时的作用
###... |
47ca0314-7ca9-4f67-b90a-d137c27dbf2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-20 12:46:52", "repo_name": "GXMUHATE/Android-app-with-firebase-database", "sub_path": "/app/src/main/java/com/gracane/synecoculture/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "fi... | https://github.com/GXMUHATE/Android-app-with-firebase-database | 167 | FILENAME: MainActivity.java | 0.194368 | package com.gracane.synecoculture;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
public class MainActivity extends AppCompatActivity {
FloatingActionButton fabNewUpload;
... |
ef8639bf-63e2-4807-9baf-46b18a3aa34a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-21 19:29:07", "repo_name": "faisal-hameed/advance-spring-app", "sub_path": "/src/main/java/pk/habsoft/demo/estore/db/entity/PermissionEntity.java", "file_name": "PermissionEntity.java", "file_ext": "java", "fi... | https://github.com/faisal-hameed/advance-spring-app | 212 | FILENAME: PermissionEntity.java | 0.240775 | package pk.habsoft.demo.estore.db.entity;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lo... |
391dc180-41a9-42da-849c-ce5bbf90fcc7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-24 03:05:44", "repo_name": "davilav/Ekaa", "sub_path": "/app/src/main/java/com/pma/ekaa/data/models/Modality.java", "file_name": "Modality.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count": 55... | https://github.com/davilav/Ekaa | 221 | FILENAME: Modality.java | 0.199308 | package com.pma.ekaa.data.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Modality {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("name")
@Expose
private String name;
@SerializedName("color")
@Expo... |
3e9f36a1-2181-4bbd-81de-63a629a6b1fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-09T16:50:39", "repo_name": "aaronats/jsmidi-examples", "sub_path": "/electronic/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 27, "lang": "en", "doc_type"... | https://github.com/aaronats/jsmidi-examples | 267 | FILENAME: README.md | 0.243642 | ## JSMidi Examples: 10 Part Electronic
This is a simple 10 part electronic song using Logic Pro X software instruments
without any modifications made. See the instrument list below and the screenshot
for the levels I used. Also please read the documentation on
[multi track setup](https://github.com/aaronats/jsmidi/blo... |
18332e36-c2af-4cf6-ab7d-ce1aa0fb9062 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-02 13:18:40", "repo_name": "sandeepgondal/SpringPrograms", "sub_path": "/src/main/java/com/sandy/spring/di/beanconfig/annotationconfig/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size... | https://github.com/sandeepgondal/SpringPrograms | 247 | FILENAME: Address.java | 0.236516 | package com.sandy.spring.di.beanconfig.annotationconfig;
import org.springframework.stereotype.Component;
@Component
public class Address {
private String city;
private String state;
private int pin;
public Address() {
this.city = "Pune";
this.state = "Maharashtra";
this.pin ... |
339c412a-3de2-488e-b6c5-eb1aa87427f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-01 12:34:40", "repo_name": "Ddd1101/CXShop_Mall", "sub_path": "/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/controller/SeckillController.java", "file_name": "SeckillController.java", "file_ext": "jav... | https://github.com/Ddd1101/CXShop_Mall | 229 | FILENAME: SeckillController.java | 0.201813 | package com.wayn.mobile.api.controller;
import com.wayn.common.base.controller.BaseController;
import com.wayn.common.util.R;
import com.wayn.mobile.api.service.ISeckillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springf... |
02842fb3-2800-4b42-8751-b0cafd83dd61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-01 02:50:30", "repo_name": "senjoeson/CordovaHelp", "sub_path": "/src/application/utils/LogUtils.java", "file_name": "LogUtils.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": 46, "lang": "e... | https://github.com/senjoeson/CordovaHelp | 254 | FILENAME: LogUtils.java | 0.26588 | package application.utils;
import java.io.File;
import java.nio.charset.Charset;
/**
* @author MyPC
* @date 2018/7/18
* @function 主要用作日志收集
*/
public class LogUtils {
private static final boolean isLogShow = true;
private static String LOG_FILE = System.getProperty("user.dir") + File.separator + "log... |
c8be81fa-3165-4e98-9b73-f9be47ced71c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-02 13:21:04", "repo_name": "Baeldung/reddit-app", "sub_path": "/reddit-common/src/main/java/org/baeldung/web/metric/MetricFilter.java", "file_name": "MetricFilter.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Baeldung/reddit-app | 210 | FILENAME: MetricFilter.java | 0.285372 | package org.baeldung.web.metric;
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.servlet.http.Ht... |
2837bee5-382b-41c5-b92a-45df2748d8c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-08T15:42:56", "repo_name": "quyenjd/Cryptocurrency-Graph-Tracer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1026, "line_count": 30, "lang": "en", "doc_type"... | https://github.com/quyenjd/Cryptocurrency-Graph-Tracer | 248 | FILENAME: README.md | 0.208179 | # Cryptocurrency Graph Tracer (2017)
A black screen version of cryptocurrency graph used for tracing prices. It also has an alarm at which you can set the price for going off.
Powered by [Bitfinex](www.bitfinex.com) and [30rates](30rates.com).
## Installation
1. Download the source.
2. Compile the `cpp` files (with ... |
2fb80928-aa47-4519-8521-b1deb3a0d995 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-02 12:41:45", "repo_name": "gleywsonribeiro/Retaguarda", "sub_path": "/src/java/beans/PesquisaController.java", "file_name": "PesquisaController.java", "file_ext": "java", "file_size_in_byte": 1031, "line_coun... | https://github.com/gleywsonribeiro/Retaguarda | 202 | FILENAME: PesquisaController.java | 0.236516 | /*
* 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 beans;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import j... |
4090a5fb-11da-4579-8c99-c7ff21e5b2f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 22:11:15", "repo_name": "MarcelaRivera2000/ProyectoProgra2", "sub_path": "/src/proyectoprogra/pkg2/UsuarioSockets.java", "file_name": "UsuarioSockets.java", "file_ext": "java", "file_size_in_byte": 1032, "l... | https://github.com/MarcelaRivera2000/ProyectoProgra2 | 210 | FILENAME: UsuarioSockets.java | 0.245085 | /*
* 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 proyectoprogra.pkg2;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public clas... |
0fe131b8-97fe-445b-a134-bd2fd89bb64e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-20 18:08:59", "repo_name": "ChatCamp/ChatCamp-Android-Example", "sub_path": "/app/src/main/java/io/chatcamp/app/ChatCampAppFirebaseInstanceIDService.java", "file_name": "ChatCampAppFirebaseInstanceIDService.ja... | https://github.com/ChatCamp/ChatCamp-Android-Example | 229 | FILENAME: ChatCampAppFirebaseInstanceIDService.java | 0.285372 | package io.chatcamp.app;
import com.google.firebase.iid.FirebaseInstanceIdService;
import com.google.firebase.iid.FirebaseInstanceId;
import android.util.Log;
import io.chatcamp.sdk.ChatCamp;
import io.chatcamp.sdk.ChatCampException;
import io.chatcamp.sdk.User;
/**
* Created by ChatCamp Team on 07/12/17.
*/
publ... |
e4eb14d0-9455-4588-a5f7-50a8d753a0ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-22 06:32:15", "repo_name": "bradchao/FSIT07_JavaEE", "sub_path": "/Brad/src/tw/brad/javaee/Brad03.java", "file_name": "Brad03.java", "file_ext": "java", "file_size_in_byte": 1086, "line_count": 37, "lang": "en... | https://github.com/bradchao/FSIT07_JavaEE | 208 | FILENAME: Brad03.java | 0.243642 | package tw.brad.javaee;
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("/Brad03")
public class Brad0... |
016ddb19-d0bd-48d1-96c7-d620f7926f1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-11 23:41:09", "repo_name": "yavuzkavus/java-commons", "sub_path": "/src/main/java/com/readjournal/db/DbWrapper.java", "file_name": "DbWrapper.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count":... | https://github.com/yavuzkavus/java-commons | 263 | FILENAME: DbWrapper.java | 0.295027 | package com.readjournal.db;
import java.util.Date;
import com.readjournal.db.DbPool.PDB;
import com.readjournal.util.DateUtil;
public class DbWrapper {
private PDB db;
private Date lastAccessTime;
private Date borrowTime;
private boolean locked;
private boolean reapable;
public DbWrapper(DB db) {
this.db = (... |
dc55cc47-5a14-4773-915c-91a13cfe5fb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-08 03:28:38", "repo_name": "wangye1987/HeheDrink", "sub_path": "/BusinesMove/businessDrinkApp/src/main/java/com/heheys/ec/controller/receiver/AppRegister.java", "file_name": "AppRegister.java", "file_ext": "ja... | https://github.com/wangye1987/HeheDrink | 243 | FILENAME: AppRegister.java | 0.277473 | package com.heheys.ec.controller.receiver;
import com.alibaba.wireless.security.jaq.JAQException;
import com.alibaba.wireless.security.jaq.SecurityCipher;
import com.alibaba.wireless.security.jaq.SecurityInit;
import com.heheys.ec.utils.ConstantsUtil;
import com.tencent.mm.sdk.openapi.IWXAPI;
import com.tencent.mm.sdk... |
d26f2aa0-8e63-4e48-b640-c61a5023eec7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-09-21T18:02:00", "repo_name": "hourliert/generator-jspm-angular", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1286, "line_count": 54, "lang": "en", "doc_type": "... | https://github.com/hourliert/generator-jspm-angular | 323 | FILENAME: README.md | 0.26588 | # generator-jspm-angular [](https://travis-ci.org/hourliert/generator-jspm-angular)
## Getting Started
### Install
```bash
npm install -g yo generator-jspm-angular
yo jspm-angular
```
### Structure
The scaffolded project has this structure:... |
02bd3c8e-372e-429a-9ea2-b16dbaf852cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 11:48:46", "repo_name": "2842902295/2842902295", "sub_path": "/status/src/com/company/service/impl/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/2842902295/2842902295 | 204 | FILENAME: StudentServiceImpl.java | 0.288569 | package com.company.service.impl;
import com.company.dao.StudentDao;
import com.company.dao.impl.StudentDaoImpl;
import com.company.pojo.Student;
import com.company.service.StudentService;
import java.util.List;
/**
* @Description:
* @Data:Created in 17:04 2/26
* @Modified By:
*/
public class Stude... |
c7aad773-732b-4519-b9a0-d35b03597ecb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-26 04:39:19", "repo_name": "fengsha990817/question", "sub_path": "/src/main/java/com/question/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/fengsha990817/question | 215 | FILENAME: UserServiceImpl.java | 0.279042 | package com.question.service.impl;
import com.question.dao.UserMapper;
import com.question.entity.User;
import com.question.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class UserServiceImpl i... |
ca997de2-1f06-463f-8bef-121143b919bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-12 05:42:13", "repo_name": "kanimozhimurugan/SplunkModularInputsJavaFramework", "sub_path": "/kinesis/src/com/splunk/modinput/kinesis/AbstractMessageHandler.java", "file_name": "AbstractMessageHandler.java", "... | https://github.com/kanimozhimurugan/SplunkModularInputsJavaFramework | 243 | FILENAME: AbstractMessageHandler.java | 0.274351 | package com.splunk.modinput.kinesis;
import java.util.Map;
import com.splunk.modinput.SplunkLogEvent;
import com.splunk.modinput.Stream;
import com.splunk.modinput.kinesis.KinesisModularInput.MessageReceiver;
public abstract class AbstractMessageHandler {
public abstract Stream handleMessage(String record,String ... |
9a056b10-7859-4a27-8f3f-18f86dcffa14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 18:19:31", "repo_name": "lukFisz/journal", "sub_path": "/src/main/java/luk/fisz/journal/common/util/mail/MailSenderImpl.java", "file_name": "MailSenderImpl.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/lukFisz/journal | 235 | FILENAME: MailSenderImpl.java | 0.275909 | package luk.fisz.journal.common.util.mail;
import luk.fisz.journal.common.definition.mail.MailProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.stereotype.Service;
... |
ee2c74b1-45c2-4087-aa39-a701d0189bee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-09 19:09:04", "repo_name": "Arce2603/MySimpleTweets", "sub_path": "/app/src/main/java/com/codepath/apps/restclienttemplate/models/Tweet.java", "file_name": "Tweet.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Arce2603/MySimpleTweets | 231 | FILENAME: Tweet.java | 0.276691 | package com.codepath.apps.restclienttemplate.models;
import org.json.JSONException;
import org.json.JSONObject;
import org.parceler.Parcel;
@Parcel
public class Tweet {
//list of attribute
public String body;
public long uid; //database ID for the tweet
public String createdAt;
public User user;... |
ca07c674-17c5-4801-a56d-1286f1927ee8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-06 04:48:53", "repo_name": "omarfaruqe/iText-Java-PDF", "sub_path": "/src/PdfReaderTest.java", "file_name": "PdfReaderTest.java", "file_ext": "java", "file_size_in_byte": 1057, "line_count": 30, "lang": "en", ... | https://github.com/omarfaruqe/iText-Java-PDF | 220 | FILENAME: PdfReaderTest.java | 0.259826 | import com.itextpdf.text.pdf.PdfReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
/**
* Created by faruqe on 05/04/15.
*/
public class PdfReaderTest {
public static void main(String[] args) {
try {
PdfReader reader = new PdfReader(new FileInputStream("OutputPdf.p... |
11746875-bb50-42c1-b775-499c3f6aa874 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-16 18:02:53", "repo_name": "TristanNeret/Oops", "sub_path": "/Oops-web/src/main/java/com/gdf/validators/ZipCodeValidator.java", "file_name": "ZipCodeValidator.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/TristanNeret/Oops | 260 | FILENAME: ZipCodeValidator.java | 0.282988 | package com.gdf.validators;
import com.gdf.singleton.PopulateDB;
import javax.ejb.EJB;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.... |
e06789eb-296c-4598-bd46-df8c565b76ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-18 06:18:41", "repo_name": "minhdat1602/2021_mobile_group17_backend", "sub_path": "/src/main/java/com/nlu/entity/StatusEntity.java", "file_name": "StatusEntity.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/minhdat1602/2021_mobile_group17_backend | 234 | FILENAME: StatusEntity.java | 0.264358 | package com.nlu.entity;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonBackReference;
@Entity
@Table(name = "order_status")
public class StatusEntity extends Base... |
4528d6c0-a347-4955-9bde-6755ea03fd90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-27 06:45:59", "repo_name": "d2vfactory/throw-money", "sub_path": "/src/main/java/com/d2vfactory/throwmoney/aspect/EventAspect.java", "file_name": "EventAspect.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/d2vfactory/throw-money | 211 | FILENAME: EventAspect.java | 0.289372 | package com.d2vfactory.throwmoney.aspect;
import com.d2vfactory.throwmoney.domain.event.Event;
import com.d2vfactory.throwmoney.domain.event.repository.EventRepository;
import com.d2vfactory.throwmoney.domain.money.ReceiveMoneyDTO;
import com.d2vfactory.throwmoney.domain.money.ThrowMoneyDTO;
import org.aspectj.lang.an... |
fe1de6d4-725a-4b16-a465-8cf165ed0218 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-09 10:05:50", "repo_name": "iholen/rpc-based-netty", "sub_path": "/rpc-core/src/main/java/com/heoller/entity/Request.java", "file_name": "Request.java", "file_ext": "java", "file_size_in_byte": 1177, "line_cou... | https://github.com/iholen/rpc-based-netty | 276 | FILENAME: Request.java | 0.247987 | package com.heoller.entity;
/**
* 〈一句话功能简述〉
*
* @author 19093070
* @date 2021/1/9 15:59
* @see [相关类/方法](可选)
* @since [产品/模块版本] (可选)
*/
public class Request {
private String clazz;
private String method;
private String arg;
public Request() {
}
public Request(Strin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.