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 |
|---|---|---|---|---|---|---|
80d20844-ba7b-493f-bd95-1572fdf521c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-21 09:18:22", "repo_name": "Gaddale/qa-test-hf", "sub_path": "/src/test/java/com/hellofresh/challenge/steps/ExistingCustomer.java", "file_name": "ExistingCustomer.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Gaddale/qa-test-hf | 201 | FILENAME: ExistingCustomer.java | 0.258326 | package com.hellofresh.challenge.steps;
import com.hellofresh.challenge.pages.MyAccountPage;
import com.hellofresh.challenge.pages.PageFactory;
import cucumber.api.java.en.Then;
import org.apache.log4j.Logger;
import static org.assertj.core.api.Assertions.assertThat;
import static org.apache.log4j.Logger.getLogger;
... |
d8f5e999-4c7d-4f00-ba9c-443c5646eeee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-29 14:02:03", "repo_name": "mercutiy/MambaTest", "sub_path": "/app/src/main/java/ru/mamba/test/mambatest/activity/Anketa.java", "file_name": "Anketa.java", "file_ext": "java", "file_size_in_byte": 979, "line_c... | https://github.com/mercutiy/MambaTest | 187 | FILENAME: Anketa.java | 0.220007 | package ru.mamba.test.mambatest.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import ru.mamba.test.mambatest.fragment.AnketaFragment;
import ru.mamba.test.mambatest.R;
public class Anketa extends AppCompatActivity {
public static S... |
3cf8c43a-cb3d-4a2b-8e66-1fd89df1bf46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-21 21:35:25", "repo_name": "jfspps/SpringAndRabbitMQDemo", "sub_path": "/src/main/java/com/example/rabbitmqandspring/listener/TVConsumer.java", "file_name": "TVConsumer.java", "file_ext": "java", "file_size_in... | https://github.com/jfspps/SpringAndRabbitMQDemo | 201 | FILENAME: TVConsumer.java | 0.258326 | package com.example.rabbitmqandspring.listener;
import com.example.rabbitmqandspring.model.Person;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInput;
import java.i... |
7fc946e8-385b-4510-8c49-d6e7a1847814 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-10 03:36:15", "repo_name": "hd-je/web", "sub_path": "/src/main/java/com/web/domain/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1222, "line_count": 56, "lang": "en", "doc_type... | https://github.com/hd-je/web | 242 | FILENAME: User.java | 0.262842 | package com.web.domain;
import com.web.domain.enums.SocialType;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.prefs.Preferences;
@Getter
@NoArgsConstructor
@Entity
@Table
public ... |
91a3a2d7-6bfc-48e0-b5e2-f0b461c4dd3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-01 21:28:40", "repo_name": "ErikaFernandes/WeLoveLinux", "sub_path": "/WeLoveLinuxAPI/src/com/erika/welovelinuxapi/command/ExecCommand.java", "file_name": "ExecCommand.java", "file_ext": "java", "file_size_in_... | https://github.com/ErikaFernandes/WeLoveLinux | 193 | FILENAME: ExecCommand.java | 0.247987 | package com.erika.welovelinuxapi.command;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class ExecCommand {
public List<String> executeCommand(String command) throws IOException {
List<String> result = new Arr... |
b3abb74d-7a2f-4694-b5fd-0ef1782be08a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 11:42:34", "repo_name": "lakshmiswetha98/javaproject", "sub_path": "/mavenweb-jdbc/src/main/java/com/cts/training/mavenweb/services/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java", "file_ex... | https://github.com/lakshmiswetha98/javaproject | 189 | FILENAME: StudentServiceImpl.java | 0.277473 | package com.cts.training.mavenweb.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import com.cts.training.mavenweb.dao.IStudentDao;
import com.cts.training.mavenweb... |
6ab43d65-6cfa-4e61-a870-41a207fbddbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 13:14:38", "repo_name": "Lekkie/fakebook", "sub_path": "/src/main/java/com/currencycloud/fakebook/service/RecipientService.java", "file_name": "RecipientService.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Lekkie/fakebook | 222 | FILENAME: RecipientService.java | 0.23092 | package com.currencycloud.fakebook.service;
import com.currencycloud.fakebook.entity.Recipient;
import com.currencycloud.fakebook.repository.RecipientRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by leka... |
b881c87c-b2bd-4619-8ac7-e7e9a087592d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-14 00:21:12", "repo_name": "bankiry/bankomat", "sub_path": "/src/main/java/com/solvd/bankomat/model/Atm.java", "file_name": "Atm.java", "file_ext": "java", "file_size_in_byte": 1181, "line_count": 62, "lang": ... | https://github.com/bankiry/bankomat | 268 | FILENAME: Atm.java | 0.282988 | package com.solvd.bankomat.model;
import java.util.List;
public class Atm {
private Long id;
private Bank ownerBank;
private List<Language> languages;
private List<BankNote> bankNotes;
private List<Operation> operations;
public enum Language {
RUSSIAN, ENGLISH;
}
public enum... |
a50cfb19-ba58-48cf-b399-0f7199c3193f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-29 10:08:08", "repo_name": "Sindhurimaram98/Demo1", "sub_path": "/src/test/java/step_def/fblogin.java", "file_name": "fblogin.java", "file_ext": "java", "file_size_in_byte": 1190, "line_count": 48, "lang": "en... | https://github.com/Sindhurimaram98/Demo1 | 287 | FILENAME: fblogin.java | 0.288569 | package step_def;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import step_def.MyDrivers;
public class fblogin {
WebDriver d;
@Given("... |
1b9e7e62-79fe-4f5f-975a-b47387bf6a3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-21T12:35:05", "repo_name": "aktalgat/store-java", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 989, "line_count": 51, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/aktalgat/store-java | 253 | FILENAME: README.md | 0.278257 | # Test project Store
Store project backend in Java using Spring Boot. For storing products and checkout transaction
used H2 embedded database.
### To run project in developer mode
In Linux and macOS
```bash
./gradlew bootRun
```
In Windows
```bash
gradlew.bat bootRun
```
If you want to run only backend without client ... |
1dbe88cd-9d9a-4389-acd1-3a14de0f618d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-16 14:57:44", "repo_name": "FightingBob/new_community", "sub_path": "/src/main/java/com/littlebob/community/controller/AuthorizeController.java", "file_name": "AuthorizeController.java", "file_ext": "java", "f... | https://github.com/FightingBob/new_community | 198 | FILENAME: AuthorizeController.java | 0.233706 | package com.littlebob.community.controller;
import com.littlebob.community.service.AuthorizeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation... |
77dd4d00-3989-48c2-956f-f7362f3f1fe4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-23 10:13:15", "repo_name": "macrock777/SBcom", "sub_path": "/src/main/java/com/mudra/mboss/master/restcontroller/ClientGroupmasterRestcontroller.java", "file_name": "ClientGroupmasterRestcontroller.java", "fil... | https://github.com/macrock777/SBcom | 186 | FILENAME: ClientGroupmasterRestcontroller.java | 0.262842 | package com.mudra.mboss.master.restcontroller;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.an... |
6da72ab6-5e9b-4afc-8ae2-54858f113431 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-07-25T06:45:29", "repo_name": "badascii/pcs_notes", "sub_path": "/week3.md", "file_name": "week3.md", "file_ext": "md", "file_size_in_byte": 1100, "line_count": 53, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/badascii/pcs_notes | 242 | FILENAME: week3.md | 0.249447 | Week 3 Notes - JavaScript
Functions
-it is very easy to pass functions around as variables
var ted = function() {}
is better than
function ted () {}
Falsey Values
false
null
0
""
[]
{}
NaN
undefined
Local vs. Global Variables
bacon = 3 <- glo... |
d87cac6d-9097-4ffc-b8bc-6cbf2fcb6f21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-02 15:35:43", "repo_name": "shadaki85/AndroidApps", "sub_path": "/Hello_World/app/src/main/java/com/example/svilupposw/hello_world/SingleUserShow.java", "file_name": "SingleUserShow.java", "file_ext": "java", ... | https://github.com/shadaki85/AndroidApps | 197 | FILENAME: SingleUserShow.java | 0.214691 | package com.example.svilupposw.hello_world;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
public class SingleUserShow exten... |
de549d93-78d3-4b1a-8e7e-cfbe35418d2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-27 15:45:51", "repo_name": "juancrud/GymBackend", "sub_path": "/GymDao/src/main/java/com/juancrud/gym/dao/RoutineItem.java", "file_name": "RoutineItem.java", "file_ext": "java", "file_size_in_byte": 1003, "lin... | https://github.com/juancrud/GymBackend | 230 | FILENAME: RoutineItem.java | 0.286968 | package com.juancrud.gym.dao;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
@Entity
public class RoutineItem extends EntityWithId {
@Column(name="Comments", nullable = true)
private String comments;
@OneToM... |
59e9d059-fcb5-486a-9249-357bd08505b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-10 20:30:17", "repo_name": "GianBruschini/Bejew", "sub_path": "/app/src/main/java/com/example/bejew/Presentation.java", "file_name": "Presentation.java", "file_ext": "java", "file_size_in_byte": 1183, "line_co... | https://github.com/GianBruschini/Bejew | 211 | FILENAME: Presentation.java | 0.242206 | package com.example.bejew;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.TextView;
public class Presentation extends AppC... |
07eeb074-916d-45ae-bd7e-daf63167a1a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-30 22:29:35", "repo_name": "web-dev-guru/spring-boot-jps-mysql", "sub_path": "/src/main/java/com/cases/mysqls/service/ProdcuctServiceImpl.java", "file_name": "ProdcuctServiceImpl.java", "file_ext": "java", "fi... | https://github.com/web-dev-guru/spring-boot-jps-mysql | 208 | FILENAME: ProdcuctServiceImpl.java | 0.276691 | package com.cases.mysqls.service;
import com.cases.mysqls.bean.Product;
import com.cases.mysqls.repository.ProductRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@Se... |
8725985c-3d05-4204-8374-5912010454e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-26T00:36:34", "repo_name": "fernando-mc/redmondpython.com", "sub_path": "/content/contributing.md", "file_name": "contributing.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 33, "lang": "en... | https://github.com/fernando-mc/redmondpython.com | 260 | FILENAME: contributing.md | 0.189521 | ---
layout: page
title: Contributing to Redmondpython.com
---
This is a quick guide on how you can contribute to [Redmondpython.com](http://github.com/fernando-mc/redmondpython.com)
- For help with git commands and repository management, here is a [quick guide](https://www.codeschool.com/courses/try-git)
- You can a... |
b0c8f4c8-da31-46b4-9366-ae3ad7736f2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-12 08:30:58", "repo_name": "Younghusband/LeetCode", "sub_path": "/src/com/playground/extend/CreateObjectTest.java", "file_name": "CreateObjectTest.java", "file_ext": "java", "file_size_in_byte": 1020, "line_co... | https://github.com/Younghusband/LeetCode | 227 | FILENAME: CreateObjectTest.java | 0.290981 | package com.playground.extend;
/**
* @author: Vermouth
* @create: 2021-08-06 16:32
* @description:
**/
public class CreateObjectTest implements Cloneable {
String name;
int age;
public CreateObjectTest() {
}
public CreateObjectTest(String name) {
this.name = name;
initAge();... |
29d6f252-6fa8-43f7-a66e-43b1e977f05e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-13 14:44:41", "repo_name": "ncremaschini/maze-solver", "sub_path": "/src/main/java/it/niccrema/model/Maze.java", "file_name": "Maze.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 56, "lang... | https://github.com/ncremaschini/maze-solver | 282 | FILENAME: Maze.java | 0.295027 | package it.niccrema.model;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Function;
import java.util.stream.Collectors;
public class Maze {
private Set<Room> rooms;
private Map<Integer, Room> mazeMap;
public Set<Room> getRooms() {
return this.... |
56ac70af-ec22-4ccb-ba86-f21903d01a73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-19T19:55:52", "repo_name": "bhavinpatel08/homedepot_bhavinpatel", "sub_path": "/BootCamp_2953VA_Bhavinkumar_Patel_HomeDepot/src/main/java/pageActions/RegistrationPage.java", "file_name": "RegistrationPage.java... | https://github.com/bhavinpatel08/homedepot_bhavinpatel | 213 | FILENAME: RegistrationPage.java | 0.264358 | package pageActions;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class RegistrationPage {
WebDriver driver;
public RegistrationPage(WebDriver driver)
{
this.driver=driver;
PageFac... |
ef4a5ca7-0e46-4144-9569-524af3b6b79b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-07 17:18:40", "repo_name": "dcwik96/TestJavaApplication", "sub_path": "/Projekt2/src/main/java/com/projekt/projekt2/entity/Article.java", "file_name": "Article.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/dcwik96/TestJavaApplication | 255 | FILENAME: Article.java | 0.292595 | package com.projekt.projekt2.entity;
import javax.persistence.*;
import java.util.List;
@Entity
public class Article {
private Long id;
private String name;
private double value;
private List<Purchase> purchases;
public Article() {
}
public Article(String name, double value, List<Purcha... |
03cfeb65-4ade-41ef-8607-c01b887bae7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-08 03:01:17", "repo_name": "ndefilippis/SimpleNetworkLibrary", "sub_path": "/netcode/MessageReceiver.java", "file_name": "MessageReceiver.java", "file_ext": "java", "file_size_in_byte": 1080, "line_count": 48,... | https://github.com/ndefilippis/SimpleNetworkLibrary | 227 | FILENAME: MessageReceiver.java | 0.275909 | package netcode;
import java.io.IOException;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.DatagramChannel;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import threading.RunnableLoop;
public class MessageReceiver extends RunnableLoop{
private Datag... |
087dee60-289d-47ea-81df-88c869201555 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-21 16:31:28", "repo_name": "tallesan/MyPublicJava", "sub_path": "/10_SQLAndHibernate/HibernateSQLExperements/src/main/java/PLKey.java", "file_name": "PLKey.java", "file_ext": "java", "file_size_in_byte": 1093,... | https://github.com/tallesan/MyPublicJava | 279 | FILENAME: PLKey.java | 0.271252 | import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class PLKey implements Serializable {
public PLKey() {
}
private static final long serialVersionUID = 2472129826645489974L;
public PLKey(String name, String course) ... |
7a4a3f9f-6ad4-4c5c-8efb-57b660122e1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-11 12:28:28", "repo_name": "PycomCompanion/sigfoxcompanion", "sub_path": "/app/src/main/java/com/dayman/sigfoxcompanion/AboutActivity.java", "file_name": "AboutActivity.java", "file_ext": "java", "file_size_in... | https://github.com/PycomCompanion/sigfoxcompanion | 225 | FILENAME: AboutActivity.java | 0.195594 | package com.dayman.sigfoxcompanion;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
public class AboutActivity extends ... |
f6f8dfbf-cc41-4555-95bd-db1b2a0b87c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-11 23:05:27", "repo_name": "PC-Logix/LanteaBot", "sub_path": "/src/main/java/pcl/lc/irc/entryClasses/CommandArgument.java", "file_name": "CommandArgument.java", "file_ext": "java", "file_size_in_byte": 1187, "... | https://github.com/PC-Logix/LanteaBot | 263 | FILENAME: CommandArgument.java | 0.256832 | package pcl.lc.irc.entryClasses;
import java.util.ArrayList;
public class CommandArgument {
public String name;
public String description;
public String type;
public String arg;
public ArrayList<String> argList;
/**
*
* @param type The argument type, see docs of CommandArgumentParser constructor for list
... |
6f179d75-9275-4294-b4d7-c8a1d5479265 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-15 08:50:58", "repo_name": "low901028/bowls-forecast-lightweight", "sub_path": "/jrpc/src/test/java/com/jdd/rpc/test/demo/api/ClientDemo.java", "file_name": "ClientDemo.java", "file_ext": "java", "file_size_in... | https://github.com/low901028/bowls-forecast-lightweight | 343 | FILENAME: ClientDemo.java | 0.282196 | package com.jdd.rpc.test.demo.api;
import com.jdd.rpc.config.ClientConfig;
import com.jdd.rpc.config.RegistryConfig;
import com.jdd.rpc.test.gen.EchoService.Iface;
/**
* The demo of client by api.
* <p>
*
*/
public class ClientDemo {
/**
* @param args
*/
public static void main(String[] args) {
... |
c7490702-0167-44d7-a8c1-a8db418e93a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-07-31T07:50:35", "repo_name": "revh/gpxjson", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1156, "line_count": 59, "lang": "en", "doc_type": "text", "blob_id": "9... | https://github.com/revh/gpxjson | 408 | FILENAME: README.md | 0.253861 | GPXJSON
=======
gpxjson is a command line utility and a little go library which aims you to convert a gpx file to a simplified JSON version
GPX https://en.wikipedia.org/wiki/GPS_eXchange_Format
##Getting Started
###Installing
To start using gpxjson, install Go and run `go get`:
```sh
$ go get github.com/revh/gpxj... |
7bddd74e-ba75-42ff-8aa0-99a1826525ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 02:26:31", "repo_name": "uuyongche/Helloworld", "sub_path": "/app/src/main/java/com/example/helloworld/A.java", "file_name": "A.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count": 51, "lang"... | https://github.com/uuyongche/Helloworld | 222 | FILENAME: A.java | 0.246533 | package com.example.helloworld;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class A implements Serializable {
volatile String a = "";
public class Solution {
public boolean Find(int target, int [][] arr... |
14f4020c-4ae8-4b10-be28-bacf033030ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 15:32:44", "repo_name": "smarthealthcaretoday/myhealth-backend", "sub_path": "/myhealth-web-api/src/main/java/today/smarthealthcare/myhealth/configuration/WebAppConfig.java", "file_name": "WebAppConfig.java... | https://github.com/smarthealthcaretoday/myhealth-backend | 169 | FILENAME: WebAppConfig.java | 0.213377 | package today.smarthealthcare.myhealth.configuration;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sparkpost.Client;
import com.sparkpost.exception.SparkPostException;
import com.sparkpost.transport.RestConnection;
import org.springframework.beans.... |
7c529dfb-44db-4648-b043-371befc9d985 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-18 02:58:54", "repo_name": "hyjfine/spring-demo", "sub_path": "/src/main/java/hello/aspect/AspectOne.java", "file_name": "AspectOne.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 44, "lang... | https://github.com/hyjfine/spring-demo | 275 | FILENAME: AspectOne.java | 0.290176 | package hello.aspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
@Aspect
public class AspectOne {
@Before(value = "pointcutAddUser() && args(name)", argNames = "name")
public void before(String name) {
System.out.println("前置通知-----" + " || " + name);
}
... |
c0957e7b-b7d4-4bf0-9ad5-469287e95ad0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-11 00:36:16", "repo_name": "LuisEnriqueSosaHernandez/Android", "sub_path": "/Android Studio/Herramientas/app/src/main/java/com/example/pc/herramientas/ServicioMusica.java", "file_name": "ServicioMusica.java", ... | https://github.com/LuisEnriqueSosaHernandez/Android | 223 | FILENAME: ServicioMusica.java | 0.23092 | package com.example.pc.herramientas;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.IBinder;
import android.support.annotation.Nullable;
/**
* Created by pc on 17/06/2017.
*/
public class ServicioMusica extends Service{
MediaPlayer miReproductor;
... |
373d25bd-8644-44ad-b918-2e2a09777455 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 10:08:48", "repo_name": "developTiger/sy-oa", "sub_path": "/lemon-deanery/src/main/java/com/sunesoft/lemon/deanery/ReceptionFlow/domain/infrastructure/hibernate/WorkingLunchRepositoryImpl.java", "file_name"... | https://github.com/developTiger/sy-oa | 235 | FILENAME: WorkingLunchRepositoryImpl.java | 0.292595 | package com.sunesoft.lemon.deanery.ReceptionFlow.domain.infrastructure.hibernate;
import com.sunesoft.lemon.deanery.ReceptionFlow.domain.WorkingLunch;
import com.sunesoft.lemon.deanery.ReceptionFlow.domain.WorkingLunchRepository;
import com.sunesoft.lemon.fr.ddd.infrastructure.repo.hibernate.GenericHibernateRepository... |
5bf3758e-3a29-42fb-82e6-fb973e467111 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-17 07:34:47", "repo_name": "MirrorrorriN/lionweb", "sub_path": "/src/main/java/com/lion/service/impl/ProjectPublicationServiceImpl.java", "file_name": "ProjectPublicationServiceImpl.java", "file_ext": "java", ... | https://github.com/MirrorrorriN/lionweb | 242 | FILENAME: ProjectPublicationServiceImpl.java | 0.286968 | package com.lion.service.impl;
import com.lion.dao.ext.ProjectPublicationDao;
import com.lion.entity.ProjectPublication;
import com.lion.service.ProjectPublicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @auth... |
84e10c4b-dbdb-4a55-b40c-8239bad796f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 17:37:42", "repo_name": "wyj5230/perfumexls", "sub_path": "/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1018, "line_count": 25, "lang": "en", "doc_type": "code", "blob... | https://github.com/wyj5230/perfumexls | 232 | FILENAME: Main.java | 0.294215 | import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Map<String, String> sampleMap = ExcelService.getSampleXls("./key.xls");
... |
a480a0eb-61a5-40f9-804f-6b1900057f1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-09 14:24:20", "repo_name": "TerrellChen/learnJVM", "sub_path": "/src/main/java/terrell/chen/learn/JVM/memory/error/JavaMethodAreaOOM.java", "file_name": "JavaMethodAreaOOM.java", "file_ext": "java", "file_size... | https://github.com/TerrellChen/learnJVM | 236 | FILENAME: JavaMethodAreaOOM.java | 0.256832 | package terrell.chen.learn.JVM.memory.error;
/**
* @author: TerrellChen
* @version: Created in 21:09 2018-12-10
*/
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
import java.lang.reflect.Method;
/**
* Description: 方法区内存溢出测试
* book(JDK6): O... |
5aceb90f-9389-4efc-b659-f5cdcb09f01b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-10 03:55:26", "repo_name": "jmhu88/javautil", "sub_path": "/src/main/java/FinalFieldUtils.java", "file_name": "FinalFieldUtils.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 42, "lang": "z... | https://github.com/jmhu88/javautil | 255 | FILENAME: FinalFieldUtils.java | 0.278257 | import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
/**
* 修改final字段的值工具类
*
* @author pengpeng
* @date 2013-10-30 下午5:10:28
* @version 1.0
*/
public class FinalFieldUtils {
/**
* 修改final字段的值
* @param targetClass
* @param fieldName
* @param newValue
* @throws Exception
*/
public sta... |
00d38c34-754d-40fd-ae44-974b46e3fee1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 20:00:37", "repo_name": "sidaxe/SprintBootSample", "sub_path": "/src/main/java/com/ephesoft/ephesoftCloudClient/Model/DocumentDetail.java", "file_name": "DocumentDetail.java", "file_ext": "java", "file_size... | https://github.com/sidaxe/SprintBootSample | 261 | FILENAME: DocumentDetail.java | 0.264358 | package com.ephesoft.ephesoftCloudClient.Model;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "DocumentDetail")
public class DocumentDetail extends ParentModel implements Serializable {
public int id;
public int noOfPages;
public String documentType;
@Id
@Gene... |
560653d4-521a-4769-97b4-c175bf338d7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-18 10:59:51", "repo_name": "urbi-mobility/urbi-ca-server", "sub_path": "/HTTP/src/main/java/co/urbi/http/Provider4xx5xxException.java", "file_name": "Provider4xx5xxException.java", "file_ext": "java", "file_si... | https://github.com/urbi-mobility/urbi-ca-server | 253 | FILENAME: Provider4xx5xxException.java | 0.26588 | package co.urbi.http;
import lombok.Getter;
@Getter
public class Provider4xx5xxException extends UrbiException {
private final int statusCode;
private String rawResponse;
private Object[] errorFormatArgs;
public Provider4xx5xxException(int statusCode) {
this(statusCode, null);
}
pub... |
b5619bfb-fa58-4f5b-b5bd-b9d4c8512203 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-14 15:45:16", "repo_name": "SergeyYakimaha/JavaEE_projects", "sub_path": "/Session_Cookie_jsp_jstl/src/ex_006_jstl_form/FormRequestServlet.java", "file_name": "FormRequestServlet.java", "file_ext": "java", "fi... | https://github.com/SergeyYakimaha/JavaEE_projects | 168 | FILENAME: FormRequestServlet.java | 0.279828 | package ex_006_jstl_form;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class FormRequestServlet extends HttpServlet {... |
f04d95ac-11dd-47d6-890b-a03fcddc6bdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-26 22:46:35", "repo_name": "venuancha/test-automation-excercise", "sub_path": "/src/test/java/CucumberRunnerTest.java", "file_name": "CucumberRunnerTest.java", "file_ext": "java", "file_size_in_byte": 1016, "l... | https://github.com/venuancha/test-automation-excercise | 205 | FILENAME: CucumberRunnerTest.java | 0.253861 | import java.util.concurrent.TimeUnit;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import pageobject.LoginPage;
import step_definitions.WebDriverSingletonClass;
import cucumber.api.junit.Cucumber;
import cucumber.api.Cucumb... |
04e80ba5-6a13-4352-9f18-b2b691beb0f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-common/src/main/java/com/netx/common/vo/common/AuditExamineFinanceDto.java", "file_name": "AuditExamineFinanceDto.java", "file_ext": "ja... | https://github.com/biantaiwuzui/netx | 256 | FILENAME: AuditExamineFinanceDto.java | 0.204342 | package com.netx.common.vo.common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@ApiModel
public class AuditExamineFinanceDto {
@ApiModelProperty(value = "记录id", require... |
b299d8e5-a998-4a1a-93cd-3e757297480e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17 00:12:26", "repo_name": "n0misain/6-1_source_from_JADX", "sub_path": "/sources/com/cranevalley/dontendword/features/shared/UserInfo.java", "file_name": "UserInfo.java", "file_ext": "java", "file_size_in_byt... | https://github.com/n0misain/6-1_source_from_JADX | 232 | FILENAME: UserInfo.java | 0.280616 | package com.cranevalley.dontendword.features.shared;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
public class UserInfo implements Parcelable {
public static final Creator<UserInfo> CREATOR = new C06351();
public String displayName;
public String photoUrl;
... |
865f226a-8282-4a37-97b5-7c0d9dca1710 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-26 20:27:24", "repo_name": "zjpjohn/ontrack", "sub_path": "/ontrack-model/src/main/java/net/nemerosa/ontrack/model/security/Roles.java", "file_name": "Roles.java", "file_ext": "java", "file_size_in_byte": 1180... | https://github.com/zjpjohn/ontrack | 255 | FILENAME: Roles.java | 0.252384 | package net.nemerosa.ontrack.model.security;
/**
* List of predefined roles
*/
public interface Roles {
/**
* The project owner is allowed to all functions in a project, but for its deletion.
*/
String PROJECT_OWNER = "OWNER";
/**
* A participant in a project is allowed to change statuses ... |
ffd00403-0f88-4295-bfc4-5216735cda28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-22 02:52:12", "repo_name": "tangshengbo/myproject-design", "sub_path": "/src/main/java/com/tangshengbo/design/proxy/cglib/CGLibProxy.java", "file_name": "CGLibProxy.java", "file_ext": "java", "file_size_in_byt... | https://github.com/tangshengbo/myproject-design | 261 | FILENAME: CGLibProxy.java | 0.286968 | package com.tangshengbo.design.proxy.cglib;
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
import java.io.Serializable;
import java.lang.reflect.Method;
/**
* Created by TangShengBo on 2017/12/26.
*/
public class CGLibProxy {
private sta... |
1412ed04-216e-4948-8c84-b2e905b547ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18 10:51:07", "repo_name": "allegro/hermes", "sub_path": "/hermes-tracker/src/main/java/pl/allegro/tech/hermes/tracker/consumers/DiscardedSendingTracker.java", "file_name": "DiscardedSendingTracker.java", "fil... | https://github.com/allegro/hermes | 198 | FILENAME: DiscardedSendingTracker.java | 0.220007 | package pl.allegro.tech.hermes.tracker.consumers;
import java.time.Clock;
import java.util.List;
public class DiscardedSendingTracker implements SendingTracker {
private final List<LogRepository> repositories;
private final Clock clock;
DiscardedSendingTracker(List<LogRepository> repositories, Clock cl... |
9cbf9ec2-414e-4e3c-bbd5-83f6ddc2654f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-13 05:23:52", "repo_name": "monchemin/C19-Android", "sub_path": "/app/src/main/java/com/digitalink/c19/base/BaseViewModel.java", "file_name": "BaseViewModel.java", "file_ext": "java", "file_size_in_byte": 1083... | https://github.com/monchemin/C19-Android | 194 | FILENAME: BaseViewModel.java | 0.271252 | package com.digitalink.c19.base;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.digitalink.c19.api.Service;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public abstract class BaseViewModel extends ViewModel {
protected Service.EndPoint... |
69509df3-2e39-4e25-90b2-84c2f98dc6d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-01 13:43:34", "repo_name": "ice61/SpringBootSSM", "sub_path": "/src/test/java/cn/itcast/mapper/UserMapperTest.java", "file_name": "UserMapperTest.java", "file_ext": "java", "file_size_in_byte": 970, "line_coun... | https://github.com/ice61/SpringBootSSM | 219 | FILENAME: UserMapperTest.java | 0.245085 | package cn.itcast.mapper;
import cn.itcast.pojo.User;
import lombok.extern.log4j.Log4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.Spri... |
df9fa585-8a6c-4441-9044-251cca9709ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-04 17:19:09", "repo_name": "ucims/crud-android", "sub_path": "/app/src/main/java/www/heartfilia/com/madun/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size_in_byte": 994, "li... | https://github.com/ucims/crud-android | 161 | FILENAME: SplashScreen.java | 0.214691 | package www.heartfilia.com.madun;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
public class SplashScreen extends Activity {
ImageView logo;
@Override
protected void onCreate(Bundle ... |
a5d265a8-4d94-4866-8d45-5b05edf23b41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-29T02:46:59", "repo_name": "iceycc/rt-admin", "sub_path": "/website/example/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1156, "line_count": 34, "lang": "en", "doc_type": "t... | https://github.com/iceycc/rt-admin | 310 | FILENAME: README.md | 0.217338 | ## Your Project Name
The project description here.
## Development Cli Command
```bash
# there are examples of 'yarn', you also can use 'npm'.
yarn dev # start dev server
yarn build # build bundle files
yarn help # more cli information
# optional command
yarn scss # build scss files, need Manual installation 'node-s... |
502a7e94-2abf-443d-a48a-37ac8e0feca8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-02 10:45:34", "repo_name": "m2studio/PokerScorer", "sub_path": "/src/test/java/Jirapat/Gambler/Poker/PokerPlayerTest.java", "file_name": "PokerPlayerTest.java", "file_ext": "java", "file_size_in_byte": 1009, "... | https://github.com/m2studio/PokerScorer | 210 | FILENAME: PokerPlayerTest.java | 0.29584 | package Jirapat.Gambler.Poker;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.util.Assert;
import java.util.ArrayList;
import java.util.Collections;
import java... |
82ddfe0c-630e-4395-89b5-00cc047e0d60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-19 11:37:53", "repo_name": "MultiCoke/Daily", "sub_path": "/0.Java/0.JavaBase/1.Demo/JavaStudy/src/com/study/reflect/test2.java", "file_name": "test2.java", "file_ext": "java", "file_size_in_byte": 1198, "line... | https://github.com/MultiCoke/Daily | 269 | FILENAME: test2.java | 0.285372 | package com.study.reflect;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
/**
* @author XH
* @Package com.study.reflect
* @date 2020/2/16 16:13
*/
public class test2 {
public static void main(String[] args) throws Exception {
//传统创建对象
Person p1 = new ... |
bc96d542-a0ad-4371-abe3-be20f804baca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 01:30:55", "repo_name": "ersin-ertan/android-datastorage", "sub_path": "/sqldelight/src/main/java/com/nullcognition/sqldelight/hockey/ui/TeamRow.java", "file_name": "TeamRow.java", "file_ext": "java", "file... | https://github.com/ersin-ertan/android-datastorage | 218 | FILENAME: TeamRow.java | 0.239349 | package com.nullcognition.sqldelight.hockey.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.nullcognition.sqldelight.hockey.R;
import com.nullcognition.sqldelight.hockey.data.Team;
import butterknife.Bind;
import but... |
4551a13d-c821-4df2-aab2-7f969c64ef9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-18T05:13:36", "repo_name": "fhumayun/qa-work-projects", "sub_path": "/Kaizen/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 980, "line_count": 21, "lang": "en", "doc_type": "t... | https://github.com/fhumayun/qa-work-projects | 240 | FILENAME: README.md | 0.282196 | # Kaizen

###### Kaizen - [kahy-zen] A business philosophy or system that is based on making positive changes on a regular basis, as to improve productivity.
---
Kaizen is a Nodejs project that utilizes Cucumber and Allure to test the EagleEye SRM/SAC API and generate r... |
7424c59e-0dc1-4c5c-ad4e-6cf8aa490dd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-01 10:39:55", "repo_name": "tommachine/rabbitmq", "sub_path": "/src/main/java/com/cafebabe/rabbitmq/fanout/FanoutSubscriber.java", "file_name": "FanoutSubscriber.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/tommachine/rabbitmq | 240 | FILENAME: FanoutSubscriber.java | 0.273574 | package com.cafebabe.rabbitmq.fanout;
import com.cafebabe.rabbitmq.utils.RabbitmqUtil;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
public class FanoutSubscriber {
private String subscriberName;
public F... |
e650ed24-5a7e-4b26-847d-067b6339e5e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-22 13:51:35", "repo_name": "ahnseongeun/PeopleOfDelivery", "sub_path": "/src/main/java/SoftSquared/PeopleOfDelivery/domain/coupon/Coupon.java", "file_name": "Coupon.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ahnseongeun/PeopleOfDelivery | 290 | FILENAME: Coupon.java | 0.27513 | package SoftSquared.PeopleOfDelivery.domain.coupon;
import SoftSquared.PeopleOfDelivery.config.BaseEntity;
import SoftSquared.PeopleOfDelivery.domain.user.User;
import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.*;
import lombok.experimental.Accessors;
import javax.persistence.*;
@Entity
@Data
... |
7b22207e-a29b-4d29-b94e-c94203524baf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-12 12:34:00", "repo_name": "ZzoeyYang/Android-StickyNavLayout", "sub_path": "/libBase/src/main/java/online/sniper/widget/MaxHeightRecyclerView.java", "file_name": "MaxHeightRecyclerView.java", "file_ext": "jav... | https://github.com/ZzoeyYang/Android-StickyNavLayout | 206 | FILENAME: MaxHeightRecyclerView.java | 0.273574 | package online.sniper.widget;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
/**
* 有最大高度限制的RecyclerView
* Created by pingyongxia on 2017/12/11.
*/
public class MaxHeightRecyclerView extends RecyclerView {
private final MaxSizeHelper mHelper = n... |
e1e98756-5a08-40ab-b09c-a502cd0022cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 21:53:19", "repo_name": "RizBizKits/Hypnos", "sub_path": "/app/src/main/java/com/l/hypnos/Alarm.java", "file_name": "Alarm.java", "file_ext": "java", "file_size_in_byte": 1223, "line_count": 43, "lang": "en... | https://github.com/RizBizKits/Hypnos | 269 | FILENAME: Alarm.java | 0.290176 | package com.l.hypnos;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.VibrationEffect;
import android.os.Vibrator;
import android.util.Log;
import andr... |
034f6cc4-a596-40bc-8bed-cdb213ef9515 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-04 08:24:54", "repo_name": "thingleme/java8-jersey2-guice4-webapp-archetype", "sub_path": "/src/main/resources/archetype-resources/src/main/java/HelloResource.java", "file_name": "HelloResource.java", "file_ex... | https://github.com/thingleme/java8-jersey2-guice4-webapp-archetype | 228 | FILENAME: HelloResource.java | 0.279042 | #set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package};
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.container.AsyncResponse;
import javax.ws.rs.container.Susp... |
9f98631b-5103-4b9b-8637-d5fd2fe78035 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-07 14:22:06", "repo_name": "visp-streaming/processingNodes", "sub_path": "/src/main/java/ac/at/tuwien/infosys/visp/processingNode/util/IncomingQueueExtractor.java", "file_name": "IncomingQueueExtractor.java", ... | https://github.com/visp-streaming/processingNodes | 218 | FILENAME: IncomingQueueExtractor.java | 0.277473 | package ac.at.tuwien.infosys.visp.processingNode.util;
import java.util.ArrayList;
import java.util.List;
public class IncomingQueueExtractor {
private String incomingQueuesString;
private String infrastructureHost;
private String senderOperator;
private String receiverOperator;
public IncomingQ... |
a14227b6-ae13-4d2c-bf53-6b8939f10859 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-11 09:59:06", "repo_name": "dadisantosh/incture-zp-ereturns", "sub_path": "/ereturns-infrastructure/src/main/java/com/incture/zp/ereturns/model/ReturnReason.java", "file_name": "ReturnReason.java", "file_ext":... | https://github.com/dadisantosh/incture-zp-ereturns | 269 | FILENAME: ReturnReason.java | 0.250913 | package com.incture.zp.ereturns.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "T_REASON")
public class ReturnReason {
@Id
@Column(name = "REASON_CODE", length = 10,nullable=false)
private Str... |
838d5f06-43ce-44af-9244-bdc3d7d81220 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-05-13T07:34:03", "repo_name": "stevemao/ng-ua-parser", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 18, "lang": "en", "doc_type": "text", "blo... | https://github.com/stevemao/ng-ua-parser | 292 | FILENAME: readme.md | 0.292595 | # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> ng-ua-parser is an Angular factory wrapper for [ua-parser-js](https://github.com/faisalman/ua-parser-js)
ua-parser-js doesn't have to be accessed by the `window` object. Use depende... |
2c4ee16b-ee92-4693-9d27-590cafb0a09e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-17T07:19:44", "repo_name": "reecestart/snsBudgetsEnricher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 18, "lang": "en", "doc_type": "tex... | https://github.com/reecestart/snsBudgetsEnricher | 259 | FILENAME: README.md | 0.258326 | # snsBudgetsEnricher
This is an example Lambda function that enriches SMS messages.
In this example the Lambda Function is triggered by the SNS Topic when an AWS Budget event occurs. The Lambda Function then checks to see if the event is actually over Budget or forecast to be over Budget. The function then calls Cost... |
147cae39-2349-4224-a337-56f73ac41330 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-06 08:36:31", "repo_name": "CloudSen/clouds3n-blog-java", "sub_path": "/clouds3n-blog-api/src/main/java/com/clouds3n/blog/api/main/timeline/controller/TimeLineController.java", "file_name": "TimeLineController... | https://github.com/CloudSen/clouds3n-blog-java | 229 | FILENAME: TimeLineController.java | 0.221351 | package com.clouds3n.blog.api.main.timeline.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.clouds3n.blog.common.dto.Res;
import com.clouds3n.blog.common.entity.TimeLine;
import com.clouds3n.blog.common.service.ITimeLineService;
import org.springframework.web.bind.anno... |
a28186ca-d84c-4e7a-8976-77ef9b87f10f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-22 07:18:58", "repo_name": "292528867/study-java", "sub_path": "/src/main/java/com/yk/example/rabbitmq/helloworld/Send.java", "file_name": "Send.java", "file_ext": "java", "file_size_in_byte": 1181, "line_coun... | https://github.com/292528867/study-java | 220 | FILENAME: Send.java | 0.224055 | package com.yk.example.rabbitmq.helloworld;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
/**
* Created by yk on 16/6/23.
*/
public class Send {
public static fi... |
200e2495-2bcd-4e0c-8bf4-31fb067455fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-06 13:03:29", "repo_name": "gitter-badger/eachievements-beta", "sub_path": "/de.tud.eclipse_achievements.index/src/de/tud/eclipse_achievements/index/EclipseAchievementsCachePlugin.java", "file_name": "EclipseA... | https://github.com/gitter-badger/eachievements-beta | 260 | FILENAME: EclipseAchievementsCachePlugin.java | 0.29584 | package de.tud.eclipse_achievements.index;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class EclipseAchievementsCachePlugin extends AbstractUIPlugin {
// The plug-in ID
public static final S... |
51920950-c595-4646-b95d-4661119e1e3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 02:46:46", "repo_name": "lozturk/java8beyond", "sub_path": "/src/test/java/streams/isNotReusable/notReusable.java", "file_name": "notReusable.java", "file_ext": "java", "file_size_in_byte": 975, "line_count... | https://github.com/lozturk/java8beyond | 195 | FILENAME: notReusable.java | 0.294215 | package streams.isNotReusable;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Stream;
public class notReusable {
public static void main(String[] args) {
List<String> objects = new ArrayList<>();
objects.add("Apple");
objects... |
6950f217-e00a-4044-bf89-1760f556258a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-23 18:21:06", "repo_name": "froyomuffin/shortener", "sub_path": "/src/main/java/UniqueStringGenerator.java", "file_name": "UniqueStringGenerator.java", "file_ext": "java", "file_size_in_byte": 1223, "line_coun... | https://github.com/froyomuffin/shortener | 252 | FILENAME: UniqueStringGenerator.java | 0.286169 | package io.eclair.shortener;
import io.eclair.jutils.map.DoubleHashMap;
import java.util.Random;
public class UniqueStringGenerator {
private Random random;
private int maxTries;
private DoubleHashMap store;
private int stringLength;
private String characters;
public UniqueStringGenerator(Do... |
51fc371e-fbd0-48c3-aee9-9266207b1eb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-19 13:34:31", "repo_name": "CESNET-Integracni-portal/integracni-portal", "sub_path": "/src/main/java/cz/cvut/fel/integracniportal/controller/AbstractController.java", "file_name": "AbstractController.java", "f... | https://github.com/CESNET-Integracni-portal/integracni-portal | 174 | FILENAME: AbstractController.java | 0.250913 | package cz.cvut.fel.integracniportal.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.MessageSourceResolvable;
import org.springframework.stereotype.Component;
import org.springframework.validation.BindingRes... |
2569547c-821e-4457-9984-cfaef0d95b91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-27 12:56:35", "repo_name": "ChandrikaBijalwan/MyFuture", "sub_path": "/app/src/main/java/com/equipesoftwares/google/direction/Results.java", "file_name": "Results.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ChandrikaBijalwan/MyFuture | 210 | FILENAME: Results.java | 0.218669 | package com.equipesoftwares.google.direction;
import java.util.ArrayList;
/*
* @author Sunny
* Used to convert Google dirextion json response to Object using GSON
* */
public class Results {
private ArrayList<Address_components> address_components;
private String formatted_address;
private Geometry geo... |
80a72da2-eb15-45fc-bc7e-1bc0ae8fb323 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-06 02:48:05", "repo_name": "Byungmin/boardMvc2", "sub_path": "/testBoard/src/controller/BoardController.java", "file_name": "BoardController.java", "file_ext": "java", "file_size_in_byte": 1187, "line_count": ... | https://github.com/Byungmin/boardMvc2 | 208 | FILENAME: BoardController.java | 0.272799 | package controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class BoardController extends HttpServlet {
protected void doPro(HttpServletRe... |
d37865eb-1f5c-493d-affe-7141a703db3a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-14 12:19:38", "repo_name": "google-code/aion-ger-engine", "sub_path": "/AE-Game/src/com/aionengine/gameserver/dataholders/WindstreamData.java", "file_name": "WindstreamData.java", "file_ext": "java", "file_siz... | https://github.com/google-code/aion-ger-engine | 229 | FILENAME: WindstreamData.java | 0.294215 | package com.aionengine.gameserver.dataholders;
import com.aionengine.gameserver.model.templates.windstreams.WindstreamTemplate;
import gnu.trove.map.hash.TIntObjectHashMap;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* @author LokiReborn
*/
@XmlAcc... |
78e871b1-0848-44eb-847a-231f7ca9e207 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 13:04:48", "repo_name": "xiaohuia233/v17springCloud", "sub_path": "/v17-father/index-server/src/main/java/com/qf/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "f... | https://github.com/xiaohuia233/v17springCloud | 216 | FILENAME: IndexController.java | 0.253861 | package com.qf.controller;
import com.qf.entity.Product;
import com.qf.feign.IProductService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import... |
64e2d66a-0f62-45bf-8d71-4b6a69abe2e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 05:05:49", "repo_name": "dishizhen/waFramework-web", "sub_path": "/src/main/java/com/wa/framework/user/dao/impl/MeetRoomDaoImpl.java", "file_name": "MeetRoomDaoImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/dishizhen/waFramework-web | 305 | FILENAME: MeetRoomDaoImpl.java | 0.275909 | package com.wa.framework.user.dao.impl;
import com.wa.framework.dao.BaseEntityDaoImpl;
import com.wa.framework.user.dao.MeetRoomDao;
import com.wa.framework.user.model.MeetRoom;
import com.wa.framework.user.model.SysMeet;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Restrictions;
imp... |
faaf0cc2-e8c2-4c8f-875a-b84a7d338c7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-16 07:29:38", "repo_name": "Merlinoir/ATPLQUIZZ", "sub_path": "/src/main/java/com/atplquiz/entity/Reponse.java", "file_name": "Reponse.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": 56, "l... | https://github.com/Merlinoir/ATPLQUIZZ | 307 | FILENAME: Reponse.java | 0.275909 | package com.atplquiz.entity;
public class Reponse {
private long id;
private String libelleReponse;
private boolean veracite;
private long idQuestion;
public Reponse() {
}
public Reponse(long id, String libelleReponse, boolean veracite,
long idQuestion) {
super();
this.id = id;
this.libelle... |
3c552f34-e102-4bb2-bf44-7f31c98f5594 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-27 00:06:06", "repo_name": "langston8182/bank-oauth2-authorization-server", "sub_path": "/src/main/java/com/cmarchive/bank/bankoauth2authorizationserver/configuration/CustomTokenEnhancer.java", "file_name": "C... | https://github.com/langston8182/bank-oauth2-authorization-server | 222 | FILENAME: CustomTokenEnhancer.java | 0.239349 | package com.cmarchive.bank.bankoauth2authorizationserver.configuration;
import com.cmarchive.bank.bankoauth2authorizationserver.domaine.User;
import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.secur... |
fb62f4a4-538d-4ba4-8d84-82e6bc7dfd9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-24 07:10:59", "repo_name": "NightDW/DoItTogether", "sub_path": "/src/main/java/com/laidw/service/impl/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/NightDW/DoItTogether | 216 | FILENAME: UserDetailsServiceImpl.java | 0.245085 | package com.laidw.service.impl;
import com.laidw.entity.User;
import com.laidw.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.spring... |
2af27e55-db9d-44d3-b195-1b516e4ad916 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 14:05:00", "repo_name": "alienguy255/cec-bridge", "sub_path": "/src/main/java/org/scottsoft/cecserver/cecbridge/CECCommandExecutionHelper.java", "file_name": "CECCommandExecutionHelper.java", "file_ext": "j... | https://github.com/alienguy255/cec-bridge | 246 | FILENAME: CECCommandExecutionHelper.java | 0.27513 | package org.scottsoft.cecserver.cecbridge;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.List;
/**
* Created by slaplante on 5/17/17.
*/
@Component
public class CECCommandExecuti... |
823e6f9d-7403-4014-a023-c50c19a14e11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-12 07:44:22", "repo_name": "Akshit077/OnlineDoctorAppointmentService", "sub_path": "/app/src/main/java/com/example/onlinedoctorappointmentservice/Dashboard_Activity.java", "file_name": "Dashboard_Activity.java... | https://github.com/Akshit077/OnlineDoctorAppointmentService | 170 | FILENAME: Dashboard_Activity.java | 0.214691 | package com.example.onlinedoctorappointmentservice;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import com.google.firebase.auth.FirebaseAuth;
public class Dashboard_Acti... |
35cd4eb4-4d47-487b-b987-020553dd90fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-24 14:31:22", "repo_name": "Long-Liu/passport-server", "sub_path": "/src/main/java/org/infinity/passport/utils/RandomUtils.java", "file_name": "RandomUtils.java", "file_ext": "java", "file_size_in_byte": 1252,... | https://github.com/Long-Liu/passport-server | 273 | FILENAME: RandomUtils.java | 0.26588 | package org.infinity.passport.utils;
import java.security.SecureRandom;
import org.apache.commons.lang3.RandomStringUtils;
public final class RandomUtils {
private static final int LENGTH = 20;
private RandomUtils() {
}
/**
* Generates a ID.
* 非线程安全
* 测试用例写法:利用数据库主键唯一特性,for循环生成一万条数据... |
d9ff55da-9a13-4aad-919e-5b62f6d47833 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-06T17:06:49", "repo_name": "AmiGanguli/rust-sql-parser", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1048, "line_count": 32, "lang": "en", "doc_type": "text",... | https://github.com/AmiGanguli/rust-sql-parser | 335 | FILENAME: README.md | 0.206894 | # rust-sql-parser
## References and acknowledgements
### Direct sources of ideas and code
I've made heavy use of the following sources, sometimes as guides
and sometimes as direct sources for copy-and-paste code. Many
thanks to the respective authors:
* SQLite:
- http://www.sqlite.org/
- https://books.google.co... |
214e82ff-0906-446e-8ad1-e29c32b7c40a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-26 20:59:30", "repo_name": "PawelRadawiec/my-chat-backend", "sub_path": "/src/main/java/info/mychatbackend/modules/chat/contact/repository/ChatContactContactsRepository.java", "file_name": "ChatContactContacts... | https://github.com/PawelRadawiec/my-chat-backend | 212 | FILENAME: ChatContactContactsRepository.java | 0.27048 | package info.mychatbackend.modules.chat.contact.repository;
import info.mychatbackend.modules.chat.contact.model.ChatContact;
import info.mychatbackend.modules.chat.contact.model.ChatContentContacts;
import org.springframework.stereotype.Repository;
import javax.persistence.EntityManager;
import javax.persistence.Que... |
f45ef674-4382-4831-af44-197bc5d17139 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-20 19:27:34", "repo_name": "fabiofrc/mercado", "sub_path": "/src/main/java/com/gdados/projeto/facade/EnderecoFacade.java", "file_name": "EnderecoFacade.java", "file_ext": "java", "file_size_in_byte": 1187, "li... | https://github.com/fabiofrc/mercado | 256 | FILENAME: EnderecoFacade.java | 0.290981 | package com.gdados.projeto.facade;
import com.gdados.projeto.model.Endereco;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.Query;
public class EnderecoFacade implements Serializable {
private static final long seri... |
fd95d8fb-9456-4609-8569-846a37eb27dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-19 14:43:49", "repo_name": "parvex/Hour-reporting-system", "sub_path": "/src/main/java/com/pik/application/dto/WorkReportData/WorkReportDateInput.java", "file_name": "WorkReportDateInput.java", "file_ext": "ja... | https://github.com/parvex/Hour-reporting-system | 265 | FILENAME: WorkReportDateInput.java | 0.282988 | package com.pik.application.dto.WorkReportData;
import java.util.Date;
import java.util.List;
public class WorkReportDateInput {
private Date dateFrom;
private Date dateTo;
private List<Long> employeeIds;
private List<Long> projectIds;
public WorkReportDateInput(Date dateFrom, Date dateTo, List<... |
e1aac6a3-b50b-4a59-9cc2-937909271477 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-05 05:14:18", "repo_name": "NYIST-OS/CourseDesign", "sub_path": "/JavaBBS/BBS_with_SpringMVC_MyBatis/src/com/maimieng/bbs/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java"... | https://github.com/NYIST-OS/CourseDesign | 247 | FILENAME: UserController.java | 0.276691 | package com.maimieng.bbs.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.maimieng.bbs.po.UserVo;
import com.maimieng.bbs... |
efc5fc1b-8cf7-4813-8fce-78b6b357d052 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-04T00:44:36", "repo_name": "jloosli/power-of-families-theme", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1181, "line_count": 33, "lang": "en", "doc_type": "t... | https://github.com/jloosli/power-of-families-theme | 299 | FILENAME: README.md | 0.17441 | Power of Families Wordpress Theme
------------
This repo only stores the theme files. In dev environment, it's recommended you install wordpress in a `public_html` directory. Then setup a symlink to the theme folder.
`cd www/wp-content/themes` (the bluon theme directory shouldn't exist yet)
`sudo ln -s ../../../power... |
9156afc6-6562-4aac-8b20-df8ad14e5a8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-25 01:37:33", "repo_name": "its-Arish/tour-guide-app", "sub_path": "/app/src/main/java/com/example/pro5/besttourapp/ListItem.java", "file_name": "ListItem.java", "file_ext": "java", "file_size_in_byte": 1185, ... | https://github.com/its-Arish/tour-guide-app | 238 | FILENAME: ListItem.java | 0.224055 | package com.example.pro5.besttourapp;
import java.io.Serializable;
public class ListItem implements Serializable {
private String Mname;
private int imageID;
private String description;
private String locationGeo;
public String getLocationGeo() {
return locationGeo;
}
public void... |
57079125-c0d9-414d-a022-5a5ea3fa05c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-17 20:58:31", "repo_name": "chvishal182/Timetables_Notification", "sub_path": "/TimeTable_S/app/src/main/java/com/cvishaldev/timetable_s/Edit.java", "file_name": "Edit.java", "file_ext": "java", "file_size_in_... | https://github.com/chvishal182/Timetables_Notification | 204 | FILENAME: Edit.java | 0.245085 | package com.cvishaldev.timetable_s;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class Edit extends AppCompatActivity {
Button askEdit;
Intent... |
61a9605a-5da8-40e6-8b12-6561bbfeebc5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-31 01:59:31", "repo_name": "mlglenn2015/Sample-Spring-Batch-Application", "sub_path": "/src/main/java/prv/mark/spring/batch/listener/ExampleChunkListener.java", "file_name": "ExampleChunkListener.java", "file_... | https://github.com/mlglenn2015/Sample-Spring-Batch-Application | 256 | FILENAME: ExampleChunkListener.java | 0.247987 | package prv.mark.spring.batch.listener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.ChunkListener;
import org.springframework.batch.core.scope.context.ChunkContext;
/**
* Example Spring Batch ChunkListener for ....
*
* @author mlglenn
*/
public class ExampleChunk... |
47d47df4-80b6-4f8f-bfb4-d6ae1f9af65e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-06 22:30:17", "repo_name": "qgeffard/annuaireClient", "sub_path": "/parent-project/clientEntity/src/main/java/org/sales/amd/cc/entity/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in... | https://github.com/qgeffard/annuaireClient | 217 | FILENAME: Client.java | 0.205615 | package org.sales.amd.cc.entity;
public class Client {
private String name;
private String entreprise;
private String email;
public Client() {
}
public Client(String name, String entreprise, String email) {
this.name = new String(name);
this.entreprise = new String(entreprise);
this.email = email;
}
... |
555509a4-803f-44e0-b8a6-ff2b7b74acdf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-03 10:14:10", "repo_name": "chettrir1/MvpDaggerRxRetrofitSample", "sub_path": "/app/src/main/java/com/shiva/practice/application/CakesApplication.java", "file_name": "CakesApplication.java", "file_ext": "java"... | https://github.com/chettrir1/MvpDaggerRxRetrofitSample | 175 | FILENAME: CakesApplication.java | 0.26588 | package com.shiva.practice.application;
import android.app.Application;
import com.shiva.practice.di.components.ApplicationComponent;
import com.shiva.practice.di.components.DaggerApplicationComponent;
import com.shiva.practice.di.module.ApplicationModule;
/*application is singleton object which will be available t... |
8e6dc780-53a7-4053-9152-08719e0e5618 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-10T03:06:05", "repo_name": "ykl7/sbu-nlp-final-project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1153, "line_count": 35, "lang": "en", "doc_type": "text",... | https://github.com/ykl7/sbu-nlp-final-project | 284 | FILENAME: README.md | 0.250913 | # Analysing and Improving Clarification Question Generation
SBU CSE 538 Final Project by Yash Kumar Lal and Siddharth Mangalik
## Setup
### Data and Embeddings
Available at: https://github.com/raosudha89/clarification_question_generation_pytorch
### Environment
```
conda create --name nlp-project python=3.6
pip i... |
cf56373b-9333-48b1-8a45-7caea8ca71cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-12 13:43:48", "repo_name": "SmallCookieee/cmfz", "sub_path": "/cmfz-admin/src/main/java/com/baizhi/cmfz/service/impl/ManagerServiceImpl.java", "file_name": "ManagerServiceImpl.java", "file_ext": "java", "file_... | https://github.com/SmallCookieee/cmfz | 222 | FILENAME: ManagerServiceImpl.java | 0.226784 | package com.baizhi.cmfz.service.impl;
import com.baizhi.cmfz.dao.ManagerDao;
import com.baizhi.cmfz.entity.Manager;
import com.baizhi.cmfz.service.ManagerService;
import com.baizhi.cmfz.util.EncryptionUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
im... |
b4792604-adf4-412d-a837-7ffcca5d9187 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10T15:18:49", "repo_name": "startshineye/spring-security", "sub_path": "/spring-security-demo/src/main/java/com/yxm/security/async/MQ.java", "file_name": "MQ.java", "file_ext": "java", "file_size_in_byte": 130... | https://github.com/startshineye/spring-security | 261 | FILENAME: MQ.java | 0.274351 | package com.yxm.security.async;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* @author yexinming
* @date 2020/2/22
**/
@Component//定义为Spring的组件
public class MQ {
private String placeOrder;//下单请求
private String completeOrder;//订单完... |
23bd3c38-48b9-454a-afb3-a7c011708fa7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-23T04:37:25", "repo_name": "erdosmiller/lv-toml", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1186, "line_count": 31, "lang": "en", "doc_type": "text", "blob_... | https://github.com/erdosmiller/lv-toml | 343 | FILENAME: README.md | 0.274351 | LV-TOML
=================
LV-TOML is an open source LabVIEW library for parsing and composing [TOML v0.4.0 files](https://github.com/toml-lang/toml).
LV-TOML is tested against the TOML test suite [toml-test](https://github.com/BurntSushi/toml-test).
Installation
------------
[The most recent VI Package (.vip) can b... |
ef4275fe-72a8-4beb-9d36-a8d23f9b833e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-25 05:05:05", "repo_name": "crackvr/vraa_proj", "sub_path": "/app/src/main/java/com/example/remainderapp/theAbt.java", "file_name": "theAbt.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count": 3... | https://github.com/crackvr/vraa_proj | 197 | FILENAME: theAbt.java | 0.218669 | package com.example.remainderapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class theAbt extends AppCompatActivity implements AdapterView.OnItemClick... |
9fa8ee2b-55d5-4f36-9c62-a1c7eec0f6d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-24 00:43:56", "repo_name": "NasKhalil/FormGeneratorMvvm", "sub_path": "/app/src/main/java/com/example/formgenerator/main/ui/dashboard/DashboardFragment.java", "file_name": "DashboardFragment.java", "file_ext":... | https://github.com/NasKhalil/FormGeneratorMvvm | 184 | FILENAME: DashboardFragment.java | 0.20947 | package com.example.formgenerator.main.ui.dashboard;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
im... |
3cc5a032-ab0e-4a56-9f65-9015144612a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-17 20:56:27", "repo_name": "qixuanHou/autotraderSeleniumTest", "sub_path": "/main/java/com/autotrader/mdot/pages/TIM/TimRetrieveOfferPage.java", "file_name": "TimRetrieveOfferPage.java", "file_ext": "java", "f... | https://github.com/qixuanHou/autotraderSeleniumTest | 220 | FILENAME: TimRetrieveOfferPage.java | 0.264358 | package com.autotrader.mdot.pages.TIM;
import com.autotrader.mdot.pageselector.*;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.concurrent.TimeUnit;
/**
* Created by... |
4297f977-fefb-4c47-b7ab-296fc5e20153 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-08 16:33:34", "repo_name": "davidmogar/nji", "sub_path": "/src/com/davidmogar/nji/InstructionsExecutor.java", "file_name": "InstructionsExecutor.java", "file_ext": "java", "file_size_in_byte": 1156, "line_coun... | https://github.com/davidmogar/nji | 210 | FILENAME: InstructionsExecutor.java | 0.291787 | package com.davidmogar.nji;
import com.davidmogar.nji.instructions.Instruction;
import com.davidmogar.nji.instructions.TagInstruction;
import java.util.Iterator;
import java.util.List;
public class InstructionsExecutor {
private Context context;
private List<Instruction> instructions;
public Instructio... |
4377c93b-ad54-4389-b1f7-f577ca443d02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-13 08:07:11", "repo_name": "rafifyusa/rms-springboot", "sub_path": "/src/main/java/com/mitrais/rmsspringboot/RmsSpringbootApplication.java", "file_name": "RmsSpringbootApplication.java", "file_ext": "java", "f... | https://github.com/rafifyusa/rms-springboot | 216 | FILENAME: RmsSpringbootApplication.java | 0.258326 | package com.mitrais.rmsspringboot;
import com.mitrais.rmsspringboot.model.User;
import com.mitrais.rmsspringboot.service.Implementation.UserServiceImpl;
import com.mitrais.rmsspringboot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.