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 |
|---|---|---|---|---|---|---|
7ab295e0-d806-4f72-9e8d-9fbb92c256f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-20 12:17:47", "repo_name": "ravi-kiran-svs/LogBook", "sub_path": "/app/src/main/java/com/example/ravikiran/logbook/MBhistoryActivity.java", "file_name": "MBhistoryActivity.java", "file_ext": "java", "file_size... | https://github.com/ravi-kiran-svs/LogBook | 198 | FILENAME: MBhistoryActivity.java | 0.256832 | package com.example.ravikiran.logbook;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ListAdapter;
import android.widget.ListView;
import java.util.ArrayList;
public class MBhistoryActivity extends AppCompatActivity {
private static fina... |
3c961a07-902d-44c0-9264-6523c00f3a22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-04 19:24:55", "repo_name": "wiru123321/Company-Cars-Rents", "sub_path": "/backend/src/main/java/com/euvic/carrental/responses/ParkingDTO.java", "file_name": "ParkingDTO.java", "file_ext": "java", "file_size_in... | https://github.com/wiru123321/Company-Cars-Rents | 250 | FILENAME: ParkingDTO.java | 0.249447 | package com.euvic.carrental.responses;
import com.euvic.carrental.model.Parking;
import com.euvic.carrental.model.ParkingHistory;
import lombok.Data;
@Data
public class ParkingDTO {
private String town;
private String postalCode;
private String streetName;
private String number;
private String co... |
95c6a6aa-d348-480c-8110-68082481c696 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-09 01:23:14", "repo_name": "P2PRobotics/PumaRobo18", "sub_path": "/P2PTeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTest.java", "file_name": "EncoderTest.java", "file_ext": "java", "file_size_in... | https://github.com/P2PRobotics/PumaRobo18 | 245 | FILENAME: EncoderTest.java | 0.29584 | package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.robotcore.external.Telemetry;
... |
34b158ac-8a2f-4f87-84e4-8795cfa5d980 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-26 22:47:26", "repo_name": "douglasjunior/programacao-web-2018-2", "sub_path": "/Java/PrimeiroServlet/src/java/br/grupointegrado/ads/primeiroServlet/LerAtributoServlet.java", "file_name": "LerAtributoServlet.j... | https://github.com/douglasjunior/programacao-web-2018-2 | 202 | FILENAME: LerAtributoServlet.java | 0.212069 | package br.grupointegrado.ads.primeiroServlet;
import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
/**
*
* @aut... |
e7391e9e-b514-4d74-a0a8-a06fa4ae346e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-20 21:53:44", "repo_name": "AP-93/MyQuiz", "sub_path": "/app/src/main/java/com/apquiz/ante/flagquiz/RulesActivity.java", "file_name": "RulesActivity.java", "file_ext": "java", "file_size_in_byte": 1080, "line_... | https://github.com/AP-93/MyQuiz | 239 | FILENAME: RulesActivity.java | 0.26588 | package com.apquiz.ante.flagquiz;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.MobileAds;
import com.kobakei.ratethisapp.RateThisApp;
public class RulesActivity exte... |
d14936e8-87ad-4ebc-91ce-9d79902fbc8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-18T00:48:06", "repo_name": "khoitd1997/cat_detection_station", "sub_path": "/bluetooth_comm/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1163, "line_count": 36, "lang": "en"... | https://github.com/khoitd1997/cat_detection_station | 282 | FILENAME: README.md | 0.23092 | # Bluetooth for Cat Alert Station
Utilizes the bluez api to send data from the station back to main pc. The host and station code uses python3 since it integrates nicely with other parts(computer vision part also uses python and libiio has python bindings)
## References
https://people.csail.mit.edu/albert/bluez-intr... |
0167f090-b6e1-4d80-804c-883c8d0f5fb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-20 21:15:40", "repo_name": "AaronKannon/Person-API", "sub_path": "/src/test/java/kannon/aaron/personadminapi/utils/CourseUtils.java", "file_name": "CourseUtils.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/AaronKannon/Person-API | 228 | FILENAME: CourseUtils.java | 0.259826 | package kannon.aaron.personadminapi.utils;
import kannon.aaron.personadminapi.dto.request.CourseDTO;
import kannon.aaron.personadminapi.entity.Course;
import kannon.aaron.personadminapi.enums.CourseType;
import java.util.Collections;
public class CourseUtils {
private static final String NAME = "Computer Engine... |
fba34542-ef05-4ccb-bf2c-f806254aec0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-27T20:43:22", "repo_name": "metagrammar/psd-to-website", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 981, "line_count": 19, "lang": "en", "doc_type": "text", ... | https://github.com/metagrammar/psd-to-website | 212 | FILENAME: README.md | 0.221351 | Exercise to transform a .PSD file into a website.
Noteworthy features:
.All linkable elements have hover state (change of colour or opacity).
. Navbar hidden on scroll down with js. Mainly because of the anchors to which the page scrolls from the links in the navbar. Without this hide feature, the section would be pa... |
c4a67d00-ac85-459c-966b-eadf12fa027f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-31 06:31:08", "repo_name": "chadheise/beer-rate", "sub_path": "/beerRate/src/main/java/com/manorllc/beerRate/db/DbRating.java", "file_name": "DbRating.java", "file_ext": "java", "file_size_in_byte": 999, "line... | https://github.com/chadheise/beer-rate | 201 | FILENAME: DbRating.java | 0.206894 | package com.manorllc.beerRate.db;
import org.joda.time.DateTime;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.manorllc.beerRate.util.CustomDateSerializer;
/**
* Pojo representing a beer rating.
*/
public class DbRating {
private double rating;
@JsonSerialize(using = CustomDa... |
503ca79a-3c54-46c5-84cc-cddb69285051 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 12:31:15", "repo_name": "Khangbt/qlts", "sub_path": "/services/project-service/src/main/java/com/hust/qlts/project/controller/RequestControlle.java", "file_name": "RequestControlle.java", "file_ext": "java"... | https://github.com/Khangbt/qlts | 200 | FILENAME: RequestControlle.java | 0.233706 | package com.hust.qlts.project.controller;
import com.hust.qlts.project.dto.RequestDto;
import com.hust.qlts.project.service.RequestService;
import common.ErrorCode;
import common.ResultResp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springfram... |
3a87d6cb-00a1-45ac-970d-d57b0b550b62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-12 18:46:18", "repo_name": "cassandrabailey293/jdl-playground", "sub_path": "/myApp2/src/main/java/com/myapp/service/dto/DDTO.java", "file_name": "DDTO.java", "file_ext": "java", "file_size_in_byte": 1049, "li... | https://github.com/cassandrabailey293/jdl-playground | 241 | FILENAME: DDTO.java | 0.274351 | package com.myapp.service.dto;
import javax.validation.constraints.*;
import java.io.Serializable;
import com.myapp.domain.enumeration.Type;
/**
* A DTO for the {@link com.myapp.domain.D} entity.
*/
public class DDTO implements Serializable {
private Long id;
private Type name;
public Long g... |
05f0358c-a23a-48a6-bd48-2348e74b1920 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-26T12:49:15", "repo_name": "ThijsWaalders/Memory-Game", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 997, "line_count": 16, "lang": "en", "doc_type": "text", "... | https://github.com/ThijsWaalders/Memory-Game | 222 | FILENAME: README.md | 0.261331 | # Memory Game
## Instructions
Here is my memory game. I need to convert from a static project to an interactive one. This will require modifying the HTML and CSS files, but primarily JavaScript.
## [Preview here](http://ThijsWaalders.github.io/Memory-Game)
##Code Dependencies
I have followed [this](https... |
a123e6b1-c1b1-4543-b8be-3fd72d888f44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-13 08:59:19", "repo_name": "h-xi/BucketList-Organizer", "sub_path": "/src/main/ui/tools/TextField.java", "file_name": "TextField.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 37, "lang": "... | https://github.com/h-xi/BucketList-Organizer | 209 | FILENAME: TextField.java | 0.272025 | package ui.tools;
import ui.BucketListGraphical;
import javax.swing.*;
import java.awt.*;
// Abstract class that creates a TextField that requires a JFrame and Component designation
//Type Hierarchy taken from krystal-w/To-Do-List (Github)
public abstract class TextField {
BucketListGraphical frame;
JTextFi... |
6321cba3-e050-4a7d-9aaa-96355063dc85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-31 13:00:59", "repo_name": "f-lab-edu/shoe-auction", "sub_path": "/src/main/java/com/flab/shoeauction/common/config/WebConfig.java", "file_name": "WebConfig.java", "file_ext": "java", "file_size_in_byte": 1144... | https://github.com/f-lab-edu/shoe-auction | 208 | FILENAME: WebConfig.java | 0.208179 | package com.flab.shoeauction.common.config;
import com.flab.shoeauction.common.interceptor.LoginCheckInterceptor;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
impor... |
b347f1e1-5421-4b6d-a868-b01ec3e224f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-30T14:55:13", "repo_name": "Mikescops/ModdernFolio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1039, "line_count": 41, "lang": "en", "doc_type": "text", "bl... | https://github.com/Mikescops/ModdernFolio | 271 | FILENAME: README.md | 0.205615 | #ModdernFolio Bolt Theme
**Note:** This is for Bolt 3. Check out the `bolt-v2` branch for a Bolt 2 compatible version.

## Theme Installation
1/ Upload all the files in your theme directory.
2/ Set your path theme in the config.yml (you can do it from the bolt admin interface... |
82d23cbe-302e-46db-aa61-45bd08747805 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 14:36:00", "repo_name": "janhenrikschroeder/SpaceBattle", "sub_path": "/Spaceships/src/view/config/SettingsView.java", "file_name": "SettingsView.java", "file_ext": "java", "file_size_in_byte": 1190, "line_... | https://github.com/janhenrikschroeder/SpaceBattle | 244 | FILENAME: SettingsView.java | 0.279042 | package view.config;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
public class SettingsView extends StackPane{
private Button loadConfig;
private Button customConfig;
private Butto... |
6c5f6865-10e6-4fd5-ab20-f1c4aa94b22c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-16 15:07:32", "repo_name": "keyla-hyemin/falling-money-srv", "sub_path": "/src/main/java/com/kkp/demo/dto/FallingMoneyHistory.java", "file_name": "FallingMoneyHistory.java", "file_ext": "java", "file_size_in_b... | https://github.com/keyla-hyemin/falling-money-srv | 205 | FILENAME: FallingMoneyHistory.java | 0.277473 | package com.kkp.demo.dto;
import lombok.Builder;
import lombok.Getter;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Map;
@Getter
@RedisHash(value = "FallingMoneyHistory", timeToLive =... |
4e75d708-43f3-450b-b610-c99274f0b4aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 04:53:56", "repo_name": "wsdesignuiux/Matrial_design", "sub_path": "/app/src/main/java/adapter/ProfileTabAdapter.java", "file_name": "ProfileTabAdapter.java", "file_ext": "java", "file_size_in_byte": 1041, ... | https://github.com/wsdesignuiux/Matrial_design | 220 | FILENAME: ProfileTabAdapter.java | 0.261331 | package adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import fragment.Person;
/**
* Created by wolfsoft4 on 3/12/18.
*/
public class ProfileTabAdapter extends FragmentPagerAdapter {
int mnooftabs;
pub... |
13a24d3d-dfdc-4243-bef3-d3bcbc2e6815 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-18 08:48:46", "repo_name": "wolf666666wolf/wolf_study", "sub_path": "/src/main/java/com/study/javase/reflaction/cglib/BookFacadeCglib.java", "file_name": "BookFacadeCglib.java", "file_ext": "java", "file_size_... | https://github.com/wolf666666wolf/wolf_study | 226 | FILENAME: BookFacadeCglib.java | 0.283781 | /*
* BookFacadeCglib.java
* Copyright 2002-2012 BULL SAS, Inc. All Rights Reserved.
* This software is the proprietary information of BULL SAS, Inc.
* Use is subject to license terms.
*/
package com.study.javase.reflaction.cglib;
import java.lang.reflect.Method;
import net.sf.cglib.proxy.Enhancer;
import net.sf.... |
34ce1f6e-258a-4b3c-a2ed-d2ed5cb25699 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-02 15:30:45", "repo_name": "stevetodd/keri-java", "sub_path": "/log/src/main/java/foundation/identity/keri/internal/identifier/ImmutableSelfAddressingIdentifier.java", "file_name": "ImmutableSelfAddressingIden... | https://github.com/stevetodd/keri-java | 227 | FILENAME: ImmutableSelfAddressingIdentifier.java | 0.249447 | package foundation.identity.keri.internal.identifier;
import foundation.identity.keri.QualifiedBase64;
import foundation.identity.keri.api.identifier.SelfAddressingIdentifier;
import foundation.identity.keri.crypto.Digest;
import java.util.Objects;
public class ImmutableSelfAddressingIdentifier implements SelfAddres... |
c57e800b-e35c-431b-a0f0-4ec1e72352b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-01 05:45:32", "repo_name": "wafht/chickenkiller", "sub_path": "/akka-testrun/src/main/java/com/wafht/exercise/akka/monitor/MonitorTest.java", "file_name": "MonitorTest.java", "file_ext": "java", "file_size_in_... | https://github.com/wafht/chickenkiller | 258 | FILENAME: MonitorTest.java | 0.277473 | package com.wafht.exercise.akka.monitor;
import java.util.concurrent.TimeUnit;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import akka.dispatch.Await;
import akka.event.Logging;
import akka.event.LoggingAdapter;
import akka.pattern.Patterns;
import akka.util.Duration;
/**
* ... |
9626efbf-a814-4385-a002-d576e36c0d8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-02 01:51:42", "repo_name": "EnaAhmetbegovic/Ena-DWS", "sub_path": "/igman92/src/main/java/org/igman92/igman92/entity/impl/lkp/organization/LKPCategory.java", "file_name": "LKPCategory.java", "file_ext": "java"... | https://github.com/EnaAhmetbegovic/Ena-DWS | 246 | FILENAME: LKPCategory.java | 0.253861 | package org.igman92.igman92.entity.impl.lkp.organization;
import com.sun.istack.NotNull;
import org.igman92.igman92.entity.base.LookUpEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name = "LKP_category")
pub... |
4e11f4be-613c-49bd-9ab5-d02a8b1465ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-10T15:17:30", "repo_name": "ba5eem/unclouded", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1032, "line_count": 52, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/ba5eem/unclouded | 286 | FILENAME: README.md | 0.225417 | <h1 align="center">
How to deploy a React app with Express on Azure(Gov)
</h1>
Kick off your project with Gatsby (makes life easy). This Repo exists to help you with the medium guide I posted 'How to deploy a React app with Express on Azure(Gov)'.
## 🚀 Quick start
1. **Setup**
```shell
# Clone and inst... |
d757ebba-4c4d-4684-a6b4-d20dc1c08bd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-13 17:10:04", "repo_name": "Samiicu/Laborator4", "sub_path": "/src/Stock.java", "file_name": "Stock.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 52, "lang": "en", "doc_type": "code", "bl... | https://github.com/Samiicu/Laborator4 | 215 | FILENAME: Stock.java | 0.26971 | import java.util.ArrayList;
import javafx.util.Pair;
public class Stock {
private ArrayList<Item> items=new ArrayList<Item>();
private ArrayList<Integer> quantities=new ArrayList<Integer>();
Stock(ArrayList<Item> items, ArrayList<Integer> quantities){
for(Item item : items) {
this.items.add(item);
}
... |
cbfed79e-f346-44c7-b67b-a387e8c1fbb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 07:31:46", "repo_name": "Viktar-Vasilkou/bank-list", "sub_path": "/src/main/java/by/devincubator/banklist/connection/ConnectionFactory.java", "file_name": "ConnectionFactory.java", "file_ext": "java", "file... | https://github.com/Viktar-Vasilkou/bank-list | 175 | FILENAME: ConnectionFactory.java | 0.26588 | package by.devincubator.banklist.connection;
import by.devincubator.banklist.connection.config.DataBaseConfig;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class ConnectionFactory {
private DataBaseConfig config;
public ConnectionFactory(DataBaseConfig conf... |
54b93043-de5a-4bae-91eb-e7745a6c32b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-24 20:57:30", "repo_name": "jeyboy/Outag", "sub_path": "/outag/formats/real/io/ContentDescriptionChunk.java", "file_name": "ContentDescriptionChunk.java", "file_ext": "java", "file_size_in_byte": 1016, "line_c... | https://github.com/jeyboy/Outag | 245 | FILENAME: ContentDescriptionChunk.java | 0.288569 | package outag.formats.real.io;
import java.io.DataInputStream;
import outag.formats.real.RealTag;
/** CONT chunk */
public class ContentDescriptionChunk {
public RealTag tag;
// dword Chunk type ('CONT')
// dword Chunk size
// word Chunk version (always 0, for every known file)
// word Title string lengt... |
90fa616f-a74a-4ade-95b2-0c7b147dc7a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-01 13:06:29", "repo_name": "chaoger/javastudy", "sub_path": "/src/main/java/com/netease/chaoge/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/chaoger/javastudy | 252 | FILENAME: UserServiceImpl.java | 0.284576 | /**
* @(#)UserServiceImpl.java, 2019/7/31.
* <p/>
* Copyright 2019 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.netease.chaoge.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
0066b220-99e3-4f7b-83f1-e6e8f6e3b5bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-09T15:50:54", "repo_name": "erlichmen/fantasm", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1189, "line_count": 14, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/erlichmen/fantasm | 222 | FILENAME: README.md | 0.279042 | A taskqueue-backed, configuration-based Finite State Machine for Google App Engine Python
**A Python library for a configuration-based finite state machine workflow implementation based on taskqueue.**
Fantasm allows developers to create finite state machines using YAML markup. Each state and transition can have an a... |
f02c37eb-e83a-4d04-898a-63582c394d30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-22 14:15:08", "repo_name": "1455364690/AlgorithmReview", "sub_path": "/src/字符串/字符串最大不重复子串.java", "file_name": "字符串最大不重复子串.java", "file_ext": "java", "file_size_in_byte": 1260, "line_count": 48, "lang": "en", "... | https://github.com/1455364690/AlgorithmReview | 303 | FILENAME: 字符串最大不重复子串.java | 0.294215 | package 字符串;
import java.util.HashMap;
/**
* @author sunjh
* @date 2020/3/16 10:42
*/
public class 字符串最大不重复子串 {
public static void main(String[] args) {
System.out.println(longSubStr("ab"));
}
public static String longSubStr(String s) {
int i = 0;
int j = 0;
String max ... |
e470dfa1-844b-4035-96c7-83293e24b2fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-19T04:19:24", "repo_name": "Raibows/AKTEG", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/Raibows/AKTEG | 261 | FILENAME: README.md | 0.268941 | ## Attention based Knowledge enhanced Topic-to-Essay Generation, AKTEG
TEG aims at learning the process of given several topics and generating a paragraphlevel, meaningful, diverse and novel essay with contents closely related to the given topics.
This repository contains an Attention based knowledge enhanced model w... |
f66f58ca-cec5-4401-bd3d-ef237ce65d92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-30 17:04:12", "repo_name": "kenzhaoyihui/javase_L", "sub_path": "/src/yzhao/redhat/com/Demo.java", "file_name": "Demo.java", "file_ext": "java", "file_size_in_byte": 1061, "line_count": 46, "lang": "en", "doc_... | https://github.com/kenzhaoyihui/javase_L | 219 | FILENAME: Demo.java | 0.29584 | package yzhao.redhat.com;
public class Demo {
public static void main(String[] args){
Main.EnclosedClass.accessEnclosingClass();
//Main.EnclosedClass.accessEnclosingClass2();
Main.EnclosedClass ec = new Main.EnclosedClass();
ec.accessEnclosingClass2();
Main man = new Main()... |
204abee2-22ad-472b-9d8b-2d90aa96bf98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-20 21:42:09", "repo_name": "codeManga1/wonderlabz-banking-account-api", "sub_path": "/src/main/java/com/wonderlabz/bankaccount/controllers/UserController.java", "file_name": "UserController.java", "file_ext": ... | https://github.com/codeManga1/wonderlabz-banking-account-api | 193 | FILENAME: UserController.java | 0.256832 | package com.wonderlabz.bankaccount.controllers;
import com.wonderlabz.bankaccount.domain.dto.UserEntityDto;
import com.wonderlabz.bankaccount.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@... |
1bd56406-bf4d-476f-bb1b-007d2161c6f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-05 02:25:27", "repo_name": "GgBoom996/FruitSalesSystem", "sub_path": "/src/main/java/cn/itsource/aisell/service/impl/EmployeeServiceImpl.java", "file_name": "EmployeeServiceImpl.java", "file_ext": "java", "fil... | https://github.com/GgBoom996/FruitSalesSystem | 234 | FILENAME: EmployeeServiceImpl.java | 0.252384 | package cn.itsource.aisell.service.impl;
import cn.itsource.aisell.common.MD5Util;
import cn.itsource.aisell.domain.Employee;
import cn.itsource.aisell.repository.EmployeeRepository;
import cn.itsource.aisell.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfram... |
63b89e62-60b6-4ecd-8256-e8de8d6015cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-18T15:10:00", "repo_name": "tpraxl/sup", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 36, "lang": "en", "doc_type": "text", "blob_id": "709... | https://github.com/tpraxl/sup | 273 | FILENAME: readme.md | 0.225417 | # Sup
Work in progress
## Installation
Required extensions:
- [gd](http://php.net/manual/en/book.image.php) - for creating images from sup cues
Installation:
```bash
composer require sjorso/sup
```
## Usage
```php
$sup = SupFile::open('/path/to/file.sup');
$imageFilePaths = $sup->extractImages('/path/to/output/dir... |
0dca6059-fa09-45aa-b541-ea5e47d856bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-22 07:45:52", "repo_name": "CycloneBoy/springcloud-learn", "sub_path": "/netty-learn/echo-server/src/main/java/com/cycloneboy/springcloud/handler/EchoServerHandler.java", "file_name": "EchoServerHandler.java",... | https://github.com/CycloneBoy/springcloud-learn | 236 | FILENAME: EchoServerHandler.java | 0.258326 | package com.cycloneboy.springcloud.handler;
import com.cycloneboy.springcloud.common.Constants;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import l... |
6b78a758-9ec1-4c10-a78f-22f46749af13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-05-21T17:59:31", "repo_name": "floriandorau/az-storage-action", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1163, "line_count": 42, "lang": "en", "doc_type": "te... | https://github.com/floriandorau/az-storage-action | 247 | FILENAME: README.md | 0.203075 | # az-storage-action #
Github action to upload blob files to an Azure storage account.
**Note:** Project is still in progress. Readme might not be correct!
## Usage ##
Register the _az-storage-action_ in your `.github/main.workflow` according to the following.
```bash
workflow "Upload to Azure storage" {
on = "pu... |
69dd1a0e-122d-4704-b6c7-0be2f3e28682 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-16 18:39:59", "repo_name": "Dunnnn/BSTVisualization", "sub_path": "/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 38, "lang": "en", "doc_type": "code", ... | https://github.com/Dunnnn/BSTVisualization | 187 | FILENAME: Main.java | 0.267408 | import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
public class Main extends Application {
private BorderPane rootLayout;
/**
* @param args the command line ... |
8c3bc0ed-b716-48e0-bcca-6f40685f0b31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-21T15:47:38", "repo_name": "bmpender/DistrFileSys", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1032, "line_count": 36, "lang": "en", "doc_type": "text", "blo... | https://github.com/bmpender/DistrFileSys | 228 | FILENAME: README.md | 0.262842 | # DistrFileSys
## Notes from First Meeting
List of Commands:
cd - functions same as unix cd
ls - functions same as unix ls
cat - functions same as unix cat
rm - functions same as unix rm
mv - functions same as unix mv
cp - functions same as unix cp
push - push file to dfs from local machine
pull - pull file fro... |
47494c83-5622-4860-b30d-3bed888da56c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-30T01:11:50", "repo_name": "MikeBLambert/jeopardy_for_teachers_server", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "line_count": 28, "lang": "en", "doc... | https://github.com/MikeBLambert/jeopardy_for_teachers_server | 295 | FILENAME: README.md | 0.290176 | # _Jeopardy For Teachers Server_
#### _A Tool For Teachers, September 2018_
#### By _**Claire Flanagan, Sarah Flynn, Sophie Graham, and Mike Lambert**_
## Description
_The server side of a teaching tool for instructors at any level who want to bring a fun game designed to aid in student’s learning. Inspired by Jeopa... |
8b014558-a75e-4638-bbb5-58625fee507e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-03 06:12:36", "repo_name": "luochunji/SerializableDemo", "sub_path": "/src/main/java/com/demo/protobuf/ProtobufSerializable.java", "file_name": "ProtobufSerializable.java", "file_ext": "java", "file_size_in_by... | https://github.com/luochunji/SerializableDemo | 258 | FILENAME: ProtobufSerializable.java | 0.250913 | package com.demo.protobuf;
import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.demo.AbstractSerializableByte;
import java.io.IOException;
/**
* description :
*
* @author : chunji.luo
* @date : 2019/1/31
*/
public class ProtobufSerializable extends Abstr... |
b4098e38-2295-4695-9c92-be659e8a62a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-22 09:21:13", "repo_name": "eirinivand/booklibrary", "sub_path": "/src/main/java/com/eirinivand/booklibrary/services/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/eirinivand/booklibrary | 191 | FILENAME: UserService.java | 0.255344 | package com.eirinivand.booklibrary.services;
import com.eirinivand.booklibrary.entities.User;
import com.eirinivand.booklibrary.repositories.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
... |
4e42b38a-93b6-435a-9910-d138ba335240 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-21T05:27:07", "repo_name": "tikaradate/midiBuzzer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1164, "line_count": 39, "lang": "en", "doc_type": "text", "blo... | https://github.com/tikaradate/midiBuzzer | 291 | FILENAME: README.md | 0.228156 | # midiBuzzer
A little project to convert a midi file to something a piezo buzzer can play.
# status
Dumping the note on and note off events into a file that can be read and interpreted by the arduino.
# needs
Translation between the midi note information, which maps to a note in the twelve-tone equal temperament, ... |
46cf7959-e57a-4a8a-9a88-3d4443dc1b65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-13 13:10:30", "repo_name": "trickl/model-oanda", "sub_path": "/src/main/java/com/trickl/model/oanda/transaction/GetTransactionsByIdsBetweenResponse.java", "file_name": "GetTransactionsByIdsBetweenResponse.java... | https://github.com/trickl/model-oanda | 214 | FILENAME: GetTransactionsByIdsBetweenResponse.java | 0.26971 | package com.trickl.model.oanda.transaction;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.List;
import lombok.AccessL... |
ac1d0712-766f-4e5f-b2f4-154529d1109c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-05 06:39:15", "repo_name": "qilizhi/cluster", "sub_path": "/APIService/src/main/java/com/glexer/api/controller/UserAPIController.java", "file_name": "UserAPIController.java", "file_ext": "java", "file_size_in_... | https://github.com/qilizhi/cluster | 207 | FILENAME: UserAPIController.java | 0.264358 | package com.glexer.api.controller;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import com.alibaba.dubbo.config.annotation.Reference;
import com.glexer... |
1a38e430-d7ce-43ad-b472-52455ecbe7b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-04 11:18:41", "repo_name": "saifgati/COVID-MOBILE-APP", "sub_path": "/app/src/main/java/com/example/myapplication/Notification_c.java", "file_name": "Notification_c.java", "file_ext": "java", "file_size_in_byt... | https://github.com/saifgati/COVID-MOBILE-APP | 220 | FILENAME: Notification_c.java | 0.26588 | package com.example.myapplication;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import androidx.core.app.NotificationCompat;
class Notification_c extends BroadcastReceiver {
@Ove... |
93e024f6-6ea9-4b68-8c52-962aeee813d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-29 16:14:46", "repo_name": "theninjamongoose/MySunshine", "sub_path": "/app/src/main/java/com/example/stewart/mysunshine/model/Coord.java", "file_name": "Coord.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/theninjamongoose/MySunshine | 241 | FILENAME: Coord.java | 0.235108 | package com.example.stewart.mysunshine.model;
import java.util.HashMap;
import java.util.Map;
/**
* Created by sstew5 on 1/28/16.
*/
public class Coord {
private Float lon;
private Float lat;
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
*
* @return... |
1f6334a0-44b7-49f3-ab82-ba4956cd87e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-29T01:55:49", "repo_name": "amuhs/amuhs.github.io", "sub_path": "/_posts/2019-02-20-hello-world.md", "file_name": "2019-02-20-hello-world.md", "file_ext": "md", "file_size_in_byte": 1021, "line_count": 36,... | https://github.com/amuhs/amuhs.github.io | 269 | FILENAME: 2019-02-20-hello-world.md | 0.235108 | ---
layout: post
title: Hello, World!
author: Andrew Muhs
featured-image: /images/extra/abstract-1.jpg
tags: [intro]
date: 2019-02-20
---
The compulsory "Hello, World" post... It only seems right to title this post like that given the fact I work in tech, primarily with software.
Welcome, to my website. I say webs... |
1a4ea0c7-3b86-4b1c-b7da-c6a8e72e7b56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-04-10T15:11:09", "repo_name": "pivotalexperimental/guiderails", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1029, "line_count": 27, "lang": "en", "doc_type": "te... | https://github.com/pivotalexperimental/guiderails | 265 | FILENAME: README.md | 0.216012 | Guiderails: Pivotal's Rails 3 Templates
================================
# How?
rails new APPNAME -m https://github.com/pivotal/guiderails/raw/master/main.rb
# What are my choices?
* Mysql or Postgres
* RR or Mocha
* Webrat with Saucelabs support
* Cucumber with Capybara (no suacelabs support)
* SASS (with HAML)
# W... |
12c965d4-8c45-4c46-8785-db56e41286e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-12 17:00:14", "repo_name": "Monichev/spring-cucumber-example", "sub_path": "/src/test/java/com/manoj/training/app/SpringCucumberIntegrationTests.java", "file_name": "SpringCucumberIntegrationTests.java", "file... | https://github.com/Monichev/spring-cucumber-example | 208 | FILENAME: SpringCucumberIntegrationTests.java | 0.250913 | package com.manoj.training.app;
import io.cucumber.spring.CucumberContextConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.boot.web.serve... |
b56c59c9-976a-40f1-8536-70ab62a0b598 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-28 08:54:27", "repo_name": "KangChanSong/priates", "sub_path": "/src/main/java/com/pirates/dto/product/ProductGetDto.java", "file_name": "ProductGetDto.java", "file_ext": "java", "file_size_in_byte": 1020, "li... | https://github.com/KangChanSong/priates | 204 | FILENAME: ProductGetDto.java | 0.291787 | package com.pirates.dto.product;
import com.pirates.entity.Product;
import lombok.Data;
@Data
public class ProductGetDto {
private String name;
private String description;
private String price;
public static ProductGetDto toDto(Product product, Long lowestPrice){
ProductGetDto dto = new Produ... |
19cdd60a-dd87-49e7-8348-9edb0d71be21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 11:12:16", "repo_name": "epic-saga/iv1350-project", "sub_path": "/src/se/kth/iv1350/sagah/model/AddedItem.java", "file_name": "AddedItem.java", "file_ext": "java", "file_size_in_byte": 1108, "line_count": 4... | https://github.com/epic-saga/iv1350-project | 265 | FILENAME: AddedItem.java | 0.290176 | package se.kth.iv1350.sagah.model;
import se.kth.iv1350.sagah.integration.ItemDTO;
/**
* Represents an item added to the sale log
* @author sagah
*/
public class AddedItem {
private int itemIdentifier;
private ItemDTO itemDTO;
private int amountOfItems;
/**
* Creates a new instance
* @par... |
fbbf5e7d-1cd1-473f-a0d6-9076d07997d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-31 18:27:07", "repo_name": "machaval/mule-dsl", "sub_path": "/tcp/src/test/java/org/mule/module/tcp/TCPServerExample.java", "file_name": "TCPServerExample.java", "file_ext": "java", "file_size_in_byte": 1189, ... | https://github.com/machaval/mule-dsl | 226 | FILENAME: TCPServerExample.java | 0.27048 | package org.mule.module.tcp;
import static org.mule.module.Core.inbound;
import static org.mule.module.Core.flow;
import static org.mule.module.Core.payload;
import static org.mule.module.Tcp.tcpConfig;
import static org.mule.module.Tcp.direct;
import org.mule.api.MuleException;
import org.mule.module.core.Mule;
imp... |
1eda8c43-14c9-48a9-87b4-3cdd943dd883 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-12 03:52:30", "repo_name": "mydipcom/ssp", "sub_path": "/src/main/java/com/product/dao/MiLanDao.java", "file_name": "MiLanDao.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 41, "lang": "en... | https://github.com/mydipcom/ssp | 256 | FILENAME: MiLanDao.java | 0.290176 | package com.product.dao;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.hibernate.Query;
import org.springframework.stereotype.Repository;
import com.product.dao.base.BaseDao;
import com.product.dto.MiLanProduct;
import com.product.dto.MrProduct;
/**
* @author silvasong E-... |
6616b7fd-769d-49a8-a2e7-bd6b5c5c2785 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-03 13:38:22", "repo_name": "killersolyom/SellIT", "sub_path": "/app/src/main/java/com/sell/it/CustomView/VerificationEditText.java", "file_name": "VerificationEditText.java", "file_ext": "java", "file_size_in_... | https://github.com/killersolyom/SellIT | 195 | FILENAME: VerificationEditText.java | 0.218669 | package com.sell.it.CustomView;
import android.content.Context;
import android.util.AttributeSet;
import com.sell.it.R;
public class VerificationEditText extends androidx.appcompat.widget.AppCompatEditText {
private boolean mError;
public VerificationEditText(Context context, AttributeSet attrs) {
... |
7844e750-1b71-4554-a4bc-96f5cd0918a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-26 13:27:29", "repo_name": "ajayam111222/CucumberFramework", "sub_path": "/cucumber-project/src/test/java/pageobject/login1.java", "file_name": "login1.java", "file_ext": "java", "file_size_in_byte": 1164, "li... | https://github.com/ajayam111222/CucumberFramework | 259 | FILENAME: login1.java | 0.284576 | package pageobject;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class login1{
@FindBy(xpath="//input[@id='txtUsername']")
private WebEleme... |
c3011a8e-5f3a-4d0f-9153-1f6beafe2a32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-29 15:45:53", "repo_name": "LenikPiotr/ProjektINZ", "sub_path": "/app/src/main/java/com/example/piotr/projektinz/usosweb.java", "file_name": "usosweb.java", "file_ext": "java", "file_size_in_byte": 1034, "line... | https://github.com/LenikPiotr/ProjektINZ | 197 | FILENAME: usosweb.java | 0.188324 | package com.example.piotr.projektinz;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;
public class usosweb extends App... |
7dcd4c0a-c4c0-4e13-ac49-b7a91e8c44fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-04 00:44:10", "repo_name": "upyounger49/netty-bio", "sub_path": "/src/main/java/com/atguigu/nio/SelectorClient.java", "file_name": "SelectorClient.java", "file_ext": "java", "file_size_in_byte": 1096, "line_co... | https://github.com/upyounger49/netty-bio | 215 | FILENAME: SelectorClient.java | 0.229535 | package com.atguigu.nio;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import static java.lang.System.out;
public class SelectorClient {
public static void main(String[] args) throws Exception {
client();
}
/**
* 客户端代码
*/
pu... |
fe2ec7aa-6033-4884-98c2-d40cdd4bd27a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-24 01:48:59", "repo_name": "cezarcruz/robot-in-mars", "sub_path": "/src/main/java/br/com/cezarcruz/dojomars/endpoint/RobotController.java", "file_name": "RobotController.java", "file_ext": "java", "file_size_i... | https://github.com/cezarcruz/robot-in-mars | 182 | FILENAME: RobotController.java | 0.235108 | package br.com.cezarcruz.dojomars.endpoint;
import br.com.cezarcruz.dojomars.services.ValidateCommandService;
import br.com.cezarcruz.dojomars.services.WalkInMarsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.a... |
0f3c6e23-a7c4-4a47-90f6-15b67aab563a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-28 07:54:11", "repo_name": "seblemaguer/features-building", "sub_path": "/src/main/java/marytts/data/item/prosody/Boundary.java", "file_name": "Boundary.java", "file_ext": "java", "file_size_in_byte": 1001, "l... | https://github.com/seblemaguer/features-building | 247 | FILENAME: Boundary.java | 0.23092 | package marytts.data.item.prosody;
/**
*
*
* @author <a href="mailto:slemaguer@coli.uni-saarland.de">Sébastien Le Maguer</a>
*/
public class Boundary
{
private int m_breakindex;
private String m_tone;
private int m_duration;
public Boundary(int breakindex, String tone)
{
setBreakindex(... |
629a3fbd-4778-4223-b897-d5c54b75b7e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-27 03:37:16", "repo_name": "vipin20427/Programming", "sub_path": "/src/hackerRank/Lexicographic.java", "file_name": "Lexicographic.java", "file_ext": "java", "file_size_in_byte": 1188, "line_count": 58, "lang"... | https://github.com/vipin20427/Programming | 367 | FILENAME: Lexicographic.java | 0.279828 | package hackerRank;
import java.util.Scanner;
public class Lexicographic {
public static void main(String[] args) {
/*
* Enter your code here. Read input from STDIN. Print output to STDOUT.
* Your class should be named Solution.
*/
Scanner scanner = new Scanner(System.in);
int numberOfTests = scanne... |
728e5e87-a6f6-44b6-8e62-8120bf196ea4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-25 13:58:12", "repo_name": "esparhams/myMatchRules", "sub_path": "/src/main/java/gov/match/model/TreatmentArmHistoryItem.java", "file_name": "TreatmentArmHistoryItem.java", "file_ext": "java", "file_size_in_by... | https://github.com/esparhams/myMatchRules | 220 | FILENAME: TreatmentArmHistoryItem.java | 0.253861 | package gov.match.model;
import java.util.Date;
import java.util.UUID;
import javax.validation.constraints.NotNull;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "treatmentArmHistory")
public class TreatmentArmHistoryItem extends MatchObject implements Comparable<TreatmentArm... |
cd9a084f-06bd-4ba3-b65e-064ba970eba7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-19 02:39:38", "repo_name": "buqixiaomi/j-example", "sub_path": "/demo-mybatis-boot/src/main/java/cn/buqixiaomi/demo/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "fil... | https://github.com/buqixiaomi/j-example | 244 | FILENAME: UserController.java | 0.216012 | package cn.buqixiaomi.demo.controller;
import cn.buqixiaomi.demo.entity.Log;
import cn.buqixiaomi.demo.entity.User;
import cn.buqixiaomi.demo.mapper.LogMapper;
import cn.buqixiaomi.demo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Requ... |
d728e6c9-2ba7-4398-82a7-b4f9c4bb9408 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-08-12T14:48:18", "repo_name": "YuraLukashik/short-commands-bundle", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1055, "line_count": 38, "lang": "en", "doc_type":... | https://github.com/YuraLukashik/short-commands-bundle | 247 | FILENAME: README.md | 0.267408 | Short commands for Symfony Console
===
* Install `ShortCommandsBundle`.
```bash
composer require yuralukashik/short-commands-bundle
```
* Register a folder with your commands, see `config.yml`:
```yaml
short_commands:
directories:
- "%kernel.root_dir%/../examples"
```
* Create a PHP file, for example `examples/e... |
c94bc9e4-1305-4863-a69c-936e022bd8ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-11-13T05:58:46", "repo_name": "wz2cool/wz2cool.github.io.source", "sub_path": "/source/_posts/tsbatis-tools.md", "file_name": "tsbatis-tools.md", "file_ext": "md", "file_size_in_byte": 1688, "line_count": 44,... | https://github.com/wz2cool/wz2cool.github.io.source | 435 | FILENAME: tsbatis-tools.md | 0.252384 | ---
title: tsbatis-tools 批量Entity导出
date: 2017-11-23 17:51:57
tags:
- tsbatis
---
# 前言
tsbatis 现在还在preview 版本,大量的测试工作还没有完成,但是已经发现一个问题,就是每次写entity会很浪费时间,为了提高效率,我们开发了一个工具来解决这个问题。目前可以支持sqlite和mysql 批量导出entity。
# TsBatis-Tools
## 下载
tsbatis-tools 基于 express 开发,所以我们可以再github 上面下载源码:https://github.com/wz2cool/tsbatis-tools... |
11e4aadd-198c-4a96-944d-e41a5dc24ae4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-28T21:10:58", "repo_name": "jhgilbert/reactnd-project-myreads", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1026, "line_count": 24, "lang": "en", "doc_type": ... | https://github.com/jhgilbert/reactnd-project-myreads | 238 | FILENAME: README.md | 0.216012 | # MyReads Project
This is my take on a homework project for my React nanodegree. The initial commit came from Udacity. All other work is my original code.
This app, supported by a Udacity-provided backend API, allows a user to maintain three lists of books: want to read, currently reading, and read. The user can also... |
2ce30788-14c3-4ebe-b667-f0ae73719bfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-14 13:12:33", "repo_name": "bittubushera98557/AnimalSale_15Feb", "sub_path": "/app/src/main/java/com/example/lenovo/emptypro/Activities/SignUp.java", "file_name": "SignUp.java", "file_ext": "java", "file_size_... | https://github.com/bittubushera98557/AnimalSale_15Feb | 222 | FILENAME: SignUp.java | 0.23092 | package com.example.lenovo.emptypro.Activities;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androidx.appcompat.app.AppCompatActivity;
import com.example.lenovo.emptypro.R;
public class SignUp extends AppCompatActivity implements View.OnClic... |
e7706331-907e-4e5d-844b-26180722cd58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-21T14:52:19", "repo_name": "thejump/react-native-leak-test", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 39, "lang": "en", "doc_type": "te... | https://github.com/thejump/react-native-leak-test | 258 | FILENAME: readme.md | 0.229535 | # React Native Memory Leak Test
This project is a basic demonstration of what appears to be a memory leak in the core of react native. The text node is being used to demonstrate the issue but the same effects are seen across all react native components.
### Installing
Clone this repository.
Run yarn install.
###... |
174edc79-6052-4c9e-a694-866daec4b25e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-16T22:36:21", "repo_name": "PabloSuarez/nextjs-examples", "sub_path": "/base-page-example.md", "file_name": "base-page-example.md", "file_ext": "md", "file_size_in_byte": 969, "line_count": 29, "lang": "en... | https://github.com/PabloSuarez/nextjs-examples | 204 | FILENAME: base-page-example.md | 0.181263 | import Head from "next/head";
import React from "react";
import { Container, MainContainer, MainTitle, P } from "./components/general";
const baseExample = () => {
return (
<Container>
<Head>
<title>Create Next App</title>
<meta name="description" content="Genera... |
84b6a429-2e4e-46fa-9550-a581814ca494 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-22T19:32:30", "repo_name": "EPHIEPROGRAMMER/Hangman", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1009, "line_count": 38, "lang": "en", "doc_type": "text", "b... | https://github.com/EPHIEPROGRAMMER/Hangman | 261 | FILENAME: README.md | 0.253861 | # Hangman
This readme contains details of this game is and how to run it on your local machine.
## Whats It About?
This is a digital version of the famous game, Hangman. It is a game whereby, a random word is generated and the user is supposed to guess the letters in the word until they get it.
## Creators
1. Bry ... |
15189380-9473-4d11-9837-2bab366bb8e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-01 16:30:40", "repo_name": "malevy/eda-demo", "sub_path": "/eda-order-service/src/main/java/net/malevy/edaorder/Publisher.java", "file_name": "Publisher.java", "file_ext": "java", "file_size_in_byte": 1115, "l... | https://github.com/malevy/eda-demo | 211 | FILENAME: Publisher.java | 0.243642 | package net.malevy.edaorder;
import lombok.extern.slf4j.Slf4j;
import net.malevy.edaorder.messages.Envelope;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class Publ... |
2837987b-2a07-42d5-a38c-f7ffe12bf5cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-02 13:13:38", "repo_name": "Pucilowski/polexchange", "sub_path": "/matcher/src/main/java/com/pucilowski/exchange/matcher/service/OrderListenerImpl.java", "file_name": "OrderListenerImpl.java", "file_ext": "jav... | https://github.com/Pucilowski/polexchange | 197 | FILENAME: OrderListenerImpl.java | 0.247987 | package com.pucilowski.exchange.matcher.service;
import com.pucilowski.exchange.integration.model.in.OrderCancelled;
import com.pucilowski.exchange.integration.model.in.OrderSubmitted;
import com.pucilowski.exchange.integration.service.server.OrderListener;
import com.pucilowski.exchange.matcher.model.Order;
import or... |
eb99636c-6e1d-48e3-80e3-ed68d791dcf4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 23:48:07", "repo_name": "smdb21/java-miape-api", "sub_path": "/src/main/java/org/proteored/miapeapi/factories/ge/ProtocolImpl.java", "file_name": "ProtocolImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/smdb21/java-miape-api | 230 | FILENAME: ProtocolImpl.java | 0.255344 | package org.proteored.miapeapi.factories.ge;
import java.util.Set;
import org.proteored.miapeapi.interfaces.ge.Dimension;
import org.proteored.miapeapi.interfaces.ge.InterdimensionProcess;
import org.proteored.miapeapi.interfaces.ge.Protocol;
public class ProtocolImpl implements Protocol {
private final String name... |
b9eb8e01-f04b-4435-b2ff-714a30c71a88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-10 16:46:28", "repo_name": "hzhou-teach/18open-leelandzhang", "sub_path": "/Week4/src/Week4/multimoo_silver.java", "file_name": "multimoo_silver.java", "file_ext": "java", "file_size_in_byte": 1164, "line_coun... | https://github.com/hzhou-teach/18open-leelandzhang | 372 | FILENAME: multimoo_silver.java | 0.272025 | package Week4;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;
public class multimoo_silver
{
public static void main(String args[]) throws IOException
{
Scanner sc = new Scanner(new File("m... |
59c4d939-2486-4a1c-87f6-e591682c662d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-11 02:59:26", "repo_name": "firashamila33/Esprit4All_JAVA", "sub_path": "/src/tests/ProfilTest.java", "file_name": "ProfilTest.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 29, "lang": "e... | https://github.com/firashamila33/Esprit4All_JAVA | 275 | FILENAME: ProfilTest.java | 0.292595 | /*
* 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 tests;
import models.Profil;
import models.User;
import services.ProfilService;
import utils.BCrypt;
/**
*
* ... |
1fd1c8d7-6b2c-46d5-a2d9-4efd6798a942 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-24 11:10:08", "repo_name": "ltbgogo/tjz", "sub_path": "/src/main/java/com/abc/tjz/util/db/entity/IdEntity.java", "file_name": "IdEntity.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 46, "... | https://github.com/ltbgogo/tjz | 242 | FILENAME: IdEntity.java | 0.291787 | package com.abc.tjz.util.db.entity;
import java.io.Serializable;
import java.security.SecureRandom;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.PrePersist;
import com.abc.tjz.util.json.JpaEntityPropertyFilter;
import com.fasterxml.... |
73253089-5271-457f-9df4-13ac39dcd4db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-15 13:03:32", "repo_name": "cRoptin/TP-VV", "sub_path": "/VV-TP7/processors/TestProcessors.java", "file_name": "TestProcessors.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 36, "lang": "e... | https://github.com/cRoptin/TP-VV | 222 | FILENAME: TestProcessors.java | 0.275909 | package org.apache.commons.math4.processors;
import spoon.processing.AbstractProcessor;
import spoon.reflect.code.CtInvocation;
import spoon.reflect.cu.CompilationUnit;
import spoon.reflect.cu.SourceCodeFragment;
import spoon.reflect.cu.SourcePosition;
import spoon.reflect.declaration.CtAnnotation;
import spoon.reflec... |
3eaa8272-b0a4-470b-b738-8a98cd859de2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-26 00:37:47", "repo_name": "ditryx/Hangover-Shop", "sub_path": "/src/main/java/com/ditryx/hangover/DAO/Implementation/ProductServiceImpl.java", "file_name": "ProductServiceImpl.java", "file_ext": "java", "file... | https://github.com/ditryx/Hangover-Shop | 232 | FILENAME: ProductServiceImpl.java | 0.27513 | package com.ditryx.hangover.DAO.Implementation;
import com.ditryx.hangover.DAO.ProductService;
import com.ditryx.hangover.entities.Product;
import com.ditryx.hangover.repos.ProductRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util... |
2cb444f4-dd53-4d19-a6ea-0bb1a54a133f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-05 15:59:06", "repo_name": "lh123/ChinaNetFlux", "sub_path": "/Flux/app/src/main/java/com/lh/flux/view/fragment/SettingFragment.java", "file_name": "SettingFragment.java", "file_ext": "java", "file_size_in_byt... | https://github.com/lh123/ChinaNetFlux | 191 | FILENAME: SettingFragment.java | 0.249447 | package com.lh.flux.view.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import com.lh.flux.R;
import com.lh.flux.view.FluxActivity;
public class SettingFragment extends PreferenceFragment
{
@Override
publi... |
1e20052a-4489-432b-96af-e7ecbdb5ec8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-18 14:00:08", "repo_name": "ashfaqnisar/Full-Stack-Developer-Training", "sub_path": "/Java Basics Learning Path - Stage 1/Java/Hands_On/Advanced_Java_Concepts/Serial_ParallelSorts_Stream/Add_Flight_Using_JDBC/... | https://github.com/ashfaqnisar/Full-Stack-Developer-Training | 202 | FILENAME: FlightManagementSystem.java | 0.27048 | package Hands_On.Advanced_Java_Concepts.Serial_ParallelSorts_Stream.Add_Flight_Using_JDBC;
/*Remove the package import from the code in genc learn*/
import java.sql.Connection;
import java.sql.PreparedStatement;
public class FlightManagementSystem {
public boolean addFlight(Flight flightObj) {
try {
... |
1e187213-9b16-4e19-8a7b-d2b7a0920ac7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 02:00:01", "repo_name": "cjtclinsan/pattern_improve", "sub_path": "/src/main/java/suanfa/singleton/reflex/LazyInnerClassSingletonTest.java", "file_name": "LazyInnerClassSingletonTest.java", "file_ext": "jav... | https://github.com/cjtclinsan/pattern_improve | 220 | FILENAME: LazyInnerClassSingletonTest.java | 0.256832 | package suanfa.singleton.reflex;
import suanfa.singleton.LazyInnerSingleton;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
/**
* @author taosh
* @create 2020-03-04 17:22
*/
public class LazyInnerClassSingletonTest {
public static void main(String[] args) {
... |
621dc629-7d01-4a89-883c-d243949e607c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28T02:02:48", "repo_name": "mlq1542906484/dispatch", "sub_path": "/src/main/java/com/jiadun/dispatch/validator/annotation/validator/FieldLengthLessValidator.java", "file_name": "FieldLengthLessValidator.java",... | https://github.com/mlq1542906484/dispatch | 251 | FILENAME: FieldLengthLessValidator.java | 0.26588 | package com.jiadun.dispatch.validator.annotation.validator;
import com.fit.utils.se.EmptyUtils;
import com.jiadun.dispatch.validator.annotation.FieldLengthLess;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
/**
* @description: 字段长度验证,字段长度必须小于或等于指定的长度
* @author: hc... |
1657f2a4-59f9-44df-8d62-225422a90cfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-03 15:30:22", "repo_name": "binsoftsid/mongodbcrud", "sub_path": "/src/mongodbcrud/mongo.java", "file_name": "mongo.java", "file_ext": "java", "file_size_in_byte": 1189, "line_count": 47, "lang": "en", "doc_ty... | https://github.com/binsoftsid/mongodbcrud | 273 | FILENAME: mongo.java | 0.293404 | package mongodbcrud;
import javax.swing.*;
public class mongo {
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch ( UnsupportedLookAndFeelException e ) {
System.out.println ("SystemLookAndFeel not supported on this platfo... |
c84da32d-ef78-45a2-a4ad-b56f08144532 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-22 06:35:48", "repo_name": "lhj306965717/Sample_Demo", "sub_path": "/sample_Demo/Dagger_2/src/main/java/com/lhj/sample/base/BaseApplication.java", "file_name": "BaseApplication.java", "file_ext": "java", "file... | https://github.com/lhj306965717/Sample_Demo | 247 | FILENAME: BaseApplication.java | 0.292595 | package com.lhj.sample.base;
import android.app.Application;
import android.util.Log;
import com.lhj.sample.module.ApplicationComponet;
import com.lhj.sample.module.DaggerApplicationComponet;
import com.lhj.sample.presenter.ApplicationPresenter;
import javax.inject.Inject;
/**
* Created by LiaoHongjie on 2017/6/30... |
a61625f2-f365-4046-b886-73b846571dbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-14 02:30:03", "repo_name": "huangwenl/hwl", "sub_path": "/src/com/brooke/blogs/SendMessagePage.java", "file_name": "SendMessagePage.java", "file_ext": "java", "file_size_in_byte": 1040, "line_count": 33, "lang... | https://github.com/huangwenl/hwl | 234 | FILENAME: SendMessagePage.java | 0.286968 | package com.brooke.blogs;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
public class SendMessagePage {
WebDriver driver;
@FindBy(how = How.ID, id = "txtIncept")
WebElement toUser;
... |
13e9c2d0-4beb-430f-9a59-ec646a3b4564 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-09 02:28:38", "repo_name": "xyy8202826/JavaSource", "sub_path": "/src/main/java/com/xyy/concurrent/InterruptDemo.java", "file_name": "InterruptDemo.java", "file_ext": "java", "file_size_in_byte": 1112, "line_c... | https://github.com/xyy8202826/JavaSource | 208 | FILENAME: InterruptDemo.java | 0.267408 | package com.xyy.concurrent;
import java.util.concurrent.TimeUnit;
/**
* <p>
* </p>
* User: xuyuanye Date: 2016/9/5 Project: JavaSource
*/
public class InterruptDemo {
/**
* 当一个阻塞方法检测到中断并抛出 InterruptedException 时,它会清除中断状态。
*
*/
public static void main(String ... args){
Thread t1 = n... |
0def33de-17de-4670-a103-414534f4b049 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-07 12:11:08", "repo_name": "dashingqi/WanAndroidQi", "sub_path": "/app/src/main/java/com/dashingqi/wanandroidqi/adapter/SystemListAdapter.java", "file_name": "SystemListAdapter.java", "file_ext": "java", "file... | https://github.com/dashingqi/WanAndroidQi | 231 | FILENAME: SystemListAdapter.java | 0.246533 | package com.dashingqi.wanandroidqi.adapter;
import android.support.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dashingqi.wanandroidqi.R;
import com.dashingqi.wanandroidqi.network.entity.system.SystemChildrenDataBean;
impor... |
36648093-273f-40f3-bf26-231a8624a3ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 08:06:12", "repo_name": "rebeccafinne/TraningsApp", "sub_path": "/TrainingApp/app/src/main/java/kandidat/trainingapp/Models/ExerciseRow.java", "file_name": "ExerciseRow.java", "file_ext": "java", "file_size... | https://github.com/rebeccafinne/TraningsApp | 256 | FILENAME: ExerciseRow.java | 0.282196 | package kandidat.trainingapp.Models;
import java.util.LinkedHashMap;
/**
* Created by Anna on 2018-04-13.
*/
public class ExerciseRow {
private int sets;
private int reps;
private int weight;
public ExerciseRow(int set, int reps, int weigth){
this.sets = set;
this.reps = reps;
... |
a2c64cfe-58e4-4f02-bc9a-60b2088b8a0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-05 15:02:42", "repo_name": "savegod/BJ-Gas", "sub_path": "/java/com/splwg/cm/domain/base/AbstractDataHandler.java", "file_name": "AbstractDataHandler.java", "file_ext": "java", "file_size_in_byte": 1134, "line... | https://github.com/savegod/BJ-Gas | 259 | FILENAME: AbstractDataHandler.java | 0.290981 | package com.splwg.cm.domain.print.base;
import java.util.HashMap;
import java.util.Map;
import org.dom4j.Document;
import com.splwg.cm.domain.print.DataHandlerException;
import com.splwg.cm.domain.print.trans.BUSTrans;
import com.splwg.cm.domain.print.trans.RESTrans;
public class AbstractDataHandler implements Data... |
dcce1900-d2dd-405d-89e2-84199141f578 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-19 05:23:47", "repo_name": "christinang3030/Echo", "sub_path": "/src/echo/CacheHandler.java", "file_name": "CacheHandler.java", "file_ext": "java", "file_size_in_byte": 1070, "line_count": 40, "lang": "en", "d... | https://github.com/christinang3030/Echo | 197 | FILENAME: CacheHandler.java | 0.261331 | package echo;
import java.net.Socket;
import java.util.HashMap;
public class CacheHandler extends ProxyHandler {
static HashMap<String, String> cache = new HashMap<>();
public CacheHandler(Socket s) { super(s); }
public CacheHandler() { super(); }
protected synchronized String search(String request... |
f4daea89-904c-4113-a030-25301089d3e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-29 12:18:55", "repo_name": "RomanPleshchenko/sbb", "sub_path": "/sbb-business/src/main/java/com/pleshchenko/sbb/app/service/impl/CarPrototypeCompositionServiceImpl.java", "file_name": "CarPrototypeCompositionS... | https://github.com/RomanPleshchenko/sbb | 209 | FILENAME: CarPrototypeCompositionServiceImpl.java | 0.277473 | package com.pleshchenko.sbb.app.service.impl;
import com.pleshchenko.sbb.app.entity.ticket.CarPrototypeComposition;
import com.pleshchenko.sbb.app.repositories.interfaces.CarPrototypeCompositionDao;
import com.pleshchenko.sbb.app.service.interfaces.CarPrototypeCompositionService;
import org.springframework.beans.facto... |
0b8c4a1b-cf93-42f4-847e-bdeae5ed0249 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-10 02:53:51", "repo_name": "hkj123/ob-security-conformance-suite-deprecated-master", "sub_path": "/src/main/java/io/fintechlabs/testframework/condition/client/FAPIRWCheckDiscEndpointResponseTypesSupported.java... | https://github.com/hkj123/ob-security-conformance-suite-deprecated-master | 205 | FILENAME: FAPIRWCheckDiscEndpointResponseTypesSupported.java | 0.290981 | package io.fintechlabs.testframework.condition.client;
import io.fintechlabs.testframework.condition.PreEnvironment;
import io.fintechlabs.testframework.logging.TestInstanceEventLog;
import io.fintechlabs.testframework.testmodule.Environment;
import java.util.Arrays;
public class FAPIRWCheckDiscEndpointResponseTypes... |
f28d1e8b-2677-4901-827f-3b70739fa35d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 16:48:45", "repo_name": "Nandakumar-Kadavannoore/Redirect-Sample", "sub_path": "/redirectController.java", "file_name": "redirectController.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count"... | https://github.com/Nandakumar-Kadavannoore/Redirect-Sample | 197 | FILENAME: redirectController.java | 0.23231 | /**
@author Nandakumar K
**/
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
... |
bab28c4d-6201-49ca-ab0c-806536d74612 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 13:21:44", "repo_name": "soujava/twitter-stream", "sub_path": "/src/main/java/br/org/soujava/twitter/utils/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte": 1102, "lin... | https://github.com/soujava/twitter-stream | 226 | FILENAME: DateUtils.java | 0.267408 | package br.org.soujava.twitter.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAccessor;
import java.util.Locale;
public class DateUtils {
private static final... |
6b205c22-3202-44e1-b684-b95e86b47b2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-28 01:39:38", "repo_name": "tjdtnzlffj/spring-myworkspace", "sub_path": "/spring_myworkspace_contact/src/main/java/com/ssu/spring_myworkspace_contact/opendata/weatherforecast/WeatherForecastController.java", "... | https://github.com/tjdtnzlffj/spring-myworkspace | 265 | FILENAME: WeatherForecastController.java | 0.276691 | package com.ssu.spring_myworkspace_contact.opendata.weatherforecast;
import java.util.List;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.data.domain.Sort.Order;
import org.springframew... |
c21a6dc2-4061-4f48-9919-f6c8d23ca1e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-25 06:29:30", "repo_name": "wchstrife/java-concurrent-demo", "sub_path": "/src/lock/Cache.java", "file_name": "Cache.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count": 46, "lang": "en", "doc_t... | https://github.com/wchstrife/java-concurrent-demo | 238 | FILENAME: Cache.java | 0.287768 | package lock;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
* 使用读写锁将一个HashMap变n成线程安全的
*/
public class Cache {
static Map<String, Object> map = new HashMap<Stri... |
1055b249-11f2-4578-8504-61635cec6ccf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 07:44:51", "repo_name": "vssudarshan-projects/dungeon-explorer", "sub_path": "/src/com/dungeonexplorer/assets/character/NonPlayableCharacter.java", "file_name": "NonPlayableCharacter.java", "file_ext": "jav... | https://github.com/vssudarshan-projects/dungeon-explorer | 218 | FILENAME: NonPlayableCharacter.java | 0.247987 | package com.dungeonexplorer.assets.character;
import com.dungeonexplorer.assets.GameObject;
import com.dungeonexplorer.assets.equipment.Armour;
import com.dungeonexplorer.assets.equipment.Scroll;
import com.dungeonexplorer.assets.equipment.Weapon;
import java.util.List;
public class NonPlayableCharacter ext... |
ece8ec63-d992-4382-b360-55a59bd8bc1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-05 10:08:08", "repo_name": "EyeTechPae/Server", "sub_path": "/src/main/java/server/EndPoint.java", "file_name": "EndPoint.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": 46, "lang": "en", "... | https://github.com/EyeTechPae/Server | 219 | FILENAME: EndPoint.java | 0.276691 | package server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
/**
* Created by germangb on 03/05/16.
*/
public class EndPoint extends Thread {
/** server.Server */
private ServerSocket server;
/** connection handler */
private ConnectionHandler handler;
/*... |
8eaba9a0-db44-4aa8-ab9e-17e8f398b098 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-24 14:30:16", "repo_name": "AdrianStaskiewicz/CRS", "sub_path": "/CRSCommon/src/main/java/entities/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1163, "line_count": 50, "... | https://github.com/AdrianStaskiewicz/CRS | 250 | FILENAME: Account.java | 0.272799 | package entities;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;
@Setter
@Getter
@AllArgsConstructor
@Entity
@Table(name = "ACCOUNT_0006")
public class Account {
@Id
@GeneratedValue(strategy = Gener... |
19f67b54-a368-4476-934d-6b517fdf58de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-21 20:02:25", "repo_name": "cedric-gormond/kanban", "sub_path": "/src/main/java/com/telecom/kanban/service/impl/DeveloperServiceImpl.java", "file_name": "DeveloperServiceImpl.java", "file_ext": "java", "file_s... | https://github.com/cedric-gormond/kanban | 197 | FILENAME: DeveloperServiceImpl.java | 0.259826 | package com.telecom.kanban.service.impl;
import com.telecom.kanban.dao.DeveloperRepository;
import com.telecom.kanban.domain.Developer;
import com.telecom.kanban.service.DeveloperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Col... |
6c48402d-9135-4589-a418-4ed0084530c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-14 18:17:56", "repo_name": "anisha964/A_02", "sub_path": "/src/test/java/actionitem/New_thing.java", "file_name": "New_thing.java", "file_ext": "java", "file_size_in_byte": 1085, "line_count": 51, "lang": "en"... | https://github.com/anisha964/A_02 | 240 | FILENAME: New_thing.java | 0.228156 | package actionitem;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class New_thing {
public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.chrome.driver","src//Resource//chromedriver.e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.