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
66d25758-bcf0-43a3-85f1-c03f959cc7fc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-13 14:31:37", "repo_name": "plodczyks/SystemyAgentowe", "sub_path": "/test/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 29, "lang": "en", "doc_type": "c...
https://github.com/plodczyks/SystemyAgentowe
332
FILENAME: Main.java
0.293404
import com.google.gson.Gson; import org.java_websocket.WebSocket; import java.net.URI; import java.net.URISyntaxException; import java.util.LinkedList; import java.util.List; public class Main { public static void main(String[] args) throws URISyntaxException, InterruptedException { Sender sender = new S...
ec7815a7-4b3b-4e3e-bf10-157c047feba7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/version-management/_partials/_environment-defaults.md", "file_name": "_environment-defaults.md", "file_ext": "md", "file_size_...
https://github.com/cloudflare/cloudflare-docs
219
FILENAME: _environment-defaults.md
0.190724
--- _build: publishResources: false render: never list: never --- - **Development**: Meant to validate that changes work correctly. The default [traffic filters](/version-management/reference/traffic-filters/) are that the `cf.zone.name` matches your zone name, the `Edge Server IP` is a specific value, and the r...
d4746fce-e1fd-42bd-8116-242906b70eb2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 02:50:28", "repo_name": "bunny-shinchan/CookieFXML", "sub_path": "/src/vermsudh/Assign5.java", "file_name": "Assign5.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 35, "lang": "en", "do...
https://github.com/bunny-shinchan/CookieFXML
184
FILENAME: Assign5.java
0.245085
/* * 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 vermsudh; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import j...
e68af2bc-7b85-4f47-8e72-f97c3e4268bc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 01:29:13", "repo_name": "Zhao187/VideoWorld_Android", "sub_path": "/app/src/main/java/com/lxw/videoworld/app/adapter/QuickFragmentPageAdapter.java", "file_name": "QuickFragmentPageAdapter.java", "file_ext":...
https://github.com/Zhao187/VideoWorld_Android
219
FILENAME: QuickFragmentPageAdapter.java
0.256832
package com.lxw.videoworld.app.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.List; /** * Created by Zion on 2017/6/8. */ public class QuickFragmentPageAdapter<T extends Fragment> extends Fragment...
30d6be77-a8eb-4958-a4db-195cfc5bbacc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 10:40:02", "repo_name": "ActualQu/SOA_archi_insa", "sub_path": "/Archi_Project/src/main/java/fr/insat/om2m/archi/client/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 974, "l...
https://github.com/ActualQu/SOA_archi_insa
232
FILENAME: Main.java
0.256832
package fr.insat.om2m.archi.client; import java.io.IOException; import org.eclipse.om2m.commons.resource.Container; import org.eclipse.om2m.commons.resource.ContentInstance; import fr.insat.om2m.archi.mapper.Mapper; public class Main { private static final String ORIGINATOR = "admin:admin"; private static Mapper ...
5308edd4-1494-4247-b78e-7fa197934aed
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 14:28:42", "repo_name": "Danish14/Decathlon", "sub_path": "/decathlon/src/test/java/platform/utilities/DriverFactory.java", "file_name": "DriverFactory.java", "file_ext": "java", "file_size_in_byte": 977, "...
https://github.com/Danish14/Decathlon
167
FILENAME: DriverFactory.java
0.259826
package platform.utilities; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class DriverFactory { WebDriver driver; Utilities util = new Utilities(); String chromePath = "src/test/resources/drivers/chro...
0e46fccd-e207-431c-8be1-7de63547fb63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-04 11:27:49", "repo_name": "baekcedar/Android-Basic", "sub_path": "/BasicWidget/app/src/main/java/com/hyangmok/android/basicwidget/SwitchActivity.java", "file_name": "SwitchActivity.java", "file_ext": "java", ...
https://github.com/baekcedar/Android-Basic
165
FILENAME: SwitchActivity.java
0.23231
package com.hyangmok.android.basicwidget; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.CompoundButton; import android.widget.Switch; import android.widget.TextView; public class SwitchActivity extends AppCompatActivity { TextView textView; Switch sw; @O...
438e5450-0788-43fa-bbb0-190c3627a4cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 05:52:26", "repo_name": "WaiYanMyintMyat/PADC_Simple_Habit_WYMM", "sub_path": "/app/src/main/java/com/wymm/padc_simple_habit_wymm/network/responses/BaseResponse.java", "file_name": "BaseResponse.java", "fil...
https://github.com/WaiYanMyintMyat/PADC_Simple_Habit_WYMM
214
FILENAME: BaseResponse.java
0.220007
package com.wymm.padc_simple_habit_wymm.network.responses; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by Wai Yan Myint Myat on 4/4/19. */ public abstract class BaseResponse { @SerializedName("code") @Expose private Integer code; @Seria...
a3d8bc6a-fb72-4c69-a3e7-004edc6ab62e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-03 01:55:50", "repo_name": "daniel-winner/customers", "sub_path": "/src/main/java/com/crm/customers/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte":...
https://github.com/daniel-winner/customers
167
FILENAME: UserController.java
0.23231
package com.crm.customers.controller; import com.crm.customers.entity.BaseUser; import com.crm.customers.entity.ReturnObject; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; @Controller @Reque...
60e98e29-f092-412c-afbb-dfd9d24a4a69
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-03 14:43:45", "repo_name": "davidtruji/Eolo", "sub_path": "/app/src/main/java/com/dtsoftware/paraglidinggps/ui/flights/FlightsViewModel.java", "file_name": "FlightsViewModel.java", "file_ext": "java", "file_si...
https://github.com/davidtruji/Eolo
207
FILENAME: FlightsViewModel.java
0.26971
package com.dtsoftware.paraglidinggps.ui.flights; import android.app.Application; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import com.dtsoftware.paraglidinggps.AppRepository; import com.dtsoftware.paraglidinggps.Flight; import java.util.List; public class FlightsViewModel ext...
628a1311-17e5-46e1-987b-24303eb19ad3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-16 01:53:36", "repo_name": "harry1115/tzzj", "sub_path": "/src/main/java/cn/comgroup/tzmedia/server/shop/entity/GrabResponse.java", "file_name": "GrabResponse.java", "file_ext": "java", "file_size_in_byte": 99...
https://github.com/harry1115/tzzj
210
FILENAME: GrabResponse.java
0.221351
/* * 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 cn.comgroup.tzmedia.server.shop.entity; import javax.xml.bind.annotation.XmlRootElement; /** * * @author pcnsh197 */ @Xml...
2b076881-8115-42ed-bc6b-d32d249d95a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-12 19:15:16", "repo_name": "dianaartiom/learn-android", "sub_path": "/AutocompleteTextView/app/src/main/java/com/example/diana/autocompletetextview/MainActivity.java", "file_name": "MainActivity.java", "file_e...
https://github.com/dianaartiom/learn-android
169
FILENAME: MainActivity.java
0.210766
package com.example.diana.autocompletetextview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Adapter; import android.widget.ArrayAdapter; import android.widget.AutoCompleteTextView; public class MainActivity extends AppCompatActivity { private AutoCompleteTextV...
484b2906-31b4-47b8-8f09-64d8eeebe13e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-04 10:32:18", "repo_name": "sjmw/MyApplication", "sub_path": "/app/src/main/java/com/example/myapplication/buttonActivity.java", "file_name": "buttonActivity.java", "file_ext": "java", "file_size_in_byte": 102...
https://github.com/sjmw/MyApplication
187
FILENAME: buttonActivity.java
0.228156
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class buttonActivity extends Activity { private Button bt3; @Override pro...
d957a29f-4440-4ff1-b6e7-6cfa071f4fc6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-22 16:20:11", "repo_name": "GuidAnce-git/javahornet", "sub_path": "/src/main/java/configuration/Node.java", "file_name": "Node.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 46, "lang": "en...
https://github.com/GuidAnce-git/javahornet
195
FILENAME: Node.java
0.206894
package configuration; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class Node { public String alias; public String profile; public List<Object> disablePlugins; public List<String> enablePlugins; public St...
125c6e5a-eb8b-4ea2-b8c4-4cae220b78b4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-07-01 15:37:51", "repo_name": "slacrey/eduoa", "sub_path": "/src/test/java/com/node/burn/dao/EmpDaoTest.java", "file_name": "EmpDaoTest.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 41, "lang...
https://github.com/slacrey/eduoa
200
FILENAME: EmpDaoTest.java
0.279042
package com.node.burn.dao; import com.node.burn.dao.BaseDaoTestCase; import com.node.burn.model.Emp; import org.springframework.dao.DataAccessException; import static org.junit.Assert.*; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.N...
404555ef-c44d-4b61-921b-6eaf4ce13b49
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-19 04:32:14", "repo_name": "vidapogosoft/BBOAutomatizacionPruebasSeleniumAppium112020", "sub_path": "/demo1vpr/src/suite/test/testasserts.java", "file_name": "testasserts.java", "file_ext": "java", "file_size_...
https://github.com/vidapogosoft/BBOAutomatizacionPruebasSeleniumAppium112020
208
FILENAME: testasserts.java
0.281406
package suite.test; import org.junit.Assert; import org.junit.Test; import org.testng.asserts.SoftAssert; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class testasserts { @Test public void testAssertFunctions() { SoftAs...
560d517d-382e-4090-babd-cf2577e93e8a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-06 22:47:50", "repo_name": "Escobita/selenium", "sub_path": "/tags/selenium-2.2.0/java/client/test/org/openqa/selenium/v1/TestSeleniumServerLauncher.java", "file_name": "TestSeleniumServerLauncher.java", "file...
https://github.com/Escobita/selenium
185
FILENAME: TestSeleniumServerLauncher.java
0.272025
package org.openqa.selenium.v1; import org.openqa.selenium.server.RemoteControlConfiguration; import org.openqa.selenium.server.SeleniumServer; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Optional; import org.testng.annotations.Parameters; ...
c3749136-6493-4197-8b99-1cd1e2a236e7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-02 12:39:42", "repo_name": "PavelCp/EqReport", "sub_path": "/src/main/java/com/example/android/quakereport/Earthquake.java", "file_name": "Earthquake.java", "file_ext": "java", "file_size_in_byte": 1204, "line...
https://github.com/PavelCp/EqReport
251
FILENAME: Earthquake.java
0.26588
package com.example.android.quakereport; import java.util.Date; /** * Created by November on 18.01.2017. */ public class Earthquake { private double magnitude; private String location; private long timeInMilliseconds; public String getUrl() { return url; } public ...
310ff19f-ef17-45d2-8d44-9ce11f7a2649
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-15 09:26:39", "repo_name": "liuzhenfeng511/NimbleIO", "sub_path": "/src/main/java/com/gifisan/nio/extend/plugin/rtp/server/RTPJoinRoomServlet.java", "file_name": "RTPJoinRoomServlet.java", "file_ext": "java", ...
https://github.com/liuzhenfeng511/NimbleIO
242
FILENAME: RTPJoinRoomServlet.java
0.290176
package com.gifisan.nio.extend.plugin.rtp.server; import com.gifisan.nio.common.ByteUtil; import com.gifisan.nio.component.Session; import com.gifisan.nio.component.UDPEndPoint; import com.gifisan.nio.component.protocol.nio.future.NIOReadFuture; public class RTPJoinRoomServlet extends RTPServlet { public static fin...
781f03f8-1fb4-49e3-b2b1-358770f480e8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-05-29T16:02:35", "repo_name": "cradlepoint/api-samples", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1229, "line_count": 46, "lang": "en", "doc_type": "text", "b...
https://github.com/cradlepoint/api-samples
372
FILENAME: README.md
0.206894
# api-samples Sample code using the NetCloud Manager API for key use cases # How To Try ## Setup a python virtual environment python3 -m venv .venv . .venv/bin/activate pip install -r requirements.txt ## Setup your keys in your environment You need to create API keys in NCM to use these scripts so they...
a6ff5078-845f-45a4-8a08-0c9f17959871
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-10T23:19:39", "repo_name": "princeton-sns/tock-verif", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 42, "lang": "en", "doc_type": "text", "...
https://github.com/princeton-sns/tock-verif
280
FILENAME: README.md
0.276691
# Verifying Tock with Serval ## Setting up 1. Clone [Serval](https://github.com/uw-unsat/serval) and install <!--2. Clone [Tock](https://github.com/tock/tock)--> 2. `rustup install nightly-2019-10-17` 3. `make verify` <!-- 4. Add Tock's root directory to your environment under the name TOCK_ROOT: a. `echo '...
e97a6874-9a72-4902-9556-7d4794ed4735
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-03 12:05:07", "repo_name": "acabra85/orderfullfilment", "sub_path": "/ordergenerator/src/main/java/com/acabra/orderfullfilment/orderproducer/dto/DeliveryOrderRequestDTO.java", "file_name": "DeliveryOrderReques...
https://github.com/acabra85/orderfullfilment
205
FILENAME: DeliveryOrderRequestDTO.java
0.256832
package com.acabra.orderfullfilment.orderproducer.dto; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties public class DeliveryOrderRequestDTO { public static final String SI...
a4667f1f-cad0-4541-a838-caa62c12f209
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-03 02:53:20", "repo_name": "moacirgomes/projeto-clinica", "sub_path": "/src/clinica_veterinaria_projeto_java/model/facade/impl/RemedioFacadeImpl.java", "file_name": "RemedioFacadeImpl.java", "file_ext": "java"...
https://github.com/moacirgomes/projeto-clinica
252
FILENAME: RemedioFacadeImpl.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 clinica_veterinaria_projeto_java.model.facade.impl; import clinica_veterinaria_projeto_java.model.beans.Remedio; import clinic...
5c843716-a794-467f-887f-3de333c37ff5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13T20:13:12", "repo_name": "severye/api-danse", "sub_path": "/src/main/java/com/severine/api/danse/service/impl/SuperTypeServiceImpl.java", "file_name": "SuperTypeServiceImpl.java", "file_ext": "java", "file_s...
https://github.com/severye/api-danse
251
FILENAME: SuperTypeServiceImpl.java
0.29584
package com.severine.api.danse.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.google.common.collect.Lists; import com.severine.api.danse.entities.SuperType; import com.severine.api.danse.repositories.SuperT...
e9499416-e08d-4d7c-811f-8562ae9bb7d9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 13:48:40", "repo_name": "just-ai/panda", "sub_path": "/src/main/java/com/justai/cm/utils/YamlUtils.java", "file_name": "YamlUtils.java", "file_ext": "java", "file_size_in_byte": 981, "line_count": 30, "lang...
https://github.com/just-ai/panda
211
FILENAME: YamlUtils.java
0.240775
package com.justai.cm.utils; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.LoaderOptions; import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.constructor.Constructor; import org.yaml.snakeyaml.representer.Representer; import java.io.File; import static com.justai.cm.utils.ExceptionUtils.wr...
50f4f958-4807-40e6-85a0-6356ad498963
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-08 08:12:24", "repo_name": "Sameh16/AndroidApp", "sub_path": "/app/src/main/java/com/example/sameh/sensordatatest/Rate.java", "file_name": "Rate.java", "file_ext": "java", "file_size_in_byte": 1229, "line_coun...
https://github.com/Sameh16/AndroidApp
224
FILENAME: Rate.java
0.275909
package com.example.sameh.sensordatatest; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import me.itangqi.waveloadingview.WaveLoadingView; public class Rate extends App...
ded635ea-0bc6-451c-a296-b6f0bc43ee9e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-17 13:25:27", "repo_name": "Gicheha/registrationApp", "sub_path": "/src/main/java/com/registration/app/config/WebConfiguration.java", "file_name": "WebConfiguration.java", "file_ext": "java", "file_size_in_byt...
https://github.com/Gicheha/registrationApp
170
FILENAME: WebConfiguration.java
0.239349
package com.registration.app.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springframework.security.c...
ac486868-78a8-43bc-9e82-cc0475ca3982
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-17 21:09:10", "repo_name": "Tatt13/KiandaMuzik", "sub_path": "/app/src/main/java/com/example/edson/kiandamuzik/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 102...
https://github.com/Tatt13/KiandaMuzik
189
FILENAME: BaseActivity.java
0.26588
package com.example.edson.kiandamuzik; import android.os.AsyncTask; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import fragments.NowPlayingFragment; /** * Created by Edson on 10/01/2018. */ public class BaseActi...
716a89fe-a777-432a-a1e3-111ab4296af3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-22 13:27:29", "repo_name": "WSixx/covid-data-java", "sub_path": "/src/main/java/br/com/lucad/models/http/MyHttpClient.java", "file_name": "MyHttpClient.java", "file_ext": "java", "file_size_in_byte": 1060, "li...
https://github.com/WSixx/covid-data-java
199
FILENAME: MyHttpClient.java
0.245085
package br.com.lucad.models.http; import br.com.lucad.controller.CovidDataController; import okhttp3.*; import java.io.IOException; import java.util.concurrent.Callable; public class MyHttpClient implements Callable<CovidDataController> { private final static String BASE_URL = "https://api.covid19api.com/summar...
5c03a64d-ece1-46f1-a345-1eeba4a1b812
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 03:55:58", "repo_name": "xiechangsong/project", "sub_path": "/src/main/java/com/api/service/system/MsgSystemService.java", "file_name": "MsgSystemService.java", "file_ext": "java", "file_size_in_byte": 1306...
https://github.com/xiechangsong/project
283
FILENAME: MsgSystemService.java
0.29584
package com.api.service.system; import com.api.mapper.system.MsgSystemMapper; import com.api.model.system.letter.MsgSystem; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * Created by Administrator on 2017/7/6. */ @Service pu...
9d732fb1-9029-4cff-9fde-3bccb28c64e0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-14 05:51:36", "repo_name": "swifferwarrior/something-daily", "sub_path": "/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count": 35, "lang": "en", "doc_type": "...
https://github.com/swifferwarrior/something-daily
183
FILENAME: Main.java
0.259826
/*+=================================================================== File: MAIN_PSEUDO.TXT Summary: Brief summary of the file contents and purpose. Creates "Something" object which stores an ArrayList of <Tasks> Each "Something" category lists one Task to complete daily. ...
30d6a15f-3c35-49f2-ad0a-a39336a73b7f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-25 13:29:26", "repo_name": "Siddh2807/ClipPost", "sub_path": "/app/src/main/java/com/example/clippost/retrofit/RetrofitClient.java", "file_name": "RetrofitClient.java", "file_ext": "java", "file_size_in_byte":...
https://github.com/Siddh2807/ClipPost
215
FILENAME: RetrofitClient.java
0.285372
package com.example.clippost.retrofit; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; class RetrofitClient { private static Retrofit retrofit = nu...
3786bb84-eb87-4c4a-84a6-66f1ab61a146
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-15 01:21:47", "repo_name": "vincentgwzhang/kafka", "sub_path": "/src/main/java/com/atguigu/kafka/LowerAPI.java", "file_name": "LowerAPI.java", "file_ext": "java", "file_size_in_byte": 1229, "line_count": 47, "...
https://github.com/vincentgwzhang/kafka
252
FILENAME: LowerAPI.java
0.201813
package com.atguigu.kafka; import org.apache.kafka.clients.consumer.KafkaConsumer; import java.util.ArrayList; import java.util.List; import java.util.Properties; public class LowerAPI { public static void main(String[] args) { List<String> lists = new ArrayList<>(); lists.add("localhost"); ...
671fa591-cae6-4373-a8b6-5c2c41166977
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-02-06T03:43:55", "repo_name": "worldexplorer/talking_barometer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 18, "lang": "en", "doc_type": "te...
https://github.com/worldexplorer/talking_barometer
254
FILENAME: README.md
0.246533
talking_barometer ================= #3/3 testing DIY talking altimeter in an elevator (Arduino Pro Micro 3.3V, BMP180, WTV020) http://youtu.be/HnQ0OOBf1y8 here you will find: 1) wav & ad4 files; 2) talking altimeter source code 3) spec which components are inside this green box; 4) arduino libraries. I built this h...
ad7e4f77-55cc-4fde-ac31-3ecc77ae3564
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 10:14:20", "repo_name": "LuisEngelniederhammer/styx", "sub_path": "/API/src/main/java/net/petafuel/styx/api/v1/payment/entity/BulkPaymentInitiation.java", "file_name": "BulkPaymentInitiation.java", "file_ex...
https://github.com/LuisEngelniederhammer/styx
240
FILENAME: BulkPaymentInitiation.java
0.250913
package net.petafuel.styx.api.v1.payment.entity; import net.petafuel.styx.core.xs2a.entities.serializers.ISODateDeserializer; import javax.json.bind.annotation.JsonbDateFormat; import javax.json.bind.annotation.JsonbProperty; import javax.json.bind.annotation.JsonbTypeDeserializer; import java.util.Date; public clas...
d15daf91-58b3-4876-aa5b-43b50e39b1fd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 14:19:01", "repo_name": "pvtyuan/thrift-demo", "sub_path": "/src/main/java/com/example/thriftdemo/async/ClientPool.java", "file_name": "ClientPool.java", "file_ext": "java", "file_size_in_byte": 1041, "line...
https://github.com/pvtyuan/thrift-demo
222
FILENAME: ClientPool.java
0.259826
package com.example.thriftdemo.async; import org.apache.commons.pool2.BasePooledObjectFactory; import org.apache.commons.pool2.PooledObject; import org.apache.commons.pool2.impl.DefaultPooledObject; import org.apache.commons.pool2.impl.GenericObjectPool; /** * Created by pvtyuan on 2017/9/27. */ public class Client...
3b9f41b6-68bb-45b1-928f-28b569894515
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-07 05:34:31", "repo_name": "AaronCai0/mountain-cloud", "sub_path": "/mountain-serialization/mountain-serialization-hessian/src/main/java/com/mountainframework/serialization/hessian/HessianSerialize.java", "fil...
https://github.com/AaronCai0/mountain-cloud
265
FILENAME: HessianSerialize.java
0.289372
package com.mountainframework.serialization.hessian; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.caucho.hessian.io.Hessian2Input; import com.caucho.hessian.io.Hessian2Output; import com.mountainframework.serialization.RpcSerialize; /** * HessianSerialize * * @a...
810673ba-3dd3-40a7-8700-47707ba09ab1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-17T20:23:25", "repo_name": "RichardHightower/nats-java2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1035, "line_count": 33, "lang": "en", "doc_type": "text"...
https://github.com/RichardHightower/nats-java2
270
FILENAME: README.md
0.205615
# nats-java2 NATS Java Client Working on the new Java client. Goal is to get a basic client up and going ASAP. Then I will add reconnect logic, * TLS * mTLS * JWT * nonce But first the basics. The goal is a clean interface and rigourous testing. We abstracted the network transport so we can implement it wit...
84916c62-973e-4e1c-bb29-bf8782ee7a30
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-23 14:07:05", "repo_name": "rumitspkt/englishapp", "sub_path": "/app/src/main/java/com/example/englishapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1205, "l...
https://github.com/rumitspkt/englishapp
193
FILENAME: MainActivity.java
0.189521
package com.example.englishapp; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedIns...
e117f09a-1e5d-456d-8343-6898331d5b45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-09 08:11:46", "repo_name": "adarsharegmi/Covid19tracker", "sub_path": "/app/src/main/java/com/example/finalproject/News2Model.java", "file_name": "News2Model.java", "file_ext": "java", "file_size_in_byte": 123...
https://github.com/adarsharegmi/Covid19tracker
267
FILENAME: News2Model.java
0.240775
package com.example.finalproject; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class News2Model { @SerializedName("data") @Expose private List<Newsmodel> data = null; @SerializedName("total") @Expose private Integ...
18482205-89b2-43e7-a9ca-209bb0b32743
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-07 18:20:58", "repo_name": "egamboa/pajama", "sub_path": "/src/compiler/Pajamac.java", "file_name": "Pajamac.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 35, "lang": "en", "doc_type": "co...
https://github.com/egamboa/pajama
231
FILENAME: Pajamac.java
0.292595
package pajama.compile; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.tree.ParseTree; import java.io.FileInputStream; import java.io.InputStream; public class Pajamac { public static void main(String[] args) throws Exception { String inputFile = null; if (args.length>0) inputFi...
eba2009b-985c-466e-bb14-4b6ea0b5267c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-23T21:39:50", "repo_name": "ahplummer/SiteMonitor", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1000, "line_count": 24, "lang": "en", "doc_type": "text", "blo...
https://github.com/ahplummer/SiteMonitor
259
FILENAME: README.md
0.23793
## SiteMonitor ### Description This utility pings a website and retrieves the front page. It then marks it good or bad in a local SQLite Database. It's a cheap way of doing some 'uptime' monitoring of a website. This will log entries into a local SQLite db called 'sitemetrics.db' for further review. ### Usage ``...
a847d678-cfb1-42a9-af3c-ad37bcf62bfa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-04 01:39:10", "repo_name": "PriyaSharmaa/Growth", "sub_path": "/GrowthAssesment/src/pageObjects/Contact.java", "file_name": "Contact.java", "file_ext": "java", "file_size_in_byte": 1206, "line_count": 43, "lan...
https://github.com/PriyaSharmaa/Growth
220
FILENAME: Contact.java
0.279828
package pageObjects; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; public class Contact { private static WebElement element = n...
e7cffc69-1457-4c72-aa38-71e0df0b3b97
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-28 15:41:09", "repo_name": "olegthinks/maven_CircleCI", "sub_path": "/src/test/java/helperClasses/APIInterrogator.java", "file_name": "APIInterrogator.java", "file_ext": "java", "file_size_in_byte": 1229, "lin...
https://github.com/olegthinks/maven_CircleCI
226
FILENAME: APIInterrogator.java
0.259826
package helperClasses; import io.restassured.RestAssured; import io.restassured.response.Response; import io.restassured.specification.RequestSpecification; import static io.restassured.RestAssured.given; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; /** * Wiki RestAssur...
00b272d1-e012-4067-ac72-4980ce1a95c9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 07:10:13", "repo_name": "john-weiwei/spring-source", "sub_path": "/springSourceNative/src/main/java/com/cn/allen/test/AopTest.java", "file_name": "AopTest.java", "file_ext": "java", "file_size_in_byte": 120...
https://github.com/john-weiwei/spring-source
226
FILENAME: AopTest.java
0.228156
package com.cn.allen.test; import com.cn.allen.bean.ComponentScanBean; import com.cn.allen.service.UserService; import org.junit.Before; import org.junit.Test; import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator; import org.springframework.context.ApplicationContext; import org.spr...
1c3e5437-5614-4d1f-b612-174ffeac4162
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-04 10:08:57", "repo_name": "apykac/internship", "sub_path": "/db-connector/src/main/java/internship/connectors/postgresConnector/Connector.java", "file_name": "Connector.java", "file_ext": "java", "file_size_i...
https://github.com/apykac/internship
253
FILENAME: Connector.java
0.259826
package internship.connectors.postgresConnector; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.sql.Connection; import java.sql.SQLException; public class Connector implements IConnector { private final Logger...
e43ebda5-52f7-42c5-a13b-4458d566ee41
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-18 10:06:52", "repo_name": "pmlopes/yoke", "sub_path": "/middleware/helmet/src/main/java/com/jetdrone/vertx/yoke/middleware/IEXSS.java", "file_name": "IEXSS.java", "file_ext": "java", "file_size_in_byte": 1033...
https://github.com/pmlopes/yoke
238
FILENAME: IEXSS.java
0.276691
package com.jetdrone.vertx.yoke.middleware; import com.jetdrone.vertx.yoke.Middleware; import com.jetdrone.vertx.yoke.middleware.impl.WebClient; import org.jetbrains.annotations.NotNull; import io.vertx.core.Handler; public final class IEXSS extends Middleware { private final boolean setOnOldIE; public IEXS...
efcc8e7e-1b71-4808-95f6-1b77460b3e2a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-05T22:00:51", "repo_name": "gusanmaz/StumbleUponRescuer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 34, "lang": "en", "doc_type": "text"...
https://github.com/gusanmaz/StumbleUponRescuer
248
FILENAME: README.md
0.246533
# StumbleUpon Favorites Rescuer As you may have already heard StumbleUpon (SU) is shutting down it's service on June 30th. It is sad news for anyone who is/was using SU actively. For some SU also doubled as a bookmark keeping tool. As a SU user you may wish to save your data. This small program takes your SU usernam...
70c7c468-d974-4ed8-9fbf-948b515ac4af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-22 16:49:46", "repo_name": "Mnesikos/SimplyCats", "sub_path": "/src/main/java/com/github/mnesikos/simplycats/entity/goal/CatTargetNearestGoal.java", "file_name": "CatTargetNearestGoal.java", "file_ext": "java"...
https://github.com/Mnesikos/SimplyCats
232
FILENAME: CatTargetNearestGoal.java
0.267408
package com.github.mnesikos.simplycats.entity.goal; import com.github.mnesikos.simplycats.configuration.SCConfig; import com.github.mnesikos.simplycats.entity.SimplyCatEntity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.ai.goal.NearestAttackableTargetGoal; import net.minecraft.world.Difficult...
d374410b-026d-4922-a82e-6b7877fc36cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-07T10:35:04", "repo_name": "mbbhatti/sample-1-laravel", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1202, "line_count": 42, "lang": "en", "doc_type": "text", ...
https://github.com/mbbhatti/sample-1-laravel
300
FILENAME: readme.md
0.26588
## About Product management application. ## Requirments - PHP >= 7.2 - Laravel >= 6.2 - MySql >= 5.6 ## Installation Laravel utilizes composer to manage its dependencies. So, before using Laravel, make sure you have composer installed on your machine. To download all required packages run these commands or you can ...
78a07d45-d44e-4c11-8104-8f57c026a5a2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 21:22:47", "repo_name": "wyaldalex/delphi-stats-java-test", "sub_path": "/src/main/java/com/tudux/testing/delphibackendtest/domain/Payment.java", "file_name": "Payment.java", "file_ext": "java", "file_size_...
https://github.com/wyaldalex/delphi-stats-java-test
260
FILENAME: Payment.java
0.26588
package com.tudux.testing.delphibackendtest.domain; import java.io.Serializable; import javax.persistence.*; import java.math.BigDecimal; import java.sql.Timestamp; /** * The persistent class for the payment database table. * */ @Entity @NamedQuery(name="Payment.findAll", query="SELECT p FROM Payment p") public ...
d56265fe-d3c7-4b70-a113-a7c8f5fb7e27
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-03-02T18:15:47", "repo_name": "HorvathLab/NGS", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1204, "line_count": 12, "lang": "en", "doc_type": "text", "blob_id": ...
https://github.com/HorvathLab/NGS
290
FILENAME: README.md
0.289372
## [SCExecute](https://horvathlab.github.io/NGS/SCExecute) SCExecute generates cell-barcode specific BAM files from aligned, aggregate single-cell sequencing data, executing a user-provided command on each barcode-stratified BAM file. ## [SCReadCounts](https://horvathlab.github.io/NGS/SCReadCounts) SCReadCounts is a ...
bbbd1ead-597e-4e0e-af69-02e7ce6cc999
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-11 21:45:41", "repo_name": "lionelburgbach/Teaching-HEIGVD-AMT-2019-Project-One", "sub_path": "/src/main/java/ch/heigvd/amt/projectOne/model/Trail.java", "file_name": "Trail.java", "file_ext": "java", "file_si...
https://github.com/lionelburgbach/Teaching-HEIGVD-AMT-2019-Project-One
242
FILENAME: Trail.java
0.289372
package ch.heigvd.amt.projectOne.model; import lombok.Getter; /** * Class Trail represent differents trails that a user can be enroll in. It has a unique ID who is determined by the DB (auto-increment). * It as a name, a distance, an upAndDown (who is the difference of height from the start to the end), a descript...
43da3acb-93dd-4937-b728-0f72b24371a9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-19 19:41:09", "repo_name": "J4btww/Plugin", "sub_path": "/me/J4btw/tutorial/Items/CustomItems.java", "file_name": "CustomItems.java", "file_ext": "java", "file_size_in_byte": 1068, "line_count": 34, "lang": "e...
https://github.com/J4btww/Plugin
234
FILENAME: CustomItems.java
0.284576
package me.J4btw.tutorial.Items; import org.bukkit.Material; import org.bukkit.NamespacedKey; import org.bukkit.event.Listener; import org.bukkit.inventory.ItemFlag; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ShapedRecipe; import org.bukkit.inventory.meta.ItemMeta; import org.bukkit.pl...
3253c08b-1aa6-4852-a062-9e6d969937a9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-26 07:29:46", "repo_name": "Hupeng7/spring-boot-demo1", "sub_path": "/spring-boot-demo-mytool/src/main/java/com/example/springbootdemomytool/utils/async/asyncDemo1/CallableAndFuture.java", "file_name": "Callab...
https://github.com/Hupeng7/spring-boot-demo1
250
FILENAME: CallableAndFuture.java
0.267408
package com.example.springbootdemomytool.utils.async.asyncDemo1; import com.google.common.util.concurrent.ThreadFactoryBuilder; import java.util.concurrent.*; /** * @ClassName CallableAndFuture * @Description * @Author H * @Date 2022/7/29 14:16 * @Version 1.0 */ public class CallableAndFuture { public st...
1e484acb-87e0-48c5-a9ee-597cef9d84bc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-14 13:41:46", "repo_name": "n1k0lai/Hotels", "sub_path": "/app/src/main/java/com/nplusnapps/hotels/ImageFromFileHelper.java", "file_name": "ImageFromFileHelper.java", "file_ext": "java", "file_size_in_byte": 1...
https://github.com/n1k0lai/Hotels
219
FILENAME: ImageFromFileHelper.java
0.253861
package com.nplusnapps.hotels; import android.content.Context; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.util.Log; import android.widget.ImageView; import java.io.FileInputStream; import java.io.IOException; public class ImageFromFileHelper { public s...
4837746a-798f-4d76-a400-7d85bec52c6f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-27 05:01:50", "repo_name": "taubidien2011/DemeHeathycare1", "sub_path": "/app/src/main/java/com/example/admin/myapplication/MenuFragment/Adpter/PaperAdapterinside.java", "file_name": "PaperAdapterinside.java",...
https://github.com/taubidien2011/DemeHeathycare1
244
FILENAME: PaperAdapterinside.java
0.275909
package com.example.admin.myapplication.MenuFragment.Adpter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import com.example.admin.myapplication.MenuFragment.FragmenttuVanTuXa; import com.example.admin.myapplication.Men...
4080bcfa-088c-4bd1-99e6-1a152e62b6f9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-29 21:49:36", "repo_name": "FcoJavierSainz/mx-gas-stations-javadevday", "sub_path": "/app/src/main/java/org/javadevday/gas/app/resources/GasStationsResource.java", "file_name": "GasStationsResource.java", "fil...
https://github.com/FcoJavierSainz/mx-gas-stations-javadevday
243
FILENAME: GasStationsResource.java
0.273574
package org.javadevday.gas.app.resources; import org.javadevday.gas.app.application.GasStationApplicationService; import org.javadevday.gas.app.model.stations.GasStation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annota...
6d0aeace-b896-4a60-b8b0-5c8aca55a5c5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-22 03:24:28", "repo_name": "LiHangKun/ZhaopinApp0429", "sub_path": "/app/src/main/java/com/lx/zhaopin/activity/JuBaoSuccessActivity.java", "file_name": "JuBaoSuccessActivity.java", "file_ext": "java", "file_si...
https://github.com/LiHangKun/ZhaopinApp0429
251
FILENAME: JuBaoSuccessActivity.java
0.224055
package com.lx.zhaopin.activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.lx.zhaopin.R; import com.lx.zhaopin.base.BaseActivity; import com.lx.zhaopin.common.AppSP; import com.lx.zhaopin.common.MainActivity; public class JuBaoSucces...
a621a0cc-82d5-4717-8094-e43c16d54eeb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 02:34:30", "repo_name": "fangls/simple-seckill", "sub_path": "/src/main/java/com/fang/seckill/consumer/BlockingQueueConsumer.java", "file_name": "BlockingQueueConsumer.java", "file_ext": "java", "file_size_...
https://github.com/fangls/simple-seckill
256
FILENAME: BlockingQueueConsumer.java
0.246533
package com.fang.seckill.consumer; import com.fang.seckill.service.GoodsSeckillService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.st...
618ed93e-45da-49eb-828b-6f7bea514b77
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-03 12:39:36", "repo_name": "MoshKing/home-automation", "sub_path": "/src/main/java/home/automation/web/gui/pages/ShippingPage.java", "file_name": "ShippingPage.java", "file_ext": "java", "file_size_in_byte": 1...
https://github.com/MoshKing/home-automation
233
FILENAME: ShippingPage.java
0.281406
package home.automation.web.gui.pages; import com.qaprosoft.carina.core.foundation.webdriver.decorator.ExtendedWebElement; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.FindBy; public class ShippingPage extends BaseProjectPage { @FindBy(xpath = "//input[@id='cgv']/parent::span") pr...
22e0d757-c582-4eb4-9a99-5dd770d0c651
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-15 15:25:37", "repo_name": "zkatemor/tolerance", "sub_path": "/src/main/java/models/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1117, "line_count": 31, "lang": "en", "doc_typ...
https://github.com/zkatemor/tolerance
208
FILENAME: Main.java
0.262842
package models; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ ...
2cd5751f-7ed2-4050-8bbc-efc758c99653
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-07 19:19:13", "repo_name": "constepanov/SmtpTrafficGenerator", "sub_path": "/src/main/java/org/suai/generator/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1066, "line_count": ...
https://github.com/constepanov/SmtpTrafficGenerator
209
FILENAME: Main.java
0.245085
package org.suai.generator; import com.unboundid.ldap.sdk.LDAPException; import lombok.extern.slf4j.Slf4j; import org.suai.generator.core.config.TrafficGeneratorConfig; import org.suai.generator.core.service.TrafficGeneratorService; import java.io.IOException; @Slf4j public class Main { public static ...
edf66498-6c9f-43d3-91aa-127b366b1c0a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-22 07:09:23", "repo_name": "aoden2/AWSExample", "sub_path": "/AWSWebSample/src/com/tdt/aws/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1228, "line_count": 59, "lang": "...
https://github.com/aoden2/AWSExample
296
FILENAME: User.java
0.243642
package com.tdt.aws.model; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable; @DynamoDBTable(tableName = "Login") public class User { @DynamoDBHashKey(att...
be7d4be6-2e0d-4262-b0b6-4ec44662e820
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-12 01:54:36", "repo_name": "OhSht/SleepSleep", "sub_path": "/src/main/java/dev/barbar/sleepsleep/onSleep.java", "file_name": "onSleep.java", "file_ext": "java", "file_size_in_byte": 1202, "line_count": 41, "la...
https://github.com/OhSht/SleepSleep
230
FILENAME: onSleep.java
0.256832
package dev.barbar.sleepsleep; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerBedEnterEvent; import org.bukkit.event.player.PlayerEvent; import org.bukkit.event.player.Pl...
53011057-b134-4f37-8c64-60a52da217ef
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-26 19:07:51", "repo_name": "vujaaa88/personal-library-application", "sub_path": "/src/main/java/com/myLibrary/myLibrary/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_siz...
https://github.com/vujaaa88/personal-library-application
216
FILENAME: UserService.java
0.285372
package com.myLibrary.myLibrary.service; import java.util.List; import java.util.Optional; import org.hamcrest.Matcher; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.stereotype.Service; import com.myL...
57483b5c-56a5-4564-a80e-802c50ccae95
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-29 20:35:33", "repo_name": "vijayredkar/microservices-platform", "sub_path": "/pricing-svc/src/main/java/com/org/business/pricing/controller/PricingController.java", "file_name": "PricingController.java", "fil...
https://github.com/vijayredkar/microservices-platform
234
FILENAME: PricingController.java
0.271252
package com.org.business.pricing.controller; import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.sp...
0c7dc7ec-f98d-452a-bb1a-67da361c3592
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-07 13:05:27", "repo_name": "CodecoolBPoop/oop-java-filepartreader-with-junit-MattHowdy", "sub_path": "/tests/FilePartReaderTest.java", "file_name": "FilePartReaderTest.java", "file_ext": "java", "file_size_in_...
https://github.com/CodecoolBPoop/oop-java-filepartreader-with-junit-MattHowdy
212
FILENAME: FilePartReaderTest.java
0.271252
import org.junit.Assert; import org.junit.jupiter.api.Test; import static org.junit.internal.matchers.StringContains.containsString; import static org.junit.jupiter.api.Assertions.*; class FilePartReaderTest { private FilePartReader file = new FilePartReader(); @Test public void setupToLineLessThanFromL...
81af3640-e4e7-4489-a461-9ebb0a2fd740
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-15 03:10:07", "repo_name": "dengfuhai321/writeSpring_v2", "sub_path": "/src/main/java/com/xiaoden/spring/beans/BeanWrapper.java", "file_name": "BeanWrapper.java", "file_ext": "java", "file_size_in_byte": 1110,...
https://github.com/dengfuhai321/writeSpring_v2
243
FILENAME: BeanWrapper.java
0.256832
package com.xiaoden.spring.beans; import com.xiaoden.spring.core.FactoryBean; /** * @author dengfuhai * @description * @date 2019/9/26 0026 */ public class BeanWrapper extends FactoryBean { //还会用到观察者模式 //1.支持事件响应,会有一个监听 private BeanPostProcessor postProcessor; public BeanPostProcessor getPostProc...
0d2889eb-7866-4eb5-beb6-8cc74f05ba06
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-16 01:37:08", "repo_name": "Jcateye/wechatreader", "sub_path": "/src/main/java/com/jxlg/haoqi/wechatreader/web/controller/WxUserController.java", "file_name": "WxUserController.java", "file_ext": "java", "file...
https://github.com/Jcateye/wechatreader
250
FILENAME: WxUserController.java
0.220007
package com.jxlg.haoqi.wechatreader.web.controller; import com.jxlg.haoqi.wechatreader.pojo.Response; import com.jxlg.haoqi.wechatreader.pojo.WxUser; import com.jxlg.haoqi.wechatreader.pojo.WxUserCheckout; import com.jxlg.haoqi.wechatreader.service.IWxUserService; import com.jxlg.haoqi.wechatreader.web.vo.UserInfoVO; ...
a5081ec7-dfc8-4dc4-8d7d-d24ccf2eb013
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-07 15:41:38", "repo_name": "xiaoming-master/demo-mall", "sub_path": "/mall-security/src/main/java/com/ming/mall/security/email/EmailFailureHandler.java", "file_name": "EmailFailureHandler.java", "file_ext": "j...
https://github.com/xiaoming-master/demo-mall
219
FILENAME: EmailFailureHandler.java
0.200558
package com.ming.mall.security.email; import com.alibaba.druid.support.json.JSONUtils; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.authentication.AuthenticationFailureHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletExc...
cc1aa271-3243-4f78-b969-bc6989530c28
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-06 18:59:25", "repo_name": "praveen1256/socketchat", "sub_path": "/app/src/main/java/logintest/android/com/adapter/ChatRoomListAdapter.java", "file_name": "ChatRoomListAdapter.java", "file_ext": "java", "file_...
https://github.com/praveen1256/socketchat
202
FILENAME: ChatRoomListAdapter.java
0.214691
package logintest.android.com.adapter; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView; import logintest.android.com.android...
6d621f83-8128-4371-862f-2c299f2ba0fd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-28 17:28:44", "repo_name": "ilyasemerenko/SlowNews", "sub_path": "/src/com/ituniver/controller/NewsServlet.java", "file_name": "NewsServlet.java", "file_ext": "java", "file_size_in_byte": 1039, "line_count": 3...
https://github.com/ilyasemerenko/SlowNews
184
FILENAME: NewsServlet.java
0.262842
package com.ituniver.controller; import com.ituniver.model.NewsBean; import com.ituniver.model.NewsFiller; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; impo...
43d28bf6-af27-4bc2-823a-b00e15130a0a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-02 01:21:45", "repo_name": "ehutson/scratchpad", "sub_path": "/src/main/java/com/ehutson/scratchpad/client/ScratchpadClient.java", "file_name": "ScratchpadClient.java", "file_ext": "java", "file_size_in_byte":...
https://github.com/ehutson/scratchpad
221
FILENAME: ScratchpadClient.java
0.216012
package com.ehutson.scratchpad.client; import com.ehutson.scratchpad.common.network.QueryClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class ScratchpadClient { private static final Logger logger = LoggerFactory.getLogger(ScratchpadClient.class); QueryClient client; public Scra...
9618de20-3d9d-4e9b-8963-99a8f5a17b63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-18 00:47:29", "repo_name": "a408405600/JavaWeb", "sub_path": "/demo/src/Chapter4/request/IncludedServlet.java", "file_name": "IncludedServlet.java", "file_ext": "java", "file_size_in_byte": 1095, "line_count":...
https://github.com/a408405600/JavaWeb
184
FILENAME: IncludedServlet.java
0.242206
package Chapter4.request; 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; import java.io.PrintWriter; public class Include...
5cef623d-b8a9-49a7-b5ae-e99a445f7ff4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-12 08:36:42", "repo_name": "yizhishang/txlcn-demo", "sub_path": "/spring-demo-e/src/main/java/com/codingapi/example/demo/service/impl/DemoServiceImpl.java", "file_name": "DemoServiceImpl.java", "file_ext": "ja...
https://github.com/yizhishang/txlcn-demo
282
FILENAME: DemoServiceImpl.java
0.271252
package com.codingapi.example.demo.service.impl; import com.codingapi.example.common.db.domain.Demo; import com.codingapi.example.demo.mapper.EDemoMapper; import com.codingapi.example.demo.service.DemoService; import com.codingapi.txlcn.common.util.Transactions; import com.codingapi.txlcn.tc.annotation.LcnTransaction;...
612bd996-b651-4cf0-a295-7f1f994d8430
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-01-30 19:35:52", "repo_name": "maggandalf/thucydides-redmine-plugin", "sub_path": "/src/main/java/net/thucydides/plugins/redmine/service/SystemPropertiesRedmineConfiguration.java", "file_name": "SystemPropertiesR...
https://github.com/maggandalf/thucydides-redmine-plugin
233
FILENAME: SystemPropertiesRedmineConfiguration.java
0.262842
package net.thucydides.plugins.redmine.service; public class SystemPropertiesRedmineConfiguration implements RedmineConfiguration { private static final String REDMINE_API_ACCESS_KEY = "redmine.accessKey"; private static final String REDMINE_URL = "redmine.url"; private static final String REDMINE_WIKI_RE...
39f455ad-c3cb-46b0-a62c-a8bbae6318cd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-12 11:39:01", "repo_name": "Nadimuddin/IPL-App", "sub_path": "/app/src/main/java/com/bridgelabz/myiplapp/view_model/TeamViewModel.java", "file_name": "TeamViewModel.java", "file_ext": "java", "file_size_in_byt...
https://github.com/Nadimuddin/IPL-App
293
FILENAME: TeamViewModel.java
0.264358
package com.bridgelabz.myiplapp.view_model; /** * Created by Nadimuddin on 6/10/16. */ public class TeamViewModel { String mTeamName; String mCaptain; String mCoach; String mOwner; String mHomeVenue; String mTeamBackgroundURL; String mLogoURL; public TeamViewModel(String teamName, St...
375f9ab5-fe5c-432c-8517-afe1aec76ca5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-01 11:27:09", "repo_name": "swarathesh/QuizAppRevised", "sub_path": "/QuizAppFinal/app/src/main/java/com/salyert/swarathesh/quizappfinal/QuestionFour.java", "file_name": "QuestionFour.java", "file_ext": "java"...
https://github.com/swarathesh/QuizAppRevised
210
FILENAME: QuestionFour.java
0.259826
package com.salyert.swarathesh.quizappfinal; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.CheckBox; public class QuestionFour extends AppCompatActivity { private CheckBox che...
825136c3-13e7-4f9c-9045-cefb03934927
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-10 18:42:19", "repo_name": "SHSourav/XinXian", "sub_path": "/Shop/app/src/main/java/com/xinxian/shop/ViewHolder/OrderListHolder.java", "file_name": "OrderListHolder.java", "file_ext": "java", "file_size_in_byt...
https://github.com/SHSourav/XinXian
182
FILENAME: OrderListHolder.java
0.259826
package com.xinxian.shop.ViewHolder; import android.view.View; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.xinxian.shop.R; public class OrderListHolder extends RecyclerView.ViewHolder implements View.OnClickListener { public...
9895b0d4-ff93-45d9-a06f-4cc61277fecf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-14 04:10:21", "repo_name": "Um-chankreas/E-Book-Center", "sub_path": "/app/src/main/java/com/example/bookcenter/ForumAdapter/ForumAdapter.java", "file_name": "ForumAdapter.java", "file_ext": "java", "file_size...
https://github.com/Um-chankreas/E-Book-Center
200
FILENAME: ForumAdapter.java
0.250913
package com.example.bookcenter.ForumAdapter; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentPagerAdapter; import java.util.ArrayList; import java.util.List; public class...
1aacd154-d014-418a-921c-2a01b8bf91d3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 11:29:16", "repo_name": "fighter321/learn-java", "sub_path": "/src/com/example/concurrenttest/CountDownLatchDemo.java", "file_name": "CountDownLatchDemo.java", "file_ext": "java", "file_size_in_byte": 978, ...
https://github.com/fighter321/learn-java
204
FILENAME: CountDownLatchDemo.java
0.29584
package com.example.concurrenttest; import java.util.concurrent.CountDownLatch; /** * @author wangxueqing */ public class CountDownLatchDemo { public static void main(String[] args) { CountDownLatchDemo countDownLatchDemo = new CountDownLatchDemo(); countDownLatchDemo.doTest(); } public void doTest(...
8e24bff5-be3e-4049-a26a-2e91d1e1d59e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-25 08:35:15", "repo_name": "jhun84/first_main", "sub_path": "/src/main/java/first/user/interceptor/UserInterceptor.java", "file_name": "UserInterceptor.java", "file_ext": "java", "file_size_in_byte": 1065, "li...
https://github.com/jhun84/first_main
189
FILENAME: UserInterceptor.java
0.236516
package first.user.interceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; public class UserInterceptor exte...
838076d7-2ddc-498c-a8f1-5d4558d66a25
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-26 06:10:23", "repo_name": "zlj0118/cloud-demo", "sub_path": "/repository-module/src/main/java/com/shopping/dev/entity/ItemDesc.java", "file_name": "ItemDesc.java", "file_ext": "java", "file_size_in_byte": 111...
https://github.com/zlj0118/cloud-demo
249
FILENAME: ItemDesc.java
0.239349
package com.shopping.dev.entity; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.sql.Timestamp; @Entity @Table(name = "tb_item_desc") public class ItemDesc { @Id private Long itemId; private String itemDesc; private java.sql.Timestamp created; priva...
82223ac4-8ae7-4244-8f68-826f5ba4152c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 01:27:40", "repo_name": "TimBastiaans/ExcelToJavaObject", "sub_path": "/src/main/java/nl/opinity/timbastiaans/interviewskilltest/domain/FootBallPlayersExcel.java", "file_name": "FootBallPlayersExcel.java", ...
https://github.com/TimBastiaans/ExcelToJavaObject
228
FILENAME: FootBallPlayersExcel.java
0.23092
package nl.opinity.timbastiaans.interviewskilltest.domain; import com.poiji.annotation.ExcelCellName; import com.poiji.annotation.ExcelRow; import lombok.Data; import nl.opinity.timbastiaans.interviewskilltest.enums.Positions; public @Data class FootBallPlayersExcel { @ExcelRow private int rowIndex; @Ex...
fd76a328-a18d-47e4-83d4-cf39f7a69e1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 08:06:17", "repo_name": "rajupraaa1234/MyLoginApp1", "sub_path": "/app/src/main/java/com/example/myloginapp/ui/WebServicesActivity.java", "file_name": "WebServicesActivity.java", "file_ext": "java", "file_s...
https://github.com/rajupraaa1234/MyLoginApp1
234
FILENAME: WebServicesActivity.java
0.290176
package com.example.myloginapp.ui; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.TextView; import com.example.myloginapp.FetchBook; import com.example.myloginapp.FetchBookTask; import com.example.myloginapp.R...
724d5d99-7be5-4b7e-96de-765c25d38438
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-11-17T09:05:29", "repo_name": "ericjs496/nodejs-learning-guide", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1714, "line_count": 48, "lang": "zh", "doc_type": "t...
https://github.com/ericjs496/nodejs-learning-guide
534
FILENAME: README.md
0.26588
## Nodejs学习笔记 Nodejs学习过程中的一些总结,包括:(请 [点击这里查看完整版](https://github.com/chyingp/nodejs-learning-guide) ),欢迎入群交流,群号 197339705 。 * 基础:核心模块常用API 的使用、注意事项。(含可执行的demo) * 进阶:项目实战经验总结,含常用框架、库介绍,从编码到服务端部署运维。 ## 目录如下 * [Introduction](README.md) * [内置模块](内置模块.md) * [资源压缩-zlib\(ok\)](模块/zlib.md) * [文件系统操作-fs](文件系统操作-fs.md) ...
5faf94fc-6f3e-4f22-a18a-243f0cfd1c96
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-11T00:10:32", "repo_name": "ThatOneAndres/TriviaGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 978, "line_count": 11, "lang": "en", "doc_type": "text", "b...
https://github.com/ThatOneAndres/TriviaGame
220
FILENAME: README.md
0.290981
# TriviaGame Trivia Game is a trvia game based on the popular HBO series *Game Of Thrones*. * There are a total of 10 question and they are given in a random order. * You have 20 seconds to answer each question or it will be marked as incorrect. * Upon timeout or answering a question you will get your result and answer...
0b1b0086-d0e4-4025-aeda-5629a80d7151
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 14:58:18", "repo_name": "Makoq/JavaWeb-Jquery-C3P0-DBCP", "sub_path": "/src/servlet/response/cfmServlet.java", "file_name": "cfmServlet.java", "file_ext": "java", "file_size_in_byte": 1219, "line_count": 48...
https://github.com/Makoq/JavaWeb-Jquery-C3P0-DBCP
229
FILENAME: cfmServlet.java
0.26971
package servlet.response; import cn.dsna.util.images.ValidateCode; import javax.imageio.ImageIO; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpSession; import java.awt.*; import java.awt.image.BufferedImage; import java.io.IOException; /** * @author K550JK */ public class cfmServlet exte...
9cc742d6-25b8-4861-8e42-04d372da3950
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-15 09:50:37", "repo_name": "dill21yu/DataX", "sub_path": "/kafkareader/src/main/java/com/alibaba/datax/plugin/reader/kafkareader/KafkaReaderErrorCode.java", "file_name": "KafkaReaderErrorCode.java", "file_ext"...
https://github.com/dill21yu/DataX
288
FILENAME: KafkaReaderErrorCode.java
0.245085
package com.alibaba.datax.plugin.reader.kafkareader; import com.alibaba.datax.common.spi.ErrorCode; public enum KafkaReaderErrorCode implements ErrorCode { TOPIC_ERROR("KafkaReader-01", "没有设置参数[topic]"), PARTITION_ERROR("KafkaReader-02", "没有设置参数[kafka.partitions]."), GET_TOPOLOGY_FAILED("KafkaReader-03", ...
94810b8d-f8ad-4248-bd50-e814bb9a019f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-01 03:17:22", "repo_name": "zhoujiamin33/localProject", "sub_path": "/ThirdProject/thirdproject/src/main/java/com/trkj/thirdproject/service/OpjournalServiceImpl.java", "file_name": "OpjournalServiceImpl.java",...
https://github.com/zhoujiamin33/localProject
228
FILENAME: OpjournalServiceImpl.java
0.286968
package com.trkj.thirdproject.service; import com.trkj.thirdproject.dao.OpjournalDao; import com.trkj.thirdproject.entity.Opjournal; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service @Slf4j p...
9643779b-6332-4a7a-93cb-41c82c2f2a70
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-29 14:52:47", "repo_name": "armangal/mbassador", "sub_path": "/src/main/java/org/mbassy/dispatch/MessagingContext.java", "file_name": "MessagingContext.java", "file_ext": "java", "file_size_in_byte": 1203, "li...
https://github.com/armangal/mbassador
252
FILENAME: MessagingContext.java
0.264358
package org.mbassy.dispatch; import org.mbassy.IMessageBus; import org.mbassy.listener.MessageHandlerMetadata; /** * The messaging context holds all data/objects that is relevant to successfully publish * a message within a subscription. A one-to-one relation between a subscription and * MessagingContext holds -> ...
4bea3fce-0c4a-4dd7-a624-d87a6521d834
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-16 14:38:19", "repo_name": "Sztzoli/training-solutions", "sub_path": "/src/main/java/week05d05/Song.java", "file_name": "Song.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 44, "lang": "en...
https://github.com/Sztzoli/training-solutions
224
FILENAME: Song.java
0.295027
package week05d05; public class Song { private String name; private long lengthInSecond; private String artist; public Song(String name, long lengthInSecond, String artist) { if (isEmpty(name) || isEmpty(artist)){ throw new IllegalArgumentException("Wrong name or artist"); ...
414a9ee9-3d85-4bb8-85a4-7c01063b6b50
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-06T14:42:53", "repo_name": "shiftyman/ketty", "sub_path": "/ketty-srv/src/main/java/com/dempe/ketty/srv/ketty/KettyServerContext.java", "file_name": "KettyServerContext.java", "file_ext": "java", "file_size_in...
https://github.com/shiftyman/ketty
234
FILENAME: KettyServerContext.java
0.262842
package com.dempe.ketty.srv.ketty; import com.dempe.ketty.protocol.KettyRequest; import com.dempe.ketty.srv.KettyServer; import com.dempe.ketty.srv.core.ServerContext; import io.netty.channel.ChannelHandlerContext; /** * Created with IntelliJ IDEA. * User: Dempe * Date: 2015/11/4 * Time: 13:47 * To change this t...
1fe50677-4593-4b6d-ab8c-4f0b5397c0f7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 20:38:47", "repo_name": "erensayar/jms-demo-with-rabbitmq", "sub_path": "/src/main/java/com/erensayar/jmsdemo/publish/MessageSender.java", "file_name": "MessageSender.java", "file_ext": "java", "file_size_i...
https://github.com/erensayar/jms-demo-with-rabbitmq
197
FILENAME: MessageSender.java
0.218669
package com.erensayar.jmsdemo.publish; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.core.JmsTemplate; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Service; import javax.jms.Connection; import javax.jms.ConnectionFact...
8ba72f7c-c8ed-4fd4-9f86-ddc3e0c623e4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-12 13:09:29", "repo_name": "ChenViVi/Shop", "sub_path": "/src/main/java/com/keeper/controller/admin/AdminItemController.java", "file_name": "AdminItemController.java", "file_ext": "java", "file_size_in_byte": ...
https://github.com/ChenViVi/Shop
210
FILENAME: AdminItemController.java
0.26588
package com.keeper.controller.admin; import com.keeper.repository.ItemRepository; import com.keeper.repository.ItemTypeRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind...
239e9561-a822-4b9c-ac66-fc6b2cddbf4b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-08 04:36:34", "repo_name": "truongcpqn2421998/IO_CopyFile", "sub_path": "/src/CopyFile.java", "file_name": "CopyFile.java", "file_ext": "java", "file_size_in_byte": 1203, "line_count": 41, "lang": "en", "doc_t...
https://github.com/truongcpqn2421998/IO_CopyFile
205
FILENAME: CopyFile.java
0.267408
import java.io.*; public class CopyFile { public static void main(String[] args) { File file=null; FileReader fileReader=null; FileWriter fileWriter=null; BufferedReader bufferedReader = null; try { file=new File("champ.txt"); if(!file.exists()){ ...
6dad016e-28c7-490e-8012-92955a7ef6a5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-12 23:27:15", "repo_name": "alenricapost/Software_RobotV", "sub_path": "/app/src/main/java/robotv/srp/robotv/MySingleton.java", "file_name": "MySingleton.java", "file_ext": "java", "file_size_in_byte": 989, "l...
https://github.com/alenricapost/Software_RobotV
200
FILENAME: MySingleton.java
0.275909
package robotv.srp.robotv; /** * Created by Matheus on 02/10/2017. */ import android.content.Context; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.toolbox.Volley; public class MySingleton { private static MySingleton myInstance; private RequestQueue ...
2afafdbd-89ff-44de-903f-fb22ce0effe3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-26 08:41:41", "repo_name": "wachowiak/vert.x", "sub_path": "/src/main/java/org/wachowiak/vertx/server/Runner.java", "file_name": "Runner.java", "file_ext": "java", "file_size_in_byte": 1202, "line_count": 45, ...
https://github.com/wachowiak/vert.x
255
FILENAME: Runner.java
0.281406
package org.wachowiak.vertx.server; import io.vertx.core.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.function.Consumer; public final class Runner { private static final Logger LOGGER = LoggerFactory.getLogger(Runner.class); public static void runVerticle(Class<? extends Ver...
0404753a-a8f4-42f6-ad6a-dd2dbd5df651
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-12 15:53:15", "repo_name": "mina-raina-choi/findJuyouso", "sub_path": "/app/src/main/java/com/example/minachoi/findjuyou/adapter/ViewPagerAdapter.java", "file_name": "ViewPagerAdapter.java", "file_ext": "java"...
https://github.com/mina-raina-choi/findJuyouso
235
FILENAME: ViewPagerAdapter.java
0.255344
package com.example.minachoi.findjuyou.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 com.example.minachoi.findjuyou.fragment.MapFragment; import com.example.minachoi...