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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
519f7d53c4985c2134a8b91240d35b2e551be625 | 24,979,529,805,048 | bf9ebeab417539930d6760317d3373b6b5f664d2 | /app/src/main/java/com/field/datamatics/apimodels/AppoinmentResponseBody.java | d046cc1d62974673261db6175b7214ddbf943041 | [] | no_license | ItsMeAnoop/FDM | https://github.com/ItsMeAnoop/FDM | e144715beb4e94e5433f71a2a83372a0055451ca | a51cacdd51c07161e95d209273e91f55097a556b | refs/heads/master | 2021-12-13T23:56:01.984000 | 2021-12-05T05:08:07 | 2021-12-05T05:08:07 | 62,947,917 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.field.datamatics.apimodels;
/**
* Created by anoop on 28/10/15.
*/
public class AppoinmentResponseBody
{
private String customerid;
private String routplanno;
private String Clientno;
private String remarks;
private String appdate;
public String getCustomerid ()
{
... | UTF-8 | Java | 1,320 | java | AppoinmentResponseBody.java | Java | [
{
"context": "com.field.datamatics.apimodels;\n\n/**\n * Created by anoop on 28/10/15.\n */\npublic class AppoinmentResponseB",
"end": 64,
"score": 0.9996203184127808,
"start": 59,
"tag": "USERNAME",
"value": "anoop"
}
] | null | [] | package com.field.datamatics.apimodels;
/**
* Created by anoop on 28/10/15.
*/
public class AppoinmentResponseBody
{
private String customerid;
private String routplanno;
private String Clientno;
private String remarks;
private String appdate;
public String getCustomerid ()
{
... | 1,320 | 0.602273 | 0.597727 | 73 | 17.068493 | 22.584593 | 157 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.287671 | false | false | 8 |
01b1a1beff40ffa8397b317ddb1a4834e7caa90c | 24,979,529,803,579 | dbe3172623ad433a9246fe2db164bcafb77bbc09 | /app/src/main/java/com/example/mauricio/twoweekproject6/GalleryActivity.java | 7d130f6e3483cdc0a1693a4901e3f72f9ad1141a | [] | no_license | mvh5/CourseDescriptions | https://github.com/mvh5/CourseDescriptions | c80489a4b0114b614df53dfc3b3027feee64d0e7 | 39d6efa707807cb7abc4865d428e206bce04741d | refs/heads/master | 2020-03-27T22:39:48.632000 | 2018-09-03T21:21:11 | 2018-09-03T21:21:11 | 147,248,625 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.mauricio.twoweekproject6;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import androi... | UTF-8 | Java | 2,190 | java | GalleryActivity.java | Java | [
{
"context": "package com.example.mauricio.twoweekproject6;\n\nimport android.app.Activity;\nim",
"end": 28,
"score": 0.9525471329689026,
"start": 20,
"tag": "USERNAME",
"value": "mauricio"
},
{
"context": "w;\nimport android.widget.Toast;\n\n/**\n * Created by Mauricio on 8/15/18.\n... | null | [] | package com.example.mauricio.twoweekproject6;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import androi... | 2,190 | 0.676712 | 0.668037 | 70 | 30.285715 | 23.350218 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.671429 | false | false | 8 |
ba816d71e6fd6f893e2df4f684711e8824934a08 | 14,516,989,466,037 | 82bda3ed7dfe2ca722e90680fd396935c2b7a49d | /app-meipai/src/main/java/e/c/d/m/e/d/h.java | 2ff142cf2e0ec2c1978cd7067c40a82f08321dcd | [] | no_license | cvdnn/PanoramaApp | https://github.com/cvdnn/PanoramaApp | 86f8cf36d285af08ba15fb32348423af7f0b7465 | dd6bbe0987a46f0b4cfb90697b38f37f5ad47cfc | refs/heads/master | 2023-03-03T11:15:40.350000 | 2021-01-29T09:14:06 | 2021-01-29T09:14:06 | 332,968,433 | 1 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package e.c.d.m.e.d;
import e.c.d.m.a.e;
import java.io.File;
/* compiled from: SpinPreviewContract */
public interface h extends e<g> {
void a(File[] fileArr);
void b(String str, String str2);
void c(String str);
void j(boolean z);
}
| UTF-8 | Java | 256 | java | h.java | Java | [] | null | [] | package e.c.d.m.e.d;
import e.c.d.m.a.e;
import java.io.File;
/* compiled from: SpinPreviewContract */
public interface h extends e<g> {
void a(File[] fileArr);
void b(String str, String str2);
void c(String str);
void j(boolean z);
}
| 256 | 0.640625 | 0.636719 | 15 | 16.066668 | 14.181992 | 40 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.533333 | false | false | 8 |
897a712e8a5b27e0a72fc256d1072d46ac90372c | 21,320,217,691,051 | 4ff8594c1eb441cb9c30785a5e16b2d2e95cb6cd | /Boop-client/src/main/Display.java | dc079164b9667f7ccba6023ce4457a111af65805 | [] | no_license | PlankASS/Boop | https://github.com/PlankASS/Boop | ce2453e9ab7e4776f627fe2c5b8902fed280da50 | a498605a6026c4931f5aac5ad16bceb7192e48fc | refs/heads/master | 2020-06-18T21:14:52.439000 | 2019-10-19T18:51:52 | 2019-10-19T18:51:52 | 196,450,517 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package main;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JComboBox;
impo... | UTF-8 | Java | 5,680 | java | Display.java | Java | [
{
"context": ".setBounds(500, 200, 150, 50);\r\n\t\tHostIP.addItem(\"127.0.0.1\");\r\n\t\tHostIP.addItem(\"82.16.12.59\");\r\n\t\tHostIP.se",
"end": 4987,
"score": 0.9997330904006958,
"start": 4978,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "\t\tHostIP.addItem(\"127.0... | null | [] | package main;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JComboBox;
impo... | 5,681 | 0.619718 | 0.59243 | 191 | 27.73822 | 26.442955 | 140 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.120419 | false | false | 8 |
2935594b23746e1c441709e328d09771a45c109e | 14,362,370,680,872 | fc9a1a54c9e26bbe8df0b16d080837911a1c0dbc | /weixin/src/com/wt/util/MenuUtil.java | ecc23ff93a7437288629c500e25add3a5537c247 | [] | no_license | wtt40122/WeiXin | https://github.com/wtt40122/WeiXin | febe39f5a36a08acf8e6f4a290ff859c54e901b6 | 6b39b2f33adbec3aca024c5bb2152d1a08ca1e4c | refs/heads/master | 2023-02-15T19:58:02.273000 | 2018-09-19T12:08:31 | 2018-09-19T12:08:31 | 138,586,224 | 0 | 0 | null | false | 2023-09-12T11:08:01 | 2018-06-25T11:32:40 | 2023-09-11T10:50:32 | 2023-09-12T11:07:59 | 7,560 | 4 | 0 | 0 | Java | false | false | package com.wt.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.wt.common.CommonUtil;
import com.wt.po.menu.Button;
import com.wt.po.menu.ClickButton;
import com.wt.po.menu.ComplexButton;
import com.wt.po.menu.Menu;
import com.wt.po.menu.ViewButton;
import net.sf.json.JSONObject;
/**
* @D... | UTF-8 | Java | 3,711 | java | MenuUtil.java | Java | [
{
"context": "ONObject;\n\n/**\n * @Description:自定义菜单工具类\n * @author wt\n * @date 2018年5月31日\n */\npublic class MenuUtil {\n\t",
"end": 353,
"score": 0.9952624440193176,
"start": 351,
"tag": "USERNAME",
"value": "wt"
},
{
"context": "历史今日\");\n\t\tcBtn1.setType(\"click\");\n\t\tcBtn1... | null | [] | package com.wt.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.wt.common.CommonUtil;
import com.wt.po.menu.Button;
import com.wt.po.menu.ClickButton;
import com.wt.po.menu.ComplexButton;
import com.wt.po.menu.Menu;
import com.wt.po.menu.ViewButton;
import net.sf.json.JSONObject;
/**
* @D... | 3,711 | 0.697635 | 0.680251 | 127 | 26.629921 | 23.04969 | 95 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.244094 | false | false | 8 |
2317ece4da8586b7156b2fb483f7f161888a61ad | 17,317,308,153,443 | 04f43f08dd8530a534ba5b1642ed21498a8f5ea8 | /QuestProject/src/MapScanner.java | 66cca544cb459cba65a1e1d79a1314f49ad710ce | [] | no_license | archanaaniyan1341/Test | https://github.com/archanaaniyan1341/Test | 84fde7109b3bd99e6f70ce3551045f382abc2bc4 | db01ba16e86262c5c9c816045327777326b5ad5f | refs/heads/master | 2023-09-01T18:22:56.856000 | 2021-09-22T14:45:14 | 2021-09-22T14:45:14 | 328,874,629 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.HashMap;
import java.util.Scanner;
import java.io.*;
public class MapScanner{
public static void main(String[] args) throws IOException{
HashMap studentRecord = new HashMap();
String name;
String time;
Scanner... | UTF-8 | Java | 1,682 | java | MapScanner.java | Java | [] | null | [] | import java.util.HashMap;
import java.util.Scanner;
import java.io.*;
public class MapScanner{
public static void main(String[] args) throws IOException{
HashMap studentRecord = new HashMap();
String name;
String time;
Scanner... | 1,682 | 0.425089 | 0.4239 | 44 | 36.18182 | 21.596794 | 76 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.704545 | false | false | 8 |
0a53bb8cc74b09c58b6453d0a627cc02785942a4 | 3,049,426,796,572 | 447520f40e82a060368a0802a391697bc00be96f | /apks/malware/app79/source/com/hzpz/pay/jsoup/parser/TokenQueue.java | 14095bf590de070c717f71e9912c8adc4a35d5b2 | [
"Apache-2.0"
] | permissive | iantal/AndroidPermissions | https://github.com/iantal/AndroidPermissions | 7f3343a9c29d82dbcd4ecd98b3a50ddf8d179465 | d623b732734243590b5f004d167e542e2e2ae249 | refs/heads/master | 2023-07-19T01:29:26.689000 | 2019-09-30T19:01:42 | 2019-09-30T19:01:42 | 107,239,248 | 0 | 0 | Apache-2.0 | false | 2023-07-16T07:41:38 | 2017-10-17T08:22:57 | 2019-09-30T19:01:44 | 2023-07-16T07:41:38 | 1,616,319 | 0 | 0 | 1 | null | false | false | package com.hzpz.pay.jsoup.parser;
import com.hzpz.pay.jsoup.helper.StringUtil;
import com.hzpz.pay.jsoup.helper.Validate;
public class TokenQueue
{
private String a;
private int b = 0;
public TokenQueue(String paramString)
{
Validate.a(paramString);
this.a = paramString;
}
public static Str... | UTF-8 | Java | 5,110 | java | TokenQueue.java | Java | [] | null | [] | package com.hzpz.pay.jsoup.parser;
import com.hzpz.pay.jsoup.helper.StringUtil;
import com.hzpz.pay.jsoup.helper.Validate;
public class TokenQueue
{
private String a;
private int b = 0;
public TokenQueue(String paramString)
{
Validate.a(paramString);
this.a = paramString;
}
public static Str... | 5,110 | 0.476517 | 0.461644 | 283 | 17.056538 | 15.726134 | 84 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.459364 | false | false | 8 |
35efdb35ebace10be5c519d94054bdb0b783f0fb | 26,018,911,895,891 | c4e6eca253e8de2944231767361f3c341607d3ce | /.svn/pristine/35/35efdb35ebace10be5c519d94054bdb0b783f0fb.svn-base | 12913dc7f9521d8033383ca715db0eba3e60d3b9 | [] | no_license | jordengerovac/virtual-unix-machine | https://github.com/jordengerovac/virtual-unix-machine | f916d1e9595e6748fd0817789afeb33a6d5d2757 | 709e6c9830b7c682f40fbc70647193d1ab565325 | refs/heads/master | 2021-05-02T18:28:22.765000 | 2021-03-06T21:45:28 | 2021-03-06T21:45:28 | 120,664,121 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package test;
import static org.junit.Assert.*;
import javax.swing.tree.DefaultMutableTreeNode;
import org.junit.Test;
public class CommandTest {
@SuppressWarnings("deprecation")
@Test
public void testPathToArray() {
Command test = new Command();
String[] array;
// path will NEVER start from root... | UTF-8 | Java | 2,206 | 35efdb35ebace10be5c519d94054bdb0b783f0fb.svn-base | Java | [] | null | [] | package test;
import static org.junit.Assert.*;
import javax.swing.tree.DefaultMutableTreeNode;
import org.junit.Test;
public class CommandTest {
@SuppressWarnings("deprecation")
@Test
public void testPathToArray() {
Command test = new Command();
String[] array;
// path will NEVER start from root... | 2,206 | 0.63146 | 0.63146 | 82 | 25.902439 | 17.499554 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.658537 | false | false | 8 | |
6ad3574587dbc80ba4db9281d58e06307d8ca9d5 | 2,319,282,375,745 | cb7df8f66ab8e126fa568718fc9f2f208f4bfaaf | /acceptance-tests/src/main/java/io/blueocean/ath/pages/blue/PullRequestsPage.java | 6300fc275469a6befb265734c4ac9f8fcaf06cc3 | [
"MIT"
] | permissive | jenkinsci/blueocean-plugin | https://github.com/jenkinsci/blueocean-plugin | ef2da70d47e966b93497c206cba16d63a6e26907 | cffed37074f03ad3be4422d372cb0bb5db5d6f65 | refs/heads/master | 2023-09-01T08:13:23.781000 | 2023-08-30T05:12:43 | 2023-08-30T05:12:43 | 50,250,915 | 3,088 | 723 | MIT | false | 2023-09-12T21:05:01 | 2016-01-23T18:02:45 | 2023-09-12T20:49:13 | 2023-09-12T21:05:00 | 31,398 | 2,858 | 542 | 43 | Java | false | false | package io.blueocean.ath.pages.blue;
import com.google.inject.assistedinject.Assisted;
import com.google.inject.assistedinject.AssistedInject;
import io.blueocean.ath.WaitUtil;
import io.blueocean.ath.WebDriverMixin;
import io.blueocean.ath.factory.ActivityPageFactory;
import io.blueocean.ath.factory.RunDetailsPipelin... | UTF-8 | Java | 4,177 | java | PullRequestsPage.java | Java | [] | null | [] | package io.blueocean.ath.pages.blue;
import com.google.inject.assistedinject.Assisted;
import com.google.inject.assistedinject.AssistedInject;
import io.blueocean.ath.WaitUtil;
import io.blueocean.ath.WebDriverMixin;
import io.blueocean.ath.factory.ActivityPageFactory;
import io.blueocean.ath.factory.RunDetailsPipelin... | 4,177 | 0.683026 | 0.68135 | 132 | 30.64394 | 27.14192 | 124 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.439394 | false | false | 8 |
76f2d9828b4b76a9e957544d9a42cf3a0d582d36 | 3,367,254,390,370 | 0f7f01ce49f25243b42288a095671d796b04ee78 | /wp-android/src/org/multiversewriters/android/ui/prefs/AboutActivity.java | c8af5c3fd0dce1f9bc2d7683669d63fda7726725 | [
"MIT"
] | permissive | themultiverseproject/org.multiversewriters.android | https://github.com/themultiverseproject/org.multiversewriters.android | 4f4ad0a4832a17a7127f44e717e232162d7e5ec6 | a4c0540ed96f78304a1022ea00fa2b0b55ab4c71 | refs/heads/master | 2015-08-11T05:55:19.305000 | 2014-04-14T23:20:02 | 2014-04-14T23:20:02 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.multiversewriters.android.ui.prefs;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import org.multiversewriters.a... | UTF-8 | Java | 2,057 | java | AboutActivity.java | Java | [] | null | [] | package org.multiversewriters.android.ui.prefs;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import org.multiversewriters.a... | 2,057 | 0.669421 | 0.669421 | 61 | 32.72131 | 24.759916 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.57377 | false | false | 8 |
0eb72f932abbf18140c50ff9246338a0a7b01f5a | 4,784,593,587,034 | 6f5cd3b2463487f3ff30cbee4941e2ce8e5396eb | /src/permeagility/plus/webgl/ShaderBuilder.java | 913b826b211934eaf60517f8cd0b60e813225d03 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | permissive | PermeAgility/permeagility-core | https://github.com/PermeAgility/permeagility-core | 5388f241fee24bbca0a726f39124c49a946f8157 | 2d64c93a14873f8947a9b20100a80cb8824e9aa0 | refs/heads/master | 2021-06-21T12:53:45.512000 | 2021-03-11T01:17:02 | 2021-03-11T01:17:02 | 26,693,682 | 3 | 2 | NOASSERTION | false | 2021-03-11T01:17:03 | 2014-11-15T20:57:34 | 2016-11-08T01:10:29 | 2021-03-11T01:17:02 | 7,359 | 2 | 2 | 0 | Java | false | false | /*
* Copyright 2015 PermeAgility Incorporated.
*
* 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 ... | UTF-8 | Java | 15,085 | java | ShaderBuilder.java | Java | [
{
"context": "ages using webgl and twgl.js [optional]\n * @author glenn\n */\npublic class ShaderBuilder extends Table {\n\n ",
"end": 1052,
"score": 0.9960141181945801,
"start": 1047,
"tag": "USERNAME",
"value": "glenn"
}
] | null | [] | /*
* Copyright 2015 PermeAgility Incorporated.
*
* 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 ... | 15,085 | 0.560557 | 0.555784 | 258 | 57.468994 | 48.234177 | 243 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.170543 | false | false | 8 |
a16e9a3750016fbb9dd85606d45db44d05f7b1f0 | 38,268,158,637,967 | 1d5af05b5d3d16e7b67f2e5227af9b730468e0e4 | /src/main/java/br/com/taxajurosservice/api/handler/TaxaJurosServiceException.java | 344f190d135ed62623949b7f2491feb533f10fe3 | [] | no_license | ibrazil7/taxa-juros-service | https://github.com/ibrazil7/taxa-juros-service | ec84ec124196a8b83e24c5b7e0641eed28c280af | b5d684f87d79fc678db448dd3d6300cb474b555c | refs/heads/master | 2020-05-15T22:58:30.099000 | 2019-04-21T19:55:03 | 2019-04-21T19:55:03 | 182,539,965 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package br.com.taxajurosservice.api.handler;
/**
* @author italo
*
*/
public class TaxaJurosServiceException extends Exception {
private static final long serialVersionUID = -2986775985755027286L;
public TaxaJurosServiceException() {
}
public TaxaJurosServiceException(String message, Throwable cause) {
sup... | UTF-8 | Java | 493 | java | TaxaJurosServiceException.java | Java | [
{
"context": ".com.taxajurosservice.api.handler;\n\n/**\n * @author italo\n *\n */\npublic class TaxaJurosServiceException ext",
"end": 66,
"score": 0.9965279698371887,
"start": 61,
"tag": "USERNAME",
"value": "italo"
}
] | null | [] | package br.com.taxajurosservice.api.handler;
/**
* @author italo
*
*/
public class TaxaJurosServiceException extends Exception {
private static final long serialVersionUID = -2986775985755027286L;
public TaxaJurosServiceException() {
}
public TaxaJurosServiceException(String message, Throwable cause) {
sup... | 493 | 0.762677 | 0.724138 | 26 | 17.961538 | 23.385532 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.846154 | false | false | 8 |
efd9046c25103f0046c8afd09aca7b11aa06d321 | 35,940,286,382,475 | 868839e6e7e4552220dddbcd43447fb1184d7f3c | /http/src/main/java/org/zyq/http/entity/Config.java | 6184715c3ec3f840e401d7ffa776fc76966e7eae | [] | no_license | iready/utils | https://github.com/iready/utils | e434ca584f7df03b5316d515ec9660f12fcfe80e | 2347ff3bec4e2ba095ba8d73cbe10b55ac252568 | refs/heads/master | 2020-12-12T02:49:29.341000 | 2016-10-24T02:51:18 | 2016-10-24T02:51:18 | 53,189,078 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.zyq.http.entity;
import org.apache.http.Header;
import org.apache.http.message.BasicHeader;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
public class Config {
private String defaultEncoding = "UTF-8";
private HttpContext httpContext = new BasicHtt... | UTF-8 | Java | 1,454 | java | Config.java | Java | [] | null | [] | package org.zyq.http.entity;
import org.apache.http.Header;
import org.apache.http.message.BasicHeader;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
public class Config {
private String defaultEncoding = "UTF-8";
private HttpContext httpContext = new BasicHtt... | 1,454 | 0.662311 | 0.656809 | 60 | 23.233334 | 20.892076 | 93 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.433333 | false | false | 8 |
6753592d209d81db202928bb9ef025551363c69c | 36,584,531,470,019 | 3aa2bca1fc573e0254c2bbf961b0c1e3eac4b6bb | /src/main/java/com/vip/yll/service/ShopService.java | 5b7e8ee3e0e8e68905d31921a222fd6e1b2ac2cf | [] | no_license | QIONGXUAN/yll_shop | https://github.com/QIONGXUAN/yll_shop | ae40bdd0e57d7d85813bd5099df11214761ade2d | 80adb7a6ab86e8f112d4c0cf9103ae95605d550c | refs/heads/master | 2022-12-21T00:20:27.817000 | 2019-09-10T00:40:13 | 2019-09-10T00:40:13 | 207,430,391 | 1 | 0 | null | false | 2022-12-16T00:41:33 | 2019-09-10T00:32:34 | 2019-10-25T05:18:12 | 2022-12-16T00:41:29 | 8,194 | 0 | 0 | 6 | CSS | false | false | package com.vip.yll.service;
import com.vip.yll.domain.vo.ShopPropertyVo;
import java.util.List;
public interface ShopService {
public List<ShopPropertyVo> showAllValues(int shopId);
public List<Integer> showNextValues(List<Integer> shopPropertyValueIds);
}
| UTF-8 | Java | 272 | java | ShopService.java | Java | [] | null | [] | package com.vip.yll.service;
import com.vip.yll.domain.vo.ShopPropertyVo;
import java.util.List;
public interface ShopService {
public List<ShopPropertyVo> showAllValues(int shopId);
public List<Integer> showNextValues(List<Integer> shopPropertyValueIds);
}
| 272 | 0.779412 | 0.779412 | 13 | 19.923077 | 24.938267 | 76 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | false | false | 8 |
95d4864605d111ed0b7c13428f5c31c22808d772 | 39,195,871,559,400 | c6769e178b3c998413ddea943d65afbb96d9e68f | /src/main/java/seedu/address/logic/parser/duties/DutyShiftCommandParser.java | 8aa67dee71b4a98fc9df6e8b72a72c60ecb96005 | [
"MIT"
] | permissive | AY1920S1-CS2103T-T09-3/main | https://github.com/AY1920S1-CS2103T-T09-3/main | aea4a71c171a6efb1b849c6201d203de71a2f7b0 | 13809e2b96e548e6edabfc1ebfcc33db435e2fc7 | refs/heads/master | 2022-03-02T15:41:23.927000 | 2019-11-11T15:55:37 | 2019-11-11T15:55:37 | 206,784,225 | 2 | 3 | NOASSERTION | true | 2019-11-11T15:55:38 | 2019-09-06T11:58:30 | 2019-11-11T14:15:37 | 2019-11-11T15:55:37 | 20,098 | 1 | 4 | 8 | Java | false | false | //@@author SakuraBlossom
package seedu.address.logic.parser.duties;
import seedu.address.logic.commands.duties.DutyShiftCommand;
import seedu.address.logic.parser.Parser;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.events.predicates.EventApprovedPredicate;
import seedu.addre... | UTF-8 | Java | 1,108 | java | DutyShiftCommandParser.java | Java | [
{
"context": "//@@author SakuraBlossom\npackage seedu.address.logic.parser.duties;\n\nimpor",
"end": 24,
"score": 0.9998089671134949,
"start": 11,
"tag": "NAME",
"value": "SakuraBlossom"
}
] | null | [] | //@@author SakuraBlossom
package seedu.address.logic.parser.duties;
import seedu.address.logic.commands.duties.DutyShiftCommand;
import seedu.address.logic.parser.Parser;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.events.predicates.EventApprovedPredicate;
import seedu.addre... | 1,108 | 0.75722 | 0.75722 | 28 | 38.57143 | 31.461346 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.321429 | false | false | 8 |
80723eb60b348b573b58af785eb232d7d7484fdd | 39,195,871,558,987 | b452113280399e11569aaab69dc74db95af9cadc | /app/src/main/java/com/example/samodejnecestitke/Contact.java | 68afcce9b45364e5b75328165a82a1628cbccf08 | [] | no_license | miloskekovic/SamodejneCestitke | https://github.com/miloskekovic/SamodejneCestitke | bb9e2818e1b71a26c8f4a4073d6ed61f6938716f | 11c9f2b85214d7795f8975501f0ceda55f1570c9 | refs/heads/master | 2021-07-16T12:58:54.905000 | 2017-10-21T01:12:00 | 2017-10-21T01:12:00 | 107,740,159 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.samodejnecestitke;
import java.util.ArrayList;
import java.util.List;
/**
* Created by milos_000 on 17.10.2017..
*/
public class Contact {
//private variables
int id;
String ime_in_priimek;
int dan_rojstva;
int mesec_rojstva;
int leto_rojstva;
int telefonska_stevilk... | UTF-8 | Java | 3,634 | java | Contact.java | Java | [
{
"context": "rayList;\nimport java.util.List;\n\n/**\n * Created by milos_000 on 17.10.2017..\n */\n\npublic class Contact {\n\n ",
"end": 119,
"score": 0.9996757507324219,
"start": 110,
"tag": "USERNAME",
"value": "milos_000"
}
] | null | [] | package com.example.samodejnecestitke;
import java.util.ArrayList;
import java.util.List;
/**
* Created by milos_000 on 17.10.2017..
*/
public class Contact {
//private variables
int id;
String ime_in_priimek;
int dan_rojstva;
int mesec_rojstva;
int leto_rojstva;
int telefonska_stevilk... | 3,634 | 0.632086 | 0.628784 | 150 | 23.226667 | 23.106462 | 191 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.366667 | false | false | 8 |
68b4043c33e01ce91e855d5048bbdd8c87b1cf51 | 39,539,468,953,511 | b6c57eaa0597dff6377ca65cccbededa7b58bbc9 | /src/AnimeNinja/Scraper.java | ebb7b43f544e78b517c182ab810c97c18dc22e0a | [] | no_license | khalidwaleed0/Anime_Ninja | https://github.com/khalidwaleed0/Anime_Ninja | b41b32ac9edad0c8ac7a631189ab1a483825ca8d | 838dc065cab526761c1ac488c39fa25fddc26335 | refs/heads/master | 2022-11-10T19:51:23.641000 | 2022-10-27T11:23:47 | 2022-10-27T11:23:47 | 248,883,646 | 6 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package AnimeNinja;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JOptionPane;
import org.openqa.selenium.By;
import org.openqa.s... | UTF-8 | Java | 7,964 | java | Scraper.java | Java | [] | null | [] | package AnimeNinja;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JOptionPane;
import org.openqa.selenium.By;
import org.openqa.s... | 7,964 | 0.704044 | 0.697283 | 231 | 32.935066 | 33.730537 | 163 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.116883 | false | false | 8 |
1e5009b121274323e60f8f51b8a8109d9c6bbfee | 5,918,464,969,743 | 6bcaeb4d0e7e48629404d57e1590c69dd4754498 | /MK-WebApp-Library/src/main/java/by/training/nc/dev5/command/commandimpl/navigation/ToLoginCommand.java | 05adcd131ee247ceddd26b7f64f30e333f3c4f22 | [] | no_license | ATPod/nc-training | https://github.com/ATPod/nc-training | 56a03fa01f96ebaa075f93134485180a069b0407 | 75dffd524be61f2675c0bda2bfacfbbad66c993b | refs/heads/master | 2020-05-23T08:36:57.766000 | 2017-07-11T07:26:37 | 2017-07-11T07:26:37 | 84,756,625 | 1 | 6 | null | false | 2017-03-17T15:17:22 | 2017-03-12T20:52:38 | 2017-03-12T21:09:28 | 2017-03-17T15:17:22 | 33 | 0 | 0 | 0 | Java | null | null | package by.training.nc.dev5.command.commandimpl.navigation;
import by.training.nc.dev5.command.Command;
import by.training.nc.dev5.util.ConstantsUtil;
import javax.servlet.http.HttpServletRequest;
public class ToLoginCommand implements Command {
@Override
public String execute(HttpServletRequest request) {
... | UTF-8 | Java | 369 | java | ToLoginCommand.java | Java | [] | null | [] | package by.training.nc.dev5.command.commandimpl.navigation;
import by.training.nc.dev5.command.Command;
import by.training.nc.dev5.util.ConstantsUtil;
import javax.servlet.http.HttpServletRequest;
public class ToLoginCommand implements Command {
@Override
public String execute(HttpServletRequest request) {
... | 369 | 0.780488 | 0.772358 | 14 | 25.357143 | 23.288891 | 59 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | false | false | 8 |
76f9ccaa091d8780e6bdf6d340d9934d96658ed8 | 29,669,634,136,405 | 5295a64e9dd5795b01fed1e2ec010df5d129b6ec | /src/org/mitre/svmp/protocol/SVMPMagneticFieldEventMessage.java | ace8c7308da010ca2694ca898946f07c7d196683 | [
"Apache-2.0"
] | permissive | dkeppler/android_external_svmp_protocol | https://github.com/dkeppler/android_external_svmp_protocol | c07c8a74322b7ae71cac3d0d247ca87201607b84 | 21fc96c0f88391e40283483ced226071632ffd2d | refs/heads/master | 2021-01-16T18:14:53.562000 | 2013-07-10T17:01:40 | 2013-07-10T17:01:40 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
Copyright 2013 The MITRE Corporation, All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work 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 ... | UTF-8 | Java | 1,773 | java | SVMPMagneticFieldEventMessage.java | Java | [
{
"context": "n that order in the values array.\r\n * \r\n * @author dkeppler\r\n *\r\n */\r\npublic class SVMPMagneticFieldEventMess",
"end": 973,
"score": 0.9996381402015686,
"start": 965,
"tag": "USERNAME",
"value": "dkeppler"
}
] | null | [] | /*
Copyright 2013 The MITRE Corporation, All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work 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 ... | 1,773 | 0.728144 | 0.717992 | 57 | 29.105263 | 30.160788 | 106 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.105263 | false | false | 8 |
9a63f674b16237ab0b6f9039f146d7e284e487ee | 23,072,564,365,000 | f328426e360d6b6f404e30e1bdaf29f1ff6abdbe | /src/main/java/es/minetsii/wetsponge/event/plugin/WSPluginDisableEvent.java | ee8669d95b08c80da522f96f738bf2bfaa4dff83 | [] | no_license | gaelitoelquesito/WetSponge | https://github.com/gaelitoelquesito/WetSponge | 522a94642c451b71a26cd2bc865472bbaeac0b35 | 8725ef45f39bb26444f2b72aa6f262bca15c5554 | refs/heads/master | 2020-12-31T07:55:03.078000 | 2017-05-28T15:10:15 | 2017-05-28T15:10:15 | 86,510,993 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package es.minetsii.wetsponge.event.plugin;
import es.minetsii.wetsponge.event.WSEvent;
import es.minetsii.wetsponge.plugin.WSPlugin;
public class WSPluginDisableEvent extends WSEvent {
private WSPlugin plugin;
public WSPluginDisableEvent (WSPlugin plugin) {
this.plugin = plugin;
}
public WSPlugin getPlug... | UTF-8 | Java | 351 | java | WSPluginDisableEvent.java | Java | [] | null | [] | package es.minetsii.wetsponge.event.plugin;
import es.minetsii.wetsponge.event.WSEvent;
import es.minetsii.wetsponge.plugin.WSPlugin;
public class WSPluginDisableEvent extends WSEvent {
private WSPlugin plugin;
public WSPluginDisableEvent (WSPlugin plugin) {
this.plugin = plugin;
}
public WSPlugin getPlug... | 351 | 0.769231 | 0.769231 | 21 | 15.714286 | 19.299995 | 51 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | false | false | 8 |
51ee166cbe5bdba73681faa66942e46a65bcfb41 | 23,656,679,882,498 | 718a46fb5eb93496ca7fe80547eab52c2d7674a4 | /src/main/java/scam/validation/SubCategoryValidator.java | bb41f99150e6236cfbf3078c7f741c50acd30de8 | [] | no_license | ValoGenev/NewsBox-bg | https://github.com/ValoGenev/NewsBox-bg | d549aa268eb3033d134bba8b8a35fe392a969625 | e25c3dc50c83a70be36e4d6bdba5f0e610461539 | refs/heads/master | 2023-08-25T11:17:44.980000 | 2021-10-18T20:05:16 | 2021-10-18T20:05:16 | 418,644,335 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package scam.validation;
import org.apache.commons.lang3.EnumUtils;
import scam.model.Category;
import scam.model.SubCategory;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.util.Set;
public class SubCategoryValidator implements ConstraintValidator<ValidP... | UTF-8 | Java | 677 | java | SubCategoryValidator.java | Java | [] | null | [] | package scam.validation;
import org.apache.commons.lang3.EnumUtils;
import scam.model.Category;
import scam.model.SubCategory;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.util.Set;
public class SubCategoryValidator implements ConstraintValidator<ValidP... | 677 | 0.738552 | 0.737075 | 22 | 29.772728 | 30.485365 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.545455 | false | false | 8 |
5b8bcc329a1ba10301c6e1b5e65815b86ac7b11c | 33,449,205,321,995 | ea8e24092cb6c2453906b70d32227b4f59f71691 | /src/easy/string/ReverseString.java | 6812e0bc6559272d87bd4b9ef14655be3f0f2307 | [] | no_license | wenhanglei/leetcode | https://github.com/wenhanglei/leetcode | 0d5875c142809c0730ab580cd97ce0d45544366b | 7b0f9f72e95fcdd493558c2db00561dcb0a498c2 | refs/heads/master | 2022-07-26T04:55:09.514000 | 2022-06-24T09:40:50 | 2022-06-24T09:40:50 | 123,376,817 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package easy.string;
/**
* Write a function that takes a string as input
* and returns the string reversed.
* @author wenhanglei
*/
public class ReverseString {
/*
* 思路:
*/
public String reverseString(String s) {
//边界检查
if(s == null) return null;
StringBuilder sb = new StringBuilder(s);
r... | UTF-8 | Java | 835 | java | ReverseString.java | Java | [
{
"context": "ut \n * and returns the string reversed.\n * @author wenhanglei\n */\npublic class ReverseString {\n\t/*\n\t * 思路:\n\t */",
"end": 132,
"score": 0.9189488887786865,
"start": 122,
"tag": "USERNAME",
"value": "wenhanglei"
}
] | null | [] | package easy.string;
/**
* Write a function that takes a string as input
* and returns the string reversed.
* @author wenhanglei
*/
public class ReverseString {
/*
* 思路:
*/
public String reverseString(String s) {
//边界检查
if(s == null) return null;
StringBuilder sb = new StringBuilder(s);
r... | 835 | 0.613665 | 0.61118 | 37 | 20.756756 | 16.635042 | 49 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.459459 | false | false | 8 |
6eab633cba3482d9f52c741bbb07771e4acad771 | 32,804,960,252,678 | 112c43d2d5786aaf680744b4ea7d1319ed7ec7ca | /src/main/java/com/yin/crm/shop/controller/small/SmallShopGoodsCategoryController.java | 6e2e4ad4445ccdd9a2ba8eb3f2ab11a3c4c84074 | [] | no_license | xlyinweilong/crm-server | https://github.com/xlyinweilong/crm-server | 90a562c34e2dd989107e0744d8fc5591f4c93e0f | d3750f2a8f7d9449d84b6ec8fc09c382d979768d | refs/heads/master | 2020-06-11T00:30:32.479000 | 2020-06-10T04:05:24 | 2020-06-10T04:05:24 | 193,801,857 | 0 | 0 | null | false | 2020-07-01T18:49:48 | 2019-06-26T00:31:02 | 2020-06-24T01:36:52 | 2020-07-01T18:49:46 | 2,426 | 0 | 0 | 1 | Java | false | false | package com.yin.crm.shop.controller.small;
import com.yin.common.controller.BaseJson;
import com.yin.common.exceptions.MessageException;
import com.yin.crm.dao.ErpGoodsCategory2Dao;
import com.yin.crm.dao.ErpGoodsCategoryDao;
import com.yin.crm.entity.po.ErpGoodsCategory2Po;
import com.yin.crm.entity.po.ErpGoodsCatego... | UTF-8 | Java | 1,594 | java | SmallShopGoodsCategoryController.java | Java | [] | null | [] | package com.yin.crm.shop.controller.small;
import com.yin.common.controller.BaseJson;
import com.yin.common.exceptions.MessageException;
import com.yin.crm.dao.ErpGoodsCategory2Dao;
import com.yin.crm.dao.ErpGoodsCategoryDao;
import com.yin.crm.entity.po.ErpGoodsCategory2Po;
import com.yin.crm.entity.po.ErpGoodsCatego... | 1,594 | 0.77244 | 0.767383 | 46 | 33.391304 | 31.138176 | 140 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | false | false | 8 |
2727d010b43a3d0b837548dd94b383db420a7fc8 | 12,343,736,062,072 | 53dbfb708f7cbdcb01ef93b71a043af76d6e899a | /back/IoTBackend/src/main/java/com/ssafy/IoTBackend/mapper/ChoiceMapper.java | 81bd3950c2e11ea94488dfb0d1afbf27b3f0954f | [
"MIT"
] | permissive | taerok/nongbunae | https://github.com/taerok/nongbunae | 8a516487ece768668e6877a1f5d3e39f757d2272 | a04f019a6ab2ac6107bc3b051126df72ae68139c | refs/heads/master | 2023-01-29T10:20:07.471000 | 2020-11-25T07:49:22 | 2020-11-25T07:49:22 | 315,864,275 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ssafy.IoTBackend.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.ssafy.IoTBackend.model.Choice;
@Repository
@Mapper
public interface ChoiceMapper {
public int insertChoice(Choice choice) throws Exception;
public int stopChoice(String... | UTF-8 | Java | 416 | java | ChoiceMapper.java | Java | [] | null | [] | package com.ssafy.IoTBackend.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.ssafy.IoTBackend.model.Choice;
@Repository
@Mapper
public interface ChoiceMapper {
public int insertChoice(Choice choice) throws Exception;
public int stopChoice(String... | 416 | 0.8125 | 0.8125 | 17 | 23.470589 | 23.537498 | 61 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.764706 | false | false | 8 |
671dd68f81be5a0c1080710692f1668dd3bdba19 | 4,346,506,971,834 | 0ef3622d64aeee7dfb3c8647eaa5015bba220858 | /src/Chapter1/ArrayAndString/Q2.java | eda77079f3bf732c6c1c23db721e048732483d52 | [] | no_license | zfu/PlayAlgo | https://github.com/zfu/PlayAlgo | 1e1b0790a49729e360271636925aefee417008fe | e113e9f5f81205109043eb2d20830b9352eb4c3a | refs/heads/master | 2016-09-06T07:24:36.853000 | 2014-01-27T05:06:10 | 2014-01-27T05:06:10 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package Chapter1.ArrayAndString;
/**
* question 2
* Write code to reverse a C-Style String.
* (C-String means that “abcd” is represented as five characters,
* including the null character.)
* 写代码翻转一个C风格的字符串。(C风格的意思是"abcd"需要用5个字符来表示,包含末尾的 结束字符)
*
* 考虑:
* 字符串是如何存储的,是利用数组存储,还是利用链表来存储?
* 如果字符串是用数组存储,... | GB18030 | Java | 2,173 | java | Q2.java | Java | [] | null | [] | package Chapter1.ArrayAndString;
/**
* question 2
* Write code to reverse a C-Style String.
* (C-String means that “abcd” is represented as five characters,
* including the null character.)
* 写代码翻转一个C风格的字符串。(C风格的意思是"abcd"需要用5个字符来表示,包含末尾的 结束字符)
*
* 考虑:
* 字符串是如何存储的,是利用数组存储,还是利用链表来存储?
* 如果字符串是用数组存储,... | 2,173 | 0.600113 | 0.585448 | 77 | 21.025974 | 19.054245 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.675325 | false | false | 8 |
b9326c3c30a75d21061bc88722b1ac44a552ca0d | 11,914,239,339,277 | e0ee69769ab7b6049b759becbf07471ece07cc63 | /eyun-union-base/src/main/java/com/rainsoft/union/web/sysmanage/model/ParamFilter.java | 91d18b1a1c49718122f40dea7df398420e5abc42 | [] | no_license | joshLV/eyun | https://github.com/joshLV/eyun | 558ec79f24103c57c94625bc8fa9f7c330378699 | dcfd2a9eca8836712a44e12c17d0d2dc077e1544 | refs/heads/master | 2021-05-14T15:10:35.707000 | 2017-09-01T10:47:02 | 2017-09-01T10:47:02 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.rainsoft.union.web.sysmanage.model;
import com.rainsoft.base.common.model.IdEntity;
import com.rainsoft.union.web.pubdata.model.PlaceEnum;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
public class ParamFilter extends IdEntity {
private int placeId;
private String pla... | UTF-8 | Java | 3,780 | java | ParamFilter.java | Java | [
{
"context": "r memberID; //用户id\n\tprivate String memberName; //用户名\n\t//for place Sms recharge\n\tprivate String smsFeeO",
"end": 473,
"score": 0.8013774156570435,
"start": 470,
"tag": "USERNAME",
"value": "用户名"
},
{
"context": "int entityId; //对象主键\n\tprivate String eyunId; //... | null | [] | package com.rainsoft.union.web.sysmanage.model;
import com.rainsoft.base.common.model.IdEntity;
import com.rainsoft.union.web.pubdata.model.PlaceEnum;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
public class ParamFilter extends IdEntity {
private int placeId;
private String pla... | 3,780 | 0.667772 | 0.667219 | 163 | 21.19632 | 18.947735 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.815951 | false | false | 8 |
b1393e91fd826804b9d6d6807961f6126a9a0344 | 11,416,023,133,941 | 6e272ec8d0429d9eba84e8ceb88eff566de4c9cd | /PatronMaestrodetalleOrientacionPantalla/app/src/main/java/com/example/gamer/patronmaestrodetalleorientacionpantalla/fragmentos/ListaPersonajeFragment.java | e1a0d52daf34879939be2518650c797958a856fe | [] | no_license | chirreescate/PatronMaestrpDetalle | https://github.com/chirreescate/PatronMaestrpDetalle | 29b18d2a4b794c53cd4cee5ee8f106301ae26c04 | 56a9830b70271742882edaa23b95256a20eab548 | refs/heads/master | 2020-03-22T22:49:48.718000 | 2018-12-17T06:27:47 | 2018-12-17T06:27:47 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.gamer.patronmaestrodetalleorientacionpantalla.fragmentos;
import android.app.Activity;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Rec... | UTF-8 | Java | 5,365 | java | ListaPersonajeFragment.java | Java | [
{
"context": "s(){\n\n listapersonajes.add(new Personajes(\"Goku\",\"te pega o te le pegas , se convierte en super t",
"end": 4449,
"score": 0.9753469824790955,
"start": 4445,
"tag": "NAME",
"value": "Goku"
},
{
"context": "a\"));\n listapersonajes.add(new Personajes(\"... | null | [] | package com.example.gamer.patronmaestrodetalleorientacionpantalla.fragmentos;
import android.app.Activity;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Rec... | 5,365 | 0.717428 | 0.713141 | 133 | 39.338345 | 44.324654 | 243 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.744361 | false | false | 8 |
e3f15fb54aa942329160aa308c12e5559724ece8 | 26,190,710,620,095 | 56ce6493952e02339090e775e2e286252f609657 | /bf_seller/src/com/dt/bf_seller/main/ShopActivity.java | 5684fc707004fe74d2446611cdef20b29cc85445 | [] | no_license | shunsonglong/BF_Android | https://github.com/shunsonglong/BF_Android | 6244dc8f9e5c07290882c5969bbbe02d3c6cb8bc | 9c3d16f46fc5b2cccabfed03fdc212bc4608d6c5 | refs/heads/master | 2021-01-01T16:30:12.827000 | 2015-05-20T14:16:24 | 2015-05-20T14:16:24 | 34,986,024 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.dt.bf_seller.main;
import com.dt.bf_seller.R;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ListView;
public class ShopActivity extends Activity {
private ListView mListView;
@O... | UTF-8 | Java | 822 | java | ShopActivity.java | Java | [] | null | [] | package com.dt.bf_seller.main;
import com.dt.bf_seller.R;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ListView;
public class ShopActivity extends Activity {
private ListView mListView;
@O... | 822 | 0.779805 | 0.779805 | 33 | 23.90909 | 22.004633 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.363636 | false | false | 9 |
df027d0f300b09d446e9c2d36e710ea3b1868bf6 | 13,417,477,885,272 | 57bde89397505368a9c1dd0bbf5dfe2d881cf939 | /javaee-api/src/main/java/com/intellij/javaee/model/enums/TimeUnitType.java | 065773ed3229ed8432552c253a59c3197e6ffc7d | [
"Apache-2.0"
] | permissive | consulo/consulo-javaee | https://github.com/consulo/consulo-javaee | a8f669e102dff1792e0cc52c8f3f15d14c5c495c | b6c38fccd7cdbc4a2ce79d20fd6b0d5b5c3d7a6b | refs/heads/master | 2021-07-23T06:03:35.101000 | 2021-06-16T14:22:41 | 2021-06-16T14:22:41 | 14,228,572 | 3 | 1 | null | false | 2017-07-15T11:53:12 | 2013-11-08T09:14:15 | 2017-05-28T19:55:41 | 2017-07-15T11:53:11 | 860 | 0 | 0 | 4 | Java | null | null | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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... | UTF-8 | Java | 1,583 | java | TimeUnitType.java | Java | [] | null | [] | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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... | 1,583 | 0.699937 | 0.683512 | 51 | 30.039215 | 25.790985 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.686275 | false | false | 9 |
b5ca3da84b87d42905e44f846193ade06e672960 | 29,480,655,561,675 | 139c2f0477170cd96af2bda7921a2a1dd82b03f0 | /src/main/java/com/jagrosh/vortex/database/managers/StrikeManager.java | 9ab516d63af360c4aa94b9c83f31c33cbdf6eb82 | [
"Apache-2.0"
] | permissive | Rxflex/vortmod | https://github.com/Rxflex/vortmod | b77b09b819536d6c0db9dfb967ff9e7b9e69ff4f | 87fa89e926844ee8a61e630c370cd1a44aa14a04 | refs/heads/master | 2020-12-01T13:43:56.363000 | 2019-12-28T18:23:33 | 2019-12-28T18:23:33 | 230,645,991 | 1 | 0 | Apache-2.0 | false | 2020-10-13T18:30:33 | 2019-12-28T18:14:44 | 2019-12-28T18:28:22 | 2020-10-13T18:30:31 | 1,025 | 1 | 0 | 1 | Java | false | false | /*
* Copyright 2018 John Grosh (john.a.grosh@gmail.com).
*
* 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 ap... | UTF-8 | Java | 4,097 | java | StrikeManager.java | Java | [
{
"context": "/*\n * Copyright 2018 John Grosh (john.a.grosh@gmail.com).\n *\n * Licensed under th",
"end": 31,
"score": 0.9998819231987,
"start": 21,
"tag": "NAME",
"value": "John Grosh"
},
{
"context": "/*\n * Copyright 2018 John Grosh (john.a.grosh@gmail.com).\n *\n * Licensed und... | null | [] | /*
* Copyright 2018 <NAME> (<EMAIL>).
*
* 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 agr... | 4,059 | 0.590188 | 0.582133 | 121 | 32.859505 | 28.747204 | 99 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.702479 | false | false | 9 |
7bc542e058c6321eb0f8072994a4b12363c5f9f9 | 33,586,644,272,958 | 777263f7f0abe4e101111e5d66dfe79d422047e3 | /src/cz/zcu/viteja/uur/views/ControlMenu.java | ac0377f85b6db00330718c09004bc4f595a83538 | [
"MIT"
] | permissive | Sognus/KIV_UUR | https://github.com/Sognus/KIV_UUR | 4c477676cc0f2ab1ec96bea9a09ea02561ce3072 | 73b5d32c85022d6e66dc0e660e1c88a29d0efd9c | refs/heads/master | 2020-12-23T09:51:15.388000 | 2020-01-30T01:23:09 | 2020-01-30T01:23:09 | 237,116,133 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package cz.zcu.viteja.uur.views;
import cz.zcu.viteja.uur.main.Main;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import java... | WINDOWS-1250 | Java | 2,444 | java | ControlMenu.java | Java | [] | null | [] | package cz.zcu.viteja.uur.views;
import cz.zcu.viteja.uur.main.Main;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import java... | 2,444 | 0.710008 | 0.708778 | 97 | 24.13402 | 21.777046 | 88 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.237113 | false | false | 9 |
0f53f9bd5c3093ab26c4ae6212a1a20f7b1ac92b | 11,519,102,329,215 | 61647060473692867ae30925278beea3d7faa381 | /GameSupplyGUI/src/com/gamesupply/swing/NewSale.java | d4e24d6f7b519138eb495003d6d7a59edd3aa22e | [] | no_license | daniell1988/gamesupply | https://github.com/daniell1988/gamesupply | 3162cb96e2aa22d1e1adb3c6eff0c68aff3f4c2f | 3d9124c57d4b39b289d089aef1296f353c6b5e97 | refs/heads/master | 2016-09-06T21:23:27.768000 | 2013-06-11T14:03:19 | 2013-06-11T14:03:19 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.gamesupply.swing;
import com.gamesupply.controller.SaleController;
import com.gamesupply.controller.StockController;
import com.gamesupply.dto.SaleDTO;
import com.gamesupply.dto.StockDTO;
import java.util.Ar... | UTF-8 | Java | 10,928 | java | NewSale.java | Java | [
{
"context": "ayList;\nimport java.util.List;\n\n/**\n *\n * @author 40836665\n */\npublic class NewSale extends javax.swing.JInt",
"end": 379,
"score": 0.9816304445266724,
"start": 371,
"tag": "USERNAME",
"value": "40836665"
}
] | null | [] | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.gamesupply.swing;
import com.gamesupply.controller.SaleController;
import com.gamesupply.controller.StockController;
import com.gamesupply.dto.SaleDTO;
import com.gamesupply.dto.StockDTO;
import java.util.Ar... | 10,928 | 0.665111 | 0.656324 | 256 | 41.679688 | 39.608223 | 337 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.519531 | false | false | 9 |
6c054dd34f052a479f0378798b23cbe58ae91964 | 18,296,560,681,732 | 53b3ed3e80107e6022540166721b635d29400059 | /src/MergeOrAdd/MergeSortedArray.java | 9eef99c78f71a91f32b6b58aaf75e8a13c8ed2d1 | [] | no_license | ohyeahfanfan/Questions | https://github.com/ohyeahfanfan/Questions | 1a9724cc8a999f49891cb1a6b2b2d31355a09588 | 2b0461015a5032afdf1636239fb589b4730eac3e | refs/heads/master | 2016-09-02T03:11:18.194000 | 2014-01-26T02:36:19 | 2014-01-26T02:36:19 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package MergeOrAdd;
public class MergeSortedArray {
public void merge(int A[], int m, int B[], int n) {
// Note: The Solution object is instantiated only once and is reused by each test case.
while(n > 0){
if(m > 0 && A[m-1] > B[n-1]){// A = [], B = [1] !!! m > 0
A[m + n -1... | UTF-8 | Java | 467 | java | MergeSortedArray.java | Java | [] | null | [] | package MergeOrAdd;
public class MergeSortedArray {
public void merge(int A[], int m, int B[], int n) {
// Note: The Solution object is instantiated only once and is reused by each test case.
while(n > 0){
if(m > 0 && A[m-1] > B[n-1]){// A = [], B = [1] !!! m > 0
A[m + n -1... | 467 | 0.396146 | 0.374732 | 16 | 28.1875 | 24.978037 | 95 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | false | false | 9 |
4dce39e39cfe9bada37ca4be2dc01bd0f64ca521 | 16,071,767,688,065 | 14d710a15ab34db9442fac4c45b3d3ca00c6466e | /SpringBoot/src/test/java/com/mosen/ApplicationTests.java | 39b59eeabdedad2395360ddeed05e99f16ea1905 | [] | no_license | MosenNiu/CodeRepository | https://github.com/MosenNiu/CodeRepository | 6d2c22eda6f04227ee81d1f2dc23735cb9e6cd04 | 30561cc592f2dbacd3fad0759c70b18351369a72 | refs/heads/master | 2022-12-25T23:19:00.717000 | 2021-01-20T10:34:20 | 2021-01-20T10:34:20 | 101,155,210 | 0 | 0 | null | false | 2022-12-16T08:39:43 | 2017-08-23T08:10:23 | 2021-01-20T10:36:18 | 2022-12-16T08:39:41 | 294 | 0 | 0 | 22 | Java | false | false | package com.mosen;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.concurrent.Future;
@RunWith(SpringRunner... | UTF-8 | Java | 1,467 | java | ApplicationTests.java | Java | [] | null | [] | package com.mosen;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.concurrent.Future;
@RunWith(SpringRunner... | 1,467 | 0.675334 | 0.665495 | 60 | 22.716667 | 18.922729 | 78 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.3 | false | false | 9 |
0bf780974264f38cae6e45676dd2dbc34c912dd2 | 7,937,099,564,961 | e067bc368a9590944efda8ce87bddee097e5fd05 | /zk-web/src/main/java/com/quanle/service/impl/ArticleServiceImpl.java | 76a36ec75dd1be66f0578e7f56208a8e4369beb5 | [] | no_license | zhanlele/zdyRPC | https://github.com/zhanlele/zdyRPC | bd24d1d069782dcc577c27d7cc825d107697a2d6 | 61177c8a8f71b58909584ff907d9f4116680f17c | refs/heads/master | 2022-07-02T04:39:07.856000 | 2020-05-10T07:58:47 | 2020-05-10T07:58:47 | 259,364,753 | 0 | 0 | null | false | 2022-06-17T03:34:47 | 2020-04-27T15:03:54 | 2020-05-10T07:59:07 | 2022-06-17T03:34:47 | 15,062 | 0 | 0 | 2 | JavaScript | false | false | package com.quanle.service.impl;
import com.quanle.pojo.Article;
import com.quanle.repository.ArticleRepository;
import com.quanle.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
impo... | UTF-8 | Java | 786 | java | ArticleServiceImpl.java | Java | [
{
"context": "pringframework.stereotype.Service;\n\n/**\n * @author quanle\n */\n@Service\npublic class ArticleServiceImpl impl",
"end": 434,
"score": 0.9994382858276367,
"start": 428,
"tag": "USERNAME",
"value": "quanle"
}
] | null | [] | package com.quanle.service.impl;
import com.quanle.pojo.Article;
import com.quanle.repository.ArticleRepository;
import com.quanle.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
impo... | 786 | 0.787532 | 0.78626 | 26 | 29.23077 | 23.918625 | 71 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | false | false | 9 |
95f9df20d077a07aa70d31f86efc7326d2843bf9 | 20,340,965,164,638 | cd77cd3de8ba7f09a7a3e6a28006f3dea4cbe7ad | /src/Publisher.java | 107912b68a93d04532af6e584436e70d81f14134 | [] | no_license | jingedawang/PublisherSubscriberDemo-Java | https://github.com/jingedawang/PublisherSubscriberDemo-Java | 12beb004756e890c2a1dd3e8d25619d6b110a727 | 7b955b96217399052d4723ba24c846c520b6d54e | refs/heads/master | 2020-12-03T03:54:10.352000 | 2017-06-29T14:58:04 | 2017-06-29T14:58:04 | 95,787,702 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.ArrayList;
import java.util.List;
/**
* Created by wjg on 2017/6/29.
*/
public class Publisher {
private List<MessageArriveListener> listeners = new ArrayList<MessageArriveListener>();
public interface MessageArriveListener {
void MessageArrived(String message);
}
public v... | UTF-8 | Java | 799 | java | Publisher.java | Java | [
{
"context": "rayList;\nimport java.util.List;\n\n/**\n * Created by wjg on 2017/6/29.\n */\npublic class Publisher {\n\n p",
"end": 73,
"score": 0.9995992183685303,
"start": 70,
"tag": "USERNAME",
"value": "wjg"
}
] | null | [] | import java.util.ArrayList;
import java.util.List;
/**
* Created by wjg on 2017/6/29.
*/
public class Publisher {
private List<MessageArriveListener> listeners = new ArrayList<MessageArriveListener>();
public interface MessageArriveListener {
void MessageArrived(String message);
}
public v... | 799 | 0.599499 | 0.585732 | 33 | 23.212122 | 24.263399 | 91 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | false | false | 9 |
f4d58a8b5a4dc236df82ccbf6cbba881eaca7f53 | 29,446,295,843,660 | 0612a474904ab3ce22f084672d72b5781c754114 | /west.twouse.language.owl2fs/src/west/twouse/language/owl2fs/impl/DLSafeRuleImpl.java | 008a44bef3eef49098641872609c8d322569e863 | [] | no_license | harendra-kumar/twouse | https://github.com/harendra-kumar/twouse | 170683464f100e5da3cfa2ba2017014bcef5cadd | 0505d5dedd8c605f117158a5d8dea19a9ca37d6b | refs/heads/master | 2021-01-10T11:33:21.651000 | 2010-12-10T09:12:13 | 2010-12-10T09:12:13 | 50,262,555 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package west.twouse.language.owl2fs.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;... | UTF-8 | Java | 6,499 | java | DLSafeRuleImpl.java | Java | [] | null | [] | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package west.twouse.language.owl2fs.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;... | 6,499 | 0.596861 | 0.592553 | 246 | 24.418699 | 25.132969 | 123 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.288618 | false | false | 9 |
39353fff06a8bdfa55218b710a17d58fdab413b6 | 19,473,381,732,850 | ecf9f1c89e4a3be6a1a11c106461db7afa24240a | /udemy/curso-java/exercicios/src/fundamentos/Aritmeticos.java | ff8d3d405f9ab41f1cf645b534c12d9d306a2ef1 | [
"MIT"
] | permissive | pedrolpsouza/curso-java-udemy | https://github.com/pedrolpsouza/curso-java-udemy | cb53955c9575594fba2134b2eeaf23e7b11b7056 | 587982f4550289766a0e5e415eef9454aee93ff7 | refs/heads/master | 2022-11-26T20:42:21.994000 | 2020-08-03T19:09:08 | 2020-08-03T19:09:08 | 284,785,211 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package fundamentos;
public class Aritmeticos {
public static void main(String[] args) {
System.out.println(2+3);
int a = 7;
int b = 5;
System.out.println(a/ (double)b);
System.out.println(a%b);// operador de módulo - resto da divisão
}
}
| ISO-8859-1 | Java | 257 | java | Aritmeticos.java | Java | [] | null | [] | package fundamentos;
public class Aritmeticos {
public static void main(String[] args) {
System.out.println(2+3);
int a = 7;
int b = 5;
System.out.println(a/ (double)b);
System.out.println(a%b);// operador de módulo - resto da divisão
}
}
| 257 | 0.666667 | 0.65098 | 12 | 20.25 | 19.175179 | 66 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.583333 | false | false | 9 |
6565d413f814f7957ffca483d12497812b8a5df7 | 6,640,019,446,253 | 58aac8e031c06806f5b44225b99b4b5c854b127b | /core/src/com/pocketbattles/game/UserInterface/Actors/TextButton.java | 57743a0b338d7a87568b1761414c26354a0f6d25 | [] | no_license | TheDeepestSpace/PocketBattlesV4 | https://github.com/TheDeepestSpace/PocketBattlesV4 | b016609e2f4d7bf12a3e111d051d9757e85350af | 6929283619bd85285fd10acb9624b31ade440025 | refs/heads/master | 2021-03-30T17:10:33.780000 | 2017-01-20T00:16:26 | 2017-01-20T00:16:26 | 65,903,487 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.pocketbattles.game.UserInterface.Actors;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.pocketbattles.game.Game;
import com.pocketbattles.game.UserInterface.UserInterface;
import java.util.ArrayList;
/**
* Created by Boris on 25.08.... | UTF-8 | Java | 3,627 | java | TextButton.java | Java | [
{
"context": "e;\n\nimport java.util.ArrayList;\n\n/**\n * Created by Boris on 25.08.2016.\n * Project: PocketBattlesV4\n */\npu",
"end": 310,
"score": 0.9986139535903931,
"start": 305,
"tag": "NAME",
"value": "Boris"
}
] | null | [] | package com.pocketbattles.game.UserInterface.Actors;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.pocketbattles.game.Game;
import com.pocketbattles.game.UserInterface.UserInterface;
import java.util.ArrayList;
/**
* Created by Boris on 25.08.... | 3,627 | 0.591122 | 0.586986 | 135 | 25.866667 | 22.901011 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.585185 | false | false | 9 |
c1e18c6c803a58f6fb120b88178a98e60520c215 | 8,349,416,431,767 | 4a409d5e21062b87c16f7999fa1fb0e5b688efc1 | /2-javaee/Ticket2Rock_Interfaces/src/main/java/dhbwka/wwi/vertsys/javaee/ticket2rock_interfaces/remote/EventNotFoundException.java | fffc5ff5ed814be6619be880293811d467c33eed | [
"CC-BY-4.0"
] | permissive | DennisSchulmeister/dhbwka-wwi-vertsys-2018-quellcodes | https://github.com/DennisSchulmeister/dhbwka-wwi-vertsys-2018-quellcodes | 6752d23f373f2024cffd16c9b454a51632293845 | 32ff15142dd3a49358119fc1f388e1af370a3695 | refs/heads/master | 2022-12-22T13:42:31.051000 | 2019-12-12T22:52:19 | 2019-12-12T22:52:19 | 226,732,812 | 0 | 0 | CC-BY-4.0 | false | 2022-12-15T23:55:53 | 2019-12-08T21:15:16 | 2019-12-12T22:52:27 | 2022-12-15T23:55:51 | 24,044 | 0 | 0 | 14 | JavaScript | false | false | /*
* Copyright © 2019 Dennis Schulmeister-Zimolong
*
* E-Mail: dhbw@windows3.de
* Webseite: https://www.wpvs.de/
*
* Dieser Quellcode ist lizenziert unter einer
* Creative Commons Namensnennung 4.0 International Lizenz.
*/
package dhbwka.wwi.vertsys.javaee.ticket2rock_interfaces.remote;
/**
* Ausnahme: Gesu... | UTF-8 | Java | 571 | java | EventNotFoundException.java | Java | [
{
"context": "/*\n * Copyright © 2019 Dennis Schulmeister-Zimolong\n * \n * E-Mail: dhbw@windows3.de\n * Webseite: http",
"end": 51,
"score": 0.9998381733894348,
"start": 23,
"tag": "NAME",
"value": "Dennis Schulmeister-Zimolong"
},
{
"context": "© 2019 Dennis Schulmeister-Zimolong\n... | null | [] | /*
* Copyright © 2019 <NAME>
*
* E-Mail: <EMAIL>
* Webseite: https://www.wpvs.de/
*
* Dieser Quellcode ist lizenziert unter einer
* Creative Commons Namensnennung 4.0 International Lizenz.
*/
package dhbwka.wwi.vertsys.javaee.ticket2rock_interfaces.remote;
/**
* Ausnahme: Gesuchte Veranstaltung wurde nicht ... | 540 | 0.710526 | 0.696491 | 23 | 23.782608 | 22.686821 | 64 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | false | false | 9 |
f73351103237cd92aaac56f95eb46ce3e5b9865f | 8,478,265,451,682 | 42ac9ec4f808c33c28ae243458f8c45ed880fb06 | /src/brs/db/BurstIterator.java | 90cf292aea7a13a63a90686cda105bc9c5ff2c7b | [
"MIT"
] | permissive | maxweng/burstcoin | https://github.com/maxweng/burstcoin | d2583c15a3f8d4c5b57ac3fd29035fb3b2836ac1 | 4cdbddfabced4328af499b55ec09899529b7117c | refs/heads/master | 2021-09-01T05:42:59.054000 | 2017-12-24T14:25:21 | 2017-12-24T14:25:21 | 98,264,937 | 0 | 0 | null | true | 2017-07-25T04:41:14 | 2017-07-25T04:41:14 | 2017-07-25T04:41:12 | 2017-07-22T04:53:26 | 32,268 | 0 | 0 | 0 | null | null | null | package brs.db;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Iterator;
public interface BurstIterator<T> extends Iterator<T>, Iterable<T>, AutoCloseable {
@Override
boolean hasNext();
@Override
T next();
@Override
void remove();
@Override
void close();
@Override
Iter... | UTF-8 | Java | 445 | java | BurstIterator.java | Java | [] | null | [] | package brs.db;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Iterator;
public interface BurstIterator<T> extends Iterator<T>, Iterable<T>, AutoCloseable {
@Override
boolean hasNext();
@Override
T next();
@Override
void remove();
@Override
void close();
@Override
Iter... | 445 | 0.707865 | 0.707865 | 26 | 16.115385 | 19.069361 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
a4432b9657e543b2748e11cc5bf00235c2eb1775 | 30,932,354,473,494 | 9b2606ef92ec5ecdd7470e8292f8a3ff47c6b70d | /src/analizadorlexico/ScannerController.java | 1aca4f2fe4a592b1600e14e6347a34ce7c7c0ace | [
"MIT"
] | permissive | cleristonos/compilador-EXA869 | https://github.com/cleristonos/compilador-EXA869 | 2ed0270e43385b521dd4aa1fbf9bdc3f62439149 | 4f46eb917543c2c9de97e2b2d03de9a1e638be90 | refs/heads/master | 2021-01-17T16:41:49.228000 | 2014-04-10T13:16:22 | 2014-04-10T13:16:22 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package analizadorlexico;
/**
*
* @author Netto
*/
public class ScannerController {
private ScannerAF scanner;
private Terminal terminal;
public void inicializa() {
scanner = new ScannerAF();
... | UTF-8 | Java | 697 | java | ScannerController.java | Java | [
{
"context": ".\n */\npackage analizadorlexico;\n\n/**\n *\n * @author Netto\n */\npublic class ScannerController {\n\n private",
"end": 150,
"score": 0.9996163845062256,
"start": 145,
"tag": "NAME",
"value": "Netto"
}
] | null | [] | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package analizadorlexico;
/**
*
* @author Netto
*/
public class ScannerController {
private ScannerAF scanner;
private Terminal terminal;
public void inicializa() {
scanner = new ScannerAF();
... | 697 | 0.612626 | 0.612626 | 40 | 16.424999 | 16.56938 | 52 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | false | false | 9 |
110c781d4563acd0ce7a105470aed89e0bac80ce | 12,309,376,324,478 | 86bd99b8a3c1d6e2cfdca0fb27ec6710b28d89fe | /src/main/java/com/google/sps/data/Term.java | 276cd545f953a08d81060f569a220dedfc9b847d | [] | no_license | hailed748/step159-2020 | https://github.com/hailed748/step159-2020 | aad0fad1b2a73f0585c9e688121a1da796cffe75 | 0ddbacf744150e0abf53cd7154367cfd3cbf12e7 | refs/heads/master | 2022-12-08T16:44:10.454000 | 2020-09-03T17:12:23 | 2020-09-03T17:12:23 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.google.sps.data;
import java.util.*;
public class Term implements Comparable<Term> {
String season;
int year;
ListIterator termIterator;
int numTerms;
int currTerm;
ArrayList<String> termList;
Boolean isQuarter;
final List<String> QTR_SCHOOLS = Arrays.asList("caltech", "calpoly", "stanfor... | UTF-8 | Java | 1,989 | java | Term.java | Java | [] | null | [] | package com.google.sps.data;
import java.util.*;
public class Term implements Comparable<Term> {
String season;
int year;
ListIterator termIterator;
int numTerms;
int currTerm;
ArrayList<String> termList;
Boolean isQuarter;
final List<String> QTR_SCHOOLS = Arrays.asList("caltech", "calpoly", "stanfor... | 1,989 | 0.633484 | 0.628457 | 77 | 24.831169 | 25.324594 | 95 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | false | false | 9 |
481ab49424f9f256de98bfc28fe377a26b29b3ee | 37,391,985,282,124 | 6f431761901823c73535593951e3f8eb491de6ef | /gmall-api/src/main/java/com/zrq/gmall/api/vo/product/ProductCategoryWithChildrenItem.java | a74f0c90f04f92cfb09276d3a548fa73b9880340 | [] | no_license | zrqHazard/gmall1 | https://github.com/zrqHazard/gmall1 | 230d11a62d94e4be73f925a333b80f4442d6ce89 | d1fd42551f26ddc525fcc03d4ab3bc4d20126097 | refs/heads/master | 2022-06-30T05:11:24.074000 | 2020-03-20T11:18:47 | 2020-03-20T11:18:47 | 247,693,604 | 0 | 0 | null | false | 2022-06-21T03:00:00 | 2020-03-16T12:13:48 | 2020-03-20T11:19:09 | 2022-06-21T03:00:00 | 343 | 0 | 0 | 3 | Java | false | false | package com.zrq.gmall.api.vo.product;
import com.zrq.gmall.api.pms.entity.ProductCategory;
import lombok.Data;
import java.util.List;
/**
*/
@Data
public class ProductCategoryWithChildrenItem extends ProductCategory {
private List<ProductCategory> children;
}
| UTF-8 | Java | 268 | java | ProductCategoryWithChildrenItem.java | Java | [] | null | [] | package com.zrq.gmall.api.vo.product;
import com.zrq.gmall.api.pms.entity.ProductCategory;
import lombok.Data;
import java.util.List;
/**
*/
@Data
public class ProductCategoryWithChildrenItem extends ProductCategory {
private List<ProductCategory> children;
}
| 268 | 0.783582 | 0.783582 | 13 | 19.615385 | 22.717457 | 70 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | false | false | 9 |
3a2825e4f90172ffa42b4f46244e68b10db97e45 | 35,287,451,325,326 | 930c759c66e30a065d47dfa17118d58294b2543d | /COROUTINE/src/de/heinerkuecker/coroutine/exprs/bool/CoroBooleanExpression.java | 60e444890e3c9cd74d7acf4acd642707540e7bf1 | [
"Unlicense"
] | permissive | HeinerKuecker/Coroutine-in-pure-Java | https://github.com/HeinerKuecker/Coroutine-in-pure-Java | 2ec428790f7c84d8ccd7d748f5e718b121c05875 | de7a0f17764d8cc263607752438ee1cd6cb12601 | refs/heads/master | 2020-04-10T13:41:35.581000 | 2019-02-21T05:50:26 | 2019-02-21T05:50:26 | 161,057,106 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package de.heinerkuecker.coroutine.exprs.bool;
import de.heinerkuecker.coroutine.exprs.SimpleExpression;
abstract public class CoroBooleanExpression<COROUTINE_RETURN , RESUME_ARGUMENT>
implements SimpleExpression<Boolean , COROUTINE_RETURN , RESUME_ARGUMENT>
{
///**
// * Execute the condition and retu... | UTF-8 | Java | 808 | java | CoroBooleanExpression.java | Java | [] | null | [] | package de.heinerkuecker.coroutine.exprs.bool;
import de.heinerkuecker.coroutine.exprs.SimpleExpression;
abstract public class CoroBooleanExpression<COROUTINE_RETURN , RESUME_ARGUMENT>
implements SimpleExpression<Boolean , COROUTINE_RETURN , RESUME_ARGUMENT>
{
///**
// * Execute the condition and retu... | 808 | 0.673267 | 0.673267 | 25 | 30.32 | 32.596588 | 127 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | false | false | 9 |
358be5f857896bb4931517f6e17f08b35209838c | 10,015,863,765,165 | c7d8510dbfe91f9f35e1c6325fae0d4f42e2d084 | /matrix-kafka/src/main/java/org/matrix/framework/core/kafka/consumer/setting/MatrixConsumerSetting.java | b04e644252ce9d6c8e9ca51efa713dfeaf3a6eda | [] | no_license | fightingBilling/matrix-framework | https://github.com/fightingBilling/matrix-framework | b2dcd91994fc5cdb79b1a2bda9c9b1a5bc0b5f24 | 460ead8688e9738afcca8976121fbf3d902994e6 | refs/heads/master | 2021-01-19T11:48:50.649000 | 2016-12-06T07:52:07 | 2016-12-06T07:52:07 | 82,266,639 | 1 | 0 | null | true | 2017-02-17T06:49:55 | 2017-02-17T06:49:55 | 2016-10-17T05:57:38 | 2016-12-06T07:52:27 | 252 | 0 | 0 | 0 | null | null | null | package org.matrix.framework.core.kafka.consumer.setting;
/**
* 消息消费器配置集中管理.
*
* @author pankai 2015年8月17日
*/
public class MatrixConsumerSetting {
// 服务器字符串
private String servers;
// 组别
private String group;
// 分区数量
private Integer partitionCount;
// 订阅的主题
private String topic;
... | UTF-8 | Java | 1,420 | java | MatrixConsumerSetting.java | Java | [
{
"context": "nsumer.setting;\n\n/**\n * 消息消费器配置集中管理.\n *\n * @author pankai 2015年8月17日\n */\npublic class MatrixConsumerSetting",
"end": 99,
"score": 0.9987303614616394,
"start": 93,
"tag": "USERNAME",
"value": "pankai"
}
] | null | [] | package org.matrix.framework.core.kafka.consumer.setting;
/**
* 消息消费器配置集中管理.
*
* @author pankai 2015年8月17日
*/
public class MatrixConsumerSetting {
// 服务器字符串
private String servers;
// 组别
private String group;
// 分区数量
private Integer partitionCount;
// 订阅的主题
private String topic;
... | 1,420 | 0.589506 | 0.584105 | 61 | 20.245901 | 19.605667 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.327869 | false | false | 9 |
0010d0ef975856c1b7945aeb5a34aeb1a34ab806 | 13,855,564,565,112 | 58a8ed34f613c281a5faaaefe5da1788f5739d17 | /Application_code_source/eMybaby/sources/com/tuya/smart/common/o00000o000.java | a65a4484563b2526aeed3d1fcd66f7d4e8787716 | [] | no_license | wagnerwave/Dossier_Hacking_de_peluche | https://github.com/wagnerwave/Dossier_Hacking_de_peluche | 01c78629e52a94ed6a208e11ff7fcd268e10956e | 514f81b1e72d88e2b8835126b2151e368dcad7fb | refs/heads/main | 2023-03-31T13:28:06.247000 | 2021-03-25T23:03:38 | 2021-03-25T23:03:38 | 351,597,654 | 5 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.tuya.smart.common;
import a.a.a.a.a;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import com.tuya.sdk.sigmesh.bean.AccessMessage;
import com.tuya.sdk.sigmesh.transport.ConfigStatusMessage;
import com.tuya.smart.android.blemesh.bean.Element;
import java.nio.ByteBuffer;
im... | UTF-8 | Java | 9,012 | java | o00000o000.java | Java | [] | null | [] | package com.tuya.smart.common;
import a.a.a.a.a;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import com.tuya.sdk.sigmesh.bean.AccessMessage;
import com.tuya.sdk.sigmesh.transport.ConfigStatusMessage;
import com.tuya.smart.android.blemesh.bean.Element;
import java.nio.ByteBuffer;
im... | 9,012 | 0.58522 | 0.471372 | 245 | 35.783672 | 26.96207 | 138 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.889796 | false | false | 9 |
a027afafa25d13e59be9c50bb5ad9ce3a1044d45 | 37,589,553,778,206 | e87b54f5ce80cc224d97e594e217f48c93899072 | /src/main/java/com/example/vo/Fo.java | ced7f7fd5f645d579e163442288b2e1b87a8d0fe | [] | no_license | dyangx/interview | https://github.com/dyangx/interview | 001c5d73f9802c799a1ea493102c0aef23b63b57 | f51b381d586611c73f8a1609b28b0540e48f690b | refs/heads/master | 2023-06-09T18:23:40.632000 | 2023-05-30T06:52:05 | 2023-05-30T06:52:05 | 173,584,242 | 2 | 0 | null | false | 2022-08-16T10:30:11 | 2019-03-03T14:17:54 | 2022-08-06T03:39:40 | 2022-08-16T10:30:10 | 11,147 | 1 | 0 | 1 | Java | false | false | package com.example.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Objects;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Fo implements Comparable<Fo> {
private String name;
private Integer age;
public int compareTo() {
re... | UTF-8 | Java | 414 | java | Fo.java | Java | [] | null | [] | package com.example.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Objects;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Fo implements Comparable<Fo> {
private String name;
private Integer age;
public int compareTo() {
re... | 414 | 0.695652 | 0.695652 | 27 | 14.333333 | 12.970051 | 43 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | false | false | 9 |
65a796683c2e200e0c899e3103f8fa4e07248605 | 37,589,553,777,151 | 8e3eab316d6eb33ce8cd05cbbc2e234b3027d502 | /src/main/java/it/polimi/ingsw/controller/Game.java | f066c80e5565ea047f5eb36498e45223e87b64bb | [] | no_license | antonypascalino/ing-sw-2021-pascalino-pestrin-nebolosi | https://github.com/antonypascalino/ing-sw-2021-pascalino-pestrin-nebolosi | 5ee926c3ad7e727dc2827bd0324c10f1b3f801b5 | de76d085c862bda163a0059e00c1cf8215c68068 | refs/heads/main | 2023-06-07T02:07:36.876000 | 2021-07-02T21:32:47 | 2021-07-02T21:32:47 | 346,312,768 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package it.polimi.ingsw.controller;
import it.polimi.ingsw.controller.Request.InitialPlayersSetRequest;
import it.polimi.ingsw.controller.Request.Request;
import it.polimi.ingsw.model.Board.FaithPath;
import it.polimi.ingsw.Updates.*;
import it.polimi.ingsw.model.card.DevCard;
import it.polimi.ingsw.model.Player.Playe... | UTF-8 | Java | 15,318 | java | Game.java | Java | [] | null | [] | package it.polimi.ingsw.controller;
import it.polimi.ingsw.controller.Request.InitialPlayersSetRequest;
import it.polimi.ingsw.controller.Request.Request;
import it.polimi.ingsw.model.Board.FaithPath;
import it.polimi.ingsw.Updates.*;
import it.polimi.ingsw.model.card.DevCard;
import it.polimi.ingsw.model.Player.Playe... | 15,318 | 0.604648 | 0.597663 | 382 | 39.099476 | 35.166405 | 206 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.492147 | false | false | 9 |
e8fefef89041aaa41ff72111d93848c0930cc9f7 | 15,358,803,116,989 | 0ab3b39fe591c0fefec6b04efda5372fd02a270a | /android/info-transport/app/src/main/java/ro/gov/httpithub/infotransport/search/SearchPresenter.java | bf32cc4772d8374ae0514385e203982149586838 | [] | no_license | raztd/info-transport | https://github.com/raztd/info-transport | c22eebe9bdd3fda8493ff79421e9ec9dfc0a982a | 2552ba2f9dcf4dd8b313db6b95f7e522a81754b3 | refs/heads/master | 2018-01-06T18:59:45.483000 | 2016-10-09T07:19:59 | 2016-10-09T07:19:59 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ro.gov.httpithub.infotransport.search;
class SearchPresenter implements SearchContract.Presenter {
private SearchContract.View mSearchView;
SearchPresenter(SearchContract.View searchView) {
this.mSearchView = searchView;
mSearchView.setPresenter(this);
}
@Override
public ... | UTF-8 | Java | 497 | java | SearchPresenter.java | Java | [] | null | [] | package ro.gov.httpithub.infotransport.search;
class SearchPresenter implements SearchContract.Presenter {
private SearchContract.View mSearchView;
SearchPresenter(SearchContract.View searchView) {
this.mSearchView = searchView;
mSearchView.setPresenter(this);
}
@Override
public ... | 497 | 0.665996 | 0.665996 | 22 | 21.59091 | 19.706158 | 59 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | false | false | 9 |
5bfb9f4940e271922682a5e9342adb6bbc2b7d97 | 18,665,927,928,245 | cd5e46fdc764ca36f8c4572c73c4e4e3e1e67c17 | /src/main/java/com/yjpfj1203/statistics/document/mongo/repository/OptLogMongoRepositoryCustom.java | f6d5252aaf71df03e8ef1a8060550539885add11 | [] | no_license | yjpfj1203/statistics-service | https://github.com/yjpfj1203/statistics-service | 4e702829167e364e2503a34e19c29c0f1a6c91f0 | 85fabbb67b98a168d6f9072082710f8173d94f4a | refs/heads/master | 2020-03-27T14:49:56.086000 | 2018-09-27T11:35:31 | 2018-09-27T11:35:31 | 146,681,618 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.yjpfj1203.statistics.document.mongo.repository;
import com.yjpfj1203.statistics.document.mongo.OptLogMG;
import org.springframework.data.domain.Pageable;
import java.util.List;
public interface OptLogMongoRepositoryCustom {
public List<OptLogMG> findActive(Pageable pageable);
}
| UTF-8 | Java | 298 | java | OptLogMongoRepositoryCustom.java | Java | [] | null | [] | package com.yjpfj1203.statistics.document.mongo.repository;
import com.yjpfj1203.statistics.document.mongo.OptLogMG;
import org.springframework.data.domain.Pageable;
import java.util.List;
public interface OptLogMongoRepositoryCustom {
public List<OptLogMG> findActive(Pageable pageable);
}
| 298 | 0.828859 | 0.802013 | 10 | 28.799999 | 25.226177 | 59 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
4ab1a566133473b425a79ea7167959fbe2dc0576 | 18,013,092,880,106 | 4ff612b13f71d99956bc86a76309a553581780ae | /ly/133.Clone_Graph.java | 5f8925f4c9b5ba36760cf0c7b938a9237c22c3f7 | [] | no_license | wanderring/Algorithm-In-Leetcode | https://github.com/wanderring/Algorithm-In-Leetcode | c263540d3fee5118d70928bf8caf31b9976d46ee | 6509bf9eb8687fbc9e4493bcc4dc9e5363321fd5 | refs/heads/master | 2020-06-02T07:29:14.695000 | 2019-06-21T17:06:18 | 2019-06-21T17:06:18 | 191,083,708 | 0 | 0 | null | true | 2019-06-10T02:37:05 | 2019-06-10T02:37:05 | 2019-05-20T10:08:11 | 2019-05-20T10:08:10 | 286 | 0 | 0 | 0 | null | false | false | /*Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and a list (List[Node]) of its neighbors.
Example:
1--2
| |
3--4
Input:
{"$id":"1","neighbors":[{"$id":"2","neighbors":[{"$ref":"1"},{"$id":"3","neighbors":[{"$ref"... | UTF-8 | Java | 2,869 | java | 133.Clone_Graph.java | Java | [] | null | [] | /*Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and a list (List[Node]) of its neighbors.
Example:
1--2
| |
3--4
Input:
{"$id":"1","neighbors":[{"$id":"2","neighbors":[{"$ref":"1"},{"$id":"3","neighbors":[{"$ref"... | 2,869 | 0.589021 | 0.564825 | 83 | 32.361446 | 36.639099 | 200 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.674699 | false | false | 9 |
74d81e3ee713bbd0a989b47e1609e0eacc691ab9 | 24,489,903,590,038 | c3c90a81fefd62e267c6d4885f69c0f182b44c0f | /src/main/java/com/thinkgem/jeesite/modules/books/entity/Subsidiaryledge.java | 89d1dbcd1c98b5206f19c8a32f679a5d103fb143 | [] | no_license | yangxiaodong1/yunzh | https://github.com/yangxiaodong1/yunzh | 8a2ce3763093d069fad9b6f78cd76882c091a32d | 89ae810c6da464d5aa361cd312480d4cf9f21528 | refs/heads/master | 2021-07-11T05:40:59.442000 | 2017-10-13T08:10:46 | 2017-10-13T08:10:46 | 106,795,747 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.books.entity;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jack... | UTF-8 | Java | 7,514 | java | Subsidiaryledge.java | Java | [
{
"context": "ight © 2012-2014 <a href=\"https://github.com/thinkgem/jeesite\">JeeSite</a> All rights reserved.\n */\npac",
"end": 70,
"score": 0.9972076416015625,
"start": 62,
"tag": "USERNAME",
"value": "thinkgem"
},
{
"context": "tence.DataEntity;\n\n/**\n * 凭证摘要和科目Entity\n *... | null | [] | /**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.books.entity;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jack... | 7,514 | 0.712085 | 0.691795 | 304 | 21.213816 | 19.773811 | 108 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.651316 | false | false | 9 |
42ed3ec967a1bc37b4c8b148b255019d64d9ba09 | 23,802,708,817,433 | 70daf318d027f371ada3abeaaa31dd47651640d7 | /src/jdo/inv/INVValidAndQtyWarnTool.java | 5b54f0eb5172443748ccf7bcbff032250dfeb620 | [] | no_license | wangqing123654/web | https://github.com/wangqing123654/web | 00613f6db653562e2e8edc14327649dc18b2aae6 | bd447877400291d3f35715ca9c7c7b1e79653531 | refs/heads/master | 2023-04-07T15:23:34.705000 | 2020-11-02T10:10:57 | 2020-11-02T10:10:57 | 309,329,277 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package jdo.inv;
import com.dongyang.jdo.TJDOTool;
import com.dongyang.data.TParm;
/**
* <p>Title: 近效期及库存量提示</p>
*
* <p>Description: 近效期及库存量提示</p>
*
* <p>Copyright: Copyright (c) 2008</p>
*
* <p>Company: JavaHis</p>
*
* @author zhangh 2013.7.12
* @version 1.0
*/
public class INVValidAndQtyWarnTool
exte... | GB18030 | Java | 1,666 | java | INVValidAndQtyWarnTool.java | Java | [
{
"context": "08</p>\n *\n * <p>Company: JavaHis</p>\n *\n * @author zhangh 2013.7.12\n * @version 1.0\n */\npublic class INVVal",
"end": 245,
"score": 0.9962563514709473,
"start": 239,
"tag": "USERNAME",
"value": "zhangh"
}
] | null | [] | package jdo.inv;
import com.dongyang.jdo.TJDOTool;
import com.dongyang.data.TParm;
/**
* <p>Title: 近效期及库存量提示</p>
*
* <p>Description: 近效期及库存量提示</p>
*
* <p>Copyright: Copyright (c) 2008</p>
*
* <p>Company: JavaHis</p>
*
* @author zhangh 2013.7.12
* @version 1.0
*/
public class INVValidAndQtyWarnTool
exte... | 1,666 | 0.545226 | 0.535804 | 75 | 20.226667 | 18.221287 | 66 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | false | false | 9 |
3fc4aff6f96ed3733e3b416e612935c5c4f425ed | 13,838,384,630,201 | 22c2eead68ef6f93c137256e78e0defb7b8d79f1 | /src/main/java/sparkstarter/SparkStarterApp.java | a2320bbc878e39213ed3447d353e936901dd131b | [] | no_license | nicolasdasriaux/spark-starter-java | https://github.com/nicolasdasriaux/spark-starter-java | 79efad1bf015d21878886f05765087ceacb19822 | 6aa185203187ec1dea9acb1fc990e3f67bacc685 | refs/heads/master | 2020-07-14T21:41:27.029000 | 2019-08-30T15:43:14 | 2019-08-30T15:43:14 | 205,409,220 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package sparkstarter;
import org.apache.spark.sql.SparkSession;
public class SparkStarterApp {
public static void main(final String[] args) {
final SparkSession spark = SparkSession.builder()
.appName("Spark Starter")
.master("local[*]")
.enableHiveSupport()... | UTF-8 | Java | 488 | java | SparkStarterApp.java | Java | [] | null | [] | package sparkstarter;
import org.apache.spark.sql.SparkSession;
public class SparkStarterApp {
public static void main(final String[] args) {
final SparkSession spark = SparkSession.builder()
.appName("Spark Starter")
.master("local[*]")
.enableHiveSupport()... | 488 | 0.598361 | 0.598361 | 17 | 27.705883 | 20.01107 | 63 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | false | false | 9 |
50e1e212980eb9a48eb0380b01d528bfa7c2ac87 | 15,650,860,829,554 | 6714e565423ba2e3af6353b6f5a18f278021aaa9 | /LeMobileSafe/src/main/java/com/le/safe/activity/SetUpBaseActivity.java | 2af9fb98549ca4a6cf25eef9ef27d9b5b2dea8d9 | [] | no_license | Saturnkk/MobileBodyguard | https://github.com/Saturnkk/MobileBodyguard | 35991cf361705bd6ebfc31eb74c23136bed2477e | 6f9cf4e941a247fb62201e25139236da1deafb31 | refs/heads/master | 2021-01-12T11:44:25.974000 | 2017-03-11T13:18:26 | 2017-03-11T13:18:26 | 72,287,505 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.le.safe.activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Vi... | UTF-8 | Java | 4,108 | java | SetUpBaseActivity.java | Java | [] | null | [] | package com.le.safe.activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Vi... | 4,108 | 0.685938 | 0.678437 | 158 | 19.253164 | 19.281702 | 86 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.797468 | false | false | 9 |
fbd441f1d2af30c33a0ac3e10e8544ab940dfdc9 | 5,703,716,574,205 | 73a27b1f26abe250b67b5f16692c457037dc1f87 | /Iteration 3/Course Project/ProfileScreen.java | 59e11095708de59f29b55987493c4ce83bdbf389 | [] | no_license | leevanrell/COMP-3700-Course-Project | https://github.com/leevanrell/COMP-3700-Course-Project | 7c3b2ed054c1a6635037ba696d840c7029562083 | d7a97d4f57a10e54a9c330e7a79d7180bb1459fa | refs/heads/master | 2021-08-30T09:01:07.455000 | 2017-12-17T05:04:49 | 2017-12-17T05:04:49 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import javax.swing.*;
import java.awt.*;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.imageio.*;
import javax.swing.*;
public class ProfileScreen extends... | UTF-8 | Java | 4,434 | java | ProfileScreen.java | Java | [] | null | [] | import javax.swing.*;
import java.awt.*;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.imageio.*;
import javax.swing.*;
public class ProfileScreen extends... | 4,434 | 0.568787 | 0.563374 | 116 | 37.232758 | 24.696907 | 109 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.706897 | false | false | 9 |
8b6d2dae88b2120c62e85d7080e94286b8f43e2c | 7,430,293,424,697 | 2c36ec02cb8878d0d5f6e481e5acef4e07056b0d | /proxy/src/main/java/com/zhang/proxy/pass/TestInteger.java | 56fbeb304859575e15c6eb51d8204cc3b45624a1 | [] | no_license | zypk123/learning-database | https://github.com/zypk123/learning-database | 4238182e1ca12b332e9904bf5e4a852503e6f723 | b5e69abc8c21e6cfb116f850afdf7fd5da3b58cb | refs/heads/master | 2020-04-05T20:41:36.611000 | 2018-12-26T09:33:26 | 2018-12-26T09:33:26 | 157,191,816 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.zhang.proxy.pass;
import java.util.concurrent.TimeUnit;
/**
* 包装类的传递问题
*
* @author zhangyu
* @create 2018-12-26 16:55
**/
public class TestInteger {
public static void main(String[] args) throws InterruptedException {
Integer index = 0;
TestObject runable = new TestObject(index);... | UTF-8 | Java | 1,440 | java | TestInteger.java | Java | [
{
"context": "oncurrent.TimeUnit;\n\n/**\n * 包装类的传递问题\n *\n * @author zhangyu\n * @create 2018-12-26 16:55\n **/\npublic class Tes",
"end": 107,
"score": 0.9558649063110352,
"start": 100,
"tag": "USERNAME",
"value": "zhangyu"
}
] | null | [] | package com.zhang.proxy.pass;
import java.util.concurrent.TimeUnit;
/**
* 包装类的传递问题
*
* @author zhangyu
* @create 2018-12-26 16:55
**/
public class TestInteger {
public static void main(String[] args) throws InterruptedException {
Integer index = 0;
TestObject runable = new TestObject(index);... | 1,440 | 0.520358 | 0.508143 | 58 | 20.172413 | 19.064444 | 86 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | false | false | 9 |
badb78ea0643b7980f7448ce3b848b34888b50a0 | 27,101,243,650,538 | f2f0e4da2579db91745ad651a910081891625745 | /app/src/main/java/com/Schedo/db/Task.java | b7ae57c9c040f0cf68b6a9a999b589159181ee4a | [] | no_license | rizkyajitomip10/Schedo-kelompok-8 | https://github.com/rizkyajitomip10/Schedo-kelompok-8 | 292e367f681a9ee9ce68794514d0d9c941ba0dd4 | 589582aec3090b8000c291b872203990994016f5 | refs/heads/main | 2023-09-02T06:54:44.983000 | 2021-11-14T14:36:02 | 2021-11-14T14:36:02 | 427,942,044 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.Schedo.db;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = AppDb.TABLE)
public class Task {
@PrimaryKey(autoGenerate = true)
@ColumnInfo(name = "task_id")
private int task_id;
@ColumnInfo(name = "title")
private String ... | UTF-8 | Java | 1,271 | java | Task.java | Java | [] | null | [] | package com.Schedo.db;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = AppDb.TABLE)
public class Task {
@PrimaryKey(autoGenerate = true)
@ColumnInfo(name = "task_id")
private int task_id;
@ColumnInfo(name = "title")
private String ... | 1,271 | 0.623131 | 0.623131 | 60 | 20.183332 | 15.284514 | 52 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.316667 | false | false | 9 |
5bfe1bf672d4d6dcbb9ed7ef932c18a77f8c7109 | 3,324,304,745,491 | 2d6933c53426000ed3c072f97e61d858458c6bdb | /src/main/java/problems/q81/Solution.java | b2b07b9c3be15394b10d4882674f261df3efc073 | [] | no_license | chaibin0/leetCode-Java | https://github.com/chaibin0/leetCode-Java | 2d8644762770e8911af96a6c31e1763c6feba9d3 | ae1feba5c10a211ba577c4cb065458da713a6067 | refs/heads/master | 2022-03-12T21:36:48.554000 | 2022-03-08T11:00:11 | 2022-03-08T11:00:11 | 241,042,858 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package problems.q81;
class Solution {
public boolean search(int[] nums, int target) {
return search(0, nums.length - 1, nums, target);
}
public boolean search(int low, int high, int[] nums, int target) {
if (low < 0 || low >= nums.length || high < 0 || high >= nums.length) {
... | UTF-8 | Java | 1,586 | java | Solution.java | Java | [] | null | [] | package problems.q81;
class Solution {
public boolean search(int[] nums, int target) {
return search(0, nums.length - 1, nums, target);
}
public boolean search(int low, int high, int[] nums, int target) {
if (low < 0 || low >= nums.length || high < 0 || high >= nums.length) {
... | 1,586 | 0.445776 | 0.430643 | 62 | 24.596775 | 30.322174 | 133 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.725806 | false | false | 9 |
1fa369f91dd190f7af060d84a2a5048c8e5dbdf8 | 21,921,513,084,113 | 8b2bee920bee63d783bb5c450b0981a79bb51aa2 | /src/main/java/com/okiimport/app/service/seguridad/SHistorial.java | 247bbfa70212bd20cf6f83ad8feaf67cb7ea3937 | [] | no_license | ubicapartes/ubicapartes-back | https://github.com/ubicapartes/ubicapartes-back | 80dbbf94ee5e8c77468a25fd1c898e43b095c0fb | aafa00a3497430c4b595ea951064322e30451d7d | refs/heads/master | 2021-06-14T15:43:22.193000 | 2016-10-07T02:53:26 | 2016-10-07T02:53:26 | 66,521,013 | 0 | 1 | null | false | 2017-02-26T19:31:56 | 2016-08-25T03:24:14 | 2016-10-04T01:23:52 | 2017-02-26T19:31:56 | 170 | 0 | 1 | 0 | Java | null | null | package com.okiimport.app.service.seguridad;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.okiimport.app.model.HistoryLogin;
import com.okiimport.app.model.Usuario;
@Service
@Tr... | UTF-8 | Java | 627 | java | SHistorial.java | Java | [] | null | [] | package com.okiimport.app.service.seguridad;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.okiimport.app.model.HistoryLogin;
import com.okiimport.app.model.Usuario;
@Service
@Tr... | 627 | 0.845295 | 0.845295 | 20 | 30.35 | 25.150099 | 78 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.85 | false | false | 9 |
343bd6c4282029c2d10320e954b6e613a83b6d3c | 27,960,237,102,661 | d2c5953f71980be1e451ce038b0cea4176638bf9 | /src/myMath/MonomTest.java | a9de67f0616279a3aa4a6e3360ddd8cfdae824a4 | [] | no_license | israelBuskila/myMath | https://github.com/israelBuskila/myMath | 5e69ba520a80511a5eec1b788831a8e9a45b2e78 | 0716f0df38888e6ce6dc204d6f2f4c866b08e63a | refs/heads/master | 2021-06-23T18:27:16.326000 | 2020-11-16T11:20:19 | 2020-11-16T11:20:19 | 156,751,734 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package myMath;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class MonomTest {
@Test
void constructortest() {
double coe = 2;
int pow = 1;
assertNotNull(pow);
assertNotNull(pow);
if(coe == 0) fail("coe shouldnt be zero");
if(pow < 0) fail("power is smaller then ... | UTF-8 | Java | 1,691 | java | MonomTest.java | Java | [] | null | [] | package myMath;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class MonomTest {
@Test
void constructortest() {
double coe = 2;
int pow = 1;
assertNotNull(pow);
assertNotNull(pow);
if(coe == 0) fail("coe shouldnt be zero");
if(pow < 0) fail("power is smaller then ... | 1,691 | 0.639858 | 0.600828 | 76 | 21.25 | 17.40699 | 66 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.25 | false | false | 9 |
64208cf99c6c27154f43a74bac1bd48f17f39839 | 1,176,821,050,397 | 8f23129c6ab49f725dcd51f0858db86f4d52d336 | /anxinpha-item/anxinpha-item-service/src/main/java/com/anxinpha/item/mapper/ExpressMapper.java | 9f408e8a226aff9164e60820c63a7797fedd047b | [] | no_license | wuxiemian/anxinpha | https://github.com/wuxiemian/anxinpha | 1a071d3d39c4e1975cc4b890be6ab89f70a8e0de | 614ee49ace981402169b373148d8bc01c71ce196 | refs/heads/master | 2022-09-05T11:51:32.477000 | 2020-06-02T06:40:11 | 2020-06-02T06:40:11 | 267,289,322 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.anxinpha.item.mapper;
import com.anxinpha.item.pojo.Express;
import tk.mybatis.mapper.common.Mapper;
/**
* @author 尹硕硕
* @description
**/
public interface ExpressMapper extends Mapper<Express> {
}
| UTF-8 | Java | 220 | java | ExpressMapper.java | Java | [
{
"context": " tk.mybatis.mapper.common.Mapper;\n\n/**\n * @author 尹硕硕\n * @description\n **/\npublic interface ExpressMapp",
"end": 133,
"score": 0.999810516834259,
"start": 130,
"tag": "NAME",
"value": "尹硕硕"
}
] | null | [] | package com.anxinpha.item.mapper;
import com.anxinpha.item.pojo.Express;
import tk.mybatis.mapper.common.Mapper;
/**
* @author 尹硕硕
* @description
**/
public interface ExpressMapper extends Mapper<Express> {
}
| 220 | 0.752336 | 0.752336 | 11 | 18.454546 | 18.80698 | 56 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | false | false | 9 |
70201f58760989e6975f47575dbf5b0039c287ab | 14,096,082,677,051 | d5974ff20b697ad1da3d8e7ba5db1bd704d6046c | /Bit-mask/IncredibleHulk.java | 7ed321deb073fa1179b20e29f8575fe582c70493 | [] | no_license | satyap54/Data_Structures | https://github.com/satyap54/Data_Structures | beb095500a74abeaeaa8ac5928f227f4c5338490 | ac0b3ac5825a9562889d5e428a4bd0a16d3f51a7 | refs/heads/Only-.java | 2022-12-19T21:04:41.167000 | 2020-09-30T18:45:08 | 2020-09-30T18:45:08 | 203,433,213 | 3 | 1 | null | false | 2020-09-30T18:45:09 | 2019-08-20T18:34:46 | 2020-09-29T16:49:35 | 2020-09-30T18:45:09 | 139 | 8 | 3 | 0 | Java | false | false | import java.util.*;
//The problem set is : You are given Hulk and your enemy is at some level x. You've to reach there by using jumps which are
//in the powers of 2. What will be the min. no. of jumps required ?
//To solve it , use bit-masking . No. of set bits in binary representation of x gives the answer . Eg. 13 ... | UTF-8 | Java | 652 | java | IncredibleHulk.java | Java | [] | null | [] | import java.util.*;
//The problem set is : You are given Hulk and your enemy is at some level x. You've to reach there by using jumps which are
//in the powers of 2. What will be the min. no. of jumps required ?
//To solve it , use bit-masking . No. of set bits in binary representation of x gives the answer . Eg. 13 ... | 652 | 0.671779 | 0.654908 | 21 | 30.095238 | 35.301296 | 128 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.904762 | false | false | 9 |
7b1f414587c0621168ce3617b06bf009a56e5972 | 26,688,926,789,198 | b0d0d0b5cbed0a24d5f41d951089b2f03951a125 | /HibernateExample/src/main/java/com/test/App.java | 764768b43cecc9d502e14068c25d2ff141267cbd | [] | no_license | sanjar/Day_Today | https://github.com/sanjar/Day_Today | afb84a1016e0122001b790d9a152934c6b358dfc | a8b9f63b3f26231f42953088fce068d4ad39ded0 | refs/heads/master | 2020-12-24T19:27:06.668000 | 2017-10-18T17:52:29 | 2017-10-18T17:52:29 | 23,060,527 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.test;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import com.test.user.DBUser;
import com.test.util.HibernateUtil;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.Marshaller;
... | UTF-8 | Java | 1,311 | java | App.java | Java | [
{
"context": "er();\n\n\t\tuser.setUserId(101);\n\t\tuser.setUsername(\"Hibernate102\");\n\t\tuser.setCreatedBy(\"system\");\n\t\tuser.setCreat",
"end": 673,
"score": 0.9994307160377502,
"start": 661,
"tag": "USERNAME",
"value": "Hibernate102"
}
] | null | [] | package com.test;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import com.test.user.DBUser;
import com.test.util.HibernateUtil;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.Marshaller;
... | 1,311 | 0.738368 | 0.733791 | 52 | 24.211538 | 22.910643 | 77 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.826923 | false | false | 9 |
5d4774e660afa9fd6bb6369063341eab74ce3438 | 28,389,733,832,902 | 596db21e4111ed249178701cdeb46cbbc9ff8feb | /17 Hard/10 Majority Element.java | 4e2b95d5d348ca6954ed647c31d316875946863f | [
"MIT"
] | permissive | JayakrishnaThota/CTCI | https://github.com/JayakrishnaThota/CTCI | 83981f416915baecf54ec3086ee5e94b87c93654 | 47b6b4dae99c50e5ef62bb09d1be35b2e121b549 | refs/heads/master | 2021-09-08T02:12:50.167000 | 2018-03-05T20:58:35 | 2018-03-05T20:58:35 | 111,362,019 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | //O(n) and O(1)
class Solution {
public int majorityElement(int[] nums) {
if(nums==null || nums.length==0) return 0;
int maj = nums[0],count=1;
for(int i=1;i<nums.length;i++){
if(nums[i]==maj)
count++;
else{
count--;
if(... | UTF-8 | Java | 667 | java | 10 Majority Element.java | Java | [] | null | [] | //O(n) and O(1)
class Solution {
public int majorityElement(int[] nums) {
if(nums==null || nums.length==0) return 0;
int maj = nums[0],count=1;
for(int i=1;i<nums.length;i++){
if(nums[i]==maj)
count++;
else{
count--;
if(... | 667 | 0.410795 | 0.394303 | 27 | 23.703703 | 13.882616 | 50 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.62963 | false | false | 9 |
6447bcc152e86a8b943bdc4b0eb608fc6b1af96a | 25,512,105,758,861 | 062c2598c0c39d50ff5fb2055946d33bdef9738f | /src/main/java/aka/jmediainspector/controllers/tabs/AbstractSearchCriteriaController.java | 5518e707fda7c8f060518676016c3754cf21d37b | [] | no_license | welle/JMediaInspector | https://github.com/welle/JMediaInspector | 6aa1a7fbfe7c00ab3f94a09015e21960df6a53fb | ff3b678e0531368f7674c990de62231913065e2b | refs/heads/master | 2021-05-14T19:15:44.366000 | 2018-02-06T12:55:21 | 2018-02-06T12:55:21 | 116,103,406 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package aka.jmediainspector.controllers.tabs;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.logging.Level;
import org.eclipse.jdt.annotation.NonNull;
impor... | UTF-8 | Java | 16,163 | java | AbstractSearchCriteriaController.java | Java | [
{
"context": "ss for SearchCriteria Controllers.\r\n *\r\n * @author Cha\r\n */\r\npublic abstract class AbstractSearchCriteriaC",
"end": 2352,
"score": 0.9652624726295471,
"start": 2349,
"tag": "NAME",
"value": "Cha"
}
] | null | [] | package aka.jmediainspector.controllers.tabs;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.logging.Level;
import org.eclipse.jdt.annotation.NonNull;
impor... | 16,163 | 0.635092 | 0.634845 | 386 | 39.873058 | 35.454517 | 193 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.637306 | false | false | 9 |
83596fd2a13ad7c2356918a9796cf8db7e60e02e | 2,413,771,665,941 | ec64592e00eb4a189cddcd94e89ca5302f535150 | /test/ywd/bean/BeanTest.java | c45724c26a8a9eaf0c7aa026b5ce5dbe28772b0d | [] | no_license | dreamingodd/spring_source_reading | https://github.com/dreamingodd/spring_source_reading | a3b4d904e5d5f6db7eb868d2dddd632ba247ed21 | 1cd53e6271e2fafab72c9fe225a5467ebbbffddb | refs/heads/master | 2021-01-12T13:06:24.165000 | 2016-10-18T14:20:16 | 2016-10-18T14:20:16 | 69,407,019 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ywd.bean;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import ywd.bean.aware.AwareTest;
import ywd.bean.circularDependency.CircleTestA;
im... | UTF-8 | Java | 2,775 | java | BeanTest.java | Java | [
{
"context": "which are spring-core and spring-beans.\n * @author dreamingodd\n *\n */\n@SuppressWarnings(\"deprecation\")\npublic cl",
"end": 542,
"score": 0.9994120597839355,
"start": 531,
"tag": "USERNAME",
"value": "dreamingodd"
}
] | null | [] | package ywd.bean;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import ywd.bean.aware.AwareTest;
import ywd.bean.circularDependency.CircleTestA;
im... | 2,775 | 0.685045 | 0.684324 | 77 | 35.03896 | 27.729418 | 94 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.467532 | false | false | 9 |
0279e3860149bd6e785b9ade1903d5e9a0896ba7 | 8,014,409,007,184 | bfd8ccf3634727169a967963fc75c0a68c01702e | /software/eyeball-2.3/src-test/com/hp/hpl/jena/eyeball/web/statistics/test/BaseTest.java | b63b97322cc52d85c4dfcb7e2c684c00a8cb9a79 | [] | no_license | ycba-cia/RDFer | https://github.com/ycba-cia/RDFer | a6dd2de15936e80cb728541637a169fd6193b4c9 | d0d74ad5084e908533b8bd5708240a3337410e48 | refs/heads/master | 2022-07-26T06:01:22.330000 | 2022-07-18T17:57:07 | 2022-07-18T17:57:07 | 19,811,571 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /*
* BaseTest.java
* JUnit based test
*
* Created on August 23, 2006, 2007, 2008, 8:55 AM
*/
package com.hp.hpl.jena.eyeball.web.statistics.test;
import com.hp.hpl.jena.eyeball.Report;
import com.hp.hpl.jena.eyeball.vocabulary.EYE;
import com.hp.hpl.jena.eyeball.web.WebEyeballer;
import com.hp.hpl.jena.eyeball.w... | UTF-8 | Java | 4,404 | java | BaseTest.java | Java | [
{
"context": "java.io.*;\n\nimport java.util.Set;\n\n/**\n @author peter\n*/\npublic class BaseTest extends ModelTestBas",
"end": 486,
"score": 0.8582353591918945,
"start": 485,
"tag": "NAME",
"value": "p"
},
{
"context": "va.io.*;\n\nimport java.util.Set;\n\n/**\n @author pete... | null | [] | /*
* BaseTest.java
* JUnit based test
*
* Created on August 23, 2006, 2007, 2008, 8:55 AM
*/
package com.hp.hpl.jena.eyeball.web.statistics.test;
import com.hp.hpl.jena.eyeball.Report;
import com.hp.hpl.jena.eyeball.vocabulary.EYE;
import com.hp.hpl.jena.eyeball.web.WebEyeballer;
import com.hp.hpl.jena.eyeball.w... | 4,404 | 0.696185 | 0.686648 | 103 | 41.766991 | 34.758865 | 132 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.815534 | false | false | 9 |
64abedca59f8c5eafd2a59fe090891af947518ac | 22,978,075,069,261 | 0dea0b6a26a5b0ef5d4100490a6a370e1d625144 | /api/src/main/java/me/gyanendrokh/meiteimayek/dictionary/api/service/AuthService.java | fbfd8c608e38212d5cf578705e8910e85f2d7204 | [] | no_license | meiteimayek/Dictionary | https://github.com/meiteimayek/Dictionary | 86a09d0e4c74e4ed02346df3456fb347eca27574 | 908b84089f77e456f97f0289d552c218c0c12911 | refs/heads/master | 2020-05-19T05:54:54.536000 | 2019-05-10T15:51:05 | 2019-05-10T15:51:05 | 184,860,405 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package me.gyanendrokh.meiteimayek.dictionary.api.service;
import me.gyanendrokh.meiteimayek.dictionary.api.AuthApi;
public class AuthService extends BaseService<AuthApi> {
private static AuthService mSelf = null;
public static AuthService getInstance() {
if(mSelf == null) {
mSelf = new AuthService();... | UTF-8 | Java | 604 | java | AuthService.java | Java | [] | null | [] | package me.gyanendrokh.meiteimayek.dictionary.api.service;
import me.gyanendrokh.meiteimayek.dictionary.api.AuthApi;
public class AuthService extends BaseService<AuthApi> {
private static AuthService mSelf = null;
public static AuthService getInstance() {
if(mSelf == null) {
mSelf = new AuthService();... | 604 | 0.687086 | 0.687086 | 34 | 16.764706 | 18.41045 | 58 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | false | false | 9 |
e1508b123703456ff818241d102ee4dbb4bde5ad | 953,482,787,640 | 5ba4d8b040f3bcadfe212c7fcbb1e778ad1212b4 | /src/application/RepairController.java | 1266caeb80fe5ce4fd7d61670928a67a0e54d3db | [] | no_license | MarcinKula96/WINsetup | https://github.com/MarcinKula96/WINsetup | ea5d228fa929412379cdc91e1d7ce0fe22a3409a | a52a90f7a0fcfd229aba8bde65035086f1e52052 | refs/heads/master | 2020-03-31T05:27:01.822000 | 2018-10-07T14:06:21 | 2018-10-07T14:06:21 | 151,946,036 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package application;
import java.io.IOException;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.ProgressIndicator;
import javafx.scene.control.RadioButton;
import javafx.scene.control.TextArea;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.AnchorPane;
import j... | WINDOWS-1250 | Java | 3,327 | java | RepairController.java | Java | [] | null | [] | package application;
import java.io.IOException;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.ProgressIndicator;
import javafx.scene.control.RadioButton;
import javafx.scene.control.TextArea;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.AnchorPane;
import j... | 3,327 | 0.70533 | 0.703513 | 98 | 32.693878 | 37.407413 | 135 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.234694 | false | false | 9 |
d360693555fa9194b950ffab7c56e6877c13ba81 | 27,298,812,162,023 | de79fbb88f31b3d3d2e6776d0598720405a13431 | /src/headfirst/designpatterns/collections/iterator_builtin/Menu.java | 80e0376664a9217e29395a2735fe42a949a56d14 | [] | no_license | mingruyue/Head-First-Design-Patterns | https://github.com/mingruyue/Head-First-Design-Patterns | b621a830f01bb80c4220523a55df1fd7a28abd60 | 35c5bd5fb5d0cfaa842fe5debd5a2c45d90d3327 | refs/heads/master | 2020-05-15T20:20:35.880000 | 2019-05-25T09:40:25 | 2019-05-25T09:40:25 | 182,480,310 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package headfirst.designpatterns.collections.iterator_builtin;
import java.util.Iterator;
public interface Menu {
Iterator<String> createIterator();
}
| UTF-8 | Java | 157 | java | Menu.java | Java | [] | null | [] | package headfirst.designpatterns.collections.iterator_builtin;
import java.util.Iterator;
public interface Menu {
Iterator<String> createIterator();
}
| 157 | 0.796178 | 0.796178 | 7 | 21.428572 | 21.645569 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | false | false | 9 |
6a1190bdb4183760ca41ae3d6172d0d9dbf20094 | 14,388,140,481,725 | 2e49f23ef1e4a50da89d46eb45bc019d04087d2c | /src/FunkoStore.java | 2b90753290e81b4f147920628029e4afc6631803 | [] | no_license | Dynotum/FactoryMethod | https://github.com/Dynotum/FactoryMethod | fb203e64290c15863fade46a32900e77c9f2e8fa | 932402092d08aae59999b36448ae9efb3457af34 | refs/heads/master | 2022-11-07T04:50:01.571000 | 2020-06-14T05:03:01 | 2020-06-14T05:03:01 | 272,136,005 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class FunkoStore extends FunkoFactory {
@Override
Funko createFunko(String name) {
switch (name) {
case "mewtwo":
return new MewtwoFunko();
case "ghost":
return new GhostKamikazeFunko();
case "failed_fusion":
... | UTF-8 | Java | 400 | java | FunkoStore.java | Java | [] | null | [] | public class FunkoStore extends FunkoFactory {
@Override
Funko createFunko(String name) {
switch (name) {
case "mewtwo":
return new MewtwoFunko();
case "ghost":
return new GhostKamikazeFunko();
case "failed_fusion":
... | 400 | 0.4925 | 0.4925 | 16 | 23 | 16.37834 | 48 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | false | false | 9 |
ca7332cc2db151738a96e2ef18f4140938718171 | 3,195,455,705,808 | acbf60a09ef118ab3ec8f20b5568384164bf7984 | /Day29Demo/src/com/itheima/servlet/OnlineServlet.java | b30f3315cf9fe2ad6ea068d0a9c6d38aac4ec59f | [] | no_license | 361292623/learnjava | https://github.com/361292623/learnjava | 40574ef82dfe1f90c0427296868c2211b7c5196c | 3beb0f7f287bd1089b226bbd8b08d24f8b73247a | refs/heads/master | 2020-04-01T17:53:15.315000 | 2018-11-26T12:40:44 | 2018-11-26T12:40:44 | 153,456,768 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.itheima.servlet;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import jav... | UTF-8 | Java | 2,626 | java | OnlineServlet.java | Java | [
{
"context": "\n\n 步骤分析\n 1. 接收用户名和密码\n 2. 判断用户名是否为admin和密码是否为123\n 3. 如果是,则登录成功,\n * 先从上下",
"end": 411,
"score": 0.9729032516479492,
"start": 406,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " 1. 接收用户名和密码\n 2. 判断用户名是否为admin和密码... | null | [] | package com.itheima.servlet;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import jav... | 2,626 | 0.649657 | 0.638862 | 59 | 33.542374 | 25.583576 | 121 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.440678 | false | false | 9 |
0bdb0752e13aed5ca1ed5a73a0ce1d3346792868 | 3,702,261,846,293 | 987a2554910aa0becf75e151b83472f9bc714236 | /src/org/pushingpixels/onyx/utils/TracingEventQueueThreadJMX.java | d837c30c10a8a94d9b9974f489d9d55d6fb79c9c | [
"Apache-2.0"
] | permissive | carloamaglio/josk | https://github.com/carloamaglio/josk | 9a96ce63c67503f50a72154bc693425d41361ead | bf134c512b0f963afe40e717d0eea8f7342b3052 | refs/heads/master | 2016-09-06T09:28:45.692000 | 2013-09-12T09:33:24 | 2013-09-12T09:33:24 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
*
* Copyright 2013 Dott. Ing. Carlo Amaglio - Via Emigli, 10 - 25081 Bedizzole (BS) - Italy
*
* 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.o... | UTF-8 | Java | 4,323 | java | TracingEventQueueThreadJMX.java | Java | [
{
"context": "/**\r\n * \r\n * Copyright 2013 Dott. Ing. Carlo Amaglio - Via Emigli, 10 - 25081 Bedizzole (BS) - Italy\r\n",
"end": 52,
"score": 0.9998658299446106,
"start": 39,
"tag": "NAME",
"value": "Carlo Amaglio"
},
{
"context": "\n * \r\n * Copyright 2013 Dott. Ing. Carlo Amagl... | null | [] | /**
*
* Copyright 2013 Dott. Ing. <NAME> - <NAME>, 10 - 25081 Bedizzole (BS) - Italy
*
* 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... | 4,312 | 0.663197 | 0.658802 | 131 | 31.015266 | 24.243984 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.229008 | false | false | 9 |
27c28ff900344707042cf9aadc2db68ff694e282 | 21,036,749,844,926 | db1a6c786d399c73e6e3430feda827c2b307a1aa | /bundles/org.rubis.oscar.oscarcore.model/src/oscar/OscarFactory.java | 891f03b39f2c2a63cbc87fcb73a34ede8f97cff3 | [] | no_license | rubis-lab/oscar-ide | https://github.com/rubis-lab/oscar-ide | 3476b448bae9c9ec67ad0c6d975e25a88d2e84f3 | 99e7216cc71d48320296aadcf48c7776f8efd743 | refs/heads/master | 2020-03-28T15:25:42.013000 | 2019-05-20T05:58:01 | 2019-05-20T05:58:01 | 148,591,881 | 8 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
*/
package oscar;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see oscar.OscarPackage
* @generated
*/
public interface OscarFactory extends EFactor... | UTF-8 | Java | 2,627 | java | OscarFactory.java | Java | [] | null | [] | /**
*/
package oscar;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see oscar.OscarPackage
* @generated
*/
public interface OscarFactory extends EFactor... | 2,627 | 0.606014 | 0.606014 | 105 | 24.019047 | 21.217684 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.866667 | false | false | 9 |
da71d5e1e756a2651d2f7e2b4617f0f6e0623a21 | 30,451,318,165,725 | 417750e578d52c082022ea115a6a5a8200e8676c | /Organism.java | 59d90d0edb5462c2737871bbbf245a3df98c1913 | [] | no_license | epaglier/BF-Genetic-Programmer | https://github.com/epaglier/BF-Genetic-Programmer | fc2b8c1e9eee003c78587d0ed9ba636fa762f19a | 2031bf6f145c36e18b6e73d50ee86aec34e933be | refs/heads/master | 2021-06-28T20:50:42.148000 | 2017-09-12T05:41:07 | 2017-09-12T05:41:07 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.*;
//THIS FOR SOME REASON ONLY USES NEXT LETTER IN SEQUENCE EASY FIX
public class Organism
{
public String brain;
public int fitness;
public ArrayList<Integer> target;
public BFToCode b;
public Map table;
public static final String ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public stati... | UTF-8 | Java | 6,523 | java | Organism.java | Java | [] | null | [] | import java.util.*;
//THIS FOR SOME REASON ONLY USES NEXT LETTER IN SEQUENCE EASY FIX
public class Organism
{
public String brain;
public int fitness;
public ArrayList<Integer> target;
public BFToCode b;
public Map table;
public static final String ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public stati... | 6,523 | 0.437682 | 0.428944 | 284 | 21.97183 | 19.104216 | 153 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.457746 | false | false | 9 |
0c41bf1eef3c0374527a7b873630440c2c3423f4 | 22,325,240,037,981 | 436a6f01f9547cac62048fc85c8cddb21000b124 | /api_car/src/main/java/com/jk/model/Userrole.java | 8d80c9f4bdb0dc03226a32f9b2b275480349accb | [] | no_license | wzh1071522191/guazi-car | https://github.com/wzh1071522191/guazi-car | b67991decff71b98706ab55fc82be87fa3ecd04e | 7cfd44d6afc5a2b838a3005f8aaf9a5448556716 | refs/heads/master | 2022-12-26T19:29:36.069000 | 2020-06-11T05:06:02 | 2020-06-11T05:06:02 | 202,494,685 | 0 | 0 | null | false | 2022-12-10T05:44:41 | 2019-08-15T07:27:58 | 2020-06-11T05:06:05 | 2022-12-10T05:44:40 | 43,537 | 0 | 0 | 22 | JavaScript | false | false | package com.jk.model;
import java.io.Serializable;
/**
* @author : 张松光
* @date :Created in 2019/8/15 9:59
* @description:员工权限表
* @package :com.jk.model
* @version: 1.0.0
*/
public class Userrole implements Serializable {
private Integer id;
private Integer uid;
private Integer rid;
public In... | UTF-8 | Java | 705 | java | Userrole.java | Java | [
{
"context": ";\n\nimport java.io.Serializable;\n\n/**\n * @author : 张松光\n * @date :Created in 2019/8/15 9:59\n * @descripti",
"end": 73,
"score": 0.9997986555099487,
"start": 70,
"tag": "NAME",
"value": "张松光"
}
] | null | [] | package com.jk.model;
import java.io.Serializable;
/**
* @author : 张松光
* @date :Created in 2019/8/15 9:59
* @description:员工权限表
* @package :com.jk.model
* @version: 1.0.0
*/
public class Userrole implements Serializable {
private Integer id;
private Integer uid;
private Integer rid;
public In... | 705 | 0.577093 | 0.558003 | 44 | 14.477273 | 13.405374 | 47 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | false | false | 9 |
a756f95b11e1346690ef189a9125ef5aa3234239 | 14,654,428,454,959 | 53b900c49d6774e6e53ef304d28e441f21e46cf5 | /f1indi/src/ClubComparator.java | 1b55e49bb4062e4c8c668141db8df52c42962480 | [] | no_license | v1nt/vsol | https://github.com/v1nt/vsol | 19c4443551fff3dea46c9c86b11c006439eac328 | d96dbdd3c636250e297ef5d29c41cd6862286a05 | refs/heads/master | 2020-05-19T14:13:03.033000 | 2013-07-21T11:15:37 | 2013-07-21T11:15:37 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.util.Comparator;
public class ClubComparator implements Comparator<Club> {
public ClubComparator() {
// TODO Auto-generated constructor stub
}
public int compare(Club club1, Club club2) {
return club2.getPoints() - club1.getPoints();
}
}
| UTF-8 | Java | 264 | java | ClubComparator.java | Java | [] | null | [] | import java.util.Comparator;
public class ClubComparator implements Comparator<Club> {
public ClubComparator() {
// TODO Auto-generated constructor stub
}
public int compare(Club club1, Club club2) {
return club2.getPoints() - club1.getPoints();
}
}
| 264 | 0.731061 | 0.715909 | 14 | 17.857143 | 20.99271 | 57 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.857143 | false | false | 9 |
da3d5cf076013341a9128d15afe28989611a9d7f | 240,518,205,601 | 200a207ed990bf2b427160f7e9a2b5690be65788 | /src/main/java/org/bukkit/event/entity/EntityPickupItemEvent.java | 20f2d538f895683caac5dd44bd79dca420796cbb | [
"WTFPL"
] | permissive | 8MiYile/HomoCraftServer | https://github.com/8MiYile/HomoCraftServer | 8fae0e35a82267dbac023531c63903a293861e71 | 06c52bccad746256a08f78bfc56ae9e4c847445c | refs/heads/master | 2021-02-07T20:55:22.127000 | 2020-05-06T10:01:49 | 2020-05-06T10:01:49 | 244,075,912 | 13 | 8 | WTFPL | false | 2020-10-13T19:58:13 | 2020-03-01T02:49:30 | 2020-05-12T07:41:59 | 2020-10-13T19:58:12 | 16,170 | 12 | 4 | 4 | Java | false | false | package org.bukkit.event.entity;
import org.bukkit.entity.Item;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
* Thrown when a entity picks an item up from the ground
*/
public class EntityPickupItemEvent extends EntityEvent implements Cancellabl... | UTF-8 | Java | 1,429 | java | EntityPickupItemEvent.java | Java | [] | null | [] | package org.bukkit.event.entity;
import org.bukkit.entity.Item;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
* Thrown when a entity picks an item up from the ground
*/
public class EntityPickupItemEvent extends EntityEvent implements Cancellabl... | 1,429 | 0.648006 | 0.648006 | 62 | 22.048388 | 21.183855 | 99 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.354839 | false | false | 9 |
ef484ee20ae07e96215d6f73e02dbd63e92b95ed | 28,793,460,784,996 | f7cd8c857f6814b2d53264cc69f20eacc119c34c | /src/main/java/com/jfxgraph/scanner/beans/AnnotatedBeanDefinition.java | 922e2f80e5ed7e5df85624b6b7249204ca8c1db5 | [] | no_license | atschx/jfxgraph-asm-ext | https://github.com/atschx/jfxgraph-asm-ext | c5f403bab07cf61263dea5fabe5a4dbe42651dae | 068b729f30d44d5d58697707734aaf2e5fd1669c | refs/heads/master | 2021-01-19T04:21:46.391000 | 2015-08-05T03:16:44 | 2015-08-05T03:16:44 | 17,163,078 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.jfxgraph.scanner.beans;
import com.jfxgraph.scanner.type.AnnotationMetadata;
/**
* AnnotatedBeanDefinition
* @author Albert
* @version $Id: AnnotatedBeanDefinition.java,v0.5 2013年10月27日 下午9:44:53 Albert Exp .
* @since 3.1
*/
public interface AnnotatedBeanDefinition extends BeanDefinition
{
... | UTF-8 | Java | 568 | java | AnnotatedBeanDefinition.java | Java | [
{
"context": "ata;\n\n/**\n * AnnotatedBeanDefinition\n * @author Albert\n * @version $Id: AnnotatedBeanDefinition.java,v",
"end": 142,
"score": 0.9998258352279663,
"start": 136,
"tag": "NAME",
"value": "Albert"
}
] | null | [] | package com.jfxgraph.scanner.beans;
import com.jfxgraph.scanner.type.AnnotationMetadata;
/**
* AnnotatedBeanDefinition
* @author Albert
* @version $Id: AnnotatedBeanDefinition.java,v0.5 2013年10月27日 下午9:44:53 Albert Exp .
* @since 3.1
*/
public interface AnnotatedBeanDefinition extends BeanDefinition
{
... | 568 | 0.72043 | 0.689964 | 19 | 28.368422 | 27.516905 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | false | false | 9 |
8027796e1be24560bdd8ef51a560ce920ae2758c | 23,493,471,149,312 | a700dc6db8d194e535572cb3907b49c7d99731e0 | /src/main/java/com/trusthub/cobranca/application/util/ApiConstantes.java | a7ab6c2fc0db1cdcfdc3d5385efe1068e9e9d8d7 | [] | no_license | reinaldojun/cobranca-relatorios | https://github.com/reinaldojun/cobranca-relatorios | 05b75b0dcec82551912397a29514b71f5e53a4f3 | d285e6b133b28d09d5d59c9cbed8639508d86609 | refs/heads/master | 2022-07-09T19:41:24.440000 | 2019-07-23T12:17:57 | 2019-07-23T12:17:57 | 198,423,386 | 0 | 0 | null | false | 2022-06-29T17:31:52 | 2019-07-23T12:11:31 | 2019-07-23T12:18:10 | 2022-06-29T17:31:51 | 84,250 | 0 | 0 | 2 | Java | false | false | package com.trusthub.cobranca.application.util;
/**
* Constantes utilizadas nos servicos chamados
* @author alan.franco/jose.viana
*/
public interface ApiConstantes {
public static final String API_BAR = "/";
public static final String API_VALIDAR_TOKEN = "validar/token";
public static final String API_ATEN... | UTF-8 | Java | 571 | java | ApiConstantes.java | Java | [
{
"context": "antes utilizadas nos servicos chamados \n * @author alan.franco/jose.viana\n */\npublic interface ApiConstantes {\n\t",
"end": 123,
"score": 0.9677545428276062,
"start": 112,
"tag": "USERNAME",
"value": "alan.franco"
},
{
"context": "das nos servicos chamados \n * @auth... | null | [] | package com.trusthub.cobranca.application.util;
/**
* Constantes utilizadas nos servicos chamados
* @author alan.franco/jose.viana
*/
public interface ApiConstantes {
public static final String API_BAR = "/";
public static final String API_VALIDAR_TOKEN = "validar/token";
public static final String API_ATEN... | 571 | 0.767075 | 0.767075 | 17 | 32.588234 | 30.101904 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.882353 | false | false | 9 |
4490dc3fe02c83c3d78a2d4ebfa50b19167996b9 | 23,493,471,148,219 | 06250ed4c59aea8deaf82e67a00a6875e7dd137f | /src/com/example/fragmenttest1/AnimationSurfaceView.java | dd6fe482cc36f051af3b1e42a207d2526e9de7b1 | [] | no_license | qishiri/RoboBeat | https://github.com/qishiri/RoboBeat | fe91a3960624422484caad23c443f198ab4feaca | f81a3541e841eeb11e1e67eb297ee6e2cf0e21f1 | refs/heads/master | 2020-05-26T21:44:27.093000 | 2014-07-14T08:14:25 | 2014-07-14T08:14:25 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.fragmenttest1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Iterator;
import android.content.Context;
import android.content.res.Res... | SHIFT_JIS | Java | 8,394 | java | AnimationSurfaceView.java | Java | [] | null | [] | package com.example.fragmenttest1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Iterator;
import android.content.Context;
import android.content.res.Res... | 8,394 | 0.628743 | 0.59988 | 289 | 27.896194 | 22.743864 | 104 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 3.460208 | false | false | 9 |
392cd499577371b287dad5f4382e5efb508642ef | 17,042,430,269,393 | 4deae34ce9dd49aaa14386c50ab39159ca8c1ef7 | /src/mainlibrary/LibrarianDao.java | 7f359c56eccf632659948b8bdad5b822cccefabb | [
"MIT"
] | permissive | ncisectest/spad | https://github.com/ncisectest/spad | 83835419d7aad2e644c519b484fa67839f7110cb | 170cd5c1341b276635cf5cfd9cba84b7cf67e3b0 | refs/heads/master | 2022-05-30T02:27:29.373000 | 2020-05-01T21:24:35 | 2020-05-01T21:24:35 | 258,034,564 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package mainlibrary;
import java.sql.*;
public final class LibrarianDao {
public static boolean validate(String name, String password) {
boolean status = false;
Connection Con = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
Con = DB.getConnecti... | UTF-8 | Java | 978 | java | LibrarianDao.java | Java | [] | null | [] | package mainlibrary;
import java.sql.*;
public final class LibrarianDao {
public static boolean validate(String name, String password) {
boolean status = false;
Connection Con = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
Con = DB.getConnecti... | 978 | 0.51227 | 0.510225 | 35 | 26.942858 | 25.089489 | 122 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.628571 | false | false | 9 |
c95196594c89ede99c8b24e27628ab4d5d2be73d | 19,481,971,696,170 | bd353d736f0580b4e77336bff9fb5d91d2794ed7 | /service/src/main/java/com/stackroute/moviecruiserserver/controller/MovieController.java | f5fde73e3d3bccc7bc67688871835326beff2355 | [] | no_license | Ayushi-Shukla/movie-cruiser | https://github.com/Ayushi-Shukla/movie-cruiser | 4ee5c647e104fd9e029ec99d716f5626859707f8 | 454fe90ed46b28ff83dd4367d930bfc792257c0c | refs/heads/master | 2023-01-07T19:53:14.987000 | 2019-12-27T11:46:27 | 2019-12-27T11:46:27 | 230,433,772 | 0 | 0 | null | false | 2023-01-06T00:56:27 | 2019-12-27T11:42:08 | 2019-12-27T11:46:47 | 2023-01-06T00:56:24 | 822 | 0 | 0 | 29 | TypeScript | false | false | package com.stackroute.moviecruiserserver.controller;
import java.util.*;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.*;
import org.springframewo... | UTF-8 | Java | 3,016 | java | MovieController.java | Java | [] | null | [] | package com.stackroute.moviecruiserserver.controller;
import java.util.*;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.*;
import org.springframewo... | 3,016 | 0.765584 | 0.764589 | 95 | 30.747368 | 27.673651 | 103 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.905263 | false | false | 9 |
a5308d8ca6b622a4715ad60cf5bbbc66944add8e | 7,653,631,766,713 | 799456023524d45a7c759fe4f5110364b85e31fc | /src/main/java/nacgroup/monoservice/server/repositories/ActivityTypeRepository.java | a8cf43641b72d0e40630251a453f2aa60581d373 | [
"MIT"
] | permissive | MHAN001/NACGroup | https://github.com/MHAN001/NACGroup | 3eb60fd27002aaafda67bbaed2269ac5f6277bac | f925bc82a140afcd21acc30899eb3544da0d95d9 | refs/heads/master | 2022-11-15T10:26:40.551000 | 2020-07-01T03:44:21 | 2020-07-01T03:44:21 | 272,576,213 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package nacgroup.monoservice.server.repositories;
import nacgroup.monoservice.server.objects.ActivityType;
import org.springframework.data.repository.CrudRepository;
public interface ActivityTypeRepository extends CrudRepository<ActivityType, Long> {
}
| UTF-8 | Java | 255 | java | ActivityTypeRepository.java | Java | [] | null | [] | package nacgroup.monoservice.server.repositories;
import nacgroup.monoservice.server.objects.ActivityType;
import org.springframework.data.repository.CrudRepository;
public interface ActivityTypeRepository extends CrudRepository<ActivityType, Long> {
}
| 255 | 0.862745 | 0.862745 | 7 | 35.42857 | 32.008289 | 84 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | false | false | 9 |
b8c48273ef396204734bee0adfe8647f90f5f819 | 12,927,851,607,863 | 21f8ccf607fd6269af377baef6f4f00a862db817 | /src/Blackjack2/Welcome.java | 79a980af024861f9f43cb9d21de1d411fb5085f0 | [] | no_license | sethurbach/Blackjack | https://github.com/sethurbach/Blackjack | dfe178064923a9bc8f863adf1104d95dc2665bcd | 4a681538b01b7222f61e14ee59bb6f8ff762528d | refs/heads/master | 2021-01-20T20:36:39.832000 | 2016-06-08T14:10:20 | 2016-06-08T14:10:20 | 60,702,970 | 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 Blackjack2;
import static Blackjack2.Data.*;
/**
*
* @author sethurbach
*/
public class Welcome {
public... | UTF-8 | Java | 1,924 | java | Welcome.java | Java | [
{
"context": "t static Blackjack2.Data.*;\r\n\r\n/**\r\n *\r\n * @author sethurbach\r\n */\r\npublic class Welcome {\r\n public static v",
"end": 279,
"score": 0.993969738483429,
"start": 269,
"tag": "USERNAME",
"value": "sethurbach"
},
{
"context": "ackjack2.Data.*;\r\n\r\n/**\r\... | 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 Blackjack2;
import static Blackjack2.Data.*;
/**
*
* @author sethurbach
*/
public class Welcome {
public... | 1,924 | 0.581601 | 0.566528 | 44 | 41.772728 | 35.605709 | 131 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.681818 | false | false | 9 |
319d10a83d6c7c6d4a3053f4f8a9f505b7dc51f5 | 12,927,851,605,364 | 7df85c6c3477e52413ba7e1615c51a2bd5987827 | /thread-practice/src/main/java/cn/chap8/HeaderTextProcessing.java | 5303b58d88da9032ca604e0c353b9711a77cf17f | [] | no_license | hjy628/test | https://github.com/hjy628/test | 17f949b28077d82b577096e465a23bffb7eacdde | 89379c17a84aecadb1d44a6afb2766d26430d437 | refs/heads/master | 2022-06-23T06:17:54.031000 | 2019-12-03T07:29:15 | 2019-12-03T07:29:15 | 53,647,728 | 1 | 2 | null | false | 2022-06-21T00:47:02 | 2016-03-11T07:20:26 | 2020-10-29T02:56:24 | 2022-06-21T00:46:59 | 11,168 | 1 | 2 | 4 | Java | false | false | package cn.chap8;
/**
* Created by hjy on 17-2-8.
*/
public class HeaderTextProcessing extends ProcessingObject<String>{
@Override
protected String handleWork(String input) {
return "From Raoul,Mario and ALan: "+input;
}
}
| UTF-8 | Java | 246 | java | HeaderTextProcessing.java | Java | [
{
"context": "package cn.chap8;\n\n/**\n * Created by hjy on 17-2-8.\n */\npublic class HeaderTextProcessing ",
"end": 40,
"score": 0.9995718002319336,
"start": 37,
"tag": "USERNAME",
"value": "hjy"
},
{
"context": "ng handleWork(String input) {\n return \"From Raoul,Mario and... | null | [] | package cn.chap8;
/**
* Created by hjy on 17-2-8.
*/
public class HeaderTextProcessing extends ProcessingObject<String>{
@Override
protected String handleWork(String input) {
return "From Raoul,Mario and ALan: "+input;
}
}
| 246 | 0.682927 | 0.662602 | 11 | 21.363636 | 22.491505 | 67 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | false | false | 9 |
b66232d805c86d0abef9c8d6a2ae8069afab22d7 | 541,165,946,443 | 49048765d3c7c7228a8c0089735e155e982f699f | /src/main/java/com/telrikk/elasticnotes/actions/AbstractNoResultAction.java | b6a30be71e6c4481321f198dc15619f674901e36 | [] | no_license | telrikk/elastic-notes | https://github.com/telrikk/elastic-notes | eb6a7abaa094cfd289aa3d00275a82cb366b63fe | 67788312605b7f8cf8c6a55a97831a2893b9a69e | refs/heads/master | 2017-12-02T13:34:10.828000 | 2013-12-30T06:37:23 | 2013-12-30T06:37:23 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.telrikk.elasticnotes.actions;
public abstract class AbstractNoResultAction {
}
| UTF-8 | Java | 93 | java | AbstractNoResultAction.java | Java | [] | null | [] | package com.telrikk.elasticnotes.actions;
public abstract class AbstractNoResultAction {
}
| 93 | 0.827957 | 0.827957 | 5 | 17.6 | 21.209433 | 46 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | false | false | 9 |
dd9a518f4f44f9f15acba1ba3097298f275bcb44 | 18,219,251,303,953 | 3a660a6557c03d1ca44d83d7558196fd5ae995b6 | /src/bank/customer/PrivateCustomer.java | 2a761daf14689e7b9aa1630870712cb86a32619b | [] | no_license | leonidkiritschenko/Bank | https://github.com/leonidkiritschenko/Bank | 6426a63a819e04941a3248e6a311104148af0477 | 07a372fb758d3d61499afbf6d97a6c61d0f4c815 | refs/heads/master | 2020-08-30T12:16:14.117000 | 2019-11-08T11:07:05 | 2019-11-08T11:07:05 | 218,377,911 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package bank.customer;
import bank.address.Address;
import java.time.LocalDate;
/**
* PrivateCustomer is a value class.
* Customer number will be assigned automatically, starts with "F" and is unique.
*/
public class PrivateCustomer extends Customer {
private static int customerNumberCounter = 1001;
private St... | UTF-8 | Java | 1,381 | java | PrivateCustomer.java | Java | [
{
"context": "calDate birthday;\n\n public PrivateCustomer(String firstName, String lastName, String telefon, String email, L",
"end": 468,
"score": 0.7088603377342224,
"start": 459,
"tag": "NAME",
"value": "firstName"
},
{
"context": "\n public PrivateCustomer(String firstName, St... | null | [] | package bank.customer;
import bank.address.Address;
import java.time.LocalDate;
/**
* PrivateCustomer is a value class.
* Customer number will be assigned automatically, starts with "F" and is unique.
*/
public class PrivateCustomer extends Customer {
private static int customerNumberCounter = 1001;
private St... | 1,381 | 0.731354 | 0.728458 | 49 | 27.183674 | 25.178282 | 109 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.653061 | false | false | 9 |
4c28098ca5f7db02e53a995b47a879e97cdba04e | 31,748,398,271,489 | 3657b6f5b30ac061e2ab1db7cd745e2ca8183af3 | /homeProject/src/com/house/framework/web/controller/KindeditorController.java | b2b4d1c6b012aafc084de4736fa0adbef0599fd2 | [] | no_license | Lxt000806/eclipse_workspace | https://github.com/Lxt000806/eclipse_workspace | b25f4f81bd0aa6f8d55fc834dd09cdb473af1f3f | 04376681ec91c3f8dbde2908d35612c4842a868c | refs/heads/main | 2023-05-23T12:05:26.989000 | 2021-06-13T05:49:26 | 2021-06-13T05:49:26 | 376,452,726 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.house.framework.web.controller;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
im... | UTF-8 | Java | 12,654 | java | KindeditorController.java | Java | [
{
"context": "es(); it.hasNext();) {\n\t\t\tString key = (String) it.next();\n\t\t\tMultipartFile file = multipartRequest.getFi",
"end": 7498,
"score": 0.6410726308822632,
"start": 7494,
"tag": "KEY",
"value": "next"
}
] | null | [] | package com.house.framework.web.controller;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
im... | 12,654 | 0.687053 | 0.683979 | 383 | 30.420366 | 28.520769 | 135 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.689295 | false | false | 9 |
74aa473311e05123db58e290664ebeb6596858c6 | 29,901,562,317,532 | 0b6aa5586caf78dad8a00b4ca8c30b1a429031f6 | /java9/src/com/myLibrary/test/testDBS.java | 666b554aaff7f02e36238f2de1b14a6427af3f5c | [] | no_license | weiye-Lee/myUniverse | https://github.com/weiye-Lee/myUniverse | d1e2e253fbd7abb8a4e2ffcd89d5fc24d664ef6a | bff9bb69a4a73a9a22ed25fd5377b6572c65181d | refs/heads/master | 2022-12-19T11:57:20.004000 | 2020-09-20T10:34:00 | 2020-09-20T10:34:00 | 268,029,041 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.myLibrary.test;
import com.myLibrary.database.Database;
/*
* 测试Database
* */
public class testDBS {
public static void main(String[] args) {
Database.getLibraryBooks().get(0).setBorrowPerson("lalala");
Database.getLibraryBooks()
.forEach(a -> System.out.println... | UTF-8 | Java | 359 | java | testDBS.java | Java | [] | null | [] | package com.myLibrary.test;
import com.myLibrary.database.Database;
/*
* 测试Database
* */
public class testDBS {
public static void main(String[] args) {
Database.getLibraryBooks().get(0).setBorrowPerson("lalala");
Database.getLibraryBooks()
.forEach(a -> System.out.println... | 359 | 0.63662 | 0.633803 | 13 | 25.307692 | 23.78553 | 71 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | false | false | 9 |
8c4e142c4d333bba519dd48e1953db47204284d9 | 14,147,622,295,307 | 1f745c04f437f90a7dbc84ce9c44d1e008fa3124 | /src/bsh/ClassGeneratorUtil.java | ea41dfb3390100c9c93c64dcbbaa5a1ea885205f | [
"Apache-2.0",
"LGPL-2.1-or-later",
"LicenseRef-scancode-unknown-license-reference",
"SPL-1.0"
] | permissive | jessepav/beanshell | https://github.com/jessepav/beanshell | 70ddfecc38bd2594385db80e3f976ba6de8aa117 | 22ae11c05a59edff7bc7edb1b77283cdc652a775 | refs/heads/v2 | 2022-05-20T00:25:26.968000 | 2022-04-09T16:51:24 | 2022-04-09T16:51:24 | 334,516,617 | 0 | 0 | Apache-2.0 | true | 2021-04-23T22:28:39 | 2021-01-30T21:37:34 | 2021-01-30T21:37:36 | 2021-04-23T22:28:37 | 6,227 | 0 | 0 | 0 | null | false | false | /*****************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* r... | UTF-8 | Java | 38,053 | java | ClassGeneratorUtil.java | Java | [
{
"context": "y be found at http://www.beanshell.org/ *\n * Patrick Niemeyer (pat@pat.net) ",
"end": 1599,
"score": 0.9998928904533386,
"start": 1583,
"tag": "NAME",
"value": "Patrick Niemeyer"
},
{
"context": "//www.beanshell.org/ *\n *... | null | [] | /*****************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* r... | 38,000 | 0.686385 | 0.684598 | 1,157 | 31.88937 | 31.612167 | 312 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.325843 | false | false | 9 |
f669af4be33691fb72bb25f1ea96b99eb585e0ec | 25,855,703,146,533 | 64d3ecff33658b2b0c1c8241c8d1a465d450c9ba | /src/main/java/com/thousandeyes/dao/UserDAO.java | c5aca90350e24d28786c80091e489da32d25aae7 | [] | no_license | vineetbhatkoti/Twitter-backend | https://github.com/vineetbhatkoti/Twitter-backend | 0fe7a216477ef708a6639f7be89f690fe4418e8a | f357cc094195f553a6f2dd2524d69195bb4a300e | refs/heads/master | 2020-05-23T20:50:00.664000 | 2017-03-15T22:56:34 | 2017-03-15T22:56:34 | 84,788,679 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.thousandeyes.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.thousandeyes.exception.DAOException;
import com.thousandeyes.model.PopularUser;
import com.thousandeyes.model.User;
/*
* @desc: This is the DAO interface for the user requests
* @author: Vineet Bhatko... | UTF-8 | Java | 744 | java | UserDAO.java | Java | [
{
"context": "he DAO interface for the user requests\n * @author: Vineet Bhatkoti\n */\n\n@Repository\npublic interface UserDAO {\n\tpubl",
"end": 322,
"score": 0.9998914003372192,
"start": 307,
"tag": "NAME",
"value": "Vineet Bhatkoti"
}
] | null | [] | package com.thousandeyes.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.thousandeyes.exception.DAOException;
import com.thousandeyes.model.PopularUser;
import com.thousandeyes.model.User;
/*
* @desc: This is the DAO interface for the user requests
* @author: <NAME>
*/
@... | 735 | 0.801075 | 0.801075 | 27 | 26.555555 | 27.970001 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.814815 | false | false | 9 |
e48a6409671f267b2f7185b2318be446eddbd363 | 25,855,703,146,227 | 745d255706d6e41994dfe4b6a6a6c073959431ff | /src/test/java/com/eclecticlogic/stepper/antlr/TestGrammar.java | 5feceffaa33380401c0b6285c2a38a230c379691 | [
"Apache-2.0"
] | permissive | JulianoCristian/stepper | https://github.com/JulianoCristian/stepper | ece0ad08cd1ac400fde64a533428e8f8289ed46f | eb3f6cfbf23cabe4efa49fb30ec1427e798c02e2 | refs/heads/master | 2020-05-04T17:10:17.234000 | 2019-03-26T01:05:09 | 2019-03-26T01:05:09 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.eclecticlogic.stepper.antlr;
import org.antlr.v4.runtime.ParserRuleContext;
import org.junit.Test;
import java.util.function.Function;
/**
* Tests parsing rules. Simply tests that parsing doesn't fail with exceptions.
*/
public class TestGrammar extends AbstractGrammarTester {
void testScalarType... | UTF-8 | Java | 4,899 | java | TestGrammar.java | Java | [] | null | [] | package com.eclecticlogic.stepper.antlr;
import org.antlr.v4.runtime.ParserRuleContext;
import org.junit.Test;
import java.util.function.Function;
/**
* Tests parsing rules. Simply tests that parsing doesn't fail with exceptions.
*/
public class TestGrammar extends AbstractGrammarTester {
void testScalarType... | 4,899 | 0.514595 | 0.498877 | 161 | 29.428572 | 22.978985 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.347826 | false | false | 9 |
63c6fdde9102ddb1e9ec68ad38b4c478bf2b25b0 | 31,516,470,056,447 | f124eec14975c5f9bdc5a64de9b3e80e518b9891 | /src/main/java/com/cts/codeassignment/formsubmission/service/UserService.java | ca46a3a9c4a06f10f4c43983fbbe37f3084cd410 | [] | no_license | sudheerrachuri/RaboCodeAssignment | https://github.com/sudheerrachuri/RaboCodeAssignment | aa2de6ac771fafae21b17ce55a3bece6b218bbcd | d5ba93c89c85655af16b398ea166e0f452911da4 | refs/heads/master | 2022-01-26T04:29:57.868000 | 2020-01-17T14:26:58 | 2020-01-17T14:26:58 | 233,062,992 | 0 | 0 | null | false | 2022-01-21T23:36:14 | 2020-01-10T14:22:38 | 2020-01-17T14:27:07 | 2022-01-21T23:36:14 | 79 | 0 | 0 | 2 | Java | false | false | package com.cts.codeassignment.formsubmission.service;
import com.cts.codeassignment.formsubmission.beans.User;
import java.util.List;
public interface UserService {
User saveUser(User user);
List<User> getUsers();
User updateUser(User updateUser);
boolean deleteUserById(int id);
}
| UTF-8 | Java | 303 | java | UserService.java | Java | [] | null | [] | package com.cts.codeassignment.formsubmission.service;
import com.cts.codeassignment.formsubmission.beans.User;
import java.util.List;
public interface UserService {
User saveUser(User user);
List<User> getUsers();
User updateUser(User updateUser);
boolean deleteUserById(int id);
}
| 303 | 0.762376 | 0.762376 | 13 | 22.307692 | 19.76549 | 56 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.538462 | false | false | 9 |
c1863532b87265556934703f9d00daabf670198a | 20,478,404,098,228 | da1d67376ba55e1726ef5266a9389e5b2f122ea0 | /JavaWork/Exceptions/src/com/cognizant/Examples/MyException.java | 3aabc5137d930f743a751a6c5d6aec4508a32d7b | [] | no_license | Zak-Roberts/JavaWork | https://github.com/Zak-Roberts/JavaWork | 4a9761e02e9581013228e3d09c6d836796608f53 | d90090c7189572d7b6cd2b8238d6c521bf4093a8 | refs/heads/master | 2020-04-07T21:49:23.915000 | 2018-11-23T16:23:59 | 2018-11-23T16:23:59 | 158,742,235 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | // showcasing creating my own exception in another class to throw here (linked class is 'ThrowException')
package com.cognizant.Examples;
import java.util.Scanner;
public class MyException {
public static void main(String[] args) {
MyException e = new MyException();
try {
System.out.println(e.method1(... | UTF-8 | Java | 706 | java | MyException.java | Java | [] | null | [] | // showcasing creating my own exception in another class to throw here (linked class is 'ThrowException')
package com.cognizant.Examples;
import java.util.Scanner;
public class MyException {
public static void main(String[] args) {
MyException e = new MyException();
try {
System.out.println(e.method1(... | 706 | 0.671388 | 0.661473 | 34 | 19.705883 | 22.353483 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.676471 | false | false | 9 |
361e5cffc09216f3fc295f70bf1cc9d04f106dfd | 15,221,364,103,342 | 0a15ac66636ffcb77ed5605cb04222c178f22525 | /src/main/java/in/com/firstchoice/reservation/controller/ReservationController.java | dc35c91d99d9c3928372e1d72db76f4033cc71bd | [] | no_license | shahnahidmahmud/reservation | https://github.com/shahnahidmahmud/reservation | 86a6c5b81fa6ea441362c7ba957ff4aeca4baf27 | bf8fa56a28e23b78e3c8f2a82613cf27348faf34 | refs/heads/master | 2023-04-05T16:10:53.479000 | 2020-02-05T01:24:24 | 2020-02-05T01:24:24 | 238,342,825 | 0 | 0 | null | false | 2023-03-23T20:38:49 | 2020-02-05T01:24:07 | 2020-02-05T01:24:27 | 2023-03-23T20:38:45 | 21 | 0 | 0 | 2 | Java | false | false | package in.com.firstchoice.reservation.controller;
import in.com.firstchoice.reservation.common.DateCalculation;
import in.com.firstchoice.reservation.common.Price;
import in.com.firstchoice.reservation.common.ResponseDetails;
import in.com.firstchoice.reservation.common.Schedule;
import in.com.firstchoice.reservatio... | UTF-8 | Java | 17,782 | java | ReservationController.java | Java | [] | null | [] | package in.com.firstchoice.reservation.controller;
import in.com.firstchoice.reservation.common.DateCalculation;
import in.com.firstchoice.reservation.common.Price;
import in.com.firstchoice.reservation.common.ResponseDetails;
import in.com.firstchoice.reservation.common.Schedule;
import in.com.firstchoice.reservatio... | 17,782 | 0.607862 | 0.604656 | 316 | 55.272152 | 44.615326 | 202 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.553797 | false | false | 9 |
47165b6586d44fcb699aa83d1a34c2a0c506d8f7 | 17,815,524,357,540 | a337f9db7322ce90440284580ea8abd655f88d51 | /esclient/src/main/java/com/qyou/es/query/Pagination.java | 238c3d9c0b7626f889f26e89039601507d175ddf | [] | no_license | QunarYou/TTF_Things | https://github.com/QunarYou/TTF_Things | ae05d7dc3fc3f50ef87e19e0d7f24bd8afe491e6 | 7a95b94e65f91c79e21e6a1079fc4ad9ac36f948 | refs/heads/master | 2015-09-25T14:05:56.950000 | 2015-08-18T12:19:29 | 2015-08-18T12:19:29 | 40,519,068 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.qyou.es.query;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created: 5:25 PM 03/03/2014
*
* @author <a href="mailto:guo.song@qunar.com">guo.song</a>
*/
public class Pagination implements Serializable {
public final static int DEFAULT_PAGE_SIZE = 20;
pub... | UTF-8 | Java | 3,298 | java | Pagination.java | Java | [
{
"context": " 5:25 PM 03/03/2014\n *\n * @author <a href=\"mailto:guo.song@qunar.com\">guo.song</a>\n */\npublic class Pagination impleme",
"end": 192,
"score": 0.9999297261238098,
"start": 174,
"tag": "EMAIL",
"value": "guo.song@qunar.com"
},
{
"context": " *\n * @author <a href=\"... | null | [] | package com.qyou.es.query;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created: 5:25 PM 03/03/2014
*
* @author <a href="mailto:<EMAIL>">guo.song</a>
*/
public class Pagination implements Serializable {
public final static int DEFAULT_PAGE_SIZE = 20;
public final s... | 3,287 | 0.524939 | 0.512774 | 157 | 19.949045 | 17.751575 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.312102 | false | false | 9 |
4d215f7c614650a1f966751c8d85ee9a4f544b4c | 3,728,031,684,405 | 7b82d70ba5fef677d83879dfeab859d17f4809aa | /_part2/gray/gray/gray-manager/src/main/java/com/xlz/gray/service/StrategyService.java | d8447ca66c9064efbfda7f2a6b616687937ce315 | [] | no_license | apollowesley/jun_test | https://github.com/apollowesley/jun_test | fb962a28b6384c4097c7a8087a53878188db2ebc | c7a4600c3f0e1b045280eaf3464b64e908d2f0a2 | refs/heads/main | 2022-12-30T20:47:36.637000 | 2020-10-13T18:10:46 | 2020-10-13T18:10:46 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.xlz.gray.service;
import java.util.List;
import com.xlz.commons.base.service.BaseService;
import com.xlz.engine.common.config.Level;
import com.xlz.gray.model.Strategy;
public interface StrategyService extends BaseService<Strategy> {
List<Strategy> findStrategyByLink(Long id, String engineType,Level l... | UTF-8 | Java | 332 | java | StrategyService.java | Java | [] | null | [] | package com.xlz.gray.service;
import java.util.List;
import com.xlz.commons.base.service.BaseService;
import com.xlz.engine.common.config.Level;
import com.xlz.gray.model.Strategy;
public interface StrategyService extends BaseService<Strategy> {
List<Strategy> findStrategyByLink(Long id, String engineType,Level l... | 332 | 0.798193 | 0.798193 | 13 | 24.461538 | 25.665348 | 75 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.846154 | false | false | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.