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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e752131e65bc8ec864ee3e2c950cedb70fe6418a | 28,776,280,944,980 | 781548484a2325d5149bd91693f04e59fa6587c5 | /src/main/java/com/sunny/rabbitmq/springbootrabbitmq/service/producer/TopicSender.java | 0799a603084a51ef2134569d5ec60a05245ca2fa | [] | no_license | sunnyday94/springboot-rabbitmq | https://github.com/sunnyday94/springboot-rabbitmq | f5dffe240a8b7fa5c625e8e55a7e9b477200a1fb | b8844889fb874ccd4df7655c3e987bb7c86b9b1b | refs/heads/master | 2021-08-07T05:26:31.630000 | 2019-06-29T14:52:57 | 2019-06-29T14:52:57 | 161,769,695 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
* FileName: TopicSender
* Author: sunny
* Date: 2018/12/19 14:29
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.sunny.rabbitmq.springbootrabbitmq.service.producer;
import lombok.extern.slf4j.Slf4j;
import org.... | UTF-8 | Java | 1,058 | java | TopicSender.java | Java | [
{
"context": "/**\n * FileName: TopicSender\n * Author: sunny\n * Date: 2018/12/19 14:29\n * History:\n * <aut",
"end": 47,
"score": 0.999679684638977,
"start": 42,
"tag": "USERNAME",
"value": "sunny"
},
{
"context": "reotype.Component;\n\n/**\n * @description\n * @author sunny... | null | [] | /**
* FileName: TopicSender
* Author: sunny
* Date: 2018/12/19 14:29
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.sunny.rabbitmq.springbootrabbitmq.service.producer;
import lombok.extern.slf4j.Slf4j;
import org.... | 1,058 | 0.637597 | 0.604651 | 38 | 26.18421 | 23.432833 | 77 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.473684 | false | false | 9 |
7c695e91ca94c1c46b16d1b8ce6214199e5efe67 | 21,698,174,783,956 | b42789b7cd20f0bdc60f8763acef64f71e9b30ba | /src/test/java/ua/edu/ucu/collections/QueueTest.java | b8e30c3d3da52bcee1b17e41ace5a3648672e50b | [] | no_license | RomanBlahuta/apps19blahuta-hw2 | https://github.com/RomanBlahuta/apps19blahuta-hw2 | 33cdd6075574e0b22a137b37e66f65b0a34b7fef | 836eb7331b7e55c25f695a9b06d907f3af786429 | refs/heads/master | 2021-07-17T05:47:42.023000 | 2019-11-19T14:57:12 | 2019-11-19T14:57:12 | 219,022,924 | 0 | 0 | null | false | 2020-10-13T17:09:21 | 2019-11-01T16:30:32 | 2019-11-19T14:57:21 | 2020-10-13T17:09:20 | 42 | 0 | 0 | 1 | Java | false | false | package ua.edu.ucu.collections;
import org.junit.Test;
import static org.junit.Assert.*;
public class QueueTest {
@Test
public void testPeek() {
Queue queue = new Queue();
queue.enqueue(1);
assertEquals(queue.peek(), 1);
}
@Test(expected = IndexOutOfBoundsException.class)... | UTF-8 | Java | 1,141 | java | QueueTest.java | Java | [] | null | [] | package ua.edu.ucu.collections;
import org.junit.Test;
import static org.junit.Assert.*;
public class QueueTest {
@Test
public void testPeek() {
Queue queue = new Queue();
queue.enqueue(1);
assertEquals(queue.peek(), 1);
}
@Test(expected = IndexOutOfBoundsException.class)... | 1,141 | 0.568799 | 0.556529 | 55 | 19.745455 | 15.420433 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.490909 | false | false | 9 |
a65051ccf722cd4096529698e0b5acc62c4df490 | 2,388,001,828,470 | 25f020464689ba43b0b15da5bde2299d859693b6 | /server/src/main/java/com/ddhigh/netty/im/server/processor/UserProcessor.java | b4cef845164c5823a6610a4c240ae0f38b036a1b | [] | no_license | xialeistudio/netty-im | https://github.com/xialeistudio/netty-im | 7fe86602fd2ecf5431196189a3f4b3c1f9a8ad85 | f86a6ec4ffb5ffa91e57c465da5c6ca30da84ba4 | refs/heads/master | 2020-07-02T02:24:34.575000 | 2019-08-09T03:47:21 | 2019-08-09T03:47:21 | 201,384,881 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ddhigh.netty.im.server.processor;
import com.ddhigh.netty.im.common.constant.Command;
import com.ddhigh.netty.im.common.message.user.LoginRequest;
import com.ddhigh.netty.im.common.message.user.LoginResponse;
import com.ddhigh.netty.im.common.annotation.OnCommand;
import io.netty.channel.ChannelHandlerCont... | UTF-8 | Java | 1,238 | java | UserProcessor.java | Java | [
{
"context": ";\nimport java.util.Map;\n\n/**\n * 用户处理\n *\n * @author xialeistudio\n */\nclass UserProcessor {\n private static fina",
"end": 448,
"score": 0.999541163444519,
"start": 436,
"tag": "USERNAME",
"value": "xialeistudio"
}
] | null | [] | package com.ddhigh.netty.im.server.processor;
import com.ddhigh.netty.im.common.constant.Command;
import com.ddhigh.netty.im.common.message.user.LoginRequest;
import com.ddhigh.netty.im.common.message.user.LoginResponse;
import com.ddhigh.netty.im.common.annotation.OnCommand;
import io.netty.channel.ChannelHandlerCont... | 1,238 | 0.713816 | 0.707237 | 35 | 33.742859 | 29.161955 | 90 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.657143 | false | false | 9 |
43ef510fc51c0fce3faaf26079dcea67c01a88fe | 584,115,573,231 | 3fb5c70cfd6f2652006bc07535fe2c4e4d7d95af | /paha-ets-server/src/main/java/net/oal/ets/planhoraire/client/GrilleHoraire.java | a4bec8403fe2b86a411d010090c518c43f3aaa17 | [
"Apache-2.0"
] | permissive | oalnet/paha-ets | https://github.com/oalnet/paha-ets | fd1ac12b37c629c778d895402353d00a968d176b | 4309c855c63a6514c0b8327b11f9001d2e8d468c | refs/heads/master | 2016-09-06T19:28:19.547000 | 2014-04-04T05:50:58 | 2014-04-04T05:50:58 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package net.oal.ets.planhoraire.client;
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
public class GrilleHoraire implements IsSerializable {
private Collection evenements = new ArrayList();
public void addAll(Collection ... | UTF-8 | Java | 2,052 | java | GrilleHoraire.java | Java | [] | null | [] | package net.oal.ets.planhoraire.client;
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
public class GrilleHoraire implements IsSerializable {
private Collection evenements = new ArrayList();
public void addAll(Collection ... | 2,052 | 0.718324 | 0.718324 | 76 | 26 | 23.76087 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.078947 | false | false | 9 |
9f80c1b705403538beb471d836639ca86f0fc04f | 9,861,244,926,602 | f04873388b3b6e7a51359618eb7741fc06b8b9c1 | /src/obstacle/flyingEnemy.java | 2188dd8c34f7ead2adaf84f59484a83262208a76 | [] | no_license | pseudoPixels/obstaclX | https://github.com/pseudoPixels/obstaclX | 80f595ec512606e594cdb7a67040c5baaa5a3850 | 28a6c7162aa7eb16099a204a6117a5218b8cd713 | refs/heads/master | 2020-04-05T06:27:37.671000 | 2018-11-08T02:30:49 | 2018-11-08T02:30:49 | 156,638,870 | 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 obstacle;
import javafx.scene.image.Image;
/**
*
* @author mostaeen
*/
public class flyingEnemy extends Sprite{
Image img1;
Image img2;
Image img3;
Image img4;
Im... | UTF-8 | Java | 2,281 | java | flyingEnemy.java | Java | [
{
"context": "t javafx.scene.image.Image;\r\n\r\n/**\r\n *\r\n * @author mostaeen\r\n */\r\npublic class flyingEnemy extends Sprite{\r\n\r",
"end": 189,
"score": 0.999193012714386,
"start": 181,
"tag": "USERNAME",
"value": "mostaeen"
}
] | null | [] | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package obstacle;
import javafx.scene.image.Image;
/**
*
* @author mostaeen
*/
public class flyingEnemy extends Sprite{
Image img1;
Image img2;
Image img3;
Image img4;
Im... | 2,281 | 0.532223 | 0.507672 | 88 | 23.920454 | 21.667015 | 85 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.670455 | false | false | 9 |
a7260282529908dd387c9adf062bf417640617c7 | 13,752,485,301,501 | 6a8210afb256323f6d8f7eab3b17af0cdb9740a4 | /src/mobi/ii/SettingsActivity.java | 014f92851ef0f7ddd0b06f226bc2e001bb3c4f22 | [] | no_license | ujmiro/gentlealarm | https://github.com/ujmiro/gentlealarm | 15b451226a475b7b5a8fe615a256a5832cbc07d1 | a10cfa958c4909c8fee7a488f36ef7ac097fe984 | refs/heads/master | 2021-01-17T17:12:40.106000 | 2013-01-16T23:09:57 | 2013-01-16T23:09:57 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package mobi.ii;
import java.sql.SQLException;
import DB.OrmManager;
import DB.POCO.User;
import Singletons.Common;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSe... | UTF-8 | Java | 3,168 | java | SettingsActivity.java | Java | [] | null | [] | package mobi.ii;
import java.sql.SQLException;
import DB.OrmManager;
import DB.POCO.User;
import Singletons.Common;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSe... | 3,168 | 0.745896 | 0.741477 | 104 | 29.461538 | 24.637341 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.846154 | false | false | 9 |
f9f7da3d6d88dbdcedcbc21ef316bb8e7525dbaf | 26,740,466,392,203 | 597d36a436ab5629d87cf8221639eaee0db880ac | /src/fr/state/menu/MenuState.java | fdb8802945ab43329c229b6ccc309930e22dc500 | [] | no_license | celbax95/DefaultJavaScreen_V3 | https://github.com/celbax95/DefaultJavaScreen_V3 | 8f7d43b6adc2bf606b7a6ce70ac4ac6400a1cdec | ae329d1c06c47e44335a0f8758eccddf8c12af45 | refs/heads/master | 2020-05-17T13:58:45.326000 | 2019-12-12T16:32:45 | 2019-12-12T16:32:45 | 183,748,084 | 1 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | package fr.state.menu;
import java.awt.Color;
import java.awt.Graphics2D;
import java.util.Map;
import fr.imagesmanager.ImageManager;
import fr.inputs.Input;
import fr.statepanel.IAppState;
import fr.statepanel.StatePanel;
public class MenuState implements IAppState {
private Menu m;
private StatePanel sp;
pri... | UTF-8 | Java | 1,885 | java | MenuState.java | Java | [] | null | [] | package fr.state.menu;
import java.awt.Color;
import java.awt.Graphics2D;
import java.util.Map;
import fr.imagesmanager.ImageManager;
import fr.inputs.Input;
import fr.statepanel.IAppState;
import fr.statepanel.StatePanel;
public class MenuState implements IAppState {
private Menu m;
private StatePanel sp;
pri... | 1,885 | 0.73634 | 0.734218 | 89 | 20.179775 | 21.416975 | 77 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.41573 | false | false | 9 |
7e495bdb0522eca4a438d4dc719cba5b8de1dbb3 | 30,434,138,290,945 | 64b6aee2b96140b74a907f2746ea686e6beaaca4 | /app/src/main/java/team/monroe/org/pocketfit/view/presenter/TileViewPresenter.java | 6ee63d3892cf41afbe9703f93bd548e1788f8b5b | [] | no_license | mrjbee/pocketfit | https://github.com/mrjbee/pocketfit | 3722baac4022d66fa9293f2a3472e6c7bb80ab89 | e452b1fa248e648adc36ebf3b696ea1c6a98ef16 | refs/heads/master | 2021-01-10T20:49:57.356000 | 2015-06-21T15:26:01 | 2015-06-21T15:26:01 | 35,600,960 | 1 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package team.monroe.org.pocketfit.view.presenter;
import android.animation.Animator;
import android.view.View;
import org.monroe.team.android.box.app.ui.animation.apperrance.AppearanceController;
import org.monroe.team.android.box.utils.DisplayUtils;
import team.monroe.org.pocketfit.R;
import static org.monroe.team... | UTF-8 | Java | 1,129 | java | TileViewPresenter.java | Java | [] | null | [] | package team.monroe.org.pocketfit.view.presenter;
import android.animation.Animator;
import android.view.View;
import org.monroe.team.android.box.app.ui.animation.apperrance.AppearanceController;
import org.monroe.team.android.box.utils.DisplayUtils;
import team.monroe.org.pocketfit.R;
import static org.monroe.team... | 1,129 | 0.681134 | 0.671391 | 35 | 31.257143 | 32.559696 | 116 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.485714 | false | false | 9 |
b64d190dade5bbeddccc5555708791c15b4c010e | 26,766,236,231,616 | 59c78c06cc67d8c564a604cb05686eabda2b087d | /src/test/java/com/example/clase4/shopping/CartTest.java | 7298b0c365db86a7134bde2433ec83c529924626 | [] | no_license | ralfonso-rb/algoritmos-test-clase-4 | https://github.com/ralfonso-rb/algoritmos-test-clase-4 | be62a977d0307e66d0a47a3585755a7c30dddf30 | 2604e2d2132556b872e6dc5a0e5b943223b9ea7e | refs/heads/master | 2023-07-10T04:28:33.764000 | 2021-08-12T23:45:11 | 2021-08-12T23:45:11 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.clase4.shopping;
import com.example.clase4.exceptions.ProductNotFoundException;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class CartTest {
private final TestObjectFactory factory = new TestObjectFactory();
@Test
public void shoppingMustBeg... | UTF-8 | Java | 1,711 | java | CartTest.java | Java | [] | null | [] | package com.example.clase4.shopping;
import com.example.clase4.exceptions.ProductNotFoundException;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class CartTest {
private final TestObjectFactory factory = new TestObjectFactory();
@Test
public void shoppingMustBeg... | 1,711 | 0.670953 | 0.666861 | 62 | 26.596775 | 24.695213 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.467742 | false | false | 9 |
0aa8dbdd9e3e3a7d8fb52708e9f3ee06d8de6eef | 29,446,295,801,271 | c0449dfb8fc91ff58d7667c7e698c5990af458dc | /src/com/koumanwei/collection/ListDemo2.java | 7534b46d78915463fa8144f79c6d288ab3b3dd9c | [] | no_license | koumanwei/JavaDemo | https://github.com/koumanwei/JavaDemo | 36027405ac291a880a055b69c6c68ac319835f7d | 64f99ac84439d465499c6549768c68f4b0c64409 | refs/heads/master | 2020-05-27T04:47:38.609000 | 2017-06-01T09:41:04 | 2017-06-01T09:41:04 | 82,525,289 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.koumanwei.collection;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
/**
* 2017-04-14 下午4:45
*
* @author koumanwei
* @version 1.0
*/
public class ListDemo2 {
public static void main(String[] args) {
List list = new ArrayList<>();
show(list);
... | UTF-8 | Java | 1,981 | java | ListDemo2.java | Java | [
{
"context": "tIterator;\n\n/**\n * 2017-04-14 下午4:45\n *\n * @author koumanwei\n * @version 1.0\n */\npublic class ListDemo2 {\n ",
"end": 166,
"score": 0.9996677041053772,
"start": 157,
"tag": "USERNAME",
"value": "koumanwei"
}
] | null | [] | package com.koumanwei.collection;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
/**
* 2017-04-14 下午4:45
*
* @author koumanwei
* @version 1.0
*/
public class ListDemo2 {
public static void main(String[] args) {
List list = new ArrayList<>();
show(list);
... | 1,981 | 0.536258 | 0.521633 | 57 | 27.789474 | 17.612532 | 69 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.403509 | false | false | 9 |
5e6cf6d5868581659c3684a93d1c3a4efc7dcbda | 14,302,241,130,559 | 3bbd9f0789c8566acf92205af1a9a23229554f50 | /Metodologia_agil/src/gui/PopupPrinAdmPer.java | 7fc5958aa9a5459d0f54c9450f5bba93a4305d3d | [] | no_license | ronaldjCate/metodologiasAgiles | https://github.com/ronaldjCate/metodologiasAgiles | ed72d89ba5c3063036263a8abf819e92910b4c83 | 282c6dfa7e3f3ce320ead1ccae4dee5785d9b5e1 | refs/heads/master | 2023-08-29T11:26:31.045000 | 2021-10-03T01:13:09 | 2021-10-03T01:13:09 | 412,946,552 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package gui;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import com.toe... | ISO-8859-1 | Java | 10,006 | java | PopupPrinAdmPer.java | Java | [
{
"context": "pRegistrar);\n\t\t\n\t\tlblNombreCompleto = new JLabel(\"NOMBRE COMPLETO\");\n\t\tlblNombreCompleto.setBounds(131, 36, 129, 14",
"end": 3811,
"score": 0.9936361908912659,
"start": 3796,
"tag": "NAME",
"value": "NOMBRE COMPLETO"
},
{
"context": "Completo);\n\t\t\n\t\tlbl... | null | [] | package gui;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import com.toe... | 9,979 | 0.73953 | 0.710045 | 335 | 28.865671 | 26.020712 | 255 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.59403 | false | false | 9 |
fc65d5d410d298e3a0ef8176e135250fbffd6575 | 29,566,554,875,251 | e71ec471b7e475251f705ac91f030c6ba8a8b0c4 | /Java/SoftwareTesting/src/Main.java | bb45b066a9ea40f62d1fc4341a4790d7c41ecdee | [] | no_license | Tarrots/Tarrots.github.io | https://github.com/Tarrots/Tarrots.github.io | 48013c4e18d39fa004e70c1e7babf1eac74ef42f | 099a2a769255da8ecea05ff68dac6281e6e024bc | refs/heads/master | 2023-08-20T04:21:48.779000 | 2021-10-29T11:54:39 | 2021-10-29T11:54:39 | 376,303,573 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | import java.text.DecimalFormat;
public class Main {
public static void main(String[] args){
PTB2 pt2 = new PTB2(6,1,1);
System.out.println(pt2.giaiB2());
System.out.println(new DecimalFormat("#.##").format(1));
}
}
| UTF-8 | Java | 248 | java | Main.java | Java | [] | null | [] | import java.text.DecimalFormat;
public class Main {
public static void main(String[] args){
PTB2 pt2 = new PTB2(6,1,1);
System.out.println(pt2.giaiB2());
System.out.println(new DecimalFormat("#.##").format(1));
}
}
| 248 | 0.616935 | 0.580645 | 9 | 26.555555 | 20.688757 | 64 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | false | false | 9 |
cc6ffd033cd409271d9df9b24b503aff9a948255 | 3,856,880,693,056 | 7135cd4152fcd3255ffd4527e1194404aded88e9 | /src/unitTests/TriangleTest.java | 70902967fee4a77fe028e2837853dfb297b8544a | [] | no_license | kenis1234/Project | https://github.com/kenis1234/Project | 507c8d568979cc450f57242abf1c1639e762ab69 | 7c790dfdde6b249a0ec6ea82b9fbd8edc62cbe8c | refs/heads/master | 2020-06-10T23:09:06.193000 | 2019-07-08T01:42:05 | 2019-07-08T01:42:05 | 193,784,368 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package unitTests;
import geometries.Intersectable;
import geometries.Triangle;
import org.junit.jupiter.api.Test;
import primitives.Point3D;
import primitives.Ray;
import primitives.Vector;
import java.util.List;
import static junit.framework.TestCase.assertEquals;
public class TriangleTest {
Triangle triang... | UTF-8 | Java | 1,741 | java | TriangleTest.java | Java | [] | null | [] | package unitTests;
import geometries.Intersectable;
import geometries.Triangle;
import org.junit.jupiter.api.Test;
import primitives.Point3D;
import primitives.Ray;
import primitives.Vector;
import java.util.List;
import static junit.framework.TestCase.assertEquals;
public class TriangleTest {
Triangle triang... | 1,741 | 0.611717 | 0.515221 | 64 | 26.203125 | 23.269602 | 128 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.15625 | false | false | 9 |
d6b1cefb235232ca6ba1e5ccdaea25a6bfa6f38c | 27,187,143,026,377 | 08fb2e20a67de8a56a077fa03d68b7adfcb693e3 | /Java_programming/classtest1/trial3.java | 54a1820eeab1c51e8aeb77c0e170c66376ac6990 | [] | no_license | prat31/Programming | https://github.com/prat31/Programming | 3d8a873353035a37afe9e406b8044c246b8da476 | a8eaef19ce879ddf90541b66077804a363951eab | refs/heads/master | 2020-07-28T07:17:58.811000 | 2020-01-30T06:38:36 | 2020-01-30T06:38:36 | 199,895,046 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class trial3{
public static void main(String args[]){
int x=10;
int i=x++ + x-- + ++x + x++;
System.out.println("x = "+x+" i = "+i);
}
} | UTF-8 | Java | 175 | java | trial3.java | Java | [] | null | [] | public class trial3{
public static void main(String args[]){
int x=10;
int i=x++ + x-- + ++x + x++;
System.out.println("x = "+x+" i = "+i);
}
} | 175 | 0.462857 | 0.445714 | 7 | 24.142857 | 16.855932 | 47 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | false | false | 9 |
97119c51f8c208b413c3ba89c96548b940cb7e59 | 3,702,261,844,111 | fdfffa8cacb572a157ead4a9723f90b25ecfe50c | /modules/core/src/main/java/org/apache/ignite/internal/processors/cache/mvcc/MvccProcessorImpl.java | e23607f70658b04e54ead079bbde4c9699e34615 | [
"Apache-2.0",
"LicenseRef-scancode-gutenberg-2020",
"CC0-1.0",
"BSD-3-Clause"
] | permissive | apache/ignite | https://github.com/apache/ignite | 0bc83435a8db46d9c4df000fe05b1c70165b37d4 | dbf1c7825d74809cd6859c85a8ac9ed9ac071e39 | refs/heads/master | 2023-08-31T21:31:04.618000 | 2023-08-31T19:43:09 | 2023-08-31T19:43:09 | 31,006,158 | 4,806 | 2,308 | Apache-2.0 | false | 2023-09-14T18:56:33 | 2015-02-19T08:00:05 | 2023-09-14T02:08:45 | 2023-09-14T18:56:32 | 443,689 | 4,532 | 1,856 | 715 | Java | 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 regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | UTF-8 | Java | 86,062 | java | MvccProcessorImpl.java | Java | [] | 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 regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 86,062 | 0.573598 | 0.572459 | 2,475 | 33.772526 | 31.114588 | 136 | true | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.463838 | false | false | 9 |
3fa1246647b541d739d3a385b71c38e066df9844 | 29,368,986,424,337 | d6e817bd7d70c6d559ac7e3910e44cf7faa7c34d | /src/main/java/discuss/Services/Impl/PersonServiceImpl.java | e5f479b80ffa4cbf38feac173e526fc7e3c6864c | [] | no_license | K-Otto/BeekeeperSystem2016 | https://github.com/K-Otto/BeekeeperSystem2016 | 76c17230739c461930616195634e73272051279a | 5a4b3e96544c2ac950abc78130df2198df17509f | refs/heads/master | 2016-08-12T19:43:20.248000 | 2016-04-07T10:41:12 | 2016-04-07T10:41:12 | 55,368,687 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package discuss.Services.Impl;
import discuss.Services.PersonService;
import discuss.conf.factories.PersonFactory;
import discuss.domain.Person;
import discuss.respository.PersonRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* Created by ... | UTF-8 | Java | 885 | java | PersonServiceImpl.java | Java | [
{
"context": "ngframework.stereotype.Service;\n\n/**\n * Created by student on 2016/04/03.\n */\n\n@Service\npublic class PersonS",
"end": 327,
"score": 0.9796732068061829,
"start": 320,
"tag": "USERNAME",
"value": "student"
},
{
"context": "\n @Override\n public String savePer... | null | [] | package discuss.Services.Impl;
import discuss.Services.PersonService;
import discuss.conf.factories.PersonFactory;
import discuss.domain.Person;
import discuss.respository.PersonRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* Created by ... | 885 | 0.682486 | 0.673446 | 36 | 23.583334 | 21.239866 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | false | false | 9 |
d7fc7ddb500d36ba474be1ae3452ab88b4ecc7d9 | 13,700,945,702,094 | b42f17cbfb8a13d7960b44a83a70f4509b77ab13 | /api-bolao/src/main/java/br/com/deveficiente/bolaoapi/services/championship/ChampionshipRepository.java | a0ab7fa6f6c8d7b31fd17d1adbbb13126d6697bc | [
"MIT"
] | permissive | kevenLeandro/jornada-dev-eficiente | https://github.com/kevenLeandro/jornada-dev-eficiente | 3ead5a16e5efbdab33bca9277eda89b28a48bfca | 6c4f78088f3caa89fe71f7d118f26e0e82182139 | refs/heads/master | 2023-03-27T05:58:20.826000 | 2021-03-27T21:22:26 | 2021-03-27T21:22:26 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package br.com.deveficiente.bolaoapi.services.championship;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ChampionshipRepository extends JpaRepository<Championship, Long> {
}
| UTF-8 | Java | 210 | java | ChampionshipRepository.java | Java | [] | null | [] | package br.com.deveficiente.bolaoapi.services.championship;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ChampionshipRepository extends JpaRepository<Championship, Long> {
}
| 210 | 0.852381 | 0.852381 | 6 | 34 | 34.535007 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
5e5b7d93eddf3cf39e2b11ca4fd85aeae0b7572b | 14,534,169,392,173 | c6b2fbccbf4e93f4d7b52336c62d1dbf563a40bc | /app/src/main/java/br/com/fiap/mobintroducaoandroid_aula4_app3/MyItem.java | 1ff8e250b9b2e8092364ffa8fa71d753ca28bc5d | [] | no_license | michelpf/MOBIntroducaoAndroid_Aula4_App3 | https://github.com/michelpf/MOBIntroducaoAndroid_Aula4_App3 | 288dd074355a31f301da7a0f13189e09fdb81b42 | dd2fc761d015bb8a0f992c9e1cc030c6215894f4 | refs/heads/master | 2021-01-10T06:37:45.560000 | 2015-11-17T01:03:03 | 2015-11-17T01:03:03 | 46,313,801 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package br.com.fiap.mobintroducaoandroid_aula4_app3;
/**
* Created by michel on 16/11/15.
*/
public class MyItem {
private String value; // representa o texto a ser exibido
private int status; // representa o id da imagem
public MyItem(int status, String value) {
this.status = status;
t... | UTF-8 | Java | 623 | java | MyItem.java | Java | [
{
"context": "obintroducaoandroid_aula4_app3;\n\n/**\n * Created by michel on 16/11/15.\n */\npublic class MyItem {\n\n priva",
"end": 78,
"score": 0.7160804271697998,
"start": 72,
"tag": "USERNAME",
"value": "michel"
}
] | null | [] | package br.com.fiap.mobintroducaoandroid_aula4_app3;
/**
* Created by michel on 16/11/15.
*/
public class MyItem {
private String value; // representa o texto a ser exibido
private int status; // representa o id da imagem
public MyItem(int status, String value) {
this.status = status;
t... | 623 | 0.605136 | 0.592295 | 35 | 16.799999 | 18.376694 | 61 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | false | false | 9 |
f818f7cfa9960ad5ce09d28ca71b6e2db3cc1644 | 28,157,805,660,140 | 13f795b71e9f2a58664fdf77bb274a8c1804e671 | /sensors/src/main/java/com/muzammilpeer/sensors/gy91/GY91.java | 8351aaac07b97623f8339b907f11b4d63e388c58 | [] | no_license | muzammilpeer/GY-91-PI4J | https://github.com/muzammilpeer/GY-91-PI4J | d82e50fb803c8910dca60bdc987aa33f54b5f4b6 | 5cbdba30b0a81b32377adbc5048a0f015d7f42d4 | refs/heads/master | 2021-08-31T19:47:07.704000 | 2017-12-22T16:19:14 | 2017-12-22T16:19:14 | 115,128,000 | 4 | 4 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.muzammilpeer.sensors.gy91;
import static com.pi4j.wiringpi.Gpio.delay;
import static com.pi4j.wiringpi.Gpio.wiringPiSetup;
public class GY91 {
public void readDataFromSensors() {
int[] ACCxyz = new int[3];
int[] GYRxyz = new int[3];
int[] MAGxyz = new int[3];
float[] M... | UTF-8 | Java | 1,983 | java | GY91.java | Java | [] | null | [] | package com.muzammilpeer.sensors.gy91;
import static com.pi4j.wiringpi.Gpio.delay;
import static com.pi4j.wiringpi.Gpio.wiringPiSetup;
public class GY91 {
public void readDataFromSensors() {
int[] ACCxyz = new int[3];
int[] GYRxyz = new int[3];
int[] MAGxyz = new int[3];
float[] M... | 1,983 | 0.564866 | 0.463907 | 48 | 40.270832 | 40.94648 | 177 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.020833 | false | false | 9 |
2b22e4ddfbb227d58cacfd77809606a7b08b1a65 | 33,328,946,232,562 | f4c19876809ce24ef5261bb34924caf84bf2f919 | /src/main/java/com/onlineinteract/fileserver/FraudCheckApp.java | f9a37e7f98d78fe9ab84051952025db8b2f748d2 | [] | no_license | gar2000b/fraud-check-service | https://github.com/gar2000b/fraud-check-service | 7418a362c1739f58b928bbcdc23edd06ae84b505 | e849f24f166bfe44e4cd746dbfb902a03049f00b | refs/heads/master | 2021-08-26T01:00:05.726000 | 2021-08-04T17:50:56 | 2021-08-04T17:50:56 | 244,992,194 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.onlineinteract.fileserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FraudCheckApp {
public static void main(String[] args) {
SpringApplication.run(FraudCheckApp.class, args);
}
}
| UTF-8 | Java | 314 | java | FraudCheckApp.java | Java | [] | null | [] | package com.onlineinteract.fileserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FraudCheckApp {
public static void main(String[] args) {
SpringApplication.run(FraudCheckApp.class, args);
}
}
| 314 | 0.821656 | 0.821656 | 13 | 23.153847 | 23.458134 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.692308 | false | false | 9 |
52c08238055857800702ddb203b7991bc9b16092 | 14,929,306,380,209 | faea6ee05d497d8db7739b8ec07d5f653b4a0121 | /helium-boot/helium-boot-starter/src/main/java/org/helium/framework/spi/task/TaskProduceCounters.java | 1c7a7411d38444d7937dca098689bd902fa91a8e | [
"Apache-2.0"
] | permissive | 1034323716/spring-cloud-helium | https://github.com/1034323716/spring-cloud-helium | 49fd926fcf8d56dd446df0f757b3c8cb94f0423c | f51bdf5356b9d5c39bfd98f0006d1fc246d2f374 | refs/heads/master | 2021-05-26T01:40:47.972000 | 2020-03-14T12:00:03 | 2020-03-14T12:00:03 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.helium.framework.spi.task;
/**
* Created by Coral on 10/22/15.
*/
public class TaskProduceCounters {
}
| UTF-8 | Java | 118 | java | TaskProduceCounters.java | Java | [
{
"context": " org.helium.framework.spi.task;\n\n/**\n * Created by Coral on 10/22/15.\n */\npublic class TaskProduceCounters",
"end": 63,
"score": 0.9624897241592407,
"start": 58,
"tag": "USERNAME",
"value": "Coral"
}
] | null | [] | package org.helium.framework.spi.task;
/**
* Created by Coral on 10/22/15.
*/
public class TaskProduceCounters {
}
| 118 | 0.711864 | 0.661017 | 7 | 15.857142 | 16.400597 | 38 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | false | false | 9 |
1e2afdd1b3f61f8e108c04df45900ee7d3bf1b27 | 21,981,642,621,832 | 4202aa0d0d8f893d83f9fa49651b676f78904650 | /chapter_003/src/main/java/ru/lotnyk/FinderFile/Validate.java | 391e136b18c93bae63add7c720bc0c8d5e90df7e | [
"Apache-2.0"
] | permissive | RomanLotnyk/lotnyk | https://github.com/RomanLotnyk/lotnyk | 7e833144e4b2d8719dd78cf48cb6187c93cf8a2f | d8e6d60a7a0dd7e78e63eb3dad86d541b71911c4 | refs/heads/master | 2017-12-12T22:23:47.975000 | 2017-11-03T14:39:28 | 2017-11-03T14:39:28 | 78,433,397 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ru.lotnyk.FinderFile;
/**
* Class Validate.
* @author Roman Lotnyk(romanlotnik@yandex.ru)
* @version 1
* @since 26.04.2017
*/
public class Validate {
/**
* list command.
*/
private String[] list = {"-d", "-n", "-r", "-f", "-o"};
/**
* method validateKeys.
* @param key key
... | UTF-8 | Java | 940 | java | Validate.java | Java | [
{
"context": "nyk.FinderFile;\n\n/**\n * Class Validate.\n * @author Roman Lotnyk(romanlotnik@yandex.ru)\n * @version 1\n * @since 26",
"end": 77,
"score": 0.9998524785041809,
"start": 65,
"tag": "NAME",
"value": "Roman Lotnyk"
},
{
"context": ";\n\n/**\n * Class Validate.\n * @autho... | null | [] | package ru.lotnyk.FinderFile;
/**
* Class Validate.
* @author <NAME>(<EMAIL>)
* @version 1
* @since 26.04.2017
*/
public class Validate {
/**
* list command.
*/
private String[] list = {"-d", "-n", "-r", "-f", "-o"};
/**
* method validateKeys.
* @param key key
* @return retur... | 920 | 0.51383 | 0.497872 | 38 | 23.736841 | 23.406796 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | false | false | 9 |
c271499b9e5f09626f97215edf405001fd47ff5f | 28,802,050,718,969 | 0ec9494d780bb818014f2d3c18933d4417040128 | /coral-web/coral-simple-web2/src/main/java/com/coral/simple/web2/service/TestService.java | f7d0540ee57d5a6bd186122ab4e87b7c263c38b8 | [] | no_license | coralloc8/springboot-example | https://github.com/coralloc8/springboot-example | c7e14c3ab0ecac1920365267dc7abb086fcde880 | 80b80afe4e666c6285f3dd492d436c6f6c03216d | refs/heads/master | 2023-02-19T23:54:44.445000 | 2023-02-13T09:03:40 | 2023-02-13T09:03:40 | 274,320,100 | 1 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.coral.simple.web2.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.coral.base.common.exception.SystemException;
import com.coral.base.common.mybatis.service.IMybatisService;
import com.coral.database.test.mybatis.primary.entity.Test;
import com.coral.database.test.mybatis.secondary... | UTF-8 | Java | 1,719 | java | TestService.java | Java | [
{
"context": "a.util.List;\nimport java.util.Map;\n\n/**\n * @author huss\n * @version 1.0\n * @className ITestService\n * @de",
"end": 467,
"score": 0.9995795488357544,
"start": 463,
"tag": "USERNAME",
"value": "huss"
}
] | null | [] | package com.coral.simple.web2.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.coral.base.common.exception.SystemException;
import com.coral.base.common.mybatis.service.IMybatisService;
import com.coral.database.test.mybatis.primary.entity.Test;
import com.coral.database.test.mybatis.secondary... | 1,719 | 0.581089 | 0.56912 | 91 | 17.362637 | 18.147453 | 64 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | false | false | 9 |
971c31890c659b78b0b1e1a1bc9eefd9edf46230 | 3,006,477,173,555 | 629223f007f5ac4c75d696207fad46d2d0e552c2 | /src/main/java/RulesEngine/Rule.java | 826d9fadfe5761dec057a7a5f5731c3262053d90 | [] | no_license | OlgaLGb/RulesEngine | https://github.com/OlgaLGb/RulesEngine | f707c0178a240cab0db86a85cd89107c05e0e50c | 8de38a70cb66968ffcb898f43e063313c39140ac | refs/heads/main | 2023-07-08T02:53:12.279000 | 2021-08-17T02:20:05 | 2021-08-17T02:20:05 | 396,201,995 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package RulesEngine;
class Rule
{
public Rule(String theName) {
Name = theName;
}
public String Name;
public String ConditionField;
public Conditions Condition;
public String ConditionValue;
public String ActionField;
public ActionTypes ActionType;
public String ActionVal... | UTF-8 | Java | 4,202 | java | Rule.java | Java | [] | null | [] | package RulesEngine;
class Rule
{
public Rule(String theName) {
Name = theName;
}
public String Name;
public String ConditionField;
public Conditions Condition;
public String ConditionValue;
public String ActionField;
public ActionTypes ActionType;
public String ActionVal... | 4,202 | 0.534983 | 0.533317 | 128 | 31.828125 | 29.62582 | 110 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.515625 | false | false | 9 |
616afff8a7b317a0b3aeb6bc69175775270a9064 | 16,698,832,913,447 | 79de5d74e8237e7b1c4b25354f98a2a674242c09 | /src/main/java/blockchaincode/service/IHKCoinService.java | d9c9fb334b1ca7a3cb2214d8c9ae77fd4c2ea736 | [] | no_license | SoyWang/hkcoin-provider | https://github.com/SoyWang/hkcoin-provider | 444686e3e6e4d1c91b2f1c7a71265ed44ed320d0 | 1c70853cc538793b99d37c6913538a595b84d9ec | refs/heads/master | 2021-05-26T04:16:48.236000 | 2020-04-28T04:06:05 | 2020-04-28T04:06:05 | 254,049,220 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package blockchaincode.service;
import java.util.Map;
/**
* 构件币服务接口
* @author WangSong
*
*/
public interface IHKCoinService {
/**
* 初始币账户 --- 构件用户与币账户绑定
* @param username 被操作者
* @param path 证书文件根目录
*/
void initAccount(String username,String path) throws Exception;
/**
* 币操作转出 --- 奖励
* @param use... | UTF-8 | Java | 1,297 | java | IHKCoinService.java | Java | [
{
"context": "\n\nimport java.util.Map;\n\n/**\n * 构件币服务接口\n * @author WangSong\n *\n */\npublic interface IHKCoinService {\n\n\t/**\n\t ",
"end": 90,
"score": 0.9518630504608154,
"start": 82,
"tag": "NAME",
"value": "WangSong"
},
{
"context": "tion;\n\n\t/**\n\t * 币操作转出 --- 奖励\n\t *... | null | [] | package blockchaincode.service;
import java.util.Map;
/**
* 构件币服务接口
* @author WangSong
*
*/
public interface IHKCoinService {
/**
* 初始币账户 --- 构件用户与币账户绑定
* @param username 被操作者
* @param path 证书文件根目录
*/
void initAccount(String username,String path) throws Exception;
/**
* 币操作转出 --- 奖励
* @param use... | 1,297 | 0.678341 | 0.678341 | 58 | 17.706896 | 20.994259 | 93 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.189655 | false | false | 9 |
825acfff66b8e1e15dbedca6c1bae49de448f279 | 6,949,257,129,341 | 42674ccea190addb0b5142205e30211c7f2c6ffa | /src/main/java/com/awakeee/hodgepodge/thread1/myLock/MyLock.java | f50e894822493d8a203bb3781c764764c28e652d | [] | no_license | awakeeeeeeeee/hodgepodge | https://github.com/awakeeeeeeeee/hodgepodge | aa5117e368fe4652a476e08b64347aa9e8f54bb2 | 63258217007dd9a6b6eb7c1c7a96c580cfae1d34 | refs/heads/master | 2022-07-16T13:25:05.609000 | 2022-07-02T12:16:28 | 2022-07-02T12:16:28 | 167,149,045 | 0 | 0 | null | false | 2022-07-02T14:15:22 | 2019-01-23T08:48:39 | 2022-07-02T14:15:05 | 2022-07-02T14:15:22 | 204 | 0 | 0 | 4 | Java | false | false | package com.awakeee.hodgepodge.thread1.myLock;
import java.util.LinkedList;
import java.util.Queue;
//错误的锁 无法保证同步
//逻辑存在问题,原因在于if的判断,假设线程1执行完将lock修改为true,后续的线程全部处于等待,但是一旦线程1执行完后,唤醒全部等待线程
//这个时候,被唤醒的线程都将执行isLock=true的代码,那么执行完这个同步块后,有可能多个线程同时继续执行下面的内容,无法保证后续的逻辑
//是一个原子操作
//正确的做法应该是讲if改为while
public class MyLock impleme... | UTF-8 | Java | 1,931 | java | MyLock.java | Java | [] | null | [] | package com.awakeee.hodgepodge.thread1.myLock;
import java.util.LinkedList;
import java.util.Queue;
//错误的锁 无法保证同步
//逻辑存在问题,原因在于if的判断,假设线程1执行完将lock修改为true,后续的线程全部处于等待,但是一旦线程1执行完后,唤醒全部等待线程
//这个时候,被唤醒的线程都将执行isLock=true的代码,那么执行完这个同步块后,有可能多个线程同时继续执行下面的内容,无法保证后续的逻辑
//是一个原子操作
//正确的做法应该是讲if改为while
public class MyLock impleme... | 1,931 | 0.582637 | 0.580707 | 72 | 20.597221 | 22.241514 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.236111 | false | false | 9 |
54ff843d196b9e21af7227dccc1a4fc38e930301 | 25,984,552,181,920 | 3aa78e34b0c865763fae633abf6c4ecbff7764eb | /Turn3-02-10/app/src/main/java/com/example/tuyenpham/turn3_02_10/StoryViewHolder.java | fc262c02e7d3ad1b0839ebbdce3a4b0282ce9915 | [] | no_license | Tuyen96/Tuyen-st-andriod5 | https://github.com/Tuyen96/Tuyen-st-andriod5 | 5d72777c7279a77dbb1b5b5ec5251fd21f6c20bf | 003cd2b1bf6181cff50b108512e74588c023c689 | refs/heads/master | 2021-01-13T10:35:31.668000 | 2016-10-07T03:46:04 | 2016-10-07T03:46:04 | 68,981,459 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.tuyenpham.turn3_02_10;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* Created by Tuyen Pham on 02/10/2016.
*/
public class StoryViewHolder {
@BindView(R.id.iv_image)
public Im... | UTF-8 | Java | 749 | java | StoryViewHolder.java | Java | [
{
"context": "import butterknife.ButterKnife;\n\n/**\n * Created by Tuyen Pham on 02/10/2016.\n */\n\npublic class StoryViewHolder ",
"end": 226,
"score": 0.9998615384101868,
"start": 216,
"tag": "NAME",
"value": "Tuyen Pham"
}
] | null | [] | package com.example.tuyenpham.turn3_02_10;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* Created by <NAME> on 02/10/2016.
*/
public class StoryViewHolder {
@BindView(R.id.iv_image)
public ImageV... | 745 | 0.712951 | 0.695594 | 29 | 24.827587 | 17.126444 | 60 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.482759 | false | false | 9 |
505bc97e6082f0d1569bf432460af1bcfd212a82 | 31,447,750,549,415 | 262bded17d31b2b2763b2c0a69445de7f0613d08 | /elf14batch/src/WebElementMethods/ToverifyRightAllignment.java | c898b6781c093be3213157602c22d474440db993 | [] | no_license | Jeevitha-elf/sample | https://github.com/Jeevitha-elf/sample | d87e4e799388bfd492a41597eb386a8277f0212d | 5b04941d3acfd5fb5b090fe26a2c138d9b044f40 | refs/heads/master | 2023-05-04T17:31:45.794000 | 2021-05-14T08:40:03 | 2021-05-14T08:40:03 | 366,597,777 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package WebElementMethods;
import org.openqa.selenium.By;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.chrome.ChromeDriver;
public class ToverifyRightAllignment {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","./Drivers/chromedriver.exe");
Chro... | UTF-8 | Java | 974 | java | ToverifyRightAllignment.java | Java | [
{
"context": "le po = driver.findElement(By.xpath(\"//input[@id='username']\")).getRect();\r\n\t\tint a = po.x;\r\n int b= ",
"end": 509,
"score": 0.7222467064857483,
"start": 501,
"tag": "USERNAME",
"value": "username"
}
] | null | [] | package WebElementMethods;
import org.openqa.selenium.By;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.chrome.ChromeDriver;
public class ToverifyRightAllignment {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","./Drivers/chromedriver.exe");
Chro... | 974 | 0.617043 | 0.61499 | 31 | 29.419355 | 25.693949 | 103 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.258065 | false | false | 9 |
0feb90277bc131de419d15601e25fa06f8731282 | 26,250,840,155,852 | 1585837a4f17168ecde104ef2f45115a46ca8090 | /First_Test/src/com/iflysse/learn/day10/Student.java | c1e95e34d21a8e81dc97c66fce7bed54bfe2d68c | [] | no_license | Jasecharloote/practice-javaproject | https://github.com/Jasecharloote/practice-javaproject | 8bece4900ccb7a92b124be75dee247adc53a2b92 | eaabcff1b79206bf88f185b9fab3ec228472de81 | refs/heads/master | 2019-08-02T00:30:31.968000 | 2016-11-21T01:34:49 | 2016-11-21T01:34:49 | 74,270,428 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.iflysse.learn.day10;
public class Student{
public Student(){}
public Student(String studentNo,String pass){
this.studentNo = studentNo;
this.pass = pass;
}
private String studentNo;
private String pass;
public String getStudentNo() {
return studentNo;
}
public String getPass() {
return pass... | UTF-8 | Java | 574 | java | Student.java | Java | [] | null | [] | package com.iflysse.learn.day10;
public class Student{
public Student(){}
public Student(String studentNo,String pass){
this.studentNo = studentNo;
this.pass = pass;
}
private String studentNo;
private String pass;
public String getStudentNo() {
return studentNo;
}
public String getPass() {
return pass... | 574 | 0.696864 | 0.69338 | 27 | 20.296297 | 18.636513 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.851852 | false | false | 9 |
ead40b83ba2465d0e207b6770bb805af68148677 | 9,268,539,468,988 | 5c612c6c50287d1eb108ce078fa1d05cacc8c60b | /src/main/java/com/nutrix/query/application/services/AppointmentQueryService.java | d04c03dad3752018f4edda46329599b2c7ba3a81 | [] | no_license | CodeTechFundamentos/appointment-service | https://github.com/CodeTechFundamentos/appointment-service | 7b5d68870ba61a51dfe9fd887d41af8af95af9fa | ab4f955a6eff2c5011bbca33e991fbe3fd83c3bd | refs/heads/main | 2023-08-28T23:08:18.217000 | 2021-10-31T02:52:20 | 2021-10-31T02:52:20 | 412,908,893 | 0 | 0 | null | false | 2021-10-31T02:52:20 | 2021-10-02T20:50:49 | 2021-10-02T20:50:52 | 2021-10-31T02:52:20 | 70 | 0 | 0 | 0 | null | false | false | package com.nutrix.query.application.services;
import com.nutrix.command.domain.Appointment;
import com.nutrix.command.infra.IAppointmentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactio... | UTF-8 | Java | 1,379 | java | AppointmentQueryService.java | Java | [] | null | [] | package com.nutrix.query.application.services;
import com.nutrix.command.domain.Appointment;
import com.nutrix.command.infra.IAppointmentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactio... | 1,379 | 0.770848 | 0.767948 | 44 | 30.34091 | 28.825449 | 91 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.386364 | false | false | 9 |
6f4bbe5dc86d1ed5709bfd49eaa5de7b24bdace2 | 27,943,057,280,264 | cd8b08b1ef941ea7ccac82ca2ba80f112198ddca | /spring-wm-test/src/main/java/com/wm/spring/annotionConfig/Juice.java | c9508b51555b783042fca96e02fe3c297758df61 | [
"Apache-2.0"
] | permissive | lss598018587/spring | https://github.com/lss598018587/spring | df89119ed6d90013a0a8ad85c2809315a6d87cca | 3139dd7651146b930d3c86cceba61a3fa3228ea1 | refs/heads/master | 2020-08-31T17:42:50.882000 | 2020-05-08T10:01:20 | 2020-05-08T10:01:20 | 218,746,896 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.wm.spring.annotionConfig;
import org.springframework.beans.factory.annotation.Autowired;
public class Juice {
@Autowired
private Apple apple;
public void call(){
System.out.println("juice call");
apple.call();
}
}
| UTF-8 | Java | 238 | java | Juice.java | Java | [] | null | [] | package com.wm.spring.annotionConfig;
import org.springframework.beans.factory.annotation.Autowired;
public class Juice {
@Autowired
private Apple apple;
public void call(){
System.out.println("juice call");
apple.call();
}
}
| 238 | 0.743697 | 0.743697 | 14 | 16 | 17.820534 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.928571 | false | false | 9 |
67ea0bde8120ccec1710f6c65d6fcb8a29f2731a | 33,243,046,872,307 | dfd3328426acc82f66ea050d480c79710be3dbba | /products-service/src/main/java/project/webshop/service/ProductService.java | a88d4b6e842388fb5553ab23adfb805160bb4373 | [] | no_license | hiejulia/webshop-microservice | https://github.com/hiejulia/webshop-microservice | f5ae67bf052c55671f5d580647456982b67cfbd8 | 0aee366438fffb6876a092af9acb6609f80ae577 | refs/heads/master | 2021-09-07T17:16:49.370000 | 2018-02-26T18:29:07 | 2018-02-26T18:29:07 | 121,985,053 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package project.webshop.service;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
impor... | UTF-8 | Java | 4,609 | java | ProductService.java | Java | [
{
"context": "t a Penny More, Not a Penny less\",259.23,\"Novel by Jeffery Archer\", \"Novel\");\n Product product2 = new Produc",
"end": 2835,
"score": 0.9998735189437866,
"start": 2821,
"tag": "NAME",
"value": "Jeffery Archer"
},
{
"context": ".randomUUID().toString(), \"Mac... | null | [] | package project.webshop.service;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
impor... | 4,592 | 0.705142 | 0.690171 | 138 | 32.398552 | 32.209805 | 152 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.84058 | false | false | 9 |
ce3e909773a3edf432debdc96b91d7bf5e0361b0 | 21,199,958,628,981 | 64afe0c01cc75a4247986b9f03e9c9580b959b74 | /app/src/main/java/com/example/jetmentor/ui/forum/ForumCommentAdapter.java | 33b392641b9ff457c8a5c34896861e7263c6ec11 | [] | no_license | nickhaeff/JetMentor | https://github.com/nickhaeff/JetMentor | 2affae092785fce92de258ee9cbe9c1afde3da52 | 623fb74be865d4d3fca2f9fc98ca1054a9099b02 | refs/heads/master | 2020-12-28T10:45:35.557000 | 2020-04-23T14:44:37 | 2020-04-23T14:44:37 | 238,294,677 | 1 | 0 | null | false | 2020-04-23T05:13:42 | 2020-02-04T20:02:02 | 2020-04-23T04:07:21 | 2020-04-23T05:13:41 | 55,259 | 0 | 0 | 1 | Java | false | false | package com.example.jetmentor.ui.forum;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import co... | UTF-8 | Java | 1,481 | java | ForumCommentAdapter.java | Java | [] | null | [] | package com.example.jetmentor.ui.forum;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import co... | 1,481 | 0.701553 | 0.701553 | 61 | 23.278688 | 25.060015 | 97 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.491803 | false | false | 9 |
7ea66736f0fe50a4f8d7aa8ceef5a8088c54549b | 16,466,904,616,463 | 35882e9a12811690d10107dd3d7b10d3eb3057c8 | /app/src/main/java/com/example/yenduy/knu/TipsRoom.java | 5b7daf48c5d6e95231c8b59b343b9672c0482208 | [] | no_license | Yenkobe/KNU | https://github.com/Yenkobe/KNU | 1b7a87da746ad231801c438bcb03003213a034ff | 8f9066c8048ebac183bca23b19285c18ddef3112 | refs/heads/master | 2021-08-07T02:15:23.422000 | 2018-06-20T11:35:39 | 2018-06-20T11:35:39 | 129,245,134 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.yenduy.knu;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.GridLayout;
import android.widget.ImageButton;
import com.google.... | UTF-8 | Java | 2,274 | java | TipsRoom.java | Java | [] | null | [] | package com.example.yenduy.knu;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.GridLayout;
import android.widget.ImageButton;
import com.google.... | 2,274 | 0.520668 | 0.516711 | 70 | 31.485714 | 25.862131 | 91 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.485714 | false | false | 9 |
269729882772c582867dc9dc2ba2943d65f17904 | 19,430,432,048,247 | bd7a1db1bbd4510e4da2abca0aa4a7e1825721f9 | /RemoveDupFromSortedLL.java | 5cb7edeb69ddfc0a68f147237ea17ad23c7dcee3 | [] | no_license | Tianzhang0809/leetcode | https://github.com/Tianzhang0809/leetcode | 7ddc6231a4d6257222c8c2faef97cfdccd06e87f | 92ac3ab151b84240fea2c76b412f7cae028d6793 | refs/heads/master | 2021-01-25T05:34:13.010000 | 2014-05-31T21:49:50 | 2014-05-31T21:49:50 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class RemoveDupFromSortedLL {
public static void main(String[] args) {
ListNode head = new ListNode(1);
ListNode n2 = new ListNode(1);
ListNode n3 = new ListNode(2);
ListNode n4 = new ListNode(3);
ListNode n5 = new ListNode(3);
head.next = n2;
n2.next = n3;
n3.next = n4;
n4.next = n5;
Lis... | UTF-8 | Java | 804 | java | RemoveDupFromSortedLL.java | Java | [] | null | [] | public class RemoveDupFromSortedLL {
public static void main(String[] args) {
ListNode head = new ListNode(1);
ListNode n2 = new ListNode(1);
ListNode n3 = new ListNode(2);
ListNode n4 = new ListNode(3);
ListNode n5 = new ListNode(3);
head.next = n2;
n2.next = n3;
n3.next = n4;
n4.next = n5;
Lis... | 804 | 0.605721 | 0.585821 | 43 | 17.697674 | 16.669893 | 57 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2 | false | false | 9 |
f490513d41c03c01f13d377764a9f6d3ea702824 | 27,719,718,928,554 | 6b94d4c9607d724c6ebcd9daa3628e0714c00683 | /src/main/java/cn/littlehans/ShowPhotoApplication.java | 01178c8768388e0a07cf8585cef97c1a419eeba5 | [] | no_license | LittleHans8/ShowPhoto | https://github.com/LittleHans8/ShowPhoto | 9f623eaa007a5faad215ba71ff46250dd5c6b536 | 3663e593979847a8cbcd5ec4854208deecf59343 | refs/heads/master | 2016-09-24T23:52:35.027000 | 2016-09-15T05:40:16 | 2016-09-15T05:40:16 | 68,269,400 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package cn.littlehans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ShowPhotoApplication {
public static void main(String[] args) {
SpringApplication.run(ShowPhotoApplication.class, args);
}
}
| UTF-8 | Java | 311 | java | ShowPhotoApplication.java | Java | [] | null | [] | package cn.littlehans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ShowPhotoApplication {
public static void main(String[] args) {
SpringApplication.run(ShowPhotoApplication.class, args);
}
}
| 311 | 0.826367 | 0.826367 | 12 | 24.916666 | 24.008533 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | false | false | 9 |
0df3921ab4fa3b92eee8492198fdcb3cc0990a9f | 30,365,418,844,272 | ef3127184d6a9e980a8563faf51bfa47c00c7048 | /ArduiNoTLR/src/main/java/fr/polytech/dsl/processor/behavioral/TransExcept.java | c687c92a4ef4652038016e59bf1733c435f46ab8 | [] | no_license | Akuni/ArduiNoTLR | https://github.com/Akuni/ArduiNoTLR | 1f84ebc003e15eab01b702a38ba805c00c3d03d5 | 18a0b7282219bb3d512bbafa50954b7009300071 | refs/heads/master | 2021-01-11T23:38:32.535000 | 2017-02-14T16:57:33 | 2017-02-14T16:57:33 | 78,614,818 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package fr.polytech.dsl.processor.behavioral;
import fr.polytech.dsl.processor.generator.Visitable;
import fr.polytech.dsl.processor.generator.Visitor;
import fr.polytech.dsl.processor.structural.Sensor;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* Created by Akuni on 06/02/2017.
*/
@Data
@AllArgsCon... | UTF-8 | Java | 545 | java | TransExcept.java | Java | [
{
"context": "onstructor;\nimport lombok.Data;\n\n/**\n * Created by Akuni on 06/02/2017.\n */\n@Data\n@AllArgsConstructor\npubl",
"end": 283,
"score": 0.8506035804748535,
"start": 278,
"tag": "USERNAME",
"value": "Akuni"
}
] | null | [] | package fr.polytech.dsl.processor.behavioral;
import fr.polytech.dsl.processor.generator.Visitable;
import fr.polytech.dsl.processor.generator.Visitor;
import fr.polytech.dsl.processor.structural.Sensor;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* Created by Akuni on 06/02/2017.
*/
@Data
@AllArgsCon... | 545 | 0.757798 | 0.743119 | 23 | 22.695652 | 19.391695 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | false | false | 9 |
f989cd5ee2555ab121b4df5c4ea8dcc36f5a3ae8 | 15,152,644,621,425 | 9d163aa0c8f7cbaec449b166043f67a5a4a37dba | /HelloGif/app/src/main/java/com/ming/hellogif/android/GifHelper.java | 1a639c60f05824e15d0f2bc16b307bca02e758a5 | [
"Apache-2.0"
] | permissive | CoderDaMing/HelloGif | https://github.com/CoderDaMing/HelloGif | 7a247c62a3cd544a8065ad4c0c68af022c876fca | c4d8dddf53bb18a0aafd59e5bf3cc3575c7b8b57 | refs/heads/main | 2023-01-12T10:35:15.124000 | 2020-11-10T14:00:21 | 2020-11-10T14:00:21 | 311,576,964 | 5 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ming.hellogif.android;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.util.Log;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.A... | UTF-8 | Java | 2,543 | java | GifHelper.java | Java | [
{
"context": "va.util.List;\n\n/**\n * android包下Gif帮助实现\n * @author: ming\n * @date: 2020/9/21 16:01\n * version:1.0\n */\npubl",
"end": 394,
"score": 0.9948486089706421,
"start": 390,
"tag": "USERNAME",
"value": "ming"
}
] | null | [] | package com.ming.hellogif.android;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.util.Log;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.A... | 2,543 | 0.549901 | 0.541153 | 90 | 26.944445 | 17.386688 | 72 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.522222 | false | false | 9 |
60a1bbc3152b3fbc885635da7f80cb1649cb2673 | 18,983,755,459,012 | 7c1c97c6fa3fbc7293bf7f6532b4d0145774e888 | /LAB_03/src/main/java/ClassUnderTest.java | 9032dd13afe116031bf3fe108adee99662df9b31 | [] | no_license | se562115009/automateTest | https://github.com/se562115009/automateTest | 9e0346a7436b1e1a687c1ac761a5f9ef37973aac | 8b48811bf425773401b870d6116d3e8d461d2503 | refs/heads/master | 2020-12-24T08:01:37.272000 | 2016-12-13T08:49:33 | 2016-12-13T08:49:33 | 73,344,912 | 0 | 0 | null | false | 2016-11-27T07:44:48 | 2016-11-10T03:43:37 | 2016-11-10T03:46:05 | 2016-11-26T08:43:43 | 211 | 0 | 0 | 0 | Java | null | null | /**
* Created by mac on 11/9/2016 AD.
*/
public class ClassUnderTest {
public int doAdd (int a, int b){
if (a == 0 || b == 0 || a<0 || b<0 ){
return 0;
}
else { return a+b;}
}
public int doAdd (int ...a){
int size = a.length;
int sum = 0;
for ... | UTF-8 | Java | 3,518 | java | ClassUnderTest.java | Java | [
{
"context": "/**\n * Created by mac on 11/9/2016 AD.\n */\npublic class ClassUnderTest ",
"end": 21,
"score": 0.5905272364616394,
"start": 18,
"tag": "USERNAME",
"value": "mac"
}
] | null | [] | /**
* Created by mac on 11/9/2016 AD.
*/
public class ClassUnderTest {
public int doAdd (int a, int b){
if (a == 0 || b == 0 || a<0 || b<0 ){
return 0;
}
else { return a+b;}
}
public int doAdd (int ...a){
int size = a.length;
int sum = 0;
for ... | 3,518 | 0.512507 | 0.496589 | 135 | 25.059259 | 20.186451 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.614815 | false | false | 9 |
68eadd219df72def1a68fb58f9455033848fe30b | 10,797,547,794,329 | 988fd5244d9bc01e3eb6e7ef5738e846370061e8 | /src/main/java/ps/dp/knapsack01/TargetSum.java | 3540adffa94e7b4e29b149e9aaa20970736609cd | [] | no_license | SinghDharmendra/DSA-PS | https://github.com/SinghDharmendra/DSA-PS | a96341716ab88afaf6d9c6d4bfac944493e49dfe | 185e18cf74f823e83c95c90defa97e7acd6b3c3c | refs/heads/master | 2021-09-25T23:10:09.348000 | 2021-09-19T10:48:31 | 2021-09-19T10:48:31 | 176,408,145 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package ps.dp.knapsack01;
public class TargetSum {
/**
* s1 - s2 target sum
*
* now reduce to CountTheNumberOfSubsetWithAGivenDifference
* CountTheNumberOfSubsetWithAGivenDifference
* s1=(sum+diff)/2
*
* count sub set sum with s1
*/
}
| UTF-8 | Java | 280 | java | TargetSum.java | Java | [] | null | [] | package ps.dp.knapsack01;
public class TargetSum {
/**
* s1 - s2 target sum
*
* now reduce to CountTheNumberOfSubsetWithAGivenDifference
* CountTheNumberOfSubsetWithAGivenDifference
* s1=(sum+diff)/2
*
* count sub set sum with s1
*/
}
| 280 | 0.639286 | 0.614286 | 13 | 20.538462 | 18.378983 | 63 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | false | false | 9 |
65b2d3d89fed3a3dba75bbf1aa672b9d59ff1473 | 10,557,029,634,232 | 6a39af7b8aa339c6997780a65b9d8bb69e401a6b | /src/com/scottlogic/thull/appstore/api/utils/auth/SaltedCustomRealm.java | 1648d368708ee51760554e9b1890ac11bf7884d2 | [
"Apache-2.0"
] | permissive | thullSL/app-store-api | https://github.com/thullSL/app-store-api | e6e69d6f532f8ccda6d55cf539f0c7d61cb1d719 | 56b127806041407a3e25db0983e4bfa35345ffd0 | refs/heads/master | 2021-01-10T02:38:24.629000 | 2015-11-10T10:51:10 | 2015-11-10T10:51:10 | 44,607,013 | 0 | 0 | null | false | 2015-11-10T10:48:40 | 2015-10-20T13:09:42 | 2015-10-20T13:28:56 | 2015-11-10T10:48:39 | 220 | 0 | 0 | 0 | Java | null | null | package com.scottlogic.thull.appstore.api.utils.auth;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.SaltedAuthenticati... | UTF-8 | Java | 1,406 | java | SaltedCustomRealm.java | Java | [] | null | [] | package com.scottlogic.thull.appstore.api.utils.auth;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.SaltedAuthenticati... | 1,406 | 0.813656 | 0.812233 | 38 | 36 | 30.381781 | 113 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.526316 | false | false | 9 |
b8fa7b68b2632ba8d73b4ff803756a30d36c2de8 | 28,827,820,555,462 | 5b7cc7427948645c143330f3c8b3f1dd13e8ef19 | /app/src/main/java/com/houranos/beatdown/TouchControlView.java | fadaaf2ffcb49a176b765d42bba0b7c6eba8a693 | [] | no_license | houranos/BEATdown | https://github.com/houranos/BEATdown | 3a429eb642bc0791078552003b8854913e589547 | e5a2c71865ff8e21b29cd99b35f553e6d71113d2 | refs/heads/master | 2021-04-03T04:06:41.102000 | 2018-05-16T13:22:41 | 2018-05-16T13:22:41 | 124,545,681 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.houranos.beatdown;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.util.AttributeSet;
import android.view.View;
public class TouchControlView extends View {
LayoutInflater inflater;
public TouchControlView... | UTF-8 | Java | 1,484 | java | TouchControlView.java | Java | [] | null | [] | package com.houranos.beatdown;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.util.AttributeSet;
import android.view.View;
public class TouchControlView extends View {
LayoutInflater inflater;
public TouchControlView... | 1,484 | 0.679245 | 0.677224 | 46 | 31.26087 | 24.198845 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.913043 | false | false | 9 |
4ca5a76ab1a058ecb081020784ae6a15b115eefc | 24,421,184,066,595 | 0248cd99e0257997ef97a5f841e1e858a20b0eac | /app/src/main/java/com/example/damihl/robotmove/tasks/TaskThread.java | cf5e92f14074215de350e29d7b5d92423da9e6c9 | [] | no_license | dAmihl/aisRobot | https://github.com/dAmihl/aisRobot | 26f39b9b571d8b86d47ba8160f56933b5f75e6f1 | 80c5a27fd3b1061caf70c7cb02ccf1415104a133 | refs/heads/master | 2016-09-05T23:48:05.793000 | 2015-06-15T08:48:10 | 2015-06-15T08:48:10 | 32,146,093 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.damihl.robotmove.tasks;
import com.example.damihl.robotmove.controls.ControlManager;
import com.example.damihl.robotmove.utils.EventCallback;
/**
* Created by dAmihl on 15.04.15.
*/
public class TaskThread extends Thread {
private Task task;
private EventCallback callback;
private ... | UTF-8 | Java | 864 | java | TaskThread.java | Java | [
{
"context": ".robotmove.utils.EventCallback;\n\n/**\n * Created by dAmihl on 15.04.15.\n */\npublic class TaskThread extends ",
"end": 188,
"score": 0.9965906739234924,
"start": 182,
"tag": "USERNAME",
"value": "dAmihl"
}
] | null | [] | package com.example.damihl.robotmove.tasks;
import com.example.damihl.robotmove.controls.ControlManager;
import com.example.damihl.robotmove.utils.EventCallback;
/**
* Created by dAmihl on 15.04.15.
*/
public class TaskThread extends Thread {
private Task task;
private EventCallback callback;
private ... | 864 | 0.642361 | 0.633102 | 34 | 24.411764 | 21.721659 | 73 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.382353 | false | false | 9 |
143e06d3a4294cf6a4659de2a1a6ceefa0c63708 | 24,421,184,065,586 | 747ff066aa805c084ca16ce8daf313b08bb7be58 | /src/England/Origin/FirstPlugin/Commands/Teleporting/sethome.java | 87dd41b1a3f4254ca238df1f313b0777de3695f8 | [] | no_license | joeyoung658/FirstPlugin | https://github.com/joeyoung658/FirstPlugin | c8ab2e58339fd1f375a3e734b5599df5695bded2 | d62e21057c8b3c98429b6f40de2dc957801e85be | refs/heads/master | 2023-02-15T06:21:55.750000 | 2021-01-07T09:35:39 | 2021-01-07T09:35:39 | 315,460,081 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package England.Origin.FirstPlugin.Commands.Teleporting;
import England.Origin.FirstPlugin.Data.GetData;
import England.Origin.FirstPlugin.Data.HomeData;
import England.Origin.FirstPlugin.Data.PlayerNameData;
import England.Origin.FirstPlugin.Main;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import... | UTF-8 | Java | 3,603 | java | sethome.java | Java | [
{
"context": "til.List;\nimport java.util.Set;\n\n/**\n * Created by Joes_room on 11/02/2016.\n */\npublic class sethome implement",
"end": 577,
"score": 0.9995642900466919,
"start": 568,
"tag": "USERNAME",
"value": "Joes_room"
}
] | null | [] | package England.Origin.FirstPlugin.Commands.Teleporting;
import England.Origin.FirstPlugin.Data.GetData;
import England.Origin.FirstPlugin.Data.HomeData;
import England.Origin.FirstPlugin.Data.PlayerNameData;
import England.Origin.FirstPlugin.Main;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import... | 3,603 | 0.512906 | 0.507633 | 77 | 45.805195 | 39.045773 | 178 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.844156 | false | false | 9 |
e2f76854f53988efc758458434717fe29d2338ac | 34,359,738,381,739 | 01a87df595ec36064ebe21ff3ddd714f742899f1 | /onos-spoof/src/main/java/org/onos/byon/DeviceService.java | f95b1f95c5d657578712f06f9f714579759f9267 | [
"Apache-2.0"
] | permissive | hugolin615/onos-app-old | https://github.com/hugolin615/onos-app-old | 16c1e4ac82399ca8ebf3b4da5729fe13bb7df670 | 295518c0d90838042578c046c47cbb262cc74dfb | refs/heads/master | 2023-06-08T09:33:48.302000 | 2019-06-24T23:08:33 | 2019-06-24T23:08:33 | 159,065,532 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.onos.byon;
import org.onosproject.event.ListenerService;
import org.onosproject.net.HostId;
import java.util.Set;
/**
* Created by hugo on 8/29/16.
*/
public interface DeviceService extends ListenerService<NetworkEvent, NetworkListener> {
void updateConn();
}
| UTF-8 | Java | 284 | java | DeviceService.java | Java | [
{
"context": ".HostId;\n\nimport java.util.Set;\n\n/**\n * Created by hugo on 8/29/16.\n */\npublic interface DeviceService ex",
"end": 151,
"score": 0.9990792274475098,
"start": 147,
"tag": "USERNAME",
"value": "hugo"
}
] | null | [] | package org.onos.byon;
import org.onosproject.event.ListenerService;
import org.onosproject.net.HostId;
import java.util.Set;
/**
* Created by hugo on 8/29/16.
*/
public interface DeviceService extends ListenerService<NetworkEvent, NetworkListener> {
void updateConn();
}
| 284 | 0.757042 | 0.739437 | 16 | 16.75 | 23.169214 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | false | false | 9 |
6c63b2a8d414a34959b8f71f6cbfa43c4561a549 | 29,703,993,848,669 | 44da4ea33b29bf4da9311db0632800a12c3fb41f | /momo/src/com/entity/question/QuestionDTO.java | e4d19aecea7ec47bf0c9dacdbbe3eaff52527621 | [] | no_license | wkdaudwn11/momo | https://github.com/wkdaudwn11/momo | eca6cb0f565f820ec36997108e735b086ec0907b | 57e7ed294abe37fc03f9d6187172092cafe8ae0a | refs/heads/master | 2021-01-22T23:48:34.241000 | 2017-07-01T08:08:24 | 2017-07-01T08:08:24 | 85,671,826 | 0 | 0 | null | false | 2017-07-01T08:08:25 | 2017-03-21T07:29:23 | 2017-03-21T07:32:43 | 2017-07-01T08:08:25 | 82,559 | 0 | 0 | 0 | Java | null | null | package com.entity.question;
public class QuestionDTO {
private int ref;
private int qlevel;
private int qnum;
private String id;
private String password;
private String category;
private String title;
private String content;
private String author;
private String writeday;
private int readCn... | UTF-8 | Java | 2,518 | java | QuestionDTO.java | Java | [
{
"context": "s.qnum = qnum;\r\n\t\tthis.id = id;\r\n\t\tthis.password = password;\r\n\t\tthis.category = category;\r\n\t\tthis.title = tit",
"end": 640,
"score": 0.9989557266235352,
"start": 632,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "num=\" + qnum + \", id=\" + id ... | null | [] | package com.entity.question;
public class QuestionDTO {
private int ref;
private int qlevel;
private int qnum;
private String id;
private String password;
private String category;
private String title;
private String content;
private String author;
private String writeday;
private int readCn... | 2,522 | 0.633836 | 0.633836 | 131 | 17.221375 | 19.655153 | 109 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.603053 | false | false | 9 |
0262b7739fbf4d82bd14aeb7fd17b23e555de77a | 29,703,993,846,659 | 6943e6d3fd29fe4632e2ee4b545ad220ddec3adc | /src/domian/PageBean.java | 4144e7edb7598fb759b541343c6311746a6aa383 | [] | no_license | liyingdan/Photo_Stu1 | https://github.com/liyingdan/Photo_Stu1 | 0947e72ca191fc5eb99b6039c21ff1223d3ac780 | e292ee5e20c1a86fbb0af15f83c8e3d250ad13f2 | refs/heads/master | 2020-07-16T20:50:37.244000 | 2019-09-03T03:02:42 | 2019-09-03T03:02:42 | 205,866,121 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package domian;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
@Setter@Getter
public class PageBean {
private Integer currentPage;
private Integer totalPage;
private Integer totalCount;
private List<combo> comboList = new ArrayList<>();
private List<clothes> clothe... | UTF-8 | Java | 352 | java | PageBean.java | Java | [] | null | [] | package domian;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
@Setter@Getter
public class PageBean {
private Integer currentPage;
private Integer totalPage;
private Integer totalCount;
private List<combo> comboList = new ArrayList<>();
private List<clothes> clothe... | 352 | 0.769886 | 0.769886 | 17 | 19.705883 | 16.134598 | 55 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.941176 | false | false | 9 |
47ff4078580dec361d2ebb0db2d28cea7cd3390a | 3,143,916,118,554 | 6899d2116e283b86cd9f980e110b46eea86ec00b | /tx-client/src/main/java/com/codingapi/tx/aop/service/impl/TransactionServerFactoryServiceImpl.java | a1a3b8e939df76f0017e87d23d1b7c57ae9bde6f | [
"Apache-2.0"
] | permissive | SaberSola/lcn4.1.0-springboot2.0 | https://github.com/SaberSola/lcn4.1.0-springboot2.0 | d1c4b8f71e042385ae141504949dd30b6acc3046 | 81cd4da0b4cfaf1d564c94a03c8bc87dca9ed683 | refs/heads/master | 2020-04-20T05:48:51.182000 | 2019-02-20T09:18:02 | 2019-02-20T09:18:02 | 168,665,895 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.codingapi.tx.aop.service.impl;
import com.codingapi.tx.aop.bean.TxTransactionInfo;
import com.codingapi.tx.aop.service.TransactionServer;
import com.codingapi.tx.aop.service.TransactionServerFactoryService;
import com.codingapi.tx.datasource.ILCNTransactionControl;
import com.codingapi.tx.framework.utils.S... | UTF-8 | Java | 4,048 | java | TransactionServerFactoryServiceImpl.java | Java | [
{
"context": "pringframework.stereotype.Service;\n\n/**\n * @author lorne\n * @date 2017/6/8\n */\n@Service\npublic class Trans",
"end": 566,
"score": 0.9996778964996338,
"start": 561,
"tag": "USERNAME",
"value": "lorne"
}
] | null | [] | package com.codingapi.tx.aop.service.impl;
import com.codingapi.tx.aop.bean.TxTransactionInfo;
import com.codingapi.tx.aop.service.TransactionServer;
import com.codingapi.tx.aop.service.TransactionServerFactoryService;
import com.codingapi.tx.datasource.ILCNTransactionControl;
import com.codingapi.tx.framework.utils.S... | 4,048 | 0.664459 | 0.662154 | 90 | 37.577778 | 33.249218 | 167 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.411111 | false | false | 9 |
117c28aecf8964746c65682b06bbc6fecdaf5404 | 11,287,174,102,261 | c4bb8d3259fe50c080c479cbc8d29b1d6ef4bb96 | /proj1/GenomicDNASequence.java | 5c8c30210976e041aaccbbd8cf802dec81eaf942 | [] | no_license | lilkrohn/COM-S-228 | https://github.com/lilkrohn/COM-S-228 | 79584e6e949373b1f27978c8e694fecbda70264e | 035507221018b1389050f2379c81ba5c1f11311b | refs/heads/master | 2020-04-23T17:35:52.193000 | 2019-02-18T18:58:40 | 2019-02-18T18:58:40 | 171,337,101 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package edu.iastate.cs228.proj1;
/**
* @author Lillian Krohn
*/
public class GenomicDNASequence extends DNASequence {
private boolean[] iscoding;
/**
* If the character array argument has a character on which the method
* {@link #isValidLetter(char)} returns {@code false}, then it throws
* {@link java.lang... | UTF-8 | Java | 5,913 | java | GenomicDNASequence.java | Java | [
{
"context": "package edu.iastate.cs228.proj1;\n\n/**\n * @author Lillian Krohn\n */\n\npublic class GenomicDNASequence extends DNAS",
"end": 62,
"score": 0.999829113483429,
"start": 49,
"tag": "NAME",
"value": "Lillian Krohn"
}
] | null | [] | package edu.iastate.cs228.proj1;
/**
* @author <NAME>
*/
public class GenomicDNASequence extends DNASequence {
private boolean[] iscoding;
/**
* If the character array argument has a character on which the method
* {@link #isValidLetter(char)} returns {@code false}, then it throws
* {@link java.lang.Illega... | 5,906 | 0.645189 | 0.632505 | 149 | 38.684563 | 32.062458 | 114 | false | false | 49 | 0.008287 | 0 | 0 | 0 | 0 | 2.228188 | false | false | 9 |
086b2e684f40fd01f3e32a76b54beac7b75382c1 | 21,758,304,372,944 | 53e66cad351dc8b7f5b6fe618bc65c0d25576a19 | /app/src/main/java/com/example/andrew_nguyen/smart_mirror/latitude_longitude/Lat_Long_Call.java | c3bdabd69e9dd9fa227a554c05cf58b015255e8b | [] | no_license | andrewnguyen22/smart_mirror | https://github.com/andrewnguyen22/smart_mirror | d223eb60a2ed804e9d66e62ab2f7f282ab5590d3 | 944fa7091a2ee9b20417b956180a90a92aa8c396 | refs/heads/master | 2021-01-20T21:35:41.344000 | 2017-10-29T18:42:14 | 2017-10-29T18:42:14 | 101,773,163 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.andrew_nguyen.smart_mirror.latitude_longitude;
import com.example.andrew_nguyen.smart_mirror.tools.Http_Service;
/**
* Created by andrew_nguyen on 9/8/17.
*/
public class Lat_Long_Call {
final String API = "&key=AIzaSyBXe10E2rgsJD2J4UOysvu8NyEEnYBORTc";
final String URL = "https://maps.... | UTF-8 | Java | 573 | java | Lat_Long_Call.java | Java | [
{
"context": "mart_mirror.tools.Http_Service;\n\n/**\n * Created by andrew_nguyen on 9/8/17.\n */\n\npublic class Lat_Long_Call {\n ",
"end": 166,
"score": 0.999553918838501,
"start": 153,
"tag": "USERNAME",
"value": "andrew_nguyen"
},
{
"context": "ublic class Lat_Long_Call {\n ... | null | [] | package com.example.andrew_nguyen.smart_mirror.latitude_longitude;
import com.example.andrew_nguyen.smart_mirror.tools.Http_Service;
/**
* Created by andrew_nguyen on 9/8/17.
*/
public class Lat_Long_Call {
final String API = "&key=AIzaSyBXe10E2rgsJD2J4UOysvu8NyEEnYBORTc";
final String URL = "https://maps.... | 573 | 0.696335 | 0.678883 | 17 | 32.705883 | 28.663904 | 84 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.470588 | false | false | 9 |
a0b02344eb7d816e7114af339f840ab6b6c82ac8 | 1,314,260,035,197 | bb67a78d03a88c269561bd3707c0208d9fe88eb3 | /app/src/main/java/com/thuis/gameversie2/Items/Tools/Axe.java | 37d4b31cc984910593ee9f16b971c82361294f79 | [] | no_license | Mizzcoollizz/GameVersie3 | https://github.com/Mizzcoollizz/GameVersie3 | 88961b2a4770da7fc9cc09b73d1217cdf8d55917 | 72cd5e00a7e08917fb703e8e7efcbb2ddff75a48 | refs/heads/master | 2016-03-23T02:33:57.733000 | 2015-09-22T09:20:03 | 2015-09-22T09:20:03 | 42,920,014 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.thuis.gameversie2.Items.Tools;
import com.thuis.gameversie2.Items.Item;
import com.thuis.gameversie2.Items.Tools.Tool;
/**
* Created by Elize on 7-9-2015.
*/
public class Axe extends Tool {
@Override
public void setImage() {
}
}
| UTF-8 | Java | 260 | java | Axe.java | Java | [
{
"context": "s.gameversie2.Items.Tools.Tool;\n\n/**\n * Created by Elize on 7-9-2015.\n */\npublic class Axe extends Tool {\n",
"end": 156,
"score": 0.8038709163665771,
"start": 151,
"tag": "NAME",
"value": "Elize"
}
] | null | [] | package com.thuis.gameversie2.Items.Tools;
import com.thuis.gameversie2.Items.Item;
import com.thuis.gameversie2.Items.Tools.Tool;
/**
* Created by Elize on 7-9-2015.
*/
public class Axe extends Tool {
@Override
public void setImage() {
}
}
| 260 | 0.7 | 0.665385 | 16 | 15.25 | 17.21373 | 46 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | false | false | 9 |
2e6adce6fdf9921571d88560f06d8308cd21ea19 | 1,314,260,033,051 | 276a303de03e89547041a86b3d8d4b4e48c97b12 | /src/database/DatabaseHandler.java | 2df7c3274a178999d7896474005beca078211fbb | [] | no_license | valymirauta/Evifact | https://github.com/valymirauta/Evifact | e3e69d7054c4d7546161456d7b5fbb0282f17e65 | e7a21557e1602dfd7b3f8782ac06dbbdaa3bdc4d | refs/heads/master | 2023-01-07T04:37:13.193000 | 2020-11-07T23:53:23 | 2020-11-07T23:53:23 | 300,926,597 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package database;
import java.sql.*;
public class DatabaseHandler {
public static DatabaseHandler handler = null;
public final String DB_URL = "jdbc:sqlite:evifact.db";
public static Connection conn = null;
public static Statement stmt = null;
private DatabaseHandler() {
createConnection(... | UTF-8 | Java | 5,505 | java | DatabaseHandler.java | Java | [] | null | [] | package database;
import java.sql.*;
public class DatabaseHandler {
public static DatabaseHandler handler = null;
public final String DB_URL = "jdbc:sqlite:evifact.db";
public static Connection conn = null;
public static Statement stmt = null;
private DatabaseHandler() {
createConnection(... | 5,505 | 0.491916 | 0.491916 | 146 | 36.69178 | 23.278412 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.609589 | false | false | 9 |
19f2a5180f1a5f2a72f3c9ce7eea25ffb68b2c07 | 27,925,877,391,897 | 38a58f00c96c0a38942552af08aab1ef28fa1c2d | /Core/strings/maxBlock.java | a512cd67a8a62b9229efbe16ded8a49b9a81fdc1 | [] | no_license | nikonst/Java | https://github.com/nikonst/Java | 7bee25b6176354acc56d4677369fa4036bfd5658 | e0bd0d2c8d60a2c5fbe5168a075495a78ffeb6aa | refs/heads/master | 2022-02-27T09:19:23.586000 | 2019-11-08T18:57:52 | 2019-11-08T18:57:52 | 106,376,581 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package strings;
import java.util.*;
/**
* Created by Nikos on 8/22/2017.
*
Given a string, return the length of the largest "block" in the string.
A block is a run of adjacent chars that are the same.
maxBlock("hoopla") - 2
maxBlock("abbCCCddBBBxx") - 3
maxBlock("") - 0
*/
public class maxBloc... | UTF-8 | Java | 1,494 | java | maxBlock.java | Java | [
{
"context": "ings;\r\n\r\nimport java.util.*;\r\n\r\n/**\r\n * Created by Nikos on 8/22/2017.\r\n *\r\n Given a string, return the le",
"end": 67,
"score": 0.9981272220611572,
"start": 62,
"tag": "NAME",
"value": "Nikos"
}
] | null | [] | package strings;
import java.util.*;
/**
* Created by Nikos on 8/22/2017.
*
Given a string, return the length of the largest "block" in the string.
A block is a run of adjacent chars that are the same.
maxBlock("hoopla") - 2
maxBlock("abbCCCddBBBxx") - 3
maxBlock("") - 0
*/
public class maxBloc... | 1,494 | 0.439759 | 0.421017 | 58 | 23.758621 | 18.334356 | 72 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.448276 | false | false | 9 |
a9ca204a79dff4e81590782c45c50e26d72e43ee | 35,862,976,931,865 | ac77aac7143e1fddfb0bd5c489e20153a83a0eb9 | /src/main/java/controllers/UsersListController.java | 0de990aa79b2167c28988ab2400b0d57adf42669 | [] | no_license | nolimit4hate/java-lesson8webintro | https://github.com/nolimit4hate/java-lesson8webintro | 173b844ef4bc12f4dd25963a87afa285b89b21a2 | 8ed89ee4948e5aed97d742286a5c94941100d784 | refs/heads/master | 2020-04-20T21:05:15.047000 | 2019-03-26T15:35:29 | 2019-03-26T15:35:29 | 169,097,323 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package controllers;
import dao.exceptions.DAOException;
import dao.user.DAOUser;
import model.UserBean;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impor... | UTF-8 | Java | 1,630 | java | UsersListController.java | Java | [] | null | [] | package controllers;
import dao.exceptions.DAOException;
import dao.user.DAOUser;
import model.UserBean;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impor... | 1,630 | 0.746626 | 0.744785 | 41 | 38.756096 | 35.191311 | 113 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.609756 | false | false | 9 |
1fcf676ee22de259d5862da22f75b395c64f2cb1 | 28,467,043,260,019 | c9beae66e09d16c6f4c6a60fe2b409277110376a | /newproject/src/GUI.java | a4d5bfb2aa576f25b3df5e45a1a701bcd91af738 | [] | no_license | votr123/imosquadjava | https://github.com/votr123/imosquadjava | 7f739fe1d3a9b4e5220755f5c3a7c229d7fe7a75 | d56057aa48988e0f9b85bcefa354b3691ba47624 | refs/heads/master | 2021-07-08T05:32:22.159000 | 2017-09-30T23:24:18 | 2017-09-30T23:24:18 | 105,406,472 | 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.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sq... | UTF-8 | Java | 14,865 | java | GUI.java | Java | [
{
"context": "x.swing.table.DefaultTableModel;\n/**\n *\n * @author root\n */\npublic class GUI extends javax.swing.JFrame {",
"end": 461,
"score": 0.9981242418289185,
"start": 457,
"tag": "USERNAME",
"value": "root"
},
{
"context": "t.Color(254, 254, 254));\n jLabel1.setText(... | 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.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sq... | 14,865 | 0.629196 | 0.604978 | 361 | 40.177284 | 32.250435 | 159 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.941828 | false | false | 9 |
2b2ade6a755a06ed68aae29acd9614c1580d3dbb | 27,187,143,013,817 | 7bc6780372597ed806015351c86aa9cbcf3b8448 | /src/wtyDemo/Day0212.java | d7f784687845360c8b75886f5a076479134d152e | [] | no_license | yiTian66/wangtyJava | https://github.com/yiTian66/wangtyJava | b947072d653122d18efdbbbc0ef9c06f11c82cb3 | 8c5569331d793a11848ebcd79f5d1a2e86709c42 | refs/heads/master | 2020-03-22T23:42:26.381000 | 2019-12-21T03:16:04 | 2019-12-21T03:16:04 | 140,824,450 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package wtyDemo;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
import java.util.regex.Pattern;
public class Day0212 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String time = new SimpleDateFormat("YYYY-MM-dd a hh:mm:ss").fo... | UTF-8 | Java | 1,404 | java | Day0212.java | Java | [] | null | [] | package wtyDemo;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
import java.util.regex.Pattern;
public class Day0212 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String time = new SimpleDateFormat("YYYY-MM-dd a hh:mm:ss").fo... | 1,404 | 0.446588 | 0.434718 | 53 | 24.433962 | 19.49021 | 87 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.528302 | false | false | 9 |
88759fe60dd0247f85460c9a498dd942ff919a8b | 3,006,477,159,015 | cb810809ee8a4be44a6a97184d18faa4237f48a7 | /doit-for-java/src/main/java/algobox/doitforjava/chap04/NO1377.java | 597b580ca2735786a7d560d252b92152b56fcf20 | [] | no_license | ahn-sj/Algorithm | https://github.com/ahn-sj/Algorithm | 4c600f53ae3d9d0b69eb26138dd5efcb04d5946d | 2a8a9e9ed4772eedf8c5fee12822b2ca7de57205 | refs/heads/main | 2023-06-06T10:47:45.098000 | 2023-04-28T16:01:30 | 2023-04-28T16:01:30 | 323,878,038 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package algobox.doitforjava.chap04;
import java.io.*;
import java.util.Arrays;
public class NO1377 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int size = Integer.parseInt(br.readLine());
Pair[] pai... | UTF-8 | Java | 1,458 | java | NO1377.java | Java | [] | null | [] | package algobox.doitforjava.chap04;
import java.io.*;
import java.util.Arrays;
public class NO1377 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int size = Integer.parseInt(br.readLine());
Pair[] pai... | 1,458 | 0.484225 | 0.473937 | 58 | 24.137932 | 19.166645 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.62069 | false | false | 9 |
1eb7f7ce445f21ed5fac006e7957d3ea669b2f22 | 9,723,805,995,716 | 4709cd76d32e34853d3fdc041c0bff91bafd4022 | /Spring05_Final/src/main/java/com/gura/spring05/exception/ExceptionController.java | 49d44f1b2854cae0fc772f9b8c65eee5969dd222 | [] | no_license | JihyeYoon-91/Spring-prac | https://github.com/JihyeYoon-91/Spring-prac | 0a6d7bed026642376ac62b2c7ad7535ec590f49e | af03cbb7f9882123e9a061965750161cf12652c1 | refs/heads/master | 2022-12-24T05:52:43.643000 | 2020-02-07T00:40:38 | 2020-02-07T00:40:38 | 235,761,014 | 0 | 0 | null | false | 2022-12-16T03:08:20 | 2020-01-23T09:20:41 | 2020-02-07T00:40:55 | 2022-12-16T03:08:16 | 11,979 | 0 | 0 | 36 | JavaScript | false | false | package com.gura.spring05.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAn... | UTF-8 | Java | 1,143 | java | ExceptionController.java | Java | [] | null | [] | package com.gura.spring05.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAn... | 1,143 | 0.755627 | 0.753483 | 28 | 32.32143 | 23.756283 | 81 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
3d392bd9750f8320f4548d0ba86d543b47e332d6 | 26,731,876,477,428 | c02f604a0db5167220f88b956741bb9c79f46098 | /app/src/main/java/com/cbslprojects/crm/CRM/Activitys/ConsumableOrderActivity.java | d942ed03ab525c71ca4e4d7c12d257f7f8b230bc | [] | no_license | anku1207/CbslCRMJAVA | https://github.com/anku1207/CbslCRMJAVA | 19cc3846483cf63e512504b7b13f6a2367635bf6 | 084abbbe9d1852744c474bede6838702e63ea42e | refs/heads/main | 2023-06-26T12:54:49.135000 | 2021-07-23T07:17:29 | 2021-07-23T07:17:29 | 385,818,302 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.cbslprojects.crm.CRM.Activitys;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.Vi... | UTF-8 | Java | 29,849 | java | ConsumableOrderActivity.java | Java | [] | null | [] | package com.cbslprojects.crm.CRM.Activitys;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.Vi... | 29,849 | 0.541057 | 0.538477 | 707 | 41.219234 | 34.172268 | 141 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.664781 | false | false | 9 |
39854b870123a9b3aaa306e84c6845eca8eafb88 | 9,543,417,388,912 | c27193b35de6680bdbca3ef54c1cac23353e3724 | /KWL/src/com/structure/graph/Graph.java | 6346599feb3400d2f8b437d8fd845db68d3fcc95 | [] | no_license | xiaoweiSun/seke | https://github.com/xiaoweiSun/seke | 76642de5ea692da53ee7f99836fe74dc35c48b06 | 0a940ab2da90111f7634dc2ea38f05f4deec73c6 | refs/heads/master | 2020-05-18T19:11:48.490000 | 2015-09-15T03:49:32 | 2015-09-15T03:49:32 | 33,528,716 | 0 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.structure.graph;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Vector;
public class Graph {
public Hashtable<String,String> property;//图结构本身属性
public Hashtable<String,Edge> edgelist; //存放边
public Vector<Element> elementlist; //存放点
publi... | GB18030 | Java | 1,163 | java | Graph.java | Java | [] | null | [] | package com.structure.graph;
import java.util.Collection;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Vector;
public class Graph {
public Hashtable<String,String> property;//图结构本身属性
public Hashtable<String,Edge> edgelist; //存放边
public Vector<Element> elementlist; //存放点
publi... | 1,163 | 0.676341 | 0.676341 | 54 | 20.074074 | 19.876333 | 103 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.481482 | false | false | 9 |
defd4a29b3a6990bfd6412c51fd8c0c113197ff7 | 4,002,909,528,782 | 7dee8b47367c0121d8e0567d504cb26bfae44bfe | /Core/src/main/java/com/masternaut/repository/system/SystemSettingsRepository.java | a5768351c874066894502ada644cc09f0784154e | [] | no_license | adampridmore/PaddingtonData | https://github.com/adampridmore/PaddingtonData | 2b840dc77e1ac1bcb349bbf9f8fbf15683592e1c | ac74fcce7a0637cc4f9a9b6c54a44d2e96d09732 | refs/heads/master | 2016-09-06T17:44:26.705000 | 2013-03-18T16:08:06 | 2013-03-18T16:08:06 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.masternaut.repository.system;
import com.masternaut.domain.SystemSettings;
import com.masternaut.repository.BaseSystemRepository;
import org.springframework.stereotype.Component;
@Component
public class SystemSettingsRepository extends BaseSystemRepository<SystemSettings>{
public SystemSettingsReposit... | UTF-8 | Java | 373 | java | SystemSettingsRepository.java | Java | [] | null | [] | package com.masternaut.repository.system;
import com.masternaut.domain.SystemSettings;
import com.masternaut.repository.BaseSystemRepository;
import org.springframework.stereotype.Component;
@Component
public class SystemSettingsRepository extends BaseSystemRepository<SystemSettings>{
public SystemSettingsReposit... | 373 | 0.820375 | 0.820375 | 12 | 30.083334 | 25.509666 | 83 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | false | false | 9 |
062a63f669be9418d577667f1eac1c7de6353efa | 6,743,098,659,507 | d3d0a8d09d0d15ad21d2e063cfd784a17d943674 | /src/MathCharpter/NthDigit400.java | d8ac851be1a35ef277e61dae0f22572ebb6614b1 | [] | no_license | show111/LeetCodeProject | https://github.com/show111/LeetCodeProject | d44e6c4bebe75e3f5e3d7fdfbccaebd4bf92d163 | 3684ce4d9ad9481b0d4a498b576abbfcb3f90ef4 | refs/heads/master | 2021-11-18T19:37:02.779000 | 2021-10-01T00:59:22 | 2021-10-01T00:59:22 | 127,154,368 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package MathCharpter;
/**
* created by Hannah Li on 19/1/15
* Project name: LeetcodeProject
* LeetCode NO.: 400
*/
public class NthDigit400 {
public static void main(String[] args) {
int s = 3;
System.out.print(findNthDigit2(s));
}
/**
* Find the nth digit of the infinite integ... | UTF-8 | Java | 893 | java | NthDigit400.java | Java | [
{
"context": "package MathCharpter;\n\n/**\n * created by Hannah Li on 19/1/15\n * Project name: LeetcodeProject\n * Le",
"end": 50,
"score": 0.9997918605804443,
"start": 41,
"tag": "NAME",
"value": "Hannah Li"
}
] | null | [] | package MathCharpter;
/**
* created by <NAME> on 19/1/15
* Project name: LeetcodeProject
* LeetCode NO.: 400
*/
public class NthDigit400 {
public static void main(String[] args) {
int s = 3;
System.out.print(findNthDigit2(s));
}
/**
* Find the nth digit of the infinite integer ... | 890 | 0.482039 | 0.417149 | 37 | 22.324324 | 19.793602 | 93 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.945946 | false | false | 9 |
f1694c84e38355e327f0eb4d5f993cea75e4b1e3 | 10,350,871,192,576 | 78eca3595fa9b128746cd217dfd1e8845ecc71ca | /app/src/main/java/core/model/journal/JournalFinalMark.java | 3e38af9f3e072e7cb39279f344c326d7c583d269 | [] | no_license | george2code/Minamoy | https://github.com/george2code/Minamoy | 09b3a8d857427eaba2ff9164b675fc170783c79d | aee04bd4e847ea5f20883428b08966691f3721a1 | refs/heads/master | 2020-06-15T15:17:05.097000 | 2016-12-01T14:46:53 | 2016-12-01T14:46:53 | 75,284,159 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package core.model.journal;
import android.graphics.Color;
public class JournalFinalMark {
private long person;
private long subject;
private String sabjectname;
private Double avgmark;
private Integer mark;
private long markid;
private String marktype;
private long commentid;
priv... | UTF-8 | Java | 2,139 | java | JournalFinalMark.java | Java | [] | null | [] | package core.model.journal;
import android.graphics.Color;
public class JournalFinalMark {
private long person;
private long subject;
private String sabjectname;
private Double avgmark;
private Integer mark;
private long markid;
private String marktype;
private long commentid;
priv... | 2,139 | 0.585788 | 0.5741 | 105 | 19.380953 | 16.363363 | 53 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.32381 | false | false | 9 |
33cc134f271ce7d288cd939e0e4ba8ab9640115f | 15,839,839,393,391 | 3b67f892068a82a14bc5ae9c1b70b9a56b7e785f | /app/src/main/java/tw/ccmos/autocompletedemo/MainActivity.java | fbf512f41ed790685666ca2e2d94befcecbecf69 | [] | no_license | mosluce/AndroidAutoCompleteDemo | https://github.com/mosluce/AndroidAutoCompleteDemo | beed7cb85291ad053bfe28945f9a931fdc146bdd | 6ed110133c06e5a1840d02fff17567942c2507a5 | refs/heads/master | 2016-09-02T05:57:24.301000 | 2015-05-01T07:42:38 | 2015-05-01T07:42:38 | 34,893,586 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package tw.ccmos.autocompletedemo;
import android.content.Context;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.AutoCo... | UTF-8 | Java | 5,524 | java | MainActivity.java | Java | [] | null | [] | package tw.ccmos.autocompletedemo;
import android.content.Context;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.AutoCo... | 5,524 | 0.617125 | 0.616763 | 187 | 28.540108 | 26.894173 | 139 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.561497 | false | false | 9 |
6fe0b7c6371ee7da5b9dc483c01055d7298ffa5e | 16,355,235,474,896 | c0352c6798e30e720f4377fd6209473f4838a68a | /src/main/java/com/inothnagel/modern_compiler_java/ch01/straight_line/Main.java | 89ae2d6f1c9a820cab5a7c72ac484eab72816352 | [] | no_license | inothnagel/modern-compiler-implementation-in-java | https://github.com/inothnagel/modern-compiler-implementation-in-java | 7df13fe4cdc4c9193c990a16f3e71c3d2a517581 | 3c1e487db9d59d977becd0e06e09c577f44114c1 | refs/heads/master | 2021-01-20T19:19:18.868000 | 2016-06-05T15:00:44 | 2016-06-05T15:00:44 | 60,456,415 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.inothnagel.modern_compiler_java.ch01.straight_line;
import com.inothnagel.modern_compiler_java.ch01.straight_line.interpreter.Environment;
import com.inothnagel.modern_compiler_java.ch01.straight_line.interpreter.StmInterpreter;
import com.inothnagel.modern_compiler_java.ch01.straight_line.language_primiti... | UTF-8 | Java | 1,117 | java | Main.java | Java | [
{
"context": "ght_line.language_primitives.*;\n\n/**\n * Created by inothnagel on 2016/06/05.\n */\npublic class Main {\n public",
"end": 356,
"score": 0.9996590614318848,
"start": 346,
"tag": "USERNAME",
"value": "inothnagel"
}
] | null | [] | package com.inothnagel.modern_compiler_java.ch01.straight_line;
import com.inothnagel.modern_compiler_java.ch01.straight_line.interpreter.Environment;
import com.inothnagel.modern_compiler_java.ch01.straight_line.interpreter.StmInterpreter;
import com.inothnagel.modern_compiler_java.ch01.straight_line.language_primiti... | 1,117 | 0.533572 | 0.517457 | 32 | 33.90625 | 27.827997 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 9 |
1513fc3efb6ea1fb988ae1222b09315b6f785502 | 25,615,184,963,192 | 8725900611a6e16a30ba107175800a522a81e0fa | /project-parent/ejb-service/src/main/java/pt/criticalsoftware/service/business/ICandidacyBusinessService.java | af13a69dca1b8830adb5ff1c375d7f013bd40f23 | [] | no_license | rjvq85/jobplatform | https://github.com/rjvq85/jobplatform | 9118f86a9d3e6f168372390e2d6918183878adb9 | 8266058372fa9a0195bf7c47f0508f0ecb51f5ad | refs/heads/master | 2021-01-11T10:47:10.229000 | 2015-10-03T15:36:53 | 2015-10-03T15:36:53 | 39,957,057 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package pt.criticalsoftware.service.business;
import java.time.LocalDate;
import java.util.List;
import pt.criticalsoftware.service.exceptions.DuplicateCandidateException;
import pt.criticalsoftware.service.exceptions.UniqueConstraintException;
import pt.criticalsoftware.service.model.ICandidacy;
import pt.criticalso... | UTF-8 | Java | 1,938 | java | ICandidacyBusinessService.java | Java | [] | null | [] | package pt.criticalsoftware.service.business;
import java.time.LocalDate;
import java.util.List;
import pt.criticalsoftware.service.exceptions.DuplicateCandidateException;
import pt.criticalsoftware.service.exceptions.UniqueConstraintException;
import pt.criticalsoftware.service.model.ICandidacy;
import pt.criticalso... | 1,938 | 0.853457 | 0.853457 | 56 | 33.607143 | 33.923065 | 105 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.142857 | false | false | 9 |
89328b565207a8b96b4898de43b8b1c85eed9201 | 11,510,512,381,031 | 1d4d26c3ec61faa83396f78be292e806121828d6 | /src/niakwork/Niakwork.java | 997db2102dbf6d38b583e11c0b4d1e300a6ba67f | [] | no_license | alcalyn/ai-niaks | https://github.com/alcalyn/ai-niaks | 80be5c5caa99f0c9f55f3f50af537db328e07cfd | 54280c89ab6c9f36e09b34437fc566acd39429f0 | refs/heads/master | 2021-01-13T02:12:16.763000 | 2013-04-26T09:48:43 | 2013-04-26T09:48:43 | 35,810,733 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package niakwork;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util... | UTF-8 | Java | 3,674 | java | Niakwork.java | Java | [] | null | [] | package niakwork;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util... | 3,674 | 0.690256 | 0.680729 | 155 | 22.703226 | 23.742754 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.032258 | false | false | 13 |
7adc7fcff960442b4c0b6dc9f02fc1565aaef4a5 | 12,695,923,369,828 | 0481f0ddb6dccfcb8e1d2939029f7e7a5d30b28d | /app/src/main/java/com/dominio/jc/androidsemana2/util/ContactAppUtil.java | 132f517f4a58ff7de65e916b8ee5621d5584c756 | [] | no_license | tmpus002033/AndroidSemana2 | https://github.com/tmpus002033/AndroidSemana2 | 60d70db93026f1d4d31fd3b0a111fbe6f573f73b | 02ab731f7301fdffb1b59025a0169ccbc8724526 | refs/heads/master | 2021-04-27T00:25:26.849000 | 2018-03-04T17:25:10 | 2018-03-04T17:25:10 | 123,810,659 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.dominio.jc.androidsemana2.util;
import android.widget.DatePicker;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* Created by JC on 3/4/2018.
*/
public class ContactAppUtil {
public static String getDateAsString(DatePicke... | UTF-8 | Java | 1,041 | java | ContactAppUtil.java | Java | [
{
"context": "alendar;\nimport java.util.Date;\n\n/**\n * Created by JC on 3/4/2018.\n */\n\npublic class ContactAppUtil {\n\n",
"end": 219,
"score": 0.997497022151947,
"start": 217,
"tag": "USERNAME",
"value": "JC"
}
] | null | [] | package com.dominio.jc.androidsemana2.util;
import android.widget.DatePicker;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* Created by JC on 3/4/2018.
*/
public class ContactAppUtil {
public static String getDateAsString(DatePicke... | 1,041 | 0.641691 | 0.634006 | 40 | 25.025 | 25.418976 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
5ed2d9ff659fd891f81705a47763c06b19a2d9c5 | 14,963,666,104,231 | 1b068a2123184fcd8ccbcfaac3d0a5d96cb5e6b6 | /LeetCode/src/E905_Sort_Array_By_Parity.java | de7dd317fd0dd4dc627909b051243fc7d0025846 | [] | no_license | MDY429/LeetCode_Practice | https://github.com/MDY429/LeetCode_Practice | 8a0d1547792cc054c13f298bad3ea559b2a3e243 | c7dda8fecb13e66ed70b4935885ba4cdaef47741 | refs/heads/master | 2021-04-23T21:54:00.745000 | 2021-02-08T13:35:03 | 2021-02-08T13:35:03 | 250,013,949 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | /**
* url: https://leetcode.com/problems/sort-array-by-parity/
*
* Given an array A of non-negative integers, return an array consisting of all
* the even elements of A, followed by all the odd elements of A.
*
* You may return any answer array that satisfies this condition.
*
* Example 1:
*
* Input: [3,1... | UTF-8 | Java | 2,610 | java | E905_Sort_Array_By_Parity.java | Java | [] | null | [] | /**
* url: https://leetcode.com/problems/sort-array-by-parity/
*
* Given an array A of non-negative integers, return an array consisting of all
* the even elements of A, followed by all the odd elements of A.
*
* You may return any answer array that satisfies this condition.
*
* Example 1:
*
* Input: [3,1... | 2,610 | 0.419157 | 0.391954 | 109 | 22.954128 | 20.001553 | 79 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.706422 | false | false | 13 |
9ce567616f2c9f655b8ebdf5555f8c1e18b4c1a2 | 17,961,553,234,799 | 94b7a522a5e9e8de9123e226ec2fc1c84d4c39d3 | /otf-common/src/main/java/org/ihtsdo/otf/rest/client/terminologyserver/pojo/ClassificationResults.java | d9cfa07af141957e6fffe0afaaa5dbe968fb555d | [
"Apache-2.0"
] | permissive | IHTSDO/OTF-Common | https://github.com/IHTSDO/OTF-Common | 70b5883f90ef29ae6c326845cff81ee63c49fd3c | ab72958997ceec060116426b67692b53bed536ae | refs/heads/master | 2020-04-12T09:04:46.878000 | 2020-03-10T10:33:19 | 2020-03-10T10:33:19 | 27,078,378 | 2 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.ihtsdo.otf.rest.client.terminologyserver.pojo;
import java.io.File;
import com.google.gson.annotations.Expose;
public class ClassificationResults {
@Expose
private String classificationId;
@Expose
private ClassificationStatus status;
private boolean equivalentConceptsFound;
private int relatio... | UTF-8 | Java | 1,963 | java | ClassificationResults.java | Java | [] | null | [] | package org.ihtsdo.otf.rest.client.terminologyserver.pojo;
import java.io.File;
import com.google.gson.annotations.Expose;
public class ClassificationResults {
@Expose
private String classificationId;
@Expose
private ClassificationStatus status;
private boolean equivalentConceptsFound;
private int relatio... | 1,963 | 0.813041 | 0.812532 | 83 | 22.638554 | 23.973669 | 74 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.156626 | false | false | 13 |
f439af6e9521401b9ab4019659854789b2e871ff | 11,433,203,004,183 | 98850668a8e2e1a2f855212f6a0738fe0298668c | /app/src/main/java/com/dmm/iqhome/com/dmm/iqhome/fragments/Settings.java | bf98a143503c24524cf6c3db1d934a42d4761dc2 | [] | no_license | Yellllllow/IQHome | https://github.com/Yellllllow/IQHome | 7d008fdc74428d1504931541b5e377871a5bb6e8 | 8bb9a2159db0b96460ec5b1082c3fc8e2bd1c803 | refs/heads/master | 2021-05-31T10:46:57.672000 | 2016-02-11T21:55:33 | 2016-02-11T21:55:33 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.dmm.iqhome.com.dmm.iqhome.fragments;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import com.dmm.iqhome.CommandManager;
import com.dmm.iqhome.Device;
i... | UTF-8 | Java | 2,479 | java | Settings.java | Java | [
{
"context": "home.R;\n\nimport java.util.List;\n\n/**\n * Created by waldekd on 2/1/16.\n */\npublic class Settings extends Frag",
"end": 469,
"score": 0.9996838569641113,
"start": 462,
"tag": "USERNAME",
"value": "waldekd"
}
] | null | [] | package com.dmm.iqhome.com.dmm.iqhome.fragments;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import com.dmm.iqhome.CommandManager;
import com.dmm.iqhome.Device;
i... | 2,479 | 0.655506 | 0.653489 | 80 | 29.987499 | 25.30884 | 98 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4875 | false | false | 13 |
47fedda714291380d42e4d3b4b5c84e9866109ca | 32,856,499,844,116 | b8f6c488215910551e24d4dd25316727510d52c1 | /app/src/main/java/com/minsal/dtic/sinavec/EntityDAO/CtlPlCriaderoDao.java | ac3fc87580ffb3f34469f9b0fd55b77c41f4b5c0 | [] | no_license | Arenivar93/AppMalaria | https://github.com/Arenivar93/AppMalaria | f085ae7d46df2ea543895a80da8671347d717db5 | bad27a9f9ab2d58b474fa7d19170f6c09abc91c3 | refs/heads/master | 2021-07-03T05:19:47.430000 | 2019-05-23T17:50:58 | 2019-05-23T17:50:58 | 142,457,240 | 0 | 1 | null | false | 2018-08-09T15:06:37 | 2018-07-26T15:06:56 | 2018-08-07T13:42:47 | 2018-08-07T13:42:46 | 767 | 0 | 1 | 1 | Java | false | null | package com.minsal.dtic.sinavec.EntityDAO;
import java.util.List;
import java.util.ArrayList;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.SqlUtils;
import or... | UTF-8 | Java | 16,928 | java | CtlPlCriaderoDao.java | Java | [
{
"context": " \n String[] keyArray = new String[] { key.toString() };\n Cursor cursor = db.rawQuery(sql, keyAr",
"end": 15136,
"score": 0.8101751208305359,
"start": 15126,
"tag": "KEY",
"value": "toString()"
}
] | null | [] | package com.minsal.dtic.sinavec.EntityDAO;
import java.util.List;
import java.util.ArrayList;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.SqlUtils;
import or... | 16,928 | 0.612535 | 0.602079 | 392 | 42.183674 | 33.10099 | 136 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.910714 | false | false | 13 |
fdb30d81c1ad3e7d3f2ae421430dad137400f9f6 | 20,521,353,800,269 | 581be3a130eefe311e51ed6be9c2adac119bdc4d | /src/eventPlanningSystem/Login.java | b1ba5dde8f1eae5f83e7625f0a52c4d19e2d6e51 | [] | no_license | jonny7read/EventPlanningSystem | https://github.com/jonny7read/EventPlanningSystem | 5cf9c59f85aa19638379fd9e07ea96badf23bed4 | 78fa63e359df52869b2a56067be915cd3130d83f | refs/heads/master | 2023-06-23T20:37:34.686000 | 2023-06-15T19:59:51 | 2023-06-15T19:59:51 | 21,052,631 | 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 eventPlanningSystem;
import java.awt.Component;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Grid... | UTF-8 | Java | 8,263 | java | Login.java | Java | [
{
"context": "\nimport javax.swing.JTextField;\n\n/**\n *\n * @author advent\n */\npublic class Login {\n\n private JFrame fram",
"end": 935,
"score": 0.9996006488800049,
"start": 929,
"tag": "USERNAME",
"value": "advent"
},
{
"context": "ord:\");\n lblAuthor = new JLabel(\... | 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 eventPlanningSystem;
import java.awt.Component;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Grid... | 8,256 | 0.546896 | 0.541571 | 243 | 33.008232 | 24.459589 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.781893 | false | false | 13 |
8681b9d61221ce289aefb355cf3c4d1f398ac8ba | 36,421,322,690,622 | 00e41b9324fad113c14794f6f00b131aebe51d4f | /algorithms/tabu-search/Chasqui-route-tabu/src/chasqui/route/tabu/Operators/NodeSwap.java | e8a9b40a732b39f44875b6a309f9fad52c4e6c39 | [] | no_license | marshallers/simple-route-manager | https://github.com/marshallers/simple-route-manager | 22433dce91f2b53b4439e2179aaa9fcc33a462c0 | 32e34f771f30edbdf95cb84e8c8cf3ffbdbf0079 | refs/heads/master | 2016-09-07T01:30:26.399000 | 2015-11-30T18:45:01 | 2015-11-30T18:45:01 | 42,554,955 | 1 | 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 chasqui.route.tabu.Operators;
import chasqui.route.tabu.SolutionCandidate;
/**
*
* @author luiss
*/
public class NodeSwap ... | UTF-8 | Java | 583 | java | NodeSwap.java | Java | [
{
"context": "i.route.tabu.SolutionCandidate;\n\n/**\n *\n * @author luiss\n */\npublic class NodeSwap implements NeighborGene",
"end": 293,
"score": 0.9926918148994446,
"start": 288,
"tag": "USERNAME",
"value": "luiss"
}
] | 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 chasqui.route.tabu.Operators;
import chasqui.route.tabu.SolutionCandidate;
/**
*
* @author luiss
*/
public class NodeSwap ... | 583 | 0.740995 | 0.740995 | 21 | 26.761906 | 34.660126 | 135 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | false | false | 13 |
975d80571fe3fa7722b5ba76afd8963f5f11c233 | 36,266,703,870,991 | c41c03571deab3660815740617299817c0b43c42 | /mall-member/src/main/java/me/lin/mall/member/feign/CouponFeignService.java | 2cfb1527c86fab58021991a70ed2a0dd11b8d068 | [
"Apache-2.0"
] | permissive | Saber891/mall | https://github.com/Saber891/mall | edb6a6ae35a08da05deef5277b3ae166d5290ab6 | 8677a44324bade84569b2999fa28281e2a0eb493 | refs/heads/main | 2023-03-13T22:35:45.524000 | 2023-03-13T13:21:52 | 2023-03-13T13:21:52 | 319,678,473 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package me.lin.mall.member.feign;
import me.lin.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @Author Fibonacci
* @Date 2020/12/13 1:24 下午
* @Version 1.0
* 这是一个声明式的远程调用服务
*/
@FeignClient("mall-coupon")
public inte... | UTF-8 | Java | 461 | java | CouponFeignService.java | Java | [
{
"context": "eb.bind.annotation.RequestMapping;\n\n/**\n * @Author Fibonacci\n * @Date 2020/12/13 1:24 下午\n * @Version 1.0\n * 这是",
"end": 214,
"score": 0.9988265633583069,
"start": 205,
"tag": "USERNAME",
"value": "Fibonacci"
}
] | null | [] | package me.lin.mall.member.feign;
import me.lin.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @Author Fibonacci
* @Date 2020/12/13 1:24 下午
* @Version 1.0
* 这是一个声明式的远程调用服务
*/
@FeignClient("mall-coupon")
public inte... | 461 | 0.752914 | 0.722611 | 18 | 22.833334 | 19.198524 | 62 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | false | false | 13 |
d3476b2ce7ad22c3a2baaad9fc5c16c305004460 | 28,449,863,398,608 | b7e840f4c6419dbbf1f43d3e8ffdf430b33c61aa | /src/main/java/com/example/RestaurantAPI/Orders.java | 0e0f57ac12d30bdee9e99810e4e1110f3af52406 | [] | no_license | sara-sall/RestaurantAPI | https://github.com/sara-sall/RestaurantAPI | 775314f07fc09a0702ecdaf1d17f6023bcf64e81 | 1d3abdccd073151aca4a03d5141531c357de16b2 | refs/heads/master | 2020-05-27T10:14:54.247000 | 2019-05-27T14:53:14 | 2019-05-27T14:53:14 | 188,579,398 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.RestaurantAPI;
import java.util.*;
public class Orders {
private ArrayList<OrderItem> orders;
public Orders() {
this.orders = new ArrayList<>();
orders = getData();
}
public List<OrderItem> getOrders() {
return orders;
}
public OrderItem getOrd... | UTF-8 | Java | 2,299 | java | Orders.java | Java | [] | null | [] | package com.example.RestaurantAPI;
import java.util.*;
public class Orders {
private ArrayList<OrderItem> orders;
public Orders() {
this.orders = new ArrayList<>();
orders = getData();
}
public List<OrderItem> getOrders() {
return orders;
}
public OrderItem getOrd... | 2,299 | 0.558939 | 0.558939 | 99 | 22.222221 | 19.084372 | 65 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.40404 | false | false | 13 |
9db285de4fa76c7c698db661133793c1d6c232ea | 11,553,462,070,951 | 3a055c1a835712851a3abff999e5f63e250eb032 | /CosmeticBackend/src/main/java/com/niit/CosmeticBackend/Dao/CardDao.java | cc65db31f318879c5dd5e1e73a9987106575b718 | [] | no_license | lakshmilmenda/BellaCosmetics | https://github.com/lakshmilmenda/BellaCosmetics | d136bc88deec237d05db5ac789296ab7c49ad3b5 | 59203ddbb1937442d78404718b63791fa94a5d74 | refs/heads/master | 2020-05-17T14:04:21.694000 | 2019-04-27T09:36:29 | 2019-04-27T09:36:29 | 183,754,289 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.niit.CosmeticBackend.Dao;
import java.util.List;
import com.niit.CosmeticBackend.Model.Card;
public interface CardDao {
public boolean saveorupdate(Card card);
public boolean delete(Card card);
public Card getCard(String cardId);
public List<Card>getCardList();
public List<Card> getCardUser(Strin... | UTF-8 | Java | 335 | java | CardDao.java | Java | [] | null | [] | package com.niit.CosmeticBackend.Dao;
import java.util.List;
import com.niit.CosmeticBackend.Model.Card;
public interface CardDao {
public boolean saveorupdate(Card card);
public boolean delete(Card card);
public Card getCard(String cardId);
public List<Card>getCardList();
public List<Card> getCardUser(Strin... | 335 | 0.767164 | 0.767164 | 19 | 16.631578 | 17.844976 | 43 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.789474 | false | false | 13 |
b45eb5570471ddcff4e60c9f3fab3088280eeadb | 39,676,907,894,284 | fc93f8919dab40a52926c024507421bc5f5a93a2 | /BettingEngine/src/com/engine/app/Engine.java | 5f3fce08175a2245d37270bbef1221390b1891fe | [] | no_license | eshwar2305/BetEngine | https://github.com/eshwar2305/BetEngine | aa3bcb46cfb659af33a281c9d23c4131b82f8dad | 01892addb8aa046effb2c4a0fcc7a4cc56213fe7 | refs/heads/master | 2020-03-30T04:14:17.048000 | 2014-03-24T18:30:16 | 2014-03-24T18:30:16 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.engine.app;
import java.io.BufferedReader;
import com.engine.dataaccess.*;
import com.engine.dataobject.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public class... | UTF-8 | Java | 8,900 | java | Engine.java | Java | [
{
"context": "private StringBuffer getCurrentScoreSheet() {\n\t\t// Ranju (done- Eshu verify and remove comment)- Query ",
"end": 6224,
"score": 0.6798971891403198,
"start": 6221,
"tag": "NAME",
"value": "Ran"
},
{
"context": "\n\tprivate StringBuffer getCurrentBetSheet() {\n\t\t// ... | null | [] | package com.engine.app;
import java.io.BufferedReader;
import com.engine.dataaccess.*;
import com.engine.dataobject.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public class... | 8,900 | 0.633483 | 0.592697 | 307 | 27.990229 | 21.356823 | 133 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 2.732899 | false | false | 13 |
858d059ef8e8e9a48a1405510a184375f51629ad | 38,354,057,984,043 | 174f66866652573cf2f3aa45da5d46068923d26e | /src/com/example/foodsell/Dingdan.java | 9971b45c3db60f11983c5350e104464d095136ad | [] | no_license | Crookec/FoodSell | https://github.com/Crookec/FoodSell | e15fda4069f7dce2c63b82e9775759527bf2e919 | 40e20b401e4677b2ddc0ab4d738bf38d949f4189 | refs/heads/master | 2021-01-06T20:39:33.347000 | 2017-08-07T04:53:14 | 2017-08-07T04:53:14 | 99,537,841 | 1 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.foodsell;
import java.util.ArrayList;
import java.util.List;
import edu.zafu.DingdanlbAdapter;
import edu.zafu.ShangpinAdapter;
import edu.zafu.dingdanlbmessage;
import edu.zafu.gouwuchemessage;
import edu.zafu.shangpinmessage;
import android.support.v7.app.ActionBarActivity;
import android.os.Bun... | GB18030 | Java | 1,732 | java | Dingdan.java | Java | [] | null | [] | package com.example.foodsell;
import java.util.ArrayList;
import java.util.List;
import edu.zafu.DingdanlbAdapter;
import edu.zafu.ShangpinAdapter;
import edu.zafu.dingdanlbmessage;
import edu.zafu.gouwuchemessage;
import edu.zafu.shangpinmessage;
import android.support.v7.app.ActionBarActivity;
import android.os.Bun... | 1,732 | 0.772144 | 0.762821 | 52 | 32 | 25.075272 | 109 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.692308 | false | false | 13 |
8f8a949b7d2ac5db6a2a666c6495ec30349783c2 | 39,548,058,868,694 | 471582fb4115fc9877f00152cff04993dcd857b2 | /api/src/com/ricardo/app/ICalculadora.java | 32c371c44ef1f0e9c46aa1b3109bf8898f41e4a3 | [] | no_license | Sousa83/Java | https://github.com/Sousa83/Java | 3dfe257b37886b46880bf6ddb276a783d638bdf8 | a18cde6adca3121e019b80c4fa2a187651e9fa49 | refs/heads/master | 2023-03-23T16:51:56.012000 | 2021-03-06T01:26:03 | 2021-03-06T01:26:03 | 290,037,157 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ricardo.app;
public interface ICalculadora {
public double soma(double...nums);
}
| UTF-8 | Java | 97 | java | ICalculadora.java | Java | [] | null | [] | package com.ricardo.app;
public interface ICalculadora {
public double soma(double...nums);
}
| 97 | 0.752577 | 0.752577 | 6 | 15.166667 | 15.181312 | 35 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | false | false | 13 |
54c74956b466e9e1397a484a4cd0c5025d1f32f6 | 3,100,966,417,527 | 3bbc1a3bb394ed49db6a553d645f830a6574e2fe | /Elasticsearch/src/test/java/com/elasticsearch/springdata/Denominator.java | fdd831e2d33e631ba52b827d17a6e2947f66535c | [] | no_license | Jacknolfskin/SpringBoot-2.0 | https://github.com/Jacknolfskin/SpringBoot-2.0 | 2e32801392df92e8d7fc8647938044fd1f97206f | 121d096e3b6e69e0885bf997b349199f2f290125 | refs/heads/master | 2022-10-01T18:10:11.002000 | 2022-09-20T06:48:55 | 2022-09-20T06:48:55 | 129,988,690 | 3 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.elasticsearch.springdata;
import lombok.Data;
/**
* @Author: Jacknolfskin
* @Date: 2018/5/8 9:56
* @Path: com.springdata
*/
@Data
public class Denominator extends Decimal {
//前数分母
private Integer frontDenominatorNum;
//后数分母
private Integer backDenominatorNum;
}
| UTF-8 | Java | 314 | java | Denominator.java | Java | [
{
"context": ".springdata;\n\nimport lombok.Data;\n\n/**\n * @Author: Jacknolfskin\n * @Date: 2018/5/8 9:56\n * @Path: com.springdata\n",
"end": 88,
"score": 0.9991509914398193,
"start": 76,
"tag": "USERNAME",
"value": "Jacknolfskin"
}
] | null | [] | package com.elasticsearch.springdata;
import lombok.Data;
/**
* @Author: Jacknolfskin
* @Date: 2018/5/8 9:56
* @Path: com.springdata
*/
@Data
public class Denominator extends Decimal {
//前数分母
private Integer frontDenominatorNum;
//后数分母
private Integer backDenominatorNum;
}
| 314 | 0.704698 | 0.674497 | 18 | 15.555555 | 15.246939 | 42 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | false | false | 13 |
e782aa634314523798b88bccb6076ef8a1eda911 | 4,252,017,655,291 | 39093809749cb9d525f2f2f56d007aea9dea1fae | /apps/helloworld/src/main/java/org/workspace7/istio/tracing/HelloController.java | 9b76953b6f4360b335e20486df8cf8999115b17a | [
"Apache-2.0"
] | permissive | danieloh30/sail-into-cloud | https://github.com/danieloh30/sail-into-cloud | b80cbea5770bf96157555cb2f4649e1f1271dea2 | 37a67c2b86b8948bcc295757dccac1f05bb5ac50 | refs/heads/master | 2021-05-07T04:08:53.327000 | 2017-11-17T15:04:50 | 2017-11-17T15:04:50 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.workspace7.istio.tracing;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
imp... | UTF-8 | Java | 2,169 | java | HelloController.java | Java | [
{
"context": "x.servlet.http.HttpServletRequest;\n\n/**\n * @author kameshs\n */\n@RestController\n@Slf4j\npublic class HelloCont",
"end": 620,
"score": 0.9995850920677185,
"start": 613,
"tag": "USERNAME",
"value": "kameshs"
}
] | null | [] | package org.workspace7.istio.tracing;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
imp... | 2,169 | 0.691102 | 0.684186 | 64 | 32.890625 | 32.061035 | 118 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.65625 | false | false | 13 |
204dababb2951ae046e3a7311541cd5fdcdeab26 | 13,941,463,876,201 | 7b73756ba240202ea92f8f0c5c51c8343c0efa5f | /classes5/tencent/im/cs/cmd0x346/cmd0x346$ApplyCopyToReq.java | e17b5cdbc4949fb4f6502c0f149ca078a58d6786 | [] | no_license | meeidol-luo/qooq | https://github.com/meeidol-luo/qooq | 588a4ca6d8ad579b28dec66ec8084399fb0991ef | e723920ac555e99d5325b1d4024552383713c28d | refs/heads/master | 2020-03-27T03:16:06.616000 | 2016-10-08T07:33:58 | 2016-10-08T07:33:58 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package tencent.im.cs.cmd0x346;
import com.tencent.mobileqq.hotpatch.NotVerifyClass;
import com.tencent.mobileqq.pb.ByteStringMicro;
import com.tencent.mobileqq.pb.MessageMicro;
import com.tencent.mobileqq.pb.MessageMicro.FieldMap;
import com.tencent.mobileqq.pb.PBBytesField;
import com.tencent.mobileqq.pb.PBField;
im... | UTF-8 | Java | 1,902 | java | cmd0x346$ApplyCopyToReq.java | Java | [] | null | [] | package tencent.im.cs.cmd0x346;
import com.tencent.mobileqq.hotpatch.NotVerifyClass;
import com.tencent.mobileqq.pb.ByteStringMicro;
import com.tencent.mobileqq.pb.MessageMicro;
import com.tencent.mobileqq.pb.MessageMicro.FieldMap;
import com.tencent.mobileqq.pb.PBBytesField;
import com.tencent.mobileqq.pb.PBField;
im... | 1,902 | 0.755521 | 0.700841 | 38 | 49.078949 | 67.652901 | 422 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.210526 | false | false | 13 |
ee097e510bc0aa6c0897173fa8e51e68f9db3336 | 10,325,101,431,395 | 86be951eff8bb259a075acd988b7d9e6d5875b9c | /target/generated-sources/annotations/com/zepl/challenge/data/GsonAdaptersTask.java | 358f737757ae3896adb312b72006e726791ab279 | [] | no_license | thangtq11/ZEPLChallenge | https://github.com/thangtq11/ZEPLChallenge | 23d77405b5bb54dbafb4facf4414a89a33f8b68d | 5a20bdd1f6384345ffcf9daf30b55a0cb696cfab | refs/heads/master | 2021-01-21T10:55:00.077000 | 2017-03-01T03:59:54 | 2017-03-01T03:59:54 | 83,499,310 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.zepl.challenge.data;
import com.google.gson.*;
import com.google.gson.reflect.*;
import com.google.gson.stream.*;
import java.io.IOException;
import javax.annotation.Generated;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
/**
* A {@code TypeAdapterFactory} that... | UTF-8 | Java | 5,840 | java | GsonAdaptersTask.java | Java | [] | null | [] | package com.zepl.challenge.data;
import com.google.gson.*;
import com.google.gson.reflect.*;
import com.google.gson.stream.*;
import java.io.IOException;
import javax.annotation.Generated;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
/**
* A {@code TypeAdapterFactory} that... | 5,840 | 0.599315 | 0.599144 | 207 | 27.212561 | 20.915363 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.502415 | false | false | 13 |
bde8c18eb21ee65e696783da585b7badee3703fa | 27,968,827,096,873 | c54c08394c2a5f63a464a74bde73c4a564028b98 | /WorkSpace/JavaTutorial/src/automobile/CarsOverloading2.java | 0244b1bfede4ce0583427dc9612d2ad659cdd4ce | [] | no_license | rabdhir/automation | https://github.com/rabdhir/automation | c686d7c60a874da1f12782b1d36c398134b2af48 | f66e0ab7051e218c3762db5e5fa5680255d703ec | refs/heads/master | 2021-01-18T02:21:43.913000 | 2016-11-27T21:55:28 | 2016-11-27T21:55:28 | 68,474,657 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package automobile;
/***
* Difference in data type of arguments
* @author rahmat
*
*/
public class CarsOverloading2 {
public static void main(String[] args) {
increaseSeatHeight(2);
increaseSeatHeight("8");
}
public static void increaseSeatHeight(int heightToIncrease) {
System.out.println("Increase s... | UTF-8 | Java | 531 | java | CarsOverloading2.java | Java | [
{
"context": " * Difference in data type of arguments\n * @author rahmat\n *\n */\n\npublic class CarsOverloading2 {\n\n\tpublic ",
"end": 83,
"score": 0.9930811524391174,
"start": 77,
"tag": "USERNAME",
"value": "rahmat"
}
] | null | [] | package automobile;
/***
* Difference in data type of arguments
* @author rahmat
*
*/
public class CarsOverloading2 {
public static void main(String[] args) {
increaseSeatHeight(2);
increaseSeatHeight("8");
}
public static void increaseSeatHeight(int heightToIncrease) {
System.out.println("Increase s... | 531 | 0.715631 | 0.709981 | 27 | 18.666666 | 25.511072 | 80 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.851852 | false | false | 13 |
bf71b3242da01b03e73967e327f56364e97b5bac | 3,238,405,373,259 | 8eb2465999eeb748b66bc32e68ae5e76b006185f | /app/src/main/java/com/healthiera/mobile/adapter/CarePlanRVadapter.java | 325d4f2241c49dc325e4540dad04f1fdcb0f5a3e | [] | no_license | armayilyan/healthiera-mobile | https://github.com/armayilyan/healthiera-mobile | 75a6ffe942a9903f036e5de36b4592c79e3901ff | 4f82b1a08d50c35598c8698e2af11121922d14f7 | refs/heads/master | 2021-05-07T18:18:42.187000 | 2017-11-17T11:49:51 | 2017-11-17T11:49:51 | 108,671,580 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.healthiera.mobile.adapter;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageV... | UTF-8 | Java | 4,855 | java | CarePlanRVadapter.java | Java | [] | null | [] | package com.healthiera.mobile.adapter;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageV... | 4,855 | 0.623275 | 0.620391 | 129 | 36.635658 | 35.733929 | 161 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.589147 | false | false | 13 |
a1b87e2694d10c7c88f1ce3f572747b6fa609f67 | 17,506,286,718,079 | 80f23317897417a5abfe6ddd26d00f33d3b84a74 | /Java - Technology Fundamentals programming/ClassesAndObjects/Threads/Main.java | 28c544c984dca4578e2446a2e51b788d4ada4393 | [] | no_license | Petretooo/SoftUni-Homework | https://github.com/Petretooo/SoftUni-Homework | b67c64d221971748a2a9bdbcc3ef8e6f57e67f39 | c3e74fcb9f0ef74284265f7955ec76b047578429 | refs/heads/master | 2021-06-30T15:59:01.491000 | 2020-01-12T15:05:03 | 2020-01-12T15:05:03 | 179,889,608 | 1 | 0 | null | false | 2020-10-13T15:19:56 | 2019-04-06T21:40:30 | 2020-01-12T15:05:07 | 2020-10-13T15:19:54 | 475 | 0 | 0 | 7 | Java | false | false | package ClassesAndObjects.Threads;
public class Main<m2, m1> {
BeanCounter counter1 = new BeanCounter("B1");
BeanCounter counter2 = new BeanCounter("B2");
Mouse m1 = new Mouse("Jerry", 280, 100, 9, 15);
Mouse m2 = new Mouse("Rattatui", 250, 40, 14, 18);
/* m1.setTarget(m2);
m2.setTarget(m1);
m1... | UTF-8 | Java | 349 | java | Main.java | Java | [
{
"context": "new BeanCounter(\"B2\");\n\n Mouse m1 = new Mouse(\"Jerry\", 280, 100, 9, 15);\n Mouse m2 = new Mouse(\"Rat",
"end": 197,
"score": 0.9998131394386292,
"start": 192,
"tag": "NAME",
"value": "Jerry"
},
{
"context": "rry\", 280, 100, 9, 15);\n Mouse m2 = new Mouse... | null | [] | package ClassesAndObjects.Threads;
public class Main<m2, m1> {
BeanCounter counter1 = new BeanCounter("B1");
BeanCounter counter2 = new BeanCounter("B2");
Mouse m1 = new Mouse("Jerry", 280, 100, 9, 15);
Mouse m2 = new Mouse("Rattatui", 250, 40, 14, 18);
/* m1.setTarget(m2);
m2.setTarget(m1);
m1... | 349 | 0.633238 | 0.541547 | 16 | 20.8125 | 20.109758 | 54 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.625 | false | false | 13 |
9514f1e2e1c12e08fe2a6d0d51bf9b330f717dd2 | 24,404,004,202,087 | 5d2a158eabdb8542910a9046214538898b65fd05 | /FragmentDemo/app/src/main/java/com/example/j_chenxi/fragmentdemo/thirdfragment/StartActivityDemo2.java | 9c9470d0792a9c507ca88678bba3bb5564337b50 | [] | no_license | chenxi1381/HaveFun | https://github.com/chenxi1381/HaveFun | 20bdffc1734ef1e1f4372e666d6ee2e4606ca6dc | 000a28048b3685173fe6f02f0042ae7e0494b60a | refs/heads/master | 2019-08-01T02:39:51.954000 | 2019-07-01T06:11:28 | 2019-07-01T06:11:28 | 75,045,567 | 2 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.example.j_chenxi.fragmentdemo.thirdfragment;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import com.example.j_chenxi.fragmentdemo.R;
/**
* Created by chenxi on 20... | UTF-8 | Java | 967 | java | StartActivityDemo2.java | Java | [
{
"context": "xample.j_chenxi.fragmentdemo.R;\n\n/**\n * Created by chenxi on 2017/11/13.\n */\n\npublic class StartActivityDem",
"end": 314,
"score": 0.9995460510253906,
"start": 308,
"tag": "USERNAME",
"value": "chenxi"
}
] | null | [] | package com.example.j_chenxi.fragmentdemo.thirdfragment;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import com.example.j_chenxi.fragmentdemo.R;
/**
* Created by chenxi on 20... | 967 | 0.700103 | 0.689762 | 35 | 26.628571 | 24.868896 | 84 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | false | false | 13 |
1679afc366f4b94a246a13158f0b3c5817d2b525 | 29,360,396,459,273 | fa6a19fba876f2ed47a21fc3c0d3c00f044d3dc3 | /src/main/java/redress/memory/address/Address32.java | 5cff77ec87a620405a7851e8c8726c1d4ccce652 | [] | no_license | jinqixiao/Redress-Disassembler | https://github.com/jinqixiao/Redress-Disassembler | f713e2428be6e55954c12011f0bdb07340950c95 | e15910ef345484af655addf8f44e8745c6be2d15 | refs/heads/master | 2023-05-24T11:05:17.815000 | 2016-02-27T21:06:44 | 2016-02-27T21:06:44 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package redress.memory.address;
import redress.util.B;
/**
* Created by jamesrichardson on 2/11/16.
*/
public class Address32 extends AbstractAddress {
public static final Address32 NULL = new Address32("0x00000000");
public Address32(byte[] in){
super(4);
if(in.length != BYTES)
... | UTF-8 | Java | 1,160 | java | Address32.java | Java | [
{
"context": "ddress;\n\nimport redress.util.B;\n\n/**\n * Created by jamesrichardson on 2/11/16.\n */\npublic class Address32 extends Ab",
"end": 90,
"score": 0.998253583908081,
"start": 75,
"tag": "USERNAME",
"value": "jamesrichardson"
}
] | null | [] | package redress.memory.address;
import redress.util.B;
/**
* Created by jamesrichardson on 2/11/16.
*/
public class Address32 extends AbstractAddress {
public static final Address32 NULL = new Address32("0x00000000");
public Address32(byte[] in){
super(4);
if(in.length != BYTES)
... | 1,160 | 0.565517 | 0.526724 | 53 | 20.886793 | 19.162325 | 85 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.509434 | false | false | 13 |
f6dc3ceee270a5c9b2a1c30cd50565e24efa044d | 33,389,075,787,045 | 50c868b4f282f38d324e650885dc4a0e9436e455 | /google-http-client/src/test/java/com/google/api/client/json/webtoken/JsonWebSignatureTest.java | 312c1d971beb6ac81603dd87dca262cc859b59fb | [
"Apache-2.0"
] | permissive | msboehler40/google-http-java-client | https://github.com/msboehler40/google-http-java-client | 0cf66fcb3f2cef463256cf120b4613f449cdb02a | 7ffd3904d9ef63ea6d2ff6b0db99bff867175d62 | refs/heads/master | 2020-05-30T11:46:20.351000 | 2019-05-31T23:30:12 | 2019-05-31T23:30:12 | 189,713,641 | 0 | 0 | Apache-2.0 | true | 2019-06-01T09:20:12 | 2019-06-01T09:20:12 | 2019-05-31T23:30:16 | 2019-06-01T07:20:12 | 9,312 | 0 | 0 | 0 | null | false | false | /*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | UTF-8 | Java | 2,574 | java | JsonWebSignatureTest.java | Java | [
{
"context": "*\n * Tests {@link JsonWebSignature}.\n *\n * @author Yaniv Inbar\n */\npublic class JsonWebSignatureTest extends Test",
"end": 1052,
"score": 0.9926323294639587,
"start": 1041,
"tag": "NAME",
"value": "Yaniv Inbar"
},
{
"context": ".newRsaPrivateKey();\n assertEqual... | null | [] | /*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 2,449 | 0.768065 | 0.738928 | 64 | 39.21875 | 33.545895 | 100 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.484375 | false | false | 13 |
2fb45908e40774aaa622b3515584f4187e0951d8 | 10,814,727,680,631 | bf75227f08897f2864b156c9f1229b4373861833 | /src/main/java/com/dna/rna/domain/group/Group.java | 6e7247acefe4968d9815cf03f990c16a7c6c61dc | [] | no_license | 4whomtbts/Alpha | https://github.com/4whomtbts/Alpha | 5e0d40e452848595f7f2211eb9658354f3a4224c | 30f572f159aadb939882ed9342f589f7cdb1e7cf | refs/heads/master | 2023-04-14T16:15:54.519000 | 2021-04-27T15:27:52 | 2021-04-27T15:27:52 | 361,786,089 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.dna.rna.domain.group;
import com.dna.rna.DCloudUtil;
import com.dna.rna.domain.BaseAuditorEntity;
import com.dna.rna.domain.groupUser.GroupUser;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Getter
@Setter
@Entity
@Table(name =... | UTF-8 | Java | 1,231 | java | Group.java | Java | [] | null | [] | package com.dna.rna.domain.group;
import com.dna.rna.DCloudUtil;
import com.dna.rna.domain.BaseAuditorEntity;
import com.dna.rna.domain.groupUser.GroupUser;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Getter
@Setter
@Entity
@Table(name =... | 1,231 | 0.709992 | 0.707555 | 47 | 25.19149 | 20.153284 | 85 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.468085 | false | false | 13 |
f7a41792552878e2f82633514381aaa5c70d577d | 11,957,188,985,063 | 250f0b65a48896a2575c818b4fccc8eb51fa2eae | /client/src/main/java/org/tiny/ls/client/model/RpcReq.java | bfa0d0f781dd01f0c47875edb08e8baac97093a3 | [] | no_license | zls1996/lsRpc-java | https://github.com/zls1996/lsRpc-java | ed262a4f2349f028181bf9545d0e9beae2e4ccb7 | 40ef9b03c2d4c1336056db4c027d88aa3141330a | refs/heads/master | 2023-02-05T12:26:36.658000 | 2020-12-31T12:19:49 | 2020-12-31T12:19:49 | 325,289,281 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package org.tiny.ls.client.model;
import com.google.protobuf.Descriptors;
import com.google.protobuf.DynamicMessage;
import com.google.protobuf.Message;
import com.google.protobuf.MessageLite;
import lombok.Data;
import java.io.Serializable;
/**
* Created By 朱立松 on 2020/12/10
*/
@Data
public class RpcReq implement... | UTF-8 | Java | 431 | java | RpcReq.java | Java | [
{
"context": "\n\nimport java.io.Serializable;\n\n/**\n * Created By 朱立松 on 2020/12/10\n */\n@Data\npublic class RpcReq imple",
"end": 266,
"score": 0.9983240962028503,
"start": 263,
"tag": "NAME",
"value": "朱立松"
}
] | null | [] | package org.tiny.ls.client.model;
import com.google.protobuf.Descriptors;
import com.google.protobuf.DynamicMessage;
import com.google.protobuf.Message;
import com.google.protobuf.MessageLite;
import lombok.Data;
import java.io.Serializable;
/**
* Created By 朱立松 on 2020/12/10
*/
@Data
public class RpcReq implement... | 431 | 0.767059 | 0.748235 | 22 | 18.318182 | 16.617041 | 45 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | false | false | 13 |
4a52f5fa0d0f5741d11af09cfab2bd25b30b9211 | 25,031,069,430,612 | 78fb16c912e81b4b5973cb22e1ddd43d7a07a2da | /MatrixColumn.java | 75d8ee2dc7bfdbdd8cae82a291239ddba422e3fb | [] | no_license | matthaltiner/CS145_HW2 | https://github.com/matthaltiner/CS145_HW2 | b2c0cef3323efe5a84da724aca19b4a90c4e1e7f | 3860a12239a84174a69f99aebc28d7c37384b84b | refs/heads/master | 2020-04-24T06:14:29.158000 | 2019-03-13T04:28:29 | 2019-03-13T04:28:29 | 171,758,320 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | public class MatrixColumn implements HeadNode {
private Node nextRow;
private Node nextColumn;
//Node Logic
public ValueNode getNextRow() {
//returns the first valueNode in its column
return (ValueNode)nextRow;
}
public void setNextRow(Node next) {
this.nextR... | UTF-8 | Java | 3,004 | java | MatrixColumn.java | Java | [] | null | [] | public class MatrixColumn implements HeadNode {
private Node nextRow;
private Node nextColumn;
//Node Logic
public ValueNode getNextRow() {
//returns the first valueNode in its column
return (ValueNode)nextRow;
}
public void setNextRow(Node next) {
this.nextR... | 3,004 | 0.46538 | 0.463382 | 96 | 29.291666 | 26.846367 | 125 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.270833 | false | false | 13 |
0623a96d1cc4d77398a3441822f7b4b6fb46bd58 | 20,718,922,289,705 | 71ffcbef96996ae70d259388eca1ebfa425f6a77 | /src/main/java/nl/andrewlalis/ui/control/listeners/input_students_file_view/DoneListener.java | f98c11f10943f34c0f6f0c1731bd607ed6d2872c | [] | no_license | andrewlalis/GithubInitializer | https://github.com/andrewlalis/GithubInitializer | 03aa4fa0fc2f930ff17f494dd8d99e4d28f2ed36 | 6fd994f774d497807dbc52c33fa94b0d492ac65c | refs/heads/master | 2020-03-22T01:24:41.322000 | 2018-11-26T14:40:01 | 2018-11-26T14:40:01 | 139,303,652 | 0 | 0 | null | false | 2018-11-26T14:40:02 | 2018-07-01T05:45:03 | 2018-10-25T07:39:58 | 2018-11-26T14:40:01 | 216 | 1 | 0 | 0 | Java | false | null | package nl.andrewlalis.ui.control.listeners.input_students_file_view;
import nl.andrewlalis.ui.control.listeners.ViewChangeListener;
import nl.andrewlalis.ui.view.AbstractView;
/**
* Listens for when the user clicks 'Done' after selecting a file to input.
*/
public class DoneListener extends ViewChangeListener {
... | UTF-8 | Java | 441 | java | DoneListener.java | Java | [] | null | [] | package nl.andrewlalis.ui.control.listeners.input_students_file_view;
import nl.andrewlalis.ui.control.listeners.ViewChangeListener;
import nl.andrewlalis.ui.view.AbstractView;
/**
* Listens for when the user clicks 'Done' after selecting a file to input.
*/
public class DoneListener extends ViewChangeListener {
... | 441 | 0.773243 | 0.773243 | 15 | 28.4 | 30.315672 | 75 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | false | false | 13 |
1fb2f77e85dc78f23e1c44603b44430da115e20a | 9,981,504,057,110 | 84b91e91205b50d909c7aed38ca99949779dd95e | /allsrc/com/ushaqi/zhuishushenqi/ui/ugcbook/s(1).java | 9bed3602291f272342647d1d4c6b2fc63e2d7c6e | [
"Unlicense"
] | permissive | clilystudio/NetBook | https://github.com/clilystudio/NetBook | e02824dc74356809a85c15c9548957169e7e5c6e | a8ca6cb91e9259ed7dec70b830829d622525b4b7 | refs/heads/master | 2021-01-21T14:40:30.853000 | 2016-07-29T09:39:36 | 2016-07-29T09:39:36 | 59,257,604 | 1 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.ushaqi.zhuishushenqi.ui.ugcbook;
import android.widget.Filter;
import com.ushaqi.zhuishushenqi.widget.ax;
import java.util.Calendar;
final class s
implements ax
{
s(UGCGuideAddBookActivity paramUGCGuideAddBookActivity, UGCGuideAddBookActivity.SearchPromptAdapter paramSearchPromptAdapter)
{
}
pu... | UTF-8 | Java | 684 | java | s(1).java | Java | [] | null | [] | package com.ushaqi.zhuishushenqi.ui.ugcbook;
import android.widget.Filter;
import com.ushaqi.zhuishushenqi.widget.ax;
import java.util.Calendar;
final class s
implements ax
{
s(UGCGuideAddBookActivity paramUGCGuideAddBookActivity, UGCGuideAddBookActivity.SearchPromptAdapter paramSearchPromptAdapter)
{
}
pu... | 684 | 0.744152 | 0.738304 | 25 | 26.4 | 31.497301 | 127 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | false | false | 13 |
eaf33c10d4fbd9392ff598675276565ae31d74e7 | 9,981,504,060,843 | 680a2202aa95a75b42c4f9ed6661a32aae4fb72f | /ASDPlaydate/app/src/androidTest/java/edu/chapman/cpsc370/asdplaydate/parse/ParseUserTest.java | b57e248c4b63fa299e4294cb527ab2353c4e15a2 | [] | no_license | xaviablaza/cpsc370-03 | https://github.com/xaviablaza/cpsc370-03 | 1cba70a97d2ca30f1341551be64ed0adf8337d7b | b1e3c32ecc8ba2bc2c233ef2a624a284175acc40 | refs/heads/master | 2021-05-30T04:04:15.750000 | 2015-12-15T03:27:45 | 2015-12-15T03:27:45 | null | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package edu.chapman.cpsc370.asdplaydate.parse;
import com.parse.ParseQuery;
import com.parse.ParseUser;
import org.junit.Before;
import org.junit.Test;
import java.util.List;
import java.util.UUID;
import edu.chapman.cpsc370.asdplaydate.models.ASDPlaydateUser;
import edu.chapman.cpsc370.asdplaydate.models.Child;
/... | UTF-8 | Java | 3,908 | java | ParseUserTest.java | Java | [
{
"context": "sc370.asdplaydate.models.Child;\n\n/**\n * Created by ryanburns on 11/7/15.\n */\npublic class ParseUserTest extend",
"end": 346,
"score": 0.9996641874313354,
"start": 337,
"tag": "USERNAME",
"value": "ryanburns"
},
{
"context": "eTest\n{\n private final String TEST_... | null | [] | package edu.chapman.cpsc370.asdplaydate.parse;
import com.parse.ParseQuery;
import com.parse.ParseUser;
import org.junit.Before;
import org.junit.Test;
import java.util.List;
import java.util.UUID;
import edu.chapman.cpsc370.asdplaydate.models.ASDPlaydateUser;
import edu.chapman.cpsc370.asdplaydate.models.Child;
/... | 3,903 | 0.661208 | 0.655834 | 129 | 29.294573 | 26.928675 | 101 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.658915 | false | false | 13 |
3f158c035c2e3489788ce5d38803012fcf89bfd6 | 30,288,109,400,687 | f4b40265d3c8768984f8c219cbb43255e8c24b98 | /LogMonitorV4/MultiClientApp/src/com/test/thread/ClientThread.java | 0d1b2ba876ad1ccdfb5bb3781be2ac312405a627 | [] | no_license | vipankshree/hacker-base2 | https://github.com/vipankshree/hacker-base2 | e0c110c4fb4bfae4191d76c4e40d09abe9b8f919 | 677feff06fbc2001f4b808115cb1d44f4af680fc | refs/heads/master | 2021-01-22T04:33:51.829000 | 2015-04-24T18:33:13 | 2015-04-24T18:33:13 | 34,438,026 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.test.thread;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
public class ClientThread extends Thread{
/**
* @param args
*/
public void run()
{
URL url;
... | UTF-8 | Java | 889 | java | ClientThread.java | Java | [] | null | [] | package com.test.thread;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
public class ClientThread extends Thread{
/**
* @param args
*/
public void run()
{
URL url;
... | 889 | 0.701912 | 0.697413 | 40 | 21.225 | 20.174845 | 89 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 1.575 | false | false | 13 |
9be2787ed51cd82432e3a0b1685dc428abc16ae6 | 3,143,916,129,373 | 181542de82c42020ffab8e4f926e04edb615494f | /src/servlets/ProfileServlet.java | 3dee3a09164eb3cabe45304e43b95b44f23cad7e | [] | no_license | EnduranceA/hop_shop | https://github.com/EnduranceA/hop_shop | a1d715731aeb0d0588d2a0381b79364c516b6a5d | 232f3c693f29cce21cfad965ff2ad137e650528f | refs/heads/master | 2020-08-12T06:49:58.514000 | 2019-11-17T16:20:06 | 2019-11-17T16:20:06 | 214,710,201 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package servlets;
import models.Customer;
import services.CustomerService;
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;
i... | UTF-8 | Java | 2,055 | java | ProfileServlet.java | Java | [] | null | [] | package servlets;
import models.Customer;
import services.CustomerService;
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;
i... | 2,055 | 0.674453 | 0.674453 | 58 | 34.431034 | 27.648104 | 103 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.706897 | false | false | 13 |
78d22466e955fda57b180db78e02f458501f1590 | 34,119,220,215,103 | 02ea78e79a9392d6a48ab84de39531a12a2d8ed4 | /src/main/java/com/tengen/week_1/HelloWorldSparkStyle.java | 6712a16666d6dc85113cb03804aeb87c94fee13e | [] | no_license | viralsavani/M101J | https://github.com/viralsavani/M101J | a9070a1795e9de08234da52ec7449fbbc58e9716 | 2152cb0525dd376c9a083d48eabd5eed8dec77d5 | refs/heads/master | 2021-01-19T00:20:05.236000 | 2015-02-21T05:41:19 | 2015-02-21T05:41:19 | 28,950,686 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.tengen.week_1;
import spark.Request;
import spark.Response;
import spark.Route;
import spark.Spark;
/**
* Created by VIRAL on 1/7/2015.
*/
public class HelloWorldSparkStyle {
public static void main(String[] args) {
/* Route is a pattern. We are saying this "/" is the pattern that this route... | UTF-8 | Java | 968 | java | HelloWorldSparkStyle.java | Java | [
{
"context": "park.Route;\nimport spark.Spark;\n\n/**\n * Created by VIRAL on 1/7/2015.\n */\npublic class HelloWorldSparkStyl",
"end": 137,
"score": 0.9939917922019958,
"start": 132,
"tag": "NAME",
"value": "VIRAL"
}
] | null | [] | package com.tengen.week_1;
import spark.Request;
import spark.Response;
import spark.Route;
import spark.Spark;
/**
* Created by VIRAL on 1/7/2015.
*/
public class HelloWorldSparkStyle {
public static void main(String[] args) {
/* Route is a pattern. We are saying this "/" is the pattern that this route... | 968 | 0.609504 | 0.602273 | 29 | 32.379311 | 37.024143 | 157 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.37931 | false | false | 13 |
208178d6f95c25a49b5e9c1a79fa746fcf8125b1 | 7,352,984,063,458 | bb270a665a11f8c4516b217195dd3d39d2714775 | /app/src/main/java/com/rsd/caninesolutions/presentation/GroomingActivity.java | 151043640a782e536fbaff0591e6477b3e373b12 | [] | no_license | orira/CanineSolutions | https://github.com/orira/CanineSolutions | ac521e4b6cc788680ac2ef3e578172790ed391de | 1050b60e5de473f3d12f5caa8aa21bdbd9a29998 | refs/heads/master | 2021-01-10T05:56:49.756000 | 2015-05-28T08:38:10 | 2015-05-28T08:38:10 | 36,425,555 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | package com.rsd.caninesolutions.presentation;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.view.ViewCompat;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import com.flaviofaria.kenburnsview.KenBurnsView;
import com.rsd.caninesolutions.R;
import com.rsd.canine... | UTF-8 | Java | 1,627 | java | GroomingActivity.java | Java | [
{
"context": "\nimport butterknife.InjectView;\n\n/**\n * Created by wadereweti on 17/04/15.\n */\npublic class GroomingActivity ex",
"end": 446,
"score": 0.9995927214622498,
"start": 436,
"tag": "USERNAME",
"value": "wadereweti"
}
] | null | [] | package com.rsd.caninesolutions.presentation;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.view.ViewCompat;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import com.flaviofaria.kenburnsview.KenBurnsView;
import com.rsd.caninesolutions.R;
import com.rsd.canine... | 1,627 | 0.689613 | 0.683466 | 59 | 26.576271 | 21.439867 | 68 | false | false | 0 | 0 | 0 | 0 | 0 | 0 | 0.542373 | false | false | 13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.