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 |
|---|---|---|---|---|---|---|
762ae0d4-f656-48b4-ac79-5dae214255e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-09-04T18:33:12", "repo_name": "w3c/webref", "sub_path": "/ed/idlpatches/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1049, "line_count": 25, "lang": "en", "doc_type": "text", "... | https://github.com/w3c/webref | 269 | FILENAME: README.md | 0.240775 | # Web IDL patches
These are patches applied to the Web IDL scraped from specs to produce `@webref/idl` package. These patches can break as specs are updated and thus need ongoing maintenance.
## Creating patches
Using SVG as an example:
- Open a pull request or issue for the spec.
- Make the necessary changes to `e... |
f55763d9-16e0-4416-88c5-a4a99bd9e3b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-08 14:21:09", "repo_name": "santubeikawhi/springJavaConfig", "sub_path": "/src/com/jl/spring/dao/PersonInfoDaoImpl.java", "file_name": "PersonInfoDaoImpl.java", "file_ext": "java", "file_size_in_byte": 985, "l... | https://github.com/santubeikawhi/springJavaConfig | 202 | FILENAME: PersonInfoDaoImpl.java | 0.258326 | package com.jl.spring.dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import com.jl.spring.model.Customer;
import com.jl.spring.model.Person;
public class PersonInfoDaoImpl implements PersonInfoDao{
//config中 使用Autowired 在... |
d59dc65a-dfe1-4016-bbd7-a57829d46a56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-28 17:31:12", "repo_name": "ahmedishraq/CSE-111-Project-BankingSystem", "sub_path": "/project update/Pr/src/pr/Pr.java", "file_name": "Pr.java", "file_ext": "java", "file_size_in_byte": 1110, "line_count": 44,... | https://github.com/ahmedishraq/CSE-111-Project-BankingSystem | 257 | FILENAME: Pr.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 pr;
/**
*
* @author DOLPHIN
*/
import java.io.File;
import java.util.*;
public class Pr {
/**
* @param args the ... |
1465c0c6-78ce-4266-9699-b04608df4836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 03:21:08", "repo_name": "Fuy7/BookShop", "sub_path": "/src/com/fuy/book/dao/impl/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 971, "line_count": 28, "lang": "... | https://github.com/Fuy7/BookShop | 215 | FILENAME: UserDaoImpl.java | 0.279042 | package com.fuy.book.dao.impl;
import com.fuy.book.dao.BaseUtils;
import com.fuy.book.dao.UserDao;
import com.fuy.book.entity.User;
public class UserDaoImpl extends BaseUtils implements UserDao {
@Override
public User queryUserByName(String userName) {
String sql = "select id,username,password,email f... |
da3c82bc-174a-4aed-940e-198ca7ec0720 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 04:27:50", "repo_name": "Mihail74/SpringLearning", "sub_path": "/SpringDataIntro/spring-data-intro/src/test/java/com/rusoft/JpaTest.java", "file_name": "JpaTest.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Mihail74/SpringLearning | 197 | FILENAME: JpaTest.java | 0.256832 | package com.rusoft;
import com.rusoft.jpa.config.DataConfig;
import com.rusoft.jpa.employee.CrudEmployeeRepository;
import com.rusoft.jpa.employee.Employee;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotati... |
c350ee92-8365-4a99-af9d-abcd421f76ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 15:31:19", "repo_name": "kyunss/AndroidLunaPlatformDemo", "sub_path": "/app/src/main/java/irisys/androidlunaplatformdemo/view/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_... | https://github.com/kyunss/AndroidLunaPlatformDemo | 204 | FILENAME: MainActivity.java | 0.228156 | package irisys.androidlunaplatformdemo.view;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import irisys.androidlunaplatformdemo.R;
import irisys.androidlunaplatformdemo.contract.MainViewContract;
import irisys.androidlunaplatformdemo.databinding.ActivityMainBind... |
7bbcfca1-e7c3-49be-9b67-94fb5342ea2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 08:22:28", "repo_name": "Hsuchihhao/com.finalDesign", "sub_path": "/src/main/java/com/finalDesign/service/SchoolServiceImpl.java", "file_name": "SchoolServiceImpl.java", "file_ext": "java", "file_size_in_by... | https://github.com/Hsuchihhao/com.finalDesign | 241 | FILENAME: SchoolServiceImpl.java | 0.274351 | package com.finalDesign.service;
import com.finalDesign.dao.SchoolMapper;
import com.finalDesign.dao.UserMapper;
import com.finalDesign.pojo.School;
import org.springframework.http.HttpRequest;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.... |
ee4ea8ee-4a47-456e-aa21-47fd95bac796 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 14:23:10", "repo_name": "soghao/zgyh", "sub_path": "/BOCMBankClient606/src/main/java/com/chinamworld/bocmbci/biz/foreign/ForeignDetailsHelpActivity.java", "file_name": "ForeignDetailsHelpActivity.java", "fi... | https://github.com/soghao/zgyh | 293 | FILENAME: ForeignDetailsHelpActivity.java | 0.258326 | package com.chinamworld.bocmbci.biz.foreign;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.chinamworld.bocmbci.R;
import com.chinamworld.bocmbci.biz.foreign.ForeignBaseActivity;
import com.chinamworld.bocmbci.log.LogGloble;
/**
* 外汇买卖 行情帮助... |
7a409737-6b00-4a3f-acd8-b5932adfbe29 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 09:00:09", "repo_name": "gjavolce/viap_demo_api", "sub_path": "/src/test/java/com/viaplay/api/utils/CustomStringManufacturerTest.java", "file_name": "CustomStringManufacturerTest.java", "file_ext": "java", ... | https://github.com/gjavolce/viap_demo_api | 194 | FILENAME: CustomStringManufacturerTest.java | 0.229535 | package com.viaplay.api.utils;
import uk.co.jemos.podam.api.AttributeMetadata;
import uk.co.jemos.podam.api.DataProviderStrategy;
import uk.co.jemos.podam.typeManufacturers.StringTypeManufacturerImpl;
import java.lang.reflect.Type;
import java.util.Map;
import java.util.UUID;
public class CustomStringManufacturerTes... |
c55ac05a-ee64-4ceb-b7ff-600927cf2867 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-02 09:07:43", "repo_name": "szdengl/mimiduo-parent", "sub_path": "/mimiduo-manager/mimiduo-manager-service/src/main/java/net/mimiduo/boot/service/impl/business/ProvinceServiceImpl.java", "file_name": "Province... | https://github.com/szdengl/mimiduo-parent | 224 | FILENAME: ProvinceServiceImpl.java | 0.253861 | package net.mimiduo.boot.service.impl.business;
import com.google.common.base.Optional;
import net.mimiduo.boot.dao.BaseDao;
import net.mimiduo.boot.dao.bussiness.ProvinceDao;
import net.mimiduo.boot.pojo.business.Province;
import net.mimiduo.boot.service.busindess.ProvinceService;
import net.mimiduo.boot.service.im... |
2cabbbd3-e085-499b-bcd2-dba4261c7d35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-29 08:14:23", "repo_name": "SijiaLiu/SSM", "sub_path": "/src/main/java/com/lsj/service/impl/CustomerServiceImpl.java", "file_name": "CustomerServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1212, "l... | https://github.com/SijiaLiu/SSM | 248 | FILENAME: CustomerServiceImpl.java | 0.278257 | package com.lsj.service.impl;
import com.lsj.dao.CustomerDao;
import com.lsj.model.Customer;
import com.lsj.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by LiuSijia on 2017/8/28.
*/
@Servi... |
67ab49e5-be82-4264-ad73-3b92d895c5f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-06T21:46:36", "repo_name": "MisterPeddler/Instanews", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1070, "line_count": 12, "lang": "en", "doc_type": "text", "b... | https://github.com/MisterPeddler/Instanews | 235 | FILENAME: readme.md | 0.204342 | # InstaNews
A responsive, single page, scratch built website.

## Project Details
This page is an exercise in using ajax requests to fetch data from a 3rd party API, in this case, the New York Times. The page cont... |
ed4de356-aae4-4e2a-86d3-45fd0ca6d73c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-08 19:21:00", "repo_name": "Jakub435/benchmark-mongoDb", "sub_path": "/src/main/java/com/benchmark/mongoDb/domain/MongoSpatialLineString.java", "file_name": "MongoSpatialLineString.java", "file_ext": "java", "... | https://github.com/Jakub435/benchmark-mongoDb | 233 | FILENAME: MongoSpatialLineString.java | 0.245085 | package com.benchmark.mongoDb.domain;
import org.bson.codecs.pojo.annotations.BsonId;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.geo.GeoJsonLineString;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "spatial_LineString")
public class MongoSpatia... |
2498e1b5-a9ff-4cdc-b5a8-c092ae2ab183 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-05 14:05:18", "repo_name": "ZhangLi12060511/springboot-demo", "sub_path": "/src/main/java/com/springboot/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_... | https://github.com/ZhangLi12060511/springboot-demo | 231 | FILENAME: UserServiceImpl.java | 0.226784 | package com.springboot.service.impl;
import com.springboot.dao.UserDao;
import com.springboot.obj.User;
import com.springboot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
imp... |
cfe692c5-146e-4f74-9e4a-d7133e47633e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-28T22:55:32", "repo_name": "osrf/www.ros.org", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 36, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/osrf/www.ros.org | 264 | FILENAME: README.md | 0.226784 | DEPRECATED
==========
This has been replaced by https://github.com/ros-infrastructure/www.ros.org
www.ros.org
===========
This is the www.ros.org site.
To deploy on a fresh machine with Apache (and php, and mysql, and everything else needed by Wordpress):
cd /var
rm -rf www
git clone https://github.co... |
f6116120-69da-459f-81f8-c39be9b64f28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-04T07:31:35", "repo_name": "ragadnajjar/reading-notes", "sub_path": "/read5.md", "file_name": "read5.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 22, "lang": "en", "doc_type": "text", "b... | https://github.com/ragadnajjar/reading-notes | 336 | FILENAME: read5.md | 0.293404 | # adding images
## to add an imge into the page you need to use an:
1. `<img>` element
2. src,and this tells the browser where it can find the imge file
3. alt,this provides a text description of the imge which describes the imge if ypu cannot see it.
### so it should be like this :
* `<img src="the link" alt ="the des... |
feca83f3-d6ef-40b1-8b73-cce2fa1954ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 07:24:08", "repo_name": "smallsnail-wh/wh-spring-test", "sub_path": "/src/main/java/com/wh/demo/test/async/DeferredResultListener.java", "file_name": "DeferredResultListener.java", "file_ext": "java", "file... | https://github.com/smallsnail-wh/wh-spring-test | 272 | FILENAME: DeferredResultListener.java | 0.284576 | package com.wh.demo.test.async;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
public class DeferredResultListener implements... |
10119108-f8ae-4902-ba1d-8164b8d1320c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-24 08:48:53", "repo_name": "EdgarArsenyan/Retrofit_new_example", "sub_path": "/app/src/main/java/com/noringerazancutyun/retrofit_new_example/Model/Model.java", "file_name": "Model.java", "file_ext": "java", "f... | https://github.com/EdgarArsenyan/Retrofit_new_example | 251 | FILENAME: Model.java | 0.242206 | package com.noringerazancutyun.retrofit_new_example.Model;
import android.os.Parcel;
import android.os.Parcelable;
public class Model implements Parcelable {
private int userId;
private int id;
private String title;
private String body;
protected Model(Parcel in) {
userId = in.readInt();... |
53d5f969-08cc-4847-a45e-741c340a5227 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-03 19:54:35", "repo_name": "daniel0916/KillMoney", "sub_path": "/src/main/java/de/daniel0916/KillMoney/Listeners/PlayerListener.java", "file_name": "PlayerListener.java", "file_ext": "java", "file_size_in_byte... | https://github.com/daniel0916/KillMoney | 267 | FILENAME: PlayerListener.java | 0.284576 | package de.daniel0916.KillMoney.Listeners;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
import de.daniel0916.KillMoney.KillMoney;
public class PlayerListener implements Listener{
@EventHandler
public void... |
290f2a73-029f-461d-b247-116c6914bbef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-11 20:55:19", "repo_name": "LansVegans/parserweb", "sub_path": "/src/main/java/net/parser/entities/PhysParamB.java", "file_name": "PhysParamB.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count":... | https://github.com/LansVegans/parserweb | 248 | FILENAME: PhysParamB.java | 0.267408 | package net.parser.entities;
import javax.persistence.*;
import java.io.Serializable;
/**
* Created by LansVegans on 22.02.2017.
*/
@Entity
@Table(name = "physParamB")
public class PhysParamB implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@Column(na... |
91295dbe-7c98-4328-a4b2-146c6163d9db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-10 19:31:25", "repo_name": "simplyti/simple-server", "sub_path": "/acceptance/src/test/java/com/simplyti/service/steps/IdentityToken.java", "file_name": "IdentityToken.java", "file_ext": "java", "file_size_in_... | https://github.com/simplyti/simple-server | 208 | FILENAME: IdentityToken.java | 0.245085 | package com.simplyti.service.steps;
import com.jsoniter.annotation.JsonCreator;
import com.jsoniter.annotation.JsonProperty;
import lombok.Getter;
import lombok.experimental.Accessors;
@Getter
@Accessors(fluent=true)
public class IdentityToken {
@JsonProperty("access_token")
private final String accessToken;
@J... |
71cecb43-6ef9-4793-b2bf-5677eb66fdff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-20 04:46:41", "repo_name": "astralbear435/KHFinalProject", "sub_path": "/src/main/java/kr/spring/websocket/ws/ChatHandshake.java", "file_name": "ChatHandshake.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/astralbear435/KHFinalProject | 179 | FILENAME: ChatHandshake.java | 0.246533 | package kr.spring.websocket.ws;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.http.server.ServletServerHttpRequest;
import org.springframework.web.sock... |
1711aa15-9868-4f23-8969-78aca2b93748 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-17 21:24:14", "repo_name": "umm-csci-3403-fall-2019/lab-5-echo-client-server-jackson-paul", "sub_path": "/src/echoserver/EchoServer.java", "file_name": "EchoServer.java", "file_ext": "java", "file_size_in_byte... | https://github.com/umm-csci-3403-fall-2019/lab-5-echo-client-server-jackson-paul | 191 | FILENAME: EchoServer.java | 0.259826 | package echoserver;
import java.net.*;
import java.io.*;
public class EchoServer {
public static final int portNumber = 6013;
public static void main(String[] args) {
try {
// Start listening on the specified port
ServerSocket socket = new ServerSocket(portNumber);
... |
1f44f87f-1db7-4029-ba92-32befa5a0e3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-13 05:04:58", "repo_name": "Tibianobr/campo-minado-bombs", "sub_path": "/src/sample/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": 47, "lang": "en", "doc_typ... | https://github.com/Tibianobr/campo-minado-bombs | 222 | FILENAME: Main.java | 0.29584 | package sample;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import sample.model.Grid;
import sample.model.Tile;
import java.util.List;
import static sample.model.Tile.TILE_SIZE;
public class Main extends Ap... |
703723b2-7fa9-40b7-944b-b1d8ee992469 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 02:20:07", "repo_name": "RoninKai/LifeApp", "sub_path": "/app/src/main/java/com/tanker/life/action/motto/EditMottoActivity.java", "file_name": "EditMottoActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/RoninKai/LifeApp | 254 | FILENAME: EditMottoActivity.java | 0.221351 | package com.tanker.life.action.motto;
import android.text.TextUtils;
import android.widget.EditText;
import com.tanker.life.R;
import com.tanker.life.action.base.BaseActivity;
import com.tanker.life.common.CommonValues;
import com.tanker.life.eventbus.Event;
import com.tanker.life.eventbus.EventBusUtil;
import com.ta... |
44069e9f-4ccd-4396-adaf-0bf286187ab6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-13 06:04:35", "repo_name": "yirujiwang2001/Shiina-repository", "sub_path": "/demo3/src/com/shiina/SERV/RegisterToLoginServlet.java", "file_name": "RegisterToLoginServlet.java", "file_ext": "java", "file_size_i... | https://github.com/yirujiwang2001/Shiina-repository | 244 | FILENAME: RegisterToLoginServlet.java | 0.277473 | package com.shiina.SERV;
import org.apache.taglibs.standard.extra.spath.Step;
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 java.io.IOExceptio... |
68ad20d4-57b4-436e-a8ef-6bafd0018b2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-06 15:45:12", "repo_name": "changelzj/webservice", "sub_path": "/src/main/java/com/example/ws/Server2.java", "file_name": "Server2.java", "file_ext": "java", "file_size_in_byte": 1246, "line_count": 35, "lang"... | https://github.com/changelzj/webservice | 293 | FILENAME: Server2.java | 0.282988 | package com.example.ws;
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
public class Server2 {
/**
* 需要注解,不加注解不能暴漏任何方法
* 该类生成的wsdl文档更加规范
* 能添加拦截器
*
* 另:webservice访问流程:
... |
7f34ced4-5adb-4b94-9db6-b0dbdb59c984 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-24T21:12:57", "repo_name": "Diope/hllo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 507, "line_count": 11, "lang": "en", "doc_type": "text", "blob_id": "9775... | https://github.com/Diope/hllo | 256 | FILENAME: README.md | 0.206894 | # Hllo
So this is me working on another medium sized app just to keep my knowledge up to date and because I enjoy coding. Not sure how far I'll go with this, but for the time being it'll be the bare basics of a social media app. So registration,
posting, deleting of posts. I might add in image hosting via AWS or Fires... |
505f614f-7e31-47fe-a01c-22e15756e99e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-02 14:11:23", "repo_name": "mjung96/PetstoreAPI", "sub_path": "/rest-service/src/main/java/com/example/restservice/PetController.java", "file_name": "PetController.java", "file_ext": "java", "file_size_in_byte... | https://github.com/mjung96/PetstoreAPI | 276 | FILENAME: PetController.java | 0.292595 | package com.example.restservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Arrays;
import java.util.List;
@RestController
public class PetController {
@Autowired
private PetsData petdata;
//not part of spec; for tes... |
4de57c6a-d79c-42be-8ce1-186b4f4c005c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-07 08:06:30", "repo_name": "Wzicheng/BesterLive", "sub_path": "/app/src/main/java/com/neusoft/besterlive/control/http/request/GetLiveRoomRequest.java", "file_name": "GetLiveRoomRequest.java", "file_ext": "java... | https://github.com/Wzicheng/BesterLive | 258 | FILENAME: GetLiveRoomRequest.java | 0.274351 | package com.neusoft.besterlive.control.http.request;
import com.neusoft.besterlive.control.http.response.GetLiveRoomListResponseObject;
import com.neusoft.besterlive.utils.BaseRequest;
/**
* Created by Wzich on 2017/11/12.
*/
public class GetLiveRoomRequest extends BaseRequest {
// private static final String h... |
124db55d-b269-400e-b9f9-e42041f9e6df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-16 09:43:50", "repo_name": "PersistXL/javaEE", "sub_path": "/src/cn/perestxl/Servlet/UserServlet.java", "file_name": "UserServlet.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": 35, "lang":... | https://github.com/PersistXL/javaEE | 187 | FILENAME: UserServlet.java | 0.221351 | package cn.perestxl.Servlet;
import cn.perestxl.bean.User;
import cn.perestxl.service.UserService;
import cn.perestxl.service.impl.UserServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... |
ee24901f-1388-496d-af3b-151cd435c647 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 12:17:51", "repo_name": "ben622/GifVideo", "sub_path": "/app/src/main/java/com/ben/android/gifvideo/example/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1223, "line_count... | https://github.com/ben622/GifVideo | 246 | FILENAME: Utils.java | 0.264358 | package com.ben.android.gifvideo.example;
import android.content.Context;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* @program: GifVideo
* @description:
* @author: black.cube
* @create: 2020-12-11 14:33
**/
public class Utils {
public s... |
c50e4e10-2d0b-4f28-b794-0f7994212a31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-17 12:23:21", "repo_name": "pnoker/iot-dc3", "sub_path": "/dc3-driver/dc3-driver-opc-da/src/main/java/org/openscada/opc/dcom/common/impl/BaseCOMObject.java", "file_name": "BaseCOMObject.java", "file_ext": "jav... | https://github.com/pnoker/iot-dc3 | 255 | FILENAME: BaseCOMObject.java | 0.289372 | /*
* Copyright 2022 Pnoker All Rights Reserved
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
7ce548f1-d80b-4e90-b21c-386ecbfc7c66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-04 19:59:28", "repo_name": "svasilovski/ConvertCelciustoFatenheit", "sub_path": "/app/src/main/java/com/example/svasilovski/convertcelciustofatenheit/MainActivity.java", "file_name": "MainActivity.java", "file... | https://github.com/svasilovski/ConvertCelciustoFatenheit | 201 | FILENAME: MainActivity.java | 0.290981 | package com.example.svasilovski.convertcelciustofatenheit;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class MainActivity extends ... |
da640e4f-751a-4933-bcf7-35fb9d7bc989 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-30 19:19:29", "repo_name": "ttt9912/prospringboot2", "sub_path": "/03-springboot-features/application/spring-application/src/main/java/ch3/spring/application/SpringApplicationDemo.java", "file_name": "SpringAp... | https://github.com/ttt9912/prospringboot2 | 163 | FILENAME: SpringApplicationDemo.java | 0.271252 | package ch3.spring.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/*
* # SpringApplication.run()
* returns ConfigurableApplicationContext
*
* # SpringApplication instance
* Instead of calling static SpringApplication.run(), an ... |
83f56696-c4f7-401c-9c59-bee1bd121b87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-23T17:27:44", "repo_name": "MohdImran001/movie-booking-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1130, "line_count": 24, "lang": "en", "doc_type": "te... | https://github.com/MohdImran001/movie-booking-app | 258 | FILENAME: README.md | 0.284576 | # svelte movie booking app
Movie seat booking app made with Svelte.js. It consists of three components (movies, seats-booking, e-ticket). All the movies and their details are stored in svelte.js readable store. Movies component fetches the movies from svelte store. When a movie is clicked the id of that movie is passe... |
8607f465-16e8-43e6-980a-cfc445f88151 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-19 09:46:19", "repo_name": "abhi-ar17/Selenium", "sub_path": "/testng1/navigate_commands.java", "file_name": "navigate_commands.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 42, "lang": "... | https://github.com/abhi-ar17/Selenium | 252 | FILENAME: navigate_commands.java | 0.285372 | package testng1;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
public class navigate_commands {
String appUrl="http://www.Demo... |
d1ecd4f6-a214-4d50-9cd1-20b4ce26cf0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-06 17:15:22", "repo_name": "SiliconHoller/gc-code", "sub_path": "/gc-gui/src/gcgui/msg/StatusMessage.java", "file_name": "StatusMessage.java", "file_ext": "java", "file_size_in_byte": 1226, "line_count": 58, "... | https://github.com/SiliconHoller/gc-code | 246 | FILENAME: StatusMessage.java | 0.291787 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gcgui.msg;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Iterator;
import java.util.Queue;
import java.util.Vector;
/**
*
* @author david
*/
public class StatusMe... |
b42dd150-49f3-433e-abee-c6bb8fa9ce7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-11 14:22:11", "repo_name": "AMITCCILGITHUB/MaterialRegisterSpring", "sub_path": "/MaterialRegisterSpring/src/org/map/service/UserValidation.java", "file_name": "UserValidation.java", "file_ext": "java", "file_... | https://github.com/AMITCCILGITHUB/MaterialRegisterSpring | 207 | FILENAME: UserValidation.java | 0.274351 | package org.map.service;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import javax.annotation.Resource;
import org.map.hibernate.ddo.UserMaster;
import org.map.hibernate.utils.UserData;
import org.springframework.stereotype.Repository;
@Repository("UserValidation")
public class UserV... |
0ad5d3cd-cee3-46f9-be46-184c48896db6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-22 23:52:53", "repo_name": "excelsiorsoft/spring-tinkering", "sub_path": "/spring-composite-cache-mgr/src/main/java/com/example/RedisCacheService.java", "file_name": "RedisCacheService.java", "file_ext": "java... | https://github.com/excelsiorsoft/spring-tinkering | 263 | FILENAME: RedisCacheService.java | 0.291787 | package com.example;
import static com.example.SpringCompositeCacheMgrApplicationTests.DATETIME_FORMAT;
import java.util.Date;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.Caching;
import org.springframewo... |
ad2dcc3f-3a33-4974-b2f6-a237d684711a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-15 10:32:55", "repo_name": "P79N6A/nrosCrm", "sub_path": "/nros-crm/server/src/main/java/com/ztesoft/zsmart/nros/crm/core/server/middleware/rpc/feigin/BaseMetaDataServiceImpl.java", "file_name": "BaseMetaDataS... | https://github.com/P79N6A/nrosCrm | 278 | FILENAME: BaseMetaDataServiceImpl.java | 0.240775 | package com.ztesoft.zsmart.nros.crm.core.server.middleware.rpc.feigin;
import com.ztesoft.zsmart.nros.base.model.ResponseMsg;
import com.ztesoft.zsmart.nros.crm.core.server.middleware.rpc.BaseMetaDataService;
import com.ztesoft.zsmart.nros.crm.core.server.middleware.rpc.feigin.proxy.BaseMetaDataProxy;
import com.zteso... |
f80ece5b-6a7d-4ce9-b320-87369c57526b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-13 03:57:56", "repo_name": "ankitvk/ftc_app-master", "sub_path": "/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Drivers/ExternalEncoder.java", "file_name": "ExternalEncoder.java", "file_ext": "java", ... | https://github.com/ankitvk/ftc_app-master | 251 | FILENAME: ExternalEncoder.java | 0.286968 | package org.firstinspires.ftc.teamcode.Drivers;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.teamcode.Control.Constants;
public class ExternalEncoder implements Constants{
DcMotor motor;
private int previousPos = 0;
private long previousTime = 0;
private double rpm = 0... |
2420bc35-1de9-4df9-8093-7aeb0cccdc2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-11 08:22:20", "repo_name": "ifmylove2011/SlimCalendar", "sub_path": "/app/src/main/java/com/xter/slimcalendar/data/entity/BingWallpaper.java", "file_name": "BingWallpaper.java", "file_ext": "java", "file_size_... | https://github.com/ifmylove2011/SlimCalendar | 441 | FILENAME: BingWallpaper.java | 0.264358 | package com.xter.slimcalendar.data.entity;
import com.litesuits.orm.db.annotation.Table;
import com.xter.support.entity.BaseModelAuto;
/**
* Created by XTER on 2018/4/9.
* 必应每日壁纸
*/
@Table("bing_wallpaper")
public class BingWallpaper extends BaseModelAuto {
/**
* title : 自然的天堂
* img_1920 : http://api.seqier.... |
89355a86-2c19-4d8c-b2d9-5a1910c48439 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-13T03:22:10", "repo_name": "Detry322/hubot-espn", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 53, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/Detry322/hubot-espn | 327 | FILENAME: README.md | 0.291787 | # hubot-espn
Get live sports data for most major sports leagues!
Leagues available:
- NBA
- NHL
- NFL
- MLB
- WNBA
Live score data accessible through `hubot espn NBA`, etc. Example Response:
```
> hubot espn MLB
Scores:
- ^Arizona 3 Philadelphia 1 (FINAL)
- San Francisco 0 Pittsburgh 0 (BOT 4TH)
- Chicago Sox ... |
53dfa967-b3bc-4adc-8c5e-b4d3f1525bfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-13T17:16:21", "repo_name": "crazyfln/CamStream", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 28, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/crazyfln/CamStream | 280 | FILENAME: README.md | 0.261331 | # CamStream
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ARVABYAUX3NPC)
Stream your webcams over http using mjpeg format
###### [*] Basic authentication [admim,admin]
###### [*] Face detection
###### [*] Multiple webcams
###### [*... |
148c6fbb-bfcd-4e0f-bdb0-016929968f8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-21T05:05:30", "repo_name": "meisammofidi/reactjs-pagination", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 973, "line_count": 37, "lang": "en", "doc_type": "te... | https://github.com/meisammofidi/reactjs-pagination | 236 | FILENAME: README.md | 0.26588 | # Pagination Table with ReactJS
This is a ReactJs application Shows a table where load data from exteral API and display them in three columns with ability to paginate to next, pervious, first and last page. the default limit per page is 10 records.
## Installation
Please follow the structure below
Install dependenc... |
21a793a3-b70c-49a9-83b4-b43b83736f74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-08 14:02:41", "repo_name": "GaoZhao66/spring-demo", "sub_path": "/update-file/src/main/java/com/cmb/updatefile/domain/entity/FileEntity.java", "file_name": "FileEntity.java", "file_ext": "java", "file_size_in_... | https://github.com/GaoZhao66/spring-demo | 327 | FILENAME: FileEntity.java | 0.228156 | package com.cmb.updatefile.domain.entity;
import lombok.Data;
/**
* chengyangbing special annotation
*
* @Package: com.cmb.hbx.domain.entity
* @FileName: FileEntity.java
* @ClassName: FileEntity
* @Description: 文件实体
* @Author: chengyangbing
* @CreateDate: 2019/12/23 4:40 PM
* @UpdateUser: chengyangbing
* @U... |
24ea153d-6a05-4f85-b6ac-4d0ecbee00e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 13:00:25", "repo_name": "PengQuanfeng/JavaDemo", "sub_path": "/src/main/java/com/example/demo3/Services/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1002, "li... | https://github.com/PengQuanfeng/JavaDemo | 216 | FILENAME: UserService.java | 0.295027 | package com.example.demo3.Services;
import com.example.demo3.DAO.UserMapper;
import com.example.demo3.Domain.IUserRespositry;
import com.example.demo3.Domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.UUID;
@Service
public clas... |
1dbdbfe5-1405-4b15-86ad-bb4014d0df38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-12 11:31:43", "repo_name": "liuzhushaonian/ys-the-most-bright-soul-by-java", "sub_path": "/src/main/java/ys/controller/CharacterController.java", "file_name": "CharacterController.java", "file_ext": "java", "f... | https://github.com/liuzhushaonian/ys-the-most-bright-soul-by-java | 242 | FILENAME: CharacterController.java | 0.261331 | package ys.controller;
import com.blade.ioc.annotation.Inject;
import com.blade.mvc.annotation.GetRoute;
import com.blade.mvc.annotation.JSON;
import com.blade.mvc.annotation.Param;
import com.blade.mvc.annotation.Path;
import com.blade.mvc.http.Request;
import ys.jdbc.Database;
import ys.jdbc.inter.Character;
impor... |
9192d2b6-ca20-4eff-89c7-bc6613c2b312 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 12:27:48", "repo_name": "AntonKurbet/GeekBrains.Market", "sub_path": "/src/main/java/ru/geekbrains/spring/market/model/entities/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_... | https://github.com/AntonKurbet/GeekBrains.Market | 205 | FILENAME: Product.java | 0.290176 | package ru.geekbrains.spring.market.model.entities;
import lombok.*;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import javax.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@Entity
@Table(name = "product")
@NoArgsConstructor... |
2d734d52-86f0-485f-97ad-2efa5c691b0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-14T20:02:46", "repo_name": "jacob-earle/stm32f4discovery-blinker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1225, "line_count": 42, "lang": "en", "doc_type... | https://github.com/jacob-earle/stm32f4discovery-blinker | 337 | FILENAME: README.md | 0.252384 | # `stm32f4discovery-blinker`
This project contains example code on how to configure GPIO pins on the STM32F4DISCOVERY board in Rust. In this example, the orange LED labeled LD3 will blink on and off at 1 second intervals.
## Building and Running
Follow the instructions in the [Rust Embedded Book](https://docs.rust-em... |
df198787-804d-4809-ad62-4455c590ff1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 14:45:35", "repo_name": "tiger2015/bigdata-projects", "sub_path": "/hadoop-mapred/src/main/java/com/tiger/hadoop/wordcount/WordCountMapper.java", "file_name": "WordCountMapper.java", "file_ext": "java", "fi... | https://github.com/tiger2015/bigdata-projects | 248 | FILENAME: WordCountMapper.java | 0.286968 | package com.tiger.hadoop.wordcount;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
/**
* @Author Zenghu
* @Date 2021/2/17 23:48
* @Description
* @Version: 1.0
**/
public c... |
035be7b0-6d59-4aa8-a90a-3a3cd8b5bf14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-03-20 20:32:37", "repo_name": "nkemler/Art-at-GVSU-Android-edition", "sub_path": "/src/edu/gvsu/cis/bardslej/artAtGVSU/ParseXML.java", "file_name": "ParseXML.java", "file_ext": "java", "file_size_in_byte": 1128, ... | https://github.com/nkemler/Art-at-GVSU-Android-edition | 252 | FILENAME: ParseXML.java | 0.249447 | package edu.gvsu.cis.bardslej.artAtGVSU;
import java.io.*;
import java.net.*;
import org.w3c.dom.Document;
public class ParseXML {
public static void main(String[] args) throws Exception {
URL yahoo = new URL("http://www.yahoo.com/");
URLConnection yc = yahoo.openConnection();
BufferedReader in =... |
0a2221ac-4280-421e-a280-81f4093602da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-27 07:20:23", "repo_name": "CalmerZhang/concurrentTest", "sub_path": "/src/main/java/concurrent/test/SyncContainer.java", "file_name": "SyncContainer.java", "file_ext": "java", "file_size_in_byte": 1015, "line... | https://github.com/CalmerZhang/concurrentTest | 220 | FILENAME: SyncContainer.java | 0.229535 | package concurrent.test;
import java.util.ArrayDeque;
import java.util.LinkedList;
/**
* @author 张卓
* @Description
* @Date 创建于 2020/6/8 19:35
*/
public class SyncContainer {
private final int CAPACITY = 16;
private int count = 0;
private ArrayDeque<String> list = new ArrayDeque(CAPACITY);
priva... |
2df4fb00-076d-4a90-ab16-3848e7ec29cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 20:09:44", "repo_name": "gilbertopsantosjr/br.com.cadmea", "sub_path": "/framework/br.com.cadmea.share/src/main/java/br/com/cadmea/model/orm/SocialNetwork.java", "file_name": "SocialNetwork.java", "file_ext... | https://github.com/gilbertopsantosjr/br.com.cadmea | 271 | FILENAME: SocialNetwork.java | 0.245085 | package br.com.cadmea.model.orm;
import br.com.cadmea.model.BaseEntityPersistent;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
/**
* @author Gilberto Santos
*/
@Entity
@Data
@Table(name = "social_network")
@AttributeOverrides(@Attribu... |
a2cf7f9d-56f0-4827-b43d-7c978ba72421 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-06 07:55:36", "repo_name": "wond-z/Java-Practice", "sub_path": "/helloworld/src/com/chend/hPoker/People.java", "file_name": "People.java", "file_ext": "java", "file_size_in_byte": 1226, "line_count": 55, "lang... | https://github.com/wond-z/Java-Practice | 272 | FILENAME: People.java | 0.292595 | package com.chend.hPoker;
import java.util.ArrayList;
import java.util.List;
public class People{
private Integer id;
private String name;
public List<Poker> pokers;
public People (Integer id, String name) {
super();
this.id = id;
this.name = name;
this.pokers = new Ar... |
6e63e922-25ec-440b-8642-2594d482ac7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-13 03:10:41", "repo_name": "WoSai/proxy-server", "sub_path": "/proxy-auto-api/src/main/java/com/wosai/upay/proxy/auto/model/ClientOrderTerminal.java", "file_name": "ClientOrderTerminal.java", "file_ext": "java... | https://github.com/WoSai/proxy-server | 264 | FILENAME: ClientOrderTerminal.java | 0.261331 | package com.wosai.upay.proxy.auto.model;
public enum ClientOrderTerminal {
ID("id"),
DEVICE_ID("device_id",null),
CLIENT_SN("client_sn"),
SN("sn",null),
DEVICE_FINGERPRINT("device_fingerprint"),
NAME("name"),
TYPE("type"),
SDK_VERSION("sdk_version"),
OS_VERSION("os_version"),
LONGITUDE("longitude"),... |
01d090ba-f316-40b6-bde0-dd3b080371b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-06 13:13:46", "repo_name": "Mengzilong/yue", "sub_path": "/conmmon/src/main/java/com/zl/entity/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 1099, "line_count": 61, "lang": "... | https://github.com/Mengzilong/yue | 258 | FILENAME: Login.java | 0.200558 | package com.zl.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
* <p>
*
* </p>
*
* @author Kobe
* @since 2020-12-30
*/
public class Login implements Serializab... |
3185d36f-bbe1-47d5-82d5-a65b1bdb27b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-22 14:09:25", "repo_name": "amplia-iiot/oda", "sub_path": "/oda-comms/mqtt/src/main/java/es/amplia/oda/comms/mqtt/Activator.java", "file_name": "Activator.java", "file_ext": "java", "file_size_in_byte": 1130, ... | https://github.com/amplia-iiot/oda | 234 | FILENAME: Activator.java | 0.236516 | package es.amplia.oda.comms.mqtt;
import es.amplia.oda.comms.mqtt.api.MqttClientFactory;
import es.amplia.oda.comms.mqtt.paho.MqttPahoClientFactory;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceRegistration;
import org.slf4j.Logger;
import org.sl... |
ded167a4-0feb-4bc8-b708-4bb9690568dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-15 09:05:04", "repo_name": "AlekseyMikaelyan/Car-factory", "sub_path": "/cars-data/src/main/java/org/example/carfactory/data/service/impl/CarServiceImpl.java", "file_name": "CarServiceImpl.java", "file_ext": "... | https://github.com/AlekseyMikaelyan/Car-factory | 248 | FILENAME: CarServiceImpl.java | 0.289372 | package org.example.carfactory.data.service.impl;
import org.example.carfactory.data.entity.Car;
import org.example.carfactory.data.repository.CarRepository;
import org.example.carfactory.data.repository.impl.CarRepositoryImpl;
import org.example.carfactory.data.service.CarService;
import java.util.List;
public clas... |
eeaa1daa-7948-476d-8cc9-c51ba394a1fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 10:20:42", "repo_name": "larosamf/algo3-tp2", "sub_path": "/src/main/java/grupo/N6/algochess/interfaz/UnidadVista.java", "file_name": "UnidadVista.java", "file_ext": "java", "file_size_in_byte": 1130, "line... | https://github.com/larosamf/algo3-tp2 | 276 | FILENAME: UnidadVista.java | 0.295027 | package grupo.N6.algochess.interfaz;
import java.util.ArrayList;
import java.util.List;
import javafx.geometry.Pos;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.StackPane;
public class UnidadVista extends StackPane {
public double mouseX, mouseY;
public in... |
38676577-ecbc-4de4-b28d-02b8d28474d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-12 09:34:10", "repo_name": "shen0512/CanvasPainter", "sub_path": "/app/src/main/java/com/example/user/canvaspainter/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/shen0512/CanvasPainter | 192 | FILENAME: MainActivity.java | 0.240775 | package com.example.user.canvaspainter;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends AppCompatActivity {
Panel mPanel;
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
360479d0-3f68-4c8e-8351-3fbdc80138a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-02 11:41:07", "repo_name": "dreamingdreaming/spring--learning", "sub_path": "/spring-day06/src/main/java/com/ren/li/springmabatis/pojo/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_by... | https://github.com/dreamingdreaming/spring--learning | 273 | FILENAME: User.java | 0.228156 | package com.ren.li.springmabatis.pojo;
public class User {
private Integer id;
private String uName;
private String password;
private Integer age;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getuName() {
... |
57eb05c8-1da7-4a2f-8d4b-840bbfd343fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-11 21:09:49", "repo_name": "locurasoft/ctrlr-utils", "sub_path": "/src/main/java/com/locurasoft/utils/ProcessUtils.java", "file_name": "ProcessUtils.java", "file_ext": "java", "file_size_in_byte": 1212, "line_... | https://github.com/locurasoft/ctrlr-utils | 225 | FILENAME: ProcessUtils.java | 0.282196 | package com.locurasoft.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
public final class ProcessUtils {
private ProcessUtils() {
}
public static boolean execProcess(String[] cmd) throws In... |
bf87a924-a243-4df4-b8c0-330d1c28e3dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-23 16:02:02", "repo_name": "NikitchenkoE/FinalProjectSpring", "sub_path": "/src/main/java/com/example/finalprojectspring/securityConfiguration/UserPrincipalsDetailsService.java", "file_name": "UserPrincipalsDe... | https://github.com/NikitchenkoE/FinalProjectSpring | 172 | FILENAME: UserPrincipalsDetailsService.java | 0.23793 | package com.example.finalprojectspring.securityConfiguration;
import com.example.finalprojectspring.entities.UserEntity;
import com.example.finalprojectspring.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
impo... |
01d0a6b4-da94-4040-ac57-ebe8d68da3cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-08 19:35:02", "repo_name": "dusanradojcic00/IT355-pz", "sub_path": "/src/main/java/com/met/it355pz/model/Reservation.java", "file_name": "Reservation.java", "file_ext": "java", "file_size_in_byte": 1227, "line... | https://github.com/dusanradojcic00/IT355-pz | 257 | FILENAME: Reservation.java | 0.272025 | package com.met.it355pz.model;
import com.fasterxml.jackson.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.time.LocalDate;
import java.util.Date;
@Data
@NoArgsConstructor
@Entity
@JsonIdentityInfo(
generator = ObjectIdGenerators.PropertyGenerator.cl... |
d7721840-3fdd-4a99-a87b-eff7ec069993 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 04:05:33", "repo_name": "rohitj782/BookFinder", "sub_path": "/app/src/main/java/rohitrj/com/bookfinder/Services/ServiceBuilder.java", "file_name": "ServiceBuilder.java", "file_ext": "java", "file_size_in_by... | https://github.com/rohitj782/BookFinder | 184 | FILENAME: ServiceBuilder.java | 0.246533 | package rohitrj.com.bookfinder.Services;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ServiceBuilder {
//the server URL
static final String URL =... |
f9f5af22-e968-43ab-9c48-1b7fedca30d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-26 01:14:05", "repo_name": "tuegum/Servlet", "sub_path": "/src/tuegum/web/servlet/response/ResponseDemo1.java", "file_name": "ResponseDemo1.java", "file_ext": "java", "file_size_in_byte": 1343, "line_count": 3... | https://github.com/tuegum/Servlet | 247 | FILENAME: ResponseDemo1.java | 0.271252 | package tuegum.web.servlet.response;
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 java.io.IOException;
/**
* 重定向
*/
@WebServlet("/response... |
cac379cb-3b15-4ebb-a3cb-1296773147d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-09 10:55:45", "repo_name": "Smile-Chen/TabLayout-Recycler-ViewPage", "sub_path": "/app/src/main/java/co/example/hp/chenjia20180709/mvp/view/adapter/MyAdapter.java", "file_name": "MyAdapter.java", "file_ext": "... | https://github.com/Smile-Chen/TabLayout-Recycler-ViewPage | 226 | FILENAME: MyAdapter.java | 0.26588 | package co.example.hp.chenjia20180709.mvp.view.adapter;
import android.media.Image;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import java.util.List;
/**
* Created by hp on 2018/7/9.
*/
public class MyAdapter extends Pager... |
0617f15e-c9a6-4089-90c3-d7d64c399396 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-07 09:12:48", "repo_name": "huao1990/KomaVideo", "sub_path": "/app/src/main/java/com/koma/video/data/source/remote/VideosRemoteDataSource.java", "file_name": "VideosRemoteDataSource.java", "file_ext": "java", ... | https://github.com/huao1990/KomaVideo | 237 | FILENAME: VideosRemoteDataSource.java | 0.262842 | /*
* Copyright 2017 Koma
*
* 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 wri... |
941d373e-218e-42f1-8c8b-543f2b23ad2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-21 21:13:14", "repo_name": "inzimam/Clean-Architecture-Android", "sub_path": "/app/src/main/java/com/example/jhordan/euro_cleanarchitecture/domain/usecase/GetTeamUseCase.java", "file_name": "GetTeamUseCase.jav... | https://github.com/inzimam/Clean-Architecture-Android | 262 | FILENAME: GetTeamUseCase.java | 0.286968 | /*
* Copyright (C) 2016 Erik Jhordan Rey.
*
* 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 agre... |
df405744-e4bf-4ea2-90ff-5d019d09d1c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-11 11:16:17", "repo_name": "EkaterinaBurshtyn/Pharmacy", "sub_path": "/src/main/java/org/burshtyn/pharmacy/mapper/SoldDtoMapper.java", "file_name": "SoldDtoMapper.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/EkaterinaBurshtyn/Pharmacy | 214 | FILENAME: SoldDtoMapper.java | 0.286169 | package org.burshtyn.pharmacy.mapper;
import org.burshtyn.pharmacy.dto.sold.SoldDto;
import org.burshtyn.pharmacy.entity.Sold;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class SoldDtoMapper implements BaseDtoMapper<SoldDto, Sold> {
... |
16eade45-dd02-46e0-a8b0-c1e07840d68f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-28 02:13:02", "repo_name": "xchenum/TwilioOSMan", "sub_path": "/src/main/java/com/att/research/openstack/VoiceCommandServlet.java", "file_name": "VoiceCommandServlet.java", "file_ext": "java", "file_size_in_by... | https://github.com/xchenum/TwilioOSMan | 190 | FILENAME: VoiceCommandServlet.java | 0.239349 | package com.att.research.openstack;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.FileWriter... |
e87e1b0a-bba2-45f3-b6db-fe61c66e1acb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-07 15:22:15", "repo_name": "maayanpolitzer/Android2017May", "sub_path": "/android/lesson7-11.9.17/ListView/app/src/main/java/com/example/hackeru/listview/Contact.java", "file_name": "Contact.java", "file_ext":... | https://github.com/maayanpolitzer/Android2017May | 225 | FILENAME: Contact.java | 0.233706 | package com.example.hackeru.listview;
import android.support.annotation.ColorRes;
import android.support.annotation.DrawableRes;
import java.io.Serializable;
/**
* Created by hackeru on 9/11/2017.
*/
public class Contact implements Serializable {
private String name;
private String phone;... |
4683ec5f-6f29-4a37-8c9a-8bf50d11f36a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-15 14:41:24", "repo_name": "abacsrob/restdemo", "sub_path": "/src/main/java/com/example/restdemo/controller/exceptionhandler/CustomerExceptionHandler.java", "file_name": "CustomerExceptionHandler.java", "file_... | https://github.com/abacsrob/restdemo | 178 | FILENAME: CustomerExceptionHandler.java | 0.279042 | package com.example.restdemo.controller.exceptionhandler;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import java.util.Date;
@ControllerAdv... |
b240db4c-0d4a-48eb-a863-66e2a0cef9ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-20 14:38:51", "repo_name": "idea4j/mljr", "sub_path": "/mljr/src/test/java/com/mljr/demo/mq/MQDemo.java", "file_name": "MQDemo.java", "file_ext": "java", "file_size_in_byte": 1278, "line_count": 51, "lang": "e... | https://github.com/idea4j/mljr | 282 | FILENAME: MQDemo.java | 0.221351 | package com.mljr.demo.mq;
import org.apache.activemq.command.ActiveMQQueue;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jms.core.JmsTemplate;
import java.util.concurrent.locks.Reentr... |
f0b84e39-d32d-4684-9c82-63e410b90fad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-24 14:12:15", "repo_name": "lin19950817/java-study", "sub_path": "/structs2/base2/src/main/java/base2/org/lzn/domain/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1223, "line_c... | https://github.com/lin19950817/java-study | 256 | FILENAME: User.java | 0.256832 | package base2.org.lzn.domain;
import java.io.Serializable;
import java.util.Date;
/**
* 数据模型
*
* @author LinZhenNan lin_hehe@qq.com 2020/04/07 20:46
*/
public class User implements Serializable {
private String username;
private int age;
private Date birthday;
//
// setter/getter、toString
... |
d67f1b26-09f8-4de6-a36b-366c7ab58e10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-10 10:23:38", "repo_name": "Shivani-N-Shivakumar/TY_CG_HTD_Bangalore-November_JFS_ShivaniNS-", "sub_path": "/BackEnd/Hibernate/jpawithhibernate/src/main/java/com/capgemini/jpawithhibernate/onetoone/EmployeeInf... | https://github.com/Shivani-N-Shivakumar/TY_CG_HTD_Bangalore-November_JFS_ShivaniNS- | 287 | FILENAME: EmployeeInfo.java | 0.253861 | package com.capgemini.jpawithhibernate.onetoone;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import com.capgemini.jpawithhiber... |
9f4931bf-7456-4a58-b0ef-b5e72dd212fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-30 22:01:05", "repo_name": "smccauliff/sync-async-example", "sub_path": "/src/main/java/com/example/kafka/httpproxy/EmbeddedJetty.java", "file_name": "EmbeddedJetty.java", "file_ext": "java", "file_size_in_byt... | https://github.com/smccauliff/sync-async-example | 210 | FILENAME: EmbeddedJetty.java | 0.216012 | package com.example.kafka.httpproxy;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;
public class EmbeddedJetty {
private Server... |
e9f8308b-4df4-499d-82d7-d36c42c2392f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-25 14:51:40", "repo_name": "raojin/SMG", "sub_path": "/Dsoa/src/dsoap/tools/mail/MailSender.java", "file_name": "MailSender.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 28, "lang": "en", ... | https://github.com/raojin/SMG | 175 | FILENAME: MailSender.java | 0.249447 | package dsoap.tools.mail;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
public class MailSender {
static ThreadPoolTaskExecutor taskExecutor;
static {
taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setMaxPoolSize(2);
taskExecutor.setCorePoolSize(1)... |
8a47d841-db0c-4538-9c20-f13a5f11e687 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-19 03:16:42", "repo_name": "allulong/SBook", "sub_path": "/app/src/main/java/com/logn/sbook/welcome/WelcomeActivity.java", "file_name": "WelcomeActivity.java", "file_ext": "java", "file_size_in_byte": 1130, "l... | https://github.com/allulong/SBook | 223 | FILENAME: WelcomeActivity.java | 0.220007 | package com.logn.sbook.welcome;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.widget.ImageView;
//import com.logn.sbook.MainActivity;
import com.logn.sbook.R;
import com.logn.sbook.ui.GuideActivity;
i... |
25411b71-5301-4be3-bace-82271cca414f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 20:19:19", "repo_name": "adarshkumarsingh83/hibernate", "sub_path": "/APPLICATION/PropertyFileForHibernateConfiguration/src/main/java/com/adarsh/factory/SessionFactoryUtil.java", "file_name": "SessionFactor... | https://github.com/adarshkumarsingh83/hibernate | 208 | FILENAME: SessionFactoryUtil.java | 0.276691 | package com.adarsh.factory;
import lombok.extern.slf4j.Slf4j;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import java.io.FileInputStream;
import java.util.Properties;
@Slf4j
public class SessionFactoryUtil {
static SessionFactory sessionFactory;
... |
076cfdac-0c7c-4359-8ccf-63d01d1aa3c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-16 01:47:16", "repo_name": "superMelo/open-tracing", "sub_path": "/src/main/java/com/qyf/opentracing/es/EsClient.java", "file_name": "EsClient.java", "file_ext": "java", "file_size_in_byte": 1130, "line_count"... | https://github.com/superMelo/open-tracing | 217 | FILENAME: EsClient.java | 0.243642 | package com.qyf.opentracing.es;
import com.alibaba.fastjson.JSON;
import org.apache.http.HttpHost;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearc... |
d346d236-bbe6-49d3-a045-f231a0b3f3ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-21 06:44:11", "repo_name": "qqj19891210/scw", "sub_path": "/scw-manager/manager-pojo/src/main/java/com/smart/scw/manager/bean/TRole.java", "file_name": "TRole.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/qqj19891210/scw | 228 | FILENAME: TRole.java | 0.243642 | package com.smart.scw.manager.bean;
import java.io.Serializable;
import java.util.Objects;
public class TRole implements Serializable {
private Integer id;
private String name;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public... |
468424d1-a843-4f6c-abd3-bb91bd2aa626 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 01:56:09", "repo_name": "ZongweiBai/springboot-basic", "sub_path": "/springboot-basic-store/src/main/java/com/baymin/springboot/store/entity/Feedback.java", "file_name": "Feedback.java", "file_ext": "java",... | https://github.com/ZongweiBai/springboot-basic | 265 | FILENAME: Feedback.java | 0.240775 | package com.baymin.springboot.store.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Seria... |
117fae30-9d7a-4926-add5-37a9ba4df763 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-22 12:31:54", "repo_name": "WangLingYu/WangYiYunMusicIndex", "sub_path": "/app/src/main/java/com/example/wang/yunmusic/MainFragmentPagerAdapter.java", "file_name": "MainFragmentPagerAdapter.java", "file_ext": ... | https://github.com/WangLingYu/WangYiYunMusicIndex | 205 | FILENAME: MainFragmentPagerAdapter.java | 0.252384 | package com.example.wang.yunmusic;
import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import java.util.List;
/**
* Created by wang on 16/9/22.
*/
public class MainFragmentPagerAdapter extends Fr... |
cd50c0df-9819-45a6-8147-1d8b5e1b38ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-11 16:08:20", "repo_name": "celine-villain/JavaTrainings", "sub_path": "/Generics/src/academy/learnprogramming/League.java", "file_name": "League.java", "file_ext": "java", "file_size_in_byte": 991, "line_coun... | https://github.com/celine-villain/JavaTrainings | 209 | FILENAME: League.java | 0.272799 | package academy.learnprogramming;
import java.util.ArrayList;
import java.util.Collections;
public class League<T extends Team> {
private String name;
private ArrayList<T> league = new ArrayList<T>();
//constructor
public League(String name) {
this.name = name;
}
public boolean addT... |
99305329-5577-46b3-8d64-9b24603a04cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-10 06:20:22", "repo_name": "bkhk06/Java", "sub_path": "/mongodb_test/src/main/java/cn/adcc/mongodb_test/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1124, "line_count": ... | https://github.com/bkhk06/Java | 251 | FILENAME: Student.java | 0.259826 | package cn.adcc.mongodb_test;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import java.io.Serializable;
import java.util.Date;
/**
* @author LD
* @version 1.0
* @date 2022/3/10 13:35
*/
... |
67c529f6-5492-4c23-9104-cf990537986b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-24 11:12:44", "repo_name": "Swinger-w/cz", "sub_path": "/common/src/main/java/com/zhjl/tech/common/zjlsign/request/GenRequestSignStr.java", "file_name": "GenRequestSignStr.java", "file_ext": "java", "file_size... | https://github.com/Swinger-w/cz | 273 | FILENAME: GenRequestSignStr.java | 0.290981 | package com.zhjl.tech.common.zjlsign.request;
import lombok.extern.slf4j.Slf4j;
import java.util.*;
@Slf4j
public class GenRequestSignStr {
/**
* 上传文件所需请求签名参数 checked
* @param accessKey 渠道accessKey
* @param random 随机数
* @param ordersn 订单号
* @param fileToken 文件上传标识
... |
bae8e083-3493-42eb-b2b6-bf5080a528db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-29 14:26:01", "repo_name": "mulesoft/mule-migration-assistant", "sub_path": "/mule-migration-tool-library/src/main/java/com/mulesoft/tools/migration/library/gateway/steps/policy/http/ErrorResponseBuilderMigrat... | https://github.com/mulesoft/mule-migration-assistant | 234 | FILENAME: ErrorResponseBuilderMigrationStep.java | 0.281406 | /*
* Copyright (c) 2020, Mulesoft, LLC. All rights reserved.
* Use of this source code is governed by a BSD 3-Clause License
* license that can be found in the LICENSE.txt file.
*/
package com.mulesoft.tools.migration.library.gateway.steps.policy.http;
import static com.mulesoft.tools.migration.library.gateway.ste... |
c4a8e37d-4f49-4cd0-b4a7-2316579b29d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 12:44:01", "repo_name": "Sohanur-Rahman642/ZSSBD-Second-Phase-Test-Code", "sub_path": "/ZS/app/src/main/java/com/example/zs/ui/NextAcitivity.java", "file_name": "NextAcitivity.java", "file_ext": "java", "fi... | https://github.com/Sohanur-Rahman642/ZSSBD-Second-Phase-Test-Code | 224 | FILENAME: NextAcitivity.java | 0.258326 | package com.example.zs.ui;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.example.zs.R;
import com.example.zs.service.model.Event;
import com.example.zs.service.repository.EventService;
import java.util.List;
import retrofit2.Call;
import retrofit... |
d3c43dc2-b6ce-438e-8dc8-e8f97bed6ac7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-21T13:55:37", "repo_name": "klejeune/Earley", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 27, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/klejeune/Earley | 272 | FILENAME: README.md | 0.277473 | # Earley parser
A C# implementation of an Earley parser working on Tree-adjoining grammars (working on natural languages)
# NLP
The Natural Language examples must use a Part-of-Speech Tagger.
## Stanford POS Tagger
Download the Stanford POS Tagger at http://nlp.stanford.edu/software/tagger.html#Download
Make sure i... |
886ca157-3dd2-406a-963d-4e4a2794eda3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-23T15:13:18", "repo_name": "fakeharxy/Tech_test", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 23, "lang": "en", "doc_type": "text", "blob_... | https://github.com/fakeharxy/Tech_test | 281 | FILENAME: README.md | 0.221351 | Hey Chaps, hope you having a good day!
So here is the result from my test coding application to create an product that consumes a video api for searching movies and getting movie information.
The time was a little on the short side so I didn't achieve as much as I would like.
Things left todo:
#1 Unit tests, norma... |
23d18edf-8dc4-4fe6-bd09-d6e397701874 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-27 00:30:32", "repo_name": "ndefilippis/APCS-BlockMario", "sub_path": "/entities/Entity.java", "file_name": "Entity.java", "file_ext": "java", "file_size_in_byte": 995, "line_count": 65, "lang": "en", "doc_typ... | https://github.com/ndefilippis/APCS-BlockMario | 260 | FILENAME: Entity.java | 0.278257 | package entities;
import game.Direction;
import java.awt.Graphics;
import java.awt.geom.Rectangle2D;
public abstract class Entity{
protected int x, y, width, height;
protected boolean passThrough;
protected int serialNum;
public Entity(int x, int y, int width, int height) {
this.x = x;
this.y = y;
this.he... |
d4ea1024-b660-4858-ae7b-c5ec0b7d257b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-14 22:18:13", "repo_name": "vovkalexander/job4j_dreamjob", "sub_path": "/src/main/java/ru/job4j/dream/model/StoreStub.java", "file_name": "StoreStub.java", "file_ext": "java", "file_size_in_byte": 1213, "line_... | https://github.com/vovkalexander/job4j_dreamjob | 272 | FILENAME: StoreStub.java | 0.282988 | package ru.job4j.dream.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public class StoreStub implements Store {
private final Map<Integer, Post> postStore = new HashMap<>();
private int postId = 0;
@Override
public Collection<Post> findA... |
40404ddf-c71a-4de8-8962-10f61c00b2ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-03 16:36:31", "repo_name": "iLemonBr/skyminingworld", "sub_path": "/src/main/java/com/skyland/skymining/listeners/HasteListener.java", "file_name": "HasteListener.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/iLemonBr/skyminingworld | 222 | FILENAME: HasteListener.java | 0.242206 | package com.skyland.skymining.listeners;
import com.skyland.skymining.Main;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerChangedWorldEvent;
import org.bukkit.poti... |
49bdc10d-4489-4de2-93b7-5c8c687160b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-19T13:02:32", "repo_name": "intchloe/swehack", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1019, "line_count": 19, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/intchloe/swehack | 256 | FILENAME: README.md | 0.226784 | # swehack
swehack.org configuration and information
#### swehack security and privacy adjustments
* Hard code "127.0.0.1" as IP for all members
* No logging
* Auto remove private messages after X days
* Techniques to fight onion-rewriting
* Check if private messages are PGP-encrypted (see [check_pgp.js](https://github... |
86c9e6b9-0b42-4e83-a4d0-33ba2c196e41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-25 16:12:06", "repo_name": "CARTESLA17/deliveries", "sub_path": "/DeliveriesRoot/DeliveriesModelsLayer/src/main/java/org/com/deliveries/models/Deliveries.java", "file_name": "Deliveries.java", "file_ext": "jav... | https://github.com/CARTESLA17/deliveries | 268 | FILENAME: Deliveries.java | 0.267408 | package org.com.deliveries.models;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Deliveries implements Serializable{
private static final long serialVersionUID = -4676000037557420104L;
private List<String> deliveryPaths;
private Drone drone;
private List<String> d... |
3072242c-0105-4087-b596-b1e5d06101f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-07-05 17:56:54", "repo_name": "dharanimishra/DD-ZJPlatform", "sub_path": "/ziksana-app/zdomain/src/main/java/com/ziksana/domain/course/Duration.java", "file_name": "Duration.java", "file_ext": "java", "file_size_... | https://github.com/dharanimishra/DD-ZJPlatform | 259 | FILENAME: Duration.java | 0.261331 | package com.ziksana.domain.course;
/**
* @author bhashasp
*/
public class Duration {
public Duration(Integer duration, DurationUnits durationUnits) {
this.duration = duration;
this.durationUnits = durationUnits;
}
public Duration(Integer duration, Integer durationUnit) {
this.duration = durat... |
732819e2-8d42-4383-a988-c8c550b2cc0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-08 03:57:53", "repo_name": "jorgezhong/springcloud-learning", "sub_path": "/rabbitmq-api/src/main/java/com/jorge/rabbitmq/exchange/direct/DirectExchangeProducer.java", "file_name": "DirectExchangeProducer.java... | https://github.com/jorgezhong/springcloud-learning | 268 | FILENAME: DirectExchangeProducer.java | 0.256832 | package com.jorge.rabbitmq.exchange.direct;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
/**
* 生产者
* Created by jorgezhong on 2019/3/1 17:19.
*/
public class Direct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.