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 |
|---|---|---|---|---|---|---|
65040333-bc90-4c29-b624-052f8cd626bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-24 06:12:38", "repo_name": "yashvardhan-kukreja/E-Guide-Android", "sub_path": "/app/src/main/java/com/eguide/yash1300/e_guide/responses/student/StudentFetchFavoriteTeachersResponse.java", "file_name": "Student... | https://github.com/yashvardhan-kukreja/E-Guide-Android | 216 | FILENAME: StudentFetchFavoriteTeachersResponse.java | 0.224055 | package com.eguide.yash1300.e_guide.responses.student;
import com.eguide.yash1300.e_guide.models.FavoriteModel;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class StudentFetchFavoriteTeachersResponse {
@SerializedName("success")
... |
6b594c52-4fbb-4374-bf67-08dc3ac9d620 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-29T00:18:10", "repo_name": "itsyashshah/corona-bot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1150, "line_count": 30, "lang": "en", "doc_type": "text", "bl... | https://github.com/itsyashshah/corona-bot | 300 | FILENAME: README.md | 0.268941 | ## Covid-19 Bot
A Covid-19 (Coronavirus) whatsapp bot provides real-time active, dead and recovered cases around the globe on your whatsapp.
## Motivation
People can easily track out the active coronavirus status, on the worlds famous app Whatsapp, it can also suggest some remedies which will help people to protect th... |
37688ddb-44e4-42a7-b65a-f5173fb0df39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 06:24:43", "repo_name": "heaven9277/PointAndPoint1", "sub_path": "/app/src/main/java/com/example/zhw/piontandpiont2/Threadpack/SendUserInfoThread.java", "file_name": "SendUserInfoThread.java", "file_ext": "... | https://github.com/heaven9277/PointAndPoint1 | 226 | FILENAME: SendUserInfoThread.java | 0.245085 | package com.example.zhw.piontandpiont2.Threadpack;
import com.example.zhw.piontandpiont2.Networksockets.WsManager;
import com.example.zhw.piontandpiont2.Util.BufferChange;
import com.example.zhw.piontandpiont2.Util.Jsonpack;
import com.neovisionaries.ws.client.WebSocket;
import java.nio.ByteBuffer;
public class Send... |
0a53c488-ab71-4a62-b6d5-81f106281b5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-29 10:39:40", "repo_name": "alexandrelanglais/code-propre", "sub_path": "/src/main/java/fr/demandeatonton/AppCrade.java", "file_name": "AppCrade.java", "file_ext": "java", "file_size_in_byte": 1052, "line_coun... | https://github.com/alexandrelanglais/code-propre | 230 | FILENAME: AppCrade.java | 0.247987 | package fr.demandeatonton;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class AppCrade {
private static final String A = "http://google.com";
private static final String ... |
497ed50e-a560-4a18-8add-a64e318b369c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-03 23:56:05", "repo_name": "wangghon/react-native-sim-info", "sub_path": "/android/src/main/java/com/wangghon/RNSimInfo/RNSimInfoModule.java", "file_name": "RNSimInfoModule.java", "file_ext": "java", "file_siz... | https://github.com/wangghon/react-native-sim-info | 218 | FILENAME: RNSimInfoModule.java | 0.289372 |
package com.wangghon.RNSimInfo;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.Callback;
import android.telephony.TelephonyManager;
import android.content.Context;
p... |
1bd87ea9-a0be-48d7-8b31-0b9c021f087a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-14 17:04:16", "repo_name": "daviddumon/feelhub", "sub_path": "/feelhub-application/src/main/java/com/feelhub/domain/session/Session.java", "file_name": "Session.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/daviddumon/feelhub | 211 | FILENAME: Session.java | 0.23793 | package com.feelhub.domain.session;
import com.feelhub.domain.BaseEntity;
import com.feelhub.domain.user.User;
import org.joda.time.DateTime;
import java.util.UUID;
public class Session extends BaseEntity {
//mongolink constructor do not delete
public Session() {
}
public Session(final DateTime exp... |
e3420a6c-24ae-44ef-ac16-05632f98088f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-05 22:08:01", "repo_name": "TomasGiS/JavaInitialCourse", "sub_path": "/src/cat/tomasgis/formacio/java/Cat.java", "file_name": "Cat.java", "file_ext": "java", "file_size_in_byte": 1149, "line_count": 57, "lang"... | https://github.com/TomasGiS/JavaInitialCourse | 265 | FILENAME: Cat.java | 0.27048 | package cat.tomasgis.formacio.java;
import cat.tomasgis.formacio.java.interfaces.IHowl;
import cat.tomasgis.formacio.java.interfaces.IMiaow;
import java.time.LocalDate;
import java.time.Period;
/**
* Created by TomasGiS on 4/7/16.
*/
public class Cat extends Animal implements IMiaow {
private int plateNumber;... |
ba6573b2-3203-4fa4-9f30-e7fd5536da78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-06-03T14:00:53", "repo_name": "herrwalter/ColorChecker.js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1036, "line_count": 32, "lang": "en", "doc_type": "text",... | https://github.com/herrwalter/ColorChecker.js | 243 | FILENAME: README.md | 0.214691 | =====================
===ColorChecker.js===
=====================
Match the colors of the Housestyle with the actual colors in the stylescreen
`<script type="text/javascript" src="path/to/colorchecker.js" ></script>`
Add the file to your scripts with all the accepted color codes.
Then open your browsers console and ... |
bdc8a00b-1503-4a3b-b2d2-285a497f6c6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-25 05:09:16", "repo_name": "benkenobi007/CoreNLP", "sub_path": "/src/Test_Tokens.java", "file_name": "Test_Tokens.java", "file_ext": "java", "file_size_in_byte": 1150, "line_count": 29, "lang": "en", "doc_type... | https://github.com/benkenobi007/CoreNLP | 268 | FILENAME: Test_Tokens.java | 0.282196 | import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.pipeline.Annotation;
import edu.stanford.nlp.pipeline.CoreDocument;
import edu.stanford.nlp.pipeline.SentenceAnnotator;
import edu.stanford.nlp.pipeline.TokenizerAnnotator;
import java.util.List;
public class Test_Tokens {
public static Stri... |
9e85a0e5-e03a-4f59-b8bf-a07f7521a4e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-20 16:33:00", "repo_name": "yunser/cat-android", "sub_path": "/Cat/src/main/java/com/cjh/cat/activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1031, "line_... | https://github.com/yunser/cat-android | 206 | FILENAME: MainActivity.java | 0.245085 | package com.cjh.cat.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.cjh.cat.R;
import com.cjh.cat.util.LogUtil;
/** 主界面 */
public class MainActivity extends Ac... |
49f3245a-bbdf-447f-8699-58722dba3569 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-13 12:19:54", "repo_name": "Pypy233/ERPServer", "sub_path": "/src/main/java/po/GoodsOverflowPO.java", "file_name": "GoodsOverflowPO.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 64, "lang... | https://github.com/Pypy233/ERPServer | 263 | FILENAME: GoodsOverflowPO.java | 0.285372 | package po;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import java.io.Serializable;
/**
* 库存溢出的商品类
*/
@Entity (name = "GoodsOverflow")
public class GoodsOverflowPO implements Serializable{
/**
* id
*/
publi... |
1ba07128-6191-4fef-8d7c-1f7a9df550b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-02 13:54:19", "repo_name": "yalcingunal/casestudy", "sub_path": "/src/test/java/com/trend/pages/ProductPage.java", "file_name": "ProductPage.java", "file_ext": "java", "file_size_in_byte": 1149, "line_count": ... | https://github.com/yalcingunal/casestudy | 220 | FILENAME: ProductPage.java | 0.262842 | package com.trend.pages;
import com.trend.core.driver.TrendWebDriver;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class ProductPage extends TrendPageBase {
@FindBy(css = "[class='btn dropdown-toggle bs-placeholder va... |
f0ba1ca8-a0f8-4cad-a66b-9d938e93072d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-23T17:51:41", "repo_name": "0xSeanG/infosec_getting_started", "sub_path": "/misc/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1027, "line_count": 22, "lang": "en", "doc_type... | https://github.com/0xSeanG/infosec_getting_started | 260 | FILENAME: README.md | 0.196826 | # Miscellaneous Interests
A collection of interests that people in the Infosec community often take part in. These interests usually focus on learning, understanding, and curiosity. A giant (and fun) mix of information here.
## Hardware
* [Ganssle Group - reviews and information on hardware and tools](http://www.gan... |
c1a9e95a-ceef-4518-8f3f-3ec9b0ff2267 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-25 03:05:26", "repo_name": "zhu1105132453/MVPDemo", "sub_path": "/app/src/main/java/com/zjj/mvpdemo/view/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 1081, "li... | https://github.com/zhu1105132453/MVPDemo | 199 | FILENAME: BaseActivity.java | 0.236516 | package com.zjj.mvpdemo.view;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import com.zjj.mvpdemo.contract.Contract;
public abstract class BaseActivity<T extends Contract.Presenter> extends AppCompatActivity implements Contract.View {
pri... |
e5f30ac1-7702-4295-b868-920e77afb9dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 10:17:44", "repo_name": "wang-sanmao/WeChat", "sub_path": "/Utils/mobileNum/testController.java", "file_name": "testController.java", "file_ext": "java", "file_size_in_byte": 1154, "line_count": 42, "lang":... | https://github.com/wang-sanmao/WeChat | 232 | FILENAME: testController.java | 0.23793 | package com.example.demo;
import com.alibaba.fastjson.JSON;
import org.springframework.util.ObjectUtils;
import java.util.Map;
public class testController {
public static void main(String[] args) {
}
public String getMobileNumber() {
String decryptS5 = "";
try {
/**
... |
35ee1c5d-0bad-460e-a09d-93f8e7a6329d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-06 05:14:29", "repo_name": "MysqlQuickView/quickview", "sub_path": "/src/lad/eclipse/model/DataBase.java", "file_name": "DataBase.java", "file_ext": "java", "file_size_in_byte": 977, "line_count": 47, "lang": ... | https://github.com/MysqlQuickView/quickview | 235 | FILENAME: DataBase.java | 0.267408 | package lad.eclipse.model;
import java.io.Serializable;
public class DataBase implements iDBObj, Serializable {
private static final long serialVersionUID = 1L;
private String name;
private Table[] children;
private iDBObj parent;
public iDBObj getParent() {
return this.parent;
}
public void setParent(iDBO... |
f1605038-f76d-4fcd-ad7e-31aafb211db2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-16 09:26:02", "repo_name": "vvshinevv/cors-api", "sub_path": "/src/main/java/com/cors/api/CorsApi.java", "file_name": "CorsApi.java", "file_ext": "java", "file_size_in_byte": 1157, "line_count": 29, "lang": "e... | https://github.com/vvshinevv/cors-api | 197 | FILENAME: CorsApi.java | 0.188324 | package com.cors.api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.... |
d50f3c1d-fb51-427e-820d-76d8bb1fe3a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-07 10:28:26", "repo_name": "bayern01kahn/JavaSourceCodeInvestigation", "sub_path": "/src/main/java/justin/mybatis/v2/CachingExecutor.java", "file_name": "CachingExecutor.java", "file_ext": "java", "file_size_i... | https://github.com/bayern01kahn/JavaSourceCodeInvestigation | 201 | FILENAME: CachingExecutor.java | 0.279042 | package justin.mybatis.v2;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
public class CachingExecutor implements Executor {
private Configuration configuration;
private SimpleExecutor delegate;
private Map<String, Object> localCache = new HashMap<>... |
5101fb37-0fc1-481e-8abb-8fee9cdb7023 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-14 06:12:20", "repo_name": "18600165064/operation", "sub_path": "/src/main/java/com/data/display/model/dto/DataTableDTO.java", "file_name": "DataTableDTO.java", "file_ext": "java", "file_size_in_byte": 1282, "... | https://github.com/18600165064/operation | 316 | FILENAME: DataTableDTO.java | 0.258326 | package com.data.display.model.dto;
import java.util.List;
import java.util.Map;
/**
* @Author: CYN
* @Date: 2019/1/23 11:16
* @Description: dataTable 分页封装
*/
public class DataTableDTO {
/**
* 排序
*/
private List<Map<String,String>> order;
/**
* 前端传入直接返回
*/
private Integer draw;... |
57b4de71-d9d2-42fd-8442-66dbce0a1dd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-26 12:29:27", "repo_name": "AnuragMahajan234/tms-training-service", "sub_path": "/src/main/java/com/yash/trainingservice/serviceimpl/TrainingServiceimpl.java", "file_name": "TrainingServiceimpl.java", "file_ex... | https://github.com/AnuragMahajan234/tms-training-service | 213 | FILENAME: TrainingServiceimpl.java | 0.293404 | package com.yash.trainingservice.serviceimpl;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yash.trainingservice.domain.Training;
import com.yash.trainingservice.repository.TrainingRepository;
import com.yash.traini... |
fa75a00a-b06a-42e6-baf2-8a322700c205 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-15 12:49:37", "repo_name": "ESPOIR-DITE/serve", "sub_path": "/src/test/java/com/mycompany/server/controller/user/UserCredentialControllerTest.java", "file_name": "UserCredentialControllerTest.java", "file_ext"... | https://github.com/ESPOIR-DITE/serve | 210 | FILENAME: UserCredentialControllerTest.java | 0.267408 | package com.mycompany.server.controller.user;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.mycompany.server.domain.user.UserCredentials;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import static org... |
095c9a14-2ac9-431b-9f24-b4e6e36be66b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-02 00:09:53", "repo_name": "ArnabMondal1986/Fruit", "sub_path": "/src/test/java/testNGlisteners/Testlisten.java", "file_name": "Testlisten.java", "file_ext": "java", "file_size_in_byte": 1150, "line_count": 46... | https://github.com/ArnabMondal1986/Fruit | 232 | FILENAME: Testlisten.java | 0.294215 | package testNGlisteners;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Listeners;
//import org.testng.annotations.Listeners;
imp... |
2549502f-7901-4534-9973-6df356bdc993 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 09:32:10", "repo_name": "leifchen/hello-java-maven", "sub_path": "/hello-concurrency/src/main/java/com/chen/concurrency/aqs/SemaphoreTest.java", "file_name": "SemaphoreTest.java", "file_ext": "java", "file_... | https://github.com/leifchen/hello-java-maven | 247 | FILENAME: SemaphoreTest.java | 0.247987 | package com.chen.concurrency.aqs;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
/**
* Semaphore
* <p>
* @Author LeifChen
* @Date 2019-06-18
*/
@Slf4j
public class SemaphoreTest {
/**
* 并发执行线程... |
f32db4a4-8ff9-408b-8620-a77d4fc9fc0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-04 13:54:07", "repo_name": "AntoTonyz/CarGarage", "sub_path": "/CarGarage/app/src/main/java/com/example/anto/cargarage/Booking.java", "file_name": "Booking.java", "file_ext": "java", "file_size_in_byte": 1232,... | https://github.com/AntoTonyz/CarGarage | 223 | FILENAME: Booking.java | 0.225417 | package com.example.anto.cargarage;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.ArrayAdapter;... |
fe74e2d9-b9e9-460a-9819-bf15b14f2bfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-04 00:40:43", "repo_name": "SandraIMH/MySQL_1", "sub_path": "/src/main/java/com/mycompany/mysql/MySQLLeer.java", "file_name": "MySQLLeer.java", "file_ext": "java", "file_size_in_byte": 1150, "line_count": 38, ... | https://github.com/SandraIMH/MySQL_1 | 220 | FILENAME: MySQLLeer.java | 0.243642 | package com.mycompany.mysql;
import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author SandraIMH
*/
public class MySQLLeer {
... |
d375ac3c-81a7-44f9-8368-85377e46c553 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-30 11:30:36", "repo_name": "PJMPR/WorldOfHeroes", "sub_path": "/src/main/java/web/PlayerServlet.java", "file_name": "PlayerServlet.java", "file_ext": "java", "file_size_in_byte": 1062, "line_count": 33, "lang"... | https://github.com/PJMPR/WorldOfHeroes | 170 | FILENAME: PlayerServlet.java | 0.262842 | package web;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import domain.model.Pl... |
f25bf237-a59b-4c3d-b103-d8048ace17f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-24 18:44:01", "repo_name": "alexbooth/Simple-Stack", "sub_path": "/core/src/com/foxo/buttons/Button.java", "file_name": "Button.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": 40, "lang": "... | https://github.com/alexbooth/Simple-Stack | 251 | FILENAME: Button.java | 0.273574 | package com.foxo.buttons;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
public class Button extends PressableImage
{
private boolean isPressed = false;
public Button(float x, float y, float width, float height, TextureRegion buttonUp, TextureRegion buttonDow... |
80ca1bf8-9296-4326-a22a-38c2a626c4ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-01 00:14:24", "repo_name": "tsunko/SwissCheese", "sub_path": "/src/main/java/academy/hekiyou/tenkore/swisscheese/SwissCheesePlugin.java", "file_name": "SwissCheesePlugin.java", "file_ext": "java", "file_size_i... | https://github.com/tsunko/SwissCheese | 237 | FILENAME: SwissCheesePlugin.java | 0.277473 | package academy.hekiyou.tenkore.swisscheese;
import academy.hekiyou.door.FrontDoor;
import academy.hekiyou.tenkore.Tenkore;
import academy.hekiyou.tenkore.plugin.TenkorePlugin;
import academy.hekiyou.tenkore.swisscheese.action.ActionCommands;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import o... |
b14c36b6-2c8c-4fe4-a63a-19be94c48fee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-22 21:24:51", "repo_name": "SantiGar1102/Reto3", "sub_path": "/src/main/java/com/reto3/web/ReservationWeb.java", "file_name": "ReservationWeb.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count":... | https://github.com/SantiGar1102/Reto3 | 198 | FILENAME: ReservationWeb.java | 0.247987 | package com.reto3.web;
import com.reto3.modelo.Reservation;
import com.reto3.service.ReservationApi;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
/**
*
* ... |
ffb31552-93cf-4082-ac60-6efdba6a14d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-27 18:53:11", "repo_name": "gustavo-candido/BaiacuDB", "sub_path": "/trabalho/src/main/java/com/baiacu/raft/workes/Shower.java", "file_name": "Shower.java", "file_ext": "java", "file_size_in_byte": 989, "line_... | https://github.com/gustavo-candido/BaiacuDB | 214 | FILENAME: Shower.java | 0.275909 | package com.baiacu.raft.workes;
import com.google.protobuf.ByteString;
import com.proto.baiacu.Key;
import com.proto.baiacu.ShowResponse;
import com.proto.baiacu.Value;
import java.util.Map;
public class Shower {
public String run(Map<Key, Value> key2values, String[] opKeyValue) {
Key key = Key.newBui... |
725bb361-4e6e-4cd3-999f-6a300b0b52c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-16 17:49:33", "repo_name": "ParafeniukMikalaj/scaling-proposal", "sub_path": "/src/main/java/app/ProducerLauncher.java", "file_name": "ProducerLauncher.java", "file_ext": "java", "file_size_in_byte": 989, "lin... | https://github.com/ParafeniukMikalaj/scaling-proposal | 177 | FILENAME: ProducerLauncher.java | 0.249447 | package app;
import common.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import producer.PeriodicTestKafkaProducer;
import java.util.concurrent.CountDownLatch;
public class ProducerLauncher {
public static void ... |
5087b3e7-6a0c-41e3-9e2e-b0aecb60afc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-21 07:07:54", "repo_name": "BIG-BEARC/RouterDemo", "sub_path": "/app/src/main/java/com/example/routerdemo/router/DegradeServiceImpl.java", "file_name": "DegradeServiceImpl.java", "file_ext": "java", "file_size... | https://github.com/BIG-BEARC/RouterDemo | 223 | FILENAME: DegradeServiceImpl.java | 0.225417 | package com.example.routerdemo.router;
import android.content.Context;
import android.util.Log;
import com.alibaba.android.arouter.facade.Postcard;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.facade.service.DegradeService;
import com.alibaba.android.arouter.launcher.... |
19e5a216-09ca-4df9-9833-3da93dfc8abf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-20T16:20:35", "repo_name": "dhatrikapuriya/blog-CRUD-RESTAPI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 985, "line_count": 43, "lang": "en", "doc_type": "t... | https://github.com/dhatrikapuriya/blog-CRUD-RESTAPI | 339 | FILENAME: README.md | 0.294215 | # blog-CRUD-RESTAPI
A REST API developed using Django Rest Framework for CRUD operations on a blog application.
## Resource points
1. GET list of users
```
http://127.0.0.1:8000/users/
```
2. GET information of users by user id.
```
http://127.0.0.1:8000/users/<id>
```
3. GET all posts
```
htt... |
2714c8a5-b5a5-4891-b1b0-aa1130d20031 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 14:07:16", "repo_name": "sujl95/javaPractice", "sub_path": "/javaPractice/src/kr/javaPractice/GodOfJava/_27SerializableAndNIO/SerialDTO.java", "file_name": "SerialDTO.java", "file_ext": "java", "file_size_i... | https://github.com/sujl95/javaPractice | 222 | FILENAME: SerialDTO.java | 0.228156 | package kr.javaPractice.GodOfJava._27SerializableAndNIO;
import java.io.Serializable;
public class SerialDTO implements Serializable {
//Serializable 있는 이유 타겟팅을 하기위해서
static final long serialVersionUID=1L;
private String bookType = "IT";
private String bookName;
private int bookOrder;
private... |
977f1517-9576-4b04-aac3-5fd354fbbe79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 07:47:46", "repo_name": "pmarkotan/startmedsol-prototype", "sub_path": "/src/main/java/hu/paninform/startmedsol/service/mapper/PatientMapper.java", "file_name": "PatientMapper.java", "file_ext": "java", "fi... | https://github.com/pmarkotan/startmedsol-prototype | 222 | FILENAME: PatientMapper.java | 0.250913 | package hu.paninform.startmedsol.service.mapper;
import hu.paninform.startmedsol.domain.*;
import hu.paninform.startmedsol.service.dto.PatientDTO;
import org.mapstruct.*;
/**
* Mapper for the entity {@link Patient} and its DTO {@link PatientDTO}.
*/
@Mapper(componentModel = "spring", uses = {PersonalDataMapper.cl... |
e75e1534-a3f9-476f-bf79-9f222f14473e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-10 03:11:53", "repo_name": "hzhigg/SpringBoot_Maven", "sub_path": "/src/main/java/com/demo/util/IpUtils.java", "file_name": "IpUtils.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 48, "lan... | https://github.com/hzhigg/SpringBoot_Maven | 284 | FILENAME: IpUtils.java | 0.245085 | package com.demo.util;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
/**
* IP地址操作类
*
* @author zouwei
* @since 2016年12月20日
*/
public class IpUtils {
public static String clientIp(HttpServletRequest request) {
String ip = request.getHeader("X-Forwarded-For");
i... |
d04fb15e-52fd-4ad4-9fd7-550f5e75365f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-22 18:49:34", "repo_name": "VGand/JMP2016", "sub_path": "/SpringCore/BookTicket/src/main/java/com/epam/bookticket/dao/impl/MovieDAOImpl.java", "file_name": "MovieDAOImpl.java", "file_ext": "java", "file_size_i... | https://github.com/VGand/JMP2016 | 212 | FILENAME: MovieDAOImpl.java | 0.287768 | package com.epam.bookticket.dao.impl;
import com.epam.bookticket.bean.Movie;
import com.epam.bookticket.dao.MovieDAO;
import org.springframework.stereotype.Repository;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* Created by Полина on 31.08.2016.
*/
@Re... |
3b75b23d-8daa-4207-bae6-458b06e6dfaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 07:59:05", "repo_name": "EenMac/busStop", "sub_path": "/Books/src/test/java/LibraryTest.java", "file_name": "LibraryTest.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 45, "lang": "en",... | https://github.com/EenMac/busStop | 221 | FILENAME: LibraryTest.java | 0.247987 | import org.junit.Before;
import org.junit.Test;
import java.util.HashMap;
import static org.junit.Assert.assertEquals;
public class LibraryTest {
private Book book;
private Library library;
// private HashMap<String, Integer> genres;
@Before
public void before(){
book = new Book("Lord of... |
5c673282-3bea-4596-8bd7-400942daa843 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-08 15:08:00", "repo_name": "Spontecorp-CA/futbolmenor", "sub_path": "/src/java/com/spontecorp/littleligues/jpacontroller/extentions/CronicaJpaControllerExt.java", "file_name": "CronicaJpaControllerExt.java", "... | https://github.com/Spontecorp-CA/futbolmenor | 219 | FILENAME: CronicaJpaControllerExt.java | 0.291787 | package com.spontecorp.littleligues.jpacontroller.extentions;
import com.spontecorp.littleligues.jpacontroller.CronicaJpaController;
import com.spontecorp.littleligues.model.Cronica;
import com.spontecorp.littleligues.utils.LittleLiguesUtils;
import java.util.List;
import javax.persistence.EntityManager;
import... |
e8c04e7c-bddd-4e21-a4f5-9ae144d33b2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 01:39:52", "repo_name": "HDS2904/Proyecto_BD2", "sub_path": "/src/Modelo/Entidades/Subject.java", "file_name": "Subject.java", "file_ext": "java", "file_size_in_byte": 1000, "line_count": 51, "lang": "en", ... | https://github.com/HDS2904/Proyecto_BD2 | 193 | FILENAME: Subject.java | 0.201813 | /*
* 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 Modelo.Entidades;
/**
*
* @author Angel
*/
public class Subject {
private int id_subject;
privat... |
6a45975d-8b1e-42e7-8abf-cf05613f1c5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 19:54:56", "repo_name": "ArulMichaelRaj/RestAssuredCodeAssignment", "sub_path": "/src/test/java/StepDefs/GenericActions.java", "file_name": "GenericActions.java", "file_ext": "java", "file_size_in_byte": 97... | https://github.com/ArulMichaelRaj/RestAssuredCodeAssignment | 185 | FILENAME: GenericActions.java | 0.23793 | package StepDefs;
import Model.RequestResponseSpecData;
import com.assingment.api.operations.employee.SpringIntegrationTest;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
public class GenericActions extends SpringIntegrationTest {
protected RequestResponseSpecData reque... |
6d879783-eafa-44a5-9464-e528a7232df0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-23 05:46:29", "repo_name": "mjbanvard/RajProjectSkeleton", "sub_path": "/src/main/java/com/galaxe/springMvc/controller/RajHomeController.java", "file_name": "RajHomeController.java", "file_ext": "java", "file_... | https://github.com/mjbanvard/RajProjectSkeleton | 207 | FILENAME: RajHomeController.java | 0.233706 | package com.galaxe.springMvc.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import com.galaxe.springMvc.domain.UserVO;
impor... |
b424e952-e971-4fc7-9e33-0ae8d3c31cf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-13T13:13:53", "repo_name": "AjeetChouksey-zz/resources", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 29, "lang": "en", "doc_type": "text",... | https://github.com/AjeetChouksey-zz/resources | 255 | FILENAME: README.md | 0.259826 | # ARM Resources
##### Blog: www.azure365.co.in
#### compute/azure365.vmmd.json
This is a child template and will create High available VM with managed disk.
#### compute/azure365.availablityset.json
This is a child template and will create availablity set.
#### storage/azure365.storageBlob.json
This is... |
3c7c20ae-6c92-427d-a73f-c490ee4f6048 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-02 14:00:27", "repo_name": "Artemius77/EPAMtasks", "sub_path": "/ThirdPractise/ThirdTaskGenerics/GeneralClasses/AbstractCarriage.java", "file_name": "AbstractCarriage.java", "file_ext": "java", "file_size_in_b... | https://github.com/Artemius77/EPAMtasks | 224 | FILENAME: AbstractCarriage.java | 0.26588 | package ThirdPractise.ThirdTaskGenerics.GeneralClasses;
import ThirdPractise.ThirdTaskGenerics.enums.COMFORT;
public abstract class AbstractCarriage {
protected COMFORT comfortLvl;
protected int passengers;
protected int baggage;
public AbstractCarriage(COMFORT comfortLvl, int passenger... |
7189ef2f-ba9f-4531-bcec-b385cbe1404c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-24 00:39:33", "repo_name": "FM-EC/concesionario-unal", "sub_path": "/src/java/businessLogic/ProviderFacade.java", "file_name": "ProviderFacade.java", "file_ext": "java", "file_size_in_byte": 992, "line_count":... | https://github.com/FM-EC/concesionario-unal | 196 | FILENAME: ProviderFacade.java | 0.276691 | /*
* 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 businessLogic;
import dataAccess.Provider;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityM... |
b16cf220-4c13-4e08-8e8c-fe5ced118295 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-12-12T19:36:00", "repo_name": "bnielsen1965/NoCon-PayPal-NVP", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 994, "line_count": 45, "lang": "en", "doc_type": "text... | https://github.com/bnielsen1965/NoCon-PayPal-NVP | 200 | FILENAME: README.md | 0.226784 | # NoCon-PayPal-NVP
This is a set of classes used to make API calls to the PayPal NVP service.
The classes were developed for the NoCon framework but could theoretically be
used in other frameworks and/or applications.
---------------------------------
#INSTALLATION
The package can be installed one of two ways, ei... |
60b9d742-f30b-4c3c-9fa4-ea42b0abde7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-25 20:54:07", "repo_name": "Madzi/featurea", "sub_path": "/samples/mario/src/mario/objects/bonuses/Coin.java", "file_name": "Coin.java", "file_ext": "java", "file_size_in_byte": 995, "line_count": 43, "lang": ... | https://github.com/Madzi/featurea | 243 | FILENAME: Coin.java | 0.271252 | package mario.objects.bonuses;
import featurea.platformer.Animation;
import featurea.platformer.overlap.Overlap;
import featurea.platformer.physics.Body;
import mario.Sprites;
import mario.objects.hero.Hero;
import mario.objects.hero.World;
public class Coin extends Body {
private static final double width = Sprit... |
9ec636b5-b778-4a43-a7aa-5bb6434dc4a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-24 02:18:47", "repo_name": "lvkaifan/ums_v2.0", "sub_path": "/src/main/java/com/bdqn/ums/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": 996, "... | https://github.com/lvkaifan/ums_v2.0 | 220 | FILENAME: UserServiceImpl.java | 0.258326 | package com.bdqn.ums.service.impl;
import com.bdqn.ums.dao.UserDao;
import com.bdqn.ums.pojo.entity.User;
import com.bdqn.ums.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactiona... |
302cfbb4-0b17-4c79-af08-772130d4d9cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-14 13:23:30", "repo_name": "BhavyaAutomationWork/FlipkartAutomation", "sub_path": "/FlipkartAutomation/src/test/java/com/atuomation/testcase/HomePageTest.java", "file_name": "HomePageTest.java", "file_ext": "j... | https://github.com/BhavyaAutomationWork/FlipkartAutomation | 223 | FILENAME: HomePageTest.java | 0.279828 | package com.atuomation.testcase;
import org.testng.Reporter;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.atuomation.util.TestBaseManager;
import com.automation.pages.HomePage;
public class HomePageTest extends TestBaseManager {
HomePage homepage;
//WebDriver driver;
... |
fc211937-9dda-4efa-81de-fa24bb031862 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-24 14:12:15", "repo_name": "lin19950817/java-study", "sub_path": "/webservice/SOAP/client/src/main/java/org/lzn/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1096, "line_co... | https://github.com/lin19950817/java-study | 280 | FILENAME: Client.java | 0.258326 | package org.lzn;
import org.lzn.service.WeatherImpl;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import java.net.MalformedURLException;
import java.net.URL;
/**
* service 编程调用方式
*
* @author LinZhenNan lin_hehe@qq.com 2020/08/09 22:34
*/
public class Client {
public static void main(String... |
0507a873-3cc0-4719-8735-364ab35e2e3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-22 10:27:05", "repo_name": "PushPull-Hub/java-spring-hibernate", "sub_path": "/java/UdemyExercicesOnClasses/src/com/scaiconsulting/Composition2/Bedroom.java", "file_name": "Bedroom.java", "file_ext": "java", "... | https://github.com/PushPull-Hub/java-spring-hibernate | 232 | FILENAME: Bedroom.java | 0.267408 | package com.scaiconsulting.Composition2;
public class Bedroom {
private String name;
private Wall wall1;
private Wall wall2;
private Wall wall3;
private Wall wall4;
private Ceiling ceiling;
private Bed bed;
private Lamp lamp;
public Bedroom(String name, Wall wall1, Wall wall2, Wa... |
6f8994d2-de2e-4635-9da3-4b3c39a0c3f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-29 00:47:02", "repo_name": "ValentinCPE/materiallogindemo", "sub_path": "/app/src/main/java/com/sourcey/mbal/service/PropertiesReader.java", "file_name": "PropertiesReader.java", "file_ext": "java", "file_size... | https://github.com/ValentinCPE/materiallogindemo | 182 | FILENAME: PropertiesReader.java | 0.261331 | package com.sourcey.mbal.service;
import android.content.Context;
import android.content.res.AssetManager;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Created by valen on 28/03/2018.
*/
public class PropertiesReader {
private stat... |
475b2fe5-f6af-4658-b923-2b19583427fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-27 19:28:19", "repo_name": "janeiromeosa/AlbumsSearch", "sub_path": "/app/src/main/java/com/example/jsonprojecttrial/data/AlbumsResponse.java", "file_name": "AlbumsResponse.java", "file_ext": "java", "file_siz... | https://github.com/janeiromeosa/AlbumsSearch | 196 | FILENAME: AlbumsResponse.java | 0.193147 |
package com.example.jsonprojecttrial.data;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import com.example.jsonprojecttrial.Constants;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
@Entity(tableName = Constants.TABLE_NA... |
7c3712f0-72bb-40f7-9727-5642931471a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-17 07:02:05", "repo_name": "shinisac/myhome", "sub_path": "/src/myhome/admin/adminDTO.java", "file_name": "adminDTO.java", "file_ext": "java", "file_size_in_byte": 993, "line_count": 55, "lang": "en", "doc_typ... | https://github.com/shinisac/myhome | 245 | FILENAME: adminDTO.java | 0.240775 | package myhome.admin;
import java.sql.*;
import java.text.SimpleDateFormat;
public class adminDTO {
private int admin_idx;
private String admin_id;
private String admin_pwd;
private Date admin_date;
public adminDTO() {
}
public adminDTO(int admin_idx, String admin_id, String admin_pwd, Date admin_date) {
... |
f5b75227-3cdf-4473-9282-c9d884da4670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-11 21:17:30", "repo_name": "dwarandae/WorkshopJavaEE", "sub_path": "/src/java/BusinessLogic/Controller/ManageAccount.java", "file_name": "ManageAccount.java", "file_ext": "java", "file_size_in_byte": 970, "lin... | https://github.com/dwarandae/WorkshopJavaEE | 181 | FILENAME: ManageAccount.java | 0.280616 | /*
* 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 BusinessLogic.Controller;
import DataAccess.DAO.AccountDAO;
import DataAccess.Entity.Account;
/**
*
* @author root
*/
publ... |
b00ade7c-a288-46cd-8e8f-c065ed3e18d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 20:42:23", "repo_name": "chasse2/hackerrank", "sub_path": "/hack/src/main/java/implementation/producerconsumer/IntBuffer.java", "file_name": "IntBuffer.java", "file_ext": "java", "file_size_in_byte": 1001, ... | https://github.com/chasse2/hackerrank | 208 | FILENAME: IntBuffer.java | 0.287768 | package implementation.producerconsumer;
class IntBuffer {
private int index = -1;
private int[] buffer = new int[8];
public synchronized void add(final int value) {
while (bufferIsFull()) {
invokeWait();
}
addValue(value);
notifyAll();
}
public synchro... |
710d1a37-43bf-4cc6-b0ac-957f8ed5b205 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 17:52:45", "repo_name": "CLLAlex/assignment-2B", "sub_path": "/via/src/main/java/com/via/dao/CompanyDao.java", "file_name": "CompanyDao.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 43... | https://github.com/CLLAlex/assignment-2B | 189 | FILENAME: CompanyDao.java | 0.27513 | package com.via.dao;
import com.via.entity.Company;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.Transactional;
import java.util.List;
@Comp... |
7a264236-3514-452a-985f-895e9f538ef2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 11:43:25", "repo_name": "ouya2/weather-rest-demo", "sub_path": "/weather-window-api/src/main/java/com/rocketco/weather/api/dto/response/LaunchWindow.java", "file_name": "LaunchWindow.java", "file_ext": "jav... | https://github.com/ouya2/weather-rest-demo | 214 | FILENAME: LaunchWindow.java | 0.225417 | package com.rocketco.weather.api.dto.response;
import java.io.Serializable;
/**
* The launch window DTO.
*/
public class LaunchWindow implements Serializable {
private String location;
private String datetime;
private long score;
public LaunchWindow(String location, String datetime, long score) {
this... |
2db4bf2f-c212-47a2-a1fc-81939ae7691d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-24 17:18:57", "repo_name": "AdrianArribas/TravelCoins", "sub_path": "/app/src/main/java/adrianarribas/travelcoin/ListaActivity.java", "file_name": "ListaActivity.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AdrianArribas/TravelCoins | 176 | FILENAME: ListaActivity.java | 0.233706 | package adrianarribas.travelcoin;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import java.util.ArrayList;
public class ListaActivity extends AppCompatAct... |
5261a436-4d3a-4870-9d08-fe84a78e3bc3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-13T17:23:57", "repo_name": "d80harri/smec", "sub_path": "/src/main/java/com/smec/users/accounts/AccountController.java", "file_name": "AccountController.java", "file_ext": "java", "file_size_in_byte": 1003, "l... | https://github.com/d80harri/smec | 187 | FILENAME: AccountController.java | 0.261331 | package com.smec.users.accounts;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.persistence.EntityManager;
@RestController
@RequestMapping(value = "/accounts")
public class AccountController {
@Autowired
p... |
1499375f-e5cc-4f8e-9200-2e219e34dbbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-16 12:20:11", "repo_name": "ngallagher/chero", "sub_path": "/simple-resource/src/main/java/org/simpleframework/resource/container/ContainerServer.java", "file_name": "ContainerServer.java", "file_ext": "java",... | https://github.com/ngallagher/chero | 180 | FILENAME: ContainerServer.java | 0.274351 | package org.simpleframework.resource.container;
import org.simpleframework.module.service.ServiceBinder;
import org.simpleframework.resource.ResourceManager;
import org.simpleframework.resource.ResourceMatcher;
import org.simpleframework.resource.SubscriptionRouter;
class ContainerServer {
private final Subscr... |
22b302ff-6023-41d2-b986-275eb46e0c54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-12 17:34:48", "repo_name": "CodeMechanix/Travel-Agency-Application", "sub_path": "/src/main/java/com/travelagency/model/AbstractPersistableEntity.java", "file_name": "AbstractPersistableEntity.java", "file_ext... | https://github.com/CodeMechanix/Travel-Agency-Application | 224 | FILENAME: AbstractPersistableEntity.java | 0.259826 | package com.travelagency.model;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* The Abstract Persistable entity for all other db schema entity
*
* @author Hasan Mahmud
* @since 2021-07-05
*/
@Data... |
c27c6afd-fe57-4465-98fa-6e33b45b4305 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-22T23:26:53", "repo_name": "harrywang/opsworks_cookbooks", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 971, "line_count": 16, "lang": "en", "doc_type": "text"... | https://github.com/harrywang/opsworks_cookbooks | 247 | FILENAME: README.md | 0.252384 | # AWS Cookbooks 101
Code for AWS Cookbooks 101 tutorial at: http://docs.aws.amazon.com/opsworks/latest/userguide/cookbooks-101.html
This is a great tutorial and very easy to follow.
The only trouble I had was on Example 9: Using Amazon EC2 Instances
I first messed up ChefDK by installing kitchen-ec2 gem - I think I ... |
9a388cfe-482f-4f77-92d9-432e93479032 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-28 07:46:14", "repo_name": "Qin-K/my-learning", "sub_path": "/spring-boot-apollo/src/main/java/com/qin_kai/springboot/apollo/TestController.java", "file_name": "TestController.java", "file_ext": "java", "file_... | https://github.com/Qin-K/my-learning | 214 | FILENAME: TestController.java | 0.190724 | package com.qin_kai.springboot.apollo;
import com.ctrip.framework.apollo.Config;
import com.ctrip.framework.apollo.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import o... |
bd691076-5619-4148-a504-a33f4140716d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-25 02:27:29", "repo_name": "iniestano8/0000", "sub_path": "/dbdou-app-blog/src/main/java/com/dbdou/app/blog/controller/CheckWXController.java", "file_name": "CheckWXController.java", "file_ext": "java", "file_... | https://github.com/iniestano8/0000 | 272 | FILENAME: CheckWXController.java | 0.256832 | package com.dbdou.app.blog.controller;
import java.util.Arrays;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.dbdou.app.blog.util.SHA1;
/**
* 微信开发者服务器配置
* (详见接入指南:... |
fd2532ea-5b1d-4861-a174-619c1e3047d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 09:21:12", "repo_name": "S-upersonic/itrip", "sub_path": "/itrip.bis/src/main/java/com/itrip/biz/controller/HotelController.java", "file_name": "HotelController.java", "file_ext": "java", "file_size_in_byte... | https://github.com/S-upersonic/itrip | 186 | FILENAME: HotelController.java | 0.221351 | package com.itrip.biz.controller;
import com.alibaba.fastjson.JSON;
import com.itrip.beans.dto.Dto;
import com.itrip.beans.pojo.Hotel;
import com.itrip.biz.service.hotel.HotelService;
import com.itrip.common.DtoUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.C... |
99bd8082-be2e-4236-905e-5705918a35f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-04 13:41:14", "repo_name": "hemanth1488/weatherapp", "sub_path": "/WeatherApp/app/src/main/java/com/ringmd/weatherapp/Model/DataPoint.java", "file_name": "DataPoint.java", "file_ext": "java", "file_size_in_byt... | https://github.com/hemanth1488/weatherapp | 230 | FILENAME: DataPoint.java | 0.235108 | package com.ringmd.weatherapp.Model;
import java.io.Serializable;
/**
* Created by hemanth on 31/12/2015.
*/
public class DataPoint implements Serializable {
Weather weather;
String city;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getCla... |
ab75bc00-9834-4da8-80f3-c01346391ea6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-26 06:34:15", "repo_name": "xiaoxie111/springmvc", "sub_path": "/src/com/util/AboutTime.java", "file_name": "AboutTime.java", "file_ext": "java", "file_size_in_byte": 1009, "line_count": 46, "lang": "en", "doc... | https://github.com/xiaoxie111/springmvc | 206 | FILENAME: AboutTime.java | 0.293404 | package com.util;
import org.springframework.stereotype.Service;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@Service
public class AboutTime {
/**
* 获取当前时间
*
* @return
*/
public Timestamp getNowTime(){
Date dat... |
75395ba1-aed3-4b62-bd54-03ab911ca8c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-08 03:26:58", "repo_name": "shb695/BackgroundProgress", "sub_path": "/app/src/main/java/com/soeasytest/app/backgroundprogress/BpNoTxt_Activity.java", "file_name": "BpNoTxt_Activity.java", "file_ext": "java", "... | https://github.com/shb695/BackgroundProgress | 189 | FILENAME: BpNoTxt_Activity.java | 0.277473 | package com.soeasytest.app.backgroundprogress;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.soeasytest.app.lib.BackgroundProgress;
import com.soeasytest.app.lib.BackgroundProgressView;
public class BpNoTxt_Activity extends AppCompatActivity {
B... |
588e5878-f93b-4f21-ba08-b436d6fecd30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 09:39:40", "repo_name": "wuyechun2018/imark", "sub_path": "/src/main/java/com/imark/demo/ApplicationUseDemo.java", "file_name": "ApplicationUseDemo.java", "file_ext": "java", "file_size_in_byte": 1067, "lin... | https://github.com/wuyechun2018/imark | 223 | FILENAME: ApplicationUseDemo.java | 0.258326 | package com.imark.demo;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
import java.util.List;
import java.util.Map;
/**
* Created by wyc on 2017/9/21.
* 演示直接在APP中加载配置文件,获取数据库连接,进行数... |
ea58e920-634f-41ee-b2fe-c92864f9b345 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-02 13:12:55", "repo_name": "SergWF/samlib", "sub_path": "/samlib-contract/src/main/java/my/wf/samlib/core/dataextract/filtering/FilterItem.java", "file_name": "FilterItem.java", "file_ext": "java", "file_size_... | https://github.com/SergWF/samlib | 206 | FILENAME: FilterItem.java | 0.255344 | package my.wf.samlib.core.dataextract.filtering;
import my.wf.samlib.core.model.entity.ComparableItem;
import my.wf.samlib.core.model.entity.Customer;
/**
* Created with IntelliJ IDEA.
* User: SBilenogov
*/
public class FilterItem<K> implements ComparableItem<K> {
private String fieldName;
private K filter... |
1269ca03-1896-4d8e-8e40-fbb9d97e59a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-09-13 04:37:03", "repo_name": "firemonk9/innowhite-server", "sub_path": "/myWebApp/src/main/java/com/innowhite/transformation/messages/MessagingMain.java", "file_name": "MessagingMain.java", "file_ext": "java", "... | https://github.com/firemonk9/innowhite-server | 218 | FILENAME: MessagingMain.java | 0.240775 | /**
*
*/
package com.innowhite.transformation.messages;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.innowhite.vo.DocConversionBean;
/**
* @author prashanthj
*... |
46968d83-f91d-4a81-a587-1d190f1d59e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 10:30:29", "repo_name": "alireza-ebrahimi/telegram-talaeii", "sub_path": "/5.3.5/sources/com/google/android/gms/common/api/internal/zzbx.java", "file_name": "zzbx.java", "file_ext": "java", "file_size_in_by... | https://github.com/alireza-ebrahimi/telegram-talaeii | 200 | FILENAME: zzbx.java | 0.276691 | package com.google.android.gms.common.api.internal;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
public final class zzbx extends BroadcastReceiver {
private Context mContext;
private final zzby zzgag;
public zzbx(zzby zzb... |
c934a4f6-f9c5-45b1-b782-4e03f8b0a6b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-06 14:01:45", "repo_name": "cosminbucur/sda-group11", "sub_path": "/hibernate/src/main/java/com/bucur/queries/native_sql/Trader.java", "file_name": "Trader.java", "file_ext": "java", "file_size_in_byte": 969, ... | https://github.com/cosminbucur/sda-group11 | 214 | FILENAME: Trader.java | 0.233706 | package com.bucur.queries.native_sql;
import javax.persistence.*;
@NamedNativeQueries({
@NamedNativeQuery(
name = "findTradersByNameNativeSQL",
query = "SELECT * FROM trader t where t.name = :name",
resultClass = Trader.class)})
@Entity(name = "Trader")
@Table(n... |
e15f9318-d35c-4a1a-9231-620d0eeec04a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-08 03:10:06", "repo_name": "r0625707/Medicamp", "sub_path": "/src/main/java/com/medicamp/api/ApiApplication.java", "file_name": "ApiApplication.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count... | https://github.com/r0625707/Medicamp | 191 | FILENAME: ApiApplication.java | 0.2227 | package com.medicamp.api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentS... |
fbca8f90-9542-4b95-9504-95edb12caedc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 02:14:10", "repo_name": "zhaoxu1943/JavaZ", "sub_path": "/src/main/java/com/practice/JavaRegex/RegexReplace.java", "file_name": "RegexReplace.java", "file_ext": "java", "file_size_in_byte": 1003, "line_coun... | https://github.com/zhaoxu1943/JavaZ | 232 | FILENAME: RegexReplace.java | 0.247987 | package com.practice.JavaRegex;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author zhaoxu
* @className RegexReplace
* @projectName JavaConcentration
* @description split and replace
* @date 2/27/2020 9:48 AM
*/
public class RegexReplace {
public static void main(String[] args) {
... |
92f4eb5f-64ef-441f-a401-b93814b26b97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20 23:38:28", "repo_name": "Dexter1789/hospital-high", "sub_path": "/src/main/java/Surgeon.java", "file_name": "Surgeon.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 57, "lang": "en", "doc... | https://github.com/Dexter1789/hospital-high | 248 | FILENAME: Surgeon.java | 0.293404 |
public class Surgeon extends Employee implements BloodDraw, CareForPatient{
private Boolean isOperating;
private String specialty;
public Surgeon(String name, String idnum, String position, String specialty, Boolean isOperating) {
super(name, idnum, position);
this.specialty = specialty;
this.isOperatin... |
94d52840-5050-4709-a203-d5ffceacde26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-01 08:39:02", "repo_name": "XiaoYu0206/SpringCloud-Demo", "sub_path": "/xiaoyu-springcloud-eureka/xiaoyu-springcloud-eureka-client-order/src/main/java/com/xiaoyu/demo/xiaoyu/springcloud/eureka/client/order/api... | https://github.com/XiaoYu0206/SpringCloud-Demo | 199 | FILENAME: OrderController.java | 0.196826 | package com.xiaoyu.demo.xiaoyu.springcloud.eureka.client.order.api;
import com.xiaoyu.demo.xiaoyu.springcloud.eureka.client.order.response.ResultUtil;
import com.xiaoyu.demo.xiaoyu.springcloud.eureka.client.order.response.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... |
d1a80437-ff6b-4106-99b5-098670f46701 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-27 17:27:40", "repo_name": "jackyliu/android", "sub_path": "/roboguice_roboletric_samples/android-project/src/com/justinschultz/androidproject/MainActivity.java", "file_name": "MainActivity.java", "file_ext": ... | https://github.com/jackyliu/android | 213 | FILENAME: MainActivity.java | 0.245085 | package com.justinschultz.androidproject;
//import android.app.Activity;
//import roboguice.activity.RoboActivity;
//import roboguice.activity.RoboActivity;
//import roboguice.inject.ContentView;
import roboguice.inject.InjectView;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import... |
458ba7d5-3c05-48fa-8ff5-a13ad425a446 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-31 18:19:35", "repo_name": "thanoojgithub/KafkaOne", "sub_path": "/src/main/java/com/kafkaone/simpleproducer/SimpleProducer.java", "file_name": "SimpleProducer.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/thanoojgithub/KafkaOne | 239 | FILENAME: SimpleProducer.java | 0.275909 | package com.kafkaone.simpleproducer;
import java.util.Properties;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
public class SimpleProducer {
public static void main(String[] args) {
Properties properties = new Properties();
properties.put("boo... |
735bb467-57ef-49ce-95e0-0c317bf47dcb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-21 13:38:36", "repo_name": "xuhuawei131/PasManaSys", "sub_path": "/hwframeworklib/src/main/java/com/jiayuan/huawei/hwframeworklib/persistData/commdb/database/DataBaseConfig.java", "file_name": "DataBaseConfig.... | https://github.com/xuhuawei131/PasManaSys | 216 | FILENAME: DataBaseConfig.java | 0.261331 | package com.jiayuan.huawei.hwframeworklib.persistData.commdb.database;
/**
* $desc$
*
* @author xuhuawei
* @time $date$ $time$
*/
public abstract class DataBaseConfig {
private String sqlCreate[];
private String sqlTableName[];
private String DB_NAME;
private int DB_VERSION;
public DataBaseCo... |
62406ad5-5bd6-4826-8b3a-ea3788ba60aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-01 03:42:47", "repo_name": "CSAlexWhite/web-agent", "sub_path": "/src/ButtonListener.java", "file_name": "ButtonListener.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 37, "lang": "en", "do... | https://github.com/CSAlexWhite/web-agent | 211 | FILENAME: ButtonListener.java | 0.250913 | import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
/**
* The class which listens for buttons to be pressed.
* @author Alex
*
*/
public class ButtonListener implements ActionListener {
// Whether some feature should be on or off.
boolean toggle;
/**
* The c... |
29ee3506-cd04-4fb3-8686-ffbce6cb9cc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-28 21:49:54", "repo_name": "OscarMolleapaza/TheRotClean", "sub_path": "/app/src/main/java/com/thesummitdev/ciliapp/fragments/creditos.java", "file_name": "creditos.java", "file_ext": "java", "file_size_in_byte... | https://github.com/OscarMolleapaza/TheRotClean | 189 | FILENAME: creditos.java | 0.173288 | package com.thesummitdev.ciliapp.fragments;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.text.method.LinkMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.thesummitdev.ciliapp.R;... |
b922498a-6634-490a-9d6e-4eed83a03459 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03T06:34:52", "repo_name": "asaidillaeva/FitnessTracker", "sub_path": "/app/src/main/java/com/example/fitnesstracker/main/ViewPagerAdapter.java", "file_name": "ViewPagerAdapter.java", "file_ext": "java", "file... | https://github.com/asaidillaeva/FitnessTracker | 185 | FILENAME: ViewPagerAdapter.java | 0.249447 | package com.example.fitnesstracker.main;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import com.example.fitnesstracker.current.CurrentRunFragment;
import com.example.fitnesstracker.history.HistoryFragment;
import java.util.A... |
315d5fbb-14c3-4929-b43f-3bba97aa35b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-12 15:15:35", "repo_name": "afzalrumon/Batch9GIT", "sub_path": "/IdeaProjects/SeleniumBatch09/src/com/Class10/CalenderDemo.java", "file_name": "CalenderDemo.java", "file_ext": "java", "file_size_in_byte": 1003... | https://github.com/afzalrumon/Batch9GIT | 202 | FILENAME: CalenderDemo.java | 0.221351 | package com.Class10;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class CalenderDemo {
public static void main(String[] args) {
String url = "https://www.delta.com";
System.setProp... |
51af0bf7-6594-4da1-a1d9-43ebda4f4194 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-15 20:52:13", "repo_name": "mintsatan/labs_programming", "sub_path": "/lab4/src/com/company/Institution.java", "file_name": "Institution.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 48, "... | https://github.com/mintsatan/labs_programming | 189 | FILENAME: Institution.java | 0.250913 | package com.company;
public abstract class Institution {
public boolean isOpen = false;
private String name;
private int square;
private static TypeOfInstitution type;
Institution(String name, int square) {
this.name = name;
this.square = square;
Foundation foundation = new... |
46ee4811-56f7-41a1-a927-188923e343e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-23 07:04:51", "repo_name": "kdjupsjo/InspectCar", "sub_path": "/src/se/kth/iv1350/inspectcar/integration/Garage.java", "file_name": "Garage.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 39... | https://github.com/kdjupsjo/InspectCar | 217 | FILENAME: Garage.java | 0.261331 | /*
* 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 se.kth.iv1350.inspectcar.integration;
/**
*
* @author masaralmosawi
*/
public class Garage {
private GarageDoor door;
... |
f55c5416-8dc6-49e0-971a-71ef6bccc4f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-15 13:47:32", "repo_name": "vToMy/disunity", "sub_path": "/disunity-core/src/main/java/info/ata4/disunity/builder/AbstractAssetBuilder.java", "file_name": "AbstractAssetBuilder.java", "file_ext": "java", "file... | https://github.com/vToMy/disunity | 199 | FILENAME: AbstractAssetBuilder.java | 0.274351 | package info.ata4.disunity.builder;
import java.io.IOException;
import java.nio.file.Path;
import info.ata4.disunity.extract.AssetExtractor;
import info.ata4.unity.rtti.ObjectData;
import info.ata4.unity.rtti.ObjectSerializer;
public abstract class AbstractAssetBuilder<T extends AssetExtractor> implements AssetBuild... |
84139307-1a56-4fa8-82fb-57e681638d27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 12:50:24", "repo_name": "semiotproject/semiot-drivers", "sub_path": "/semiot-device-prototype/src/main/java/ru/semiot/platform/drivers/semiot/device/prototype/Activator.java", "file_name": "Activator.java",... | https://github.com/semiotproject/semiot-drivers | 187 | FILENAME: Activator.java | 0.239349 | package ru.semiot.platform.drivers.semiot.device.prototype;
import org.apache.felix.dm.DependencyActivatorBase;
import org.apache.felix.dm.DependencyManager;
import org.osgi.framework.BundleContext;
import ru.semiot.platform.deviceproxyservice.api.drivers.DeviceDriver;
import ru.semiot.platform.deviceproxyservice.api.... |
c0f8db33-ef0b-4968-a19e-caa7f0cfb71d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-11 06:17:12", "repo_name": "caimingqin/app", "sub_path": "/src/test/java/com/caimingqin/mvc/web/ObjectMapperTest.java", "file_name": "ObjectMapperTest.java", "file_ext": "java", "file_size_in_byte": 997, "line... | https://github.com/caimingqin/app | 188 | FILENAME: ObjectMapperTest.java | 0.26588 | package com.caimingqin.mvc.web;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;
import org.junit.Test;
import com... |
6a6e82f1-0dbf-4bbb-ad59-586861d6dc0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-20 11:32:53", "repo_name": "efekanergincan/n11test", "sub_path": "/n11test/src/main/java/com/n11/pages/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count":... | https://github.com/efekanergincan/n11test | 245 | FILENAME: HomePage.java | 0.242206 | package com.n11.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class HomePage extends BasePage {
@FindBy(className = "btnSignIn")
private WebElement girisyap;
@FindBy(id = "loginButton")
private We... |
9455d76e-8cc2-4c86-b82f-2b3dce764ce1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-24 00:55:18", "repo_name": "Amperial/Relics", "sub_path": "/modules/plugin/src/main/java/com/herocraftonline/items/item/attributes/triggers/sources/event/PlayerInteractSource.java", "file_name": "PlayerInterac... | https://github.com/Amperial/Relics | 204 | FILENAME: PlayerInteractSource.java | 0.273574 | /*
* This file is part of Relics.
*
* Copyright (c) 2017, Austin Payne <amperialdev@gmail.com - http://github.com/Amperial>
*
* All Rights Reserved.
*
* Unauthorized copying and/or distribution of Relics,
* via any medium is strictly prohibited.
*/
package com.herocraftonline.items.item.attributes.triggers.sou... |
0d7e027b-54f3-4c94-a2cc-f7bcc6f855cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-13 02:46:20", "repo_name": "adrenalinee/cinnamon", "sub_path": "/cinnamon-apps/src/main/java/org/cinnamon/apps/domain/Resource.java", "file_name": "Resource.java", "file_ext": "java", "file_size_in_byte": 1004... | https://github.com/adrenalinee/cinnamon | 248 | FILENAME: Resource.java | 0.23092 | package org.cinnamon.apps.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
/**
*
*
* created date: 2015. 10. 19.
* @author 신동성
*/
@Entity
public class Resource implements Serializable {
/**
*
*/
private static final lon... |
4a61006e-1729-4997-8b09-7b089fb0f39f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-23 14:04:47", "repo_name": "Alibayev/Algorithms", "sub_path": "/src/com/company/CrackingTheCodingInterview/Chapter4/DFSGraph.java", "file_name": "DFSGraph.java", "file_ext": "java", "file_size_in_byte": 1004, ... | https://github.com/Alibayev/Algorithms | 267 | FILENAME: DFSGraph.java | 0.274351 | package com.company.CrackingTheCodingInterview.Chapter4;
import java.util.LinkedList;
/**
* Created by bekzodalibayev on 3/9/17.
*/
public class DFSGraph {
LinkedList<Integer> adj[];
public static void main(String[] args){
DFSGraph g = new DFSGraph(6);
g.addEdge(5, 2);
g.addEdge(5, ... |
dbe849ea-b782-421c-af77-659b508d2749 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-20 08:56:07", "repo_name": "ChoungYoung/ECollection", "sub_path": "/app/src/main/java/com/ttg/ecollection/ui/LoginActivity.java", "file_name": "LoginActivity.java", "file_ext": "java", "file_size_in_byte": 100... | https://github.com/ChoungYoung/ECollection | 186 | FILENAME: LoginActivity.java | 0.194368 | package com.ttg.ecollection.ui;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.ttg.ecollection.R;
import com.ttg.ecollec... |
94d3cfe6-6c32-403b-9306-3d2d6a317edf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-08T05:09:33", "repo_name": "504797090/BeaverERP", "sub_path": "/src/main/java/com/beaver/service/impl/PurceaseServiceImpl.java", "file_name": "PurceaseServiceImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/504797090/BeaverERP | 199 | FILENAME: PurceaseServiceImpl.java | 0.259826 | package com.beaver.service.impl;
import com.beaver.bean.Purchase;
import com.beaver.bean.vo.PurchaseAccountSupplierMaterial;
import com.beaver.mapper.PurchaseMapper;
import com.beaver.service.PurchaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... |
6b1bd5f5-007c-4181-9204-15c5779508f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 17:40:28", "repo_name": "mahmoudbelal123/sandbox-1", "sub_path": "/app/src/main/java/com/appster/turtle/ui/rooms/RoomDescActivity.java", "file_name": "RoomDescActivity.java", "file_ext": "java", "file_size_... | https://github.com/mahmoudbelal123/sandbox-1 | 178 | FILENAME: RoomDescActivity.java | 0.214691 | package com.appster.turtle.ui.rooms;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import com.appster.turtle.R;
import com.appster.turtle.databinding.ActivityRoomDescBinding;
import com.appster.turtle.ui.BaseActivity;
import com.appster.turtle.ui.Constants;
public class RoomDescActivity exte... |
49abab0e-b4b4-42a7-88bc-b02da86bbeec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-03 18:51:38", "repo_name": "bristleback/bristleback-samples", "sub_path": "/tutorial-chat/src/main/java/pl/bristleback/sample/chat/action/client/ChatClientAction.java", "file_name": "ChatClientAction.java", "f... | https://github.com/bristleback/bristleback-samples | 224 | FILENAME: ChatClientAction.java | 0.240775 | package pl.bristleback.sample.chat.action.client;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pl.bristleback.sample.chat.user.ActiveUsers;
import pl.bristleback.sample.chat.user.ChatUser;
import pl.bristleback.sample.chat.vo.ChatText;
import pl... |
8481c5ef-5f57-4c2c-851a-69fc6bcd9052 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-27 19:12:48", "repo_name": "rsoiffer/DnDGame", "sub_path": "/src/creature/HealthComponent.java", "file_name": "HealthComponent.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 36, "lang": "e... | https://github.com/rsoiffer/DnDGame | 228 | FILENAME: HealthComponent.java | 0.283781 | package creature;
import amounts.Amount;
import amounts.Stat;
import core.AbstractComponent;
public class HealthComponent extends AbstractComponent {
public Stat maxHealth = new Stat();
public Stat currentHealth = new Stat("Max", maxHealth);
public void damage(int amt) {
if (amt > getTempHP()) {... |
afe5bd11-29a9-42ff-9557-30b8aca89b1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-08T11:48:58", "repo_name": "ArthurSkinner/WateringCan", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 991, "line_count": 15, "lang": "en", "doc_type": "text", "... | https://github.com/ArthurSkinner/WateringCan | 223 | FILENAME: README.md | 0.262842 | # WateringCan
Water Monitor
Aim: To learn and develop my coding knowledge through a project to automate the watering of indoor vegetable plants.

Using an arduino to collect data from 5 moisture sensors, format the data, and print serial. This serial is then read by a Raspberry Pi which is connect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.