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 |
|---|---|---|---|---|---|---|
b43a18b4-fac1-4161-bcee-90203f32c03b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-08-19 08:35:31", "repo_name": "hasalex/NetworkExamples", "sub_path": "/src/org/sewatech/examples/network/tcp/EchoSimpleServer.java", "file_name": "EchoSimpleServer.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/hasalex/NetworkExamples | 218 | FILENAME: EchoSimpleServer.java | 0.243642 | package org.sewatech.examples.network.tcp;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import org.sewatech.examples.network.Server;
/**
* @author alexis
*/
public class EchoSimpleServer implements Server {
private static final int BUFFER_SiZE =... |
6480fab2-5828-4fbc-a9e3-d167cae2dce0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 14:38:24", "repo_name": "yovanoty126/JHARCOSOFT_BLOG", "sub_path": "/EjemploLazyDataModel/src/main/java/com/jhovanyardila/bean/TablaConLazyDataModelBean.java", "file_name": "TablaConLazyDataModelBean.java",... | https://github.com/yovanoty126/JHARCOSOFT_BLOG | 260 | FILENAME: TablaConLazyDataModelBean.java | 0.272025 | /*
* 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 com.jhovanyardila.bean;
import com.jhovanyardila.datamodel.DataModelTablaUno;
import java.io.Serializable;
import javax.annota... |
3d293f95-33cd-40c0-802a-badcc45ef1c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-27 03:38:33", "repo_name": "JustMr/xd-dubbo", "sub_path": "/xd-common/xd-utility/src/main/java/com/xingdong/util/common/PropertyUtil.java", "file_name": "PropertyUtil.java", "file_ext": "java", "file_size_in_b... | https://github.com/JustMr/xd-dubbo | 203 | FILENAME: PropertyUtil.java | 0.218669 | package com.xingdong.util.common;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* 配置文件加载
* Created by liushuangbo on 2018/8/17.
*/
public class PropertyUtil {
//加载property文件到io流里面
private static Properties loadProperties(String propertyFile) {
Properties ... |
f603475b-5419-4317-a1e9-eed6db82325e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-25T17:37:07", "repo_name": "SebastianOsinski/Maps", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1052, "line_count": 15, "lang": "en", "doc_type": "text", "blo... | https://github.com/SebastianOsinski/Maps | 243 | FILENAME: README.md | 0.29584 | # Maps
This is a sample project comparing MapKit and GoogleMaps SDK. It implements (almost) same functionalities in both frameworks.
## Features
* Displaying map
* Dark mode support (out of the box for MapKit, custom one for GoogleMaps - simple subclass of `GMSMapView` which reacts to `UITraitCollection` changes by ... |
1ccd5f7c-90bc-4c69-95c6-26c53c2617df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 13:44:38", "repo_name": "Masoume/CoordinateBoat", "sub_path": "/sami-crw/src/crw/event/output/proxy/ProxyExploreArea.java", "file_name": "ProxyExploreArea.java", "file_ext": "java", "file_size_in_byte": 111... | https://github.com/Masoume/CoordinateBoat | 246 | FILENAME: ProxyExploreArea.java | 0.288569 | package crw.event.output.proxy;
import java.util.ArrayList;
import java.util.HashMap;
import sami.event.OutputEvent;
import sami.area.Area2D;
import java.util.UUID;
public class ProxyExploreArea extends OutputEvent {
// List of fields for which a definition should be provided
public static final ArrayList<St... |
4cd663aa-ff2f-46cb-999f-5e68ef2be71d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-22 13:49:30", "repo_name": "EmotiVoice/emotivoice_server", "sub_path": "/src/main/java/org/emotivoice/server/AuthenticationInterceptor.java", "file_name": "AuthenticationInterceptor.java", "file_ext": "java", ... | https://github.com/EmotiVoice/emotivoice_server | 174 | FILENAME: AuthenticationInterceptor.java | 0.242206 | package org.emotivoice.server;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.emotivoice.server.service.AuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframe... |
ae14b572-1f85-448d-9263-8dff14b04e4a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-06 18:36:31", "repo_name": "hampusadamsson/mongoDBexample", "sub_path": "/src/main/java/People.java", "file_name": "People.java", "file_ext": "java", "file_size_in_byte": 1149, "line_count": 54, "lang": "en", ... | https://github.com/hampusadamsson/mongoDBexample | 238 | FILENAME: People.java | 0.26588 | import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class People implements Serializable{
private String name;
private String lastName;
private List<People> relatives;
public People() {
}
public People(String name, String lastName) {
this.name = name... |
99ac4c32-5201-40af-9d00-11e24d314884 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-01 08:23:25", "repo_name": "LiJinHongPassion/springboot", "sub_path": "/springboot_rabbitmq_client_demo/src/main/java/com/example/li/springboot_rabbitmq_client_demo/constants/RabbitConsts.java", "file_name": "... | https://github.com/LiJinHongPassion/springboot | 359 | FILENAME: RabbitConsts.java | 0.233706 | package com.example.li.springboot_rabbitmq_client_demo.constants;
/**
* <p>
* RabbitMQ常量池
* </p>
*
* @package: com.xkcoding.mq.rabbitmq.constants
* @description: RabbitMQ常量池
* @author: LJH
* @date: Created in 2018-12-29 17:08
* @copyright: Copyright (c) 2018
* @version: V1.0
* @modified: LJH
*/
public inte... |
fa2140ce-7ff1-4e06-a63c-ccda0d597c0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-10 15:53:50", "repo_name": "minhdien1710/my_project", "sub_path": "/src/main/java/com/codegym/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 39, "lang"... | https://github.com/minhdien1710/my_project | 229 | FILENAME: User.java | 0.278257 | package com.codegym.model;
import lombok.Data;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "users",uniqueConstraints = {
@UniqueConstraint(columnNames = "username")
})
@Data
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTIT... |
27808673-f58c-4370-9a02-cd7d2027bd45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14 15:37:11", "repo_name": "techroof/Jiowhere", "sub_path": "/app/src/main/java/com/jiowhere/StartActivity.java", "file_name": "StartActivity.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count":... | https://github.com/techroof/Jiowhere | 184 | FILENAME: StartActivity.java | 0.221351 | package com.jiowhere;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class StartActivity extends AppCompatActivity {
private Button loginBtn,registerBtn;
@Override
protected void o... |
b2ea9fe5-acc9-46cb-b3c0-f8d43f1fb130 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-20 01:24:51", "repo_name": "AsTheStarsFall/MultiThread", "sub_path": "/src/main/java/com/tianhy/doit/threadlocal/InitValueInThreadLocal.java", "file_name": "InitValueInThreadLocal.java", "file_ext": "java", "f... | https://github.com/AsTheStarsFall/MultiThread | 273 | FILENAME: InitValueInThreadLocal.java | 0.267408 | package com.tianhy.doit.threadlocal;
import java.util.concurrent.TimeUnit;
/**
* @Author: thy
* @Date: 2020/2/27 18:14
* @Desc: ThreadLocal不能解决共享变量更新的问题
*/
public class InitValueInThreadLocal {
private static final StringBuilder INIT_VALUE = new StringBuilder("init");
//ThreadLocal初始化,返回StringBuilder的引用
... |
55816010-df59-485f-9b33-286f72001abf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-26 15:49:27", "repo_name": "robson-alecio/3ads2017-encoding", "sub_path": "/src/main/java/enconding/RunWithFiles.java", "file_name": "RunWithFiles.java", "file_ext": "java", "file_size_in_byte": 1029, "line_co... | https://github.com/robson-alecio/3ads2017-encoding | 221 | FILENAME: RunWithFiles.java | 0.277473 | package enconding;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
public class RunWithFiles {
public static void mai... |
c7f2581a-31f0-4fba-adaa-68169f3567c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-17 08:27:09", "repo_name": "ozcoco/AndroidNavigationDemo", "sub_path": "/app/src/main/java/org/oz/test/ui/bt/BluetoothFragment.java", "file_name": "BluetoothFragment.java", "file_ext": "java", "file_size_in_by... | https://github.com/ozcoco/AndroidNavigationDemo | 195 | FILENAME: BluetoothFragment.java | 0.23793 | package org.oz.test.ui.bt;
import android.os.Bundle;
import android.view.View;
import org.oz.test.base.ControllerNavBindingFragment;
import org.oz.test.databinding.BluetoothFragmentBinding;
import androidx.annotation.Nullable;
import androidx.lifecycle.ViewModelProviders;
public class BluetoothFragment extends Cont... |
8c9222db-bf70-4e1f-ae42-9b0c47c3e0d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-28 12:02:36", "repo_name": "yuanlin-csdn/myPro", "sub_path": "/src/cn/nj/net/UrlTest02.java", "file_name": "UrlTest02.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": 47, "lang": "en", "doc_... | https://github.com/yuanlin-csdn/myPro | 230 | FILENAME: UrlTest02.java | 0.252384 | package cn.nj.net;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
/**
* 模拟网络爬虫
* @author edz
*/
public class UrlTest02 {
public static void main(String[] args) throws IOException {
//获取URL(如果访问没有被禁止)
URL url=new URL("Https://www.jd.com");
//下载资源
In... |
928c2771-24b3-40bd-a755-d4147b78c1a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-07 11:25:24", "repo_name": "shailender-arya-del/playTest", "sub_path": "/app/com/delhivery/cache/ECMemCache.java", "file_name": "ECMemCache.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count": 3... | https://github.com/shailender-arya-del/playTest | 236 | FILENAME: ECMemCache.java | 0.267408 | package com.delhivery.cache;
import java.io.IOException;
import java.net.InetSocketAddress;
import com.google.inject.Singleton;
import net.spy.memcached.MemcachedClient;
@Singleton
public class ECMemCache {
private static final String CONFIG_ENDPOINT = "serviceabilitypoc.kooykx.cfg.apse1.cache.amazonaws.com";
p... |
6a52112e-34c5-4387-a3c3-b24f6a2d0986 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 02:50:48", "repo_name": "freepizzas/diary", "sub_path": "/src/main/java/hr/unipu/diary/backend/entity/MoodEntry.java", "file_name": "MoodEntry.java", "file_ext": "java", "file_size_in_byte": 1128, "line_cou... | https://github.com/freepizzas/diary | 238 | FILENAME: MoodEntry.java | 0.239349 | package hr.unipu.diary.backend.entity;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalTime;
@Entity
public class MoodEntry extends AbstractEntity {
@NotNull
private String user;
@NotNull
private int rating;
@NotNull
... |
cec18641-2d88-4b27-939d-d5443e24f885 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-24 22:13:45", "repo_name": "AetheriaMC/Aetheria-Core-ARCHIVE", "sub_path": "/src/main/java/net/badbird5907/aetheriacore/spigot/commands/impl/utils/invis.java", "file_name": "invis.java", "file_ext": "java", "f... | https://github.com/AetheriaMC/Aetheria-Core-ARCHIVE | 248 | FILENAME: invis.java | 0.240775 | package net.badbird5907.aetheriacore.spigot.commands.impl.utils;
import net.badbird5907.aetheriacore.spigot.manager.permissionManager;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
imp... |
70143608-5f81-4d04-8049-a47cf86bf6e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-03 00:56:09", "repo_name": "yanglutong/location", "sub_path": "/app/src/main/java/com/sm/android/locations/location/Receiver/ConnectionChangeReceiver.java", "file_name": "ConnectionChangeReceiver.java", "file_... | https://github.com/yanglutong/location | 217 | FILENAME: ConnectionChangeReceiver.java | 0.23092 | package com.sm.android.locations.location.Receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class ConnectionChangeReceiver extends BroadcastReceiver {
@Override
publ... |
4fc439dd-bfe3-4980-9ec1-dc0674dd4c36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-09 09:51:35", "repo_name": "basumatarau/trainingJavaCore", "sub_path": "/src/com/codeHeap/threads/atomicity/SerialNumberChecker.java", "file_name": "SerialNumberChecker.java", "file_ext": "java", "file_size_in... | https://github.com/basumatarau/trainingJavaCore | 192 | FILENAME: SerialNumberChecker.java | 0.262842 | package com.codeHeap.threads.atomicity;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class SerialNumberChecker {
private static final int SIZE = 10;
private static CircularSet serials = new CircularSet(1000);
private static ExecutorService executor = Executo... |
091ea6fe-5070-434c-972f-33715d6719a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-18 05:24:18", "repo_name": "kmhasan-class/spring2017java", "sub_path": "/GradePrediction/src/main/java/bd/ac/seu/gradeprediction/ConnectionSingleton.java", "file_name": "ConnectionSingleton.java", "file_ext": ... | https://github.com/kmhasan-class/spring2017java | 247 | FILENAME: ConnectionSingleton.java | 0.282988 | /*
* 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 bd.ac.seu.gradeprediction;
import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @aut... |
b83e99b2-2cac-48c1-90e7-957c3257279e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-13 23:37:35", "repo_name": "jwbennet/hacknight", "sub_path": "/identity/api/src/main/java/organizer/identity/mo/AddressType.java", "file_name": "AddressType.java", "file_ext": "java", "file_size_in_byte": 1151... | https://github.com/jwbennet/hacknight | 235 | FILENAME: AddressType.java | 0.29584 | package organizer.identity.mo;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "addressType")
@XmlType(name = "AddressTypeType")
@XmlEnum
public enum AddressType i... |
e2e077e5-9b7a-4c07-a8ad-d5596eb54b56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-19 14:50:43", "repo_name": "antono124/SpringSecurity-Hibernate", "sub_path": "/CustomSecurityImplementation/src/main/java/com/antogeo/dao/HibernateUtil.java", "file_name": "HibernateUtil.java", "file_ext": "ja... | https://github.com/antono124/SpringSecurity-Hibernate | 178 | FILENAME: HibernateUtil.java | 0.267408 | package com.antogeo.dao;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public class HibernateUtil {
@Autowired
private SessionFactory sessi... |
504fd4ce-70f0-4920-bfdf-9a94a4459f52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 14:08:09", "repo_name": "PascalBaelen/order", "sub_path": "/src/main/java/com/switchfully/pascal/order/Service/Mapper/OrderMapper.java", "file_name": "OrderMapper.java", "file_ext": "java", "file_size_in_by... | https://github.com/PascalBaelen/order | 200 | FILENAME: OrderMapper.java | 0.258326 | package com.switchfully.pascal.order.Service.Mapper;
import com.switchfully.pascal.order.Business.Entity.Order;
import com.switchfully.pascal.order.Service.DTO.CustomerDTO;
import com.switchfully.pascal.order.Service.DTO.OrderDTO;
import org.springframework.stereotype.Component;
@Component
public class OrderMapper {... |
9c8b6ca6-8499-436e-8fc9-f5885e94bfd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-12 17:05:09", "repo_name": "LitvinovaVeronika/WrikeTest", "sub_path": "/src/test/java/com/litvinova/AppTest.java", "file_name": "AppTest.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 44, ... | https://github.com/LitvinovaVeronika/WrikeTest | 211 | FILENAME: AppTest.java | 0.278257 | package com.litvinova;
import static org.junit.Assert.assertTrue;
import com.litvinova.Pages.HomePage;
import com.litvinova.Pages.SurveyPage;
import com.litvinova.tools.EmailCreator;
import org.junit.Test;
import java.io.IOException;
public class AppTest extends FunctionalTest
{
@Test
public... |
e4f3dc9d-001e-4035-9613-f84fa3ed57ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-06 14:46:14", "repo_name": "shrivastava-prateek/proxy", "sub_path": "/src/main/java/com/proxy/servlets/ProxyServlet.java", "file_name": "ProxyServlet.java", "file_ext": "java", "file_size_in_byte": 1211, "line... | https://github.com/shrivastava-prateek/proxy | 233 | FILENAME: ProxyServlet.java | 0.294215 | package com.proxy.servlets;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URL;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Htt... |
7ca18d61-ea28-4605-b71c-8c266716f2a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-25 08:58:24", "repo_name": "RafaelMri/atn-android", "sub_path": "/atnlib/src/main/java/com/kik/atn/ATNReceiver.java", "file_name": "ATNReceiver.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count... | https://github.com/RafaelMri/atn-android | 212 | FILENAME: ATNReceiver.java | 0.261331 | package com.kik.atn;
import java.io.IOException;
class ATNReceiver {
private final ATNServer atnServer;
private final String publicKey;
private final EventLogger eventLogger;
private final ConfigurationProvider configProvider;
ATNReceiver(ATNServer atnServer, EventLogger eventLogger, Configurat... |
1bd5a1b4-0f50-4359-9916-2765bfdc0b95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-21 09:38:07", "repo_name": "dreamPathsProjekt/ExploreCali", "sub_path": "/src/main/java/com/example/ec/services/TourPackageServiceImpl.java", "file_name": "TourPackageServiceImpl.java", "file_ext": "java", "fi... | https://github.com/dreamPathsProjekt/ExploreCali | 205 | FILENAME: TourPackageServiceImpl.java | 0.291787 |
package com.example.ec.services;
import com.example.ec.domain.TourPackage;
import com.example.ec.repository.TourPackageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
*
* @author i.dritsas
*/
@Service
public class TourPackageServiceImpl... |
0102e729-0ba7-4566-94bc-f1056aeb4997 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-03 07:16:54", "repo_name": "cheonyujung/AccidentOfWorld", "sub_path": "/app/src/main/java/com/example/cheonyujung/accidentofworld/data/struct/Danger.java", "file_name": "Danger.java", "file_ext": "java", "file... | https://github.com/cheonyujung/AccidentOfWorld | 236 | FILENAME: Danger.java | 0.240775 | package com.example.cheonyujung.accidentofworld.data.struct;
import com.example.cheonyujung.accidentofworld.data.DangerType;
import com.example.cheonyujung.accidentofworld.data.Data;
/**
* Created by ohyongtaek on 16. 5. 15..
*/
public class Danger {
private Country country;
private DangerType danger_type;
... |
5a78893e-92fa-4f90-87e3-5bcc1d585057 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 19:30:00", "repo_name": "macashare/macashare-api", "sub_path": "/src/main/java/org/bdados/sapi/empenho/EmpenhoController.java", "file_name": "EmpenhoController.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/macashare/macashare-api | 236 | FILENAME: EmpenhoController.java | 0.262842 | package org.bdados.sapi.empenho;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import static org.springframework.http.Respon... |
723125e6-56e6-43ae-92d4-402cf5d99689 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 03:52:32", "repo_name": "rbyusi/test", "sub_path": "/jupiterTraining/src/test/java/com/planittesting/jupiterTraining/tests/BaseTest.java", "file_name": "BaseTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/rbyusi/test | 212 | FILENAME: BaseTest.java | 0.246533 | package com.planittesting.jupiterTraining.tests;
import java.util.concurrent.TimeUnit;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.jupiter.api.parallel.Execution;
import org.junit.jupiter.api.parall... |
26f967d2-4e23-4b7c-9dec-fd65f058716a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-22 14:37:37", "repo_name": "spysys/provider2", "sub_path": "/src/main/java/com/nexign/pipeeventsprovider/controller/TestController.java", "file_name": "TestController.java", "file_ext": "java", "file_size_in_b... | https://github.com/spysys/provider2 | 229 | FILENAME: TestController.java | 0.247987 | package com.nexign.pipeeventsprovider.controller;
import com.nexign.pipeeventsprovider.service.ImageToKafkaPipelineService;
import com.nexign.pipeeventsprovider.service.Worker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.io.IOException;
... |
cdcf71f7-ae18-4714-8eee-127b3033eca0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-21 17:41:11", "repo_name": "jgperrin/net.jgp.labs.io", "sub_path": "/src/main/java/net/jgp/labs/io/file/FileNIO.java", "file_name": "FileNIO.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": ... | https://github.com/jgperrin/net.jgp.labs.io | 232 | FILENAME: FileNIO.java | 0.284576 | package net.jgp.labs.io.file;
import java.io.FileNotFoundException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.file.Path;
import java.nio.file.Paths;
public class FileNIO {
public static StringBuffer fileToStringBuffer(String filename) throws E... |
fad6b8f8-e2ee-40e9-8686-a142366ab82e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-20 17:55:13", "repo_name": "danielkeele/Family-Map", "sub_path": "/server/src/main/java/Handlers/PersonHandler.java", "file_name": "PersonHandler.java", "file_ext": "java", "file_size_in_byte": 1128, "line_cou... | https://github.com/danielkeele/Family-Map | 220 | FILENAME: PersonHandler.java | 0.280616 | package Handlers;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import java.io.IOException;
import java.net.URI;
import Helpers.DatabaseHelper;
import Services.EventService;
import Services.PersonService;
public class PersonHandler implements HttpHandler
{
@Override
... |
9c11e8e5-2c41-477d-8b41-3169266113a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 20:18:40", "repo_name": "hzyang2/shoppingclothing", "sub_path": "/src/main/java/org/launchcode/shoppingclothing/models/CartItem.java", "file_name": "CartItem.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/hzyang2/shoppingclothing | 225 | FILENAME: CartItem.java | 0.245085 | package org.launchcode.shoppingclothing.models;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
@Entity
public class CartItem extends AbstractEntity {
@ManyToOne //from a list of many users, match one user to this CartItem
@NotNull
private... |
099adace-e391-45b4-9ecd-96450ec19ec0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 21:45:51", "repo_name": "chriptus13/CinemaApp", "sub_path": "/src/main/java/pt/isel/ls/model/entities/Movie.java", "file_name": "Movie.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count": 46,... | https://github.com/chriptus13/CinemaApp | 234 | FILENAME: Movie.java | 0.274351 | package pt.isel.ls.model.entities;
/**
* Class that represents a Movie in the repository
*/
public class Movie {
public final int id, duration, releaseYear;
public final String name;
public Movie(String name, int releaseYear, int duration) {
this(-1, name, releaseYear, duration);
}
publ... |
220d70f5-6051-4d37-8e97-365ea23552bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-06 21:40:16", "repo_name": "ferranconde/automatedConstructionSite", "sub_path": "/AutomatedConstructionSite/src/automatedConstructionSite/Agent.java", "file_name": "Agent.java", "file_ext": "java", "file_size_... | https://github.com/ferranconde/automatedConstructionSite | 243 | FILENAME: Agent.java | 0.286968 | package automatedConstructionSite;
import java.util.LinkedList;
import repast.simphony.space.continuous.ContinuousSpace;
import repast.simphony.space.grid.Grid;
import repast.simphony.space.grid.GridPoint;
public abstract class Agent {
public static final double FIRST_PRIORITY = Double.POSITIVE_INFINITY;
public s... |
b18052ba-a89e-4579-ad64-8ee4a5cecf35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-08T18:57:56", "repo_name": "BrianKopp/hasta-la-vista", "sub_path": "/docs/cloudprovider/aws.md", "file_name": "aws.md", "file_ext": "md", "file_size_in_byte": 1211, "line_count": 28, "lang": "en", "doc_typ... | https://github.com/BrianKopp/hasta-la-vista | 301 | FILENAME: aws.md | 0.226784 | # AWS Cloud Provider
In order to run this function using AWS as the cloud provider, pass
the environment variable `CLOUDPROVIDER=aws`. You'll need to
specify the `AWS_REGION` environment variable and bring your
own credentials, e.g. by using the lambda execution role.
## How It Works
The `hasta-la-vista` deregistrat... |
7fd7846b-402c-4688-b706-c4e474177f2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-01 12:05:17", "repo_name": "PhantomReign/brno-go-android", "sub_path": "/app/src/main/java/cz/vutbr/fit/brnogo/ui/route/navigation/RouteNavigationViewModel.java", "file_name": "RouteNavigationViewModel.java", ... | https://github.com/PhantomReign/brno-go-android | 226 | FILENAME: RouteNavigationViewModel.java | 0.258326 | package cz.vutbr.fit.brnogo.ui.route.navigation;
import android.arch.lifecycle.MutableLiveData;
import java.util.List;
import javax.inject.Inject;
import cz.vutbr.fit.brnogo.data.model.recyclerview.RouteItem;
import cz.vutbr.fit.brnogo.data.model.response.Route;
import cz.vutbr.fit.brnogo.injection.annotation.scope... |
eeb2cc68-7b27-45f5-972f-658c70773967 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 12:51:08", "repo_name": "ikydhana/PrototypeKasir", "sub_path": "/app/src/main/java/com/zahar/kasirapp/ActivityDaftar.java", "file_name": "ActivityDaftar.java", "file_ext": "java", "file_size_in_byte": 1151,... | https://github.com/ikydhana/PrototypeKasir | 207 | FILENAME: ActivityDaftar.java | 0.221351 | package com.zahar.kasirapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class ActivityDaftar extends AppCompatActivity implements View.OnClickListener {
Button btnregis, btncancel;
@O... |
c87a27c5-8db8-4e5d-a0fd-ccc6782930e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-04 07:45:02", "repo_name": "onedayrex/messagedelay", "sub_path": "/src/test/java/com/git/onedayrex/MessagedelayApplicationTests.java", "file_name": "MessagedelayApplicationTests.java", "file_ext": "java", "fil... | https://github.com/onedayrex/messagedelay | 248 | FILENAME: MessagedelayApplicationTests.java | 0.289372 | package com.git.onedayrex;
import com.git.onedayrex.config.DelayMqConfig;
import com.git.onedayrex.mqmessage.ExpirationMessagePostProcessor;
import com.git.onedayrex.mqmessage.ProcessMessageListener;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
imp... |
cb44ebd4-ccf6-4568-92b0-54a2a0a0127f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-13 13:34:41", "repo_name": "bkahlert/api-usability-analyzer", "sub_path": "/de.fu_berlin.imp.apiua.core/src/de/fu_berlin/imp/apiua/core/ui/DataDirectoryDialog.java", "file_name": "DataDirectoryDialog.java", "f... | https://github.com/bkahlert/api-usability-analyzer | 223 | FILENAME: DataDirectoryDialog.java | 0.262842 | package de.fu_berlin.imp.apiua.core.ui;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.widgets.Shell;
import com.bkahlert.nebula.dialogs.DirectoryListDialog;
import de.fu_berlin.imp.apiua.core.model.data.IBaseDataContainer;
import de.fu_berlin.imp.apiua.core.model.dat... |
d33203ee-5b68-4aee-92fc-9ed0b125fb96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-07 02:38:46", "repo_name": "bbpatience/study", "sub_path": "/src/main/java/com/walle/concurrent/synctrl/LockSupportIntDemo.java", "file_name": "LockSupportIntDemo.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/bbpatience/study | 242 | FILENAME: LockSupportIntDemo.java | 0.281406 | package com.walle.concurrent.synctrl;
import java.util.concurrent.locks.LockSupport;
/**
* @author: bbpatience
* @date: 2018/12/10
* @description: LockSupportDemo
**/
public class LockSupportIntDemo {
public static Object u = new Object();
static ChangeObjectThread t1 = new ChangeObjectThread("T1");
... |
f39f9a46-555f-41a8-8ad2-df37a1686828 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 13:15:36", "repo_name": "chaochaoGT/shangka", "sub_path": "/shengka-media-backend/shengka-media-backend-provider/src/main/java/com/geek/shengka/backend/enums/SkVersionForcedUpdateEnum.java", "file_name": "S... | https://github.com/chaochaoGT/shangka | 271 | FILENAME: SkVersionForcedUpdateEnum.java | 0.267408 | package com.geek.shengka.backend.enums;
import lombok.Getter;
/**
* @author qubianzhong
* @date 2019/8/1 14:36
*/
@Getter
public enum SkVersionForcedUpdateEnum {
NORMAL((byte) 0, "常规更新"),
FORCE((byte) 1, "强制更新");
private Byte value;
private String desc;
SkVersionForcedUpdateEnum(Byte value, S... |
c48b094b-2e48-4fcb-b729-ac530b81dd6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-24 14:38:40", "repo_name": "theapache64/movie_db", "sub_path": "/src/com/theah64/movie_db/Lab.java", "file_name": "Lab.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 31, "lang": "en", "doc... | https://github.com/theapache64/movie_db | 247 | FILENAME: Lab.java | 0.281406 | package com.theah64.movie_db;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by theapache64 on 11/7/17.
*/
public class Lab {
public static void main(String[] args) {
test();
}
private static void test() {
final String sampleData = "Directed by Alejandro ... |
fe1f005b-580b-4c5f-b6be-025756f759cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-10-29T00:43:18", "repo_name": "ernesto27/musicPlayer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1067, "line_count": 54, "lang": "en", "doc_type": "text", "blo... | https://github.com/ernesto27/musicPlayer | 281 | FILENAME: README.md | 0.246533 | musicPlayer
===========
jquery plugin using html5 audio tag
http://musicplayer.rs.af.cm/musicFallback.html
## Install
put styles in the header
```html
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link href="http://code.jquery.com/ui/1.10.2/themes/ui-darkness/jquery-ui.css" rel="stylesheet">
```... |
6a8379e7-279c-4906-8815-ca6a80d5da56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-12-05T00:43:14", "repo_name": "Brndon/RoundOne", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1212, "line_count": 33, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/Brndon/RoundOne | 277 | FILENAME: README.md | 0.249447 | # LimitMonkey
Lambda application to periodically query Trusted Advisor for your AWS resource limits
and publish messages to an SNS topic as a proactive alarm. Think "Push over Pull" for AWS Limits.
## Requirements
This sample project depends on Boto3, the AWS SDK for Python, and requires
Python 2.6 or 2.7. You can ... |
74cd79bb-d305-47bf-aa59-77ee1c7e7d84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 14:28:44", "repo_name": "madeinlobby/memoReminder", "sub_path": "/app/src/main/java/ir/madeinlobby/memoreminder/TagFriendsInPostActivity.java", "file_name": "TagFriendsInPostActivity.java", "file_ext": "jav... | https://github.com/madeinlobby/memoReminder | 186 | FILENAME: TagFriendsInPostActivity.java | 0.2227 | package ir.madeinlobby.memoreminder;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
impo... |
f9c4bcec-fc02-4741-9794-b6a20af42bee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-06 14:18:48", "repo_name": "solokia/RsPeerProject", "sub_path": "/src/MagicEnchant/Items.java", "file_name": "Items.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 36, "lang": "en", "doc_ty... | https://github.com/solokia/RsPeerProject | 293 | FILENAME: Items.java | 0.286169 | package MagicEnchant;
public enum Items {
RINGOFRECOIL("Ring of recoil","Sapphire ring"),
GAMESNECKLACE("Games necklace(8)","Sapphire Necklace"),
RINGOFDUELING("Ring of dueling(8)","Emerald ring"),
BINDINGNECKLACE("Binding necklace","Emerald necklace"),
CASTLEWARSBRACELET("Castle wars bracelet(3)",... |
41cbe863-e02a-4cbe-aab0-4943d6dc26ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-30 15:56:59", "repo_name": "Cristianoaf81GIT/dio_live", "sub_path": "/src/main/java/com/dio/live/controller/OcorrenciaController.java", "file_name": "OcorrenciaController.java", "file_ext": "java", "file_size_... | https://github.com/Cristianoaf81GIT/dio_live | 256 | FILENAME: OcorrenciaController.java | 0.258326 | package com.dio.live.controller;
import com.dio.live.dto.OcorrenciaDTO;
import com.dio.live.model.Ocorrencia;
import com.dio.live.service.OcorrenciaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import ... |
634fb3e7-afd1-48a0-a34e-d8e7fae4535f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-18 12:11:15", "repo_name": "kiranprojects/Swagger-Spring-Boot-Demo", "sub_path": "/src/main/java/com/wavelabs/springboot/swaggerexample/config/SwaggerConfig.java", "file_name": "SwaggerConfig.java", "file_ext"... | https://github.com/kiranprojects/Swagger-Spring-Boot-Demo | 254 | FILENAME: SwaggerConfig.java | 0.274351 | package com.wavelabs.springboot.swaggerexample.config;
import static springfox.documentation.builders.PathSelectors.regex;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox... |
4d97b7e7-240f-48c4-9d4a-0512f1950274 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-21 20:34:16", "repo_name": "aaedelman/Carahsoft", "sub_path": "/Question3.java", "file_name": "Question3.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count": 36, "lang": "en", "doc_type": "code"... | https://github.com/aaedelman/Carahsoft | 213 | FILENAME: Question3.java | 0.27513 | /******************************************************************************
Quesiton 3
author: Antoine Edelman
date: 12/21/19
*******************************************************************************/
import java.util.Scanner;
public class Question3
{
public static void main(String[] args) {
Sc... |
47f4b708-e9cf-4850-9c06-a31d87dbca8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-06 08:50:35", "repo_name": "SergeyKorobchenko/hybrisPen", "sub_path": "/hybris/bin/custom/pentland/erpintegration/src/com/bridgex/integration/service/impl/OrderExportServiceImpl.java", "file_name": "OrderExpor... | https://github.com/SergeyKorobchenko/hybrisPen | 253 | FILENAME: OrderExportServiceImpl.java | 0.272799 | package com.bridgex.integration.service.impl;
import java.util.Collections;
import com.bridgex.integration.constants.ErpintegrationConstants;
import com.bridgex.integration.domain.ETReturnDto;
import com.bridgex.integration.domain.ExportOrderResponse;
import com.bridgex.integration.domain.OrderExportDto;
/**
* @aut... |
782b49ba-a9b3-4c15-9d96-1839e4d73306 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-02T21:18:12", "repo_name": "hossamhamzahm/yelpcamp", "sub_path": "/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 1126, "line_count": 35, "lang": "en", "doc_type": "text", "bl... | https://github.com/hossamhamzahm/yelpcamp | 275 | FILENAME: Readme.md | 0.239349 | # YelpCamp 2021
[YelpCamp](https://murmuring-ocean-56530.herokuapp.com/) is a full-stack web application that provides the minimum functionalities of Yelp for campgrounds, where people can upload information about their places, look for a place, and leave reviews.
<br>
**Usage**
Users can review all of the available... |
fa791f1a-d439-4323-b835-d89220ebe185 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-19T05:49:26", "repo_name": "sedenardi/import-regex", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 52, "lang": "en", "doc_type": "text", "bl... | https://github.com/sedenardi/import-regex | 273 | FILENAME: README.md | 0.272025 | # esm-import-regex
Regular expressions for matching ESM import statements.
## Installation
```
npm i esm-import-regex
```
### Usage
```js
const importRegex = require('esm-import-regex');
const regex1 = importRegex();
console.log(regex1.exec('import defaultMember from "module-name";'));
// [
// 'import defaultMemb... |
1f2cfa84-dddf-4da1-9b93-ab83d85fd491 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-09 11:11:41", "repo_name": "vkkononenko/veles", "sub_path": "/src/main/java/vkkononenko/REST/getGeoJson.java", "file_name": "getGeoJson.java", "file_ext": "java", "file_size_in_byte": 1091, "line_count": 42, "... | https://github.com/vkkononenko/veles | 229 | FILENAME: getGeoJson.java | 0.288569 | package vkkononenko.REST;
import com.sun.javafx.util.Logging;
import vkkononenko.models.Version;
import javax.enterprise.context.RequestScoped;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.Transactional;
import javax.ws.rs.*;
import javax.ws.rs.core.Medi... |
a01d67c8-e9c0-43f1-a9b5-46b2ad6f4055 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-16 19:29:03", "repo_name": "GabrielLewis/BattleShip", "sub_path": "/Cell.java", "file_name": "Cell.java", "file_ext": "java", "file_size_in_byte": 1210, "line_count": 72, "lang": "en", "doc_type": "code", "blo... | https://github.com/GabrielLewis/BattleShip | 292 | FILENAME: Cell.java | 0.294215 | /**
* Cell
*/
public class Cell
{
private boolean hasShip;
private Ship ship;
private boolean isHit;
private int xcoord;
private int ycoord;
public Cell ( int ycoord, int xcoord)
{
this.xcoord = xcoord;
this.ycoord = ycoord;
hasShip = false;
isHit = false... |
d61e9713-4208-47b9-9b34-2bc865baa580 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-11 09:06:39", "repo_name": "smartcommunitylab/parcheggiausiliari", "sub_path": "/smartcampus.vas.parcheggiausiliari.web/src/main/java/eu/trentorise/smartcampus/parcheggiausiliari/AppConfig.java", "file_name": ... | https://github.com/smartcommunitylab/parcheggiausiliari | 222 | FILENAME: AppConfig.java | 0.242206 | package eu.trentorise.smartcampus.parcheggiausiliari;
import java.net.UnknownHostException;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.core.MongoTemp... |
4402e40f-9104-4c74-9ab9-e7933c4f9d74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-03T17:43:57", "repo_name": "jordy2254/final-year-project-report", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1151, "line_count": 32, "lang": "en", "doc_type"... | https://github.com/jordy2254/final-year-project-report | 330 | FILENAME: README.md | 0.282988 | # Copyright
This file and the containing repository are covered by copy right, and are public for reference only.
© 2020 Jordan Hellier All rights reserved
# final-year-project-report
This repo holds all the latex files for my final year project report, below is the information of the progress of the
report, al... |
4f5dffec-2c18-490d-a9ce-e4efe5ff47b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-25 10:38:21", "repo_name": "sorinmiroiu97/Tree-for-reports", "sub_path": "/src/tree/model/AReportTreeItem.java", "file_name": "AReportTreeItem.java", "file_ext": "java", "file_size_in_byte": 1049, "line_count"... | https://github.com/sorinmiroiu97/Tree-for-reports | 249 | FILENAME: AReportTreeItem.java | 0.274351 | package tree.model;
public abstract class AReportTreeItem implements IReportTreeItem {
private String uniqueId;
private String name;
private String toolTip;
public AReportTreeItem(String uniqueId, String name) {
this.uniqueId = uniqueId;
this.name = name;
}
public AReportTreeItem(String uniqu... |
b973999b-328f-4790-becb-7e11c5d84ab6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-25 06:34:30", "repo_name": "NortonAhu/ForkU2020", "sub_path": "/app/src/main/java/com/bluecup/hongyu/mocku2020/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 1107, "line_count": 4... | https://github.com/NortonAhu/ForkU2020 | 259 | FILENAME: App.java | 0.287768 | package com.bluecup.hongyu.mocku2020;
import android.app.Application;
import com.bluecup.hongyu.mocku2020.data.Injector;
import com.bluecup.hongyu.mocku2020.data.LumberYard;
import com.bluecup.hongyu.mocku2020.ui.ActivityHierarchyServer;
import com.jakewharton.threetenabp.AndroidThreeTen;
import javax.inject.Inject;... |
eacc8134-5410-480a-82ea-f4d76f9826c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-25 08:43:09", "repo_name": "dongfangding/JavaDemo", "sub_path": "/src/main/java/jdk/designPatterns/flyWeight/CarFlyWeightFactory.java", "file_name": "CarFlyWeightFactory.java", "file_ext": "java", "file_size_i... | https://github.com/dongfangding/JavaDemo | 222 | FILENAME: CarFlyWeightFactory.java | 0.283781 | package jdk.designPatterns.flyWeight;
import java.util.HashMap;
import java.util.Map;
public class CarFlyWeightFactory {
private CarFlyWeightFactory() {
}
private static Car car;
private static Map<String, Car> carPool = new HashMap<String, Car>();
public static Car getCar(Class<?> clazz) throw... |
0d1fd0fd-1a11-46e0-9361-3fc670838cc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-12 05:26:59", "repo_name": "hailshao/contest", "sub_path": "/common/src/main/java/com/contest/common/handler/GlobalExceptionHandler.java", "file_name": "GlobalExceptionHandler.java", "file_ext": "java", "file_... | https://github.com/hailshao/contest | 180 | FILENAME: GlobalExceptionHandler.java | 0.208179 | package com.contest.common.handler;
import com.contest.common.BusinessRuntimeException;
import com.contest.common.http.BusinessResponseEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestCon... |
acce4219-75d8-4606-80bd-3431678c4c35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-22 12:55:36", "repo_name": "lindar-open/braintree-java-client", "sub_path": "/src/main/java/com/lindar/braintree/dependent/ValidationErrors.java", "file_name": "ValidationErrors.java", "file_ext": "java", "fil... | https://github.com/lindar-open/braintree-java-client | 196 | FILENAME: ValidationErrors.java | 0.286968 | package com.lindar.braintree.dependent;
import lindar.acolyte.util.ObjectsAcolyte;
import lombok.Data;
import java.util.List;
import java.util.stream.Collectors;
@Data
public class ValidationErrors {
private List<ValidationError> errors;
private List<ValidationError> nestedErrors;
public static Validati... |
c20e48a5-88c6-410c-b1aa-c0a42c0a8313 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-11 21:24:41", "repo_name": "mahambk/project-artcom", "sub_path": "/app/views/forms/EditTutorialForm.java", "file_name": "EditTutorialForm.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count": 56,... | https://github.com/mahambk/project-artcom | 243 | FILENAME: EditTutorialForm.java | 0.287768 | package views.forms;
import models.Tutorial;
import java.util.*;
import play.data.validation.ValidationError;
/**
* Backing class for the edit post form.
*
*/
public class EditTutorialForm {
public int id;
public String title;
public String intro;
public String body;
public String tags;
public String category... |
3ce4eb56-a883-4577-ada1-ac6bdb5424eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-19 04:54:47", "repo_name": "Seung-Ryul-Baek/intensive-status", "sub_path": "/src/main/java/edu/intensive/PolicyHandler.java", "file_name": "PolicyHandler.java", "file_ext": "java", "file_size_in_byte": 980, "l... | https://github.com/Seung-Ryul-Baek/intensive-status | 185 | FILENAME: PolicyHandler.java | 0.2227 | package edu.intensive;
import edu.intensive.config.kafka.KafkaProcessor;
import edu.intensive.event.LectureApproved;
import edu.intensive.event.LectureEvaluated;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.... |
69166b01-51ed-415f-88a7-aeb67b421bda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-01 06:52:09", "repo_name": "weiwenqiang/FirstCode_Chapter02", "sub_path": "/src/com/example/chapter02/start/StartTwo.java", "file_name": "StartTwo.java", "file_ext": "java", "file_size_in_byte": 1145, "line_co... | https://github.com/weiwenqiang/FirstCode_Chapter02 | 256 | FILENAME: StartTwo.java | 0.279042 | package com.example.chapter02.start;
import com.example.chapter02.R;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
public class StartTwo extends BaseActivi... |
603c97a0-fa77-4f87-a384-6491462c1f05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-16 16:27:31", "repo_name": "myrddraall/coremod", "sub_path": "/common/cp/mods/CoreMod/core/integration/computercraft/peripheral/PeriperalBase.java", "file_name": "PeriperalBase.java", "file_ext": "java", "file... | https://github.com/myrddraall/coremod | 266 | FILENAME: PeriperalBase.java | 0.293404 | package cp.mods.CoreMod.core.integration.computercraft.peripheral;
import java.util.ArrayList;
import dan200.computer.api.IComputerAccess;
import dan200.computer.api.IPeripheral;
public abstract class PeriperalBase implements IPeripheral
{
protected ArrayList<String> collectedLuaMethods = new ArrayList<... |
866d8b3a-fc01-4c1a-b42a-498b4b7f53fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 09:16:25", "repo_name": "workPower/javatestcases", "sub_path": "/GetNumberFromStringBeforeSpace.java", "file_name": "GetNumberFromStringBeforeSpace.java", "file_ext": "java", "file_size_in_byte": 1103, "lin... | https://github.com/workPower/javatestcases | 234 | FILENAME: GetNumberFromStringBeforeSpace.java | 0.290981 | import java.util.Scanner;
public class GetNumberFromStringBeforeSpace {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
try {
System.out.print(" INPUT STRING ");
String sample = scan.next();
String out="";
String... |
2c4fd70c-ec3c-4c9c-99cc-231fe53e5c06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-05 03:24:38", "repo_name": "s012617/CheckHelper", "sub_path": "/app/src/main/java/tw/com/gbtech/checkhelper/Entity/Check.java", "file_name": "Check.java", "file_ext": "java", "file_size_in_byte": 1151, "line_c... | https://github.com/s012617/CheckHelper | 236 | FILENAME: Check.java | 0.258326 | package tw.com.gbtech.checkhelper.Entity;
import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(primaryKeys = {"barcode","name","checkDate","store"})
public class Check {
@NonNull
public String barcode;
@NonNull
public String name;
@NonNull
p... |
e88a4dc0-b5f3-43c6-8d61-dc3c4bc0dc09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 11:00:20", "repo_name": "Sneh1998/Online-Doctor-Consulation", "sub_path": "/src/main/java/com/sneh/database/medicineAdvice.java", "file_name": "medicineAdvice.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Sneh1998/Online-Doctor-Consulation | 287 | FILENAME: medicineAdvice.java | 0.274351 | package com.sneh.database;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="medicine_list")
public class medicineAdvice {
@Id
@Column(name="med_id")
private int medId;
@Column(name="disease_name")
private Strin... |
2cc4af85-22f6-452d-aca3-2a43b074a778 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 18:46:08", "repo_name": "akarsic2/NWT-Projekat-Tim2", "sub_path": "/Services/user-movie-service/src/main/java/usermanagment/Models/MovieBasicInfo.java", "file_name": "MovieBasicInfo.java", "file_ext": "java... | https://github.com/akarsic2/NWT-Projekat-Tim2 | 284 | FILENAME: MovieBasicInfo.java | 0.272799 | package usermanagment.Models;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.persistence.*;
import java.util.Set;
@Entity
public class MovieBasicInfo {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer Id;
private Integer movieId;
private String naziv;... |
e74bf322-a2b9-42df-acb5-48e2772e8e0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 18:35:46", "repo_name": "Fallinloveregin/semServlets", "sub_path": "/BookStore1/src/main/java/servlets/LogoutServlet.java", "file_name": "LogoutServlet.java", "file_ext": "java", "file_size_in_byte": 1027, ... | https://github.com/Fallinloveregin/semServlets | 182 | FILENAME: LogoutServlet.java | 0.247987 | package servlets;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import java.io.IOException;
public class LogoutServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.s... |
1f18853c-0e3c-46ec-8ee4-89804bb13050 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-18 09:38:42", "repo_name": "cronaldo722/MyMeeting", "sub_path": "/src/cn/edu/ncu/Service/Impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1199, "line_co... | https://github.com/cronaldo722/MyMeeting | 260 | FILENAME: UserServiceImpl.java | 0.282196 | package cn.edu.ncu.Service.Impl;
import cn.edu.ncu.Dao.UserDao;
import cn.edu.ncu.Dao.impl.UserDaoImpl;
import cn.edu.ncu.Service.UserService;
import cn.edu.ncu.vo.Meeting;
import cn.edu.ncu.vo.User;
import java.util.List;
public class UserServiceImpl implements UserService {
private UserDao userDao=new UserDaoI... |
8e994f2d-5175-4f34-8e33-211d4407f243 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 09:20:16", "repo_name": "jsonking/cake-manager", "sub_path": "/src/main/java/com/waracle/cakemgr/cake/CakeRestController.java", "file_name": "CakeRestController.java", "file_ext": "java", "file_size_in_byte... | https://github.com/jsonking/cake-manager | 187 | FILENAME: CakeRestController.java | 0.253861 | package com.waracle.cakemgr.cake;
import lombok.AllArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.Optional;
import static java.lang.String.forma... |
4f3f1cf2-35ba-4ab5-9b0a-4da88cd3ac7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-09 11:17:37", "repo_name": "Aparna10appu/RouteManagement", "sub_path": "/Route-Management-Project/src/main/java/com/example/demo/entity/Destination.java", "file_name": "Destination.java", "file_ext": "java", "... | https://github.com/Aparna10appu/RouteManagement | 197 | FILENAME: Destination.java | 0.267408 | package com.example.demo.entity;
import java.time.LocalDate;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframewor... |
df8a3901-c05d-4c44-b6d8-4165578b207d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 04:53:49", "repo_name": "chemphern/hrm", "sub_path": "/hrmymz/src/com/ymz/hrm/base/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in_byte": 1090, "line... | https://github.com/chemphern/hrm | 219 | FILENAME: IndexController.java | 0.282196 | package com.ymz.hrm.base.controller;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.ymz.hrm.bas... |
8d6f0349-0c40-4fcd-b14e-70ca2017c25f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 08:53:56", "repo_name": "davidmelia/spring-data-redis-pub-sub", "sub_path": "/src/main/java/com/example/demo/NoneReactiveConfiguration.java", "file_name": "NoneReactiveConfiguration.java", "file_ext": "java... | https://github.com/davidmelia/spring-data-redis-pub-sub | 207 | FILENAME: NoneReactiveConfiguration.java | 0.246533 | package com.example.demo;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.MessageListener;
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
import org.springframework.data... |
5a3f5cee-f703-4267-8a0e-32ad7e8e09f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-22 10:06:51", "repo_name": "yuanyu90221/WebTemplate", "sub_path": "/src/main/java/com/exfantasy/template/security/password/Password.java", "file_name": "Password.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/yuanyu90221/WebTemplate | 201 | FILENAME: Password.java | 0.294215 | package com.exfantasy.template.security.password;
import org.mindrot.jbcrypt.BCrypt;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
public class Password {
public static PasswordEncoder encoder = new BCryptPasswordE... |
e954c3ad-124c-4c2c-9ad4-14b5736b8aa0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-24 11:34:34", "repo_name": "paramountNinja/springboot-ninja", "sub_path": "/src/main/java/com/fml/springboot/util/CatInfoUtil.java", "file_name": "CatInfoUtil.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/paramountNinja/springboot-ninja | 220 | FILENAME: CatInfoUtil.java | 0.277473 | package com.fml.springboot.util;
import com.fml.springboot.annotation.Seven;
import com.fml.springboot.domain.Cat;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
/*
注解处理器
*/
public class CatInfoUtil {
public static void getCatInfo(Class<?> clazz) {
Field[] fields = clazz.getDeclaredFi... |
a613b43e-61d9-42a4-8641-7b150d680474 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-28 13:42:24", "repo_name": "fabianacristina89/agenda-caelum", "sub_path": "/app/src/main/java/cadastro/caelum/com/br/cadastrocaelum/DBHelper.java", "file_name": "DBHelper.java", "file_ext": "java", "file_size_... | https://github.com/fabianacristina89/agenda-caelum | 261 | FILENAME: DBHelper.java | 0.290981 | package cadastro.caelum.com.br.cadastrocaelum;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by IT-CPS on 15/06/2015.
*/
public class DBHelper extends SQLiteOpenHelper {
public static final String DATABASE = "Cadastr... |
b50b5e56-3aad-4492-a674-0c1d923a3282 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03T06:23:59", "repo_name": "InvincibleDudu/Random-Java-Mess", "sub_path": "/src/main/java/GrabUrl.java", "file_name": "GrabUrl.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": 42, "lang": "z... | https://github.com/InvincibleDudu/Random-Java-Mess | 280 | FILENAME: GrabUrl.java | 0.23092 | import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import java.io.IOException;
import java.util.ArrayList;
/**
* Created by InvincibleDudu on 10/14/2020 at 10:24
*/
public class GrabUrl {
/**
* 测试
*/
public static void main(String[] args) {
ArrayList<... |
75e704c5-eccb-4c59-a3c3-2b72c87918c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 02:21:43", "repo_name": "LCSSchmidt/Minesweeper", "sub_path": "/src/main/java/com/lcs/minesweepe/view/MainPainel.java", "file_name": "MainPainel.java", "file_ext": "java", "file_size_in_byte": 1054, "line_c... | https://github.com/LCSSchmidt/Minesweeper | 227 | FILENAME: MainPainel.java | 0.292595 | package com.lcs.minesweepe.view;
import com.lcs.minesweepe.model.Board;
import java.awt.HeadlessException;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
public class MainPainel extends JFrame {
public MainPainel() throws HeadlessException {
Board board = ne... |
62047669-cb68-491b-b749-521b67ce8927 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-19 03:08:19", "repo_name": "GrCross/TrelloCOSW", "sub_path": "/src/main/java/lab1/model/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1089, "line_count": 56, "lang": "en", "doc... | https://github.com/GrCross/TrelloCOSW | 213 | FILENAME: Task.java | 0.224055 | package lab1.model;
import java.util.List;
import java.util.Objects;
public class Task {
String description;
List<String> subJobsl;
List<Tag> tags;
public Task() {
}
public Task(String description) {
this.description = description;
}
public String getDescription() {
... |
285f21ef-000d-4837-a7c0-b49e06b41d21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-04 17:35:12", "repo_name": "lipov91/gardener", "sub_path": "/app/src/main/java/com/survivingwithandroid/actionbartabnavigation/services/GardeningToolsService.java", "file_name": "GardeningToolsService.java", "... | https://github.com/lipov91/gardener | 247 | FILENAME: GardeningToolsService.java | 0.272025 | package com.survivingwithandroid.actionbartabnavigation.services;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import java.util.ArrayList;
import java.util.List;
/**
* Serwis lokalny
* <p/>
* Created by lipov91 on 2015-07-22.
*/
public class Gard... |
dddf4922-30bc-49ae-83e2-0ab0027da417 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-30 17:55:25", "repo_name": "suclike/gitrepos", "sub_path": "/app/src/main/java/de/sample/gitrepos/BaseApplication.java", "file_name": "BaseApplication.java", "file_ext": "java", "file_size_in_byte": 1128, "lin... | https://github.com/suclike/gitrepos | 171 | FILENAME: BaseApplication.java | 0.26971 | package de.sample.gitrepos;
import android.app.Application;
import de.sample.gitrepos.di.ApplicationComponent;
import de.sample.gitrepos.di.DaggerApplicationComponent;
import de.sample.gitrepos.di.module.ApplicationModule;
import de.sample.gitrepos.di.module.NetworkModule;
public class BaseApplication extends Applic... |
a3b02ff1-0757-4f80-9230-bcd07fd51021 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-21 11:35:54", "repo_name": "Mugenor/RailwayTravels", "sub_path": "/RailwayTravels/src/main/java/javaschool/service/exception/NoSuchEntityException.java", "file_name": "NoSuchEntityException.java", "file_ext": ... | https://github.com/Mugenor/RailwayTravels | 255 | FILENAME: NoSuchEntityException.java | 0.26971 | package javaschool.service.exception;
/**
* The type No such entity exception.
*/
public class NoSuchEntityException extends RuntimeException {
private final Class entityClass;
/**
* Instantiates a new No such entity exception.
*
* @param entityClass the entity class
*/
public NoSuch... |
971146d7-cf10-4081-af56-051e4b041247 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-23 00:22:15", "repo_name": "quinscape/automaton", "sub_path": "/src/main/java/de/quinscape/automaton/model/process/SubProcessState.java", "file_name": "SubProcessState.java", "file_ext": "java", "file_size_in_... | https://github.com/quinscape/automaton | 224 | FILENAME: SubProcessState.java | 0.229535 | package de.quinscape.automaton.model.process;
import org.svenson.JSONProperty;
import java.util.Collections;
import java.util.List;
public class SubProcessState
implements ProcessState
{
/** Sub-process state name */
private String name;
/** Process to launch as sub-process **/
private String pr... |
aac55113-e90c-47e4-ac7a-fe37619f6a2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 18:42:22", "repo_name": "Andrei1126/Extreme-Sports", "sub_path": "/Extreme/src/main/java/com/atta/demo/service/CountryService.java", "file_name": "CountryService.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Andrei1126/Extreme-Sports | 211 | FILENAME: CountryService.java | 0.278257 | package com.atta.demo.service;
import com.atta.demo.models.Country;
import com.atta.demo.repositories.CountryRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
@Service
public class CountrySe... |
992abbf8-cb57-4591-acc3-387288064a02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-15 15:35:52", "repo_name": "razi-ahmad/embl-ebi", "sub_path": "/src/test/java/com/embl/ebi/controller/BaseControllerTest.java", "file_name": "BaseControllerTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/razi-ahmad/embl-ebi | 215 | FILENAME: BaseControllerTest.java | 0.271252 | package com.embl.ebi.controller;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.type.CollectionType;
import java.io.IOException;
import java.util.List;
public ... |
cf858d9a-14b7-4a2b-9fbf-6fd6f53d47ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-01 01:03:54", "repo_name": "Emilylulu/discount_application", "sub_path": "/src/main/java/com/application/discount/web/rest/UserPurchaseHistoryController.java", "file_name": "UserPurchaseHistoryController.java"... | https://github.com/Emilylulu/discount_application | 191 | FILENAME: UserPurchaseHistoryController.java | 0.26588 | package com.application.discount.web.rest;
import com.application.discount.domain.User;
import com.application.discount.service.AmazonHistoryService;
import com.application.discount.service.UserService;
import org.springframework.security.authentication.AuthenticationServiceException;
import org.springframework.web.bi... |
4e0eb42a-5f7d-4b1e-bf31-9ceabb193f0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-03 15:21:32", "repo_name": "qiangluCloudRes/webChat", "sub_path": "/webchat_dao/src/main/java/com/lynch/dao/groupdao/ChannelDaoImpl.java", "file_name": "ChannelDaoImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/qiangluCloudRes/webChat | 208 | FILENAME: ChannelDaoImpl.java | 0.240775 | package com.lynch.dao.groupdao;
import com.lynch.dao.mapper.ChannelMapper;
import com.lynch.dao.mapper.ChannelMemberExtMapper;
import com.lynch.dao.model.Channel;
import com.lynch.dao.model.ChannelMember;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
imp... |
85458d26-f229-4a76-8186-46450c366b60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-11T08:27:10", "repo_name": "bast/interfacing-rust-python", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 994, "line_count": 28, "lang": "en", "doc_type": "text"... | https://github.com/bast/interfacing-rust-python | 232 | FILENAME: README.md | 0.203075 | # Slides and material for "Interfacing Rust and Python"
- [Slides](https://cicero.xyz/v3/remark/0.14.0/github.com/bast/interfacing-rust-python/main/talk.md/)
## Based on
- https://github.com/dev-cafe/rust-demo
## Example repositories
- https://github.com/bast/pyo3-example-distances
- https://github.com/bast/pyo3... |
1819311c-4b2f-46a0-9cf6-4b100f6ee70c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-15 08:08:12", "repo_name": "jiunwei/WordGuess", "sub_path": "/app/src/androidTest/java/com/example/jiunwei/wordguess/WordUtilAndroidTest.java", "file_name": "WordUtilAndroidTest.java", "file_ext": "java", "fil... | https://github.com/jiunwei/WordGuess | 228 | FILENAME: WordUtilAndroidTest.java | 0.288569 | package com.example.jiunwei.wordguess;
import android.support.test.runner.AndroidJUnit4;
import com.example.jiunwei.wordguess.util.WordUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented tests for WordUtil class.
*/
@RunWith(AndroidJUnit4.class)
publ... |
e8b523bd-6782-4eb1-9a88-67f8c00e91a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-09 18:53:42", "repo_name": "GMousouris/Projects_preview", "sub_path": "/Java/Dictionary/MenuButton.java", "file_name": "MenuButton.java", "file_ext": "java", "file_size_in_byte": 1068, "line_count": 53, "lang"... | https://github.com/GMousouris/Projects_preview | 239 | FILENAME: MenuButton.java | 0.27513 | import javax.swing.JButton;
import java.awt.*;
import javax.swing.*;
public class MenuButton extends JButton{
private boolean focus = false;
private int id;
public MenuButton(){
super();
}
public MenuButton(String name,int id){
super(name);
this.setBorder(null);
this.... |
f99910d6-2328-4acf-876b-ee473a2b4e10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-27 15:58:08", "repo_name": "DoubleSmile/Spring1.0", "sub_path": "/src/com/bbs/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in_byte": 1165, "line_count":... | https://github.com/DoubleSmile/Spring1.0 | 195 | FILENAME: IndexController.java | 0.220007 | package com.bbs.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.s... |
29ff1395-d0cc-424c-9a23-a6df340eeaf7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-25 08:57:38", "repo_name": "caoyaxiong/AAA", "sub_path": "/app/src/main/java/com/joke2017/smile2017/fragment/MineFragment.java", "file_name": "MineFragment.java", "file_ext": "java", "file_size_in_byte": 1034,... | https://github.com/caoyaxiong/AAA | 233 | FILENAME: MineFragment.java | 0.201813 | package com.joke2017.smile2017.fragment;
import android.os.Bundle;
import android.view.View;
import com.joke2017.smile2017.R;
import com.joke2017.smile2017.base.BaseFragment;
import com.tencent.smtt.sdk.WebView;
import com.tencent.smtt.sdk.WebViewClient;
public class MineFragment extends BaseFragment {
privat... |
e23a1165-b91c-48d0-91e5-02b69bb5790c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-05 14:52:19", "repo_name": "joaofulgencio/TransactionRoutines", "sub_path": "/src/main/java/com/pismo/test/pismo/test/domain/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/joaofulgencio/TransactionRoutines | 226 | FILENAME: Account.java | 0.229535 | package com.pismo.test.pismo.test.domain;
import java.util.List;
public class Account {
private int id;
private String documentNumber;
private List<Transaction> transactions;
public Account() {
}
public Account(String documentNumber) {
this.documentNumber = documentNumber;
}
... |
47c342be-d631-4b0f-9249-25334ef7824b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-23 09:08:27", "repo_name": "duongbv93/SkypeMiniJava", "sub_path": "/ServerSide_OLD/src/database/ConnectionUtils.java", "file_name": "ConnectionUtils.java", "file_ext": "java", "file_size_in_byte": 996, "line_c... | https://github.com/duongbv93/SkypeMiniJava | 202 | FILENAME: ConnectionUtils.java | 0.250913 | /*
* 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 database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author NQH
*/
... |
9a3164ac-dfb0-4163-b976-bc1bd7ae042b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-08 12:58:35", "repo_name": "Rabbit95/KaiYan", "sub_path": "/app/src/main/java/com/rabbit/kaiyan/ui/adapter/FragmentAdapter.java", "file_name": "FragmentAdapter.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Rabbit95/KaiYan | 207 | FILENAME: FragmentAdapter.java | 0.259826 | package com.rabbit.kaiyan.ui.adapter;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.view.ViewGroup;
import java.util.List;
public class FragmentAdapter extends Fragm... |
5d13856d-2e38-4f5b-8534-1b0fdba01dd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-26 07:18:17", "repo_name": "lgezzby/contact", "sub_path": "/src/java/com/ssga/ssgai/contact/entity/Contact.java", "file_name": "Contact.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 55, "... | https://github.com/lgezzby/contact | 233 | FILENAME: Contact.java | 0.252384 | package com.ssga.ssgai.contact.entity;
import java.util.ArrayList;
import java.util.List;
public class Contact {
private String id;
private String name;
private String priorId;
private List<Contact> nextIds = new ArrayList<Contact>();
public String getId() {
return id;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.