blob_id stringlengths 40 40 | __id__ int64 225 39,780B | directory_id stringlengths 40 40 | path stringlengths 6 313 | content_id stringlengths 40 40 | detected_licenses list | license_type stringclasses 2
values | repo_name stringlengths 6 132 | repo_url stringlengths 25 151 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 70 | visit_date timestamp[ns] | revision_date timestamp[ns] | committer_date timestamp[ns] | github_id int64 7.28k 689M ⌀ | star_events_count int64 0 131k | fork_events_count int64 0 48k | gha_license_id stringclasses 23
values | gha_fork bool 2
classes | gha_event_created_at timestamp[ns] | gha_created_at timestamp[ns] | gha_updated_at timestamp[ns] | gha_pushed_at timestamp[ns] | gha_size int64 0 40.4M ⌀ | gha_stargazers_count int32 0 112k ⌀ | gha_forks_count int32 0 39.4k ⌀ | gha_open_issues_count int32 0 11k ⌀ | gha_language stringlengths 1 21 ⌀ | gha_archived bool 2
classes | gha_disabled bool 1
class | content stringlengths 7 4.37M | src_encoding stringlengths 3 16 | language stringclasses 1
value | length_bytes int64 7 4.37M | extension stringclasses 24
values | filename stringlengths 4 174 | language_id stringclasses 1
value | entities list | contaminating_dataset stringclasses 0
values | malware_signatures list | redacted_content stringlengths 7 4.37M | redacted_length_bytes int64 7 4.37M | alphanum_fraction float32 0.25 0.94 | alpha_fraction float32 0.25 0.94 | num_lines int32 1 84k | avg_line_length float32 0.76 99.9 | std_line_length float32 0 220 | max_line_length int32 5 998 | is_vendor bool 2
classes | is_generated bool 1
class | max_hex_length int32 0 319 | hex_fraction float32 0 0.38 | max_unicode_length int32 0 408 | unicode_fraction float32 0 0.36 | max_base64_length int32 0 506 | base64_fraction float32 0 0.5 | avg_csv_sep_count float32 0 4 | is_autogen_header bool 1
class | is_empty_html bool 1
class | shard stringclasses 16
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6426f8233b06643b355a834ca6dd2af819121aad | 7,876,970,054,003 | 5e3eee78cad8bee3c6cd3e3bdc6121221a658885 | /webtool/src/main/java/com/danbay/project/DeviceInfo.java | 527bc6e62f2a824694e5a59eef5eb294bde7c83f | [
"Apache-2.0"
] | permissive | carterbrother/techtool | https://github.com/carterbrother/techtool | 2995206cb108a26db31286a6bc6b53f29f09c277 | 1e71375263120528ba19268a46b8acdb28db8b3b | refs/heads/master | 2021-06-15T17:51:25.861000 | 2019-06-11T02:37:21 | 2019-06-11T02:37:21 | 171,445,821 | 0 | 0 | Apache-2.0 | false | 2021-06-04T02:00:20 | 2019-02-19T09:34:00 | 2019-06-11T02:37:50 | 2021-06-04T02:00:19 | 376 | 0 | 0 | 2 | Java | false | false | package com.danbay.project;
/**
* Created by carter on 2017/5/15. Copyright © 2016 -2017 旦倍科技
* 设备信息实体;
*
*/
public class DeviceInfo {
private String ip;//ip地址
private String mac;//mac地址
private String sn_id;//sn_id 即设备型号
private String ver_id;//设备版本号
private String device_id;//设备id
publi... | UTF-8 | Java | 1,233 | java | DeviceInfo.java | Java | [
{
"context": "package com.danbay.project;\n\n/**\n * Created by carter on 2017/5/15. Copyright © 2016 -2017 旦倍科技\n * 设备信息",
"end": 53,
"score": 0.9895363450050354,
"start": 47,
"tag": "USERNAME",
"value": "carter"
}
] | null | [] | package com.danbay.project;
/**
* Created by carter on 2017/5/15. Copyright © 2016 -2017 旦倍科技
* 设备信息实体;
*
*/
public class DeviceInfo {
private String ip;//ip地址
private String mac;//mac地址
private String sn_id;//sn_id 即设备型号
private String ver_id;//设备版本号
private String device_id;//设备id
publi... | 1,233 | 0.559524 | 0.546769 | 65 | 17.061539 | 16.240383 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.323077 | false | false | 6 |
48da95909847923bf82a3d4e074a54b5bf04641b | 19,490,561,596,701 | 554369d43715967ba9a2b42e629211821433bcfc | /src/main/java/com/doit/weather/model/Temeprature.java | 95eda03b5c4381df97118acd110f0e49360169f4 | [] | no_license | paramsantokh/WeatherForecast | https://github.com/paramsantokh/WeatherForecast | eddbb4b6c8343fc534261b638614d7410668a32b | 8bd7744ff07cb5ef588f30c0ee59e318ff731ebd | refs/heads/master | 2020-12-29T14:18:56.609000 | 2020-02-14T13:01:51 | 2020-02-14T13:01:51 | 238,635,591 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.doit.weather.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Temeprature {
@JsonProperty ("temp_min")
double minTemp;
@JsonProperty ("temp_max")
double maxTemp;
public double getMinTemp() {
return minTemp;
}
public void setMinTemp(double minTemp) {
thi... | UTF-8 | Java | 483 | java | Temeprature.java | Java | [] | null | [] | package com.doit.weather.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Temeprature {
@JsonProperty ("temp_min")
double minTemp;
@JsonProperty ("temp_max")
double maxTemp;
public double getMinTemp() {
return minTemp;
}
public void setMinTemp(double minTemp) {
thi... | 483 | 0.6853 | 0.6853 | 26 | 17.576923 | 15.342683 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | false | false | 6 |
d4844da7f8d39da0f849f9b9e76f75a188f69bb5 | 33,792,802,734,898 | 1126071cb7ce7459328436980653434d3f54aa39 | /hw22/src/edu/umb/cs/cs681/FIFO.java | 07642939f5effb27f291ab523c6bab35007e1e7f | [] | no_license | tambekarv/Object-Oriented-Software-Development-II---Assignments | https://github.com/tambekarv/Object-Oriented-Software-Development-II---Assignments | 6aaeb411366ba26ef644dceed58a9a463f427582 | 9a4dc5c102628555561abd881654f8bd25a6d354 | refs/heads/master | 2021-01-22T18:06:47.716000 | 2017-08-18T19:09:06 | 2017-08-18T19:09:06 | 100,741,113 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package edu.umb.cs.cs681;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Path;
import java.util.LinkedHashMap;
import java.util.concurrent.locks.ReentrantLock;
public class FIFO extends FileCache
{
private ReentrantLock lock... | UTF-8 | Java | 1,046 | java | FIFO.java | Java | [] | null | [] | package edu.umb.cs.cs681;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Path;
import java.util.LinkedHashMap;
import java.util.concurrent.locks.ReentrantLock;
public class FIFO extends FileCache
{
private ReentrantLock lock... | 1,046 | 0.732314 | 0.729446 | 45 | 22.266666 | 19.264706 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.622222 | false | false | 6 |
d408eb6498dcb90e967d2ffe1ab198d54ad22966 | 36,103,495,117,919 | 3d6c989a850ceeb42b2a9ba74a5806621c3958fe | /src/test/java/com/tdudhatra/games/connect4/controller/UserControllerIntegrationTest.java | be5f02ab56ffe32a479a1aac242320a90800d437 | [] | no_license | tjDudhatra/connect4 | https://github.com/tjDudhatra/connect4 | 6ae99ad85da97b9b1bd35bf2d795ffbdce29064f | e3c4f86bdbde939989324d426f2ac5388457aa5e | refs/heads/master | 2021-01-13T14:06:03.017000 | 2016-12-29T14:21:52 | 2016-12-29T14:21:52 | 76,189,987 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
* Copyright (C) 2016 @tdudhatra - All Rights Reserved.
*/
package com.tdudhatra.games.connect4.controller;
import com.tdudhatra.games.connect4.dto.UserDto;
import com.tdudhatra.games.connect4.entity.User;
import com.tdudhatra.games.connect4.factory.Connect4TestDtoBuilder;
import com.tdudhatra.games.connect4.rep... | UTF-8 | Java | 6,822 | java | UserControllerIntegrationTest.java | Java | [
{
"context": "/**\n * Copyright (C) 2016 @tdudhatra - All Rights Reserved.\n */\n\npackage com.tdudhatra",
"end": 36,
"score": 0.9991891980171204,
"start": 26,
"tag": "USERNAME",
"value": "@tdudhatra"
},
{
"context": "n tests for {@link UserController}.\n * \n * @author tdudhatra\n *... | null | [] | /**
* Copyright (C) 2016 @tdudhatra - All Rights Reserved.
*/
package com.tdudhatra.games.connect4.controller;
import com.tdudhatra.games.connect4.dto.UserDto;
import com.tdudhatra.games.connect4.entity.User;
import com.tdudhatra.games.connect4.factory.Connect4TestDtoBuilder;
import com.tdudhatra.games.connect4.rep... | 6,827 | 0.704192 | 0.700381 | 213 | 31.02817 | 28.27413 | 91 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.422535 | false | false | 6 |
ae43df4a42f5ba3d508b8bf7fb09be054fe9f942 | 29,875,792,564,661 | 3c6c5920c99d237049b4f81ab22528f70d6db47c | /src/java/net/fangcun/dao/impl/CategoryDaoImpl.java | 0ae95150dad25780913ea2ec23eadc13a956a5aa | [] | no_license | keyarea/java-web-study | https://github.com/keyarea/java-web-study | a4ef81013ab146030a4871d2eb6d606068f34c54 | 772d976baf27f71c3ebd6bbecd6c358378043b79 | refs/heads/master | 2022-06-30T00:26:20.681000 | 2019-06-06T13:45:25 | 2019-06-06T13:45:25 | 166,645,353 | 0 | 0 | null | false | 2022-06-21T00:55:25 | 2019-01-20T09:45:29 | 2019-06-06T13:45:43 | 2022-06-21T00:55:25 | 3,406 | 0 | 0 | 3 | JavaScript | false | false | package net.fangcun.dao.impl;
import net.fangcun.dao.IArticleDao;
import net.fangcun.dao.ICategoryDao;
import net.fangcun.domain.Article;
import net.fangcun.domain.Category;
import net.fangcun.util.JdbcUtils_C3P0;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sq... | UTF-8 | Java | 8,171 | java | CategoryDaoImpl.java | Java | [] | null | [] | package net.fangcun.dao.impl;
import net.fangcun.dao.IArticleDao;
import net.fangcun.dao.ICategoryDao;
import net.fangcun.domain.Article;
import net.fangcun.domain.Category;
import net.fangcun.util.JdbcUtils_C3P0;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sq... | 8,171 | 0.57732 | 0.57223 | 244 | 30.405737 | 22.801067 | 142 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.540984 | false | false | 6 |
a22af1dad74eb39a3efa41a7c437e3a2e1eb4b19 | 35,184,372,124,567 | 123f9f64fb1268933649438f7882deedc80d1ee7 | /src/managedbeans/AvBean.java | f79afaa3b9348f50472175be3733e22102b5a2a4 | [] | no_license | TJ2015/Obligatorio | https://github.com/TJ2015/Obligatorio | 2a2e565c18cbc573e20d07b08f29ad862c291b1d | 0f823b4fa1627e6b262805fff10a62f600fbc779 | refs/heads/master | 2016-08-12T11:33:32.007000 | 2015-12-01T21:25:10 | 2015-12-01T21:25:10 | 43,399,438 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package managedbeans;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
i... | ISO-8859-1 | Java | 24,555 | java | AvBean.java | Java | [
{
"context": "a;\n\tprivate String nombreProducto;\n\tprivate String nombreUsuComp;\n\tprivate int cantidad;\n\tprivate boolean reemplaz",
"end": 1677,
"score": 0.8531320095062256,
"start": 1664,
"tag": "USERNAME",
"value": "nombreUsuComp"
},
{
"context": "\");\n\n\t\tboolean miembro... | null | [] | package managedbeans;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
i... | 24,559 | 0.723343 | 0.721102 | 984 | 23.942074 | 23.05291 | 173 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.035569 | false | false | 6 |
dd1dd1eaaa2b731a5736ebfd53fa0338c58ee276 | 34,677,565,986,955 | 8aa068ce7d6c2911fb119c0493290806721de40f | /Progetto/src/Entities/Sede.java | 92a38be7961d22f2200ba716af23190289199574 | [] | no_license | MikeFonseta/ProgettoOOBD | https://github.com/MikeFonseta/ProgettoOOBD | cce0466e72241613d11231e855cdc1d065646605 | 73b887a725fd6d1efeba844f51a5bd1e5d0925a3 | refs/heads/main | 2023-03-14T20:54:45.427000 | 2022-12-20T18:49:12 | 2022-12-20T18:49:12 | 323,676,045 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package Entities;
public class Sede {
private int idSede;
private String nomeSede;
private String telefonoSede;
private String provincia;
private String citta;
private String via;
private String numCivico;
public Sede(int idSede, String nomeSede,String telefonoSede, String provincia,
String ... | UTF-8 | Java | 996 | java | Sede.java | Java | [] | null | [] | package Entities;
public class Sede {
private int idSede;
private String nomeSede;
private String telefonoSede;
private String provincia;
private String citta;
private String via;
private String numCivico;
public Sede(int idSede, String nomeSede,String telefonoSede, String provincia,
String ... | 996 | 0.663655 | 0.663655 | 59 | 14.881356 | 15.162493 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.525424 | false | false | 6 |
16ad4baf2799a6144a4cfb4871a7d06378072ed5 | 39,290,360,856,311 | 5f5673b8ad44fa57f7b895f7ff4ab4aefc79bbca | /src/main/java/com/meng/mapper/MessageMapper.java | 7fcefef8999e3474457309b0b006657b9e4a0f4c | [
"Apache-2.0"
] | permissive | xuemengwang/PsycCounseling | https://github.com/xuemengwang/PsycCounseling | 60a14b211bcc83005897d534f08ffc8534d26218 | d91f4b4d598f9dd3582c86807c489f5436bd32c3 | refs/heads/master | 2022-12-23T23:44:52.021000 | 2020-07-31T17:38:27 | 2020-07-31T17:38:27 | 249,363,557 | 2 | 1 | Apache-2.0 | false | 2022-12-16T07:48:00 | 2020-03-23T07:31:31 | 2020-07-31T17:38:45 | 2022-12-16T07:47:57 | 2,777 | 1 | 1 | 11 | Java | false | false | package com.meng.mapper;
import com.meng.model.Message;
import com.meng.model.MessageExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MessageMapper {
int countByExample(MessageExample example);
int deleteByExample(MessageExample example);
int deleteByPrimaryK... | UTF-8 | Java | 1,005 | java | MessageMapper.java | Java | [] | null | [] | package com.meng.mapper;
import com.meng.model.Message;
import com.meng.model.MessageExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MessageMapper {
int countByExample(MessageExample example);
int deleteByExample(MessageExample example);
int deleteByPrimaryK... | 1,005 | 0.759919 | 0.759919 | 36 | 26.333334 | 32.390842 | 127 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | false | false | 6 |
d04aa35193d57fc623c71705e92383827c526800 | 39,015,482,953,599 | 496a59418f7e7cc61e532c3c3ee014a38561e261 | /src/Emitter.java | 58bba556f45bf7e40a16ce0d39e7afde6549a8bd | [] | no_license | sdvic/FSG | https://github.com/sdvic/FSG | dda78048a1d689cc3c03b6b5b69e84dc95d37c86 | f037a98d8de75e33f690fd359b955ef505e8ab74 | refs/heads/master | 2021-01-13T03:04:23.200000 | 2016-12-21T16:32:23 | 2016-12-21T16:32:23 | 77,006,503 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.awt.geom.Ellipse2D;
import java.awt.geom.Point2D;
public class Emitter
{
int laserXpos;
int laserYpos;
int laserDiameter = 10;
Point2D.Double emitterPoint;
public Emitter(int laserXpos, int laserYpos)
{
this.laserXpos = laserXpos;
this.laserYpos = laserYpos;
this.emitterPoin... | UTF-8 | Java | 748 | java | Emitter.java | Java | [] | null | [] | import java.awt.geom.Ellipse2D;
import java.awt.geom.Point2D;
public class Emitter
{
int laserXpos;
int laserYpos;
int laserDiameter = 10;
Point2D.Double emitterPoint;
public Emitter(int laserXpos, int laserYpos)
{
this.laserXpos = laserXpos;
this.laserYpos = laserYpos;
this.emitterPoin... | 748 | 0.708556 | 0.69385 | 31 | 23.129032 | 23.27915 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.83871 | false | false | 6 |
e9c14c37ac51665917f6e2b0fd03c6e69e71d848 | 31,129,923,024,366 | 658418e3600b8139b255b7a51ff10d68edd46e70 | /src/pack1/Test2.java | e96e09d28b91d9ef0454df94c1b2713055b7626c | [] | no_license | bolbol2021/SeleniumJour2 | https://github.com/bolbol2021/SeleniumJour2 | 16bdbe97886252ca0e16e4a8bc7e965f8390bb75 | 26cf95928a367a90bfc98add428bf7eabe9267e2 | refs/heads/main | 2023-06-17T11:29:24.492000 | 2021-07-16T01:38:56 | 2021-07-16T01:38:56 | 386,450,551 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package pack1;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Test2 {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "drivers\\chromedriver.exe");
WebDriver driver=new ChromeDriver();
//ChromeDriver driver1=new ChromeDr... | UTF-8 | Java | 861 | java | Test2.java | Java | [] | null | [] | package pack1;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Test2 {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "drivers\\chromedriver.exe");
WebDriver driver=new ChromeDriver();
//ChromeDriver driver1=new ChromeDr... | 861 | 0.735192 | 0.730546 | 31 | 26.774193 | 32.892502 | 116 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.258065 | false | false | 6 |
7b6b35d5c4eb7332645df60effc41a778e2b8443 | 8,607,114,528,502 | b4feb2b188f7050c80e3d4bae3d2a4bc8569ae99 | /JavaBot/src/Board.java | da03096ff8d0da7d8c191a5fe9f45da56357a06f | [] | no_license | W-M-T/Thalia-Programming-Contest-Framework | https://github.com/W-M-T/Thalia-Programming-Contest-Framework | d504024fcdec8b37a9a9ba3ab665ebed2b9af608 | fc4470f2d338e93388cc45bfcb6e3990ccb2d153 | refs/heads/master | 2020-03-10T09:32:46.711000 | 2018-12-18T15:36:27 | 2018-12-18T15:36:27 | 129,311,965 | 0 | 5 | null | false | 2018-05-18T21:04:32 | 2018-04-12T21:14:39 | 2018-05-18T15:53:36 | 2018-05-18T21:04:32 | 176 | 0 | 3 | 3 | Python | false | null | import java.util.Arrays;
public class Board {
public static final int FIELD_SIZE = 15;
private Tile[][] board;
public Board() {
board = new Tile[FIELD_SIZE][FIELD_SIZE];
for(Tile[] row : board)
Arrays.fill(row, Tile.EMPTY);
}
private Board(Tile[][] board) ... | UTF-8 | Java | 1,302 | java | Board.java | Java | [] | null | [] | import java.util.Arrays;
public class Board {
public static final int FIELD_SIZE = 15;
private Tile[][] board;
public Board() {
board = new Tile[FIELD_SIZE][FIELD_SIZE];
for(Tile[] row : board)
Arrays.fill(row, Tile.EMPTY);
}
private Board(Tile[][] board) ... | 1,302 | 0.483871 | 0.479263 | 58 | 21.448277 | 18.526936 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.431034 | false | false | 6 |
837a41f98a3e5dcacfe45cdd34d921182597498f | 36,816,459,693,398 | d6f9da91642055fe72910778d408ad93d7866687 | /src/main/java/com/borlok/crudrest/rest/UserRestController.java | d38539a3ed43b223f4a0e399fa048f1dd37b29fe | [] | no_license | Borlok/restCrudWitnGradle | https://github.com/Borlok/restCrudWitnGradle | 77e059d3fc813dbdaed0fa88380d178a65072635 | 6ac89b4b4b227e82b9f1d7e2044067a6f729d492 | refs/heads/master | 2023-03-22T04:42:12.855000 | 2021-03-04T17:08:59 | 2021-03-04T17:08:59 | 340,980,549 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.borlok.crudrest.rest;
import com.borlok.crudrest.dto.UserDto;
import com.borlok.crudrest.model.Account;
import com.borlok.crudrest.model.User;
import com.borlok.crudrest.service.AccountService;
import com.borlok.crudrest.service.EventService;
import com.borlok.crudrest.service.FileService;
import com.borlo... | UTF-8 | Java | 3,032 | java | UserRestController.java | Java | [] | null | [] | package com.borlok.crudrest.rest;
import com.borlok.crudrest.dto.UserDto;
import com.borlok.crudrest.model.Account;
import com.borlok.crudrest.model.User;
import com.borlok.crudrest.service.AccountService;
import com.borlok.crudrest.service.EventService;
import com.borlok.crudrest.service.FileService;
import com.borlo... | 3,032 | 0.666557 | 0.665237 | 83 | 35.530121 | 20.642883 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.518072 | false | false | 6 |
7edc728ed30dc30799892b567abd00b771edc1ce | 35,218,731,871,747 | 70c9d539d4fb288cf7b6b3aba16d28ce3651164c | /Animals.java | 5aa164ed7d6f0d010b0bfcb3eb74573e4791b1e3 | [] | no_license | mchtshn/abstract-classes-and-interfaces | https://github.com/mchtshn/abstract-classes-and-interfaces | 52fe1f5590c682a746645ad7e011498ccb1ba0cd | 95c177bb0a457bfcfac5ee8ad49d1afdb7b6ce31 | refs/heads/master | 2020-04-06T14:55:56.986000 | 2018-11-14T14:18:30 | 2018-11-14T14:18:30 | 157,559,618 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package chapter14;
public abstract class Animals implements Alive,Measurablee {
public abstract void speak();
}
| UTF-8 | Java | 117 | java | Animals.java | Java | [] | null | [] | package chapter14;
public abstract class Animals implements Alive,Measurablee {
public abstract void speak();
}
| 117 | 0.777778 | 0.760684 | 7 | 15.714286 | 21.035442 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | false | false | 6 |
811d03393d2c9c0789de196e23879f12c126a727 | 18,734,647,412,379 | 79037908b11869bb031bafecb2eaf940760e8aeb | /kin-framework-java/src/main/java/org/kin/framework/mybatis/DaoSupport.java | a76f1848b58ec9bde0d48ae00767720292959222 | [
"Apache-2.0"
] | permissive | huangjianqin/kin-framework | https://github.com/huangjianqin/kin-framework | bac48d8067f1443ab1e9b9bb55b309e03ecb2741 | a09d82964f19998880fa045dcd00239968369345 | refs/heads/master | 2022-11-20T08:51:20.390000 | 2022-03-26T14:47:23 | 2022-03-26T14:47:23 | 195,568,889 | 0 | 1 | Apache-2.0 | false | 2022-11-15T23:58:05 | 2019-07-06T17:59:57 | 2022-01-09T15:35:19 | 2022-11-15T23:58:03 | 1,002 | 0 | 1 | 2 | Java | false | false | package org.kin.framework.mybatis;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
import java.util.Collecti... | UTF-8 | Java | 2,990 | java | DaoSupport.java | Java | [
{
"context": "l.Map;\n\n/**\n * entity dao 具体实现需要继承该类\n *\n * @author huangjianqin\n * @date 2021/1/10\n */\npublic abstract class DaoS",
"end": 425,
"score": 0.9989129304885864,
"start": 413,
"tag": "USERNAME",
"value": "huangjianqin"
}
] | null | [] | package org.kin.framework.mybatis;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
import java.util.Collecti... | 2,990 | 0.68004 | 0.675657 | 115 | 24.791304 | 25.626921 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | false | false | 6 |
18504d686cd693bb93f316d357e00bfbffba36f5 | 12,678,743,505,576 | 307c03301ac2b5a12ee635237f0d5a6f2498958f | /order/server/src/test/java/com/test/order/repository/OrderMasterRepositoryTest.java | c164c98e4197dda1f9cb4fb5db1bdd9afbb59fb9 | [] | no_license | locker777/spring_cloud_learn | https://github.com/locker777/spring_cloud_learn | 943fa4b4ed79dbf34c523b4bd0d1f0076c5aa1fc | 5fb38ca6b803842c868772bcd9de6735b64098d4 | refs/heads/master | 2022-12-26T22:51:32.292000 | 2020-05-13T09:48:34 | 2020-05-13T09:48:34 | 181,805,050 | 0 | 0 | null | false | 2022-06-21T01:16:59 | 2019-04-17T02:47:19 | 2020-05-13T09:49:15 | 2022-06-21T01:16:57 | 119 | 0 | 0 | 2 | Java | false | false | package com.test.order.repository;
import com.test.order.OrderApplicationTests;
import com.test.order.dataobject.OrderMaster;
import com.test.order.enums.OrderStatusEnums;
import com.test.order.enums.PayStatusEnums;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... | UTF-8 | Java | 1,322 | java | OrderMasterRepositoryTest.java | Java | [
{
"context": "import static org.junit.Assert.*;\n\n/**\n * @Auther: zjc\n * @Date: 2019/4/29 10:17\n * @Description:\n */\n@C",
"end": 470,
"score": 0.9996615648269653,
"start": 467,
"tag": "USERNAME",
"value": "zjc"
},
{
"context": "rId(\"1234568\");\n orderMaster.setBuyerNam... | null | [] | package com.test.order.repository;
import com.test.order.OrderApplicationTests;
import com.test.order.dataobject.OrderMaster;
import com.test.order.enums.OrderStatusEnums;
import com.test.order.enums.PayStatusEnums;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... | 1,322 | 0.740487 | 0.714612 | 47 | 26.978724 | 23.538551 | 70 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.489362 | false | false | 6 |
1bdb15994f4336560985c9c4cd9e05b1434532ef | 34,840,774,749,928 | ab8fdd6c2ccb47a8b8410219cc139e06a477fdef | /backend/src/main/java/com/ssafy/green/controller/MbtiController.java | 52ba03506e7e4c8bc5e9db752a11beb5a46f4c36 | [] | no_license | Park-Dasol/GreenFingers | https://github.com/Park-Dasol/GreenFingers | f62c555e1caa1a8f27383de269d9d207f544fe99 | 0fb7533530bd16db72afc25d130ccb98081944ec | refs/heads/master | 2023-06-03T10:41:29.219000 | 2021-06-19T11:43:45 | 2021-06-19T11:43:45 | 372,798,501 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ssafy.green.controller;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseAuthException;
import com.google.firebase.auth.FirebaseToken;
import com.ssafy.green.model.dto.MbtiResponse;
import com.ssafy.green.model.dto.MbtiResultResponse;
import com.ssafy.green.service.Mbti... | UTF-8 | Java | 2,214 | java | MbtiController.java | Java | [] | null | [] | package com.ssafy.green.controller;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseAuthException;
import com.google.firebase.auth.FirebaseToken;
import com.ssafy.green.model.dto.MbtiResponse;
import com.ssafy.green.model.dto.MbtiResultResponse;
import com.ssafy.green.service.Mbti... | 2,214 | 0.607006 | 0.604127 | 64 | 31.5625 | 21.183628 | 91 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | false | false | 6 |
0ab390294eff4a3a93e59c89dd6143f8af5fd227 | 38,783,554,700,244 | 2842f620b6dbe5952d630f2ea70be75473a19104 | /projet_fil_rouge/02-JAVA_SE/projet_fil_rouge.MVC/src/packageDAO/InterfaceDb.java | 29da20c9830ff910afd6ae0e6258753e427441af | [] | no_license | Fabrizzio-ATA/Ecole_LDNR | https://github.com/Fabrizzio-ATA/Ecole_LDNR | 47cc21cb25b322e295ed9f96e6b00921d42d3c23 | 91d74eb58c7cacffacb084437642b2527ea9d77d | refs/heads/master | 2020-09-11T08:46:13.758000 | 2016-06-16T13:35:47 | 2016-06-16T13:35:47 | 66,660,722 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package packageDAO;
/*******************************************************************************
* 2016, All rights reserved.
*******************************************************************************/
// Start of user code (user defined imports)
// End of user code
/**
* Description of InterfaceDb.
... | UTF-8 | Java | 1,375 | java | InterfaceDb.java | Java | [
{
"context": "\n/**\n * Description of InterfaceDb.\n * \n * @author fabrizzio\n */\npublic interface InterfaceDb {\n\t// Start of u",
"end": 343,
"score": 0.9882736206054688,
"start": 334,
"tag": "USERNAME",
"value": "fabrizzio"
}
] | null | [] | package packageDAO;
/*******************************************************************************
* 2016, All rights reserved.
*******************************************************************************/
// Start of user code (user defined imports)
// End of user code
/**
* Description of InterfaceDb.
... | 1,375 | 0.584 | 0.581091 | 76 | 17.092106 | 20.092665 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.815789 | false | false | 6 |
5abab229b61113ccb4b961e6818dadbd6365edef | 24,773,371,377,099 | 8e95e498b0ff9137643f95c321f36aa51ca64394 | /src/com/springapp/mvc/dao/DbDao.java | 4ce48b4900c017fac008f9f49d7fdd189325c819 | [] | no_license | NewDolphin/ApiManagementSystem | https://github.com/NewDolphin/ApiManagementSystem | df16c958d48dac6a6afb72efecfba2e7d1428c4a | 7714d44608d5811e40a42066fe1aef285da8d5d4 | refs/heads/master | 2016-08-12T16:02:26.382000 | 2016-03-29T07:46:40 | 2016-03-29T07:46:40 | 54,956,196 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.springapp.mvc.dao;
import com.springapp.mvc.bean.ApiGroup;
import com.springapp.mvc.bean.ApiInfo;
import com.springapp.mvc.bean.AppInfo;
import com.springapp.mvc.bean.DataSourceItem;
import com.springapp.mvc.bean.InputParam;
import com.springapp.mvc.bean.MainPageItem;
import com.springapp.mvc.bean.OutputPa... | UTF-8 | Java | 54,684 | java | DbDao.java | Java | [
{
"context": "dress,\n\t\t\tString portNumber, String dbName, String userName, String password) {\n\t\tConnection connection = nul",
"end": 1309,
"score": 0.988079845905304,
"start": 1301,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "dress,\n\t\t\tString portNumber, String... | null | [] | package com.springapp.mvc.dao;
import com.springapp.mvc.bean.ApiGroup;
import com.springapp.mvc.bean.ApiInfo;
import com.springapp.mvc.bean.AppInfo;
import com.springapp.mvc.bean.DataSourceItem;
import com.springapp.mvc.bean.InputParam;
import com.springapp.mvc.bean.MainPageItem;
import com.springapp.mvc.bean.OutputPa... | 54,684 | 0.673524 | 0.660704 | 1,768 | 29.574661 | 22.206993 | 133 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.663461 | false | false | 6 |
791a2c43527ce2db8961322745f520b0ede4e327 | 16,758,962,401,769 | b0f952e3b1fe45f7c2b91bd982d6f6bf90bb3f2f | /1주차/이보미/Main_8320.java | 9e3990e3ff9d84186e965d0f2433742d08a050f1 | [] | no_license | SeongHyeonP/AlgorithmStudy | https://github.com/SeongHyeonP/AlgorithmStudy | 96bd3363861a32386e3b5b8d2c17ab3b1761a312 | a32c758baeabaf58127c0384db6b8e648e4eab91 | refs/heads/main | 2023-08-17T20:07:35.394000 | 2021-10-27T06:11:39 | 2021-10-27T06:11:39 | 411,493,143 | 0 | 0 | null | true | 2021-09-29T01:38:14 | 2021-09-29T01:38:13 | 2021-09-28T09:26:43 | 2021-09-28T09:26:40 | 190 | 0 | 0 | 0 | null | false | false | import java.util.Scanner;
public class Main_8320 {
static int N;
static int cnt;
public static void main(String[] args) {
Scanner scann = new Scanner(System.in);
N = scann.nextInt();
cnt = 0;
for (int i = 1; i <= N; i++) { // 가로
for(int j = i; i*j <= N; j++) { // 가로*세로
cnt++;
}
}
S... | UTF-8 | Java | 362 | java | Main_8320.java | Java | [] | null | [] | import java.util.Scanner;
public class Main_8320 {
static int N;
static int cnt;
public static void main(String[] args) {
Scanner scann = new Scanner(System.in);
N = scann.nextInt();
cnt = 0;
for (int i = 1; i <= N; i++) { // 가로
for(int j = i; i*j <= N; j++) { // 가로*세로
cnt++;
}
}
S... | 362 | 0.542857 | 0.525714 | 23 | 14.217391 | 14.8352 | 43 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.956522 | false | false | 6 |
e5c9e7b5f6e25802e07a2bec388c1ed17d2c3d5c | 6,519,760,379,760 | 734a684193833fb4e1e89cd57b3b4284a3c672cf | /src/main/java/ua/timonov/web/project/command/odds/DeleteOddsAction.java | 5bc332c9913091310e313b00da75ef91cd126ccb | [] | no_license | konovaliuk/timonov | https://github.com/konovaliuk/timonov | 0694f5af6547b2b41ecce6b123ca94f9b501507e | c5333306e3deba13316dd00796b1f7ef2d4bc667 | refs/heads/master | 2021-01-23T05:39:09.086000 | 2017-06-08T01:06:05 | 2017-06-08T01:06:05 | 92,977,079 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ua.timonov.web.project.command.odds;
import org.apache.log4j.Logger;
import ua.timonov.web.project.command.horseinrace.GetHorseInRaceBookieAction;
import ua.timonov.web.project.exception.AppException;
import ua.timonov.web.project.model.bet.Odds;
import ua.timonov.web.project.parser.Parser;
import ua.timonov.w... | UTF-8 | Java | 1,875 | java | DeleteOddsAction.java | Java | [] | null | [] | package ua.timonov.web.project.command.odds;
import org.apache.log4j.Logger;
import ua.timonov.web.project.command.horseinrace.GetHorseInRaceBookieAction;
import ua.timonov.web.project.exception.AppException;
import ua.timonov.web.project.model.bet.Odds;
import ua.timonov.web.project.parser.Parser;
import ua.timonov.w... | 1,875 | 0.773867 | 0.773333 | 45 | 40.688889 | 30.46661 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.777778 | false | false | 6 |
91a48ea47fdb2603fc874193e59e2004e45d3816 | 6,519,760,378,245 | c396ba69d71171b90063f91df0f418cee94ef26b | /src/main/java/com/fg/gamenetwork/server/IServerScript.java | 95fb1d37069f77e5065d7a35940d492655bed9b0 | [] | no_license | freedDog/GameNetWork | https://github.com/freedDog/GameNetWork | 233520d1026c53dda77b5012e811ff317e0e8e78 | d72ace24f975c55d0630a576ceb76ae6eb4b0ec2 | refs/heads/master | 2020-03-07T03:59:19.362000 | 2018-04-03T09:27:23 | 2018-04-03T09:27:23 | 127,253,040 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.fg.gamenetwork.server;
import io.netty.channel.ChannelHandlerContext;
public interface IServerScript {
/**
* 初始化
*/
public void init();
/**
* 执行消息
*/
public void doCommand(ChannelHandlerContext ctx,Object msg);
/**
* 创建连接
* @param ctx
*/
public void channelCreate(ChannelHandlerContext ... | UTF-8 | Java | 753 | java | IServerScript.java | Java | [] | null | [] | package com.fg.gamenetwork.server;
import io.netty.channel.ChannelHandlerContext;
public interface IServerScript {
/**
* 初始化
*/
public void init();
/**
* 执行消息
*/
public void doCommand(ChannelHandlerContext ctx,Object msg);
/**
* 创建连接
* @param ctx
*/
public void channelCreate(ChannelHandlerContext ... | 753 | 0.695279 | 0.695279 | 38 | 17.394737 | 20.891373 | 72 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.131579 | false | false | 6 |
295ebc1afb1006966df263f2e54a44bc9bc5b920 | 29,403,346,127,275 | c7fe8f19185905d41c80a1e42df0137b0c0225a0 | /Client/Android/Kido/app/src/main/java/com/progremastudio/kido/models/BaseModel.java | 2405cd7602842ca6b7c4386df71f492825e02c9d | [] | no_license | iqbalpakeh/kido-app | https://github.com/iqbalpakeh/kido-app | f362b72f3e2b5fbfbbcc1f7408ec9c3b5cc97efe | 35dc1eb09e3ba28a9b0b6b7a56267b806dbeb90f | refs/heads/master | 2020-05-07T01:06:51.192000 | 2019-04-09T01:25:07 | 2019-04-09T01:25:07 | 180,259,928 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* Copyright (c) 2015, Progrema Studio. All rights reserved.
*/
package com.progremastudio.kido.models;
import android.os.Parcel;
import android.os.Parcelable;
abstract public class BaseModel implements Parcelable, ProviderServices {
protected long activityId;
public BaseModel() {
}
public lon... | UTF-8 | Java | 663 | java | BaseModel.java | Java | [
{
"context": "/*\n * Copyright (c) 2015, Progrema Studio. All rights reserved.\n */\n\npackage com.progremast",
"end": 41,
"score": 0.9782885313034058,
"start": 26,
"tag": "NAME",
"value": "Progrema Studio"
}
] | null | [] | /*
* Copyright (c) 2015, <NAME>. All rights reserved.
*/
package com.progremastudio.kido.models;
import android.os.Parcel;
import android.os.Parcelable;
abstract public class BaseModel implements Parcelable, ProviderServices {
protected long activityId;
public BaseModel() {
}
public long getActi... | 654 | 0.680241 | 0.674208 | 32 | 19.71875 | 21.238577 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.34375 | false | false | 6 |
f6efa7d9e4825a55663c227b592e26cba1fcba6d | 32,478,542,710,680 | 3053e35dc7f295b2bd99d4577b649edbaa9a55a1 | /ark-master/ARK/src/main/java/kr/icia/domain/ProductVO.java | 34e7cdecb16e9c273bb571e74e5a60b3b1b941af | [] | no_license | dlgkswn222/ARK | https://github.com/dlgkswn222/ARK | 8bdd3ceb8f2d9c30ea4d2bed8b62e316c09a6b4d | e58516b5312b781d9fe4f6af78387b71cc2be732 | refs/heads/master | 2022-12-21T15:06:03.949000 | 2020-01-19T02:09:23 | 2020-01-19T02:09:23 | 232,210,131 | 1 | 0 | null | false | 2022-12-16T00:42:45 | 2020-01-07T00:27:51 | 2020-01-19T02:11:16 | 2022-12-16T00:42:42 | 52,496 | 0 | 0 | 8 | CSS | false | false | package kr.icia.domain;
import java.util.Date;
import lombok.Data;
/*
create table ARK_product_info
(pronum number,
id VARCHAR2(15),
proname nvarchar2(40),
prodate date default sysdate,
procontent nclob,
proprice int,
proStock number(4) not null,
proInfo NVARCHAR2(500),
catecode NVARCHAR2(30)
);
*/
@Data... | UTF-8 | Java | 594 | java | ProductVO.java | Java | [] | null | [] | package kr.icia.domain;
import java.util.Date;
import lombok.Data;
/*
create table ARK_product_info
(pronum number,
id VARCHAR2(15),
proname nvarchar2(40),
prodate date default sysdate,
procontent nclob,
proprice int,
proStock number(4) not null,
proInfo NVARCHAR2(500),
catecode NVARCHAR2(30)
);
*/
@Data... | 594 | 0.760943 | 0.737374 | 33 | 17 | 10.162319 | 32 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.969697 | false | false | 6 |
1e8e34ae01630ee35d8a3f124313e3aa7212ece0 | 4,217,657,904,191 | 1f57f4ccdda95bc85375ceb813ff9e1aaefed872 | /app/src/main/java/com/bwf/tuanche/home_page/activity/ServerActivity.java | 9097cb5e56d06d43d5c3859c22cd4e1cd8ac0525 | [] | no_license | chenlinwangwang/tuanche | https://github.com/chenlinwangwang/tuanche | 3f0dfc037069d24cc4653e0de73df58c100eb060 | aa03b04cf02389a237d47b753ba80de01b7fd848 | refs/heads/master | 2020-04-06T06:53:21.701000 | 2016-08-29T10:15:46 | 2016-08-29T10:15:46 | 65,793,826 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.bwf.tuanche.home_page.activity;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.Button;
import com.bwf.framwork.base.BaseActivity;
import com.bwf.tuanche.R;
import com.bwf.tuanche.home_page.View.BottomView;
public class ServerActivity extends BaseAct... | UTF-8 | Java | 1,248 | java | ServerActivity.java | Java | [] | null | [] | package com.bwf.tuanche.home_page.activity;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.Button;
import com.bwf.framwork.base.BaseActivity;
import com.bwf.tuanche.R;
import com.bwf.tuanche.home_page.View.BottomView;
public class ServerActivity extends BaseAct... | 1,248 | 0.637019 | 0.628205 | 55 | 21.690908 | 20.357597 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | false | false | 6 |
63e2c157f7e890e3dfebb429e92db88b58fa1647 | 7,112,465,857,664 | e4d336c7ba393d83d63116fbfadf27616918c516 | /app/src/main/java/com/gzrijing/workassistant/entity/BusinessHaveSendByAll.java | f6c37a78e204c0d37e94d660f5e88ced47e95fe2 | [] | no_license | GZRJ2525/WorkAssistant | https://github.com/GZRJ2525/WorkAssistant | fea81b415fc7b2fd28ed2d9f06b3dd5afcebe1cc | c60c86e23d79c6301b78b5743b41a57101c80407 | refs/heads/master | 2021-01-01T05:28:05.602000 | 2016-05-16T03:58:45 | 2016-05-16T03:58:45 | 56,556,292 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.gzrijing.workassistant.entity;
import android.os.Parcel;
import android.os.Parcelable;
public class BusinessHaveSendByAll implements Parcelable {
private String orderId; //工程Id
private String branchId; //工程支线Id
private String workerName; //施工员姓名
private Stri... | UTF-8 | Java | 2,603 | java | BusinessHaveSendByAll.java | Java | [] | null | [] | package com.gzrijing.workassistant.entity;
import android.os.Parcel;
import android.os.Parcelable;
public class BusinessHaveSendByAll implements Parcelable {
private String orderId; //工程Id
private String branchId; //工程支线Id
private String workerName; //施工员姓名
private Stri... | 2,603 | 0.642105 | 0.641715 | 95 | 26 | 24.222218 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.442105 | false | false | 6 |
a989f8f7d0369467787b51717df625767cd6ed0b | 31,284,541,796,876 | 94cfac1b65c2c454bb484d6af12a03766dfaa2eb | /src/main/java/org/thepavel/resource/deserializer/gson/GsonUtils.java | 4f5d7ffe02a9f439be04a9a64011230514f05e93 | [
"Apache-2.0"
] | permissive | pavel-grigorev/spring-resource-reader | https://github.com/pavel-grigorev/spring-resource-reader | 0a5e8500c1e43087c3aca6f4ffe5724701947e73 | 038e1d20860e38584016f049d253d50d317dc3a0 | refs/heads/master | 2023-04-01T10:23:45.682000 | 2021-04-02T11:54:43 | 2021-04-02T11:54:43 | 345,666,768 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* Copyright (c) 2021 Pavel Grigorev.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | UTF-8 | Java | 2,500 | java | GsonUtils.java | Java | [
{
"context": "/*\n * Copyright (c) 2021 Pavel Grigorev.\n *\n * Licensed under the Apache License, Version",
"end": 39,
"score": 0.9998366832733154,
"start": 25,
"tag": "NAME",
"value": "Pavel Grigorev"
}
] | null | [] | /*
* Copyright (c) 2021 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 2,492 | 0.7432 | 0.74 | 71 | 34.211269 | 30.130194 | 99 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.591549 | false | false | 6 |
9b52923e2450f11dc36a66684aa2da0ac2c3d51a | 32,822,140,087,851 | cf7c67ecf6ae672f2cf60a925c250b23f0cedead | /src/test/java/com/switchfully/eurder/service/ItemServiceTest.java | 06621e8b41d3e55f3761a6322269d251ea9a1546 | [] | no_license | maarteneeckman/eurder | https://github.com/maarteneeckman/eurder | d27fd8540e3bb7fdbe012a707f15efc7a6d9301d | 5a2873c47d3a387541cbbefae2789de4a26534a1 | refs/heads/master | 2022-09-14T22:04:17.728000 | 2020-04-26T19:23:58 | 2020-04-26T19:23:58 | 252,112,663 | 0 | 0 | null | false | 2022-09-08T01:07:56 | 2020-04-01T08:11:53 | 2020-04-26T19:24:10 | 2022-09-08T01:07:53 | 124 | 0 | 0 | 1 | Java | false | false | package com.switchfully.eurder.service;
import com.switchfully.eurder.domain.item.Item;
import com.switchfully.eurder.domain.item.ItemRepository;
import com.switchfully.eurder.service.item.CreateItemDto;
import com.switchfully.eurder.service.item.ItemDto;
import com.switchfully.eurder.service.item.ItemMapper;
import c... | UTF-8 | Java | 3,977 | java | ItemServiceTest.java | Java | [] | null | [] | package com.switchfully.eurder.service;
import com.switchfully.eurder.domain.item.Item;
import com.switchfully.eurder.domain.item.ItemRepository;
import com.switchfully.eurder.service.item.CreateItemDto;
import com.switchfully.eurder.service.item.ItemDto;
import com.switchfully.eurder.service.item.ItemMapper;
import c... | 3,977 | 0.617802 | 0.607996 | 121 | 31.867769 | 26.688576 | 114 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.628099 | false | false | 6 |
12a8a994c406546eb9803d9094b50c050416555b | 25,615,185,015,058 | 51c067f4d1b002c733cb7963ebafb898eb06a33e | /ui/slide-ui/src/main/java/org/hypothesis/slide/client/ui/timerlabel/TimerLabelConnector.java | c6c21e55dc4f01504faf586cac87e42ee6dbf165 | [
"Apache-2.0"
] | permissive | tilioteo/hypothesis | https://github.com/tilioteo/hypothesis | ebea24dc905d8b858bf8f2f5660fec6188c19114 | a50150a2e31738970f42dc140f97ccf585b4f3a2 | refs/heads/master | 2022-12-05T07:53:09.033000 | 2017-04-24T06:49:54 | 2017-04-24T06:49:54 | 9,237,290 | 0 | 0 | Apache-2.0 | false | 2022-11-24T04:38:55 | 2013-04-05T08:48:39 | 2017-04-24T06:50:05 | 2022-11-24T04:38:52 | 71,453 | 0 | 0 | 10 | Java | false | false | /**
* Apache Licence Version 2.0
* Please read the LICENCE file
*/
package org.hypothesis.slide.client.ui.timerlabel;
import com.vaadin.client.communication.StateChangeEvent;
import com.vaadin.client.ui.AbstractComponentConnector;
import com.vaadin.shared.ui.Connect;
import org.hypothesis.slide.client.ui.VTimerLabe... | UTF-8 | Java | 1,337 | java | TimerLabelConnector.java | Java | [
{
"context": "red.ui.timerlabel.TimerLabelState;\n\n/**\n * @author Kamil Morong, Tilioteo Ltd\n * \n * Hypothesis\n *\n */\n@S",
"end": 417,
"score": 0.9998346567153931,
"start": 405,
"tag": "NAME",
"value": "Kamil Morong"
}
] | null | [] | /**
* Apache Licence Version 2.0
* Please read the LICENCE file
*/
package org.hypothesis.slide.client.ui.timerlabel;
import com.vaadin.client.communication.StateChangeEvent;
import com.vaadin.client.ui.AbstractComponentConnector;
import com.vaadin.shared.ui.Connect;
import org.hypothesis.slide.client.ui.VTimerLabe... | 1,331 | 0.756918 | 0.755423 | 56 | 22.875 | 23.369747 | 69 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.982143 | false | false | 6 |
1308293cbcbb5f402c36b2a1f7e174a83a1af48f | 14,465,449,914,815 | f35b82b087a30e73cd7861c4dde734a34581400d | /src/main/java/com/amundi/gp/kafka/serialization/deserialize/PositionDeserializer.java | 79e3031073e7a481a8bbb0fa0d6969d097d75633 | [] | no_license | Benjamin42/kafka-perso | https://github.com/Benjamin42/kafka-perso | 5f75ae30f917c85d921bca4070643b570d88daeb | e946e245b6dd8c1dbbe6fe16cd8864ad5b446140 | refs/heads/master | 2021-04-15T10:13:26.760000 | 2018-03-26T16:19:26 | 2018-03-26T16:19:26 | 126,856,457 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.amundi.gp.kafka.serialization.deserialize;
import java.util.Map;
import com.amundi.gp.kafka.dto.PositionDto;
import org.apache.kafka.common.serialization.Deserializer;
import com.amundi.gp.kafka.dto.InstrumentDto;
import com.fasterxml.jackson.databind.ObjectMapper;
public class PositionDeserializer impl... | UTF-8 | Java | 759 | java | PositionDeserializer.java | Java | [] | null | [] | package com.amundi.gp.kafka.serialization.deserialize;
import java.util.Map;
import com.amundi.gp.kafka.dto.PositionDto;
import org.apache.kafka.common.serialization.Deserializer;
import com.amundi.gp.kafka.dto.InstrumentDto;
import com.fasterxml.jackson.databind.ObjectMapper;
public class PositionDeserializer impl... | 759 | 0.754941 | 0.748353 | 33 | 22 | 23.086136 | 72 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.272727 | false | false | 6 |
d2fc760606034cd020196b46c82f2f28fcdf420b | 25,254,407,761,236 | 53b7c2547dba7b886da29c7d1d8b17043d1d0e74 | /maven-project-builder/src/main/java/org/apache/maven/project/builder/factories/PluginExecutionIdModelContainerFactory.java | dc12e365ae6b1d2f98d928f0bffbedb45e30180d | [] | no_license | magnayn/maven | https://github.com/magnayn/maven | a1d445f38e36b809c9abf9cf32af3ae31a1d82a1 | bf1ad03122fc35f980f7cc9f9afe496f969952c6 | refs/heads/experiment | 2022-07-05T14:39:48.334000 | 2009-03-05T22:32:23 | 2009-03-05T22:32:23 | 143,982 | 2 | 0 | null | false | 2022-07-01T22:19:37 | 2009-03-05T21:58:25 | 2019-08-13T14:06:51 | 2022-07-01T22:19:37 | 24,353 | 3 | 0 | 20 | Java | false | false | package org.apache.maven.project.builder.factories;
import org.apache.maven.shared.model.ModelContainerFactory;
import org.apache.maven.shared.model.ModelContainer;
import org.apache.maven.shared.model.ModelProperty;
import org.apache.maven.shared.model.ModelContainerAction;
import org.apache.maven.project.builder.Pro... | UTF-8 | Java | 2,890 | java | PluginExecutionIdModelContainerFactory.java | Java | [] | null | [] | package org.apache.maven.project.builder.factories;
import org.apache.maven.shared.model.ModelContainerFactory;
import org.apache.maven.shared.model.ModelContainer;
import org.apache.maven.shared.model.ModelProperty;
import org.apache.maven.shared.model.ModelContainerAction;
import org.apache.maven.project.builder.Pro... | 2,890 | 0.631488 | 0.631142 | 86 | 32.604652 | 31.308769 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.337209 | false | false | 6 |
0e2a394ff7e051f1b43ace821b080f264c434c28 | 19,722,489,829,107 | a2a76bd2db66c25b39d56af4434904705cc6cbab | /Payment System/src/model/Bill.java | 7f6560218384db897f2bf40968e1f9f824d2e952 | [] | no_license | AndyRadulescu/Java | https://github.com/AndyRadulescu/Java | 24282e4eb64225b679c6abc62f7a6d0f8cb0748d | 4d401af0c7f61a721b71d4bba199865fe9d9343a | refs/heads/master | 2021-01-11T08:28:14.808000 | 2018-03-27T14:01:19 | 2018-03-27T14:01:19 | 72,261,257 | 2 | 1 | null | false | 2018-03-27T12:11:19 | 2016-10-29T02:52:08 | 2017-02-05T17:45:30 | 2018-03-27T12:11:19 | 1,203 | 0 | 1 | 0 | HTML | false | null | package model;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the bill database table.
*
*/
@Entity
@NamedQuery(name="Bill.findAll", query="SELECT b FROM Bill b")
public class Bill implements Serializable {
private static final long serialVersionUI... | UTF-8 | Java | 2,420 | java | Bill.java | Java | [] | null | [] | package model;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the bill database table.
*
*/
@Entity
@NamedQuery(name="Bill.findAll", query="SELECT b FROM Bill b")
public class Bill implements Serializable {
private static final long serialVersionUI... | 2,420 | 0.697521 | 0.697107 | 131 | 17.480917 | 18.151337 | 107 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.145038 | false | false | 6 |
8a568a4d2e3dbd1515c434d8ea89ea425f53cc4e | 32,573,032,032,320 | 832b3a67728d97ff803253890e4eb763da163ece | /src/latihanDasar/KondisiGanda.java | eec78e236fca52dd2197283eb0d34af7ad3249c8 | [] | no_license | natasyaputrihardiyanti/Jobsheet1PBO | https://github.com/natasyaputrihardiyanti/Jobsheet1PBO | 60a21ff03a2039d017603b8fe28aace9aa0edb77 | 4db3b055a09d783f9d5c4a07781e479f4e07771c | refs/heads/master | 2020-03-28T21:02:51.765000 | 2018-09-17T13:15:32 | 2018-09-17T13:15:32 | 149,124,831 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* 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 latihanDasar;
import java.util.Scanner;
/**
*
* @author acer
*/
public class KondisiGanda {
public stati... | UTF-8 | Java | 766 | java | KondisiGanda.java | Java | [
{
"context": "\r\nimport java.util.Scanner;\r\n\r\n/**\r\n *\r\n * @author acer\r\n */\r\npublic class KondisiGanda {\r\n public stati",
"end": 268,
"score": 0.94755619764328,
"start": 264,
"tag": "USERNAME",
"value": "acer"
}
] | null | [] | /*
* 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 latihanDasar;
import java.util.Scanner;
/**
*
* @author acer
*/
public class KondisiGanda {
public stati... | 766 | 0.614883 | 0.609661 | 26 | 27.461538 | 23.544117 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | false | false | 6 |
c5c034fc0fa75114d20aab30d3f96b2f1d5ae174 | 24,283,745,146,987 | 5e3235edf3de262f4d10b9e9e1fcc3bd13d6b8b1 | /Code Snippet Repository/Hibernate/Hibernate10470.java | 83de4467b9c3a60d246808fa88485389fa87f15b | [] | no_license | saber13812002/DeepCRM | https://github.com/saber13812002/DeepCRM | 3336a244d4852a364800af3181e03e868cf6f9f5 | be3e5e50e34a042d5ba7259ff5ff75c08ab32bb9 | refs/heads/master | 2023-03-16T00:08:06.473000 | 2018-04-18T05:29:50 | 2018-04-18T05:29:50 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | @Test
public void testHistoryOfId1() {
DefaultValueComponentTestEntity ent1 = getAuditReader().find(
DefaultValueComponentTestEntity.class, id1, 1
);
DefaultValueComponentTestEntity ent2 = getAuditReader().find(
DefaultValueComponentTestEntity.class, id1, 2
);
log.error( "------------ id1 --------... | UTF-8 | Java | 892 | java | Hibernate10470.java | Java | [] | null | [] | @Test
public void testHistoryOfId1() {
DefaultValueComponentTestEntity ent1 = getAuditReader().find(
DefaultValueComponentTestEntity.class, id1, 1
);
DefaultValueComponentTestEntity ent2 = getAuditReader().find(
DefaultValueComponentTestEntity.class, id1, 2
);
log.error( "------------ id1 --------... | 892 | 0.699552 | 0.665919 | 29 | 29.724138 | 25.596197 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.068965 | false | false | 6 |
64c386830502b2fa61137238ea760be97913e201 | 16,234,976,442,332 | da4e5863b22444d0ef3d526368e1ced919bc050c | /app/src/main/java/com/example/trainticket_01/view/activity/QueryOrderActivity.java | c5d84805718d1fa75cba3e5d2635769d0d5ca7f7 | [
"Apache-2.0"
] | permissive | maomaodev/TrainTicket | https://github.com/maomaodev/TrainTicket | fc7529193e5e6b6669143d8092c94b5fb2334618 | b4e9a8e4721bf4a5e0b51fe2eb41bd662661cd14 | refs/heads/master | 2020-06-21T23:55:50.048000 | 2019-07-18T13:25:35 | 2019-07-18T13:25:35 | 197,583,225 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.trainticket_01.view.activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListVi... | UTF-8 | Java | 8,680 | java | QueryOrderActivity.java | Java | [
{
"context": "rayList;\nimport java.util.List;\n\n/**\n * Created by maomao on 2019/4/11.\n */\n\n@ContentView(R.layout.activity",
"end": 1217,
"score": 0.9880099892616272,
"start": 1211,
"tag": "USERNAME",
"value": "maomao"
}
] | null | [] | package com.example.trainticket_01.view.activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListVi... | 8,680 | 0.585809 | 0.582744 | 251 | 32.800797 | 25.719297 | 99 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.569721 | false | false | 6 |
0e1f56065beab785f708085e87581000a3bb79bd | 20,435,454,399,154 | f85ad02d2c6ae528d8f01969dade48d0af2d9d7c | /charon-spring-boot-starters/charon-notify-spring-boot-starter/src/test/java/io/github/harvies/charon/notify/CharonNotifyProviderSpringBootTest.java | 846fb276d9e5d830a64d0934760a94732a74d832 | [
"Apache-2.0"
] | permissive | dream0708/charon | https://github.com/dream0708/charon | dd009964d751366b67a421d672a15b610ec8dc44 | 3fc14a6a68b647b7126ad180791a042535d31611 | refs/heads/master | 2023-03-31T11:42:11.546000 | 2021-04-06T16:45:42 | 2021-04-06T16:45:42 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package io.github.harvies.charon.notify;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import javax.annotation.Resource;
public class CharonNotifyProviderSpringBootTest extends BaseTest {
@Resource
private NotifyProvider notifyProvider;
@Test
public void test() {
boolean s... | UTF-8 | Java | 1,319 | java | CharonNotifyProviderSpringBootTest.java | Java | [
{
"context": "package io.github.harvies.charon.notify;\n\nimport org.junit.Test;\nimport org",
"end": 25,
"score": 0.9990379214286804,
"start": 18,
"tag": "USERNAME",
"value": "harvies"
}
] | null | [] | package io.github.harvies.charon.notify;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import javax.annotation.Resource;
public class CharonNotifyProviderSpringBootTest extends BaseTest {
@Resource
private NotifyProvider notifyProvider;
@Test
public void test() {
boolean s... | 1,319 | 0.639185 | 0.625606 | 29 | 34.551723 | 44.643097 | 226 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.793103 | false | false | 6 |
2a6be9486bd69b6ba021b4dfd19a52d7e9cc3087 | 25,623,774,888,959 | 8779679f83c7be64ba59a66716dd3117a53bec12 | /src/fourier/dao/CancionDAO.java | 69362a4b8b99a2b971d7553b7f04da2ae06df7ae | [] | no_license | arellanon/fourier-indexacion | https://github.com/arellanon/fourier-indexacion | 0acccde451af39dcfe181c5e9573c27c72c45633 | e3770a6746518381e50c05e2c6078dfc84a136fb | refs/heads/master | 2021-05-04T10:52:19.614000 | 2017-03-28T20:54:35 | 2017-03-28T20:54:35 | 50,535,886 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package fourier.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import com.mysql.jdbc.PreparedStatement;
import fourier.bd.DbConnection;
import fourier.vo.CancionVO;
public class CancionDAO {
public CancionVO agregarCancion(CancionVO cancion) {
... | UTF-8 | Java | 2,510 | java | CancionDAO.java | Java | [] | null | [] | package fourier.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import com.mysql.jdbc.PreparedStatement;
import fourier.bd.DbConnection;
import fourier.vo.CancionVO;
public class CancionDAO {
public CancionVO agregarCancion(CancionVO cancion) {
... | 2,510 | 0.701195 | 0.699203 | 81 | 29.987654 | 26.334738 | 134 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.54321 | false | false | 6 |
2d5cbf90bd8e103e0227fbd69a18a454c0210b36 | 26,895,085,265,299 | 4f9e893cedd8f25557239f939edee6bcb1246715 | /jinghua/dmm_sys/src/main/java/com/jhnu/system/task/service/impl/PlanLogServiceImpl.java | b438215ee17b525a6abc2fc9255799806a016b5c | [] | no_license | yangtie34/projects | https://github.com/yangtie34/projects | cc9ba22c1fd235dadfe18509bc6951e21e9d3be4 | 5a3a86116e385db1086f8f6e9eb07198432fec27 | refs/heads/master | 2020-06-29T11:04:26.615000 | 2017-07-25T03:28:15 | 2017-07-25T03:28:15 | 74,436,105 | 1 | 4 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.jhnu.system.task.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jhnu.framework.exception.param.ParamException;
import com.jhnu.system.common.page.Page;
import com.jhnu.system.task.dao.PlanLogDao;
import com.jhnu.system... | UTF-8 | Java | 1,490 | java | PlanLogServiceImpl.java | Java | [] | null | [] | package com.jhnu.system.task.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jhnu.framework.exception.param.ParamException;
import com.jhnu.system.common.page.Page;
import com.jhnu.system.task.dao.PlanLogDao;
import com.jhnu.system... | 1,490 | 0.797315 | 0.797315 | 53 | 27.113207 | 23.862547 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.301887 | false | false | 6 |
36c6c3616fa60a46d8571a1ce65b7068c0c9c8f2 | 20,633,022,905,218 | c54dc64a5d050ec12250768fa173c1eff1239e90 | /taskcoordinator/taskcoordinator-app/src/main/java/com/microservices/taskcoordinator/controllers/CoordinatorController.java | 2cc88141144b0fabd18415d80a8f61fc4e83c98d | [] | no_license | microservices-course-itmo/designing_microservices_course | https://github.com/microservices-course-itmo/designing_microservices_course | ea666607693e1fcfc783ac0ae3db574afe3b9205 | c4fd99e5314804bc3dec871970cb6f905ee95b8b | refs/heads/dev | 2020-05-30T14:03:56.232000 | 2019-10-22T14:11:18 | 2019-10-22T14:11:18 | 189,776,958 | 16 | 6 | null | false | 2019-10-20T14:11:30 | 2019-06-01T20:58:12 | 2019-10-16T12:26:27 | 2019-10-16T12:26:26 | 589 | 5 | 4 | 1 | Java | false | false | package com.microservices.taskcoordinator.controllers;
import com.microservices.taskcoordinator.dto.inbound.OrderCompletedDto;
import com.microservices.taskcoordinator.dto.inbound.OrderCoordinationDto;
import com.microservices.taskcoordinator.dto.inbound.OrderSubmittedDto;
import com.microservices.taskcoordinator.dto.... | UTF-8 | Java | 3,080 | java | CoordinatorController.java | Java | [] | null | [] | package com.microservices.taskcoordinator.controllers;
import com.microservices.taskcoordinator.dto.inbound.OrderCompletedDto;
import com.microservices.taskcoordinator.dto.inbound.OrderCoordinationDto;
import com.microservices.taskcoordinator.dto.inbound.OrderSubmittedDto;
import com.microservices.taskcoordinator.dto.... | 3,080 | 0.769481 | 0.768831 | 70 | 43 | 33.208431 | 111 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.528571 | false | false | 6 |
2748e1d7955ece5f58a1278ad2ebb0f0634082dc | 21,775,484,191,790 | c3680454eba7f33fbb5bbc6be247a79e3998061f | /RecursionExercise/src/power/PowerCalculation.java | 09d5cdd8bab7ad415669c78d554cd29d97fc7149 | [] | no_license | AnandChokshi/DataStructure-Algorithms | https://github.com/AnandChokshi/DataStructure-Algorithms | 7f76bd1b6045b79b6ebfaa37bcd800adaf0093b6 | 92cff829302a0c1612c965718aa43ff8cc71de4e | refs/heads/master | 2021-01-23T13:22:56.006000 | 2015-04-03T18:30:54 | 2015-04-03T18:30:54 | 31,039,144 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package power;
public class PowerCalculation {
public static void main(String[] args) {
System.out.println(power(3, 18));
}
public static int power(int x, int y) {
if (y == 1) {
return x;
} else {
int temp = power(x * x, y / 2);
if (y % 2 != 0) {
return temp*x;
}
return temp;
}
}
} | UTF-8 | Java | 315 | java | PowerCalculation.java | Java | [] | null | [] | package power;
public class PowerCalculation {
public static void main(String[] args) {
System.out.println(power(3, 18));
}
public static int power(int x, int y) {
if (y == 1) {
return x;
} else {
int temp = power(x * x, y / 2);
if (y % 2 != 0) {
return temp*x;
}
return temp;
}
}
} | 315 | 0.565079 | 0.542857 | 19 | 15.631579 | 13.819173 | 41 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.105263 | false | false | 6 |
669efbddab6d9aad0aa84d3b702cd7d4f117fe85 | 21,775,484,192,941 | c154a615adf738d9cd876568aa0aa0840c7691b3 | /reflexactoring.diagram/src/reflexactoring/diagram/bean/ModuleDependencyConfidence.java | 97cf3f99730c6c846fe3619502af558b16fe82f7 | [] | no_license | cuidi34/Refactoring-Navigator | https://github.com/cuidi34/Refactoring-Navigator | 4153b58ab1f372f7af968b14e1f8f6f3a34b4f97 | a66de4635f221245ee30b8f9c57d21369ff948b5 | refs/heads/master | 2020-03-19T19:35:13.256000 | 2016-05-02T07:02:44 | 2016-05-02T07:02:44 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
*
*/
package reflexactoring.diagram.bean;
import java.util.ArrayList;
/**
* @author linyun
*
*/
public class ModuleDependencyConfidence {
private ModuleWrapper module;
private ArrayList<ModuleWrapper> moduleList;
private double[] confidenceList;
/**
* @param module
* @param moduleList
* @param c... | UTF-8 | Java | 1,374 | java | ModuleDependencyConfidence.java | Java | [
{
"context": "bean;\n\nimport java.util.ArrayList;\n\n/**\n * @author linyun\n * \n */\npublic class ModuleDependencyConfidence {",
"end": 100,
"score": 0.9987668991088867,
"start": 94,
"tag": "USERNAME",
"value": "linyun"
}
] | null | [] | /**
*
*/
package reflexactoring.diagram.bean;
import java.util.ArrayList;
/**
* @author linyun
*
*/
public class ModuleDependencyConfidence {
private ModuleWrapper module;
private ArrayList<ModuleWrapper> moduleList;
private double[] confidenceList;
/**
* @param module
* @param moduleList
* @param c... | 1,374 | 0.680495 | 0.680495 | 75 | 17.32 | 17.930355 | 66 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.106667 | false | false | 6 |
173424bbade3091640e0d91209b589678776131a | 10,419,590,660,847 | fc763f62db277e59c302c28727bc80fcaae7f5ce | /git24/src/test/java/com/kaishengit/StudentInterfaceTestCase.java | bbd19c284fe31c3003eddce66a7614570758f1fc | [] | no_license | caoxianggaol/Mybatis24 | https://github.com/caoxianggaol/Mybatis24 | 78ac7dcaae813593bc6d001f0da82d610b323601 | bbaad80671733724667d8d4a2578833c42237f9f | refs/heads/master | 2021-08-28T07:10:00.338000 | 2017-12-11T14:33:06 | 2017-12-11T14:33:06 | 108,357,622 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.kaishengit;
import com.kaishengit.entity.Student;
import com.kaishengit.mapper.StudentMapper;
import com.kaishengit.util.MyBatisUtil;
import org.apache.ibatis.session.SqlSession;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
import java.util.HashMap;
impo... | UTF-8 | Java | 2,865 | java | StudentInterfaceTestCase.java | Java | [
{
"context": "til.List;\nimport java.util.Map;\n\n/**\n * Created by xiaogao on 2017/10/24.\n */\npublic class StudentInterfaceT",
"end": 387,
"score": 0.9996167421340942,
"start": 380,
"tag": "USERNAME",
"value": "xiaogao"
},
{
"context": ".class);\n\n Student student = new S... | null | [] | package com.kaishengit;
import com.kaishengit.entity.Student;
import com.kaishengit.mapper.StudentMapper;
import com.kaishengit.util.MyBatisUtil;
import org.apache.ibatis.session.SqlSession;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
import java.util.HashMap;
impo... | 2,865 | 0.628405 | 0.617508 | 114 | 23.149122 | 20.11861 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 6 |
a9083d47d69e966f8f1d2beebe7f55544ff182d1 | 9,259,949,493,537 | 1d246c66a0cbeb9f8e0b2893ec031f6fed712d28 | /PrimesClock/src/primesclock/CountPrimes.java | 4d71b95fb4671bba01ebe9c9cc8b72c56716c48e | [] | no_license | YorkCpE/primesClock | https://github.com/YorkCpE/primesClock | e3e13bf1a8328ebaf0da62acb55257cade726f8b | 4d6e57c769adac8e280647bff3e1003b0d2240ec | refs/heads/master | 2016-08-12T09:05:07.417000 | 2016-03-13T18:55:23 | 2016-03-13T18:55:23 | 52,919,894 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package primesclock;
import processing.core.PApplet;
public class CountPrimes extends PApplet
{
private static int width = 600;
private static int height = 400;
private static int fontSize = 64;
public void settings()
{
size(width, height);
}
public void setup()
{
textSize(fontSize);
backgroun... | UTF-8 | Java | 1,183 | java | CountPrimes.java | Java | [] | null | [] | package primesclock;
import processing.core.PApplet;
public class CountPrimes extends PApplet
{
private static int width = 600;
private static int height = 400;
private static int fontSize = 64;
public void settings()
{
size(width, height);
}
public void setup()
{
textSize(fontSize);
backgroun... | 1,183 | 0.596788 | 0.557058 | 87 | 12.597701 | 14.383468 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.034483 | false | false | 6 |
98041fb1a263fa1241c317fcca01f761dcb94d01 | 13,005,161,022,120 | 235a8f67973a664b9184c71565f91dedc880bb66 | /out/test/Areoplane/src/com/espod/zhang/GameSound.java | 378361a1511c667726e1b37294dd2fc2ce560383 | [] | no_license | Espod/Aeroplane | https://github.com/Espod/Aeroplane | 67b253628cc0ee413d7823d57135dfd01809f9e2 | ed4be903e8d0c700e76e37a87803fa320e27d20a | refs/heads/master | 2021-01-19T08:53:48.349000 | 2017-06-20T11:56:43 | 2017-06-20T11:56:43 | 87,695,065 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.espod.zhang;
import java.io.InputStream;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.advanced.AdvancedPlayer;
/**
* Created by zhang on 2017/3/20.
*/
public class GameSound {
BgSoundThread bst = null;
//播放背景音乐
@SuppressWarnings("deprecation")
p... | UTF-8 | Java | 1,914 | java | GameSound.java | Java | [
{
"context": "yer.advanced.AdvancedPlayer;\r\n\r\n/**\r\n * Created by zhang on 2017/3/20.\r\n */\r\npublic class GameSound {\r\n ",
"end": 185,
"score": 0.9978338479995728,
"start": 180,
"tag": "USERNAME",
"value": "zhang"
}
] | null | [] | package com.espod.zhang;
import java.io.InputStream;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.advanced.AdvancedPlayer;
/**
* Created by zhang on 2017/3/20.
*/
public class GameSound {
BgSoundThread bst = null;
//播放背景音乐
@SuppressWarnings("deprecation")
p... | 1,914 | 0.514642 | 0.503254 | 74 | 22.918919 | 20.064596 | 94 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.310811 | false | false | 6 |
9ed9f17ac356fbf0cd6c965b79db20d42c9a8550 | 412,316,910,597 | f6bc5f434b5b1c717867c6095ebf50f68fb1076c | /api/transformation/src/main/java/esride/opendatabridge/processing/ItemTransaction.java | fa77d248c5052479c849d19c44715e91cd8f2a1a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Esri/OpenDataBridge | https://github.com/Esri/OpenDataBridge | 2c09657d3476ae114ba05c31debb3c4aa9c3da06 | 47e5da69ca349d6b21df0551eada29741bdb25ab | refs/heads/master | 2023-09-05T22:28:47.728000 | 2013-07-10T12:09:35 | 2013-07-10T12:09:35 | 11,885,050 | 6 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package esride.opendatabridge.processing;
import esride.opendatabridge.item.AgolItem;
import esride.opendatabridge.reader.TransformedItem;
/**
* Created by IntelliJ IDEA.
* User: sma
* Date: 14.05.13
* Time: 15:35
* To change this template use File | Settings | File Templates.
*/
public class ItemTransaction {
... | UTF-8 | Java | 1,066 | java | ItemTransaction.java | Java | [
{
"context": "edItem;\n\n/**\n * Created by IntelliJ IDEA.\n * User: sma\n * Date: 14.05.13\n * Time: 15:35\n * To change thi",
"end": 186,
"score": 0.9996035695075989,
"start": 183,
"tag": "USERNAME",
"value": "sma"
}
] | null | [] | package esride.opendatabridge.processing;
import esride.opendatabridge.item.AgolItem;
import esride.opendatabridge.reader.TransformedItem;
/**
* Created by IntelliJ IDEA.
* User: sma
* Date: 14.05.13
* Time: 15:35
* To change this template use File | Settings | File Templates.
*/
public class ItemTransaction {
... | 1,066 | 0.692308 | 0.680113 | 47 | 21.680851 | 20.888872 | 69 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.340426 | false | false | 6 |
7ff09bf027734eae94c37f193ab74e89f8e69bc9 | 9,663,676,470,208 | 16537adb8b6fcba2359078f9a94c4a2b6836b9e6 | /src/main/java/constants/GlobalVars.java | 778ea0eefd193b31b5a55875d96d5f92fcfb9022 | [] | no_license | mesutbeysulen/BDD-RestAssured-Framework | https://github.com/mesutbeysulen/BDD-RestAssured-Framework | 1558dadb7b0d2c5be989be11a835de594acc5de7 | 199b393aef20e0c40ba41bbfc5c06dddd2e3218b | refs/heads/main | 2023-05-09T03:57:44.935000 | 2021-05-26T16:13:19 | 2021-05-26T16:13:19 | 494,665,923 | 1 | 0 | null | true | 2022-05-21T03:04:43 | 2022-05-21T03:04:42 | 2021-05-26T16:13:28 | 2021-05-26T16:13:25 | 12,370 | 0 | 0 | 0 | null | false | false | package constants;
import reader.PropertyReader;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class GlobalVars {
@Getter static String url = PropertyReader.getValue("URL1", "src/test/resources/config.properties");
... | UTF-8 | Java | 428 | java | GlobalVars.java | Java | [] | null | [] | package constants;
import reader.PropertyReader;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class GlobalVars {
@Getter static String url = PropertyReader.getValue("URL1", "src/test/resources/config.properties");
... | 428 | 0.78972 | 0.78271 | 13 | 31.923077 | 34.154541 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.692308 | false | false | 6 |
37915990177409ec8db93d35675b517374afc062 | 12,378,095,809,026 | 7e51f1637bbfc4e3590f12f265038f234e4b16b2 | /myfirsttextSystem/src/com/cc/onlinetest/service/impl/QuestionServiceImpl.java | ac91928edcc7d1c35a0866b4022ad0a5faa0ae34 | [
"Apache-2.0"
] | permissive | ruangg096/testProject | https://github.com/ruangg096/testProject | 149defee793c0ea83aefa2922d34277da42299a8 | e7f5f8c90123ffbd328f1d38e014716581f1a861 | refs/heads/master | 2020-06-04T08:55:12.286000 | 2019-06-14T14:04:20 | 2019-06-14T14:04:20 | 191,953,366 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.cc.onlinetest.service.impl;
import com.cc.onlinetest.dao.QuestionDao;
import com.cc.onlinetest.dao.SubjectDao;
import com.cc.onlinetest.domain.Choice;
import com.cc.onlinetest.domain.Judge;
import com.cc.onlinetest.domain.Subject;
import com.cc.onlinetest.service.QuestionService;
public class QuestionServ... | UTF-8 | Java | 2,656 | java | QuestionServiceImpl.java | Java | [] | null | [] | package com.cc.onlinetest.service.impl;
import com.cc.onlinetest.dao.QuestionDao;
import com.cc.onlinetest.dao.SubjectDao;
import com.cc.onlinetest.domain.Choice;
import com.cc.onlinetest.domain.Judge;
import com.cc.onlinetest.domain.Subject;
import com.cc.onlinetest.service.QuestionService;
public class QuestionServ... | 2,656 | 0.763264 | 0.760852 | 101 | 23.633663 | 19.418131 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.475248 | false | false | 6 |
2168e18fbc27a02ba66f339694f36aac419f4ff7 | 31,275,951,906,718 | c41b063fd10ee94210ac26ff12aeb703a1df9e69 | /TrackMailTimerTask/app/src/main/java/com/vincent/tatiana/homeworktrack/NumberGenerator.java | b013cb2efec732e97067f266abb16252c025834c | [] | no_license | Gezort/TrackMailRu2016-Android | https://github.com/Gezort/TrackMailRu2016-Android | f109a84bd116130bb6dae8543359d4acb149ff6c | 68c6bcc8f18d41f642671b4a21f13f5ce44dd814 | refs/heads/master | 2021-01-12T15:53:10.010000 | 2016-10-23T14:04:53 | 2016-10-23T14:04:53 | 70,173,737 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.vincent.tatiana.homeworktrack;
/**
* Created by tatiana on 10/23/16.
*/
import android.content.res.Resources;
public class NumberGenerator {
private static final int TEN = 10;
private static final int TWENTY = 20;
private static final int HUNDRED = 100;
private static final int THOUSAND... | UTF-8 | Java | 6,387 | java | NumberGenerator.java | Java | [
{
"context": ".vincent.tatiana.homeworktrack;\n\n/**\n * Created by tatiana on 10/23/16.\n */\n\nimport android.content.res.Reso",
"end": 69,
"score": 0.9994173049926758,
"start": 62,
"tag": "USERNAME",
"value": "tatiana"
}
] | null | [] | package com.vincent.tatiana.homeworktrack;
/**
* Created by tatiana on 10/23/16.
*/
import android.content.res.Resources;
public class NumberGenerator {
private static final int TEN = 10;
private static final int TWENTY = 20;
private static final int HUNDRED = 100;
private static final int THOUSAND... | 6,387 | 0.560357 | 0.532331 | 151 | 41.298012 | 30.959232 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.821192 | false | false | 6 |
7f4d702093d379ef98b14717fbda757f72e6086d | 17,643,725,720,621 | e342d1f81b4816aa56b263c2579c71b555ea7305 | /VoidSpace/src/rbadia/voidspace/model/EnemyShip.java | 4270094cc2ed080416dd98f2dfcac3dbd27b2acb | [] | no_license | rmaderag/voidspace | https://github.com/rmaderag/voidspace | 3306ccf24a436917e4386baa7b20a97aca0652c8 | 1ea08309ab31a7b336adec6f0739135e4d9908db | HEAD | 2016-09-12T18:33:46.050000 | 2016-05-03T01:56:35 | 2016-05-03T01:56:35 | 56,708,301 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package rbadia.voidspace.model;
import java.awt.Rectangle;
import java.util.Random;
import rbadia.voidspace.main.GameScreen;
/**
* Represents a ship/space craft.
*
*/
public class EnemyShip extends Rectangle {
private static final long serialVersionUID = 1L;
public static final int DEFAULT_SPEED ... | UTF-8 | Java | 1,607 | java | EnemyShip.java | Java | [] | null | [] | package rbadia.voidspace.model;
import java.awt.Rectangle;
import java.util.Random;
import rbadia.voidspace.main.GameScreen;
/**
* Represents a ship/space craft.
*
*/
public class EnemyShip extends Rectangle {
private static final long serialVersionUID = 1L;
public static final int DEFAULT_SPEED ... | 1,607 | 0.66397 | 0.65837 | 77 | 18.870131 | 19.550367 | 107 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.103896 | false | false | 6 |
21510ac1a07f7c47e0a5e55e68f99e95007944c9 | 16,939,351,082,223 | 88bb482cacc7838ca569a13d1738937d7c41f323 | /app/src/main/java/eu/heiconnect/android/webservice/absences/Absence.java | af5c46c893a20fd2d8f3265297ded1348b2cce3d | [] | no_license | ldavin/hei-connect-android | https://github.com/ldavin/hei-connect-android | 9e99354b81a5b767a98864a5afe31782e8a6db26 | 3f189b570105d4eb18b6de37d743144b8886dc04 | refs/heads/master | 2021-01-23T12:05:22.528000 | 2015-03-01T11:39:41 | 2015-03-01T11:39:41 | 17,035,009 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package eu.heiconnect.android.webservice.absences;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
public class Absence implements Serializable {
private int id;
@JsonProperty("section_name")
private String sectionName;
private Date date;
... | UTF-8 | Java | 892 | java | Absence.java | Java | [] | null | [] | package eu.heiconnect.android.webservice.absences;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
public class Absence implements Serializable {
private int id;
@JsonProperty("section_name")
private String sectionName;
private Date date;
... | 892 | 0.632287 | 0.632287 | 47 | 17.978724 | 16.334911 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.340426 | false | false | 6 |
828c1a16920e7b3b36b501180fa22ede7ac90e1c | 6,545,530,213,484 | 227bece801ad55ab9617b902a8f345be59811f41 | /component/src/main/java/io/siddhi/extension/io/grpc/sink/GRPCSink.java | 62c13414488f5b116b907e3ec3eb9e7297930cb4 | [] | no_license | sybernix/siddhi-io-grpc | https://github.com/sybernix/siddhi-io-grpc | fe4073a671c10b726844f752a38e48af10d3b95f | 335124692ef655790444179f996a764ac8596e2d | refs/heads/master | 2023-06-24T13:05:47.796000 | 2019-07-15T11:23:21 | 2019-07-15T11:23:21 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | UTF-8 | Java | 10,057 | java | GRPCSink.java | Java | [] | null | [] | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 10,057 | 0.648504 | 0.646415 | 254 | 38.59449 | 31.640652 | 123 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.503937 | false | false | 6 |
8c2f12c24ca912be19b95f8ad49f8c4a17903e55 | 28,552,942,647,864 | 7ffd4240fb3a44bcedcad15ed8a6bfbfea56ab26 | /First_Assignment.java | 83b9178e5b287ae6c4d8faeddc8aa84d95b41dce | [] | no_license | adityanag8799/Yash_Training_Assignment | https://github.com/adityanag8799/Yash_Training_Assignment | f0e0894e65bd4139969fc16e39543ad1f41dc0aa | 56a101aed76f4f01e581b171c09e7680df6ff49a | refs/heads/main | 2023-07-17T15:48:34.680000 | 2021-08-31T10:11:44 | 2021-08-31T10:11:44 | 401,656,334 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | // Programming Logic Questions
1. Write a code to check if given number is armstrong number or not.
import java.io.*;
class eg1psp
{
public static void main(String gg[])
{
int num,n,result,r;
num=Integer.parseInt(gg[0]);
result=0;
n=num;
while(n>0)
{
r=n%10;
result=result+(r*r*r);
n=n/10;
}
if(result==num) System.out... | UTF-8 | Java | 1,645 | java | First_Assignment.java | Java | [] | null | [] | // Programming Logic Questions
1. Write a code to check if given number is armstrong number or not.
import java.io.*;
class eg1psp
{
public static void main(String gg[])
{
int num,n,result,r;
num=Integer.parseInt(gg[0]);
result=0;
n=num;
while(n>0)
{
r=n%10;
result=result+(r*r*r);
n=n/10;
}
if(result==num) System.out... | 1,645 | 0.525836 | 0.502736 | 73 | 21.534246 | 26.577919 | 118 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.657534 | false | false | 6 |
878776867039d56beb278cf8e5ef97c12c4f0e00 | 23,029,614,667,745 | 1d715eca6e44152c8e68c5a48d455c91cfb28bad | /src/main/java/com/camlait/global/erp/service/util/IUtilService.java | 0558d48a7a4f154c153793f2db9653b848dfa624 | [] | no_license | global-erp-organisation/global-erp-service-delegate | https://github.com/global-erp-organisation/global-erp-service-delegate | 80b993ea86327c87c3337b70181cc65bfd017d52 | b1f75fdb4c23c86e951814ca3752c1b1b6a5f6eb | refs/heads/master | 2021-01-10T10:50:32.854000 | 2016-01-08T21:04:08 | 2016-01-08T21:04:08 | 49,293,445 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.camlait.global.erp.service.util;
import com.camlait.global.erp.domain.Entite;
import com.camlait.global.erp.domain.exception.GlobalErpServiceException;
public interface IUtilService {
String genererCode(Entite entie) throws GlobalErpServiceException, IllegalArgumentException;
}
| UTF-8 | Java | 302 | java | IUtilService.java | Java | [] | null | [] | package com.camlait.global.erp.service.util;
import com.camlait.global.erp.domain.Entite;
import com.camlait.global.erp.domain.exception.GlobalErpServiceException;
public interface IUtilService {
String genererCode(Entite entie) throws GlobalErpServiceException, IllegalArgumentException;
}
| 302 | 0.824503 | 0.824503 | 9 | 32.555557 | 33.092834 | 96 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | false | false | 6 |
7ddc6a965946db537dd9b359a0b6a67da3672105 | 5,248,450,084,096 | a922f371cc0f2d057ebfa27a16fca6136a2698b8 | /demo project first/src/arraydemo/ClassReport.java | f0ad0ea4d68010d78e63f95892205c439ce12fa2 | [] | no_license | B-19-SDET-06-02/Kulveer-Ghuman | https://github.com/B-19-SDET-06-02/Kulveer-Ghuman | da5459f057241aa25f418a1268496f4ea6de04b8 | b5e102ee6a39cfc5a5d28c2c9eec78ac749f2013 | refs/heads/master | 2020-07-02T03:21:49.876000 | 2019-08-09T06:25:46 | 2019-08-09T06:25:46 | 201,400,352 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package arraydemo;
import java.util.Scanner;
public class ClassReport
{
int[] rollno=new int[5];
String[] Names=new String[5];
int[] Eng=new int[5];
int[] Hindi=new int[5];
int[] Total=new int[5];
int[] Average=new int[5];
int counter;
Scanner s=new Scanner(System.in);
public ... | UTF-8 | Java | 1,430 | java | ClassReport.java | Java | [] | null | [] | package arraydemo;
import java.util.Scanner;
public class ClassReport
{
int[] rollno=new int[5];
String[] Names=new String[5];
int[] Eng=new int[5];
int[] Hindi=new int[5];
int[] Total=new int[5];
int[] Average=new int[5];
int counter;
Scanner s=new Scanner(System.in);
public ... | 1,430 | 0.633566 | 0.625874 | 53 | 25.981133 | 13.220182 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.90566 | false | false | 6 |
63b8dc80b8cb0bcdd499b7f833c9964c0a9ed90c | 4,337,917,008,392 | 9611bcf9c0c37eafc4df0cfddb1c8a24b5ee6c17 | /test/ImageUtilTest.java | 2efa6be8e753306fc2e98cb387eb625ea55afad1 | [] | no_license | JustinDiament/PhotoMod | https://github.com/JustinDiament/PhotoMod | 5bffd2c4df00dfbf06ad84c9574d36b799319443 | 724ae3c2bb8390f11963afe6e276d276df56cd43 | refs/heads/main | 2023-08-17T01:05:51.601000 | 2021-10-07T13:50:56 | 2021-10-07T13:50:56 | 383,365,140 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.awt.image.BufferedImage;
import model.ImageUtil;
import model.image.Image;
import model.image.ImageImpl;
import model.image.file.ImageFile;
import model.image.file.PNG;
import org.junit.Test;
/**
* Test class for t... | UTF-8 | Java | 1,389 | java | ImageUtilTest.java | Java | [] | null | [] | import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.awt.image.BufferedImage;
import model.ImageUtil;
import model.image.Image;
import model.image.ImageImpl;
import model.image.file.ImageFile;
import model.image.file.PNG;
import org.junit.Test;
/**
* Test class for t... | 1,389 | 0.737221 | 0.728582 | 47 | 28.553192 | 21.676352 | 82 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.574468 | false | false | 6 |
0307aa62ea6fff83aa3507e280b23a83f9ecdb14 | 22,557,168,286,163 | 3716ac92a70d06b929da7b742500429509032489 | /src/archive/ConversationRecord.java | 5d4dfdbfa2517747bcafc4d8987e75adcefba7e6 | [] | no_license | jstolarek/io | https://github.com/jstolarek/io | b0d7c7cda077fd63bd8529f944ed6a99824bfcc6 | 05d0bf0c06f992fdfe0df38bb2d3b12032400d0c | refs/heads/master | 2016-08-04T06:24:58.886000 | 2014-11-25T11:12:00 | 2014-11-25T11:12:00 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package archive;
public class ConversationRecord {
public void saveConversation(){
}
}
| UTF-8 | Java | 98 | java | ConversationRecord.java | Java | [] | null | [] | package archive;
public class ConversationRecord {
public void saveConversation(){
}
}
| 98 | 0.704082 | 0.704082 | 11 | 7.909091 | 12.398347 | 33 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.545455 | false | false | 6 |
e7fca9ea05ac0df1ffceae1b32dd7d8799bd9a83 | 30,374,008,747,546 | 29ff1239d7cf9c168b18e7cff2c8d5fff04caf72 | /iter02/src/main/java/cz/muni/fi/pb162/project/demo/Draw.java | cf32c7c145dcce6df5363d709cb281f9b477c476 | [] | no_license | ShishkinPavel/weekly_java | https://github.com/ShishkinPavel/weekly_java | 239718272e0077e23877fe634acfd4c7c99de819 | f40a7dbb5ca592e9b6bab082e4851142c749545e | refs/heads/master | 2023-05-15T07:35:38.688000 | 2021-06-07T10:48:15 | 2021-06-07T10:48:15 | 369,505,007 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package cz.muni.fi.pb162.project.demo;
import cz.muni.fi.pb162.project.geometry.Triangle;
import cz.muni.fi.pb162.project.geometry.Vertex2D;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.WindowConstants;
import java.awt.Color;
import java.awt.Graphics;
imp... | UTF-8 | Java | 3,175 | java | Draw.java | Java | [
{
"context": "p;\n\n/**\n * Class drawing 2D objects.\n *\n * @author Radek Oslejsek, Marek Sabo\n */\npublic final class Draw extends J",
"end": 434,
"score": 0.9998888373374939,
"start": 420,
"tag": "NAME",
"value": "Radek Oslejsek"
},
{
"context": " drawing 2D objects.\n *\n * @au... | null | [] | package cz.muni.fi.pb162.project.demo;
import cz.muni.fi.pb162.project.geometry.Triangle;
import cz.muni.fi.pb162.project.geometry.Vertex2D;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.WindowConstants;
import java.awt.Color;
import java.awt.Graphics;
imp... | 3,163 | 0.635906 | 0.616378 | 107 | 28.682243 | 24.863214 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.719626 | false | false | 6 |
dbfb5376cc702edc7a42f49802f1d6aadc19f5a2 | 30,004,641,553,535 | b3a0ffb95b89ee00f1c60589dac7b253bb961596 | /src/lesson3_AbstractClass_Interface/ClassWork/Atelier/MensWear.java | 21f0fc9af8bdeba744823758674092e1cf457d96 | [] | no_license | TarikoDan/Java-Lessons | https://github.com/TarikoDan/Java-Lessons | 0cb7f5808caaf3ae2eec92a5f32067373911d14c | 4ee2dde2387f40b1c2167202816fc3092aa4c3ac | refs/heads/master | 2022-12-31T16:12:20.453000 | 2020-10-12T14:40:32 | 2020-10-12T14:40:32 | 286,877,320 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package lesson3_AbstractClass_Interface.ClassWork.Atelier;
public interface MensWear {
void putOnMAN();
}
| UTF-8 | Java | 111 | java | MensWear.java | Java | [] | null | [] | package lesson3_AbstractClass_Interface.ClassWork.Atelier;
public interface MensWear {
void putOnMAN();
}
| 111 | 0.783784 | 0.774775 | 5 | 21.200001 | 21.198112 | 58 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | false | false | 6 |
20c161112ab2fcae49f0d7aa59d6ec1132f9602c | 26,585,847,626,192 | 0e62d6c2934f1ce7b67c5c420daf9ff8a5a22f53 | /tlkioedu/src/main/java/com/chengxi/person/user/domain/StudentInfo.java | de3a9e9eb83a9b15b12bab8fe56423027a490aa0 | [] | no_license | ibt01/DApp_Server | https://github.com/ibt01/DApp_Server | 9e351a68d461949c5ff4cc3ed0507d07527374af | 1ae4e9c3f8d0158d62b5cd2c9f9364e11323cd1f | refs/heads/main | 2023-04-05T22:43:50.546000 | 2021-04-14T15:03:47 | 2021-04-14T15:03:47 | 357,936,625 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.chengxi.person.user.domain;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import javax.persistence.*;
import java.util.Date;
@Slf4j
@Data
@Entity
@Table(name = "Student")
public class StudentInfo {
@Id
@Column(name = "id")
String studentId;
@Column(name = "student_name")
Stri... | UTF-8 | Java | 990 | java | StudentInfo.java | Java | [] | null | [] | package com.chengxi.person.user.domain;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import javax.persistence.*;
import java.util.Date;
@Slf4j
@Data
@Entity
@Table(name = "Student")
public class StudentInfo {
@Id
@Column(name = "id")
String studentId;
@Column(name = "student_name")
Stri... | 990 | 0.636364 | 0.633333 | 52 | 18.038462 | 14.078027 | 39 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.326923 | false | false | 6 |
8082bedd33f5270bcb73c4b52ae2ecf4f8a37d3b | 3,865,470,620,828 | ea725fb6bf1c2e4859bc958eb4c2dc1a5eb04937 | /LongDungeon/src/com/example/longdungeon/character/Character.java | 70d9727db4d7f953da1eec00a4a906b3a085ac43 | [] | no_license | ghall667/dungeonRPG | https://github.com/ghall667/dungeonRPG | ad2fa1601fc767a89b95fe8f1114453314591a1c | d1346c1b4928fbfbe0b3746da8924dff69fd39eb | refs/heads/master | 2020-02-21T11:03:48.860000 | 2014-11-10T19:07:49 | 2014-11-10T19:07:49 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.longdungeon.character;
public class Character {
private String name;
private int XP;
private int gold;
private int maxHp;
private int curHp;
private int def;
private int atk;
public Character() {
name = "Invisible";
defaultStats();
}
public Character(String nameNew) {
name = name... | UTF-8 | Java | 1,192 | java | Character.java | Java | [] | null | [] | package com.example.longdungeon.character;
public class Character {
private String name;
private int XP;
private int gold;
private int maxHp;
private int curHp;
private int def;
private int atk;
public Character() {
name = "Invisible";
defaultStats();
}
public Character(String nameNew) {
name = name... | 1,192 | 0.635067 | 0.623322 | 91 | 12.098901 | 11.474822 | 42 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.373626 | false | false | 6 |
0556ed1adc73150361d078836c7de33fb21906c1 | 7,851,200,278,498 | 9531a6353b4d7c2d13c617ea2933ddc0f20df528 | /src/es/uned/mexposito37/daoo/model/factura/DecoradorFactura.java | 7849228b7a8050ee7b50a6f7eab72ead0793ef3c | [
"Apache-2.0"
] | permissive | ESOJ74/daoo | https://github.com/ESOJ74/daoo | 5f98ce6983c8c1facaba735fb40ce6a3618e7a89 | 22cd5282f64a9e6410fb02527f7922cf002f3751 | refs/heads/master | 2021-05-31T04:08:45.957000 | 2016-05-13T14:28:35 | 2016-05-13T14:28:35 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* Clase abstracta DecoradorFactura de la que heredarán los decoradores concretos.
*/
package es.uned.mexposito37.daoo.model.factura;
import java.util.Date;
import es.uned.mexposito37.daoo.model.Cliente;
/**
* Class DecoradorFactura.
*/
public abstract class DecoradorFactura extends Factura {
/**
* Constru... | UTF-8 | Java | 1,101 | java | DecoradorFactura.java | Java | [] | null | [] | /*
* Clase abstracta DecoradorFactura de la que heredarán los decoradores concretos.
*/
package es.uned.mexposito37.daoo.model.factura;
import java.util.Date;
import es.uned.mexposito37.daoo.model.Cliente;
/**
* Class DecoradorFactura.
*/
public abstract class DecoradorFactura extends Factura {
/**
* Constru... | 1,101 | 0.738377 | 0.732908 | 46 | 22.847826 | 28.000751 | 113 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.086957 | false | false | 6 |
11846081a8c945f3492a042288676750d4539600 | 20,770,461,858,072 | 8108c655eab9f9ed2599f1fc91ee15b4f27ba5be | /java_pro/springboot_study/qinglian-admin/qinglian-admin-web/src/main/java/com/qinglianweb/qinglianadminweb/menu/menu_pojo/SysRolePer.java | 1a146693a81bf504ed6840ef70599874d0e78b99 | [] | no_license | zzzqqq123/qingliancode | https://github.com/zzzqqq123/qingliancode | 35a45365d5eb0eb2857849c532880c68223dca21 | 6e9445a3d07485fc110271bbb13d9647e0b8e6fd | refs/heads/master | 2020-04-03T18:56:16.434000 | 2019-07-12T02:10:03 | 2019-07-12T02:10:03 | 155,502,989 | 0 | 0 | null | false | 2021-01-20T23:31:31 | 2018-10-31T05:21:21 | 2019-07-12T02:11:56 | 2021-01-20T23:31:29 | 4,029 | 0 | 0 | 6 | Java | false | false | package com.qinglianweb.qinglianadminweb.menu.menu_pojo;
public class SysRolePer {
private Integer rpId;
private Integer rpRoleId;
private Integer rpPermissionId;
public SysRolePer(Integer rpId, Integer rpRoleId, Integer rpPermissionId) {
this.rpId = rpId;
this.rpRoleId = rpRoleId;
... | UTF-8 | Java | 902 | java | SysRolePer.java | Java | [] | null | [] | package com.qinglianweb.qinglianadminweb.menu.menu_pojo;
public class SysRolePer {
private Integer rpId;
private Integer rpRoleId;
private Integer rpPermissionId;
public SysRolePer(Integer rpId, Integer rpRoleId, Integer rpPermissionId) {
this.rpId = rpId;
this.rpRoleId = rpRoleId;
... | 902 | 0.643016 | 0.643016 | 43 | 20 | 19.763721 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.372093 | false | false | 6 |
172b3d9844bc8001c9cf0705cde543d28bac0be6 | 5,789,615,945,045 | d42d74bf3980a8f31416403634460fb06ae32d73 | /src/main/java/com/gojek/parkinglot/ParkingLotHelper.java | 16c8238b0c225cff6afaa88aa2c1524bab8a08f8 | [] | no_license | prat2065/parkinglot | https://github.com/prat2065/parkinglot | fd6c79aaca5fa52b1ce0ba9695fd0b755807ce4b | 73cc0062c177c0583d2234501a4e4514a84c1dea | refs/heads/master | 2020-03-23T04:53:32.100000 | 2018-07-16T09:24:37 | 2018-07-16T09:24:37 | 141,111,269 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.gojek.parkinglot;
/**
* ParkingLotHelper gives auto-incremented unique id for every transaction done
* starting from 0.
*
* @author prateekmukhija
*
*/
public class ParkingLotHelper {
public static Long tokenNo = 0L;
@SuppressWarnings("unused")
public synchronized static Long getUniqueToken() {... | UTF-8 | Java | 357 | java | ParkingLotHelper.java | Java | [
{
"context": "ransaction done\n * starting from 0.\n * \n * @author prateekmukhija\n *\n */\npublic class ParkingLotHelper {\n\n\tpublic s",
"end": 164,
"score": 0.9994317293167114,
"start": 150,
"tag": "USERNAME",
"value": "prateekmukhija"
}
] | null | [] | package com.gojek.parkinglot;
/**
* ParkingLotHelper gives auto-incremented unique id for every transaction done
* starting from 0.
*
* @author prateekmukhija
*
*/
public class ParkingLotHelper {
public static Long tokenNo = 0L;
@SuppressWarnings("unused")
public synchronized static Long getUniqueToken() {... | 357 | 0.731092 | 0.72549 | 20 | 16.9 | 20.322155 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | false | false | 5 |
19e7efcf95c2bbca8708d7c3aebd9d8c53f307bb | 34,402,688,070,909 | 61dbedd137dfef81cb79f4ea458b72bb7af750cd | /src/Pack1/DynaPlan.java | e28a950d98bea24ada3230adb1b488770753feb4 | [] | no_license | GingerNg/NowCoder | https://github.com/GingerNg/NowCoder | 06e56788260fdbabaf1faa5dea0a0721dad16b19 | c452f4673299b44a9afd3278690aa75805d6d21c | refs/heads/master | 2020-12-24T07:42:31.002000 | 2016-10-08T15:50:44 | 2016-10-08T15:50:44 | 57,037,131 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package Pack1;
/*http://www.cnblogs.com/bourbon/archive/2011/08/23/2151044.html
* 背包问题
* 有N件物品和一个容量为V的背包。第i件物品的体积是c[i],价值是v[i]。求解将哪些物品装入背包可使价值总和最大。
*我们把题目具体下, 有5个商品,背包的体积为10,他们的体积为 c[5] = {3,5,2,7,4}; 价值为 v[5] = {2,4,1,6,5};
*/
public class DynaPlan {
public static void main(String[] args){
int[]... | GB18030 | Java | 1,116 | java | DynaPlan.java | Java | [
{
"context": "package Pack1;\r\n/*http://www.cnblogs.com/bourbon/archive/2011/08/23/2151044.html\r\n * 背包问题\r\n * 有N件物",
"end": 48,
"score": 0.9996064305305481,
"start": 41,
"tag": "USERNAME",
"value": "bourbon"
}
] | null | [] | package Pack1;
/*http://www.cnblogs.com/bourbon/archive/2011/08/23/2151044.html
* 背包问题
* 有N件物品和一个容量为V的背包。第i件物品的体积是c[i],价值是v[i]。求解将哪些物品装入背包可使价值总和最大。
*我们把题目具体下, 有5个商品,背包的体积为10,他们的体积为 c[5] = {3,5,2,7,4}; 价值为 v[5] = {2,4,1,6,5};
*/
public class DynaPlan {
public static void main(String[] args){
int[]... | 1,116 | 0.443662 | 0.372066 | 45 | 16.977777 | 22.328346 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.355556 | false | false | 5 |
a25d6938887fd9a8896acd661f862554353359ff | 35,356,170,796,355 | 4b4d46897efee8aacddf6c3ba03a4b102c6e4182 | /app/src/main/java/com/example/ibrahimsaad/madarsofttask/api/APIClient.java | 17544735d01dbf99931d12183676b011b4ced22e | [] | no_license | ibrahimsaad/Task | https://github.com/ibrahimsaad/Task | 41f363a42fcac9dae95b5f982cf5cfd4c1deb2cc | e2531c7733cc696008eed8db7b2e114b7b24abdf | refs/heads/master | 2020-03-24T04:33:58.654000 | 2018-07-26T15:10:56 | 2018-07-26T15:10:56 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.ibrahimsaad.madarsofttask.api;
import com.example.ibrahimsaad.madarsofttask.BuildConfig;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import okhttp3.HttpUrl;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import ok... | UTF-8 | Java | 2,072 | java | APIClient.java | Java | [] | null | [] | package com.example.ibrahimsaad.madarsofttask.api;
import com.example.ibrahimsaad.madarsofttask.BuildConfig;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import okhttp3.HttpUrl;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import ok... | 2,072 | 0.630309 | 0.626448 | 65 | 30.876923 | 23.814997 | 76 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | false | false | 5 |
377f60f17789ce8e5ae85ca059c496bf77fd6d01 | 33,483,565,099,227 | 54d3b971bce6c0703a355881a34a0fbfeac9dc39 | /pack-threadcontext/src/main/java/com/github/knightliao/middle/thread/MyThreadContext.java | c6566ff9b185360bd29fd01873a1530dd3df5f0b | [
"Apache-2.0"
] | permissive | yrm1990525/middle-libs | https://github.com/yrm1990525/middle-libs | 5f6902062da79fb9f6fe175166ae440f0e607ca2 | 896db9f8d6adb06d5d94299ef03f9645e731f2f6 | refs/heads/main | 2023-08-25T16:55:26.883000 | 2021-10-28T17:05:43 | 2021-10-28T17:05:43 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.github.knightliao.middle.thread;
import java.util.HashMap;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
/**
* @author knightliao
* @email knightliao@gmail.com
* @date 2021/8/11 16:19
*/
@Slf4j
public class MyThreadContext {
private static final ThreadLocal<Map<String, Object>> CTX = n... | UTF-8 | Java | 2,059 | java | MyThreadContext.java | Java | [
{
"context": "\nimport lombok.extern.slf4j.Slf4j;\n\n/**\n * @author knightliao\n * @email knightliao@gmail.com\n * @date 2021/8/11",
"end": 155,
"score": 0.9996762275695801,
"start": 145,
"tag": "USERNAME",
"value": "knightliao"
},
{
"context": ".slf4j.Slf4j;\n\n/**\n * @author knig... | null | [] | package com.github.knightliao.middle.thread;
import java.util.HashMap;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
/**
* @author knightliao
* @email <EMAIL>
* @date 2021/8/11 16:19
*/
@Slf4j
public class MyThreadContext {
private static final ThreadLocal<Map<String, Object>> CTX = new ThreadLoca... | 2,046 | 0.565769 | 0.555612 | 83 | 22.722891 | 22.168203 | 108 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.385542 | false | false | 5 |
ee56dd951068016c808cb14bf598f3f150d13a7a | 27,668,179,363,460 | a2a8e64cc6517a9f45fd6a0bf98038fbd2028c56 | /tiny-servlet/src/main/java/com/jslib/container/http/encoder/ArgumentsReaderFactory.java | 40e9e9f7a8b920b61ce8bfb50c20c580d30df968 | [
"Zlib",
"EPL-1.0",
"CDDL-1.0",
"LZMA-exception",
"bzip2-1.0.6",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CPL-1.0"
] | permissive | js-lib-com/tiny-container | https://github.com/js-lib-com/tiny-container | 5e0695868f1f298a88f6cf4b6dd5a91d073b463a | cdad07a713288b2d476d983b5926169580371845 | refs/heads/master | 2023-02-14T01:29:26.865000 | 2023-02-02T17:20:02 | 2023-02-02T17:20:02 | 141,844,021 | 0 | 0 | Apache-2.0 | false | 2023-02-02T17:20:03 | 2018-07-21T20:30:06 | 2021-11-18T20:39:14 | 2023-02-02T17:20:02 | 4,317 | 0 | 0 | 0 | Java | false | false | package com.jslib.container.http.encoder;
import java.lang.reflect.Type;
import jakarta.servlet.http.HttpServletRequest;
import com.jslib.lang.IllegalArgumentException;
/**
* Factory for invocation arguments readers. This interface implements a strategy that select appropriate arguments reader
* instance for curre... | UTF-8 | Java | 2,379 | java | ArgumentsReaderFactory.java | Java | [
{
"context": "ances for multipart mixed messages.\n * \n * @author Iulian Rotaru\n * @version final\n */\npublic interface ArgumentsR",
"end": 441,
"score": 0.9998747706413269,
"start": 428,
"tag": "NAME",
"value": "Iulian Rotaru"
}
] | null | [] | package com.jslib.container.http.encoder;
import java.lang.reflect.Type;
import jakarta.servlet.http.HttpServletRequest;
import com.jslib.lang.IllegalArgumentException;
/**
* Factory for invocation arguments readers. This interface implements a strategy that select appropriate arguments reader
* instance for curre... | 2,372 | 0.784784 | 0.784784 | 47 | 49.61702 | 45.323215 | 124 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.93617 | false | false | 5 |
fbacc7103f3b346d380419f02f6acd5585074063 | 11,630,771,488,672 | 5a6919b6e03fb7605bcb721a5eb8fc680a8d6a05 | /mobile/app/src/main/java/com/avaskov/techmadness/domain/models/OfferType.java | 5d46de3870d67cfa7abafefd3eb785857816c544 | [] | no_license | KovalevVasiliy/techmadness-2019 | https://github.com/KovalevVasiliy/techmadness-2019 | f8da46e722d42eb1517da2925b3aefbeac2bb261 | bad809261ed46c969c956ceddfde5bbe6314092f | refs/heads/master | 2023-03-16T00:16:05.030000 | 2019-12-08T12:02:48 | 2019-12-08T12:02:48 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.avaskov.techmadness.domain.models;
import com.google.gson.annotations.SerializedName;
public enum OfferType {
@SerializedName("1")
CREDIT,
@SerializedName("2")
DEPOSIT,
@SerializedName("3")
AUTOTRANSACTION,
@SerializedName("4")
IMPORTANT_DATE,
@SerializedName("5")
... | UTF-8 | Java | 453 | java | OfferType.java | Java | [] | null | [] | package com.avaskov.techmadness.domain.models;
import com.google.gson.annotations.SerializedName;
public enum OfferType {
@SerializedName("1")
CREDIT,
@SerializedName("2")
DEPOSIT,
@SerializedName("3")
AUTOTRANSACTION,
@SerializedName("4")
IMPORTANT_DATE,
@SerializedName("5")
... | 453 | 0.651214 | 0.633554 | 29 | 14.620689 | 13.43545 | 50 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.310345 | false | false | 5 |
6f8904f492744d3e077d629aa65c610e773a96fe | 8,237,747,280,240 | cc761aa870d6d52fb32d31457bc7bf1a6e2b68fb | /src/main/java/com/casic/patrol/indication/persistence/manager/IndicationInfoManager.java | 01c73a9a5671ea380ec207dd67d5a5a1b8239ab2 | [] | no_license | feisishui/surveillance | https://github.com/feisishui/surveillance | 8b8c58900e040da170c19804db7fac71891d7f74 | ec43764ea03dfb77df0362e94063e6123a7607e4 | refs/heads/master | 2020-05-02T02:15:04.225000 | 2017-07-16T03:48:18 | 2017-07-16T03:48:18 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.casic.patrol.indication.persistence.manager;
import com.casic.patrol.core.hibernate.HibernateEntityDao;
import com.casic.patrol.indication.persistence.domain.IndicationInfo;
import com.casic.patrol.indication.support.Indication;
import com.casic.patrol.util.DateUtils;
import com.casic.patrol.util.ExecInfo;... | UTF-8 | Java | 6,155 | java | IndicationInfoManager.java | Java | [] | null | [] | package com.casic.patrol.indication.persistence.manager;
import com.casic.patrol.core.hibernate.HibernateEntityDao;
import com.casic.patrol.indication.persistence.domain.IndicationInfo;
import com.casic.patrol.indication.support.Indication;
import com.casic.patrol.util.DateUtils;
import com.casic.patrol.util.ExecInfo;... | 6,155 | 0.577244 | 0.576052 | 164 | 34.798782 | 24.302509 | 82 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.621951 | false | false | 5 |
eec2e3b5b7391f5ea167a358c62acc1438bf3eed | 29,291,676,999,737 | 937bfdf336bae8f2bbe7d715b991e326a7a1f924 | /src/main/java/com/sharukhhasan/App.java | bda2dd4d3f1b4e316e8e728b022cece456e8375e | [] | no_license | sharukhhasan/Topbloc-Challenge | https://github.com/sharukhhasan/Topbloc-Challenge | e459226b849df3166ba9bb626592c7a6c6b74d15 | 2fcef33543c3805ac7ef6d819bcff118f587f5d2 | refs/heads/master | 2020-03-13T01:34:55.591000 | 2018-04-24T21:48:32 | 2018-04-24T21:48:32 | 130,906,489 | 0 | 0 | null | false | 2018-04-24T21:43:53 | 2018-04-24T19:54:11 | 2018-04-24T20:01:31 | 2018-04-24T21:43:53 | 7 | 0 | 0 | 0 | Java | false | null | package com.sharukhhasan;
import com.google.gson.Gson;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import java.io.IOExcepti... | UTF-8 | Java | 2,475 | java | App.java | Java | [
{
"context": "r;\n\nimport java.io.IOException;\n\n/**\n * Created by Sharukh Hasan on 4/24/18.\n */\npublic class App {\n\n // Excel ",
"end": 356,
"score": 0.9998685717582703,
"start": 343,
"tag": "NAME",
"value": "Sharukh Hasan"
},
{
"context": "\n private static final Strin... | null | [] | package com.sharukhhasan;
import com.google.gson.Gson;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import java.io.IOExcepti... | 2,454 | 0.710303 | 0.697778 | 67 | 35.9403 | 33.779301 | 119 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.597015 | false | false | 5 |
6eeeb868084948c61188ca52e0f0142033ac5c0b | 33,689,723,504,152 | c1d1352f866bcf5dba4455959c7a4212baf101cf | /src/DAO/DAO_appointments.java | 27bd04a58e7a96c5b6bd8ce6ad9de232b8b70eef | [] | no_license | Bmaxfi1/AppointmentScheduler | https://github.com/Bmaxfi1/AppointmentScheduler | cc2aaa99e063c92ea5da869d4b1ce50e1676d7e6 | 7450e8dea92c1f049fee06ffa00d825af0a776c1 | refs/heads/master | 2023-05-28T19:02:20.376000 | 2021-06-09T22:38:34 | 2021-06-09T22:38:34 | 353,494,952 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package DAO;
import Model.Appointment;
import javafx.collections.ObservableList;
import java.sql.SQLException;
/**
* The DAO Interface for appointments
*/
public interface DAO_appointments {
public ObservableList<Appointment> getAllAppointments() throws SQLException;
public int addAppointment(Appointment a... | UTF-8 | Java | 523 | java | DAO_appointments.java | Java | [] | null | [] | package DAO;
import Model.Appointment;
import javafx.collections.ObservableList;
import java.sql.SQLException;
/**
* The DAO Interface for appointments
*/
public interface DAO_appointments {
public ObservableList<Appointment> getAllAppointments() throws SQLException;
public int addAppointment(Appointment a... | 523 | 0.81262 | 0.81262 | 17 | 29.764706 | 31.193003 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.470588 | false | false | 5 |
7569e69246f9540c1dce4d8bac7abe5f97d06694 | 24,172,075,987,142 | 81d80b8d8aa020bb3d71ee48abe4fdc466f49ab0 | /src/main/java/com/inductiveminds/admin/authCommon/services/TokenService.java | e230ef202215a955060f0db57ef4f27eb1a84582 | [] | no_license | tqp/timetracker-server | https://github.com/tqp/timetracker-server | 795bddc0433270fb4ea0c49d063e2a9a061b9259 | 315d8a2e7c1ba675582aeab57646603be3cc2f32 | refs/heads/master | 2020-08-12T08:02:50.238000 | 2020-05-20T18:32:52 | 2020-05-20T18:32:52 | 214,724,515 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.inductiveminds.admin.authCommon.services;
import com.inductiveminds.admin.authCommon.beans.Role;
import com.inductiveminds.admin.authCommon.beans.User;
import com.inductiveminds.admin.common.utils.GeneralUtilsService;
import io.jsonwebtoken.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import... | UTF-8 | Java | 6,550 | java | TokenService.java | Java | [
{
"context": "n Jwts.builder()\n .setSubject(user.getUsername())\n .claim(AUTHORITIES_KEY, author",
"end": 2482,
"score": 0.8777236938476562,
"start": 2471,
"tag": "USERNAME",
"value": "getUsername"
}
] | null | [] | package com.inductiveminds.admin.authCommon.services;
import com.inductiveminds.admin.authCommon.beans.Role;
import com.inductiveminds.admin.authCommon.beans.User;
import com.inductiveminds.admin.common.utils.GeneralUtilsService;
import io.jsonwebtoken.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import... | 6,550 | 0.674809 | 0.672061 | 155 | 41.258064 | 30.063555 | 138 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.574194 | false | false | 5 |
280947ccfb8b7e4ea7b653ff0a00fde866343863 | 30,210,799,981,805 | 9900ad99102ff07798008149a6e972e446707073 | /Grashuepfer/src/main/java/de/nak/iaa/grashuepfer/action/ShowHomeAction.java | 1465ce9d9bf0801e24ac40b1be1559ab33f13f09 | [] | no_license | jwhoeche/Grashuepfer | https://github.com/jwhoeche/Grashuepfer | d1d28d509794aa441764a164cc7dc48e54c7a6fb | 91005abfeb6a068288dafd046b1062cf622e3c61 | refs/heads/master | 2018-10-07T21:42:01.917000 | 2014-11-10T11:20:42 | 2014-11-10T11:20:42 | 25,077,817 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package de.nak.iaa.grashuepfer.action;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import com.opensymphony.xwork2.ActionSupport;
import de.nak.iaa.grashuepfer.con... | UTF-8 | Java | 4,649 | java | ShowHomeAction.java | Java | [
{
"context": "ervice;\n\n/**\n * The the /home-view.\n * \n * @author jwhoeche, sherber, fmeid\n */\npublic class ShowHomeAction e",
"end": 745,
"score": 0.9993049502372742,
"start": 737,
"tag": "USERNAME",
"value": "jwhoeche"
},
{
"context": "**\n * The the /home-view.\n * \n * @aut... | null | [] | package de.nak.iaa.grashuepfer.action;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import com.opensymphony.xwork2.ActionSupport;
import de.nak.iaa.grashuepfer.con... | 4,649 | 0.697784 | 0.696924 | 156 | 28.807692 | 27.077787 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | false | false | 5 |
49b43b969914f442d289f255810f8f29a8ea6b35 | 24,481,313,597,108 | cc7e9a589b622741e6cd9f63f9bf9663cb2f472a | /java/ShortMessages.java | e24ccb223faecad722b9498b8b9a12b328669028 | [
"MIT"
] | permissive | philipphofmann/short-messages-web-api | https://github.com/philipphofmann/short-messages-web-api | efdc7f7277ae8cc97097fe608c313199489799eb | 13c867d310c5ba7a66dc98bd3a510d2449873d65 | refs/heads/master | 2020-12-23T15:37:05.242000 | 2017-11-01T13:27:55 | 2017-11-01T13:27:55 | 73,495,928 | 0 | 1 | null | false | 2016-11-17T08:59:41 | 2016-11-11T17:04:33 | 2016-11-11T17:05:50 | 2016-11-17T08:59:41 | 17 | 0 | 1 | 0 | C# | null | null | package muffls.android.shortmessageswebapi;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class ShortMessages {
@SerializedName("messages")
private List<ShortMessageModel> messages = new ArrayList<>();
public ShortMessages() {
//req... | UTF-8 | Java | 581 | java | ShortMessages.java | Java | [] | null | [] | package muffls.android.shortmessageswebapi;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class ShortMessages {
@SerializedName("messages")
private List<ShortMessageModel> messages = new ArrayList<>();
public ShortMessages() {
//req... | 581 | 0.698795 | 0.698795 | 27 | 20.518518 | 20.309404 | 65 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | false | false | 5 |
4dbf28a3ff59bc8560f0d60ab18910d1529a4e21 | 13,305,808,726,969 | 24586f1c9178cd2872bec937b2f2794b005128e5 | /src/main/java/uk/co/sammy/tables/TradeManager.java | 879e30aec83a53f604d1b9b4de704a61c4fb00ee | [] | no_license | SammyMarie/JDBCProject | https://github.com/SammyMarie/JDBCProject | e7e74a7c9b7355666b4640684ed934356636f008 | a2c53ee816ce39c6b458fa8e0cc35f582ca1f3b8 | refs/heads/master | 2016-09-12T09:05:53.478000 | 2016-05-10T15:58:25 | 2016-05-10T15:58:25 | 58,474,042 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package uk.co.sammy.tables;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import static java.lang.System.*;
import uk.co.sammy.utilities.DBException;
import uk.co.sammy.mainClass.ConnectionManager;
public class TradeManager {
private static C... | UTF-8 | Java | 2,121 | java | TradeManager.java | Java | [] | null | [] | package uk.co.sammy.tables;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import static java.lang.System.*;
import uk.co.sammy.utilities.DBException;
import uk.co.sammy.mainClass.ConnectionManager;
public class TradeManager {
private static C... | 2,121 | 0.680811 | 0.679868 | 91 | 22.307692 | 23.261387 | 82 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.505495 | false | false | 5 |
b5d91b792885f188dbeadab79376f017f57a5575 | 17,497,696,790,333 | e1f724104daec184d2656fed1faa4b861b78c17f | /src/test/java/org/amdocs/lab2/Calculator/DivideTest.java | 053846f2c8851d2989447d81fbfffb16430b798a | [] | no_license | SureshSc/Calculator | https://github.com/SureshSc/Calculator | c81e04b7d94bf3314bda6d5e8fc46356d592addb | cd7a159753bae1f65fe6039355a85eb201ff5b07 | refs/heads/master | 2021-07-07T23:54:35.148000 | 2019-07-09T22:00:36 | 2019-07-09T22:00:36 | 196,143,051 | 0 | 7 | null | false | 2020-10-13T14:29:07 | 2019-07-10T06:15:05 | 2019-07-10T10:33:08 | 2020-10-13T14:29:05 | 26 | 0 | 12 | 1 | Java | false | false | package org.amdocs.lab2.Calculator;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class DivideTest {
@Test
public void testDivide() {
Divide obj=new Divide();
double result=obj.getResult(10,2);
assertEquals(5,result,0.0001);
}
}
| UTF-8 | Java | 268 | java | DivideTest.java | Java | [] | null | [] | package org.amdocs.lab2.Calculator;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class DivideTest {
@Test
public void testDivide() {
Divide obj=new Divide();
double result=obj.getResult(10,2);
assertEquals(5,result,0.0001);
}
}
| 268 | 0.746269 | 0.708955 | 13 | 19.615385 | 15.249406 | 44 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.307692 | false | false | 5 |
d0a48fe0abc1f424a2453bd54e4556de97c1f721 | 20,581,483,318,730 | 193d2153eaf6c6522757d282247e042db780d59c | /src/main/java/learn/design/patterns/examples/behavioral/chainof/responsibility/ATMDispenser.java | 2842c28fcc6d8abd60a98f495cf82894c713c3a9 | [] | no_license | jithinputhiyattu/java-design-patterns-examples | https://github.com/jithinputhiyattu/java-design-patterns-examples | b29e5b88b5414a5710d0b92906bb733199641b36 | 4df1d79e86ae39931df8889b17c7e3504cb92c6e | refs/heads/master | 2022-12-05T13:33:41.351000 | 2019-10-17T10:02:56 | 2019-10-17T10:02:56 | 194,376,119 | 1 | 0 | null | false | 2022-11-16T12:40:24 | 2019-06-29T07:11:16 | 2019-10-17T10:03:12 | 2022-11-16T12:40:21 | 44 | 1 | 0 | 2 | Java | false | false | package learn.design.patterns.examples.behavioral.chainof.responsibility;
public class ATMDispenser {
INR2000DipenseChain inr2000;
public ATMDispenser() {
super();
inr2000 = new INR2000DipenseChain();
inr2000.setNextChain(new INR500DipenseChain());
inr2000.getNextChain().setNextChain(new INR100DipenseChai... | UTF-8 | Java | 643 | java | ATMDispenser.java | Java | [] | null | [] | package learn.design.patterns.examples.behavioral.chainof.responsibility;
public class ATMDispenser {
INR2000DipenseChain inr2000;
public ATMDispenser() {
super();
inr2000 = new INR2000DipenseChain();
inr2000.setNextChain(new INR500DipenseChain());
inr2000.getNextChain().setNextChain(new INR100DipenseChai... | 643 | 0.696734 | 0.642302 | 33 | 18.484848 | 20.173672 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.727273 | false | false | 5 |
040a933f29812a363f82e00bc880820162728ff4 | 14,242,111,579,047 | 9a169d26fb548ec86b185e40d86f00b43442a712 | /app/src/main/java/dragosholban/com/bestphotos/ImageRecyclerViewAdapter.java | f714079f540f72a89b424d7c8bb293ad2197d1e3 | [] | no_license | dragosholban/AndroidBestPhotos | https://github.com/dragosholban/AndroidBestPhotos | cf68ac8dbb942eb3f39ed9ca85ca6652bb15d522 | 72defb0cd3de5ca58b0cc1cd2e222c03a0a15ea7 | refs/heads/master | 2021-04-03T09:58:34.450000 | 2018-04-07T05:25:18 | 2018-04-07T05:25:18 | 124,929,210 | 1 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package dragosholban.com.bestphotos;
import android.content.Context;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Tex... | UTF-8 | Java | 6,088 | java | ImageRecyclerViewAdapter.java | Java | [] | null | [] | package dragosholban.com.bestphotos;
import android.content.Context;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Tex... | 6,088 | 0.61728 | 0.609231 | 177 | 33.395481 | 28.302874 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.542373 | false | false | 5 |
b8020369904e70c4c28eb6c4bd111f17fb6b0074 | 20,744,692,052,083 | fcd496d924b0c8860b6d7d69a275686c28996948 | /src/nfa/NFA.java | 7c2ffb53bd5eecadc6929a564ff418f1861960b7 | [] | no_license | khaled-elbardawell/NFA-Automata | https://github.com/khaled-elbardawell/NFA-Automata | d958a36e577232212f647727db416e4aa08ff614 | d799dbce4c4d59b63335d2f21c81eb38c1ae2c71 | refs/heads/master | 2020-12-05T02:46:15.703000 | 2020-01-05T22:38:49 | 2020-01-05T22:38:49 | 231,985,218 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null |
package nfa;
import java.util.ArrayList;
import java.util.Scanner;
public class NFA {
public static ArrayList symbol =new ArrayList();
public static ArrayList state =new ArrayList();
public static ArrayList FinalState =new ArrayList();
public static void main(String[] args) {
... | UTF-8 | Java | 5,732 | java | NFA.java | Java | [] | null | [] |
package nfa;
import java.util.ArrayList;
import java.util.Scanner;
public class NFA {
public static ArrayList symbol =new ArrayList();
public static ArrayList state =new ArrayList();
public static ArrayList FinalState =new ArrayList();
public static void main(String[] args) {
... | 5,732 | 0.378925 | 0.369156 | 183 | 30.31694 | 20.451944 | 100 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.535519 | false | false | 5 |
03795e97b72746828ccfa04721f940dbe34161be | 6,356,551,637,532 | 2fa5691ca64dfe9184ae8dd32cd927ae96761338 | /app_zhuanquan/dal/src/main/java/com/zhuanquan/app/dal/dao/author/AuthorHotIndexesDAO.java | 3d94b9def417bcc97903964df581fa1af9d6c2e1 | [] | no_license | zhuanq/WEB | https://github.com/zhuanq/WEB | 080195e7c0dac315b80c8887d41ef148b81009c8 | 2c68b6774ae10a3cc2c204132e378eea43b45dba | refs/heads/master | 2021-01-23T00:15:50.859000 | 2017-08-26T23:10:20 | 2017-08-26T23:10:20 | 85,710,701 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.zhuanquan.app.dal.dao.author;
import java.util.List;
import com.zhuanquan.app.common.model.author.AuthorHotIndexes;
/**
* 热度指数
* @author zhangjun
*
*/
public interface AuthorHotIndexesDAO {
/**
* 根据id查询
* @param authorId
* @return
*/
AuthorHotIndexes queryByAuthorId(long authorId);
/... | UTF-8 | Java | 708 | java | AuthorHotIndexesDAO.java | Java | [
{
"context": "l.author.AuthorHotIndexes;\n\n/**\n * 热度指数\n * @author zhangjun\n *\n */\npublic interface AuthorHotIndexesDAO {\n\t\n\t",
"end": 162,
"score": 0.9964101910591125,
"start": 154,
"tag": "USERNAME",
"value": "zhangjun"
}
] | null | [] | package com.zhuanquan.app.dal.dao.author;
import java.util.List;
import com.zhuanquan.app.common.model.author.AuthorHotIndexes;
/**
* 热度指数
* @author zhangjun
*
*/
public interface AuthorHotIndexesDAO {
/**
* 根据id查询
* @param authorId
* @return
*/
AuthorHotIndexes queryByAuthorId(long authorId);
/... | 708 | 0.687879 | 0.687879 | 40 | 15.525 | 22.052197 | 117 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.9 | false | false | 5 |
db055a2fb60f32ee659ce95a1e2073041c4e8a61 | 24,300,924,976,922 | 08e204b2c40dccae2b8bab67cdba96ef5daec06e | /src/main/java/com/cimarasah/auth/security/jwt/JwtEncryptedTokenFactory.java | 60afba82ce0f3ace9c8d4ddde446300404b44767 | [] | no_license | cimarasah/auth-service | https://github.com/cimarasah/auth-service | 2c4e786e96487041bec65141ff7d4a65395e5f83 | ce1666232f2bdb3465e36fe09f344a58da61453a | refs/heads/master | 2020-03-29T03:02:22.355000 | 2018-09-19T14:32:36 | 2018-09-19T14:32:36 | 149,461,157 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.cimarasah.auth.security.jwt;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Serializable;
import java.security.Key;
import java.security.KeyStore;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.cert.Certificate;
import ... | UTF-8 | Java | 6,069 | java | JwtEncryptedTokenFactory.java | Java | [] | null | [] | package com.cimarasah.auth.security.jwt;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.Serializable;
import java.security.Key;
import java.security.KeyStore;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.cert.Certificate;
import ... | 6,069 | 0.64294 | 0.636499 | 182 | 32.274727 | 26.592186 | 107 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.527473 | false | false | 5 |
47490dfa90712c990ca7cd32836bf6b2fc34e65e | 24,300,924,974,257 | f0c750294147aab8ff7a7c696be6fe69a28a61df | /src/com/charlie/tank/NpcTank.java | 5bb50df01fc81fd82d2052b910db03157dbc2b2a | [] | no_license | CharlieNarita/TankWar | https://github.com/CharlieNarita/TankWar | d7915067eb47c994843cfa24841e87438fbceddb | 4697ceed6f7c0965ad474f2fe5737472f1f32c6a | refs/heads/master | 2023-06-29T22:31:24.758000 | 2021-05-21T07:48:37 | 2021-05-21T07:48:37 | 369,453,764 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.charlie.tank;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.util.Random;
public class NpcTank extends AbstractVehicle {
private int oldX;
private int oldY;
private static int width = ResourceMgr.npcTankUp.getWidth();
private static int height = ResourceMgr.npcTankUp.ge... | UTF-8 | Java | 2,879 | java | NpcTank.java | Java | [] | null | [] | package com.charlie.tank;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.util.Random;
public class NpcTank extends AbstractVehicle {
private int oldX;
private int oldY;
private static int width = ResourceMgr.npcTankUp.getWidth();
private static int height = ResourceMgr.npcTankUp.ge... | 2,879 | 0.608545 | 0.601598 | 150 | 17.193333 | 19.434229 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.106667 | false | false | 5 |
375c6dc4e52d70191921ac0ffe229a11cda1ca97 | 33,303,176,424,636 | 6fa1938f63125c21fe64b263aa8e338b31a33df7 | /src/com/fahimahmed/bv/application/BVAssignment.java | 6bb8a4ab582467d0268b56704fdfa224a79e7bdf | [] | no_license | fahimahmed/BVAssignment | https://github.com/fahimahmed/BVAssignment | 7bf52341e4644b4d8b49920b2b8fc44e96b577f7 | 06eef969a2eaaca30ba3d066e7af4d8210d648af | refs/heads/master | 2021-01-01T19:06:55.392000 | 2014-07-02T03:36:18 | 2014-07-02T03:36:18 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.fahimahmed.bv.application;
import android.app.Application;
import com.fahimahmed.bv.database.DatabaseManager;
public class BVAssignment extends Application {
private DatabaseManager dbManager;
@Override
public void onCreate() {
// TODO Auto-generated method stub
super.onCreate();
dbManager = D... | UTF-8 | Java | 531 | java | BVAssignment.java | Java | [] | null | [] | package com.fahimahmed.bv.application;
import android.app.Application;
import com.fahimahmed.bv.database.DatabaseManager;
public class BVAssignment extends Application {
private DatabaseManager dbManager;
@Override
public void onCreate() {
// TODO Auto-generated method stub
super.onCreate();
dbManager = D... | 531 | 0.743879 | 0.743879 | 27 | 18.666666 | 16.852299 | 50 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.222222 | false | false | 5 |
8f397f895125dee276b9bf76d4ae93d6245675ab | 19,670,950,284,369 | 800c2edd2d5be8772307cd72b96b5dbf5efbc693 | /Lab_1-api/src/main/java/Model/Employee.java | 3f7bd8bc42e5307f22a956c7a583aff9482e6c67 | [] | no_license | Dave2605/labs | https://github.com/Dave2605/labs | 89503aab79c910151288075fef86d02d6778111f | 85d4f7d6de78e4d9d7efbcae7d6cacc53530c03c | refs/heads/master | 2020-06-11T15:10:57.432000 | 2016-12-05T16:44:02 | 2016-12-05T16:44:02 | 75,642,979 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package main.java.Model;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Employee implements BaseObject, Serializable
{
private int id;
private String name;
private String lastName;
private String ... | UTF-8 | Java | 2,395 | java | Employee.java | Java | [
{
"context": "nt id;\n private String name;\n private String lastName;\n private String department;\n private Strin",
"end": 299,
"score": 0.5294386148452759,
"start": 291,
"tag": "NAME",
"value": "lastName"
},
{
"context": "}\n\n public Employee(int id, String name, S... | null | [] | package main.java.Model;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Employee implements BaseObject, Serializable
{
private int id;
private String name;
private String lastName;
private String ... | 2,395 | 0.594572 | 0.594154 | 117 | 19.470085 | 22.308855 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.393162 | false | false | 5 |
8af68481378343b231da84a2294631b86caa83ef | 34,548,716,949,448 | 33b792b007e972357a313784d04ecd37cae66070 | /Automated Dictation Evaluation I/Main.java | b459a159c66cca499996298c988ec05c3090ab94 | [] | no_license | faraz66/Playground | https://github.com/faraz66/Playground | b8d1344e338ddb2110a928a23b54f098a5adbe67 | 0c7e69c8d7b93ee31b92c7a1ce7d18a5cfb93c36 | refs/heads/master | 2022-06-13T17:01:13.562000 | 2020-05-01T09:22:07 | 2020-05-01T09:22:07 | 257,926,808 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | //Example reads in two strings (w/out spaces) and compares them for equality
#include <cstring>
#include <iostream>
using namespace std;
int main()
{
char *str1=new char[20];
char *str2=new char[20];
cin>>str1;
cin>>str2;
if(!strcmp(str1, str2))
cout<<"It is correct";
else
cout... | UTF-8 | Java | 338 | java | Main.java | Java | [] | null | [] | //Example reads in two strings (w/out spaces) and compares them for equality
#include <cstring>
#include <iostream>
using namespace std;
int main()
{
char *str1=new char[20];
char *str2=new char[20];
cin>>str1;
cin>>str2;
if(!strcmp(str1, str2))
cout<<"It is correct";
else
cout... | 338 | 0.618343 | 0.588757 | 15 | 21.6 | 17.133982 | 76 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.533333 | false | false | 5 |
88994ac20b4930b8b506897cd19b94257d195490 | 33,517,924,847,806 | eef72bef9ff64e5f64d2a39675c469dda74e6ce2 | /development-tools/src/main/java/org/kuali/rice/devtools/jpa/eclipselink/conv/parser/helper/resolver/EntityResolver.java | 59abcbeb1bc1dc504c414369a9f48ce73249cf05 | [
"Artistic-1.0",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"EPL-1.0",
"CPL-1.0",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"LGPL-3.0-only",
"ECL-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-jdom",
"LicenseRef-scancode-freemarker",
"LicenseRef-scancode-unk... | permissive | kuali/rice | https://github.com/kuali/rice | 9f9e9fd72cbac859fdae838e6d525563e21f8517 | 16a2684c6123fb5832ac8c1878afc5996cff6f01 | refs/heads/master | 2023-08-11T11:40:43.036000 | 2017-05-17T23:56:47 | 2017-05-17T23:56:47 | 25,359,676 | 18 | 66 | ECL-2.0 | false | 2018-03-03T06:29:38 | 2014-10-17T13:35:55 | 2017-12-04T04:05:01 | 2018-03-03T06:29:37 | 289,167 | 19 | 36 | 0 | Java | false | null | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... | UTF-8 | Java | 3,290 | java | EntityResolver.java | Java | [] | null | [] | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... | 3,290 | 0.740122 | 0.736778 | 83 | 38.638554 | 31.542505 | 116 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.542169 | false | false | 5 |
d22ec6616f48e7061c36b03b034572e13eebd606 | 33,251,636,870,312 | d7111207cd37452f5c6eb6a4d4405fd051a8e439 | /hitBeans/src/main/java/com/gdsecurity/hitbeans/localimageloader/LocalImageSelectView.java | 2ad5e8b0d137d3135a50c9664ac28b367d0320cb | [] | no_license | liuguian1313/HitBeans | https://github.com/liuguian1313/HitBeans | 3cca16b14c2d065f72bc611f9cb027e4b8c35cb7 | c9e87d2f7ad388f7dfd2795321312c0d4211e705 | refs/heads/master | 2020-08-28T21:48:56.881000 | 2019-10-27T15:35:58 | 2019-10-27T15:35:58 | 217,830,426 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.gdsecurity.hitbeans.localimageloader;
import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.gdsecurity.hitbeans.R;
/**
* ... | UTF-8 | Java | 1,350 | java | LocalImageSelectView.java | Java | [
{
"context": "y.hitbeans.R;\n\n/**\n * \n * 选图界面的选中控件\n * \n * @author jamesjaw\n * \n */\npublic class LocalImageSelectView extends",
"end": 357,
"score": 0.9993382692337036,
"start": 349,
"tag": "USERNAME",
"value": "jamesjaw"
}
] | null | [] | package com.gdsecurity.hitbeans.localimageloader;
import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.gdsecurity.hitbeans.R;
/**
* ... | 1,350 | 0.750751 | 0.749249 | 64 | 19.8125 | 19.151432 | 67 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.34375 | false | false | 5 |
fbb0194704553cf68bb79909c9f8aad1fd11120c | 37,271,726,213,383 | 6abc2594b9886a29f2ef6992e64a4a0b7c72de71 | /src/main/java/huebener/gameday/logic/team/TeamRankingCalculator.java | 362a0b5967e6ca6b3a7b8fc3fe54773fc78beb71 | [] | no_license | huebener/gameday-rps | https://github.com/huebener/gameday-rps | ce1d633736262e12e1dde875620bbe84e7d1d83f | bd79d2abf7f67d565c3e2235351fe487f6b79ce1 | refs/heads/master | 2016-09-14T14:50:42.440000 | 2016-05-12T09:15:40 | 2016-05-12T09:15:40 | 56,146,379 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package huebener.gameday.logic.team;
import huebener.gameday.logic.filter.game.GameFilter;
import huebener.gameday.logic.filter.game.GameStatusFilter;
import huebener.gameday.logic.filter.game.GameTypeFilter;
import huebener.gameday.object.Game;
import huebener.gameday.object.GameReport;
import huebener.gameday... | UTF-8 | Java | 2,426 | java | TeamRankingCalculator.java | Java | [] | null | [] | package huebener.gameday.logic.team;
import huebener.gameday.logic.filter.game.GameFilter;
import huebener.gameday.logic.filter.game.GameStatusFilter;
import huebener.gameday.logic.filter.game.GameTypeFilter;
import huebener.gameday.object.Game;
import huebener.gameday.object.GameReport;
import huebener.gameday... | 2,426 | 0.729596 | 0.729596 | 85 | 26.541176 | 22.586073 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.835294 | false | false | 5 |
6a97f396b63a60598d56727aed5e2882c44a520c | 37,847,251,828,711 | d73f5ef9c521d80c6b159ef24569c97b8ef32141 | /app/src/main/java/at/project/moc/mocgpstracer/SQLiteExport.java | c31acd2978b1fc55ddac91dee402261750fafa9f | [] | no_license | Yelnya/MOCGPSTracer | https://github.com/Yelnya/MOCGPSTracer | ff8087f9593909026fa092abf61c2bcc51dd3650 | d0dad5f98ac47ec1305fce8b2d32354051ba0b99 | refs/heads/master | 2021-01-21T14:01:43.618000 | 2016-07-25T20:39:12 | 2016-07-25T20:39:12 | 36,179,877 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package at.project.moc.mocgpstracer;
//in dieser Activity nur die AnzeigeListe aus der internen Database
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
impo... | UTF-8 | Java | 4,626 | java | SQLiteExport.java | Java | [] | null | [] | package at.project.moc.mocgpstracer;
//in dieser Activity nur die AnzeigeListe aus der internen Database
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
impo... | 4,626 | 0.59329 | 0.591991 | 132 | 34.007576 | 29.881456 | 111 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.636364 | false | false | 5 |
56aa982faa69415d860a5b437242edb761bc23b0 | 34,205,119,579,785 | 0b3b394221475dbd34c9cea6d4d6d49a619223e3 | /IQIYI/FindThreeSumZero.java | d7ceaf59b5bf6c4cf4fca792d38f7dc1d3c84150 | [] | no_license | 88-Rising/OnlieJudge | https://github.com/88-Rising/OnlieJudge | 97f19927d0917a8914276320ae18f74936af9d6a | 9666c185e7b5a2d60191f436c4ecc8b4aea172a7 | refs/heads/master | 2021-08-07T11:37:17.529000 | 2020-10-10T07:45:42 | 2020-10-10T07:45:42 | 226,144,275 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package IQIYI;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class FindThreeSumZero {
public static void main(String[] args) throws IOException {
BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
S... | UTF-8 | Java | 1,604 | java | FindThreeSumZero.java | Java | [] | null | [] | package IQIYI;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class FindThreeSumZero {
public static void main(String[] args) throws IOException {
BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
S... | 1,604 | 0.45083 | 0.441252 | 51 | 29.705883 | 19.2815 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.588235 | false | false | 5 |
1bba5ec204531102ccc23713538fbddb468de6a3 | 4,561,255,333,535 | 7ec0dd6f65a14eeca4eb6722b0f3c9c880cd7920 | /src/com/message/entity/Message.java | f7da3fe80813e9147e8fbb67c63c95402c86341c | [] | no_license | xiatianlong/message | https://github.com/xiatianlong/message | 0a782180962d9ade6efd18ccbfa70f7e59b54f92 | 2bc883cd999bbb5cc3fd6b0c427359fa2936d75d | refs/heads/master | 2016-09-11T02:04:00.254000 | 2016-07-12T01:24:16 | 2016-07-12T01:24:16 | 56,955,204 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.message.entity;
/**
* 留言
* @author summer
*
*/
public class Message extends BaseEntity{
/** 标题. */
private String title;
/** 内容. */
private String content;
/** 姓名. */
private String image;
/** 状态. 00:删除 11:未删除 */
private String state;
/** 留言者ip. */
private String ip;
/** 是否置顶 0... | UTF-8 | Java | 1,870 | java | Message.java | Java | [
{
"context": "package com.message.entity;\n\n/**\n * 留言\n * @author summer\n *\n */\npublic class Message extends BaseEntity{\n\n",
"end": 56,
"score": 0.999019205570221,
"start": 50,
"tag": "USERNAME",
"value": "summer"
}
] | null | [] | package com.message.entity;
/**
* 留言
* @author summer
*
*/
public class Message extends BaseEntity{
/** 标题. */
private String title;
/** 内容. */
private String content;
/** 姓名. */
private String image;
/** 状态. 00:删除 11:未删除 */
private String state;
/** 留言者ip. */
private String ip;
/** 是否置顶 0... | 1,870 | 0.543373 | 0.537349 | 149 | 10.14094 | 9.997329 | 41 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.067114 | false | false | 5 |
deb637a0752453c8f6c39db71a30c19600519c81 | 7,284,264,576,301 | 062a4d24845eaf5072ad069c170bdfa802aabcfd | /src/test/java/me/d3249/demo/krugervacunas/modelo/CorreoElectronicoTest.java | bdf41e6ee07285b98c05cd3b99998860aa5fe6ce | [] | no_license | d3249/reto | https://github.com/d3249/reto | 94cc478b6c1b72ceaa31c176bb5c23093a07c3bb | 20395091e3ef400b4141985530ab75fcb624921b | refs/heads/master | 2023-07-15T23:47:55.605000 | 2021-08-12T20:27:53 | 2021-08-12T20:27:53 | 394,084,367 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package me.d3249.demo.krugervacunas.modelo;
import me.d3249.demo.krugervacunas.excepcion.ValorInvalidoException;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import static org.junit.jup... | UTF-8 | Java | 1,016 | java | CorreoElectronicoTest.java | Java | [
{
"context": "coTest {\n\n @ParameterizedTest\n @CsvSource({\"falso@fake.com\", \"falso@fake.com.ec\", \"falso@fake.es\"})\n void",
"end": 440,
"score": 0.9998936653137207,
"start": 426,
"tag": "EMAIL",
"value": "falso@fake.com"
},
{
"context": "ameterizedTest\n @CsvSourc... | null | [] | package me.d3249.demo.krugervacunas.modelo;
import me.d3249.demo.krugervacunas.excepcion.ValorInvalidoException;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import static org.junit.jup... | 990 | 0.73622 | 0.728346 | 31 | 31.806452 | 27.98896 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.548387 | false | false | 5 |
e3d83988775dc728f47abfcc81b858ad430fe49e | 16,509,854,290,885 | bb021d366053037056695180d88ba700c6ae65fc | /BOJ/[1874] 스택 수열/h0thaji/Main.java | 89620fc96979de8b507682d6c928102cffa79922 | [] | no_license | tgc03112/SSAFY5thGumi03AlgoStudy | https://github.com/tgc03112/SSAFY5thGumi03AlgoStudy | 610a59809fe513228a134ff5bdf43063b437447c | 85ac08955998c31c408fef6cec31f5fe09a363f9 | refs/heads/main | 2023-07-10T20:02:14.313000 | 2021-07-17T17:55:14 | 2021-07-17T17:55:14 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package BOJ1874_스택수열;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Stack;
public class Main {
static int N;
static int[] arr; // 입력된 수열 담을 배열
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) throws NumberFormat... | UTF-8 | Java | 1,212 | java | Main.java | Java | [] | null | [] | package BOJ1874_스택수열;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Stack;
public class Main {
static int N;
static int[] arr; // 입력된 수열 담을 배열
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) throws NumberFormat... | 1,212 | 0.609346 | 0.600935 | 40 | 25.75 | 23.406998 | 88 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.525 | false | false | 5 |
2f4d55ac50848591811af988da3b1f5c85cb35a5 | 13,615,046,371,900 | 87d7d18fc7a046c0c0746203102f9b90dd59525b | /app/src/main/java/com/wuzp/newspace/view/splash/SplashPresenter.java | 890cd175898f5171f8b7d471216846a98091ac25 | [] | no_license | wzp09tjlg/NewSpace | https://github.com/wzp09tjlg/NewSpace | d138aa4643be7dcfe12dae40c6241dcbb8ed2eff | 02222bb5ea7a7d64fc9ff5cd9d599457341d74d5 | refs/heads/master | 2021-07-11T02:47:57.362000 | 2017-10-01T15:31:56 | 2017-10-01T15:31:56 | 103,836,390 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.wuzp.newspace.view.splash;
import com.wuzp.newspace.base.BasePresenter;
/**
* Created by wuzp on 2017/9/25.
*/
public class SplashPresenter extends BasePresenter<SplashView> {
public SplashPresenter(SplashView view){
super(view);
}
}
| UTF-8 | Java | 268 | java | SplashPresenter.java | Java | [
{
"context": "zp.newspace.base.BasePresenter;\n\n/**\n * Created by wuzp on 2017/9/25.\n */\n\npublic class SplashPresenter e",
"end": 108,
"score": 0.999654233455658,
"start": 104,
"tag": "USERNAME",
"value": "wuzp"
}
] | null | [] | package com.wuzp.newspace.view.splash;
import com.wuzp.newspace.base.BasePresenter;
/**
* Created by wuzp on 2017/9/25.
*/
public class SplashPresenter extends BasePresenter<SplashView> {
public SplashPresenter(SplashView view){
super(view);
}
}
| 268 | 0.716418 | 0.690298 | 14 | 18.142857 | 21.165529 | 64 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | false | false | 5 |
516279022b5f0bbb9a1aee2717003fa28795bdff | 17,248,588,714,904 | 0727dafd215b21219e922cc9a2daabd600cd4731 | /Assignment4/Hangman.java | d825247643afd320230ae0b74c15f0ae9823e6e6 | [] | no_license | idhooom/CS106.assignments | https://github.com/idhooom/CS106.assignments | ee3804a4cd69c8d72edbb37b4ba347357cc0bc7a | 31e7c300b63330049f7491e3fce72d987429edd6 | refs/heads/master | 2021-01-19T08:35:46.595000 | 2013-06-25T16:25:52 | 2013-06-25T16:25:52 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* File: Hangman.java
* ------------------
* This program will eventually play the Hangman game from
* Assignment #4.
*/
import acm.graphics.*;
import acm.program.*;
import acm.util.*;
import java.awt.*;
public class Hangman extends ConsoleProgram {
public void init(){
canvas = new HangmanCanvas();
... | UTF-8 | Java | 2,690 | java | Hangman.java | Java | [
{
"context": " \t\n \tcanvas.reset();\n\n \tprintln(\"Welcome to Hangman!\");\n \n\n \t// Loop for making it 8 trails\n\t\twhi",
"end": 430,
"score": 0.9691660404205322,
"start": 423,
"tag": "NAME",
"value": "Hangman"
}
] | null | [] | /*
* File: Hangman.java
* ------------------
* This program will eventually play the Hangman game from
* Assignment #4.
*/
import acm.graphics.*;
import acm.program.*;
import acm.util.*;
import java.awt.*;
public class Hangman extends ConsoleProgram {
public void init(){
canvas = new HangmanCanvas();
... | 2,690 | 0.575836 | 0.571004 | 115 | 22.391304 | 17.686987 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.130435 | false | false | 5 |
981c291fb39e428a17361db15fbef14df9c3eeaf | 24,515,673,343,609 | 9f9b4599b73ede79bade7ce8e73f9566ea89d086 | /src/company/netease/Solution2.java | e338f311c7e7a0e318298f32b4a68ba5b94ad59b | [] | no_license | bugbug2022/algorithms-3 | https://github.com/bugbug2022/algorithms-3 | 6fc56b81d97721986bbce73b26185343fe049a83 | ff8606ccb3e96160caa97277bbbd2301f0c7f2bf | refs/heads/master | 2023-06-20T10:34:26.118000 | 2020-12-13T03:06:13 | 2020-12-13T03:06:13 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package company.netease;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class Solution2 {
public class ListNode {
public int val;
public ListNode next = null;
public ListNode(int val) {
this.val = val;
}
}
public static ... | UTF-8 | Java | 2,258 | java | Solution2.java | Java | [] | null | [] | package company.netease;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class Solution2 {
public class ListNode {
public int val;
public ListNode next = null;
public ListNode(int val) {
this.val = val;
}
}
public static ... | 2,258 | 0.430357 | 0.426786 | 78 | 27.717949 | 16.770622 | 61 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | false | false | 5 |
99e08ffd37c405a54d8b658db7f5c6bc2ea3364d | 11,536,282,165,292 | d7dd88823655437b3ffbf3eb8b3a789cd87bc503 | /src/main/java/org/reactome/web/diagram/search/handlers/AutoCompleteRequestedHandler.java | 99e5ebf21bc27f7a33ed91e03f6c3c813252f1c7 | [] | no_license | reactome-pwp/diagram | https://github.com/reactome-pwp/diagram | fcfc9cbae6d6ace27e52d5714e0fc75e40570cad | 55419a20d5bb4d5f7dbcbd0e253b20cb086a2895 | refs/heads/master | 2023-06-23T11:34:38.438000 | 2023-06-13T16:34:45 | 2023-06-13T16:34:45 | 39,070,905 | 5 | 6 | null | false | 2021-06-01T18:38:10 | 2015-07-14T11:27:19 | 2021-04-09T14:18:09 | 2021-06-01T18:38:10 | 4,442 | 2 | 7 | 1 | Java | false | false | package org.reactome.web.diagram.search.handlers;
import com.google.gwt.event.shared.EventHandler;
import org.reactome.web.diagram.search.events.AutoCompleteRequestedEvent;
/**
* @author Antonio Fabregat <fabregat@ebi.ac.uk>
*/
public interface AutoCompleteRequestedHandler extends EventHandler {
void onAutoComp... | UTF-8 | Java | 371 | java | AutoCompleteRequestedHandler.java | Java | [
{
"context": "events.AutoCompleteRequestedEvent;\n\n/**\n * @author Antonio Fabregat <fabregat@ebi.ac.uk>\n */\npublic interface AutoCom",
"end": 206,
"score": 0.999882161617279,
"start": 190,
"tag": "NAME",
"value": "Antonio Fabregat"
},
{
"context": "RequestedEvent;\n\n/**\n * @aut... | null | [] | package org.reactome.web.diagram.search.handlers;
import com.google.gwt.event.shared.EventHandler;
import org.reactome.web.diagram.search.events.AutoCompleteRequestedEvent;
/**
* @author <NAME> <<EMAIL>>
*/
public interface AutoCompleteRequestedHandler extends EventHandler {
void onAutoCompleteRequested(AutoCom... | 350 | 0.819407 | 0.819407 | 11 | 32.727272 | 29.677328 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | false | false | 5 |
94c82da6ba9e20c2bda7ac757a5231eecb3e4576 | 18,648,748,012,159 | b35585a92224fc0512a40a49553f43dc9494dd82 | /Game.java | a33fdc3a248e571f410f8fffa74c7eb32bc6b854 | [] | no_license | ze1li606a547/t1 | https://github.com/ze1li606a547/t1 | f4c44747378c051b76b0f2360088e7f15c2b0a26 | cd364ad5bfeb638846a316cbce20f9f2119172fd | refs/heads/master | 2021-01-14T21:51:09.198000 | 2020-03-05T15:28:58 | 2020-03-05T15:28:58 | 242,769,463 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.java.se.TicTac;
public class Game {
public static void main(String[] args) {
Board myGame = new Board();
int count = 1;
myGame.display();
while (myGame.act() && count<10) {
if (count % 2 == 0){
myGame.markPlayer('O');
}el... | UTF-8 | Java | 606 | java | Game.java | Java | [] | null | [] | package com.java.se.TicTac;
public class Game {
public static void main(String[] args) {
Board myGame = new Board();
int count = 1;
myGame.display();
while (myGame.act() && count<10) {
if (count % 2 == 0){
myGame.markPlayer('O');
}el... | 606 | 0.412541 | 0.40099 | 23 | 24.347826 | 13.33713 | 46 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.478261 | false | false | 5 |
706f376f32586f518b8e470874a835f080593f4f | 1,477,468,775,468 | f355e91a15ce8630c2e847ae4cfd05ea5f70cc0d | /Subset.java | fffbe969db8087a41b68bf2788ff9b44479aad73 | [
"Apache-2.0"
] | permissive | andrewlxia/practice | https://github.com/andrewlxia/practice | 21e2ecb778470c825312ee92ddb7c7eedc47bab8 | 7b8f78884225134ea1d2b62d803477dba2f181bb | refs/heads/master | 2016-09-06T07:09:00.228000 | 2014-07-07T00:03:54 | 2014-07-07T00:03:54 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class Solution {
public List<List<Integer>> subsets(int[] S) {
List<List<Integer>> all_subsets = new ArrayList<List<Integer>> ();
if(S.length == 0) {
all_subsets.add(new ArrayList<Integer> ());
}
for (int i=0; i<(int)Math.pow(2.0, S.length); i++) {
all_... | UTF-8 | Java | 1,528 | java | Subset.java | Java | [] | null | [] | public class Solution {
public List<List<Integer>> subsets(int[] S) {
List<List<Integer>> all_subsets = new ArrayList<List<Integer>> ();
if(S.length == 0) {
all_subsets.add(new ArrayList<Integer> ());
}
for (int i=0; i<(int)Math.pow(2.0, S.length); i++) {
all_... | 1,528 | 0.507199 | 0.497382 | 54 | 27.296297 | 23.290937 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.722222 | false | false | 5 |
f25ee7bece86c4477670f718ea976a2ca5dc6c39 | 20,976,620,282,269 | 6075818d5900da08292bb6fa9aca51f8c1644582 | /src/main/java/com/example/lab3/model/SchoolTicket.java | ea4c3f9ce4b5756fab4779c617c394760aab2d28 | [] | no_license | Vlad6501/labsKPI | https://github.com/Vlad6501/labsKPI | 80a0296132b598145e4666a06b543f031e775d89 | e7a7406b0266523829af47643b3053e75e4a21e4 | refs/heads/master | 2021-08-07T21:37:13.291000 | 2019-12-11T09:42:47 | 2019-12-11T09:42:47 | 227,329,344 | 0 | 0 | null | false | 2020-10-13T18:08:35 | 2019-12-11T09:42:25 | 2019-12-11T09:43:00 | 2020-10-13T18:08:34 | 23 | 0 | 0 | 1 | Java | false | false | package com.example.lab3.model;
import java.util.Date;
import static com.example.lab3.generator.IdGenerator.generateUniqueId;
public class SchoolTicket extends Ticket{
private Date expirationDate;
private int number;
public SchoolTicket() {
this.ID = generateUniqueId();
}
public Date get... | UTF-8 | Java | 860 | java | SchoolTicket.java | Java | [] | null | [] | package com.example.lab3.model;
import java.util.Date;
import static com.example.lab3.generator.IdGenerator.generateUniqueId;
public class SchoolTicket extends Ticket{
private Date expirationDate;
private int number;
public SchoolTicket() {
this.ID = generateUniqueId();
}
public Date get... | 860 | 0.595349 | 0.593023 | 38 | 21.631578 | 18.547834 | 70 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.342105 | false | false | 5 |
58fd6c9ce777efbc126fd0bfa88f89ab8eda4824 | 3,796,751,108,881 | b61031aec65ad1d46b5de3ffa4fc370ef1b8d2d4 | /webapps/Copy of orb/WEB-INF/unix/UnixSar.java | a1b5e0bfb7e730fce3e88aa19c24fc27ccd7191e | [
"Apache-1.1",
"Apache-2.0"
] | permissive | chialin668/orb | https://github.com/chialin668/orb | e49b1bedbf6433451f44a483e2fda2358ac4ae56 | 8a3d2420f432a8d734969cccd503a66b2b8ff3fe | refs/heads/master | 2020-05-18T20:16:42.357000 | 2014-03-23T19:20:07 | 2014-03-23T19:20:07 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.orb.unix;
import java.util.*;
import com.orb.sys.*;
public class UnixSar extends Thread{
private String CLASSNAME = this.getClass().getName();
private UnixSharedData usd = new UnixSharedData();
private TelnetClient tc;
private Vector colVect = new Vector();
private static Hashtable statTab = new Has... | UTF-8 | Java | 7,303 | java | UnixSar.java | Java | [
{
"context": "\n this.host = host;\n this.username = username;\n this.password = password;\n this.o",
"end": 853,
"score": 0.9994837045669556,
"start": 845,
"tag": "USERNAME",
"value": "username"
},
{
"context": " this.username = username;\n this.pa... | null | [] | package com.orb.unix;
import java.util.*;
import com.orb.sys.*;
public class UnixSar extends Thread{
private String CLASSNAME = this.getClass().getName();
private UnixSharedData usd = new UnixSharedData();
private TelnetClient tc;
private Vector colVect = new Vector();
private static Hashtable statTab = new Has... | 7,305 | 0.583048 | 0.574148 | 323 | 21.609907 | 20.045679 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.913313 | false | false | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.