id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
77bc60ce-1679-41e2-994c-db89acaeb3be
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-12-30T09:10:50", "repo_name": "titarenko/OracleFiddler", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 11, "lang": "en", "doc_type": "text", "bl...
# Oracle Fiddler # Want to get rid of several routine tasks connected with development using Oracle server? Try using this app! ## Goals ## * C# entity class generation * C# entity mapping generation * recent SQL execution statistics (some kind of profiling) * handy way of inspecting DB content (filterable, pageable...
58f8651a-a0ae-4748-abf5-62090c2cbe01
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-04 22:31:51", "repo_name": "danielamador/ai_assignment_1", "sub_path": "/src/ai_assignment_1/Cell.java", "file_name": "Cell.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 31, "lang": "en", ...
package ai_assignment_1; public class Cell { public boolean state;//True for Dirty, False for clean public String label; Cell nextUp; Cell nextLeft; Cell nextDown; Cell nextRight; //this will be used just for the vacuum cleaner memory. I don't want to use //inheritance there to create just one attribute //0...
eb6d709b-504b-4e81-881f-a323846b9dd8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-02-28 18:46:31", "repo_name": "HarounGY/pscript-lang", "sub_path": "/WurstEdit/src/de/peeeq/wurst/projectcontrol/ProjectPropertiesPersistance.java", "file_name": "ProjectPropertiesPersistance.java", "file_ext": "...
package de.peeeq.wurst.projectcontrol; import java.io.File; import java.io.IOException; import com.google.common.base.Charsets; import com.google.common.io.Files; import com.google.gson.Gson; public class ProjectPropertiesPersistance { static public void saveProperties(ProjectProperties p, String fileName) throws ...
8be0407c-f8f1-4c66-9d0a-7320ac0b9cdd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-29 07:27:18", "repo_name": "robsmok/smoku-project", "sub_path": "/core/src/com/mygdx/game/ScoreBox.java", "file_name": "ScoreBox.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 49, "lang": "...
/* * 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.mygdx.game; /** * * @author r.smoter */ public class ScoreBox { private int score; public Score...
2d12ce43-83a1-4e8f-afc4-c9e86c7bd458
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-08 14:00:10", "repo_name": "Voldemar123/android-cat-forecast", "sub_path": "/android-cat-forecast/src/com/cat_forecast/DependencyProvider.java", "file_name": "DependencyProvider.java", "file_ext": "java", "fil...
package com.cat_forecast; import org.droidparts.AbstractDependencyProvider; import org.droidparts.net.image.ImageFetcher; import org.droidparts.persist.sql.AbstractDBOpenHelper; import android.content.Context; public class DependencyProvider extends AbstractDependencyProvider { private ImageFetcher imageFetcher; ...
0e9b2d6d-47a4-4d88-8694-b4c129090a92
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 05:35:54", "repo_name": "NTRsolutions/Insurance", "sub_path": "/app/src/main/java/com/insurance/bluescheme/insure/model/DrawerMenu.java", "file_name": "DrawerMenu.java", "file_ext": "java", "file_size_in_by...
package com.insurance.bluescheme.insure.model; /** * Created by tonmoybarua on 11-Apr-17. */ public class DrawerMenu { String menu_title; int menu_imageid; public DrawerMenu(String menu_title, int menu_imageid) { this.menu_title = menu_title; this.menu_imageid = menu_imageid; } ...
7fd66810-740f-4c37-b2e4-237bea5c0e0b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-07-04 10:01:29", "repo_name": "victorcai0922/SeleniumFitnesseProject", "sub_path": "/src/test/java/com/LoginPageTest.java", "file_name": "LoginPageTest.java", "file_ext": "java", "file_size_in_byte": 656, "line_c...
/** * */ package com; import com.browserdriver.BrowerDriver; import com.common.Driver; import com.operation.OperationImpl; /** * @author dell * */ public class LoginPageTest { public static void main(String[] args) { // BrowerDriver // .setSystemProperty( // "webdriver.chrome.driver", // "C:\\U...
ee809b6b-a458-4864-b7af-3fec2f288f7c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 04:36:48", "repo_name": "hunghly/adventure-game", "sub_path": "/src/Monster.java", "file_name": "Monster.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 35, "lang": "en", "doc_type": "cod...
public class Monster { private String name; private int health; private int attack; private int defense; public Monster(String name, int health, int attack, int defense) { this.name = name; this.health = health; this.attack = attack; this.defense = defense; } ...
bb437a21-5ac6-4799-becc-90f1c44b26b3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 10:30:29", "repo_name": "alireza-ebrahimi/telegram-talaeii", "sub_path": "/5.3.5/sources/org/apache/commons/lang3/tuple/ImmutablePair.java", "file_name": "ImmutablePair.java", "file_ext": "java", "file_size...
package org.apache.commons.lang3.tuple; public final class ImmutablePair<L, R> extends Pair<L, R> { private static final long serialVersionUID = 4954918890077093841L; public final L left; public final R right; public static <L, R> ImmutablePair<L, R> of(L left, R right) { return new ImmutableP...
63b79be4-d336-4fa9-befa-4c142c9c05e2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-04 11:02:40", "repo_name": "MilindSuryawanshi/ImagePreservative", "sub_path": "/app/src/main/java/com/f9/imagetagging/activites/imageshelve/data/ImageData.java", "file_name": "ImageData.java", "file_ext": "jav...
package com.f9.imagetagging.activites.imageshelve.data; /** * Created by Milind Suryawanshi on 5/9/16. */ public class ImageData { private String imgPath; private int imgSmiley; public ImageData(String _imgPath, int _imgSmiley){ this.imgPath = _imgPath; this.imgSmiley = _imgSmiley; }...
a9f5d4b9-6ed5-4a5c-905e-af246714c9cc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-09 23:41:39", "repo_name": "ActivatorGmbH/infinicast-sdk-java", "sub_path": "/src/main/java/io/infinicast/InfinicastServerAddress.java", "file_name": "InfinicastServerAddress.java", "file_ext": "java", "file_s...
package io.infinicast; import java.net.InetSocketAddress; public class InfinicastServerAddress extends TcpEndpointAddress { private String address; public InfinicastServerAddress(String addressString) { super(addressString); this.address = addressString; } public InfinicastServerAddr...
41d839d3-a3a6-4597-9a6e-fdc47681b263
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-17 17:52:56", "repo_name": "cbill101/ski-lift", "sub_path": "/app/src/main/java/com/example/skilift/viewmodels/ChatVM.java", "file_name": "ChatVM.java", "file_ext": "java", "file_size_in_byte": 656, "line_coun...
package com.example.skilift.viewmodels; import androidx.lifecycle.LiveData; import androidx.lifecycle.ViewModel; import com.example.skilift.models.ChatItem; import com.example.skilift.models.User; import java.util.ArrayList; public class ChatVM extends ViewModel { private static final String TAG = "ChatVM"; ...
e49184d5-efcf-42d8-89fd-c79b941e176d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-26 17:10:30", "repo_name": "GroupArtKib/AppDev", "sub_path": "/LighweightGroup11/app/src/main/java/com/example/lighweightgroup11/Welcome.java", "file_name": "Welcome.java", "file_ext": "java", "file_size_in_by...
package com.example.lighweightgroup11; import androidx.appcompat.app.AppCompatActivity; import android.content.SharedPreferences; import android.os.Bundle; import android.widget.TextView; public class Welcome extends AppCompatActivity { TextView disp; @Override protected void onCreate(Bundle savedInstan...
44769ba0-7f1f-4152-854e-a5d941c9d597
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-22 15:08:45", "repo_name": "dafefuve/JavaBoardGame_Iter_3", "sub_path": "/Iter3/src/controller/actions/CommitPlanningAction.java", "file_name": "CommitPlanningAction.java", "file_ext": "java", "file_size_in_by...
package controller.actions; import controller.Facade; import controller.GameStateManager; import javax.swing.*; import java.awt.event.ActionEvent; /** * Created by alexbujduveanu on 4/22/14. */ public class CommitPlanningAction extends AbstractAction { private GameStateManager gameStateManager; private Fa...
81d8cc56-c9b2-4362-9370-8f5a6d72a332
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-04 14:48:48", "repo_name": "Anyzm/publicWeChat", "sub_path": "/src/main/java/com/anyzm/wechat/test/WeixinTest.java", "file_name": "WeixinTest.java", "file_ext": "java", "file_size_in_byte": 668, "line_count": ...
package com.anyzm.wechat.test; import com.anyzm.wechat.util.WeixinUtil; public class WeixinTest { public static void main(String[] args) { try { //GetToken token = WeixinUtil.getAccessToken(); //System.out.println("票据"+token.getToken()); //System.out.println("有效时间"+token.getExpiresIn()); //String p...
01081d08-bcf1-45fe-ba78-8f29f60f1e50
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 23:45:56", "repo_name": "S1L1NC3/Mobillium", "sub_path": "/app/src/main/java/com/dmd/mobillumandroidchallenge/activities/ApiClient.java", "file_name": "ApiClient.java", "file_ext": "java", "file_size_in_byt...
package com.dmd.mobillumandroidchallenge.activities; import okhttp3.OkHttpClient; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; public class ApiClient { private static Retrofit retrofit=null; public static Retrofit getClient(){ if(retrofit== null){ Strin...
ba057e04-783d-4692-9a13-9cc48667e6fa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-07 14:10:37", "repo_name": "raduandritoiu/gitProjects", "sub_path": "/RaduA_gate_two/DataTool/VSSTDataInterpolater/src/siemens/vsst/data/models/metadata/AccessoryPneumMetadata.java", "file_name": "AccessoryPne...
/* * 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 siemens.vsst.data.models.metadata; /** * * @author User */ public class AccessoryPneumMetadata { private String partNumber...
f40d9bd0-559a-4e7e-b7c5-753b683be9af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-23 12:51:46", "repo_name": "Vitryssen/Java4", "sub_path": "/src/labb4/Main/Sortbynick.java", "file_name": "Sortbynick.java", "file_ext": "java", "file_size_in_byte": 657, "line_count": 22, "lang": "en", "doc_t...
/* * 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 labb4.Main; import labb4.DataStructures.Friend; import java.util.Comparator; /** * * @author André */ public class Sortbyn...
e5e8353f-0746-42be-a66a-740625b7d0cd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-30T12:17:15", "repo_name": "CodeChallenger/CodeChallenger-CLI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 11, "lang": "en", "doc_type": "...
CodeChallenger-CLI [![CodeChallenger-CLI on Travis](https://travis-ci.org/CodeChallenger/CodeChallenger-CLI.svg?branch=master)](http://travis-ci.org/CodeChallenger/CodeChallenger-CLI) ================== #### CLI to generate new challenges. ### Getting started 1. Clone the repo to your local machine and move into the d...
e6225e06-eaba-416a-bb5c-b160778f3a27
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-25T11:32:12", "repo_name": "jedaademola/MODERN-PROGRAMMING-PRACTICES", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 674, "line_count": 26, "lang": "en", "doc_t...
MODERN-PROGRAMMING-PRACTICES MPP is to learn how to translate user software requirements into Object Oriented Analysis, Design, and implementation using JAVA advance features tailored to the industry standards with in an order, as the Order is present everywhere. Topics include: • Objects and classes • Analysis o...
1cd2cf31-9177-4ec9-b1c2-730491596895
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 15:50:04", "repo_name": "JVVladimir/DB-library", "sub_path": "/src/main/java/replication/model/consolidation/Accounting.java", "file_name": "Accounting.java", "file_ext": "java", "file_size_in_byte": 656, "...
package replication.model.consolidation; import lombok.Getter; import lombok.ToString; import replication.model.sharing.BooksInLibrary; import javax.persistence.*; import java.time.LocalDate; @Entity @Table(name = "accounting") @Getter @ToString public class Accounting { @EmbeddedId private AccountingId id;...
b1e3ea55-75d7-4d31-91f4-a7367375e79e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-03 14:23:03", "repo_name": "olafo7/typhoon", "sub_path": "/portal/src/main/java/org/chencc/service/impl/CommonServiceImpl.java", "file_name": "CommonServiceImpl.java", "file_ext": "java", "file_size_in_byte": ...
package org.chencc.service.impl; import org.chencc.mapper.CommonMapper; import org.chencc.service.CommonService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; /** * @Description * @author...
cea8ad9c-e839-44d1-9b82-aea719db0240
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-27 09:09:02", "repo_name": "zidanpiaoguo/Bullet", "sub_path": "/commonbase/src/main/java/com/lzy/commonbase/network/NetUtils.java", "file_name": "NetUtils.java", "file_ext": "java", "file_size_in_byte": 656, "...
package com.lzy.commonbase.network; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import com.lzy.commonbase.app.GlobalApplication; /** * * Created by bullet on 2018\10\22 0022. */ public class NetUtils { public static boolean isNetworkConnected() {...
7950feb5-cb02-4177-8039-770383c8dd65
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-05-24 18:34:56", "repo_name": "hanut/textor", "sub_path": "/src/com/jacknife/Note.java", "file_name": "Note.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 44, "lang": "en", "doc_type": "code",...
package com.jacknife; public class Note{ private String path; private String name; private String text; public Note(){ super(); } public Note(String name,String path,String text) { super(); this.setPath(path); this.setName(name); this.setTe...
ec256a89-b194-4055-8da2-065da17676b4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-03 17:48:45", "repo_name": "AminosDz/I-bin", "sub_path": "/app/src/main/java/dz/cdta/smartbin/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 32, "lang": "en",...
package dz.cdta.smartbin; public class User { public String username; private String photoUrl; public User() { // Default constructor required for calls to DataSnapshot.getValue(User.class) } public User(String username, String photoUrl) { this.username = username; this.p...
eed64e80-a4bf-42f6-9a08-1ac5e401be1d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-19 12:37:55", "repo_name": "java64/SI-IP-SERVIDOR", "sub_path": "/src/protocolosirvent/IpPublica.java", "file_name": "IpPublica.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 32, "lang": "e...
package protocolosirvent; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; /** * * @author Miguel Angel Flores Sirvent */ public class IpPublica { String ip; public IpPublica() throws MalformedURLExcep...
9223b805-2a22-4edb-a00b-cfe6ad60e7c0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-13 13:11:38", "repo_name": "darco2018/tutorial_ranking", "sub_path": "/src/test/java/pl/ust/tr/skill/SkillTest.java", "file_name": "SkillTest.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": ...
package pl.ust.tr.skill; import org.junit.Test; import pl.ust.tr.skill.Skill; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; public class SkillTest { @Test public void testConstructorAndGetters() throws Exception { Skill skill= new Skill("DO","name"); assertThat(ski...
3b615de4-e367-441e-8c68-466edb6b59dc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 14:24:40", "repo_name": "lhhxsm/ExZone", "sub_path": "/ExZoneLib/src/main/java/com/exzone/lib/rxjava/transformers/CoalesceTransformer.java", "file_name": "CoalesceTransformer.java", "file_ext": "java", "fil...
package com.exzone.lib.rxjava.transformers; import android.support.annotation.NonNull; import rx.Observable; import rx.functions.Func1; /** * 合并变换 */ public final class CoalesceTransformer<T> implements Observable.Transformer<T, T> { private final T theDefault; public CoalesceTransformer(final @NonNull T theDe...
3f4a46fb-3a34-4d61-b2dd-3c83f0e1f99a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 13:43:48", "repo_name": "lagom/lagom", "sub_path": "/testkit/javadsl/src/test/java/com/lightbend/lagom/javadsl/testkit/services/BetaEvent.java", "file_name": "BetaEvent.java", "file_ext": "java", "file_size...
/* * Copyright (C) Lightbend Inc. <https://www.lightbend.com> */ package com.lightbend.lagom.javadsl.testkit.services; public class BetaEvent { private final int code; public BetaEvent(int code) { this.code = code; } public int getCode() { return code; } @Override public boolean equals(Obj...
9610d104-cee8-42bd-bf32-3c6364d09b46
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-29 02:59:10", "repo_name": "1091199196/test", "sub_path": "/src/main/java/com/zf/world/IcController.java", "file_name": "IcController.java", "file_ext": "java", "file_size_in_byte": 661, "line_count": 30, "lan...
package com.zf.world; import com.zf.world.ic.pojo.User; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBody; import java.util.Date; @Controller public class IcController { @GetMapping("/test") ...
6b7f6b97-15ee-4f10-b298-ff735e386c26
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-22 09:40:38", "repo_name": "imalchandika/BookShopManagementSystem", "sub_path": "/1_Demo/src/lk/ijse/dep/BookShop/idGeni/IDController.java", "file_name": "IDController.java", "file_ext": "java", "file_size_in_...
package lk.ijse.dep.BookShop.idGeni; import lk.ijse.dep.BookShop.db.DBConnection; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; public class IDController { public static String getLastID(String tableName,String colName) throws Exception{ String SQL="SELECT "+colName+" ...
c190f697-0271-41e7-b8b0-bc2eac975c8b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-22 13:18:33", "repo_name": "sameer-sarmah/algorithm", "sub_path": "/Algorithm/src/tree/rb/RBTreeNode.java", "file_name": "RBTreeNode.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 41, "lang...
package tree.rb; import tree.TreeNode; public class RBTreeNode<T extends Comparable<T>> extends TreeNode<T> { private NodeColor color; private int maxBlockNodeCountInLST,maxBlockNodeCountInRST; public RBTreeNode(T value, RBTreeNode<T> left, RBTreeNode<T> right, RBTreeNode<T> parent) { super(value, left, ...
58fb4586-8821-48fd-88a3-ba7f45d2465d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-11 20:25:15", "repo_name": "wgcv/Ayudantias-Poo", "sub_path": "/Clase2 Pokemon/Repaso2.java", "file_name": "Repaso2.java", "file_ext": "java", "file_size_in_byte": 666, "line_count": 37, "lang": "en", "doc_typ...
/** * @(#)Repaso2.java * * * @author * @version 1.00 2014/11/13 */ import java.util.Scanner; public class Repaso2 { /** * Creates a new instance of <code>Repaso2</code>. */ public Repaso2() { } /** * @param args the command line arguments */ public stat...
f6d0d638-90c7-419d-be54-fc73397bd405
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-05T02:39:14", "repo_name": "soon14/StudyAfterSchool", "sub_path": "/VM/Docker/doc/error.md", "file_name": "error.md", "file_ext": "md", "file_size_in_byte": 876, "line_count": 26, "lang": "zh", "doc_type":...
<!-- * @Author: wjn * @Date: 2020-09-06 12:33:27 * @LastEditors: wjn * @LastEditTime: 2020-09-06 14:14:32 --> * 容器启动后就停止 docker 需要有个前台进程,如果定义的容器命令是后台进程,进程运行结束docker就会停止容器 除去java -jar 后的& * Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I D...
f5f745f2-9bd7-401d-a6d9-fb6b28ae4c88
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 07:10:57", "repo_name": "konakonall/oneboxReporter", "sub_path": "/src/main/java/com/qcloud/ut_result_sender/ut_result_parse/IOSTestParser.java", "file_name": "IOSTestParser.java", "file_ext": "java", "file...
package com.qcloud.ut_result_sender.ut_result_parse; import com.qcloud.ut_result_sender.meta.CodeCoverage; import org.json.JSONObject; import java.io.File; public class IOSTestParser implements Parser<CodeCoverage> { @Override public CodeCoverage parse(File report) { String content = Util.loadConten...
993bf878-e6e8-4fd9-b193-f789af9d54c5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-14 12:37:30", "repo_name": "MintyMonster/MobContracts", "sub_path": "/src/main/java/uk/co/minty_studios/mobcontracts/papi/placeholders/EpicSlainPlaceholder.java", "file_name": "EpicSlainPlaceholder.java", "fil...
package uk.co.minty_studios.mobcontracts.papi.placeholders; import org.bukkit.entity.Player; import uk.co.minty_studios.mobcontracts.database.DatabaseManager; public class EpicSlainPlaceholder implements Placeholder { private final DatabaseManager databaseManager; public EpicSlainPlaceholder(DatabaseManager...
1bc299af-7860-40e6-89ad-4ec47199bb09
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-16 04:52:41", "repo_name": "githubk1280/magic-web", "sub_path": "/src/main/java/com/magic/service/Kuai3Service.java", "file_name": "Kuai3Service.java", "file_ext": "java", "file_size_in_byte": 655, "line_count...
package com.magic.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.magic.dao.Kuai3Dao; import com.magic.domain.PercentageData; import com.magic.domain.TermData; @Service public class Kuai3Service { @Autowired p...
fa40f36d-6d64-447c-a15d-7741beec1ddc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 13:38:59", "repo_name": "fatezy/arithmetic", "sub_path": "/src/leetcode/BinarySearch/FindMin_153.java", "file_name": "FindMin_153.java", "file_ext": "java", "file_size_in_byte": 665, "line_count": 29, "lang...
package leetcode.BinarySearch; /** * author: 张亚飞 * time:2016/4/27 16:30 */ //Suppose a sorted first.leetCode.array is rotated at some pivot unknown to you beforehand. // // (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). // // Find the minimum element. // // You may assume no duplicate exist...
e23cf89b-f6f9-4685-8785-ef6d571f87ad
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 17:54:14", "repo_name": "lovababu/tinyurl-service", "sub_path": "/src/main/java/org/avol/tinyservice/common/exception/ServiceException.java", "file_name": "ServiceException.java", "file_ext": "java", "file_...
package org.avol.tinyservice.common.exception; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.avol.tinyservice.common.error.ErrorCode; /** * @author Durga, Padala on 10/06/18. */ @Slf4j public class ServiceException extends RuntimeException { @Getter private ErrorCode errorCode; pu...
fef8adaa-4c3a-406f-92cd-7105849a0002
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-12 05:49:25", "repo_name": "RaggedyCoder/v360Services", "sub_path": "/src/main/java/com/thevolume360/domain/enums/ClientType.java", "file_name": "ClientType.java", "file_ext": "java", "file_size_in_byte": 656,...
package com.thevolume360.domain.enums; public enum ClientType { COMPANY("Company", "CM"), PERSON("person", "PR"); private String label; private String shortCode; private ClientType(String label, String shortCode) { this.label = label; this.shortCode = shortCode; } /** * @return the label ...
689a3fe0-b880-459f-a9fa-67c3cefc4c35
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-03 13:48:05", "repo_name": "cuileikun/AndroidBase", "sub_path": "/app/src/main/java/com/cuileikun/androidbase/javaactivity/twenty/day20_IO/Demo.java", "file_name": "Demo.java", "file_ext": "java", "file_size_i...
package com.cuileikun.androidbase.javaactivity.twenty.day20_IO; import java.io.FileWriter; import java.io.IOException; /** * Created by Admin on 2017/6/18. */ public class Demo { public static void main(String[] args) { FileWriter fw=null; try { fw = new FileWriter("k.txt"); ...
ac77b33a-e15a-4ab1-8a9d-61bc8c9bf6e6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-31 09:32:47", "repo_name": "princekumar21/Data-Structures-and-Algorithms", "sub_path": "/timeAndSpace/mergeSort.java", "file_name": "mergeSort.java", "file_ext": "java", "file_size_in_byte": 655, "line_count":...
import java.util.*; public class mergeSort { public static void main(){ } public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int arr1[] = new int[n]; for(int i = 0; i < arr1.length; i++){ arr1[i] =...
1e4b31d9-9d37-4a80-8d12-ac7b17c47c88
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-28 19:24:00", "repo_name": "cpayanf/EjRecycler", "sub_path": "/app/src/main/java/com/indicode/cpayanf/ejrecycler/Adapter/PageAdapter.java", "file_name": "PageAdapter.java", "file_ext": "java", "file_size_in_by...
package com.indicode.cpayanf.ejrecycler.Adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.ArrayList; /** * Created by cpayan on 21/02/18. */ public class PageAdapter extends FragmentPagerAdapter { p...
5328be19-4da8-48b1-b9de-12d3d1768498
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-17 05:57:33", "repo_name": "CleverstarMobilecodes/firefighter-manish", "sub_path": "/app/src/main/java/com/firefighterscalendar/utils/MyGcmListenerService.java", "file_name": "MyGcmListenerService.java", "file...
package com.firefighterscalendar.utils; import android.os.Bundle; import android.util.Log; import com.google.android.gms.gcm.GcmListenerService; public class MyGcmListenerService extends GcmListenerService { private Utility utility; @Override public void onMessageReceived(String from, Bundle bundle) { ...
927ab566-ec0b-4999-8ce7-cc9b9122d7a0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-25 09:07:58", "repo_name": "zhangxian/yyQuartzWeb-1", "sub_path": "/src/main/java/com/sf/integration/expressservice/response/RouteResponse.java", "file_name": "RouteResponse.java", "file_ext": "java", "file_si...
package com.sf.integration.expressservice.response; import java.util.List; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class RouteResponse { private String mailno; private List<Rou...
a1b9aa39-72bb-45da-8695-365a27b5316b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-13T05:54:28", "repo_name": "samaystops4no1/Snake-Javascript", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 14, "lang": "en", "doc_type": "te...
# Snake Game This is a web based version of the historic snake game. The snake game is solely based on javascript. This game is currently being hosted on Heroku cloud platform. Game Url: [PLAY THE GAME HERE](https://yellowsnake.herokuapp.com) Instructions for the Game: ------------------------ * Use arrow keys to mov...
a4108bb5-6289-4b2c-ab1e-cafdef13d2ba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-30 12:19:14", "repo_name": "hcoles/pitest", "sub_path": "/pitest-entry/src/main/java/org/pitest/sequence/EmptyContext.java", "file_name": "EmptyContext.java", "file_ext": "java", "file_size_in_byte": 655, "lin...
package org.pitest.sequence; import java.util.Optional; /** * Specialisation of context with no data */ enum EmptyContext implements Context { WITHOUT_DEBUG(false), WITH_DEBUG(true); private final boolean debug; EmptyContext(boolean debug) { this.debug = debug; } @Override pu...
b8db2d4e-026e-482a-8590-3a90a2b46ce0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-02T16:09:03", "repo_name": "geoffreyDalfin/docker-aspnetcore-couchbase", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 33, "lang": "en", "doc...
# docker-core-couchbase Testing service with asp net core and couchbase in docker-compose container ### Installing A step by step how to running project build project ``` docker-compose up --build ``` ## Demo First, you will need to create the couchbase cluster. Launch in your browser : http://localhost:8091/ui/...
9c38da9b-a34c-4e1b-8787-02ab16cbd23d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 08:25:00", "repo_name": "LetsCloud/mws", "sub_path": "/mws-shared/src/main/java/io/crs/mws/shared/dto/auth/AuthResponse.java", "file_name": "AuthResponse.java", "file_ext": "java", "file_size_in_byte": 655,...
/** * */ package io.crs.mws.shared.dto.auth; import io.crs.mws.shared.dto.Dto; /** * @author robi * */ @SuppressWarnings("serial") public class AuthResponse implements Dto { private String accessToken; private String tokenType = "Bearer"; public AuthResponse() { } public AuthResponse(String accessToken) ...
63f378d4-64a6-4465-ae0a-09ca7fd1ac6a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 17:01:45", "repo_name": "Gopikrishnagithub-95/Testgit1", "sub_path": "/Programs/src/com/java/PreserveSpaceString.java", "file_name": "PreserveSpaceString.java", "file_ext": "java", "file_size_in_byte": 655,...
/** * */ package com.java; /** * @author gopi * */ public class PreserveSpaceString { /** * @param args */ public static void main(String[] args) { reverseString("I Am Not String"); } private static void reverseString(String str) { char[] c1=str.toCharArray(); char s='a'; Character.isUppe...
7516d26b-49dd-480e-887b-33498c2da706
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-15 20:49:33", "repo_name": "allancruvinel/eclipse-training", "sub_path": "/ExercPOO11_Interfaces/src/module/entities/Installment.java", "file_name": "Installment.java", "file_ext": "java", "file_size_in_byte":...
package module.entities; import java.text.SimpleDateFormat; import java.util.Date; public class Installment { private Date payment; private SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); private double payValue; public Installment() { } public Installment(Date payment, Double payValue) { th...
4e6f46a9-8cf8-4411-b6aa-13024c918f65
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-23 20:53:37", "repo_name": "WASDi/Mall-Maniacs-reverse-engineer", "sub_path": "/app/src/main/java/senfile/factories/ObjiFactory.java", "file_name": "ObjiFactory.java", "file_ext": "java", "file_size_in_byte": ...
package senfile.factories; import senfile.parts.Obji; import senfile.parts.elements.ObjiElement; import java.nio.ByteBuffer; public class ObjiFactory { public static final int BYTES_PER_OBJI_ELEMENT = 32; public static Obji parseFromBufferPosition(ByteBuffer buffer) { int bytesLeft = buffer.getInt(...
38699081-64b8-405d-9f8c-837706de2e00
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-26T14:27:28", "repo_name": "smitchell/cloud-foundry-angular-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 658, "line_count": 20, "lang": "en", "doc_ty...
#Cloud Foundry Angular Example This is one of three projects referenced by https://github.com/spring-projects/spring-security-oauth/issues/1676 1) https://github.com/smitchell/cloud-foundry-angular-example 2) https://github.com/smitchell/spring-boot-netflix-zuul-proxy 3) https://github.com/smitchell/spring-security-5-...
55e3ae51-3910-4c58-8488-bb733d38b2c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-30 08:48:31", "repo_name": "ningzyu/JavaWeb", "sub_path": "/src/cn/wintec/nzy/util/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 30, "lang": "en", ...
package cn.wintec.nzy.util; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtils { public static String getCurrentTime(String pattern) { String datetime = ""; SimpleDateFormat df = new SimpleDateFormat(pattern); datetime = df.format(new Date()); return datetime; } public stat...
0e62ef24-31b2-437b-b7d9-7975bdaabf69
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-27T05:11:32", "repo_name": "vito24/gatsby-theme-antd-docs", "sub_path": "/www/docs/getting-started.en-US.md", "file_name": "getting-started.en-US.md", "file_ext": "md", "file_size_in_byte": 655, "line_coun...
--- order: 1 title: Getting Started type: Introduction --- This is a [Gatsby](https://www.gatsbyjs.org/) theme to build document site like [Ant Design](https://ant.design) quickly. > Before you start, you should firstly learn [Gatsby](https://www.gatsbyjs.org/) and [Gatsby Themes](https://www.gatsbyjs.org/docs/themes...
5b903975-888b-4788-999d-b41ce049b356
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-18 09:58:41", "repo_name": "marco300596/esame18-02-2021", "sub_path": "/src/logic/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 39, "lang": "en", "doc_ty...
package logic; public class Person { private String name; private String surname; private String address; private String nCard; public Person(String name, String surname, String address, String ncard) { setName(name); setSurname(surname); setAddress(address); setnCard(ncard); } ...
1ae70cd0-f160-49dd-aad7-8f6b78874996
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2009-05-01 05:23:09", "repo_name": "kongmingqq/15446project2", "sub_path": "/PartyTracerServer/src/edu/cmu/partytracer/model/database/Model.java", "file_name": "Model.java", "file_ext": "java", "file_size_in_byte": 65...
package edu.cmu.partytracer.model.database; public class Model { private InvitationDAO invitationDAO; private CreateTableDAO createTableDAO; private PartyTracerPool connPool; public Model(String jdbcDriver, String jdbcURL){ try { connPool = new PartyTracerPool(jdbcDriver, jdbcURL); invitationDAO...
7bfc9819-5733-4d9b-af0b-34f65a555559
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-25 07:37:21", "repo_name": "dineshkummarc/qat-2.7.1-src", "sub_path": "/src/qat/parser/qashparser/QASHTree.java", "file_name": "QASHTree.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 38, "...
package qat.parser.qashparser; import java.lang.Object; import qat.parser.qashparser.QASHToken; public class QASHTree extends Object { public QASHTree parent, left, right; public QASHToken value; public QASHTree() { this.parent = null; this.value = null; left = null; right = null; } public QASHTre...
6b0b99f6-78d7-4dea-82ab-b7e765124a46
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-24 15:49:16", "repo_name": "nogovitsyndmitriy/BookingService", "sub_path": "/src/entity/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 656, "line_count": 35, "lang": "en", "...
package entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; @Data @AllArgsConstructor @NoArgsConstructor public class Client implements Serializable { String name; String lastName; String age; int Id; @Override public S...
786e7076-099e-437e-9c79-063e655aade5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-29 22:59:38", "repo_name": "Alan-0524/dthealth-Android", "sub_path": "/app/src/main/java/com/dthealth/model/ResponseBodyInRows.java", "file_name": "ResponseBodyInRows.java", "file_ext": "java", "file_size_in_b...
package com.dthealth.model; import com.google.gson.annotations.SerializedName; import java.util.List; public class ResponseBodyInRows<T> { @SerializedName("rows") List<T> rows; @SerializedName("total") int total; public ResponseBodyInRows() { } public ResponseBodyInRows(List<T> rows, in...
5149f9c1-690b-4674-b509-49e3f6a806d8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-07 15:33:10", "repo_name": "AyeshaKulsum/dxc", "sub_path": "/Day11/PermanentEmployee.java", "file_name": "PermanentEmployee.java", "file_ext": "java", "file_size_in_byte": 658, "line_count": 32, "lang": "en", ...
public class PermanentEmployee extends EmployeeInherit { private int salary; private int bonus; public PermanentEmployee() { super(); } public PermanentEmployee(int salary, int bonus) { super(); this.salary = salary; this.bonus = bonus; } public int getSalary() { return salary; } public void setSal...
d2533f61-c76f-4e92-b265-89d6500763dd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-14T21:53:05", "repo_name": "gtanzer/verse-hci", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 27, "lang": "en", "doc_type": "text", "blob_id"...
# verse A synthesizer for synthesizers built on top of the PROSE framework. See VERSE.pdf for more details. ## Usage Run `verse.sh` on a corpus file (see below for an example). A PROSE configuration will be generated and you will be dropped into an interactive shell with the resulting synthesizer. e.g. `verse.sh co...
ac213a75-cd9f-48d2-b82d-1c8bddec3bdb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 09:05:02", "repo_name": "ziyuc69/advance", "sub_path": "/code/java-core/src/cn/glenn/concurrent/immutablepattern/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 656, "line...
package cn.glenn.concurrent.immutablepattern; /** * @author: glenn wang * @date: 2019-11-27 19:59 **/ public class Person { private final String name; private final String address; public Person(String name, String address) { this.name = name; this.address = address; ...
261e07bb-8749-44a1-95c5-54b96ae0f050
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-08 13:08:33", "repo_name": "giordanobuffon/TrabalhoFinalProg", "sub_path": "/src/java/br/edu/ifrs/util/Conexao.java", "file_name": "Conexao.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 28...
/* * 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 br.edu.ifrs.util; import java.sql.Connection; import java.sql.DriverManager; /** * * @author DTI */ public class Conexao {...
815c2752-0132-4f63-b82c-45af6a298b14
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-04 17:14:31", "repo_name": "tomasz-herman/PseudoAssemblerEmulator", "sub_path": "/src/main/java/com/hermant/program/instruction/StoreInstruction.java", "file_name": "StoreInstruction.java", "file_ext": "java",...
package com.hermant.program.instruction; import com.hermant.machine.*; public class StoreInstruction extends Instruction implements MemoryOperation { @Override public final void run(Machine m){ setInstructionPointer(m.getInstructionPointer()); final int ramAddress = getMemoryAddress(m.getRegi...
84654403-8887-4937-ad1c-287fe0690876
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-19 23:58:28", "repo_name": "onwkago/pokerWinner", "sub_path": "/src/org/poker/hands/calculator/engine/Resolver.java", "file_name": "Resolver.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 2...
package org.poker.hands.calculator.engine; import org.poker.hands.calculator.entity.Player; public class Resolver { public void resolve(Player p1, Player p2) { HandCalculator calculator = new HandCalculator(); double p1Strength = calculator.calculateStrength(p1); double p2Strength = calculator.calcul...
9eddab45-7736-4942-8178-96ef71d74215
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-08-08T22:23:21", "repo_name": "jdpaton/Stackato-Buildpack-Luvit", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 657, "line_count": 20, "lang": "en", "doc_type": "t...
# Stackato-Buildpack-Luvit This buildpack pulls the latest Ubuntu binaries from luvit.io and runs your luvit.io app, as specified by the `processes/web` key in your stackato.yml. There is no need to add a `Procfile` as the buildpack will determine the `web` command from your stackato.yml, but you may add your own Pro...
60c67e5c-8dce-4c52-8f6f-948e67845021
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-28T06:48:32", "repo_name": "gskrscm/DevopsDocumentation", "sub_path": "/JavaScript/ReactApp.md", "file_name": "ReactApp.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 24, "lang": "en", "doc...
Installation of nodejs and Npm (Npm inbuilt with node) --------------------------------------------------------- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs Check Version [nodejs (8 LTS and above) and npm] ------------------------------------------------ node --versio...
5474944d-a5ee-4626-9f4b-de2e022e20c3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-06 11:21:40", "repo_name": "tartarJR/PW-Assignment", "sub_path": "/src/main/java/com/planetway/assignment/controller/EmployeeController.java", "file_name": "EmployeeController.java", "file_ext": "java", "file_...
package com.planetway.assignment.controller; import com.planetway.assignment.model.Employee; import com.planetway.assignment.service.EmployeeService; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController public...
f43779aa-3859-4f26-a497-80dc6c1feec7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 01:04:44", "repo_name": "zhenghuan12/nhis-web", "sub_path": "/src/main/java/com/zebone/nhis/ma/pub/platform/syx/vo/ExpectedUseTime.java", "file_name": "ExpectedUseTime.java", "file_ext": "java", "file_size_...
package com.zebone.nhis.ma.pub.platform.syx.vo; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; @XStreamAlias("expectedUseTime") public class ExpectedUseTime { @XStreamAsAttribute private String validTimeLow; @XStreamAsAttribute private Str...
25d122b9-0631-4885-8c8f-329d85d50d18
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 05:21:49", "repo_name": "npee/javaEx", "sub_path": "/JavaEx/src/com/bit/javaex/oop/goods/v1/GoodsApp.java", "file_name": "GoodsApp.java", "file_ext": "java", "file_size_in_byte": 678, "line_count": 31, "lan...
package com.bit.javaex.oop.goods.v1; public class GoodsApp { public static void main(String[] args) { // Goods camera = new Goods(); camera.name = "samsung"; camera.price = 400000; System.out.println(camera); System.out.println("상품이름 : " + camera.name); System.out.println("가격 : " + camer...
b364eab5-ef23-4a5f-befa-8756c69a8891
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-25T20:12:48", "repo_name": "drishtikedia/task", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 657, "line_count": 29, "lang": "en", "doc_type": "text", "blob_id"...
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). Dependencies required - bulma => for materials ui, react-router-dom => for navigation, google-maps-react => for handling google maps api calls, node-sass => for styling further ## Available Scripts In the project...
adcb1f72-d17a-42f9-b12b-803a4778953e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-31 03:43:40", "repo_name": "18406611280/oil", "sub_path": "/grainoil-service-api/grainoil-system-api/src/main/java/com/grainoil/system/domain/quality/dto/SampleApplyDto.java", "file_name": "SampleApplyDto.java...
package com.grainoil.system.domain.quality.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import java.util.List; /** * @Author: chenminghong * @Date: 2021/5/17 9:57 */ @Data @ApiModel(description = "申请表...
0372dd19-cf32-4ec6-b077-e9478e3c82eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-09 19:30:46", "repo_name": "xstof/xstof-java-spring-test", "sub_path": "/demo-azure-sdk/src/main/java/com/example/demoazuresdk/Foo.java", "file_name": "Foo.java", "file_ext": "java", "file_size_in_byte": 654, ...
package com.example.demoazuresdk; public class Foo { private double id; private String name; // constructor, getters and setters public Foo(double id, String name){ this.id = id; this.name = name; } public double getId(){ return id; } public String getName...
665240cf-19f8-432f-849f-4ce00ca7adef
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-29 11:36:03", "repo_name": "event-lift-team/event-lift", "sub_path": "/src/main/java/pl/sda/eventlift/api/controller/ApiController.java", "file_name": "ApiController.java", "file_ext": "java", "file_size_in_by...
package pl.sda.eventlift.api.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import pl.sda.eventlift.api.service.RestService; import pl.sda.eventlift.stakeholders.dto.DriverDTO; import java.util.Set; @RestController @RequestMapping("/api") ...
97d9502d-b16a-4e88-ac8d-09577dd80341
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-08T06:18:33", "repo_name": "Rex-Daemon/PomodoroJS", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 654, "line_count": 12, "lang": "en", "doc_type": "text", "blob...
# PomodoroJS PomodoroJS is a simple implementation of the pomodoro technique using HTML, CSS, Javascript [Live Demo](https://rex-daemon.github.io/PomodoroJS/) > The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. > The technique uses a timer to break down work into int...
d3800d1b-609a-42f9-a119-c83e61a0b2af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-22T23:38:18", "repo_name": "brunv/JS-Complete", "sub_path": "/07 - Intro to ES6/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 654, "line_count": 10, "lang": "en", "doc_type":...
# Introduction to ES6 / ES2015 ## _let_ and _const_ Both _let_ and _const_ are not function-scoped but block-scoped. A block is simply all the code that is wrapped between these curly braces {}. ## Temporal Dead Zone This means that the variables are actually hoisted but we still cannot access them before they are de...
f037dc54-f5af-4b5d-958c-5c7e5979268f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 08:12:26", "repo_name": "BoneMoon/Proj_Android", "sub_path": "/app/src/main/java/com/example/proj_android/fixbug.java", "file_name": "fixbug.java", "file_ext": "java", "file_size_in_byte": 655, "line_count"...
package com.example.proj_android; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import java.io.File; public class fixbug extends Application { @Override public void onCreate() { super.onCreate(); SharedPreferences googleBug = getSha...
c2710e02-a3d9-40c3-a98a-632230ca8431
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 12:16:30", "repo_name": "VadymDrenkalyuk/my_project", "sub_path": "/src/main/java/com/javafortesters/homework/Persons/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 655...
package com.javafortesters.homework.Persons; public class Student extends Person { public Integer startYear; public Integer finishYear; public Student(String name, Integer age, String gender, Integer weight, Integer startYear, Integer finishYear) { super(name, age, gender, weight); this.st...
33b1a7ca-fa7b-4fe7-a86c-89a46a2af1c9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 14:47:05", "repo_name": "JakubDws/snakeExercise", "sub_path": "/src/Snake/ChunkGenerator.java", "file_name": "ChunkGenerator.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 25, "lang": "e...
package Snake; import java.util.List; import java.util.Random; public class ChunkGenerator { static boolean chunkExist = false; int chunkPosX; int chunkPosY; public void generateChunkPosition (List<SnakeElement> snakeElementList){ Random random = new Random(); chunkPosX = random...
8c52c791-3f1f-4a96-9661-a61b0eeb40ee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-08 17:17:47", "repo_name": "yhuang0/twl-gdx", "sub_path": "/src/test/java/de/matthiasmann/twl/ColorSelectorTest.java", "file_name": "ColorSelectorTest.java", "file_ext": "java", "file_size_in_byte": 655, "line...
package de.matthiasmann.twl; import static org.junit.Assert.*; import de.matthiasmann.twl.model.ColorSpaceHSL; import org.junit.Test; public class ColorSelectorTest { @Test public void updateHexEditField_givenColor_setsCorrectHexText() { ColorSelector selector = new ColorSelector(new ColorSpaceHSL()...
e5bf65c4-7a7a-478d-ba11-c504ba44949e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-01T22:53:53", "repo_name": "mwamedacen/genius-instant-chrome-extension", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 655, "line_count": 11, "lang": "en", "doc...
# Genius Instant A Chrome Extension for getting lyrics of music video clips. I built it as I got sick from switching back and forth between Youtube and Genius. For geek folks on this platform, this is a Yeoman project and the whole work is done in app/ folder: - manifest.json is a declarative file that chrome needs f...
7a7ab5cb-1edd-46b7-afab-018df6325d13
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-18 20:54:18", "repo_name": "Alex-sys-bot/TestGit", "sub_path": "/src/main/java/com/company/ProgramStart.java", "file_name": "ProgramStart.java", "file_ext": "java", "file_size_in_byte": 675, "line_count": 24, ...
package com.company; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class ProgramStart extends Application { public static void main(String[] args) { launch(args); } @Override publ...
4158816c-625d-40da-a806-875361b0a82c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-13 12:29:40", "repo_name": "naveenjain97/Daily-Work", "sub_path": "/FEb22/CWFeb22/PriorityThread.java", "file_name": "PriorityThread.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 21, "lang...
package com.cts.training.controller.Feb22; public class PriorityThread { public static void main(String[] args) { Thread.currentThread().setPriority(Thread.MAX_PRIORITY-2); onePrioty one=new onePrioty (); TwoPriority two =new TwoPriority (); Thread t1=new Thread(one); Thread t2=new Thread(two); t1.setPri...
5fca87ba-6b23-49ae-ad9c-ebb93e9cc749
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-19 18:35:29", "repo_name": "vitaliy1919/distributed-combutation-3-course", "sub_path": "/Lab 1/Lab 1a/src/sample/SliderThread.java", "file_name": "SliderThread.java", "file_ext": "java", "file_size_in_byte": 6...
package sample; import javafx.scene.control.Slider; public class SliderThread extends PriorityThread { private int valueChange; private Slider slider; public SliderThread(int value, Slider slider) { this.valueChange = valueChange; this.slider = slider; } @Override public void...
1bf7c59e-2182-4aa2-96b3-88aa480a4aaa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-16 20:03:58", "repo_name": "andreitudorica/UTCN_AN2", "sub_path": "/Sem 1/oop/HospitalAndrei/src/hospital/entities/Disease.java", "file_name": "Disease.java", "file_ext": "java", "file_size_in_byte": 655, "lin...
package hospital.entities; import java.util.Random; /** * Created by Andrei on 13/01/2017. */ public class Disease { String Name; Severity severity; public Disease(String name, Severity sev) { this.Name=name; this.severity=sev; } public boolean cure() { int chanc...
48c8a609-68dd-4df0-a7cb-81352fe5ca4b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-09T18:18:14", "repo_name": "TsPowerOne/Checkbox", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 657, "line_count": 27, "lang": "en", "doc_type": "text", "blob_i...
# Checkbox ![alt text](https://ppbusinessproject.visualstudio.com/TSPowerOne/_apis/build/status/TsPowerOne.Checkbox?branchName=master) > Add a Checkbox in your DOM! ## Description import this package, set behaviour and insert in your DOM a checkbox and you can also subscribe event on click, chan...
af408493-5ef1-4952-9882-b86a6e847579
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-05 09:00:38", "repo_name": "windy827/Test", "sub_path": "/src/com/tts168/autoset/tools/highcset/wakeset/WakeSetTools.java", "file_name": "WakeSetTools.java", "file_ext": "java", "file_size_in_byte": 704, "line...
package com.tts168.autoset.tools.highcset.wakeset; import com.autoset.jni.wakeup.WakeUpEntity; import com.larkiv.larksmart7618.R; /** * 唤醒控制工具类 * @author 袁剑 * */ public class WakeSetTools { public static final String []AWAKE_NAMES=new String[]{"Hi云宝","Hi小播","云宝","小播","Hi百灵","百灵"}; /** * 传递wakeup实体类的键名称 *...
2df098f0-a2a4-430a-b2f3-8532d063ae58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-14 14:08:19", "repo_name": "messagR/POEC", "sub_path": "/Exemple Cours/src/com/exo/run/RunAnimal.java", "file_name": "RunAnimal.java", "file_ext": "java", "file_size_in_byte": 655, "line_count": 39, "lang": "e...
package com.exo.run; import java.util.Date; import com.exo.classe.Animal; import com.exo.classe.Chat; import com.exo.classe.Chien; public class RunAnimal { public static void main(String[] args) { Chien c1 = new Chien(); c1.setAge(3); c1.setNom("Toutou"); c1.setAdoption(new Date()); Chat...
f4f5d503-1597-4b17-94d4-f62027873450
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-06 17:08:33", "repo_name": "simperreault/AngryPidge", "sub_path": "/AngryPidge/src/org/bitducks/angrypidge/network/event/clientevent/JoinTeamEvent.java", "file_name": "JoinTeamEvent.java", "file_ext": "java", ...
package org.bitducks.angrypidge.network.event.clientevent; import org.bitducks.angrypidge.client.ClientManagerStub; import org.bitducks.angrypidge.common.Player; import org.bitducks.angrypidge.network.event.util.EventUtil; public class JoinTeamEvent implements ClientEvent { private static final long serialVersionU...
f391d0f1-188c-46b8-b49b-9e6690bfc5e8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-16 20:09:35", "repo_name": "pixelcat/st-notifier", "sub_path": "/st-notifier-lightwall/src/test/java/org/menagerie/stnotifier/test/SleeperTest.java", "file_name": "SleeperTest.java", "file_ext": "java", "file_...
package org.menagerie.stnotifier.test; import org.junit.Test; import org.menagerie.stnotifier.renderer.Sleeper; import org.menagerie.stnotifier.renderer.SleeperImpl; import java.util.Calendar; import static junit.framework.TestCase.assertTrue; /** * Copyright 2016 - Aaron Stewart * Date: 10/21/16, 7:39 PM */ pub...
ca8df271-38e0-4670-bf88-c3bbc5c21952
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-22 10:58:44", "repo_name": "zhutx/skynet", "sub_path": "/skynet-api/src/main/java/com/moredian/skynet/member/enums/DeptPersonStatus.java", "file_name": "DeptPersonStatus.java", "file_ext": "java", "file_size_i...
package com.moredian.skynet.member.enums; public enum DeptPersonStatus { DISABLE("作废",0), USABLE("可用",1), ; private String desc; private int value; DeptPersonStatus(String desc ,int value){ this.value = value; this.desc =desc; } public String getDesc() { return desc; } public static String ...
a7313dcb-ffc1-49cc-873b-e79c29b4b3de
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 03:14:33", "repo_name": "daovanphi25051994/my-music-backend", "sub_path": "/src/main/java/com/music/phi/api/UserProfileAPI.java", "file_name": "UserProfileAPI.java", "file_ext": "java", "file_size_in_byte":...
package com.music.phi.api; import com.music.phi.model.User; import com.music.phi.service.UserProfileService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @RestController @CrossOrigin("*") @RequestMapping("api/users") public class UserProfileAPI { ...
649cca5e-ce1a-4617-ae0e-20a2fb14466a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-08 15:42:06", "repo_name": "ADomashev/transport", "sub_path": "/src/by/alexdomashevsky/itcourses/entity/transport/groundtransport/motorbikeequipment/Helmet.java", "file_name": "Helmet.java", "file_ext": "java"...
package by.alexdomashevsky.itcourses.entity.transport.groundtransport.motorbikeequipment; public class Helmet extends Accessory { private Visor visor; public Helmet() { } public Helmet(String name, double price, String color) { super(name, price, color); } public Helmet(String name, double...
3d1d5b1b-3fad-4f70-8752-2b6c8971c443
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-03 08:52:52", "repo_name": "chenDriftapart/campus", "sub_path": "/src/main/java/com/example/campus/model/Param.java", "file_name": "Param.java", "file_ext": "java", "file_size_in_byte": 710, "line_count": 36, ...
package com.example.campus.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Param { /**姓名**/ private String username; /**学号**/ private String number; /**系别**/ private String department; /...
b5a938b9-fd95-42fc-a274-d044ab94aa5a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-19 05:30:33", "repo_name": "tranthanhhai-59130561/TranThanhHai_59130561_StrateryPattern", "sub_path": "/TranThanhHai_59130561_StrateryPattern/src/BaiTap2/HangHoa.java", "file_name": "HangHoa.java", "file_ext":...
/* * 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 BaiTap2; /** * * @author Admin */ public class HangHoa { String tenHH; int gia; String moTa; public Ha...
04430908-7774-4348-86a2-a3d9daa8b0c7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-12T22:36:04", "repo_name": "nery-lara/myFitnessFriend", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 654, "line_count": 27, "lang": "en", "doc_type": "text", "...
# My Fitness Friend A web app that allows you to track your food and exercises. ## Dependencies - Express - logger - used to provide more information about each packet - moment - used to provide timestamps - ejs - for embedded js in html - nodemon - dev tool that automatically restarts the server when changes are ma...
0df9691d-71ed-46b1-9647-56aecd42c9eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 09:26:00", "repo_name": "fatemehtaran/TaskManager", "sub_path": "/app/src/main/java/com/taran/taskmanager/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 654, "line_count": 35...
package com.taran.taskmanager; import android.widget.CheckBox; import java.util.ArrayList; public class Task { private String name; ArrayList<String> work = new ArrayList<>(); CheckBox checkBox; public Task(String name, ArrayList<String> work , CheckBox checkBox) { this.name = name; ...
46134195-3213-4688-8dc3-3ca36a0bc6e5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-28 11:55:46", "repo_name": "zcnet/tinyAppPlateform", "sub_path": "/weexandroid_module/src/main/java/com/sun/weexandroid_module/WxNavModule.java", "file_name": "WxNavModule.java", "file_ext": "java", "file_size...
package com.sun.weexandroid_module; import android.app.Activity; import com.taobao.weex.annotation.JSMethod; import com.taobao.weex.bridge.JSCallback; import com.taobao.weex.common.WXModule; public class WxNavModule extends WXModule { private static IWxNav wxNav = null; public static void setNav(IWxNav nav)...
b41aa39e-bc6d-478f-8b65-38df00afc830
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-06 13:59:58", "repo_name": "NamaniPhani/PoC2", "sub_path": "/Rakesh & Prasad/poc5/src/main/java/com/poc5/response/EmployeeResponse.java", "file_name": "EmployeeResponse.java", "file_ext": "java", "file_size_in...
package com.poc5.response; import java.util.List; import com.poc5.model.Employee; public class EmployeeResponse { private String statusCode; private String statusMessage; private List<Employee> emplist; public String getStatusCode() { return statusCode; } public void setStatusCode(String statusCode) { t...