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 |
|---|---|---|---|---|---|---|
9cded79a-61c0-4992-a26b-7e6a1178acef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-27 13:40:14", "repo_name": "OmegaStudios/OmegaMinestom", "sub_path": "/src/main/java/net/minestom/server/network/packet/server/play/CraftRecipeResponse.java", "file_name": "CraftRecipeResponse.java", "file_ext... | https://github.com/OmegaStudios/OmegaMinestom | 225 | FILENAME: CraftRecipeResponse.java | 0.250913 | package net.minestom.server.network.packet.server.play;
import net.minestom.server.network.packet.server.ServerPacket;
import net.minestom.server.network.packet.server.multiversion.PacketAdapter;
import net.minestom.server.utils.binary.BinaryReader;
import net.minestom.server.utils.binary.BinaryWriter;
import org.jetb... |
6b40161a-b8e0-49dd-b576-8a9bdef68c66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 10:11:28", "repo_name": "hanqunfeng/springbootchapter", "sub_path": "/chapter39/swagger3-openapi-gradle-demo/src/main/java/com/example/swagger3openapigradledemo/model/Artical.java", "file_name": "Artical.ja... | https://github.com/hanqunfeng/springbootchapter | 282 | FILENAME: Artical.java | 0.247987 | package com.example.swagger3openapigradledemo.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.persistence.*;
import java.time.LocalDateTime;
/**
* <h1>文章对象</h1>
* Created by hanqf on 2020/10/15 16:24.
*/
@Data
@Table(na... |
83b97140-599d-4213-8d46-2f97bb3e15e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-02 04:33:17", "repo_name": "SudhaReddy2016/java-practice", "sub_path": "/JavaPractice/src/com/practice/collections/list/Bottle.java", "file_name": "Bottle.java", "file_ext": "java", "file_size_in_byte": 1103, ... | https://github.com/SudhaReddy2016/java-practice | 298 | FILENAME: Bottle.java | 0.284576 | package com.practice.collections.list;
public class Bottle {
private String str;
/**
* @return the str
*/
public String getStr() {
return str;
}
/**
* @param str the str to set
*/
public void setStr(String str) {
this.str = str;
}
/* (non-Javadoc)
* @see java.lang.Object... |
b8f341d9-fb78-4cb8-a0d0-5fe319eb0774 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 05:39:26", "repo_name": "iot-wangshuyu/SmartHomeService", "sub_path": "/src/com/delta/bean/ApplicationPosition.java", "file_name": "ApplicationPosition.java", "file_ext": "java", "file_size_in_byte": 1103, ... | https://github.com/iot-wangshuyu/SmartHomeService | 233 | FILENAME: ApplicationPosition.java | 0.253861 | package com.delta.bean;
import java.sql.Timestamp;
/**
* 应用推荐的安装位置表
* @author Shuyu.Wang
*
*/
public class ApplicationPosition {
public Integer id;
public Integer application_id;
public String position;
public Timestamp buildTime;
public ApplicationPosition() {
super();
}
public Applicatio... |
a4d578cc-27c9-49f2-80b9-6530dc5df520 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-06T04:34:35", "repo_name": "desmondmullen/google-books-search", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 11, "lang": "en", "doc_type": "... | https://github.com/desmondmullen/google-books-search | 211 | FILENAME: README.md | 0.195594 | # google-books-search
**Google Books Search is an exercise in full stack development skills with a focus on React and MongoDB.** I created this for the Coding Boot Camp at UNC-Chapel Hill in May 2019.
# Features
With Google Books Search, users can easily search, save, and preview the *content* of books with the full... |
ccbd08ae-f48d-480b-a4c9-4a9647036766 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-11 09:58:17", "repo_name": "TryingToImprove/ChatApplication", "sub_path": "/server/CouseAssignment.Chat.Server/src/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1131, "line... | https://github.com/TryingToImprove/ChatApplication | 215 | FILENAME: Server.java | 0.26588 | /*
* 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.
*/
import couseassignment.chat.ChatServer;
import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Le... |
20988958-542f-4e23-b65d-cd2a86a8b087 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 22:39:49", "repo_name": "aswinasokan/Sunny", "sub_path": "/app/src/main/java/com/latestarter/sunny/weather/UrlDataFetcher.java", "file_name": "UrlDataFetcher.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/aswinasokan/Sunny | 172 | FILENAME: UrlDataFetcher.java | 0.262842 | package com.latestarter.sunny.weather;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
/**
* Connect to URL to fetch data
*/
public class UrlDataFetcher {
public String fetchStringResponse(URL url) throws IOException {
... |
0ff1e929-202a-470c-bdd4-c302589c8c84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-22 14:03:31", "repo_name": "deib-polimi/diceH2020-space4cloud-webGUI", "sub_path": "/src/main/java/it/polimi/diceH2020/launcher/controller/rest/BaseResponseBody.java", "file_name": "BaseResponseBody.java", "fi... | https://github.com/deib-polimi/diceH2020-space4cloud-webGUI | 262 | FILENAME: BaseResponseBody.java | 0.252384 | /*
Copyright 2017 Eugenio Gianniti
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... |
7047d8c2-1891-4cea-9e68-5e9db2a11260 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 08:00:58", "repo_name": "fadoul1/GAB", "sub_path": "/tg.esiba.groupe2.gab.client.gui/src/tg/esiba/groupe2/gab/client/gui/TgEsibaGroupe2GabClientGui.java", "file_name": "TgEsibaGroupe2GabClientGui.java", "fi... | https://github.com/fadoul1/GAB | 253 | FILENAME: TgEsibaGroupe2GabClientGui.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 tg.esiba.groupe2.gab.client.gui;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoa... |
a98fa39f-9caf-4bd4-a117-86d326b3ef9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-29 01:43:18", "repo_name": "DavidSoong128/rabbitmq-client", "sub_path": "/rabbitmq-client/src/test/java/com/horizon/mqriver/test/TestSender.java", "file_name": "TestSender.java", "file_ext": "java", "file_size... | https://github.com/DavidSoong128/rabbitmq-client | 265 | FILENAME: TestSender.java | 0.292595 | package com.horizon.mqriver.test;
import java.util.Date;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import com.horizon.mqriver.api.ec.IEventNotifier;
import com.horizon.mqriver.ec.DefaultEventNotifierFactory;
import com.horizon.mqriver.ec.exception.ECException;
import com.horizon.mqriver.ec.msg.Ev... |
1db7afb1-94c5-4192-b55b-ca71c50b2908 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-28 05:13:14", "repo_name": "ProjetosIFPE/pdm", "sub_path": "/app/src/main/java/br/edu/ifpe/tads/pdm/projeto/activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/ProjetosIFPE/pdm | 192 | FILENAME: MainActivity.java | 0.212069 | package br.edu.ifpe.tads.pdm.projeto.activity;
import android.os.Bundle;
import android.view.Menu;
import br.edu.ifpe.tads.pdm.projeto.R;
import br.edu.ifpe.tads.pdm.projeto.adapter.FilmesPagerAdapter;
/**
* Created by Edmilson Santana on 30/09/2016.
*/
public class MainActivity extends BaseActivity {
@Overr... |
ff3e7dec-630f-4abf-a1c7-3f4cec6d4343 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 02:46:47", "repo_name": "AnkurPremi/prepare", "sub_path": "/src/DataStructures/SortingAndSeraching/ContainsNearbyAlmostDuplicate.java", "file_name": "ContainsNearbyAlmostDuplicate.java", "file_ext": "java",... | https://github.com/AnkurPremi/prepare | 263 | FILENAME: ContainsNearbyAlmostDuplicate.java | 0.272025 | package DataStructures.SortingAndSeraching;
import java.util.HashMap;
import java.util.Map;
public class ContainsNearbyAlmostDuplicate {
public static void main(String[] args) {
int[] nums = {1, 2, 3, 1};
int k = 3, t = 0;
}
//We will start traversing the array by checking the current ele... |
95d9ab07-80ab-4c39-8ded-28854d146cfb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-02-11T02:32:39", "repo_name": "abdelouahabb/django-brackets", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1080, "line_count": 28, "lang": "en", "doc_type": "text... | https://github.com/abdelouahabb/django-brackets | 293 | FILENAME: README.md | 0.214691 | django-brackets
===============
This is a simple extension to add syntax highlighter for Django templates to Brackets
Thanks for [lh brackets syntax highlighter jinja2] for the help, that was so easy to make this extension after I saw his example, since the extension will just bring back what [already exists ;) ].
R... |
f9e7f988-1038-443e-abcf-09f5b98671ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-13 17:14:09", "repo_name": "Codesane/Chat-Application", "sub_path": "/src/network/global/messages/DefaultMessage.java", "file_name": "DefaultMessage.java", "file_ext": "java", "file_size_in_byte": 1101, "line_... | https://github.com/Codesane/Chat-Application | 272 | FILENAME: DefaultMessage.java | 0.272799 | package network.global.messages;
import java.io.Serializable;
public abstract class DefaultMessage implements DefaultMessageImpl, Serializable {
private static final long serialVersionUID = -1081137469968477221L;
public static final short BROADCAST_MESSAGE = 0x00;
public static final short PRIVATE_MESSAGE = 0x... |
b682facb-5d29-43c1-a1d8-85006fdaa750 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-24 14:25:23", "repo_name": "Chrisfsj2051/course-center", "sub_path": "/back-end/cxgzs-seweb/src/main/java/com/cxgzs/seweb/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_s... | https://github.com/Chrisfsj2051/course-center | 261 | FILENAME: UserService.java | 0.278257 | package com.cxgzs.seweb.service;
import com.cxgzs.seweb.dao.AdminMapper;
import com.cxgzs.seweb.dao.StudentMapper;
import com.cxgzs.seweb.dao.TeacherMapper;
import com.cxgzs.seweb.model.Student;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service("UserService")
public class Use... |
e9a4efb9-9f6e-4c55-a207-0fbf1ef05fb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-14 18:32:14", "repo_name": "projectgitz/CardFrameworkDemoApp", "sub_path": "/cardframework/src/main/java/com/arity/cardframework/core/CardHeader.java", "file_name": "CardHeader.java", "file_ext": "java", "file... | https://github.com/projectgitz/CardFrameworkDemoApp | 229 | FILENAME: CardHeader.java | 0.253861 | package com.arity.cardframework.core;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.arity.cardframework.R;
/**
* Created by rkanl on 3/30/2016.
*/
public class CardHeader extends L... |
cb763c80-3f5e-468e-b877-02dcdcab04eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-09-06 19:44:15", "repo_name": "urbanq/mgr", "sub_path": "/parent/grouper/src/main/java/pl/edu/agh/domain/Department.java", "file_name": "Department.java", "file_ext": "java", "file_size_in_byte": 1001, "line_coun... | https://github.com/urbanq/mgr | 251 | FILENAME: Department.java | 0.264358 | package pl.edu.agh.domain;
/**
* User: mateusz
* Date: 14.05.12
*/
public class Department implements Nameable {
private String id;
private String name;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
... |
23fb890d-7948-4674-8a3c-69737afcf95a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-25T18:44:49", "repo_name": "toristyner/hack-the-museum", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1098, "line_count": 50, "lang": "en", "doc_type": "text",... | https://github.com/toristyner/hack-the-museum | 250 | FILENAME: README.md | 0.262842 | # Hack The Museum 2018
Use the museum's hackathon resources and gather crowd-contributed data to create a game of guide that leads visitors to discover objects in an entertaining and engaging way. Your solution should grow with repeated use by employing techniques such as machine learning, recommendation systems, and... |
c9c3b90f-be6f-4602-85ec-c0959c43b6d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-11 17:26:46", "repo_name": "ProjectStormfront/Core", "sub_path": "/commands/staff/BreakBlocksCommand.java", "file_name": "BreakBlocksCommand.java", "file_ext": "java", "file_size_in_byte": 997, "line_count": 3... | https://github.com/ProjectStormfront/Core | 199 | FILENAME: BreakBlocksCommand.java | 0.225417 | package core.deagan.core.commands.staff;
import core.deagan.core.Core;
import core.deagan.core.commands.CommandHandler;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class BreakBlocksCommand extends CommandHandler {
public BreakBlocksCommand() {
... |
b5cac596-baf9-464c-8e03-17a387d0a3b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-06 15:06:21", "repo_name": "QiWenlng/cmfz", "sub_path": "/cmfz_qzq/src/main/java/com/hugo/back/service/AdminServiceImpl.java", "file_name": "AdminServiceImpl.java", "file_ext": "java", "file_size_in_byte": 104... | https://github.com/QiWenlng/cmfz | 197 | FILENAME: AdminServiceImpl.java | 0.261331 | package com.hugo.back.service;
import com.hugo.common.annotations.Cache;
import com.hugo.common.annotations.FlushCache;
import com.hugo.common.dao.AdminDao;
import com.hugo.common.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;... |
bcbbc742-de11-48f8-828c-4f518ecd2b70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 05:11:49", "repo_name": "luckybirdtie/WeClient", "sub_path": "/app/src/main/java/com/example/dayangtie/weclient/DetailWeiboActivity.java", "file_name": "DetailWeiboActivity.java", "file_ext": "java", "file_... | https://github.com/luckybirdtie/WeClient | 216 | FILENAME: DetailWeiboActivity.java | 0.256832 | package com.example.dayangtie.weclient;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
public class DetailWeiboActivity extends AppCompatActiv... |
627a47ac-894f-430d-a5bc-23751640f6f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-06 20:01:31", "repo_name": "Vikame/Citadel", "sub_path": "/src/org/systic/citadel/event/PlayerToggleSettingEvent.java", "file_name": "PlayerToggleSettingEvent.java", "file_ext": "java", "file_size_in_byte": 97... | https://github.com/Vikame/Citadel | 193 | FILENAME: PlayerToggleSettingEvent.java | 0.23231 | package org.systic.citadel.event;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class PlayerToggleSettingEvent extends Event implements Cancellable {
private static HandlerList handlerList = new HandlerList();
... |
08aa14f7-25ce-46a1-9d60-be8481d26066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-04-02T19:11:04", "repo_name": "kennyjoseph/cse199", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1228, "line_count": 20, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/kennyjoseph/cse199 | 306 | FILENAME: README.md | 0.259826 | # cse199
Repository for "How does social media work" section of CSE 199
The main piece of this repo is ```activity.ipynb```, a self-contained tutorial on playing with the reddit API.
You'll learn how to create a reddit app and use it to scrape reddit data.
Then, you'll pull down data for a few subreddits and ask:
- ... |
4afc2834-c8d0-41ac-962e-f3249bc60acc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-26 01:20:12", "repo_name": "leafee98/flea-market", "sub_path": "/flea_market_project/src/main/java/webController/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 986, "line_coun... | https://github.com/leafee98/flea-market | 205 | FILENAME: Utils.java | 0.272799 | package webController;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.json.JsonMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.lang.Nullable;
/**
* response body should like the follow.
* data is serialized bean if success is true,
* or else d... |
61ed4b61-6d89-4eba-80c9-508b2d01f992 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 13:19:11", "repo_name": "Laj01/uni-quiz-app", "sub_path": "/src/main/java/quiz/model/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 35, "lang": "en... | https://github.com/Laj01/uni-quiz-app | 195 | FILENAME: Question.java | 0.294215 | package quiz.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* The {@code Question} object. It is responsible for the content of the questions.
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Question {
private String questionText;
private Strin... |
e41cabcc-093d-4188-a56d-d90ff92ed3b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-31 13:54:33", "repo_name": "MercuryIntermedia/AndroidCleanMVP", "sub_path": "/app/src/main/java/io/mercury/androidcleanmvp/repository/InMemoryFavoriteRepo.java", "file_name": "InMemoryFavoriteRepo.java", "file... | https://github.com/MercuryIntermedia/AndroidCleanMVP | 253 | FILENAME: InMemoryFavoriteRepo.java | 0.272799 | package io.mercury.androidcleanmvp.repository;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
import io.mercury.androidcleanmvp.entity.Favorite;
public class InMemoryFavoriteRepo implements CachingFavoriteRepo {
private Set<Favorite> favorites = n... |
df6ce8d0-6d6f-42be-92bc-801ce45a8b76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-16 16:05:12", "repo_name": "NiallKelly84/BankingApp", "sub_path": "/src/main/java/com/bank/infrastructure/Application.java", "file_name": "Application.java", "file_ext": "java", "file_size_in_byte": 1005, "lin... | https://github.com/NiallKelly84/BankingApp | 184 | FILENAME: Application.java | 0.228156 | package com.bank.infrastructure;
import org.flywaydb.core.Flyway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.orm.jpa.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springfra... |
65953080-bcd7-4290-9734-3ff684b7a33f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-05-28T23:45:58", "repo_name": "sahat/GameOn", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1227, "line_count": 72, "lang": "en", "doc_type": "text", "blob_id": "0... | https://github.com/sahat/GameOn | 397 | FILENAME: README.md | 0.288569 | # GameOn API
Back-end support for the GameOn iOS app.
Running the server:
npm start
Running the test as a watch script:
npm test
## Features
- User registration
- User login
- List all users
- Create a game
- View detailed game information
- Join an existing game
- Find games near X,Y location
- Delete a... |
e3039c9f-8106-41cf-9006-d6b3cbe63ab8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-01-22T12:47:01", "repo_name": "eveepi/cordova-plugin-file-opener", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1215, "line_count": 44, "lang": "en", "doc_type": ... | https://github.com/eveepi/cordova-plugin-file-opener | 267 | FILENAME: README.md | 0.250913 | A File Opener Plugin for Cordova
==========================
This plugin will open a file on your device file system with its default application.
Requirements
-------------
- Android
- Cordova 3.0 or higher
Installation
-------------
cordova plugin add [url-of-the-git-repo]
Usage
------
Open an APK install dialo... |
6d1a99ac-1ca8-4b55-ad6a-618734cd7175 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 17:43:06", "repo_name": "ercanozbay/xprem", "sub_path": "/customer-service/src/main/java/tr/com/xprem/customer/config/SpringSecurityConfig.java", "file_name": "SpringSecurityConfig.java", "file_ext": "java"... | https://github.com/ercanozbay/xprem | 178 | FILENAME: SpringSecurityConfig.java | 0.2227 | package tr.com.xprem.customer.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annota... |
d6952500-b295-4326-b312-07e4d0dda5d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-04 05:07:57", "repo_name": "Iced-Milk-Tea/ztjschedule", "sub_path": "/springboot/scheduleapi/src/main/java/com/ztj/schedule/config/CorsConfig.java", "file_name": "CorsConfig.java", "file_ext": "java", "file_si... | https://github.com/Iced-Milk-Tea/ztjschedule | 260 | FILENAME: CorsConfig.java | 0.23793 | package com.ztj.schedule.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsCo... |
a1a53729-1c9c-4324-9ac5-a59c78468c99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-27 08:00:32", "repo_name": "XDarker/Seckill", "sub_path": "/src/main/java/com/xdarker/common/Const.java", "file_name": "Const.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 48, "lang": "en... | https://github.com/XDarker/Seckill | 273 | FILENAME: Const.java | 0.290176 | package com.xdarker.common;
/**
* 使用枚举
* Created by XDarker
* 2018/8/24 14:37
*/
public class Const {
public static final String COOKI_NAME_TOKEN = "token";
public static final int EXPIRETIME = 60 * 60;//秒
public static final int EXPIRETIME1 = 60;
public enum SeckillStateEnum{
SUCCESS(1,"... |
eee33e03-f280-4116-9c47-b61007dc5d7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-11 06:05:35", "repo_name": "love-somnus/SpringBoot", "sub_path": "/SpringBoot-00-Payment/src/main/java/com/somnus/springboot/pay/enums/PaymentOrderType.java", "file_name": "PaymentOrderType.java", "file_ext": ... | https://github.com/love-somnus/SpringBoot | 293 | FILENAME: PaymentOrderType.java | 0.285372 | package com.somnus.springboot.pay.enums;
/**
* @ClassName: PaymentOrderType.java
* @Description: 订单状态
* @author Somnus
* @version V1.0
* @Date 2016年12月28日 上午10:31:59
*/
public enum PaymentOrderType {
NOTDONE(0,"未支付"),
SCCUESS(1,"支付成功"),
FAIL(2,"支付失败"),
DONE(3,"已完... |
a77d870c-a58c-478b-acba-1c3e5c8e8925 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-09T05:19:39", "repo_name": "sullvn/ffuu", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1131, "line_count": 46, "lang": "en", "doc_type": "text", "blob_id": "8a... | https://github.com/sullvn/ffuu | 295 | FILENAME: README.md | 0.295027 | <h1 align="center"> <br><i>FFUU</i><br> </h1>
The static site generator for people who hate static site generators.
FFUU transforms Markdown and HTML pieces into a complete HTML website. It
pipes the contents of custom HTML elements in the Markdown through any
CLI tool.
Things FFUU doesn't have:
- **No co... |
84b2ae1c-13b5-4ef5-97f8-667ad9c993db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-14 23:47:16", "repo_name": "Marco-Jojojo/billing-inquiry", "sub_path": "/src/main/java/com/pei/billinginquiry/insuredbilling/controller/InsuredBillingController.java", "file_name": "InsuredBillingController.ja... | https://github.com/Marco-Jojojo/billing-inquiry | 206 | FILENAME: InsuredBillingController.java | 0.27048 | package com.pei.billinginquiry.insuredbilling.controller;
import java.util.List;
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.annotation.Req... |
4af4ed43-8c29-4c60-a8b0-58e36119e35b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-14T19:28:30", "repo_name": "kevinmbabcock/shoe_store_project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 975, "line_count": 43, "lang": "en", "doc_type": "t... | https://github.com/kevinmbabcock/shoe_store_project | 228 | FILENAME: README.md | 0.262842 | # Shoe Store
#### This application tracks the inventory for a shoe store
#### By Kevin Babcock
## Description
This application tracks the inventory for a shoe store, displaying a list of all stores, all shoe brands sold, and all brands located at a particular store. It allows employees to add new stores and brands,... |
cb3179f7-8ccc-4498-ae9f-55024e47605c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 10:01:39", "repo_name": "altayeb3mer/MallCom", "sub_path": "/app/src/main/java/com/example/mallcom/Activity/CartActivity.java", "file_name": "CartActivity.java", "file_ext": "java", "file_size_in_byte": 105... | https://github.com/altayeb3mer/MallCom | 194 | FILENAME: CartActivity.java | 0.249447 | package com.example.mallcom.Activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import com.example.mallcom.Adapter.AdapterCart;
import com.example.mallcom.Models.ModelCart;
import com.example.mallcom.R;
import java.util.ArrayList;
p... |
d3f1e5dc-11f9-4ca1-a78d-9bb0aad84eee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-24 16:05:13", "repo_name": "guolanrui/wx-game", "sub_path": "/game-server/game-server-search/src/main/java/org/game/server/search/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 98... | https://github.com/guolanrui/wx-game | 227 | FILENAME: App.java | 0.255344 | package org.game.server.search;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import org.game.server.search.entity.Idiom;
/**
* Hello... |
dfada730-01fb-44ee-afb0-5236510affa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-30 09:53:19", "repo_name": "scerios/IMDB", "sub_path": "/src/test/java/tests/SearchTest.java", "file_name": "SearchTest.java", "file_ext": "java", "file_size_in_byte": 1071, "line_count": 40, "lang": "en", "do... | https://github.com/scerios/IMDB | 225 | FILENAME: SearchTest.java | 0.250913 | package tests;
import configurations.ConfigImdb;
import keywords.SearchValue;
import keywords.Log;
import keywords.Search;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class... |
0d23f43b-7029-44bf-a81e-5eefcfbf294c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-08 07:47:04", "repo_name": "hadesshark/android_class", "sub_path": "/class file/demo/CH03/ImageEx/app/src/main/java/idv/david/imageex/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "... | https://github.com/hadesshark/android_class | 198 | FILENAME: MainActivity.java | 0.247987 | package idv.david.imageex;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
public class MainActivity extends AppCompatActivity {
private ImageButton ibClick;
private ImageView ivTed;
pr... |
2e9e0d1e-37fc-4cf9-a183-0d020408cc7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-27 22:49:55", "repo_name": "kyupid/spring-boot-qna-kyu", "sub_path": "/src/main/java/com/codessquad/qna/domain/Answer.java", "file_name": "Answer.java", "file_ext": "java", "file_size_in_byte": 1228, "line_cou... | https://github.com/kyupid/spring-boot-qna-kyu | 238 | FILENAME: Answer.java | 0.261331 | package com.codessquad.qna.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.persistence.*;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Objects;
@Entity
public class Answer extends AbstractEnt... |
dfc5136d-a92c-4510-a3d7-4945e5a6cf9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 09:56:53", "repo_name": "zhsyk34/study", "sub_path": "/socket/src/main/java/com/cat/aio/AsyncServerHandle.java", "file_name": "AsyncServerHandle.java", "file_ext": "java", "file_size_in_byte": 1004, "line_c... | https://github.com/zhsyk34/study | 197 | FILENAME: AsyncServerHandle.java | 0.239349 | package com.cat.aio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.AsynchronousServerSocketChannel;
import java.util.concurrent.CountDownLatch;
/**
* Created by Archimedes on 2016/07/24.
*/
public class AsyncServerHandle implements Runnable {
CountDownLatch latch;
... |
94f29d96-4bd2-4512-b2f7-c8f6bc2fba87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-13 02:57:32", "repo_name": "YMlion/android-tools-code", "sub_path": "/src/com/xyxg/test/commonadaptertest/CommonAdapterMainActivity.java", "file_name": "CommonAdapterMainActivity.java", "file_ext": "java", "fi... | https://github.com/YMlion/android-tools-code | 211 | FILENAME: CommonAdapterMainActivity.java | 0.252384 | package com.xyxg.test.commonadaptertest;
import java.util.ArrayList;
import java.util.List;
import com.xyxg.tools.adapter.CommonAdapter;
import com.xyxg.tools.adapter.ViewHolder;
import com.xyxg.tools.commonadaptertest.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
public ... |
b4b51cde-2429-4f0e-8432-83d6249a21f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-30 09:13:18", "repo_name": "Simencassiman/HomeChef", "sub_path": "/app/src/main/java/com/simencassiman/homechef/db/NoteStep.java", "file_name": "NoteStep.java", "file_ext": "java", "file_size_in_byte": 1214, "... | https://github.com/Simencassiman/HomeChef | 278 | FILENAME: NoteStep.java | 0.262842 | package com.simencassiman.homechef.db;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import com.simencassiman.homechef.model.Note;
import static androidx.room.ForeignKey.CASCADE;
@Entity(tableName = "note_step",
primaryKeys = { "note_id", "step_nr" },
... |
2d1003ec-c9d5-4d87-9905-934a18261464 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-18 13:27:50", "repo_name": "WannabeSquirtle/mint-my-way", "sub_path": "/retrieve-transactions/src/main/java/com/mintmyway/retrievetransactions/RetrieveTransactionsApplication.java", "file_name": "RetrieveTrans... | https://github.com/WannabeSquirtle/mint-my-way | 278 | FILENAME: RetrieveTransactionsApplication.java | 0.291787 | package com.mintmyway.retrievetransactions;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
@SpringBootApplication
public... |
c8411795-1cb4-4325-bf4b-8ef59713cc1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 03:50:13", "repo_name": "zcxshare/android-app-picturesMaster", "sub_path": "/commonlibrary/src/main/java/com/scanmaster/commonlibrary/widget/FixedSpeedScroller.java", "file_name": "FixedSpeedScroller.java",... | https://github.com/zcxshare/android-app-picturesMaster | 256 | FILENAME: FixedSpeedScroller.java | 0.291787 | package com.scanmaster.commonlibrary.widget;
import android.content.Context;
import android.view.animation.Interpolator;
import android.widget.Scroller;
/**
* Created by yyj on 2018/07/16. email: 2209011667@qq.com
*/
public class FixedSpeedScroller extends Scroller {
private int mDuration = 1000;
public F... |
8b22cb89-d37e-4cdc-9d53-a185cdc9dedb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-17 13:21:57", "repo_name": "gauravrmsc/My-Drive", "sub_path": "/src/test/java/com/gauravrmsc/superduperdrive/pages/SignupPage.java", "file_name": "SignupPage.java", "file_ext": "java", "file_size_in_byte": 992... | https://github.com/gauravrmsc/My-Drive | 192 | FILENAME: SignupPage.java | 0.204342 | package com.gauravrmsc.superduperdrive.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.springframework.stereotype.Component;
public class SignupPage {
@FindBy(name = "firstName... |
138892ff-9aaf-44d3-ace4-cc51a8f4d276 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-30 11:02:22", "repo_name": "1044264288/clothing", "sub_path": "/src/main/java/com/pyjh/clothing/service/impl/CategoryServiceImpl.java", "file_name": "CategoryServiceImpl.java", "file_ext": "java", "file_size_i... | https://github.com/1044264288/clothing | 220 | FILENAME: CategoryServiceImpl.java | 0.239349 | package com.pyjh.clothing.service.impl;
import com.pyjh.clothing.dao.CategoryDao;
import com.pyjh.clothing.entity.PageData;
import com.pyjh.clothing.service.CategoryService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.xml.crypto.Data;
import java.util.List;
/**
* Cr... |
a5759e8e-d5e7-44f6-994a-2f7692e3f8f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 09:41:16", "repo_name": "zyjcxc/taotao", "sub_path": "/taotao-manager/taotao-manager-web/src/test/com/taotao/controller/TestPageHelper.java", "file_name": "TestPageHelper.java", "file_ext": "java", "file_si... | https://github.com/zyjcxc/taotao | 260 | FILENAME: TestPageHelper.java | 0.268941 | package com.taotao.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.taotao.mapper.TbItemMapper;
import com.taotao.pojo.TbItem;
import com.taotao.pojo.TbItemExample;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframe... |
c57ba8dd-4036-4b5d-8397-4778fe2384d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-01 08:06:49", "repo_name": "huyy12321/elasticsearch", "sub_path": "/src/main/java/com/example/search/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/huyy12321/elasticsearch | 249 | FILENAME: UserController.java | 0.259826 | package com.example.search.controller;
import com.example.search.DTO.User;
import com.example.search.service.SearchService;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
/**
* @author hyy
*/
@RestController
public class UserControll... |
17ac11b7-3e98-4572-a5ba-fc70010a6e61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-03 15:48:06", "repo_name": "Veske/protostuff-compiler", "sub_path": "/protostuff-parser/src/main/java/io/protostuff/compiler/parser/ClasspathFileReader.java", "file_name": "ClasspathFileReader.java", "file_ext... | https://github.com/Veske/protostuff-compiler | 238 | FILENAME: ClasspathFileReader.java | 0.27048 | package io.protostuff.compiler.parser;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CharStream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.InputStream;
import javax.annotation.Nullable;
/**
* @author Kostiantyn Shchepanovskyi
*/
public class ClasspathFileR... |
b3f60603-2a77-4eaa-a6aa-9503f899bd47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-16 06:11:22", "repo_name": "ShenQingchuan/Software-Engineering-Project", "sub_path": "/community-management-system-be/src/main/java/com/example/csgs/controller/LuceneController.java", "file_name": "LuceneContr... | https://github.com/ShenQingchuan/Software-Engineering-Project | 253 | FILENAME: LuceneController.java | 0.23793 | package com.example.csgs.controller;
import com.example.csgs.service.LuceneService;
import com.example.csgs.utils.ElasticSearchUtil;
import com.example.csgs.utils.ResultUtil;
import lombok.extern.log4j.Log4j;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.index.query.QueryBuilders;
imp... |
29cadb1a-ac7f-4983-9989-cb752e3b2186 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 08:40:38", "repo_name": "yc1999/mypetstore_rest", "sub_path": "/src/main/java/org/csu/mypetstore/domain/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count... | https://github.com/yc1999/mypetstore_rest | 260 | FILENAME: Student.java | 0.243642 | package org.csu.mypetstore.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.hateoas.ResourceSupport;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="student")//对应的表
@Jso... |
8507efc5-85a9-4b5a-9ccd-001dafe96435 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 15:32:39", "repo_name": "znhaha8/coffee-house-system", "sub_path": "/coffee-house-service/coffee-house-user/src/main/java/com/wyz/coffee/service/impl/RolePermissionServiceImpl.java", "file_name": "RolePermi... | https://github.com/znhaha8/coffee-house-system | 248 | FILENAME: RolePermissionServiceImpl.java | 0.247987 | package com.wyz.coffee.service.impl;
import com.wyz.coffee.dao.RolePermissionDao;
import com.wyz.coffee.entity.RolePermission;
import com.wyz.coffee.service.RolePermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotat... |
c664a7ce-ab36-4c45-bea1-cf711e8bea05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-01 21:28:30", "repo_name": "metagarfus/libdatabasemanager", "sub_path": "/src/org/metagarfus/databasemanager/tests/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1132, "line_cou... | https://github.com/metagarfus/libdatabasemanager | 231 | FILENAME: Main.java | 0.276691 | package org.metagarfus.databasemanager.tests;
import com.j256.ormlite.dao.Dao;
import org.metagarfus.databasemanager.tests.entity.Account;
import org.metagarfus.databasemanager.DatabaseManager;
import java.sql.SQLException;
public class Main {
public static void main(String[] args) {
try {
... |
32327c81-de72-4112-a2b8-a5b0869a175d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-13T18:41:04", "repo_name": "Bastien7/jsfx-dsp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 27, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/Bastien7/jsfx-dsp | 235 | FILENAME: README.md | 0.288569 | # jsfx-dsp
Set of plugins/libraries to help in manipulating audio in a DAW.
## Gain unity
Tool that compensates for volume difference after a signal processing that may have change the volume (typically equalization, distortion, compression).
Volume difference is detected as perceived loudness difference in LUFS.
Two... |
a8a9a12b-b5b7-49c4-a1eb-cc5fbaa317ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-20 01:58:12", "repo_name": "ingoskr19/breakingbad", "sub_path": "/app/src/main/java/com/overgara/test/xumak/screens/character/data/repository/service/CharacterApi.java", "file_name": "CharacterApi.java", "file... | https://github.com/ingoskr19/breakingbad | 242 | FILENAME: CharacterApi.java | 0.290176 | package com.overgara.test.xumak.screens.character.data.repository.service;
import com.overgara.test.xumak.base.BaseRetrofit;
import com.overgara.test.xumak.screens.character.data.repository.service.dto.CharacterDTO;
import java.util.List;
import io.reactivex.Observable;
import retrofit2.Retrofit;
import retrofit2.ad... |
305ee545-6834-4805-8506-19a7b498d438 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-17 00:10:25", "repo_name": "ivan-tanev/Java-OOP", "sub_path": "/Exam/01. High Quality Structure_Skeleton/Bakery/src/bakery/entities/drinks/interfaces/BaseDrink.java", "file_name": "BaseDrink.java", "file_ext":... | https://github.com/ivan-tanev/Java-OOP | 238 | FILENAME: BaseDrink.java | 0.236516 | package bakery.entities.drinks.interfaces;
public abstract class BaseDrink implements Drink {
private String name;
private int portion;
private double price;
private String brand;
public BaseDrink(String name, int portion, double price, String brand) {
this.setName(name);
this.setP... |
31dca65e-9410-43fa-8d9b-7018ce9b8f97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-02 00:43:43", "repo_name": "fabien-roy/glo-2003-airbnb", "sub_path": "/src/main/java/ca/ulaval/glo2003/time/domain/Timestamp.java", "file_name": "Timestamp.java", "file_ext": "java", "file_size_in_byte": 1130,... | https://github.com/fabien-roy/glo-2003-airbnb | 257 | FILENAME: Timestamp.java | 0.264358 | package ca.ulaval.glo2003.time.domain;
import java.time.*;
public class Timestamp {
public static final LocalTime LOCAL_TIME = LocalTime.MAX;
public static final ZoneOffset ZONE_OFFSET = ZoneOffset.UTC;
private Instant value;
public static Timestamp now() {
return new Timestamp(LocalDateTime.now().toIn... |
0582a9c2-6049-4773-b4a4-7d246ad1f833 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-22 15:57:37", "repo_name": "apassan23/android_apps_starter", "sub_path": "/ListDemo/app/src/main/java/com/example/listdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/apassan23/android_apps_starter | 205 | FILENAME: MainActivity.java | 0.276691 | package com.example.listdemo;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.Toast;
public class MainAc... |
fe7f86f6-9bfd-4059-9743-9e5fe09c7025 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-23T21:26:19", "repo_name": "sso66/webpack-node.js", "sub_path": "/src/os_util_dns/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 31, "lang": "en", "doc_typ... | https://github.com/sso66/webpack-node.js | 236 | FILENAME: README.md | 0.243642 | ## os/util/dns: Using Additional Node.js Modules
Using Additional Node.js Modules
- Using the `os` Module
- Using the `util` Module
- Formatting Strings
- Checking Object Types
- Synchronous Writing to Output Streams
- Converting JavaScript Objects to Strings
- Inheriting Functionality from Other Objects... |
9291868c-cfa8-4029-af2f-a96ed599d857 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-14 21:15:05", "repo_name": "YansLeem/CRPeople", "sub_path": "/src/main/java/com/example/Lab/People/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 52, "la... | https://github.com/YansLeem/CRPeople | 223 | FILENAME: Person.java | 0.268941 | package com.example.Lab.People;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Id;
@Data
@Entity
public class Person {
private @Id Long id;
private String Name;
private String LastName;
Person(Long id, String Name, String LastName){
this.id = id;
this.Na... |
96fb9530-e08f-4b21-a0bd-9b5f1f0a9e68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 19:30:26", "repo_name": "NatasaLukic/PMA", "sub_path": "/FindACar/app/src/main/java/com/example/findacar/modelDTO/ChangePasswordDTO.java", "file_name": "ChangePasswordDTO.java", "file_ext": "java", "file_si... | https://github.com/NatasaLukic/PMA | 181 | FILENAME: ChangePasswordDTO.java | 0.206894 | package com.example.findacar.modelDTO;
import java.io.Serializable;
public class ChangePasswordDTO implements Serializable {
private String oldPassword;
private String newPassword;
private String confirmPassword;
public ChangePasswordDTO(String oldPassword, String newPassword, String confirmPassword)... |
9046e3a3-7e69-470b-8eb3-5efd2e80d7c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-30 14:09:42", "repo_name": "juanfelipe40/hotel", "sub_path": "/src/main/java/co/lab/aplicaciones/proyectoholel/repository/HotelDao.java", "file_name": "HotelDao.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/juanfelipe40/hotel | 192 | FILENAME: HotelDao.java | 0.204342 | /*
* 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 co.lab.aplicaciones.proyectoholel.repository;
import co.lab.aplicaciones.proyectoholel.modelo.Hotel;
import static o... |
130444ca-d9c3-46de-acb8-84a18c946982 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-09 16:29:52", "repo_name": "Nineclown/The-Convenient-ATM", "sub_path": "/src/main/java/com/swad/cppatm/application/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1131, "line_cou... | https://github.com/Nineclown/The-Convenient-ATM | 235 | FILENAME: User.java | 0.280616 | package com.swad.cppatm.application;
import com.swad.cppatm.exceptions.DataStoreError;
import java.io.Serializable;
import java.util.ArrayList;
public class User implements Serializable {
private String userId;
private String userName;
private ArrayList<String> cardList = new ArrayList<>();
private ... |
c0cfb8d2-1dd9-4523-8893-f0af878c17a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-15 15:57:19", "repo_name": "baker-beach/market-catalog", "sub_path": "/src/main/java/com/bakerbeach/market/catalog/model/RawAssetImpl.java", "file_name": "RawAssetImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/baker-beach/market-catalog | 259 | FILENAME: RawAssetImpl.java | 0.228156 | package com.bakerbeach.market.catalog.model;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import com.bakerbeach.market.core.api.model.Asset;
public class RawAssetImpl implements Serializable, Asset {
private static final long serialVersionUID = 1L;
public ... |
60e53749-1557-4515-9543-ea9b1b5a9c5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-21T23:09:00", "repo_name": "murilorr90/laravel-crawler", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1228, "line_count": 57, "lang": "en", "doc_type": "text",... | https://github.com/murilorr90/laravel-crawler | 279 | FILENAME: README.md | 0.221351 | > ### Crawler Project (using Laravel)
>
----------
# Getting started
## Installation
Please check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/5.4/installation#installation)
Clone the repository
git clone git@github.com:mu... |
b7b51f7d-f0a5-46a9-b7c0-3f5a4afc6d45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 15:07:00", "repo_name": "squar3cat/cutting_tools", "sub_path": "/src/main/java/com/app/tools/repository/location/DataJpaLocationRepository.java", "file_name": "DataJpaLocationRepository.java", "file_ext": "... | https://github.com/squar3cat/cutting_tools | 176 | FILENAME: DataJpaLocationRepository.java | 0.27048 | package com.app.tools.repository.location;
import com.app.tools.model.Location;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Repository
public class DataJpaLocationRepository {
private final LocationRepository location... |
cceab4db-8d21-44d4-8a42-ef848fe31b6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-21 20:30:51", "repo_name": "UniversalTeam/LaboratorySwag", "sub_path": "/src/main/java/universalteam/labswag/LabSwag.java", "file_name": "LabSwag.java", "file_ext": "java", "file_size_in_byte": 1109, "line_cou... | https://github.com/UniversalTeam/LaboratorySwag | 246 | FILENAME: LabSwag.java | 0.264358 | package universalteam.labswag;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import universalteam.labswag.lib.Refere... |
f82e1edd-96c9-4d04-a9ca-89642245d685 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-17 07:17:26", "repo_name": "sansob/MovieSuiteDicoding", "sub_path": "/app/src/main/java/me/papercom/moviedb/adapter/ViewPagerAdapter.java", "file_name": "ViewPagerAdapter.java", "file_ext": "java", "file_size_... | https://github.com/sansob/MovieSuiteDicoding | 251 | FILENAME: ViewPagerAdapter.java | 0.276691 | package me.papercom.moviedb.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import me.papercom.moviedb.fragment.NowPlayingFragment;
import me.papercom.moviedb.fragment.SearchFragment;
import me.papercom.moviedb.fr... |
a5616569-4943-422e-ad17-40842802d425 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 01:42:13", "repo_name": "BestDI/SomeUtils", "sub_path": "/app/src/main/java/com/tong/util/view/ToastManager.java", "file_name": "ToastManager.java", "file_ext": "java", "file_size_in_byte": 1113, "line_coun... | https://github.com/BestDI/SomeUtils | 213 | FILENAME: ToastManager.java | 0.291787 | package com.tong.util.view;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
public class ToastManager
{
public static void show(Context mContext, int resId)
{
show(mContext, resId, Toast.LENGTH_... |
9e8c646b-6f30-406f-b183-f3be8e91a003 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-03T15:05:18", "repo_name": "CaseyJonesMedea/RushSeaBattle", "sub_path": "/app/src/main/java/com/example/caseyjones/seabattlerush/customviews/SeaBattleButton.java", "file_name": "SeaBattleButton.java", "file_ex... | https://github.com/CaseyJonesMedea/RushSeaBattle | 269 | FILENAME: SeaBattleButton.java | 0.279828 | package com.example.caseyjones.seabattlerush.customviews;
import android.content.Context;
import android.widget.Button;
import com.example.caseyjones.seabattlerush.models.Coordinate;
/**
* Created by CaseyJones on 01.05.2016.
*/
public class SeaBattleButton extends Button {
private Coordinate coordinate;
... |
02f7c966-598a-498a-b9a2-fe48c78cb3c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-26 14:49:48", "repo_name": "dimyak/NumberPicker", "sub_path": "/app/src/main/java/com/example/keshl/numberpicker/InfoActivity.java", "file_name": "InfoActivity.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/dimyak/NumberPicker | 220 | FILENAME: InfoActivity.java | 0.243642 | package com.example.keshl.numberpicker;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
import android.view.WindowManager;
import android.widget.TextView;
/**
* Created by keshl o... |
8fa91f98-f90a-49ef-b3ca-1bd48eaec6d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-11 02:27:01", "repo_name": "ellien-lucky-monkey/jooqdemo", "sub_path": "/src/main/java/com/jooq/demo/controller/AdminController.java", "file_name": "AdminController.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ellien-lucky-monkey/jooqdemo | 265 | FILENAME: AdminController.java | 0.256832 | package com.jooq.demo.controller;
import com.jooq.demo.domain.tables.pojos.Admin;
import com.jooq.demo.service.AdminService;
import com.jooq.demo.vos.AdminVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* @author ellien
* @package com.jooq.dem... |
fc85f6e7-ef80-4795-acfb-da0afdb62481 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-16 03:28:54", "repo_name": "shangbb-91/num-id", "sub_path": "/src/main/java/com/shangbb/strengthen/GlobalStringRedisSerializer.java", "file_name": "GlobalStringRedisSerializer.java", "file_ext": "java", "file_... | https://github.com/shangbb-91/num-id | 199 | FILENAME: GlobalStringRedisSerializer.java | 0.224055 | package com.shangbb.strengthen;
import com.shangbb.config.BaseAppConfig;
import lombok.AllArgsConstructor;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.lang.Nullable;
import java.util.Objects;
/**
* @Author benben.shang
* @Date 2021/2/8 14:44
*/
@AllArgsConstr... |
463f23b2-5653-4b0b-9595-b7e2ccf55124 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-16 11:37:49", "repo_name": "superhjj/SpringProject", "sub_path": "/SelluvProject/src/main/java/com/company/selluv/restcontroller/FindPwdRestController.java", "file_name": "FindPwdRestController.java", "file_ex... | https://github.com/superhjj/SpringProject | 223 | FILENAME: FindPwdRestController.java | 0.213377 | package com.company.selluv.restcontroller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.ann... |
2b6a2c56-fe8b-4ffc-b888-b9bbfd46060c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 16:27:49", "repo_name": "MahdiKheirmand/Spring-Boot-File-Upload-Downlado-Rest-Api", "sub_path": "/src/main/java/ir/redbees/reactbooks/modules/book/Entity/Book.java", "file_name": "Book.java", "file_ext": "j... | https://github.com/MahdiKheirmand/Spring-Boot-File-Upload-Downlado-Rest-Api | 214 | FILENAME: Book.java | 0.23793 | package ir.redbees.reactbooks.modules.book.Entity;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
import javax.persist... |
74bf19de-418f-4573-b09b-896696c8ed99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-04 22:07:14", "repo_name": "kotdi/projectTrainTicket", "sub_path": "/src/main/java/ru/dmitriykotyshov/trainticketobjects/WagonDB.java", "file_name": "WagonDB.java", "file_ext": "java", "file_size_in_byte": 113... | https://github.com/kotdi/projectTrainTicket | 307 | FILENAME: WagonDB.java | 0.274351 | package ru.dmitriykotyshov.trainticketobjects;
/**
* Created by Дмитрий on 25.01.2018.
*/
public class WagonDB {
private int wagonId;
private Train train;
private TypeWagon typeWagon;
private int orderWagon;
public WagonDB(int wagonId, Train train, TypeWagon typeWagon, int orderWagon) {
... |
5de4f746-d312-4e9e-8aa2-9b0890940d4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-22 06:47:23", "repo_name": "holleQiang/Options", "sub_path": "/library/src/main/java/com/zhangqiang/options/impl/DoubleOption.java", "file_name": "DoubleOption.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/holleQiang/Options | 192 | FILENAME: DoubleOption.java | 0.289372 | package com.zhangqiang.options.impl;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.zhangqiang.options.Option;
import com.zhangqiang.options.Options;
import com.zhangqiang.options.store.StringStore;
public class DoubleOption extends Option<Double> {
private Opt... |
d424ac28-93e8-4f46-b9af-e167228669c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-05 07:29:35", "repo_name": "wmhuang/shswdp", "sub_path": "/src/main/java/com/css/nsfw/dp/config/ParamsFilter.java", "file_name": "ParamsFilter.java", "file_ext": "java", "file_size_in_byte": 1257, "line_count"... | https://github.com/wmhuang/shswdp | 250 | FILENAME: ParamsFilter.java | 0.282988 | package com.css.nsfw.dp.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.Cookie;
import javax... |
3cfa4b58-d33e-4da5-aaa7-1d17c78aa3f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-15 10:17:30", "repo_name": "TomHooks/SafetyRescue", "sub_path": "/app/src/main/java/com/fpt/safetyrescue/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1227, "li... | https://github.com/TomHooks/SafetyRescue | 218 | FILENAME: MainActivity.java | 0.235108 | package com.fpt.safetyrescue;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MainActivity extends AppCompatActivity implements OnClickListener{
... |
4a3bfe6a-fd16-4389-81be-c28e21bde58a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-01 14:14:32", "repo_name": "pdebek/hermes", "sub_path": "/hermes-consumers/src/main/java/pl/allegro/tech/hermes/consumers/consumer/offset/TopicPartition.java", "file_name": "TopicPartition.java", "file_ext": "... | https://github.com/pdebek/hermes | 208 | FILENAME: TopicPartition.java | 0.233706 | package pl.allegro.tech.hermes.consumers.consumer.offset;
import pl.allegro.tech.hermes.common.kafka.KafkaTopicName;
import java.util.Objects;
class TopicPartition {
private final KafkaTopicName topic;
private final int partition;
TopicPartition(KafkaTopicName topic, int partition) {
this.topic... |
6c6ab07e-d0f2-4e17-ae1f-0b4b3d6beaa4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-06 03:07:04", "repo_name": "cbb1993/content", "sub_path": "/app/src/main/java/com/huanhong/content/model/DownLoadModel.java", "file_name": "DownLoadModel.java", "file_ext": "java", "file_size_in_byte": 1131, "... | https://github.com/cbb1993/content | 264 | FILENAME: DownLoadModel.java | 0.246533 | package com.huanhong.content.model;
import com.huanhong.content.model.plan.server.ServerContent;
import java.io.File;
import java.util.List;
/**
* Created by Administrator on 2016/12/23.
*/
public class DownLoadModel {
private ServerContent mContent;
private String path;
private String name;
priva... |
85d68091-69ba-485b-9d00-ab991ca7d19d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-15 15:37:07", "repo_name": "yaoliao/yl-study", "sub_path": "/yl-study-zexample/src/main/java/com/yl/study/example1/spring/transaction/TransactionManager.java", "file_name": "TransactionManager.java", "file_ext... | https://github.com/yaoliao/yl-study | 233 | FILENAME: TransactionManager.java | 0.218669 | package com.yl.study.example1.spring.transaction;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;
/**
* @author DELL
* @date 2017/10/31
*/
public class TransactionManager {
private DataSource dataSource;
public TransactionManager(DataSource dataSource) {
thi... |
61134ff3-7c9f-48fc-9817-6ec5b89328bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-10 10:25:17", "repo_name": "Abhi1code/Callrecorder", "sub_path": "/app/src/main/java/util/Filehandler.java", "file_name": "Filehandler.java", "file_ext": "java", "file_size_in_byte": 1228, "line_count": 41, "l... | https://github.com/Abhi1code/Callrecorder | 235 | FILENAME: Filehandler.java | 0.295027 | package util;
import android.content.Context;
import android.os.Environment;
import java.io.File;
public class Filehandler {
public boolean isExternalStorageAvailable() {
String state = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.equals(state)) {
return true... |
54a3b47d-3739-4201-a7e6-c1064d87b07b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-03T14:31:01", "repo_name": "IncQueryLabs/arrowhead-tools-magicdraw-plugins", "sub_path": "/SoS Deployment Plugin/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1130, "line_cou... | https://github.com/IncQueryLabs/arrowhead-tools-magicdraw-plugins | 261 | FILENAME: README.md | 0.256832 | ## Purpose and Usage
This plugin is suitable for addressing deployment-layer information in isolation, or even integrated with an SoS model created in the [SoS Design Plugin](https://github.com/IncQueryLabs/arrowhead-tools-magicdraw-plugins/tree/master/SoS%20Deployment%20Plugin).
The primary conceptual addition of th... |
cdd5420f-06e4-45ba-a65b-d4f315493dea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-29 10:12:07", "repo_name": "GergelyMihalyi/kepesitovizsga", "sub_path": "/src/main/java/hu/nive/ujratervezes/kepesitovizsga/jurassic/JurassicPark.java", "file_name": "JurassicPark.java", "file_ext": "java", "f... | https://github.com/GergelyMihalyi/kepesitovizsga | 200 | FILENAME: JurassicPark.java | 0.271252 | package hu.nive.ujratervezes.kepesitovizsga.jurassic;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
public class JurassicPark {
private DataSource dataSource;
publ... |
ae0057c8-4cb2-42f2-9e05-5c4406977608 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-26 21:08:47", "repo_name": "butiricristian/iStudent", "sub_path": "/news_statistics/src/main/java/ro/ubb/model/Post.java", "file_name": "Post.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count":... | https://github.com/butiricristian/iStudent | 208 | FILENAME: Post.java | 0.236516 | package ro.ubb.model;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Document
public class Post {
private String author;
private Date created_at;
private Date updated_at;
private List<String> comments;
pub... |
caddccf3-51ac-41f8-b046-97081bc5393e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 09:29:59", "repo_name": "2210852749/jchat-server", "sub_path": "/src/main/java/com/jchat/controller/SessionController.java", "file_name": "SessionController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/2210852749/jchat-server | 226 | FILENAME: SessionController.java | 0.287768 | package com.jchat.controller;
import com.jchat.response.PageResponse;
import com.jchat.service.SessionService;
import com.jchat.util.SessionUtil;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestM... |
0094c884-8a86-4984-bb43-762793b89f0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-28 17:21:22", "repo_name": "savelyev-an/Calculator", "sub_path": "/src/main/java/com/innopolis/study/java2016/savelyev/lessons/lesson5/Syncro3/Message.java", "file_name": "Message.java", "file_ext": "java", "f... | https://github.com/savelyev-an/Calculator | 247 | FILENAME: Message.java | 0.277473 | package com.innopolis.study.java2016.savelyev.lessons.lesson5.Syncro3;
/**
* Created by User on 08.10.2016.
*/
public class Message extends Thread {
public volatile Boolean isAwaken=false;
protected int period;
private String message;
private MutableInteger counter;
public Message(int period, String message, ... |
4381d68c-ee5c-4fde-be98-b23f92206858 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-15 09:33:53", "repo_name": "beyond-coding/training-java11", "sub_path": "/practice/src/com/beyondcoding/challenges/encoder/EncoderTest.java", "file_name": "EncoderTest.java", "file_ext": "java", "file_size_in_... | https://github.com/beyond-coding/training-java11 | 406 | FILENAME: EncoderTest.java | 0.282988 | package com.beyondcoding.challenges.encoder;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import static org.junit.jupiter.api.Assertions.assertEquals;
class EncoderTest {
@ParameterizedTest
@CsvSource({
"'', ''",
"' ', ''",
"' ', ''",... |
20a259c9-8e36-41e5-bc11-a094fe8f4055 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 15:32:57", "repo_name": "a307b/Blockchain", "sub_path": "/src/main/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1228, "line_count": 46, "lang": "en", "doc_type": "code", "b... | https://github.com/a307b/Blockchain | 227 | FILENAME: Main.java | 0.282988 | /**
* Main Class - used ot initializeBlockchain Blockchain
*
* Methods Used :
* main : psvm to execute starting the blockchain
*
*/
import java.net.ServerSocket;
import java.net.Socket;
public class Main
{
public static void main(String[] args)
{
boolean running = true;
Blockchain block... |
c8762b02-a315-48de-b8e6-8b9d88f0eb6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-03 14:54:07", "repo_name": "iliedorobat/LIDO-Parser", "sub_path": "/src/ro/webdata/parser/xml/lido/core/wrap/resourceWrap/ResourceWrapDAOImpl.java", "file_name": "ResourceWrapDAOImpl.java", "file_ext": "java",... | https://github.com/iliedorobat/LIDO-Parser | 224 | FILENAME: ResourceWrapDAOImpl.java | 0.274351 | package ro.webdata.parser.xml.lido.core.wrap.resourceWrap;
import ro.webdata.parser.xml.lido.core.set.resourceSet.ResourceSetDAO;
import ro.webdata.parser.xml.lido.core.set.resourceSet.ResourceSetDAOImpl;
import ro.webdata.parser.xml.lido.core.set.resourceSet.ResourceSet;
import org.w3c.dom.Node;
import org.w3c.dom.No... |
ccab4862-317c-415d-9f07-6fffd38e7bff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-12 07:42:31", "repo_name": "pjqdyd/Springboot-rocketmq-demo", "sub_path": "/rocketmq-demo/src/main/java/com/pjqdyd/delay/producer/DelayProducer.java", "file_name": "DelayProducer.java", "file_ext": "java", "fi... | https://github.com/pjqdyd/Springboot-rocketmq-demo | 300 | FILENAME: DelayProducer.java | 0.294215 | package com.pjqdyd.delay.producer;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.SendResult;
import org.apache.rocketmq.common.message.Message;
import java.util.concurrent.TimeUnit;
/**
* @Description: [延迟消息生产者]
* @Author: pjqdyd
* @Version: ... |
81abadfe-7ff6-4941-a78a-673ef4b72d79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 19:19:13", "repo_name": "ravircit/cab-booking", "sub_path": "/src/main/java/com/ola/cabbooking/model/Trip.java", "file_name": "Trip.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 38, "l... | https://github.com/ravircit/cab-booking | 224 | FILENAME: Trip.java | 0.286968 | package com.ola.cabbooking.model;
import com.ola.cabbooking.entities.RiderEntity;
import com.ola.cabbooking.enums.TripStatus;
import lombok.NonNull;
import lombok.ToString;
import static com.ola.cabbooking.enums.TripStatus.FINISHED;
import static com.ola.cabbooking.enums.TripStatus.IN_PROGRESS;
@ToString
public clas... |
351e850b-2c07-4cbd-9bf7-9f16787528cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-14 17:23:57", "repo_name": "sarthaksarm/Secured-Health-Network", "sub_path": "/SecuredHealthNet/app/src/main/java/com/sark/securedhealthnet/DoctorHome.java", "file_name": "DoctorHome.java", "file_ext": "java",... | https://github.com/sarthaksarm/Secured-Health-Network | 189 | FILENAME: DoctorHome.java | 0.177811 | package com.sark.securedhealthnet;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class DoctorHome extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sav... |
29912025-6d60-429e-912d-57b06bc53b99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-23 10:16:28", "repo_name": "fengerhu1/web_bookstore", "sub_path": "/backend/src/main/java/sample/Inventory.java", "file_name": "Inventory.java", "file_ext": "java", "file_size_in_byte": 1058, "line_count": 49,... | https://github.com/fengerhu1/web_bookstore | 229 | FILENAME: Inventory.java | 0.264358 | package sample;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Inventory {
private String book;
private Integer total;
@Id
@Column(name = "book", nullable = false, length = 4... |
e34c797d-97ae-4df3-91fb-425633907693 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-26T06:01:03", "repo_name": "dwilliams-github/cridders", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1215, "line_count": 29, "lang": "en", "doc_type": "text", ... | https://github.com/dwilliams-github/cridders | 261 | FILENAME: README.md | 0.255344 | # Cridders
A artificial life simulation, written for MacOS, around April 1999.
The development environment was CodeWarrior. Using c++ for MacOS
projects was the bleeding edge (the standard language at that point
was Pascal). You can see comments created by a starting template
in the main executable source file.
Each ... |
b279fec0-d11b-48ac-9436-4d8679b816d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/rules/custom-error-responses/parameters.md", "file_name": "parameters.md", "file_ext": "md", "file_size_in_byte": 1336, "line_... | https://github.com/cloudflare/cloudflare-docs | 278 | FILENAME: parameters.md | 0.262842 | ---
title: Parameters
pcx_content_type: reference
weight: 3
meta:
title: Custom error response parameters
---
# Parameter reference
Custom error responses have the following parameters:
{{<definitions>}}
* **`content`** {{<type>}}String{{</type>}} {{<prop-meta>}}Required{{</prop-meta>}}
* The response body to ... |
9d9267a9-14e7-41bd-bbfe-95822a4b01cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-12 03:57:51", "repo_name": "fishpro/spring-boot-study", "sub_path": "/spring-boot-study-mybatis/src/main/java/com/fishpro/mybatis/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_... | https://github.com/fishpro/spring-boot-study | 223 | FILENAME: UserServiceImpl.java | 0.292595 | package com.fishpro.mybatis.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import com.fishpro.mybatis.dao.UserDao;
import com.fishpro.mybatis.domain.UserDO;
import com.fishpro.mybatis.service.Use... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.