file_name stringlengths 7 60 | file_path stringlengths 63 220 | content stringlengths 954 292k | file_size int64 954 292k | language stringclasses 1
value | extension stringclasses 1
value | repo_name stringlengths 8 75 | repo_stars int64 8 21.2k | repo_forks int64 0 3.21k | repo_open_issues int64 0 1.54k | repo_created_at stringlengths 20 20 | repo_pushed_at stringlengths 20 20 | sha stringlengths 64 64 | near_dups_stkv2_idx listlengths 0 0 | input_ids listlengths 325 1.02k | attention_mask listlengths 1 1 | n_tok int64 325 1.02k | sample listlengths 300 300 | hash int64 -9,217,187,865,942,657,000 9,220,665,241B | uniques_1 bool 1
class | uniques_2 bool 1
class | uniques_3 bool 1
class | uniques_g3 bool 1
class | sample_query listlengths 100 100 | hash_sq int64 -9,165,591,567,420,961,000 9,187,754,742B | uniques bool 1
class | prefix_250 stringlengths 276 2.18k | prefix_200 stringlengths 230 1.78k | prefix_150 stringlengths 180 1.4k | prefix_100 stringlengths 110 917 | suffix stringlengths 57 504 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FileOutputStreamAdapter.java | /FileExtraction/Java_unseen/husonlab_megan-ce/src/megan/io/FileOutputStreamAdapter.java | /*
* FileOutputStreamAdapter.java Copyright (C) 2024 Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | 2,692 | Java | .java | husonlab/megan-ce | 62 | 21 | 18 | 2016-05-09T10:55:38Z | 2024-02-22T23:23:42Z | 43edd8f3f7ae40a0e5e216b8fa8187bdce5eec06840d49f6827e6ff4cd4f6051 | [] | [
1127,
222,
338,
37000,
4433,
51,
1874,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
32649,
696,
51,
696,
371,
286,
222,
338,
222,
338,
327,
7313,
2293,
4814,
25194,
664,
1623,
14656,
49,
6574,
904,
1636,
14554,
25028,
7475,
222,
338,
2... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 624 | [
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
... | -5,135,551,200,280,734,000 | true | false | false | false | [
986,
120,
299,
556,
16900,
8783,
45,
909,
37000,
45,
781,
490,
44206,
100,
3382,
312,
310,
2764,
299,
244,
53,
64,
303,
339,
465,
1041,
294,
338,
4389,
294,
338,
376,
588,
303,
581,
37000,
4433,
45,
991,
822,
49,
1922,
5507,
46,
... | -8,046,125,004,911,504,000 | true | See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package megan.io;
import java.io.*;
/**
* file output wrapper
* Daniel Huson, 6.2009
*/
public class FileOut... | licenses/>.
*/
package megan.io;
import java.io.*;
/**
* file output wrapper
* Daniel Huson, 6.2009
*/
public class FileOutputStreamAdapter implements IOutput {
private static final int BUFFER_SIZE = 8192;
private final BufferedOutputStream outs;
private long position;
/**
* constructor
... | {
private static final int BUFFER_SIZE = 8192;
private final BufferedOutputStream outs;
private long position;
/**
* constructor
*
*/
public FileOutputStreamAdapter(File file) throws FileNotFoundException {
outs = new BufferedOutputStream(new FileOutputStream(file), BUFFER_SIZE... | outs = new BufferedOutputStream(new FileOutputStream(file), BUFFER_SIZE);
position = 0;
}
/**
* constructor
*
*/
public FileOutputStreamAdapter(File file, boolean append) throws FileNotFoundException {
outs = new BufferedOutputStream(new FileOutputStream(file, append), BUFFER_S... | getPosition() {
return position;
}
/**
* get current length of file
*
* @return length
*/
public long length() {
return position;
}
/**
* seek, not supported
* |
ActionRunDo.java | /FileExtraction/Java_unseen/lishangwl_yichujifa/app/src/main/java/esqeee/xieqing/com/eeeeee/action/ActionRunDo.java | package esqeee.xieqing.com.eeeeee.action;
import com.yicu.yichujifa.GlobalContext;
import java.util.HashMap;
import esqeee.xieqing.com.eeeeee.bean.JSONBean;
import esqeee.xieqing.com.eeeeee.doAction.Base;
import esqeee.xieqing.com.eeeeee.doAction.api.App;
import esqeee.xieqing.com.eeeeee.doAction.api.Array;
import e... | 7,169 | Java | .java | lishangwl/yichujifa | 60 | 30 | 3 | 2023-04-06T11:51:16Z | 2023-04-06T15:43:42Z | c67c17ed9595c305a23a6a51594b6c251fd04bc7fb0deca732572a73c5602007 | [] | [
1337,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1160,
64,
222,
222,
485,
785,
51,
126,
41003,
51,
126,
1211,
9646,
37365,
51,
4470,
1237,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1306,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
1280,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
... | 4,832,389,744,547,261,000 | true | false | false | false | [
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
1530,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
5371,
64,
222,
485,
2834,
118,
17506,
... | 2,417,562,655,413,605,400 | true | App;
import esqeee.xieqing.com.eeeeee.doAction.api.Array;
import esqeee.xieqing.com.eeeeee.doAction.api.Assgin;
import esqeee.xieqing.com.eeeeee.doAction.api.Auto;
import esqeee.xieqing.com.eeeeee.doAction.api.Bule;
import esqeee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.Click... | import esqeee.xieqing.com.eeeeee.doAction.api.Auto;
import esqeee.xieqing.com.eeeeee.doAction.api.Bule;
import esqeee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.ClickText;
import esqeee.xieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Conditi... | eee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.ClickText;
import esqeee.xieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Condition;
import esqeee.xieqing.com.eeeeee.doAction.api.Dialog;
import esqeee.xieqing.com.eeeeee.doAction.api.Encrypt;
i... | ieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Condition;
import esqeee.xieqing.com.eeeeee.doAction.api.Dialog;
import esqeee.xieqing.com.eeeeee.doAction.api.Encrypt;
import esqeee.xieqing.com.eeeeee | .doAction.api.Fast;
import esqeee.xieqing.com.eeeeee.doAction.api.File;
import esqeee.xieqing.com.eeeeee.doAction. |
ABTestingServiceTest.java | /FileExtraction/Java_unseen/todoroo_astrid/tests/src/com/todoroo/astrid/service/ABTestingServiceTest.java | /**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.service;
import com.todoroo.andlib.data.TodorooCursor;
import com.todoroo.andlib.service.Autowired;
import com.todoroo.andlib.sql.Order;
import com.todoroo.andlib.sql.Query;
impor... | 3,831 | Java | .java | todoroo/astrid | 1,076 | 691 | 14 | 2010-05-22T20:26:39Z | 2020-01-30T20:16:21Z | c9317d75c605c74064a6b19f8686f20884e52f499bd9580172a680d017df2b62 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
55,
28818,
290,
623,
6367,
222,
338,
222,
338,
2819,
341,
822,
332,
4106,
39,
456,
341,
3559,
3553,
5139,
477,
1361,
51,
222,
588,
222,
1337,
785,
51,
10197,
290,
623,
51,
223... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 985 | [
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
51,
13974,
51,
1336,
1024,
1167,
8924,
64,
222,
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
51,
624,
51,
1336,
1024,
1167,
64,
222,
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
... | -4,984,972,391,152,324,000 | true | false | false | false | [
465,
581,
782,
913,
4158,
4694,
1167,
18104,
1259,
365,
320,
310,
913,
4694,
5015,
45,
1886,
49,
878,
312,
303,
339,
465,
964,
782,
913,
4694,
5015,
45,
4412,
556,
1259,
49,
1922,
25220,
1259,
46,
320,
310,
913,
5766,
45,
909,
125... | -1,762,339,727,393,467,000 | true | import com.todoroo.astrid.dao.ABTestEventDao;
import com.todoroo.astrid.data.ABTestEvent;
import com.todoroo.astrid.service.abtesting.ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
import com.todoroo.astrid.test.DatabaseTestCase;
public class ABTestingServiceTest extends DatabaseTestCase {
@Autow... | ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
import com.todoroo.astrid.test.DatabaseTestCase;
public class ABTestingServiceTest extends DatabaseTestCase {
@Autowired ABTestEventDao abTestEventDao;
@Autowired ABChooser abChooser;
@Autowired ABTests abTests;
public void testReportIni... |
@Autowired ABTestEventDao abTestEventDao;
@Autowired ABChooser abChooser;
@Autowired ABTests abTests;
public void testReportInitialEventNewUser() {
testInitialEvents(true, false);
}
public void testReportInitialEventExistingUser() {
testInitialEvents(false, true);
}
... |
public void testReportInitialEventExistingUser() {
testInitialEvents(false, true);
}
private void testInitialEvents(boolean newUser, boolean activatedUser) {
testInterval(newUser, activatedUser, 0);
}
public void testIntervalEventWithShortIntervalNewUser() {
testIntervalE... | (false, true);
}
public void testIntervalEventWithLongIntervalNewUser() {
testIntervalEventWithLongInterval(true, false);
}
public void testIntervalEventWithLongIntervalExistingUser() {
testInterval |
TransformXMLInterceptor_Test.java | /FileExtraction/Java_unseen/BorderTech_wcomponents/wcomponents-core/src/test/java/com/github/bordertech/wcomponents/container/TransformXMLInterceptor_Test.java | package com.github.bordertech.wcomponents.container;
import com.github.bordertech.wcomponents.AbstractWComponentTestCase;
import com.github.bordertech.wcomponents.RenderContext;
import com.github.bordertech.wcomponents.UIContext;
import com.github.bordertech.wcomponents.WContainer;
import com.github.bordertech.wcompon... | 11,840 | Java | .java | BorderTech/wcomponents | 20 | 19 | 111 | 2015-03-10T02:59:08Z | 2024-05-09T06:05:12Z | 0460957083cc51f6c421d334cc8be98d724a6403e5c2fe08640188fc10b94be8 | [] | [
1337,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
2646,
64,
222,
222,
485,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
5597,
92,
1735,
7246,
64,
222,
485,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
3135,
1237,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
320,
376,
221,
1081,
51,
4558,
492,
376,
221,
4879,
5741,
39031,
51,
12998,
15070,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
15135,
708,
341,
22978,
1976,
7572,
1429,
341,
1275,
7725,
821,
6414,
986,
51,
376,
588,
222,
221,
69,
... | 4,977,524,717,120,023,000 | true | false | false | false | [
4468,
2319,
45,
881,
2299,
49,
4839,
312,
376,
221,
3285,
51,
4993,
459,
5741,
1414,
666,
545,
21698,
1429,
1275,
4881,
821,
4666,
5041,
411,
11685,
5741,
39031,
51,
3780,
100,
5741,
49,
4668,
51,
1285,
312,
222,
221,
130,
499,
221,... | -1,027,225,083,193,646,800 | true | {
Config.reset();
TransformXMLTestHelper.reloadTransformer();
}
/**
* Ensure that the interceptor does nothing when the user agent string opts out.
*/
@Test
public void testPaintWithUserAgentOverride() {
MyComponent testUI = new MyComponent(TransformXMLTestHelper.TEST_XML);
Config.getInstance().setPro... | WithUserAgentOverride() {
MyComponent testUI = new MyComponent(TransformXMLTestHelper.TEST_XML);
Config.getInstance().setProperty(ConfigurationProperties.THEME_CONTENT_PATH, "");
TransformXMLTestHelper.reloadTransformer();
Map<String, String> headers = new HashMap<String, String>();
headers.put("User-Agent", ... | ();
Map<String, String> headers = new HashMap<String, String>();
headers.put("User-Agent", "Mozilla/5.0 Firefox/26.0 wcnoxslt");
TestResult actual = generateOutput(testUI, headers);
Assert.assertEquals("XML should not be transformed when useragent string flag present", TransformXMLTestHelper.TEST_XML, actual.re... | generateOutput(testUI, headers);
Assert.assertEquals("XML should not be transformed when useragent string flag present", TransformXMLTestHelper.TEST_XML, actual.result);
}
/**
* Ensure that the interceptor does nothing as long as the controlling property is disabled.
*/
@Test
public void testPaintWhileEnabl... | );
Config.getInstance().setProperty(ConfigurationProperties.THEME_CONTENT_PATH, "set");
TransformXMLTestHelper.reloadTransformer();
TestResult actual = generateOutput(testUI);
Assert.assertEquals("XML should be |
JDDNode.java | /FileExtraction/Java_unseen/prismmodelchecker_prism/prism/src/jdd/JDDNode.java | //==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham)
// * Christian von Essen <christian.vonessen@imag.fr> (VERIMAG)
// * Joachim Klein <klein@tcs.... | 4,958 | Java | .java | prismmodelchecker/prism | 145 | 65 | 54 | 2016-01-05T09:46:26Z | 2024-03-27T18:31:12Z | bbebfd33cc6fa47158c4a5f637ef1542192f3261e4142953327483f3f524a388 | [] | [
20037,
18480,
222,
325,
221,
222,
325,
221,
10585,
327,
104,
46,
244,
55,
53,
53,
55,
50,
222,
325,
221,
36330,
63,
222,
325,
221,
47,
493,
808,
27004,
284,
350,
27928,
51,
587,
4797,
69,
527,
4809,
51,
1290,
51,
348,
51,
3434,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
942,
462,
990,
2936,
1230,
222,
128,
222,
221,
2072,
1964,
8417,
64,
3038,
221,
325,
7565,
4457,
327,
18472,
46,
222,
221,
5332,
924,
7565,
1922,
493,
11686,
100,
1640,
5476,
45,
3239,
14713,
312,
222,
221,
5332,
924,
7565,
648... | 3,271,562,224,513,457,000 | true | false | false | false | [
130,
222,
221,
130,
499,
221,
1350,
376,
338,
37293,
4389,
664,
331,
493,
105,
1230,
4964,
51,
376,
338,
719,
8108,
49,
391,
640,
331,
990,
2936,
1230,
664,
331,
4964,
49,
376,
338,
813,
990,
2936,
51,
1768,
724,
1230,
941,
376,
... | -6,862,543,772,319,436,000 | true |
public class JDDNode
{
private long ptr;
// native methods (jni)
protected static native boolean DDN_IsConstant(long dd);
protected static native int DDN_GetIndex(long dd);
protected static native double DDN_GetValue(long dd);
protected static native long DDN_GetThen(long dd);
protected static native long DDN... | dd);
protected static native double DDN_GetValue(long dd);
protected static native long DDN_GetThen(long dd);
protected static native long DDN_GetElse(long dd);
static
{
try {
System.loadLibrary("jdd");
}
catch (UnsatisfiedLinkError e) {
System.out.println(e);
System.exit(1);
}
}
/**
* Prot... | {
try {
System.loadLibrary("jdd");
}
catch (UnsatisfiedLinkError e) {
System.out.println(e);
System.exit(1);
}
}
/**
* Protected constructor from a DdNode pointer.
* In general, to get a JDDNode from a pointer,
* use JDD.ptrToNode().
*/
protected JDDNode(long p)
{
ptr = p;
}
public ... | }
}
/**
* Protected constructor from a DdNode pointer.
* In general, to get a JDDNode from a pointer,
* use JDD.ptrToNode().
*/
protected JDDNode(long p)
{
ptr = p;
}
public long ptr()
{
return ptr;
}
public boolean isConstant()
{
return DDN_ | IsConstant(ptr);
}
public int getIndex()
{
return DDN_GetIndex(ptr);
}
public double getValue()
{
if (DebugJDD.debug |
NotesManager.java | /FileExtraction/Java_unseen/sbs20_filenotes-android/app/src/main/java/sbs20/filenotes/model/NotesManager.java | package sbs20.filenotes.model;
import java.io.File;
import java.util.Date;
import java.util.List;
import sbs20.filenotes.ServiceManager;
import sbs20.filenotes.R;
import sbs20.filenotes.storage.FileSystemService;
public class NotesManager {
private FileSystemService storage;
private Note selectedNote;
private ... | 5,111 | Java | .java | sbs20/filenotes-android | 10 | 5 | 5 | 2016-01-07T15:40:24Z | 2018-08-14T21:49:47Z | 3853572cb4eaa985a494d935aa587027c633a06f9f129f0f20d4ea5bf11b4c0d | [] | [
1337,
328,
3904,
55,
53,
51,
5049,
291,
8365,
51,
1184,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
328,
3904,
55,
53,
51,
5049,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
492,
310,
477,
51,
8903,
299,
556,
5857,
2272,
492,
310,
477,
51,
316,
3663,
299,
920,
64,
303,
339,
499,
221,
2072,
782,
43313,
5232,
45,
5232,
6013,
46,
320,
376,
221,
597,
51,
4358,
5232,
299,
6013,
64,
222,
221,
130,
222,
22... | 4,983,961,059,280,856,000 | true | false | false | false | [
312,
343,
339,
310,
339,
603,
461,
3300,
64,
303,
339,
499,
221,
942,
5857,
2272,
640,
11440,
365,
320,
376,
221,
620,
477,
51,
8903,
64,
222,
221,
130,
465,
964,
782,
4009,
991,
13650,
5232,
45,
991,
822,
49,
5857,
6013,
46,
32... | 3,098,153,080,429,572,000 | true | ();
this.notes = new NoteCollection();
this.isChanged = false;
}
private void setSelectedNote(Note note) {
this.selectedNote = note;
}
public Note getSelectedNote() {
return this.selectedNote;
}
public NoteCollection search(String query) {
Logger.debug(this, "search()");
... | () {
return this.selectedNote;
}
public NoteCollection search(String query) {
Logger.debug(this, "search()");
NoteCollection results = new NoteCollection();
for (Note note : this.notes) {
if (note.getName()
.toLowerCase()
.contains(query... | notes) {
if (note.getName()
.toLowerCase()
.contains(query.toLowerCase()) ||
this.storedContent(note)
.toLowerCase()
.contains(query.toLowerCase())) {
results.add(note);
}
}
... | );
}
}
return results;
}
public NoteCollection getNotes() {
return this.notes;
}
private void mergeFileIntoNote(File file, Note note) {
note.setTextSummary(this.storage.fileSummaryAsString(file));
note.setSize(file.length());
note.setLastModified(new Da... | String name) {
for (File file : files) {
if (name.equals(file.getName())) {
return true;
}
}
return false;
}
public void readAllFromStorage() {
Logger |
Transporter.java | /FileExtraction/Java_unseen/MatterOverdrive_MatterOverdrive-Legacy-Edition/src/main/java/matteroverdrive/compat/modules/waila/provider/Transporter.java | /*
* This file is part of Matter Overdrive
* Copyright (C) 2018, Horizon Studio <contact@hrznstudio.com>, All rights reserved.
*
* Matter Overdrive is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ... | 2,343 | Java | .java | MatterOverdrive/MatterOverdrive-Legacy-Edition | 34 | 10 | 1 | 2018-02-08T21:50:42Z | 2018-10-14T13:04:11Z | 5306ca8ea15dcbf4534b6f8f1b1389b62a29e8164a3c9b4c67b1ef2be2a3c377 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
5876,
410,
9878,
13872,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
49,
696,
25357,
9394,
350,
5559,
69,
3943,
9241,
13086,
51,
527,
2731,
3381,
4760,
5225,
51,
222,
338,
222,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 599 | [
13872,
51,
20894,
51,
9618,
284,
51,
41760,
7105,
10003,
284,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
1256,
51,
27358,
626,
102,
1081,
1985,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
... | 1,386,205,289,048,081,400 | true | false | false | false | [
9794,
22069,
49,
457,
92,
626,
102,
1081,
1985,
1377,
46,
320,
310,
18891,
2234,
2713,
299,
22069,
51,
390,
41760,
492,
603,
434,
327,
538,
5118,
18891,
2234,
7105,
10003,
284,
46,
320,
343,
18891,
2234,
7105,
10003,
284,
11350,
284,
... | 3,584,061,662,690,199,600 | true | drive.machines.transporter.TileEntityMachineTransporter;
import mcp.mobius.waila.api.IWailaConfigHandler;
import mcp.mobius.waila.api.IWailaDataAccessor;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import java.util.List;
/**
* @autho... | Accessor;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import java.util.List;
/**
* @author shadowfacts
*/
public class Transporter implements IWailaBodyProvider {
@Override
public List<String> getWailaBody(ItemStack itemSta... | @author shadowfacts
*/
public class Transporter implements IWailaBodyProvider {
@Override
public List<String> getWailaBody(ItemStack itemStack, List<String> currenttip, IWailaDataAccessor accessor, IWailaConfigHandler config) {
TileEntity te = accessor.getTileEntity();
if (te instanceof Tile... | Accessor accessor, IWailaConfigHandler config) {
TileEntity te = accessor.getTileEntity();
if (te instanceof TileEntityMachineTransporter) {
TileEntityMachineTransporter transporter = (TileEntityMachineTransporter) te;
TransportLocation location = transporter.getSelectedLocatio... | (String.format("%sDestination s: %s X:%d Y:%d Z:%d", TextFormatting.YELLOW, TextFormatting.WHITE, location.pos.getX(), location.pos.getY(), location.pos.getZ()));
|
ProjectExpectedStudyDTO.java | /FileExtraction/Java_unseen/CCAFS_MARLO/marlo-web/src/main/java/org/cgiar/ccafs/marlo/rest/dto/ProjectExpectedStudyDTO.java | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | 7,112 | Java | .java | CCAFS/MARLO | 8 | 8 | 286 | 2016-05-11T18:52:21Z | 2024-05-08T21:14:43Z | df157d5abba774556c74e8459d39b4318c3105b7ba38171317460a88a13dd5e5 | [] | [
18200,
47,
222,
338,
1369,
822,
458,
1760,
451,
4795,
4892,
418,
791,
10259,
5413,
18687,
456,
14421,
568,
222,
338,
4322,
3772,
120,
11329,
327,
28159,
1323,
566,
222,
338,
507,
802,
1323,
458,
3760,
2951,
63,
863,
902,
14081,
580,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
332,
17143,
1884,
1701,
1701,
411,
2764,
299,
244,
54,
54,
46,
353,
964,
1701,
65,
17143,
1884,
8723,
67,
13408,
1884,
739,
64,
736,
496,
29245,
45,
8903,
299,
332,
47629,
347,
15019,
1014,
1168,
411,
2764,
299,
244,
54,
53,
46,
3... | 3,260,393,002,759,096,000 | true | false | false | false | [
8886,
496,
29245,
45,
8903,
299,
332,
12055,
327,
1862,
21766,
49,
5500,
49,
2791,
16635,
5742,
2764,
299,
244,
54,
57,
46,
353,
964,
26166,
8723,
11311,
64,
8886,
496,
29245,
45,
8903,
299,
332,
12055,
828,
411,
2764,
299,
244,
54,... | 7,940,745,857,860,520,000 | true | "Quantification List List", position = 11)
private List<QuantificationDTO> quantificationList;
@ApiModelProperty(notes = "Contributing innovations list", position = 10)
private List<ProjectExpectedStudyInnovationDTO> innovationCodeList;
@ApiModelProperty(notes = "Contributing policies list", position = 3)
... | InnovationDTO> innovationCodeList;
@ApiModelProperty(notes = "Contributing policies list", position = 3)
private List<ProjectExpectedStudyPolicyDTO> policiesCodeList;
@ApiModelProperty(notes = "Aditional link list", position = 4)
private List<ProjectExpectedStudyLinkDTO> links;
@ApiModelProperty(notes = "... | ", position = 4)
private List<ProjectExpectedStudyLinkDTO> links;
@ApiModelProperty(notes = "Contributing milestone list", position = 13)
private List<ProjectExpectedStudyMilestoneDTO> milestonesList;
@ApiModelProperty(notes = "phase (POWB, AR, UpKeep)", position = 14)
private PhaseDTO phase;
@ApiModel... |
@ApiModelProperty(notes = "phase (POWB, AR, UpKeep)", position = 14)
private PhaseDTO phase;
@ApiModelProperty(notes = "phase id", position = 14)
private Long phaseID;
public List<CountryDTO> getCountries() {
return countries;
}
public List<CrpProgramDTO> getFlagshipsList() {
return flagsh... | getGeographicScopes() {
return geographicScopes;
}
public Long getId() {
return id;
}
public List<ProjectExpectedStudyInnovationDTO> getInnovationCodeList() {
return innovationCodeList |
SculkSpreadTicker.java | /FileExtraction/Java_unseen/FrozenBlock_WilderWild/src/main/java/net/frozenblock/wilderwild/entity/SculkSpreadTicker.java | /*
* Copyright 2023-2024 FrozenBlock
* This file is part of Wilder Wild.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) an... | 2,666 | Java | .java | FrozenBlock/WilderWild | 78 | 20 | 8 | 2022-04-16T10:36:16Z | 2024-05-08T01:38:23Z | 330db67bab4f354f23bb1e95f5690929c8524dff083c4c747b1f7a9bd6b05b69 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
55,
56,
50,
55,
53,
55,
57,
525,
13277,
2246,
222,
338,
1369,
822,
458,
1760,
451,
643,
1331,
643,
771,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 774 | [
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
222,
338,
16227,
6153,
5062,
1196,
456,
1... | 3,797,254,256,326,099,000 | true | false | false | false | [
21960,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
2671,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
1540,
51,
2391,
6627,
88,
1023,
839,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
22563,
51,
5985,
56,
64,
... | -5,990,618,094,154,235,000 | true | the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this pr... | should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*/
package net.frozenblock.wilderwild.entity;
import net.frozenblock.lib.entity.api.SilentTicker;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
im... |
import net.frozenblock.lib.entity.api.SilentTicker;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.SculkSpreader;
import net.minecraft.world.phys.Vec3;
import org.jet... | EntityType;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.SculkSpreader;
import net.minecraft.world.phys.Vec3;
import org.jetbrains.annotations.NotNull;
public class SculkSpreadTicker extends SilentTicker {
public final SculkSpreader sculkSpreader;
public SculkSpreadTicker(@NotNull... | @NotNull Level level) {
super(entityType, level);
this.sculkSpreader = SculkSpreader.createLevelSpreader();
}
public SculkSpreadTicker(@ |
LocalRemoteLinkTest.java | /FileExtraction/Java_unseen/hartwigmedical_hmftools/esvee/src/test/java/com/hartwig/hmftools/esvee/assembly/LocalRemoteLinkTest.java | package com.hartwig.hmftools.esvee.assembly;
import static com.hartwig.hmftools.common.genome.region.Orientation.FORWARD;
import static com.hartwig.hmftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.Str... | 7,531 | Java | .java | hartwigmedical/hmftools | 176 | 53 | 13 | 2016-01-26T15:03:29Z | 2024-05-09T06:18:58Z | 0aff442ecc0bd1bea7e5f9e75cf6256948829e0f642b1915412ae7cffc761a0f | [] | [
1337,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
326,
606,
106,
51,
14314,
64,
222,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
27582,
51,
3436,
51,
13986,
51,
33115,
64,
222,
485,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
521,
124,
384,
51,
109,
10599,
4303,
51,
326,
606,
106,
51,
14314,
64,
222,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
27582,
51,
3436,
51,
13986,
51,
33115,
64,
222,
485,
924,
785,
51,
109,
... | -6,396,524,076,657,140,000 | true | false | false | false | [
51,
2297,
51,
881,
51,
21950,
32384,
51,
1424,
87,
100,
54,
64,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
881,
51,
21950,
32384,
51,
1424,
87,
100,
55,
64,
222,
485,
924,
785,
51,
109,
521... | -7,542,814,705,116,227,000 | true | artwig.hmftools.esvee.assembly;
import static com.hartwig.hmftools.common.genome.region.Orientation.FORWARD;
import static com.hartwig.hmftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.StructuralVarian... | mftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DEL;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DUP;
import static com.hartwig.hmftools.common.test.GeneTes... | mftools.common.sv.StructuralVariantType.DEL;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DUP;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_1;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_2;
import static com.hartwig.hmftools.esvee.TestUtils.READ_ID_GENERATO... | .common.test.GeneTestUtils.CHR_1;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_2;
import static com.hartwig.hmftools.esvee.TestUtils.READ_ID_GENERATOR;
import static com.hartwig.hmftools.esvee.TestUtils.REF_BASES_200;
import static com. | hartwig.hmftools.esvee.TestUtils.cloneRead;
import static com.hartwig.hmftools.esvee.TestUtils.createAssembly;
import static com.hartwig |
LinePlot.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/common/charts/src/edu/colorado/phet/common/charts/LinePlot.java | // Copyright 2002-2011, University of Colorado
/*
* CVS Info -
* Filename : $Source$
* Branch : $Name$
* Modified by : $Author:samreid $
* Revision : $Revision:14669 $
* Date modified : $Date:2007-04-17 02:12:41 -0500 (Tue, 17 Apr 2007) $
*/
package edu.colorado.phet.common.charts;
import java.awt.BasicStroke... | 5,551 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 1619b11247c6ae761a34bba1eafdd5db5e1f84fd7ed61fc477c679005567d0aa | [] | [
325,
2657,
244,
55,
53,
53,
55,
50,
55,
53,
54,
54,
49,
11451,
451,
5459,
2619,
222,
222,
1127,
222,
338,
409,
5775,
12450,
449,
222,
338,
38005,
518,
417,
2044,
41,
222,
338,
23721,
518,
417,
577,
41,
222,
338,
13124,
829,
518,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
10237,
4749,
23903,
45,
640,
1735,
1046,
8108,
1233,
49,
10085,
49,
16870,
1110,
310,
1035,
23903,
45,
317,
10237,
4749,
23903,
1110,
603,
1035,
1947,
6843,
492,
303,
339,
465,
453,
2672,
3147,
303,
453,
8275,
1758,
303,
453,
2672,
31... | -8,652,238,626,724,049,000 | true | false | false | false | [
338,
496,
772,
1989,
294,
588,
303,
581,
782,
758,
14212,
1530,
45,
5459,
1989,
848,
320,
310,
317,
10237,
4749,
23903,
51,
489,
36703,
45,
1989,
1110,
303,
339,
465,
453,
2672,
3147,
303,
453,
31671,
23903,
4753,
303,
453,
2672,
31... | -9,043,049,934,694,770,000 | true | hetShapeGraphic( getComponent(), generalPath, stroke, paint );
addGraphic( phetShapeGraphic );
addAllPoints();
}
//----------------------------------------------------------------------------
// Accessors
//----------------------------------------------------------------------------
... | used to stroke the plot.
*
* @param stroke
*/
public void setStroke( Stroke stroke ) {
phetShapeGraphic.setStroke( stroke );
}
/**
* Sets the Color used to stroke the plot.
*
* @param color
*/
public void setBorderColor( Color color ) {
phetShapeGraph... | plot.
*
* @param color
*/
public void setBorderColor( Color color ) {
phetShapeGraphic.setBorderColor( color );
}
/**
* Sets the Color used to stroke the plot.
*
* @param color
*/
public void setStrokeColor( Color color ) {
phetShapeGraphic.setBorderC... | * @param color
*/
public void setStrokeColor( Color color ) {
phetShapeGraphic.setBorderColor( color );
}
//----------------------------------------------------------------------------
// DataSetGraphic implementation
//-----------------------------------------------------------------... |
//----------------------------------------------------------------------------
// DataSet.Observer implementation
//----------------------------------------------------------------------------
/**
* Called when the associated data set is cleared.
* Clients should not call this method direct... |
RefurbishedConfig.java | /FileExtraction/Java_unseen/r3back_the-core/TheSkills/src/main/java/com/qualityplus/skills/base/config/perk/RefurbishedConfig.java | package com.qualityplus.skills.base.config.perk;
import com.qualityplus.assistant.lib.com.cryptomorin.xseries.XMaterial;
import com.qualityplus.skills.base.perk.Perk;
import com.qualityplus.skills.base.perk.perks.RefurbishedPerk;
import com.qualityplus.skills.base.skill.gui.GUIOptions;
import com.qualityplus.assistant... | 2,549 | Java | .java | r3back/the-core | 9 | 9 | 8 | 2022-10-29T02:27:04Z | 2024-03-09T23:58:17Z | a81e63d41823dfe554f4cd9784887d8e25bbcc6da96aad1bb8b97c6ed4a1dee2 | [] | [
1337,
785,
51,
13752,
5447,
51,
25048,
51,
1460,
51,
1180,
51,
481,
112,
64,
222,
222,
485,
785,
51,
13752,
5447,
51,
17595,
51,
1379,
51,
527,
51,
3712,
437,
290,
285,
51,
125,
8481,
51,
93,
6347,
64,
222,
485,
785,
51,
13752,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 758 | [
299,
244,
58,
53,
64,
303,
581,
13029,
2045,
17390,
2045,
299,
13029,
2045,
51,
4179,
365,
343,
657,
9054,
45,
55,
62,
46,
343,
657,
1655,
45,
54,
46,
343,
657,
1113,
45,
93,
6347,
51,
19409,
100,
6902,
46,
343,
657,
8288,
459,
... | 2,502,273,877,334,341,000 | true | false | false | false | [
11521,
5422,
112,
57,
22347,
19511,
402,
54,
62,
107,
86,
11516,
46,
343,
657,
1850,
2689,
81,
705,
45,
4293,
51,
36511,
4923,
10900,
100,
631,
19598,
3359,
100,
2328,
42,
2152,
343,
657,
1848,
492,
303,
581,
4235,
112,
640,
1852,
... | 4,573,760,208,968,727,000 | true | = 50;
public GUIOptions guiOptions = GUIOptions.builder()
.slot(29)
.page(1)
.item(XMaterial.PLAYER_HEAD)
.texture("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWNiZDlmNWVjMWVkMDA3MjU5OTk2NDkxZTY5ZmY2NDlhMzEwNmNmOTIwMjI3YjFiYjN... | 0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWNiZDlmNWVjMWVkMDA3MjU5OTk2NDkxZTY5ZmY2NDlhMzEwNmNmOTIwMjI3YjFiYjNhNzFlZTdhODk4NjNmIn19fQ==")
.mainMenuLore(Collections.singletonList("%skill_refurbished_description%"))
.build();
public Perk getPerk(){
r... | leHR1cmUvNWNiZDlmNWVjMWVkMDA3MjU5OTk2NDkxZTY5ZmY2NDlhMzEwNmNmOTIwMjI3YjFiYjNhNzFlZTdhODk4NjNmIn19fQ==")
.mainMenuLore(Collections.singletonList("%skill_refurbished_description%"))
.build();
public Perk getPerk(){
return RefurbishedPerk.builder()
.id(id)
.d... | dhODk4NjNmIn19fQ==")
.mainMenuLore(Collections.singletonList("%skill_refurbished_description%"))
.build();
public Perk getPerk(){
return RefurbishedPerk.builder()
.id(id)
.displayName(displayName)
.description(description)
.en... | toolList(Arrays.asList(
XMaterial.DIAMOND_PICKAXE,
XMaterial.IRON_PICKAXE,
XMaterial.GOLDEN_PICKAXE
))
.build();
|
DialogDeviceLogsG1.java | /FileExtraction/Java_unseen/usnasoft_shellyscanner/src/main/java/it/usna/shellyscan/view/DialogDeviceLogsG1.java | package it.usna.shellyscan.view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.event.KeyEvent;
import java.util.concurrent.Executors;
import java.util.concurrent... | 4,897 | Java | .java | usnasoft/shellyscanner | 27 | 5 | 0 | 2022-10-13T11:39:10Z | 2024-05-08T17:11:33Z | 86751c13325fb8d64457d30cb2452edbeb5c8296c6f50bbd482d450cced6e6dd | [] | [
1337,
580,
51,
371,
3288,
51,
7890,
126,
6987,
51,
1090,
64,
222,
222,
485,
1401,
51,
8236,
51,
7263,
2362,
64,
222,
485,
1401,
51,
8236,
51,
1530,
64,
222,
485,
1401,
51,
8236,
51,
7424,
64,
222,
485,
1401,
51,
8236,
51,
24291,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
485,
1401,
51,
8236,
51,
24291,
64,
222,
485,
1401,
51,
8236,
51,
18176,
28786,
1036,
51,
25946,
64,
222,
485,
1401,
51,
8236,
51,
18176,
28786,
1036,
51,
671,
5385,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
26082,
64,
222,... | 4,971,253,884,647,211,000 | true | false | false | false | [
5934,
51,
79,
26974,
64,
222,
485,
3698,
51,
5934,
51,
48342,
64,
222,
485,
3698,
51,
5934,
51,
897,
51,
79,
1049,
1735,
64,
222,
222,
485,
580,
51,
371,
3288,
51,
7890,
126,
6987,
51,
4370,
64,
222,
485,
580,
51,
371,
3288,
5... | 1,125,089,801,820,995,200 | true |
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.event.KeyEvent;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import j... | .Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import... | ;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
import javax.swing.KeyStroke;
import javax.swing.text.JTextComponent;
import it.usna.shellyscan.Main;
import it.usna.shellyscan.controlle... | swing.JTextArea;
import javax.swing.KeyStroke;
import javax.swing.text.JTextComponent;
import it.usna.shellyscan.Main;
import it.usna.shellyscan.controller.UsnaAction;
import it.usna.shellyscan.model.Devices;
import it.usna.shellyscan.model.device.ShellyAbstractDevice;
import it.usna.shelly | scan.model.device.ShellyAbstractDevice.Status;
import it.usna.shellyscan.view.util.UtilMiscellaneous;
import it.usna.swing.dialog.FindReplaceDialog;
public |
YearMonthAndAutoIncrementPolicy.java | /FileExtraction/Java_unseen/neatlogic_neatlogic-itsm/src/main/java/neatlogic/module/process/processtaskserialnumberpolicy/handler/YearMonthAndAutoIncrementPolicy.java | /*Copyright (C) 2024 深圳极向量科技有限公司 All Rights Reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is ... | 5,441 | Java | .java | neatlogic/neatlogic-itsm | 28 | 6 | 2 | 2023-02-01T07:57:39Z | 2024-05-09T07:32:15Z | 1eb8342777d43afe5a424ffb1f071bcbd2eaf44745260d5fb83da929f9d51217 | [] | [
1127,
10585,
327,
72,
46,
244,
55,
53,
55,
57,
244,
29105,
147,
2267,
149,
34324,
10393,
6975,
23732,
17046,
3052,
10975,
24853,
3381,
12902,
11921,
51,
222,
222,
2287,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
556,
27194,
459,
12727,
2842,
2992,
303,
339,
465,
496,
1806,
303,
581,
648,
5334,
2346,
6713,
2877,
2265,
45,
2877,
2265,
43553,
4263,
12536,
2183,
2265,
43553,
4263,
12536,
46,
320,
310,
461,
2183,
2265,
43553,
1201,
51,
4476,
2346,
... | 296,487,383,822,393,600 | true | false | false | false | [
1744,
4582,
18705,
6141,
303,
964,
924,
462,
6849,
2265,
43553,
11483,
7334,
3798,
2041,
9216,
1778,
320,
603,
964,
910,
28477,
299,
332,
53,
244,
53,
244,
53,
244,
54,
338,
1037,
884,
453,
40924,
10175,
54,
6640,
53,
3616,
53,
4519... | 545,395,341,195,730,240 | true | new SimpleDateFormat("yyyyMM"));
}
@Override
public int batchUpdateHistoryProcessTask(ProcessTaskSerialNumberPolicyVo processTaskSerialNumberPolicyVo) {
return processTaskSerialNumberService.batchUpdateHistoryProcessTask(processTaskSerialNumberPolicyVo, new SimpleDateFormat("yyyyMM"));
}
... | , new SimpleDateFormat("yyyyMM"));
}
@Override
public Long calculateSerialNumberSeedAfterBatchUpdateHistoryProcessTask(ProcessTaskSerialNumberPolicyVo processTaskSerialNumberPolicyVo) {
return processTaskSerialNumberService.calculateSerialNumberSeedAfterBatchUpdateHistoryProcessTask(processTaskSer... | HistoryProcessTask(processTaskSerialNumberPolicyVo, true, Date.from(LocalDate.now().with(TemporalAdjusters.firstDayOfMonth()).atStartOfDay(ZoneId.systemDefault()).toInstant()));
}
@Component
@DisallowConcurrentExecution
private static class ProcessTaskSerialNumberSeedResetJob extends JobBase {
... | DisallowConcurrentExecution
private static class ProcessTaskSerialNumberSeedResetJob extends JobBase {
private String cron = "0 0 0 1 *?"; // 每月1日0时0分0秒
@Autowired
private ProcessTaskSerialNumberService processTaskSerialNumberService;
@Override
public String getGroupName()... | .getSimpleName() + "-RESET";
}
@Override
public Boolean isMyHealthy(JobObject jobObject) {
return true;
}
@Override
public void reloadJob(JobObject jobObject) {
String tenant |
DropwizardServerExtension.java | /FileExtraction/Java_unseen/triplea-game_triplea/spitfire-server/dropwizard-server/src/test/java/org/triplea/spitfire/server/DropwizardServerExtension.java | package org.triplea.spitfire.server;
import com.google.common.base.Preconditions;
import io.dropwizard.Configuration;
import io.dropwizard.testing.DropwizardTestSupport;
import java.net.URI;
import org.junit.jupiter.api.extension.BeforeAllCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.ju... | 2,909 | Java | .java | triplea-game/triplea | 1,269 | 375 | 581 | 2015-07-27T09:32:58Z | 2024-05-08T16:58:30Z | 2947b4e0512677ae053344d754642f6017f08e5655ea560bd64b51aa54b2f63b | [] | [
1337,
1105,
51,
31220,
102,
51,
438,
302,
5734,
51,
1805,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
36329,
64,
222,
485,
3377,
51,
3850,
21862,
51,
2339,
64,
222,
485,
3377,
51,
3850,
21862,
51,
4280,
51,
6260,
2... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 664 | [
222,
338,
280,
350,
393,
67,
79,
2015,
78,
449,
614,
1219,
110,
1998,
222,
338,
280,
350,
393,
67,
79,
2015,
78,
563,
50,
28116,
462,
449,
1364,
462,
327,
12909,
6052,
46,
708,
902,
545,
30949,
4745,
222,
338,
981,
990,
1219,
11... | 8,254,834,721,362,423,000 | true | false | false | false | [
2143,
2703,
331,
4005,
913,
462,
458,
3412,
16952,
682,
338,
480,
16498,
3326,
3087,
3562,
7278,
391,
2160,
666,
4019,
563,
51,
5958,
4753,
682,
338,
682,
338,
350,
1023,
19338,
707,
682,
338,
496,
11722,
682,
338,
924,
14204,
21862,
... | -3,006,839,803,376,654,000 | true |
* <li>JDBI - jdbi instance
* <li>JDBI on-demand class - any class (DAO classes) that can be instantiated via
* Jdbi.onDemand(Class)
* <li>Server Configuration - the configuration class of the dropwizard server
* </ul>
*
* @param <C> Server configuration type.
*/
public abstract class DropwizardServ... | )
* <li>Server Configuration - the configuration class of the dropwizard server
* </ul>
*
* @param <C> Server configuration type.
*/
public abstract class DropwizardServerExtension<C extends Configuration>
implements BeforeAllCallback, ParameterResolver {
private static URI serverUri;
/**
* Implemen... | >
implements BeforeAllCallback, ParameterResolver {
private static URI serverUri;
/**
* Implementations should return a *static* instance of DropwizardTestSupport. If returning a
* local instance, the test server may be turned off after a single test class is done executing
* and subsequent tests cou... | off after a single test class is done executing
* and subsequent tests could fail due to server not being on. Example implementation
*
* <pre>{@code
* @Getter
* static DropwizardTestSupport<MapsConfig> testSupport =
* new DropwizardTestSupport<>(MapsServer.class, "configuration.yml")
* }</pre>
... | ExtensionContext context) throws Exception {
final DropwizardTestSupport<C> support = getSupport();
support.before();
final String localUri = "http://localhost:" + support.getLocalPort();
serverUri = URI.create |
StackValue.java | /FileExtraction/Java_unseen/corretto_corretto-11/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/StackValue.java | /*
* Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 3,554 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | 41893f63984fbddc0a1e93d50b04599d8c29f81b5818abfb2fdd09e556b55b10 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
53,
49,
244,
55,
53,
53,
62,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 959 | [
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
70... | -573,006,742,136,708,100 | true | false | false | false | [
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,... | -61,652,847,191,312,184 | true | it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR P... | WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public... | anied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or... | , Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
package sun.jvm.hotspot.runtime;
import java.io.*;
import sun.jvm.hot | spot.debugger.*;
import sun.jvm.hotspot.utilities.*;
public class StackValue {
private int type;
private OopHandle handleValue;
private long integerValue;
public StackValue() {
|
MiningPanel.java | /FileExtraction/Java_unseen/btdex_btdex/src/main/java/btdex/ui/MiningPanel.java | package btdex.ui;
import static btdex.locale.Translation.tr;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.File... | 50,108 | Java | .java | btdex/btdex | 58 | 32 | 63 | 2019-05-12T21:24:47Z | 2024-01-07T10:04:26Z | 1ee359f89b3684b88ea15016d5520959b9a9678c1002df7a0079c67c6e59945a | [] | [
1337,
18389,
669,
51,
1726,
64,
222,
222,
485,
924,
18389,
669,
51,
6925,
51,
12687,
51,
378,
64,
222,
222,
485,
1401,
51,
8236,
51,
7263,
2362,
64,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
485,
1401,
51,
8236,
51,
4078,
236... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
485,
1401,
51,
8236,
51,
48532,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
17317,
64,
222,
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
... | -6,406,178,328,594,754,000 | true | false | false | false | [
222,
485,
1401,
51,
11780,
51,
781,
51,
8109,
4014,
2846,
64,
222,
485,
1401,
51,
4386,
51,
16591,
6124,
64,
222,
485,
1401,
51,
897,
51,
41033,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,... | 1,825,795,749,629,077,200 | true |
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileFilter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.RandomA... | FileFilter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.RandomAccessFile;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.file.Files;
import java.nio.fi... | net.URI;
import java.net.URISyntaxException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collectio... |
import java.nio.file.StandardCopyOption;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Random;
import java.util.concurrent.atomic.AtomicRef... | ;
import javax.swing.BoxLayout;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.J |
default#73181#109#154.java | /FileExtraction/Java_unseen/UCL-CREST_Siamese/references/bcb_chosen_clones/default#73181#109#154.java | public static void add100RowsToTargetDB(int block) {
Scanner source = null;
Connection connection = null;
try {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String dbUrl = "jdbc:odbc:conn";
connection = DriverManager.getConn... | 2,448 | Java | .java | UCL-CREST/Siamese | 34 | 22 | 6 | 2016-02-08T17:54:33Z | 2024-05-03T04:36:05Z | bab500af2ffd16a6fd81bf29e59202b80876810c9567417eee10b237b1084f44 | [] | [
283,
581,
924,
782,
1035,
54,
53,
53,
7264,
724,
2937,
2015,
45,
429,
2181,
46,
320,
310,
24386,
1932,
299,
762,
64,
310,
9475,
3401,
299,
762,
64,
310,
1614,
320,
343,
1614,
320,
419,
1727,
51,
31918,
459,
9886,
51,
14704,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 567 | [
299,
332,
14704,
63,
36825,
63,
3795,
884,
419,
3401,
299,
10408,
1590,
51,
20712,
45,
1219,
2226,
312,
419,
1932,
299,
556,
24386,
45,
909,
2050,
459,
73,
6573,
3995,
126,
1387,
102,
52,
3781,
52,
768,
52,
2937,
768,
51,
4849,
29... | 1,372,367,465,764,938,800 | true | false | false | false | [
910,
2487,
299,
332,
2648,
2659,
447,
1000,
2937,
14134,
18863,
14134,
2248,
2070,
89,
98,
6279,
1021,
15130,
19651,
15130,
26862,
15130,
3750,
1869,
15130,
3750,
2248,
15130,
3750,
2553,
15130,
3917,
54,
15130,
1538,
2663,
120,
98,
1737,... | 6,378,722,412,951,533,000 | true | = "jdbc:odbc:conn";
connection = DriverManager.getConnection(dbUrl);
source = new Scanner(new File("D:/Priyanka/My/Data/TargetData.csv"));
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
... | ) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
int counter = 0;
source.nextLine();
int cursor = block * 100;
while (cursor!= 0) {
cursor--;
source... | != 0) {
cursor--;
source.nextLine();
}
while (source.hasNextLine() && counter < 100) {
Scanner ls = new Scanner(source.nextLine());
ls.useDelimiter(",");
String query = "INSERT INTO [CompTarget].[dbo].[ReadingsT] ([t... | String query = "INSERT INTO [CompTarget].[dbo].[ReadingsT] ([time],[reads],[writes],[sysCall],[sysRead],[sysWrite],[random1],[numExecs],[rchar],[wchar],[reading_id]) VALUES ";
query += "( '" + ls.next() + "', " + ls.nextInt() + ", " + ls.nextInt() + ", " + ls.nextInt() + ", " + ls.nextInt() + ", " + +l... | .nextInt() + ", " + ls.nextDouble() + ", " + ls.nextDouble() + ", " + ls.nextDouble() + ", " + ls.nextDouble() + ", " + pkt + ")";
String query2 |
TestUseContainerSupport.java | /FileExtraction/Java_unseen/openjdk_jdk8u-dev/jdk/test/jdk/internal/platform/docker/TestUseContainerSupport.java | /*
* Copyright (c) 2020, Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is dis... | 2,846 | Java | .java | openjdk/jdk8u-dev | 46 | 134 | 37 | 2021-11-29T21:12:13Z | 2024-05-09T06:19:46Z | d48a00c582117a319ad505c8bb302a0d4bcafa1fa97ca7c99f895867c99e25e3 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
53,
49,
4777,
30044,
49,
6367,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
64,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 708 | [
341,
6994,
6153,
5062,
1196,
1522,
244,
55,
1773,
49,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
... | -192,678,387,611,410,340 | true | false | false | false | [
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51... | -5,426,205,365,307,904,000 | true | the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licens... | MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to t... | received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need addit... | 0-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @summary UseContainerSupport flag should reflect Metrics being available
* @library /test/lib
* @build CheckUseContainer... | main/timeout=360 TestUseContainerSupport
*/
import jdk.test.lib.Utils;
import jdk.test.lib.containers.docker.Common;
import jdk.test.lib.containers |
ProposedDeviceCellRenderer.java | /FileExtraction/Java_unseen/mnit-rtmc_iris/src/us/mn/state/dot/tms/client/incident/ProposedDeviceCellRenderer.java | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2016 Minnesota Department of Transportation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the L... | 2,763 | Java | .java | mnit-rtmc/iris | 40 | 17 | 26 | 2019-08-14T18:16:40Z | 2024-05-08T17:08:16Z | 9cc9a57421568817ddf7c6d8eebdc0c129d9f7333799f345bb8d28e7cceda2c8 | [] | [
1127,
222,
338,
14095,
1309,
790,
2871,
44433,
29007,
3094,
10422,
1189,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
244,
7535,
13488,
5735,
24481,
451,
23597,
387,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 786 | [
739,
65,
73,
2758,
2938,
499,
221,
1350,
517,
3765,
1437,
4046,
13095,
588,
222,
221,
2072,
1175,
1330,
6865,
81,
1766,
2917,
6470,
34565,
100,
9405,
64,
499,
221,
1350,
493,
2758,
4046,
13095,
588,
222,
221,
2072,
1175,
1330,
6865,
... | 4,798,756,094,397,921,000 | true | false | false | false | [
804,
282,
9151,
391,
2922,
51,
376,
338,
496,
772,
1671,
282,
1701,
1671,
451,
341,
3313,
51,
376,
338,
496,
772,
458,
4559,
283,
3626,
341,
3313,
4337,
68,
376,
338,
496,
772,
4046,
4008,
8105,
244,
12901,
341,
3313,
1178,
9291,
... | 5,212,877,117,923,071,000 | true | List<DMS>();
/** LCS array cell renderer */
private final ProposedLcsCellRenderer lcs_renderer;
/** DMS cell renderer */
private final ProposedDmsCellRenderer dms_renderer;
/** Create a new proposed LCS array cell renderere */
public ProposedDeviceCellRenderer(Session s, DeviceDeployModel m) {
lcs_renderer =... | ;
/** Create a new proposed LCS array cell renderere */
public ProposedDeviceCellRenderer(Session s, DeviceDeployModel m) {
lcs_renderer = new ProposedLcsCellRenderer(s, m);
dms_renderer = new ProposedDmsCellRenderer(s, m);
}
/** Get component to render a device.
*
* @param list JList to renderer... | );
dms_renderer = new ProposedDmsCellRenderer(s, m);
}
/** Get component to render a device.
*
* @param list JList to renderer.
* @param value Device to render.
* @param index List index of the device.
* @param isSelected Is the device selected?
* @param cellHasFocus Does t... | value Device to render.
* @param index List index of the device.
* @param isSelected Is the device selected?
* @param cellHasFocus Does the device have focus?
* @return Component for rendering. */
@Override
public Component getListCellRendererComponent(
JList<? extends Devi... | (value instanceof LCSArray) {
LCSArray lcs = (LCSArray) value;
return lcs_renderer.getListCellRendererComponent(
lcs_list, lcs, index, isSelected, cellHasFocus |
RoleDisciplineSecurityLevelRefVoCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/ocrr/configuration/vo/RoleDisciplineSecurityLevelRefVoCollection.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 5,695 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 447e2fb8e0167b6da9dd800b8374db96cd71784b9ef89ca2cb0c14361557e544 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
57,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
8... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
561,
609,
51,
5990,
51,
2103,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
186... | 8,924,583,488,165,932,000 | true | false | false | false | [
2671,
2099,
12536,
67,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
2072,
5068,
65,
4555,
1744,
40772,
5196,
2671,
2099,
12536,
67,
956,
299,
556,
5068,
65,
4555,
1744,
40772,
5196,
2671,
2099,
1... | -4,680,204,777,342,332,000 | true | DO NOT MODIFY the content of this file
package ims.ocrr.configuration.vo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import ims.framework.enumerations.SortOrder;
/**
* Linked to OCRR.Configuration.RoleDisciplineSecurityLevel business object (ID... | util.Iterator;
import ims.framework.enumerations.SortOrder;
/**
* Linked to OCRR.Configuration.RoleDisciplineSecurityLevel business object (ID: 1061100020).
*/
public class RoleDisciplineSecurityLevelRefVoCollection extends ims.vo.ValueObjectCollection implements ims.domain.IDomainCollectionGetter, ims.vo.ImsCloneab... | 0).
*/
public class RoleDisciplineSecurityLevelRefVoCollection extends ims.vo.ValueObjectCollection implements ims.domain.IDomainCollectionGetter, ims.vo.ImsCloneable, Iterable<RoleDisciplineSecurityLevelRefVo>
{
private static final long serialVersionUID = 1L;
private ArrayList<RoleDisciplineSecurityLevelRefVo> co... | LevelRefVo>
{
private static final long serialVersionUID = 1L;
private ArrayList<RoleDisciplineSecurityLevelRefVo> col = new ArrayList<RoleDisciplineSecurityLevelRefVo>();
public final String getBoClassName()
{
return "ims.ocrr.configuration.domain.objects.RoleDisciplineSecurityLevel";
}
public ims.domain.IDom... | {
ims.domain.IDomainGetter[] result = new ims.domain.IDomainGetter[col.size()];
col.toArray(result);
return result;
}
public boolean add(Role |
UpdateDialog.java | /FileExtraction/Java_unseen/boecker-lab_sirius/sirius_gui/src/main/java/de/unijena/bioinf/ms/gui/dialogs/UpdateDialog.java | /*
* This file is part of the SIRIUS Software for analyzing MS and MS/MS data
*
* Copyright (C) 2013-2020 Kai Dührkop, Markus Fleischauer, Marcus Ludwig, Martin A. Hoffman, Fleming Kretschmer, Marvin Meusel and Sebastian Böcker,
* Chair of Bioinformatics, Friedrich-Schiller University.
*
* This program is fre... | 4,465 | Java | .java | boecker-lab/sirius | 75 | 17 | 34 | 2017-06-16T16:21:34Z | 2024-05-09T03:58:38Z | ce9954564fd582f0ed3d92249ca9203a8eb8e52cec4426e5b62942f39f378b42 | [] | [
1127,
222,
338,
244,
1369,
822,
458,
1760,
451,
341,
377,
3914,
28975,
3870,
456,
17986,
26817,
13419,
480,
13419,
52,
2758,
727,
222,
338,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
50,
55,
53,
55,
53,
1242,
3063,
4... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
5934,
7737,
222,
485,
1401,
51,
8236,
7737,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
17317,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1317,
51,
6344,
64,
222... | 4,729,061,571,231,184,000 | true | false | false | false | [
1522,
64,
310,
758,
35606,
45,
909,
17432,
45,
58,
53,
49,
640,
35606,
941,
2296,
894,
310,
758,
5671,
45,
1527,
312,
303,
339,
4054,
964,
924,
910,
1506,
1193,
45,
12828,
1139,
1522,
1528,
310,
9705,
1492,
299,
556,
9705,
492,
31... | -8,469,900,744,549,989,000 | true | swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.net.URI;
public class UpdateDialog extends DoNotShowAgainDialog implements ActionListener {
public static final String DO_NOT_ASK_KEY = "de.unijena.bioinf.sirius.UpdateDialog... | extends DoNotShowAgainDialog implements ActionListener {
public static final String DO_NOT_ASK_KEY = "de.unijena.bioinf.sirius.UpdateDialog.dontAskAgain";
JButton ignore, download;
private final VersionsInfo version;
public UpdateDialog(Frame owner, VersionsInfo version) {
super(owner, "Updat... | private final VersionsInfo version;
public UpdateDialog(Frame owner, VersionsInfo version) {
super(owner, "Update for SIRIUS available!", createMessage(version), DO_NOT_ASK_KEY);
this.version = version;
setPreferredSize(new Dimension(50, getPreferredSize().height));
setVisible(true... | version;
setPreferredSize(new Dimension(50, getPreferredSize().height));
setVisible(true);
}
private static String createMessage(VersionsInfo version){
StringBuilder message = new StringBuilder();
message.append("<html>A new version (<b>").append(version.getLatestSiriusVersion... | (" to receive the newest features and fixes.<br> Your current version is: <b>")
.append(ApplicationCore.VERSION())
.append("</b><br>");
if (version.expired()) {
if (version.finish |
ChargeByTimePeriod.java | /FileExtraction/Java_unseen/lgh990_YunParking/smart-modules/smart-charge-server/src/main/java/com/smart/iot/charge/entity/ChargeByTimePeriod.java | package com.smart.iot.charge.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
/**
* 收费规则表
*
* @author Mr.AG
* @email
*@version 2022-08-10 15:10:42
*/
@Table(name = "charge_by_time_period")
public class ChargeByTimePeriod implements Serializab... | 14,340 | null | .java | lgh990/YunParking | 28 | 10 | 0 | 2022-08-22T00:19:29Z | 2022-08-05T03:15:54Z | 264e33dc73dd8914a0db683755eb4aeb786d376a19c881334d417003099731fb | [] | [
1337,
785,
51,
11407,
51,
12489,
51,
13260,
51,
2244,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
3698,
51,
10782,
7737,
499,
222,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
100,
11343,
678,
303,
964,
910,
13585,
3283,
14425,
64,
19075,
453,
12550,
17823,
6640,
33293,
41110,
11586,
17806,
303,
496,
2154,
45,
444,
299,
332,
450,
100,
2153,
100,
4440,
678,
303,
964,
17262,
13585,
3283,
5620,
64,
19075,
453,
... | 116,820,752,146,888,020 | true | false | false | false | [
19075,
453,
17823,
6640,
26420,
41110,
11586,
17806,
303,
496,
2154,
45,
444,
299,
332,
4435,
100,
5497,
100,
4440,
678,
303,
964,
17262,
28900,
5131,
5620,
64,
19075,
453,
17823,
6640,
24975,
8382,
303,
496,
2154,
45,
444,
299,
332,
... | -6,976,837,005,260,960,000 | true | _hour")
private String odLastHour;
//非工作日第三阶段收费
@Column(name = "od_last_price")
private BigDecimal odLastPrice;
//非工作日开始时间
@Column(name = "od_start_time")
private String odStartTime;
//停车场
@Column(name = "parking_id")
private String parkingId;
//工作日收费起始
@Column(na... | name = "od_start_time")
private String odStartTime;
//停车场
@Column(name = "parking_id")
private String parkingId;
//工作日收费起始
@Column(name = "wd_after_hour_f")
private String wdAfterHourF;
//工作日收费末
@Column(name = "wd_after_hour_l")
private String wdAfterHourL;
//工作日第二阶段收... | (name = "wd_after_hour_f")
private String wdAfterHourF;
//工作日收费末
@Column(name = "wd_after_hour_l")
private String wdAfterHourL;
//工作日第二阶段收费
@Column(name = "wd_after_price")
private BigDecimal wdAfterPrice;
//工作日结束时间
@Column(name = "wd_end_time")
private String wdEndTime;
... |
//工作日第二阶段收费
@Column(name = "wd_after_price")
private BigDecimal wdAfterPrice;
//工作日结束时间
@Column(name = "wd_end_time")
private String wdEndTime;
//工作日起步时长
@Column(name = "wd_first_hour")
private String wdFirstHour;
//工作日第一阶段价格
@Column(name = "wd_first_price | ")
private BigDecimal wdFirstPrice;
//工作日免费时长
@Column(name = "wd_free_min")
private String wdFreeMin;
//工作日第三阶段时间
@Column(name = " |
V1.java | /FileExtraction/Java_unseen/bfix_J9P/src/core/j9p/proto/V1.java |
//******************************************************************
//* PGMID. INFERNO STYX PROTOCOL IMPLEMENTATION. *
//* AUTHOR. BERND R. FIX >Y< *
//* DATE WRITTEN. 09/04/02. *
//* COPYRIGHT. (C) BY BERND R. FIX. AL... | 6,646 | Java | .java | bfix/J9P | 8 | 3 | 1 | 2012-04-03T22:12:20Z | 2018-07-09T02:31:15Z | 22ba9902f4b392b41841ae6edfef2da979c0a4fe5f2320fc8da7350559af856c | [] | [
222,
325,
4241,
345,
222,
14129,
280,
466,
15185,
798,
51,
370,
1255,
8921,
2593,
17173,
93,
32861,
4067,
6801,
9902,
2909,
51,
2052,
338,
222,
14129,
280,
29456,
51,
981,
570,
8210,
73,
578,
51,
15034,
280,
868,
94,
65,
11357,
338,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
53,
53,
62,
50,
55,
53,
54,
55,
49,
20853,
1462,
578,
51,
7097,
8254,
338,
222,
14129,
44709,
338,
222,
14129,
244,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
338,
222,
14129,
244,
5370,
580,
1549,
341,
... | -754,656,523,732,623,400 | true | false | false | false | [
222,
14129,
244,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
338,
222,
14129,
44709,
338,
222,
14129,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
281,
338,
222,
14129,
244,
1196,
120,
7979... | 4,316,438,163,831,688,700 | true | 009-2012, Bernd R. Fix *
//* *
//* This program is free software; you can redistribute it and/or *
//* modify it under the terms of the GNU Lesser General Public *
//* License (LGPL) as published by the Free Software Foundation... | Public *
//* License (LGPL) as published by the Free Software Foundation; *
//* either version 3 of the License, or (at your option) any *
//* later version. *
//* *
//* This program is distribute... | //* *
//* This program is distributed in the hope that it will be use- *
//* ful, but WITHOUT ANY WARRANTY; without even the implied *
//* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR *
//* PURPOSE. See the GNU General Public Lic... |
//* PURPOSE. See the GNU General Public License for more details. *
//* *
//* You should have received a copy of the GNU General Public *
//* Licenses along with this program; if not, see *
//* <http://www.gnu.org/licenses/>. ... | .Message;
import j9p.util.Hex;
///////////////////////////////////////////////////////////////////////////////
/**
* <p>Encapsulate constants and methods common for message in the Inferno/Styx
* protocol version of 9P.</p |
TestJobLabels.java | /FileExtraction/Java_unseen/ow2-proactive_scheduling/scheduler/scheduler-server/src/test/java/functionaltests/job/TestJobLabels.java | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | 4,870 | Java | .java | ow2-proactive/scheduling | 60 | 53 | 155 | 2015-05-16T13:38:55Z | 2024-05-07T13:08:56Z | 3ff70a120347a68cf9a989d98aaf46405711ed710cfc21dfc7b8732d13c80a57 | [] | [
1127,
222,
338,
1330,
4091,
29829,
25280,
45,
9043,
731,
222,
338,
906,
3944,
6391,
4277,
456,
11994,
480,
2744,
222,
338,
21275,
120,
568,
377,
16501,
49,
565,
30568,
31655,
49,
7594,
30336,
222,
338,
480,
7766,
2426,
17497,
563,
234... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
... | 4,783,609,186,995,121,000 | true | false | false | false | [
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
485,
1105,
51,
460,
55,
51,
529,
2498,
51,
13273,
51,
2... | 5,247,877,277,652,573,000 | true | details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* If needed, contact us to obtain a release under GPL Version 2 or 3
* or a different license than the AGPL.
*/
package functionaltests.job;
import stat... | to obtain a release under GPL Version 2 or 3
* or a different license than the AGPL.
*/
package functionaltests.job;
import static functionaltests.utils.SchedulerTHelper.log;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import... | static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import java.io.File;
import java.net.URL;
import java.util.Arrays;
import java.util.Collections;
import java.util.stream.Collectors;
import org.junit.Test;
import org.ow2.proactive.scheduler... | java.util.Arrays;
import java.util.Collections;
import java.util.stream.Collectors;
import org.junit.Test;
import org.ow2.proactive.scheduler.common.job.JobId;
import org.ow2.proactive.scheduler.common.job.JobInfo;
import org.ow2.proactive.scheduler.common.job.JobLabelInfo;
import functionaltests.utils.SchedulerFunc... | TestNoRestart;
/**
* Test checks operations on job labels
*/
public class TestJobLabels extends SchedulerFunctionalTestNoRestart {
private static URL runningJob = TestJobRemoved.class.getResource("/functionaltests/descriptors/ |
Platform.java | /FileExtraction/Java_unseen/HamaIndustries_FEMultiPlayer-V2/src/net/fe/fightStage/anim/Platform.java | package net.fe.fightStage.anim;
import org.newdawn.slick.opengl.Texture;
import net.fe.FEResources;
import net.fe.fightStage.FightStage;
import net.fe.overworldStage.Terrain;
import chu.engine.Entity;
import chu.engine.anim.Renderer;
import chu.engine.anim.Transform;
// TODO: Auto-generated Javadoc
/**
* The Class ... | 1,208 | Java | .java | HamaIndustries/FEMultiPlayer-V2 | 26 | 31 | 41 | 2016-01-15T01:18:07Z | 2022-03-21T23:58:29Z | 0d287958e6a8af1ab84c96684de740cfef453dbe453f0c1d53670520a87f0535 | [] | [
1337,
3723,
51,
1247,
51,
36472,
9589,
51,
12088,
64,
222,
222,
485,
1105,
51,
909,
105,
6157,
51,
25595,
51,
16006,
51,
4900,
64,
222,
222,
485,
3723,
51,
1247,
51,
8921,
326,
2131,
64,
222,
485,
3723,
51,
1247,
51,
36472,
9589,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 423 | [
462,
11329,
2041,
7276,
320,
3038,
221,
1350,
906,
2859,
51,
588,
222,
221,
2072,
1922,
2859,
64,
3038,
221,
1350,
906,
8934,
51,
588,
222,
221,
2072,
13507,
8934,
64,
499,
221,
1350,
376,
338,
42030,
1218,
331,
556,
5637,
51,
376,
... | 6,266,373,039,115,426,000 | true | false | false | false | [
244,
54,
46,
621,
221,
2787,
577,
1475,
7302,
14824,
884,
374,
221,
8288,
299,
525,
546,
326,
2131,
51,
390,
4900,
459,
5146,
15727,
494,
10505,
577,
312,
374,
221,
3183,
8036,
299,
525,
712,
9589,
51,
20745,
100,
18405,
64,
376,
... | 6,944,724,761,358,725,000 | true | class Platform extends Entity {
/** The left. */
private boolean left;
/** The texture. */
private Texture texture;
/**
* Instantiates a new platform.
*
* @param t the t
* @param left the left
* @param range the range
*/
public Platform(Terrain t, boolean left, int range) {
super(left? 0 : Fig... | t
* @param left the left
* @param range the range
*/
public Platform(Terrain t, boolean left, int range) {
super(left? 0 : FightStage.CENTRAL_AXIS, FightStage.FLOOR - 16);
this.left = left;
if(t!= Terrain.NONE) {
String txtName = t.name().toLowerCase();
if(range > 1)
txtName += "_far";
textur... | , FightStage.FLOOR - 16);
this.left = left;
if(t!= Terrain.NONE) {
String txtName = t.name().toLowerCase();
if(range > 1)
txtName += "_far";
texture = FEResources.getTexture("platform_" + txtName);
renderDepth = FightStage.PLATFORM_DEPTH;
}
}
/* (non-Javadoc)
* @see chu.engine.Entity#render()... | 1)
txtName += "_far";
texture = FEResources.getTexture("platform_" + txtName);
renderDepth = FightStage.PLATFORM_DEPTH;
}
}
/* (non-Javadoc)
* @see chu.engine.Entity#render()
*/
public void render() {
if(texture!= null) {
Transform t = new Transform();
if (!left | )
t.flipHorizontal();
Renderer.render(texture, 0, 0, 1, 1, x, y, x + 120, y + 40, 1, t); |
PurApOjbCollectionHelper.java | /FileExtraction/Java_unseen/kuali_kfs/kfs-purap/src/main/java/org/kuali/kfs/module/purap/util/PurApOjbCollectionHelper.java | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softw... | 7,306 | Java | .java | kuali/kfs | 17 | 42 | 0 | 2014-07-08T17:06:19Z | 2018-03-22T16:41:03Z | 6e4d4aebd8b3edde480e8b81a374b27dd86565c7cc4fdd49051deba7fc766f95 | [] | [
1127,
222,
338,
906,
1242,
34951,
10420,
15505,
1189,
49,
331,
45036,
29435,
11151,
2684,
456,
12282,
31733,
51,
222,
338,
1676,
338,
2657,
244,
55,
53,
53,
58,
50,
55,
53,
54,
57,
906,
1242,
34951,
7120,
222,
338,
1676,
338,
1369,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
... | -1,030,359,415,611,811,600 | true | false | false | false | [
64,
222,
485,
1105,
51,
45265,
51,
29773,
51,
112,
2341,
51,
1058,
51,
84,
11663,
2272,
19835,
64,
222,
485,
1105,
51,
4140,
51,
513,
51,
976,
22141,
718,
46493,
64,
222,
222,
1350,
222,
338,
6170,
1319,
391,
8664,
642,
6454,
7981... | -3,523,426,301,552,666,600 | true | of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.kuali.kfs.module.purap.util... | If not, see <http://www.gnu.org/licenses/>.
*/
package org.kuali.kfs.module.purap.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.kuali.rice.krad.bo.PersistableBusinessObject;
import org.kuali.rice.krad.util.ObjectUtils;
import org.kuali.ri... |
import java.util.Iterator;
import java.util.List;
import org.kuali.rice.krad.bo.PersistableBusinessObject;
import org.kuali.rice.krad.util.ObjectUtils;
import org.kuali.rice.krad.util.OjbCollectionAware;
import org.springframework.orm.ObjectRetrievalFailureException;
/**
* Helper object to deal with persisting coll... | ;
import org.kuali.rice.krad.util.OjbCollectionAware;
import org.springframework.orm.ObjectRetrievalFailureException;
/**
* Helper object to deal with persisting collections.
*/
public class PurApOjbCollectionHelper {
public final static int MAX_DEPTH = 2;
/**
* OJB RemovalAwareLists do not survive thr... | cibly remove
* business objects that are found in Collections stored in the database but not in memory.
*
* @param orig
* @param id
* @param template
*/
public void processCollections(OjbCollectionAware |
DatabaseAssociation.java | /FileExtraction/Java_unseen/wandora-team_wandora/src/main/java/org/wandora/topicmap/database/DatabaseAssociation.java | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2023 Wandora Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... | 12,088 | Java | .java | wandora-team/wandora | 126 | 26 | 0 | 2014-06-30T10:25:42Z | 2023-09-09T07:13:29Z | 9b966d0ada84e816610cf9929a17105f4211bcd6d93154c8b3aa0ac8b5829c86 | [] | [
1127,
222,
338,
643,
3362,
48972,
222,
338,
38460,
1300,
15583,
49,
13128,
49,
480,
17523,
318,
6700,
222,
338,
1930,
574,
48836,
7298,
51,
1107,
222,
338,
1676,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
57,
50,
55,
53,
55,
56,
6... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
... | -529,798,202,563,973,440 | true | false | false | false | [
48836,
7298,
51,
5490,
1130,
51,
4617,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
40367,
64,
222,
485,
1401,
51,
105... | -335,970,513,470,743,550 | true |
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received ... | . See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*
*
*
* DatabaseAssociation.java
*
* Created on 7. marraskuuta 2005, 11:28
*/
package org.wandora.topicm... | /licenses/>.
*
*
*
*
* DatabaseAssociation.java
*
* Created on 7. marraskuuta 2005, 11:28
*/
package org.wandora.topicmap.database;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import java.util.Map;
import org.wan... | wandora.topicmap.database;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import java.util.Map;
import org.wandora.topicmap.Association;
import org.wandora.topicmap.Topic;
import org.wandora.topicmap.TopicMap;
import org.wand | ora.topicmap.TopicMapException;
import org.wandora.topicmap.TopicMapReadOnlyException;
import org.wandora.topicmap.TopicRemovedException;
/**
*
* @author olli
|
PushService.java | /FileExtraction/Java_unseen/LinceBI_lincebi/lincebi-backend/src/main/java/com/stratebi/lincebi/push/service/PushService.java | package com.stratebi.lincebi.push.service;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.stratebi.lincebi.push.model.Notification;
import com.stratebi.lincebi.push.model.Registration;
import or... | 6,769 | Java | .java | LinceBI/lincebi | 36 | 14 | 1 | 2020-03-13T13:35:26Z | 2024-03-21T16:21:22Z | 5452a7d1ad1fdd8c552c500fe93d1eaf491285132981aa9997cfeebca1a04e8b | [] | [
1337,
785,
51,
46875,
6539,
51,
1823,
388,
6539,
51,
2036,
51,
2140,
64,
222,
222,
485,
785,
51,
15066,
51,
13353,
51,
1284,
51,
700,
51,
638,
3580,
64,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
36254,
64,
222,
485,
78... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1284,
51,
2964,
51,
85,
323,
14390,
3152,
6773,
64,
222,
485,
1105,
51,
17605,
51,
5146,
51,
3502,
51,
1284,
51,
2964,
51,
85,
323,
14390,
1615,
64,
222,
485,
1105,
51,
17605,
51,
5146,
51,
3502,
51,
4386,
51,
5196,
2775,
64,
22... | 4,700,282,726,792,602,000 | true | false | false | false | [
485,
1105,
51,
4140,
51,
544,
51,
25631,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
1598,
51,
34601,
1002,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
1598,
51,
7005,
3455,
64,
222,
222,
485,
1401,
51,
735,
51,
42446,
64,
222,
... | 7,782,389,957,765,652,000 | true | core.system.PentahoSessionHolder;
import org.pentaho.platform.engine.core.system.PentahoSystem;
import org.pentaho.platform.engine.security.SecurityHelper;
import org.pentaho.platform.repository.usersettings.UserSettingService;
import org.pentaho.platform.repository2.ClientRepositoryPaths;
import org.pentaho.platform.s... | platform.repository.usersettings.UserSettingService;
import org.pentaho.platform.repository2.ClientRepositoryPaths;
import org.pentaho.platform.security.policy.rolebased.actions.AdministerSecurityAction;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpEntity;
import org.spri... | org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.web.client.HttpStatusCodeException;
import org.springframework.we... | import org.springframework.http.HttpStatus;
import org.springframework.web.client.HttpStatusCodeException;
import org.springframework.web.client.RestTemplate;
import java.io.PrintWriter;
import java.io.Serializable;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util... | ;
import java.util.concurrent.Callable;
public class PushService {
private static final Logger LOGGER = LoggerFactory.getLogger(PushService.class);
private static final String REGISTRATIONS_SETTING_NAME = User |
NoteDBAdapter.java | /FileExtraction/Java_unseen/tianyuan168326_nono-android/app/src/main/java/com/seki/noteasklite/DBHelpers/NoteDBAdapter.java | package com.seki.noteasklite.DBHelpers;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.text.TextUtils;
import com.seki.noteasklite.DataUtil.NoteDatabaseArray;
imp... | 6,374 | Java | .java | tianyuan168326/nono-android | 90 | 17 | 1 | 2016-10-15T02:27:18Z | 2016-12-14T05:48:28Z | 4d356cfc75341d40afcce74bbb38d3e6df1e83fd973fc0202b5bfbc4701dc43e | [] | [
1337,
785,
51,
296,
7335,
51,
5774,
933,
16427,
51,
2015,
10268,
64,
222,
222,
485,
2616,
51,
1304,
51,
1795,
3367,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
4617,
51,
7424,
64,
222,
485,
2616,
51,
4617,
51... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
1795,
3367,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
4617,
51,
7424,
64,
222,
485,
2616,
51,
4617,
51,
20335,
64,
222,
485,
2616,
51,
4617,
51,
14123,
51,
25912,
3969,
64,
222,
485,
2616,
51,
897,
51,
... | 1,874,708,035,497,078,800 | true | false | false | false | [
884,
222,
221,
942,
924,
1175,
910,
5591,
100,
4812,
366,
1021,
884,
222,
221,
942,
924,
1175,
910,
5591,
100,
13772,
366,
1333,
884,
222,
221,
942,
924,
1175,
910,
5591,
100,
11841,
366,
1304,
884,
222,
221,
942,
924,
1175,
910,
... | 1,937,869,893,511,447,800 | true | .ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.text.TextUtils;
import com.seki.noteasklite.DataUtil.NoteDatabaseArray;
import java.util.ArrayList;
import java.util.List;
/**
* Created... | com.seki.noteasklite.DataUtil.NoteDatabaseArray;
import java.util.ArrayList;
import java.util.List;
/**
* Created by 七升 on 2015/9/13.
*/
public class NoteDBAdapter {
public static final String KEY_ROWID="_id";
public static final String KEY_GROUP="groups";
public static final String KEY_DATE="date";
public st... | 9/13.
*/
public class NoteDBAdapter {
public static final String KEY_ROWID="_id";
public static final String KEY_GROUP="groups";
public static final String KEY_DATE="date";
public static final String KEY_TIME="time";
public static final String KEY_TITLE="title";
public static final String KEY_CONTENT="content";... | ";
public static final String KEY_TIME="time";
public static final String KEY_TITLE="title";
public static final String KEY_CONTENT="content";
public static final String KEY_IS_ON_CLOUD="is_on_cloud";
public static final String KEY_NOTIFY="notify";
public static final String KEY_UUID="uuid";
private static fina... |
private DatabaseHelper DBHelper;
private SQLiteDatabase db;
public void updateGroup(String oldG, String newG) {
String sql = "update notes set groups=? where groups=?";
db. |
BulkServiceInterceptorSKOSToLocal.java | /FileExtraction/Java_unseen/edu-sharing_edu-sharing-community-repository/Backend/services/core/src/main/java/org/edu_sharing/service/bulk/BulkServiceInterceptorSKOSToLocal.java | package org.edu_sharing.service.bulk;
import org.apache.log4j.Logger;
import org.edu_sharing.metadataset.v2.MetadataKey;
import org.edu_sharing.metadataset.v2.MetadataSet;
import org.edu_sharing.metadataset.v2.MetadataWidget;
import org.edu_sharing.metadataset.v2.tools.MetadataHelper;
import org.edu_sharing.repository... | 3,505 | Java | .java | edu-sharing/edu-sharing-community-repository | 25 | 16 | 14 | 2017-06-29T11:31:42Z | 2024-05-08T13:38:59Z | 5bba2c532cdef29f3dab830a89f4d10d1eb7ff4b300e2edd3f36d7fe8f4f67f4 | [] | [
1337,
1105,
51,
7619,
100,
24756,
51,
2140,
51,
17228,
64,
222,
222,
485,
1105,
51,
2121,
51,
769,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
7619,
100,
24756,
51,
4541,
489,
51,
123,
55,
51,
4108,
971,
64,
222,
485,
1105,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 806 | [
21575,
2733,
294,
588,
303,
581,
3531,
65,
671,
49,
2210,
67,
29162,
3303,
45,
1225,
65,
671,
49,
2210,
67,
4324,
46,
320,
310,
910,
364,
3246,
625,
299,
327,
671,
46,
4324,
51,
390,
13637,
45,
2218,
5238,
51,
3123,
100,
15247,
... | 2,273,928,642,281,009,200 | true | false | false | false | [
14242,
5238,
51,
390,
2320,
4470,
577,
45,
124,
51,
7068,
5086,
419,
434,
45,
2857,
739,
882,
762,
46,
320,
547,
434,
45,
2857,
739,
51,
2255,
941,
483,
3683,
45,
123,
984,
373,
51,
3127,
941,
10498,
941,
13907,
459,
544,
14040,
... | 8,842,926,670,033,695,000 | true | bulk service
*/
public Map<String, Object> preprocessProperties(Map<String, Object> properties) {
String mdsId = (String) properties.getOrDefault(CCConstants.CM_PROP_METADATASET_EDU_METADATASET, CCConstants.metadatasetdefault_id);
try {
MetadataSet mds = MetadataHelper.getMetadatas... | _METADATASET, CCConstants.metadatasetdefault_id);
try {
MetadataSet mds = MetadataHelper.getMetadataset(ApplicationInfoList.getHomeRepository(), mdsId);
mds.getWidgets().stream().filter(
w -> w.getTemplate() == null && w.getCondition() == null && w.getValues()!= null ... | w -> w.getTemplate() == null && w.getCondition() == null && w.getValues()!= null &&!w.getValues().isEmpty()
).forEach(w -> {
List<?> valuesList = getPropertyValue(properties, CCConstants.getValidGlobalName(w.getId()));
if(valuesList!= null) {
if(valuesLis... | CCConstants.getValidGlobalName(w.getId()));
if(valuesList!= null) {
if(valuesList.stream().allMatch(v -> v.toString().toLowerCase().startsWith("http"))) {
List<String> result = mapValues(w, valuesList);
logger.info("transformed SKOS pr... | (result.isEmpty()) {
properties.remove(CCConstants.getValidGlobalName(w.getId()));
} else {
properties.put(CCConstants.getValidGlobalName(w.getId()), result);
}
} |
HeroSelectScene.java | /FileExtraction/Java_unseen/QuasiStellar_custom-pixel-dungeon/core/src/main/java/com/qsr/customspd/scenes/HeroSelectScene.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2023 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either vers... | 23,065 | Java | .java | QuasiStellar/custom-pixel-dungeon | 14 | 2 | 3 | 2023-05-12T21:10:47Z | 2024-01-23T19:02:46Z | 7336324b84d68982af3653ae035b260c5d7b85ad8854e79ceeea185e7d8d41a1 | [] | [
1127,
222,
338,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
58,
565,
2358,
493,
4628,
102,
222,
338,
222,
338,
2432,
6319,
337,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
785,
51,
118,
6882,
51,
3005,
47226,
51,
5921,
51,
19707,
846,
21259,
64,
222,
485,
785,
51,
118,
6882,
51,
3005,
47226,
51,
5921,
51,
19707,
21823,
1139,
64,
222,
485,
785,
51,
118,
6882,
51,
3005,
47226,
51,
5921,
51,
19707,
971... | -7,332,745,043,867,557,000 | true | false | false | false | [
22201,
51,
83,
501,
9786,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
4828,
5585,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
1365,
22201,
51,
121,
3009,
502,
51,
89,
1399,
766,
64,
222,
485,
785,
51,
124,
1626,
... | 4,381,565,511,037,639,000 | true | com.qsr.customspd.windows.WndChallenges;
import com.qsr.customspd.windows.WndHeroInfo;
import com.qsr.customspd.windows.WndKeyBindings;
import com.qsr.customspd.windows.WndMessage;
import com.watabou.gltextures.TextureCache;
import com.watabou.input.PointerEvent;
import com.watabou.noosa.Camera;
import com.watabou.noo... | qsr.customspd.windows.WndMessage;
import com.watabou.gltextures.TextureCache;
import com.watabou.input.PointerEvent;
import com.watabou.noosa.Camera;
import com.watabou.noosa.ColorBlock;
import com.watabou.noosa.Game;
import com.watabou.noosa.Image;
import com.watabou.noosa.NinePatch;
import com.watabou.noosa.PointerAr... | ;
import com.watabou.noosa.ColorBlock;
import com.watabou.noosa.Game;
import com.watabou.noosa.Image;
import com.watabou.noosa.NinePatch;
import com.watabou.noosa.PointerArea;
import com.watabou.noosa.tweeners.Tweener;
import com.watabou.noosa.ui.Component;
import com.watabou.utils.DeviceCompat;
import com.watabou.util... | osa.NinePatch;
import com.watabou.noosa.PointerArea;
import com.watabou.noosa.tweeners.Tweener;
import com.watabou.noosa.ui.Component;
import com.watabou.utils.DeviceCompat;
import com.watabou.utils.GameMath;
import com.watabou.utils.PointF;
import java.text.SimpleDateFormat | ;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
public class HeroSelectScene extends PixelScene {
private Image background; |
CommandRegistry.java | /FileExtraction/Java_unseen/Dark-Developments_Kapuncino-Client/src/main/java/coffee/client/feature/command/CommandRegistry.java | /*
* Copyright (c) 2022 Coffee Client, 0x150 and contributors.
* Some rights reserved, refer to LICENSE file.
*/
package coffee.client.feature.command;
import coffee.client.feature.addon.Addon;
import coffee.client.feature.command.exception.CommandException;
import coffee.client.feature.command.impl.*;
import coff... | 5,424 | Java | .java | Dark-Developments/Kapuncino-Client | 18 | 4 | 0 | 2023-03-18T16:45:59Z | 2023-06-30T17:48:22Z | edb30d8b0875d64403a544cdcba669063b0a47f722fc619c6ebe4d17137ee09a | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
55,
409,
22349,
5680,
49,
244,
53,
125,
54,
58,
53,
480,
13356,
51,
222,
338,
4202,
4760,
5225,
49,
5293,
391,
7621,
822,
51,
222,
588,
222,
222,
1337,
36963,
51,
1598,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
9769,
51,
688,
45,
909,
6337,
2184,
28019,
1052,
310,
44621,
9769,
51,
688,
45,
909,
696,
10399,
1052,
310,
44621,
9769,
51,
688,
45,
909,
6337,
768,
1052,
310,
44621,
9769,
51,
688,
45,
909,
1994,
40943,
1052,
310,
44621,
9769,
51,... | -6,839,789,689,349,779,000 | true | false | false | false | [
1052,
310,
44621,
9769,
51,
688,
45,
909,
14873,
5572,
1052,
310,
44621,
9769,
51,
688,
45,
909,
7438,
1052,
310,
44621,
9769,
51,
688,
45,
909,
11489,
302,
677,
2037,
1052,
310,
44621,
9769,
51,
688,
45,
909,
28706,
2037,
1052,
310... | -5,700,298,380,507,425,000 | true | Commands.add(new ItemSpoof());
vanillaCommands.add(new HClip());
vanillaCommands.add(new ItemData());
vanillaCommands.add(new TitleLag());
vanillaCommands.add(new SpawnData());
vanillaCommands.add(new VClip());
vanillaCommands.add(new MessageSpam());
vanillaComman... | vanillaCommands.add(new VClip());
vanillaCommands.add(new MessageSpam());
vanillaCommands.add(new RandomBook());
vanillaCommands.add(new SocketKick());
vanillaCommands.add(new SelfDestruct());
vanillaCommands.add(new ItemExploit());
vanillaCommands.add(new FakeNick());
... | ());
vanillaCommands.add(new ItemExploit());
vanillaCommands.add(new FakeNick());
vanillaCommands.add(new Reset());
vanillaCommands.add(new Kill());
vanillaCommands.add(new HoloImage());
vanillaCommands.add(new ApplyEffect());
vanillaCommands.add(new Search());
... | ());
vanillaCommands.add(new ApplyEffect());
vanillaCommands.add(new Search());
vanillaCommands.add(new BaritoneCommand());
vanillaCommands.add(new ClipCommand());
vanillaCommands.add(new BorderSize());
vanillaCommands.add(new Bookban());
vanillaCommands.add(new F... |
public static List<Command> getCommands() {
return sharedCommands;
}
public static void execute(String command) {
if (command.isEmpty() || command.isBlank()) {
return; // nothing to execute
} |
BasicSystemGraphRealmTestHelper.java | /FileExtraction/Java_unseen/neo4j_neo4j/community/community-it/security-it/src/test/java/org/neo4j/security/BasicSystemGraphRealmTestHelper.java | /*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [https://neo4j.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | 5,888 | Java | .java | neo4j/neo4j | 12,521 | 2,320 | 303 | 2012-11-12T08:46:15Z | 2024-04-24T10:23:06Z | 8c3d9ed0619b4fede2eb589069b1b898e1fd61cfcfce90ca8dbab7d5e03e1fb2 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
332,
36459,
57,
111,
39,
222,
338,
37995,
57,
111,
6505,
34061,
20660,
447,
662,
574,
23307,
57,
111,
51,
527,
98,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
37995,
57,
111,
51,
222,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
64,
222,
485,
1105,
51,
23307,
57,
111,
51,
881,
51,
2324,
51,
1024,
4562,
64,
222,
222,
942,
462,
9280,
1615,
3418,
22423,
39031,
320,
303,
581,
924,
462,
2128,
3969,
1237,
2588,
2041,
42130,
4433,
343,
4584,
6728,
1237,
2588,
65,
... | 974,412,809,600,241,000 | true | false | false | false | [
1201,
1812,
45,
881,
2995,
51,
2849,
1233,
1177,
547,
657,
440,
284,
19314,
365,
547,
657,
1365,
3409,
1615,
3418,
20038,
365,
547,
657,
489,
1081,
45,
3418,
3969,
2977,
51,
2408,
100,
6572,
49,
920,
46,
547,
657,
1848,
492,
310,
... | 4,738,860,619,575,588,000 | true | ;
import org.neo4j.test.utils.TestDirectory;
public class BasicSystemGraphRealmTestHelper {
public static class TestDatabaseContextProvider extends LifecycleAdapter
implements DatabaseContextProvider<StandaloneDatabaseContext> {
protected GraphDatabaseFacade testSystemDb;
protected fina... | GraphDatabaseFacade testSystemDb;
protected final DatabaseManagementService managementService;
private final DatabaseIdRepository databaseIdRepository = new TestDatabaseIdRepository();
protected TestDatabaseContextProvider(TestDirectory testDir) {
managementService = createManageme... | ManagementService(testDir);
testSystemDb = (GraphDatabaseFacade) managementService.database(SYSTEM_DATABASE_NAME);
}
protected DatabaseManagementService createManagementService(TestDirectory testDir) {
return new TestDatabaseManagementServiceBuilder(testDir.homePath())
... | ServiceBuilder(testDir.homePath())
.impermanent()
.noOpSystemGraphInitializer()
.setConfig(GraphDatabaseSettings.auth_enabled, false)
.build();
}
public DatabaseManagementService getManagementService() {
return mana... | Resolver = testSystemDb.getDependencyResolver();
Database database = dependencyResolver.resolveDependency(Database.class);
return Optional.of(new StandaloneDatabaseContext(database));
}
return Optional.empty();
}
@ |
SparseTable.java | /FileExtraction/Java_unseen/husonlab_splitstree4/src/splitstree4/util/SparseTable.java | /*
* SparseTable.java Copyright (C) 2022 Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar... | 3,045 | Java | .java | husonlab/splitstree4 | 11 | 1 | 1 | 2015-04-23T12:35:23Z | 2023-09-21T23:28:21Z | 3ccbb3c8b4d0c8fbcba8d09ab47b3d1714252ccd7bc080610732518f21821c4f | [] | [
1127,
222,
338,
35802,
1617,
51,
1874,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
32649,
696,
51,
696,
371,
286,
222,
338,
222,
338,
327,
7313,
2293,
4814,
25194,
664,
1623,
14656,
49,
6574,
904,
1636,
14554,
25028,
7475,
222,
338,
2... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 815 | [
222,
338,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,... | 5,679,395,495,833,515,000 | true | false | false | false | [
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
1350,
222,
338,
35802,
1280,
222,
338,
350,
117,
2056,
222,
338,
19977,
451,
331,
22604,
244,
55,
73,
1437,
451,
2082,
120,
34669,
575,
5872,... | 3,278,687,739,380,446,000 | true |
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Gen... | ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package splitstree4... | this program. If not, see <http://www.gnu.org/licenses/>.
*/
package splitstree4.util;
import jloda.util.Pair;
import java.util.Collection;
import java.util.HashMap;
import java.util.Set;
/**
* SparseArray
* <p/>
* Implementation of a sparse 2D array of doubles ints or strings. Uses a hashmap
* instead of an ... |
import java.util.HashMap;
import java.util.Set;
/**
* SparseArray
* <p/>
* Implementation of a sparse 2D array of doubles ints or strings. Uses a hashmap
* instead of an array.
*
* @author bryant
*/
public class SparseTable<V> {
private final HashMap<Key, V> map;
/**
* Create empty array.
*... | Table() {
map = new HashMap<>();
}
/**
* Sets entry (i,j) to the given object. If there is already an entry, it is replaced.
*
* @param i row
* @ |
TestDescription.java | /FileExtraction/Java_unseen/itsaky_openjdk-21-android/test/hotspot/jtreg/vmTestbase/nsk/jdi/Method/isObsolete/isobsolete002/TestDescription.java | /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 3,956 | Java | .java | itsaky/openjdk-21-android | 9 | 5 | 0 | 2023-09-16T11:36:19Z | 2024-02-11T04:34:15Z | 6f620824e21b8c4b1d24af052d4a1d4c255f0e02f1155e30779e6589fb10c58b | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
244,
55,
53,
55,
53,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
... | 4,518,285,050,571,199,500 | true | false | false | false | [
51,
111,
1351,
51,
1885,
51,
316,
48149,
365,
222,
338,
281,
940,
6844,
642,
2840,
1394,
63,
222,
338,
281,
581,
1922,
458,
48149,
365,
222,
338,
665,
22032,
434,
477,
1431,
458,
40707,
51,
222,
338,
665,
3777,
63,
878,
434,
477,
... | -5,549,943,696,764,108,000 | true | Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
*
* @summary converted from VM Testbase nsk/jdi/Method/isObsolete/isobsolete002.
* VM Testbase keywords: [jpda, jdi, redefine]
* VM Testb... | /*
* @test
*
* @summary converted from VM Testbase nsk/jdi/Method/isObsolete/isobsolete002.
* VM Testbase keywords: [jpda, jdi, redefine]
* VM Testbase readme:
* DESCRIPTION:
* The test for the implementation of an object of the type
* Method.
* The test checks up that a result of the method
* ... | ]
* VM Testbase readme:
* DESCRIPTION:
* The test for the implementation of an object of the type
* Method.
* The test checks up that a result of the method
* com.sun.jdi.Method.isObsolete()
* complies with its spec:
* public boolean isObsolete()
* Determine if this method is obsol... | .jdi.Method.isObsolete()
* complies with its spec:
* public boolean isObsolete()
* Determine if this method is obsolete.
* Returns: true if this method has been replaced by
* a non-equivalent method using
* VirtualMachine.redefineClasses(java.util.Map).
* The tes... | replaced.
* The test works as follows:
* The debugger program - nsk.jdi.Method.isObsolete.isobsolete002;
* the debuggee program - nsk.jdi. |
ValidationResultController.java | /FileExtraction/Java_unseen/logicalclocks_hopsworks/hopsworks-common/src/main/java/io/hops/hopsworks/common/featurestore/datavalidationv2/results/ValidationResultController.java | /*
* This file is part of Hopsworks
* Copyright (C) 2022, Hopsworks AB. All rights reserved
*
* Hopsworks is free software: you can redistribute it and/or modify it under the terms of
* the GNU Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at yo... | 16,626 | Java | .java | logicalclocks/hopsworks | 1,087 | 142 | 13 | 2018-07-26T08:13:34Z | 2024-05-07T18:06:00Z | b9e7978015fbe7c6a6de80483ba5ed72954d6cc234f0126c3487d6c94886f8cc | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
696,
4178,
14108,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
49,
696,
4178,
14108,
20660,
51,
3381,
4760,
5225,
222,
338,
222,
338,
696,
4178,
14108,
458,
3760,
2951,
63,
863,
902,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
2244,
51,
3317,
2173,
51,
3317,
1382,
51,
624,
6523,
123,
55,
51,
6329,
1413,
64,
222,
485,
3377,
51,
109,
4178,
51,
109,
4178,
14108,
51,
10782,
51,
2244,
51,
1058,
51,
5597,
19572,
64,
222,
485,
3377,
51,
109,
4178,
51,
10... | -3,045,323,009,132,953,600 | true | false | false | false | [
1058,
51,
7506,
51,
3716,
64,
222,
222,
485,
924,
3377,
51,
109,
4178,
51,
109,
4178,
14108,
51,
2297,
51,
3317,
2173,
51,
4249,
2173,
5238,
51,
3470,
100,
4935,
3833,
9146,
100,
540,
100,
45822,
100,
6394,
100,
19077,
100,
1608,
... | 2,685,642,566,676,312,600 | true | .entity.featurestore.featuregroup.datavalidationv2.ValidationResult;
import io.hops.hopsworks.persistence.entity.util.AbstractFacade;
import io.hops.hopsworks.restutils.RESTCodes;
import org.json.JSONException;
import org.json.JSONObject;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.TransactionAt... | .RESTCodes;
import org.json.JSONException;
import org.json.JSONObject;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import java.util.Arrays;
import java.util.Optional;
import java.util.Set;
import java.util.logging.Level;
import ja... | ;
import javax.ejb.TransactionAttributeType;
import java.util.Arrays;
import java.util.Optional;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import static io.hops.hopsworks.common.featurestore.FeaturestoreConstants.MAX_CHARACTERS_IN_VALIDATION_RESULT_EXCEPTION_INFO;
import s... | util.logging.Logger;
import static io.hops.hopsworks.common.featurestore.FeaturestoreConstants.MAX_CHARACTERS_IN_VALIDATION_RESULT_EXCEPTION_INFO;
import static io.hops.hopsworks.common.featurestore.FeaturestoreConstants.MAX_CHARACTERS_IN_VALIDATION_RESULT_EXPECTATION_CONFIG;
import static io.hops.hopsworks.common.fea... | storeConstants.MAX_CHARACTERS_IN_VALIDATION_RESULT_META;
import static io.hops.hopsworks.common.featurestore.FeaturestoreConstants.MAX_CHARACTERS_IN_VALIDATION_RESULT_ |
GetPathUtils.java | /FileExtraction/Java_unseen/liyafe1997_CustoMIUIzerMod/app/src/main/java/org/strawing/customiuizermod/utils/GetPathUtils.java | package org.strawing.customiuizermod.utils;
import android.content.Context;
import android.net.Uri;
import android.os.Environment;
import android.provider.DocumentsContract;
import java.io.File;
import java.util.List;
public class GetPathUtils {
private static final String PATH_TREE = "tree";
private static ... | 8,204 | Java | .java | liyafe1997/CustoMIUIzerMod | 72 | 5 | 38 | 2022-04-07T22:50:11Z | 2023-06-19T16:38:00Z | 68af638439e0740aca3cf9410d90d8b3f78fe626cabc3c1db22d457bf1ec6c5a | [] | [
1337,
1105,
51,
484,
831,
318,
51,
3005,
20537,
2292,
1820,
51,
2324,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1317,
51,
5729,
64,
222,
485,
2616,
51,
519,
51,
6342,
64,
222,
485,
2616,
51,
6390,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2616,
51,
1317,
51,
5729,
64,
222,
485,
2616,
51,
519,
51,
6342,
64,
222,
485,
2616,
51,
6390,
51,
11871,
6228,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
1408,
1233,
2... | -1,744,553,527,232,505,600 | true | false | false | false | [
325,
2087,
1175,
910,
3714,
625,
299,
42869,
6228,
51,
35778,
625,
45,
3469,
312,
222,
325,
2087,
453,
22600,
709,
51,
105,
459,
1446,
625,
984,
925,
120,
411,
3714,
625,
312,
222,
325,
2087,
1175,
910,
1197,
6168,
299,
3714,
625,
... | 6,066,928,633,415,483,000 | true | android.net.Uri;
import android.os.Environment;
import android.provider.DocumentsContract;
import java.io.File;
import java.util.List;
public class GetPathUtils {
private static final String PATH_TREE = "tree";
private static final String PRIMARY_TYPE = "primary";
private static final String RAW_TYPE = "... | final String PATH_TREE = "tree";
private static final String PRIMARY_TYPE = "primary";
private static final String RAW_TYPE = "raw";
// public static String getFilePathFromUri(final Context context, final Uri uri) {
//
// // DocumentProvider
// if (DocumentsContract.isDocumentUri(context, uri... | Uri uri) {
//
// // DocumentProvider
// if (DocumentsContract.isDocumentUri(context, uri)) {
// // ExternalStorageProvider
// if (isExternalStorageDocument(uri)) {
// final String docId = DocumentsContract.getDocumentId(uri);
// //Timber.d("docId -> %s"... | // final String docId = DocumentsContract.getDocumentId(uri);
// //Timber.d("docId -> %s", docId);
// final String[] split = docId.split(":");
// final String type = split[0];
//
// if (PRIMARY_TYPE.equalsIgnoreCase(type)) {
// ... | // TODO handle non-primary volumes
// StringBuilder path = new StringBuilder();
// String[] pathSegment = docId.split(":");
// return path.append(getRemovableStorageRootPath(context, pathSegment[ |
AppUDPSessionImpl.java | /FileExtraction/Java_unseen/untangle_ngfw_src/uvm/impl/com/untangle/uvm/AppUDPSessionImpl.java | /**
* $Id$
*/
package com.untangle.uvm;
import java.nio.ByteBuffer;
import com.untangle.jvector.Crumb;
import com.untangle.jvector.IncomingSocketQueue;
import com.untangle.jvector.OutgoingSocketQueue;
import com.untangle.jvector.PacketCrumb;
import com.untangle.jvector.ShutdownCrumb;
import com.untangle.jvector.UD... | 12,439 | Java | .java | untangle/ngfw_src | 19 | 22 | 3 | 2016-09-16T08:18:37Z | 2024-05-09T04:22:16Z | 845c1214f795391b2582288be64f2a3ada6e938af1294cf61699db6616f967e8 | [] | [
1350,
222,
338,
417,
625,
41,
222,
588,
222,
222,
1337,
785,
51,
593,
3727,
51,
122,
3166,
64,
222,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
222,
485,
785,
51,
593,
3727,
51,
111,
2423,
51,
9719,
3345,
64,
222,
485,
785,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
581,
782,
2160,
2725,
6839,
1269,
45,
429,
1952,
3656,
46,
303,
320,
310,
434,
327,
1538,
3656,
350,
244,
55,
1293,
1952,
3656,
868,
24616,
100,
3470,
100,
6976,
76,
100,
3382,
46,
1440,
556,
12134,
459,
15083,
7123,
6892,
44595,
63... | 6,995,850,084,884,528,000 | true | false | false | false | [
3656,
868,
24616,
100,
3470,
100,
6976,
76,
100,
3382,
46,
1440,
556,
12134,
459,
15083,
7123,
6892,
44595,
63,
332,
494,
1952,
3656,
312,
310,
1788,
6839,
1269,
96,
10929,
98,
299,
1952,
3656,
64,
303,
339,
465,
1041,
294,
338,
140... | -2,604,728,966,640,165,400 | true | public void serverMaxPacketSize(int numBytes)
{
if (numBytes < 2 || numBytes > UDP_MAX_MESG_SIZE) throw new IllegalArgumentException("Illegal maximum packet bufferSize: " + numBytes);
maxPacketSize[SERVER] = numBytes;
}
/**
* Get the client max packet size
*
* @return The s... | PacketSize[SERVER] = numBytes;
}
/**
* Get the client max packet size
*
* @return The size
*/
public int clientMaxPacketSize()
{
return maxPacketSize[CLIENT];
}
/**
* Set the client max packet size
*
* @param numBytes
* The size
*/
... | }
/**
* Set the client max packet size
*
* @param numBytes
* The size
*/
public void clientMaxPacketSize(int numBytes)
{
if (numBytes < 2 || numBytes > UDP_MAX_MESG_SIZE) throw new IllegalArgumentException("Illegal maximum packet bufferSize: " + numBytes);
... | Bytes > UDP_MAX_MESG_SIZE) throw new IllegalArgumentException("Illegal maximum packet bufferSize: " + numBytes);
maxPacketSize[CLIENT] = numBytes;
}
/**
* Get the client state
*
* @return The state
*/
public byte clientState()
{
if (clientIncomingSocketQueue() == nu... | clientOutgoingSocketQueue()!= null;
return AppSession.OPEN;
}
}
/**
* Get the server state
*
* @return The state
*/
public byte serverState()
{
if (serverIncoming |
HistoryActivity.java | /FileExtraction/Java_unseen/sadr0b0t_yashlang/app/src/main/java/su/sadrobot/yashlang/HistoryActivity.java | package su.sadrobot.yashlang;
/*
* Copyright (C) Anton Moiseev 2019 <github.com/sadr0b0t>
*
* YaShlang is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opti... | 9,612 | Java | .java | sadr0b0t/yashlang | 50 | 3 | 103 | 2019-09-04T20:10:47Z | 2023-03-07T09:56:30Z | 0d500aa2e2fa50ca34647b3273166716c7ae5114509e49f845ab3f0eb9a8402c | [] | [
1337,
7345,
51,
37433,
10535,
51,
126,
936,
1600,
64,
222,
222,
1127,
222,
338,
2657,
327,
72,
46,
16396,
286,
12444,
1145,
5103,
244,
55,
53,
54,
62,
350,
951,
51,
527,
52,
120,
14157,
53,
103,
53,
121,
67,
222,
338,
222,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
7345,
51,
37433,
10535,
51,
126,
936,
1600,
51,
4641,
51,
6086,
1114,
7113,
64,
222,
485,
7345,
51,
37433,
10535,
51,
126,
936,
1600,
51,
1184,
51,
6086,
3969,
64,
222,
485,
7345,
51,
37433,
10535,
51,
126,
936,
1600,
51,
1184,
51... | -6,627,855,632,921,987,000 | true | false | false | false | [
9136,
365,
320,
310,
453,
1698,
574,
16061,
51,
527,
52,
6977,
52,
57,
60,
57,
54,
60,
59,
57,
58,
52,
2970,
50,
1090,
50,
286,
50,
102,
50,
41468,
310,
453,
1698,
574,
16061,
51,
527,
52,
6977,
52,
55,
60,
57,
54,
57,
54,
... | -2,230,283,801,059,595,500 | true | su.sadrobot.yashlang.controller.VideoItemActions;
import su.sadrobot.yashlang.model.VideoDatabase;
import su.sadrobot.yashlang.model.VideoItem;
import su.sadrobot.yashlang.view.OnListItemClickListener;
import su.sadrobot.yashlang.view.VideoItemPagedListAdapter;
/**
*
*/
public class HistoryActivity extends AppCompa... | .sadrobot.yashlang.view.OnListItemClickListener;
import su.sadrobot.yashlang.view.VideoItemPagedListAdapter;
/**
*
*/
public class HistoryActivity extends AppCompatActivity {
private RecyclerView videoList;
private View emptyView;
private final Handler handler = new Handler();
private LiveData<Pag... | videoList;
private View emptyView;
private final Handler handler = new Handler();
private LiveData<PagedList<VideoItem>> videoItemsLiveData;
private final RecyclerView.AdapterDataObserver emptyListObserver = new RecyclerView.AdapterDataObserver() {
// https://stackoverflow.com/questions/4741... | Observer() {
// https://stackoverflow.com/questions/47417645/empty-view-on-a-recyclerview
// https://stackoverflow.com/questions/27414173/equivalent-of-listview-setemptyview-in-recyclerview
// https://gist.github.com/sheharyarn/5602930ad84fa64c30a29ab | 18eb69c6e
private void checkIfEmpty() {
final boolean listIsEmpty = videoList.getAdapter() == null || videoList.getAdapter().getItemCount() == 0;
emptyView.setVisibility( |
SignPixelPanel.java | /FileExtraction/Java_unseen/mnit-rtmc_iris/src/us/mn/state/dot/tms/client/dms/SignPixelPanel.java | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2000-2023 Minnesota Department of Transportation
* Copyright (C) 2021 Iteris Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwa... | 13,338 | Java | .java | mnit-rtmc/iris | 40 | 17 | 26 | 2019-08-14T18:16:40Z | 2024-05-08T17:08:16Z | 6f9cebe79f370da3aaaad99fbc5528e57efc0c6f345d55d0c488bc7d2d7913f5 | [] | [
1127,
222,
338,
14095,
1309,
790,
2871,
44433,
29007,
3094,
10422,
1189,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
53,
50,
55,
53,
55,
56,
244,
7535,
13488,
5735,
24481,
451,
23597,
387,
222,
338,
2657,
327,
72,
46,
244,
55,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2775,
64,
222,
485,
1790,
51,
8200,
51,
1311,
51,
4297,
51,
121,
893,
51,
21556,
23903,
64,
222,
485,
1790,
51,
8200,
51,
1311,
51,
4297,
51,
121,
893,
51,
3399,
1081,
64,
222,
485,
924,
1790,
51,
8200,
51,
1311,
51,
4297,
51,
... | -255,774,188,793,112,060 | true | false | false | false | [
374,
221,
4945,
312,
222,
221,
130,
499,
221,
1350,
8301,
1989,
456,
3818,
493,
2758,
588,
222,
221,
1592,
964,
1175,
5459,
32626,
100,
10811,
299,
2785,
1530,
45,
1530,
51,
32113,
49,
244,
54,
62,
55,
312,
499,
221,
1350,
8301,
1... | -8,786,010,980,533,629,000 | true | Helper;
import us.mn.state.dot.tms.RasterGraphic;
import us.mn.state.dot.tms.SignConfig;
import static us.mn.state.dot.tms.client.widget.Widgets.UI;
/**
* Pixel panel renders a representation of the pixels on a sign.
*
* @author Douglas Lau
* @author Deb Behera
*/
public class SignPixelPanel extends JPanel {
/*... | widget.Widgets.UI;
/**
* Pixel panel renders a representation of the pixels on a sign.
*
* @author Douglas Lau
* @author Deb Behera
*/
public class SignPixelPanel extends JPanel {
/** Create a filter color */
static private Color filterColor(Color clr, int alpha) {
return new Color(clr.getRed(), clr.getGreen... | extends JPanel {
/** Create a filter color */
static private Color filterColor(Color clr, int alpha) {
return new Color(clr.getRed(), clr.getGreen(), clr.getBlue(),
alpha);
}
/** Filter color for failed DMS */
static private final Color FILTER_FAILED = filterColor(Color.GRAY, 192);
/** Filter color for D... |
alpha);
}
/** Filter color for failed DMS */
static private final Color FILTER_FAILED = filterColor(Color.GRAY, 192);
/** Filter color for DMS with controller errors */
static private final Color FILTER_ERROR = new Color(255, 64, 0, 64);
/** Get the filter color for a DMS */
static public Color filterColo... | MS dms) {
if (DMSHelper.isFailed(dms))
return FILTER_FAILED;
else if (DMSHelper.getCriticalError(dms).length() > 0)
|
Dataset.java | /FileExtraction/Java_unseen/SCI2SUGR_KEEL/src/keel/Algorithms/Decision_Trees/ID3/Dataset.java | /***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-Fde... | 14,912 | Java | .java | SCI2SUGR/KEEL | 126 | 50 | 18 | 2015-09-18T07:40:54Z | 2018-03-05T17:45:40Z | 91c18cf3ec62a2abc783a4d2d647f6087c6a7e3360f438eb3b1674f1689fb06f | [] | [
18200,
14525,
499,
221,
2287,
822,
458,
1760,
451,
1242,
74,
2165,
50,
12300,
49,
341,
2426,
7535,
318,
4572,
456,
18051,
49,
1676,
221,
15358,
49,
34406,
49,
5275,
42440,
480,
1278,
563,
51,
499,
221,
10585,
327,
72,
46,
244,
55,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
942,
462,
19265,
222,
128,
222,
221,
1350,
906,
655,
451,
341,
5984,
51,
588,
222,
221,
5332,
910,
655,
299,
5127,
3038,
221,
1350,
906,
5437,
51,
588,
222,
221,
5332,
4126,
5437,
64,
3038,
221,
1350,
906,
1641,
2047,
51,
588,
222... | -3,060,593,717,455,791,000 | true | false | false | false | [
222,
221,
128,
27040,
221,
1287,
320,
27040,
221,
325,
1506,
341,
758,
451,
6947,
5246,
221,
221,
1309,
299,
556,
11619,
903,
492,
27040,
221,
325,
4858,
341,
1641,
2047,
51,
376,
221,
1309,
51,
870,
903,
45,
444,
49,
3441,
312,
3... | 8,877,432,412,545,928,000 | true | public class Dataset
{
/** The name of the dataset. */
protected String name = "";
/** The attributes. */
protected Vector attributes;
/** The itemsets. */
protected Vector itemsets;
/** The index of the class attribute. */
protected int classIndex;
/** Keel dataset InstanceSet **/
protected Instanc... |
/** The index of the class attribute. */
protected int classIndex;
/** Keel dataset InstanceSet **/
protected InstanceSet IS;
/** Function to read the.dat file that contains the information of the dataset.
*
* @param name The reader object where the itemsets are readed.
* @param train The flag... | the dataset.
*
* @param name The reader object where the itemsets are readed.
* @param train The flag if the file is for training
*/
public Dataset( String name, boolean train )
{
try {
// create the set of instances
IS = new InstanceSet();
// Read the itemsets.
IS.readSet(name,train)... |
{
try {
// create the set of instances
IS = new InstanceSet();
// Read the itemsets.
IS.readSet(name,train);
} catch (DatasetException e) {
System.out.println("Error loading dataset instances");
e.printStackTrace();
System.exit(-1);
} catch (HeaderFormatException e) {
System.out.println... | dataset instances");
e.printStackTrace();
System.exit(-1);
}
//Store Dataset file attributes
readHeader();
itemsets = new Vector( IS.getNumInstances() );
|
DeliveryRequest.java | /FileExtraction/Java_unseen/LSIR_gsn/gsn-tiny/tiny-gsn/src/main/java/tinygsn/beans/DeliveryRequest.java | package tinygsn.beans;
import android.os.Parcel;
import android.os.Parcelable;
public class DeliveryRequest implements Parcelable {
private String url;
private String clientID;
private String clientSecret;
private int mode;
private String vsname;
private long lastTime;
private int id;
private boolean active;
... | 2,880 | Java | .java | LSIR/gsn | 58 | 42 | 23 | 2014-02-16T13:41:09Z | 2021-12-21T17:07:36Z | 51a008421a273f14eb8db23ed47fbd864a4f1367e1184b785b9887a92eaaa138 | [] | [
1337,
19119,
108,
4654,
51,
9580,
64,
222,
222,
485,
2616,
51,
519,
51,
18402,
64,
222,
485,
2616,
51,
519,
51,
38258,
64,
222,
222,
942,
462,
31855,
1123,
4584,
38351,
463,
320,
222,
221,
2072,
910,
2001,
64,
222,
221,
2072,
910,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 894 | [
758,
4091,
45,
4412,
4537,
46,
320,
376,
221,
597,
51,
2498,
299,
4537,
64,
222,
221,
130,
499,
221,
942,
910,
48017,
365,
320,
376,
221,
620,
2001,
64,
222,
221,
130,
499,
221,
942,
782,
758,
2226,
45,
671,
2001,
46,
320,
376,
... | 9,169,532,295,646,998,000 | true | false | false | false | [
221,
620,
2945,
64,
222,
221,
130,
499,
221,
942,
782,
758,
2116,
45,
429,
2945,
46,
320,
376,
221,
597,
51,
2832,
299,
2945,
64,
222,
221,
130,
499,
221,
942,
910,
640,
14364,
444,
365,
320,
376,
221,
620,
8563,
444,
64,
222,
... | -7,111,442,389,352,517,000 | true | setActive(boolean active) {
this.active = active;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getClientID() {
return clientID;
}
public void setClientID(String clientID) {
this.clientID = clientID;
}
public String getClientSecret() ... | url;
}
public String getClientID() {
return clientID;
}
public void setClientID(String clientID) {
this.clientID = clientID;
}
public String getClientSecret() {
return clientSecret;
}
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
public int getMode() {
... | public String getClientSecret() {
return clientSecret;
}
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
public int getMode() {
return mode;
}
public void setMode(int mode) {
this.mode = mode;
}
public String getVsname() {
return vsname;
}
public void setV... | return mode;
}
public void setMode(int mode) {
this.mode = mode;
}
public String getVsname() {
return vsname;
}
public void setVsname(String vsname) {
this.vsname = vsname;
}
public long getLastTime() {
return lastTime;
}
public void setLastTime(long last | Time) {
this.lastTime = lastTime;
}
public long getIterationTime() {
return iterationTime;
}
public void setIterationTime(long iterationTime) {
this |
ModificationNotification.java | /FileExtraction/Java_unseen/docdoku_docdoku-plm-server/docdoku-plm-server-core/src/main/java/com/docdoku/plm/server/core/change/ModificationNotification.java | /*
* DocDoku, Professional Open Source
* Copyright 2006 - 2020 DocDoku SARL
*
* This file is part of DocDokuPLM.
*
* DocDokuPLM is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 o... | 5,507 | Java | .java | docdoku/docdoku-plm-server | 11 | 10 | 1 | 2020-09-17T13:17:18Z | 2023-07-24T15:58:52Z | d542791ad1e949e28e3522000bb7f9a9ac3c0cc7060d3472232a45afd3243bfd | [] | [
1127,
222,
338,
11235,
73,
12232,
49,
45463,
3944,
6391,
222,
338,
2657,
244,
55,
53,
53,
59,
449,
244,
55,
53,
55,
53,
11235,
73,
12232,
377,
802,
81,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
11235,
73,
12232,
2759,
82,
5... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1381,
50,
2307,
51,
222,
338,
26973,
11673,
458,
391,
11745,
4272,
708,
5543,
43683,
1648,
545,
14966,
337,
829,
3301,
23125,
51,
222,
338,
222,
338,
496,
2133,
525,
335,
16538,
43681,
285,
222,
338,
496,
1687,
244,
55,
51,
53,
49,
... | 712,833,431,201,355,500 | true | false | false | false | [
8801,
51,
10912,
51,
333,
299,
518,
10912,
625,
17062,
6944,
329,
51,
478,
28456,
3899,
49,
329,
51,
10492,
2655,
51,
2068,
14021,
51,
2068,
8801,
51,
2188,
49,
329,
51,
10492,
2655,
51,
19991,
21733,
2132,
310,
496,
11061,
1643,
45... | -2,513,202,955,120,285,700 | true | sub-component.
* Its purpose is to notify users that those assemblies may be impacted by these modifications.
*
* @author Florent Garin
* @version 2.0, 12/03/15
* @since V2.0
*/
@Entity
@NamedQueries ({
@NamedQuery(name="ModificationNotification.findByImpactedPartIteration", query = "SELECT n FROM Modifi... | 15
* @since V2.0
*/
@Entity
@NamedQueries ({
@NamedQuery(name="ModificationNotification.findByImpactedPartIteration", query = "SELECT n FROM ModificationNotification n WHERE n.impactedPart.iteration = :iteration AND n.impactedPart.partRevision.version = :version AND n.impactedPart.partRevision.partMaster.numb... | actedPart.iteration = :iteration AND n.impactedPart.partRevision.version = :version AND n.impactedPart.partRevision.partMaster.number = :partNumber AND n.impactedPart.partRevision.partMaster.workspace.id = :workspaceId ORDER BY n.acknowledged, n.modifiedPart.partRevision.partMaster.number, n.modifiedPart.iteration DESC... | Master.workspace.id = :workspaceId ORDER BY n.acknowledged, n.modifiedPart.partRevision.partMaster.number, n.modifiedPart.iteration DESC"),
@NamedQuery(name="ModificationNotification.removeAllOnPartRevision", query = "DELETE FROM ModificationNotification n WHERE n.impactedPart.partRevision.version = :version AN... | .partRevision.partMaster.workspace.id = :workspaceId"),
@NamedQuery(name="ModificationNotification.removeAllOnPartIteration", query = "DELETE FROM ModificationNotification n WHERE n.impactedPart.partRevision.version |
WorkflowStep.java | /FileExtraction/Java_unseen/miso-lims_miso-lims/core/src/main/java/uk/ac/bbsrc/tgac/miso/core/data/workflow/WorkflowStep.java | package uk.ac.bbsrc.tgac.miso.core.data.workflow;
import uk.ac.bbsrc.tgac.miso.core.data.workflow.impl.BoxPositionProgressStep;
import uk.ac.bbsrc.tgac.miso.core.data.workflow.impl.BoxProgressStep;
import uk.ac.bbsrc.tgac.miso.core.data.workflow.impl.IntegerProgressStep;
import uk.ac.bbsrc.tgac.miso.core.data.workflow... | 2,739 | Java | .java | miso-lims/miso-lims | 223 | 96 | 16 | 2012-06-20T13:17:28Z | 2024-05-08T20:38:27Z | e6c1e9b807aae01896e58a0feabf6669e8747ef878954511363a1d358c6ec728 | [] | [
1337,
13847,
51,
348,
51,
2901,
1634,
51,
14641,
348,
51,
32604,
51,
1284,
51,
624,
51,
9888,
64,
222,
222,
485,
13847,
51,
348,
51,
2901,
1634,
51,
14641,
348,
51,
32604,
51,
1284,
51,
624,
51,
9888,
51,
3126,
51,
1723,
2746,
5... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 710 | [
5291,
3549,
64,
222,
485,
13847,
51,
348,
51,
2901,
1634,
51,
14641,
348,
51,
32604,
51,
1284,
51,
624,
51,
9888,
51,
3126,
51,
671,
5291,
3549,
64,
222,
222,
1350,
222,
338,
23121,
331,
19698,
26863,
3138,
347,
331,
21275,
51,
22... | 3,330,717,547,244,257,000 | true | false | false | false | [
736,
1263,
782,
2183,
1630,
45,
3078,
5291,
3549,
3138,
46,
320,
303,
1440,
10202,
1630,
492,
353,
339,
736,
1263,
782,
2183,
1630,
45,
921,
467,
27490,
10731,
2894,
5291,
3549,
3138,
46,
320,
303,
1440,
10202,
1630,
492,
353,
339,
... | -6,643,268,453,849,864,000 | true | ProgressStep;
import uk.ac.bbsrc.tgac.miso.core.data.workflow.impl.StringProgressStep;
/**
* Represents a possibly incomplete step in a Workflow.
* Responsible for describing, validating, and storing the input for a step.
*
* The default implementation of processInput is to throw an exception.
* Subclasses will o... | , validating, and storing the input for a step.
*
* The default implementation of processInput is to throw an exception.
* Subclasses will override this implementation for the ProgressSteps they expect
*/
public interface WorkflowStep {
WorkflowStepPrompt getPrompt();
ProgressStep getProgressStep();
default... | WorkflowStepPrompt getPrompt();
ProgressStep getProgressStep();
default void processInput(ProgressStep step) {
throwUnexpectedInput();
}
default void processInput(PoolProgressStep step) {
throwUnexpectedInput();
}
default void processInput(IntegerProgressStep step) {
throwUnexpectedInput();... |
default void processInput(IntegerProgressStep step) {
throwUnexpectedInput();
}
default void processInput(SequencerPartitionContainerProgressStep step) {
throwUnexpectedInput();
}
default void processInput(StringProgressStep step) {
throwUnexpectedInput();
}
default void processInput(Skip... | ();
}
default void processInput(SampleProgressStep step) {
throwUnexpectedInput();
}
default void processInput(PositiveDoubleProgressStep step) {
throwUnexpectedInput();
}
default void processInput(PositiveInteger |
FontKey.java | /FileExtraction/Java_unseen/ptidejteam_Ptidej-v5_2/Ptidej Reporting Tests/src/net/sf/jasperreports/engine/export/FontKey.java | /*
* ============================================================================
* GNU Lesser General Public License
* ============================================================================
*
* JasperReports - Free Java report-generating library.
* Copyright (C) 2001-2006 JasperSoft Corporation http://www.... | 2,504 | Java | .java | ptidejteam/Ptidej-v5.2 | 9 | 8 | 0 | 2017-05-16T18:53:18Z | 2018-01-13T01:05:21Z | 220f43a6d6e8faf2d28e828026b2685067b95d00b94395e36fe6f1d9dfa00330 | [] | [
1127,
222,
338,
43242,
222,
338,
6994,
16227,
6153,
5062,
1196,
222,
338,
43242,
222,
338,
222,
338,
990,
41428,
21196,
449,
7834,
4957,
3652,
50,
48245,
4277,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 734 | [
221,
942,
8929,
971,
45,
671,
2377,
577,
49,
1922,
13769,
49,
1922,
31283,
46,
222,
221,
128,
376,
221,
597,
51,
2204,
577,
299,
2377,
577,
64,
376,
221,
597,
51,
316,
16818,
299,
13769,
64,
376,
221,
597,
51,
316,
34089,
299,
3... | 6,217,352,639,013,705,000 | true | false | false | false | [
1177,
461,
920,
64,
1332,
221,
3242,
8929,
971,
1221,
299,
327,
3728,
971,
46,
356,
64,
1332,
221,
344,
327,
597,
51,
316,
16818,
882,
1221,
51,
316,
16818,
46,
461,
920,
64,
376,
221,
344,
327,
597,
51,
316,
34089,
882,
1221,
5... | -4,772,607,059,797,652,000 | true | public FontKey(String fontName, boolean bold, boolean italic)
{
this.fontName = fontName;
this.isBold = bold;
this.isItalic = italic;
}
public String getFontName()
{
return this.fontName;
}
public boolean isBold()
{
return this.isBold;
}
public boolean isItalic()
{
return this.isItalic;
}
p... | public String getFontName()
{
return this.fontName;
}
public boolean isBold()
{
return this.isBold;
}
public boolean isItalic()
{
return this.isItalic;
}
public boolean equals(Object o)
{
if (this == o) return true;
if (o == null || getClass()!= o.getClass()) return false;
final FontKey key =... | {
return this.isItalic;
}
public boolean equals(Object o)
{
if (this == o) return true;
if (o == null || getClass()!= o.getClass()) return false;
final FontKey key = (FontKey) o;
if (this.isBold!= key.isBold) return false;
if (this.isItalic!= key.isItalic) return false;
if (this.fontName!= null?!th... | ()) return false;
final FontKey key = (FontKey) o;
if (this.isBold!= key.isBold) return false;
if (this.isItalic!= key.isItalic) return false;
if (this.fontName!= null?!this.fontName.equals(key.fontName) : key.fontName!= null) return false;
return true;
}
public int hashCode() |
{
int result;
result = (this.fontName!= null? this.fontName.hashCode() : 0);
result = 29 * result + (this.isBold? 1 : |
ParameterSetupDialogWithEmptyPreview.java | /FileExtraction/Java_unseen/mzmine_mzmine2/src/main/java/net/sf/mzmine/parameters/dialogs/ParameterSetupDialogWithEmptyPreview.java | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at your opti... | 5,007 | Java | .java | mzmine/mzmine2 | 129 | 133 | 237 | 2015-03-24T07:26:14Z | 2024-05-05T11:12:07Z | 0b486411e8815f03b60b3666ce5e0e3ef504b8fe415447e01514dd69f3efa819 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
53,
59,
50,
55,
53,
54,
61,
906,
507,
95,
6758,
244,
55,
15606,
12653,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
507,
95,
6758,
244,
55,
51,
222,
338,
1676,
338,
507,
95,
6758,
244,
55,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
458,
12385,
477,
49,
1495,
2615,
51,
688,
3742,
8176,
492,
347,
341,
1467,
5098,
1200,
1035,
3742,
8176,
492,
222,
338,
480,
1636,
1035,
1390,
13314,
327,
106,
51,
108,
51,
331,
7589,
46,
391,
45298,
10621,
4745,
341,
657,
688,
50,
... | 4,493,614,722,738,788,000 | true | false | false | false | [
2906,
27579,
959,
2841,
42609,
19332,
11476,
44434,
222,
338,
13588,
10621,
2486,
643,
36569,
51,
8968,
2771,
19332,
3535,
73,
4800,
418,
6218,
13940,
38,
222,
338,
1676,
338,
496,
2133,
6678,
505,
291,
4401,
7206,
2168,
368,
395,
8679,... | 5,000,693,269,266,576,000 | true | is extend this, call super.addDialogComponents(); in the extention's addDialogComponents();
* and then add your preview (e.g. a chart) to pnlPreview via the.add-method to
* BorderLayout.CENTER. If you need extra buttons you can add them to pnlPreviewButtons, which is a
* panel south of the preview and formatted by ... | . If you need extra buttons you can add them to pnlPreviewButtons, which is a
* panel south of the preview and formatted by a flow layout.
*
* Please note the mainPanel of ParameterSetupDialog is not the main panel anymore, but newMainPanel
* is. The old mainPanel is moved inside a JScrollPane to allow users with ... | anymore, but newMainPanel
* is. The old mainPanel is moved inside a JScrollPane to allow users with low resolution to set the
* parameters properly.
*
* TODO: COPY actionPerformed METHOD TO YOUR SUBCLASS AND UNCOMMENT THE LINES TO SHOW PREVIEW DEFINE
* cmpPreview AS WELL. THIS IS PRECODED FOR A CHECKBOX!
*
* ... | THE LINES TO SHOW PREVIEW DEFINE
* cmpPreview AS WELL. THIS IS PRECODED FOR A CHECKBOX!
*
* @author Steffen Heuckeroth steffen.heuckeroth@gmx.de / s_heuc03@uni-muenster.de
*
*/
public class ParameterSetupDialogWithEmptyPreview extends ParameterSetupDialog {
private static final long serialVersionUID = 1L;
... | = Logger.getLogger(this.getClass().getName());
// panels
protected JScrollPane pnScroll; // this will contain the parameter panel
protected JPanel pnlPreview; // this will contain the preview and navigation panels
protected JPanel pnlPreviewButtons; |
OArrayHandler.java | /FileExtraction/Java_unseen/zachbr_Debuggery/debuggery-common/src/main/java/io/zachbr/debuggery/reflection/types/handlers/output/OArrayHandler.java | /*
* This file is part of Debuggery.
*
* Debuggery is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Debuggery is distributed... | 2,839 | Java | .java | zachbr/Debuggery | 36 | 9 | 0 | 2017-10-16T03:00:37Z | 2021-02-11T22:00:43Z | b23066ea1fb458597287d51ff2cc319ffb37f07b345d488f9cc03c218fb2e87e | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
8093,
108,
852,
51,
222,
338,
222,
338,
8093,
108,
852,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
64... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 670 | [
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
3377,
51,
127,
886,
858,
51,
2824,
108,
852,
51,
22612,
51,
2529,
51,
14453,
51,
2051,
64,
222,
222,
485,
3377,
5... | -6,313,386,888,391,046,000 | true | false | false | false | [
1985,
320,
303,
964,
1175,
2782,
1985,
847,
1985,
64,
465,
581,
565,
1280,
1985,
45,
739,
65,
1985,
67,
14531,
49,
2782,
1985,
4908,
46,
320,
310,
477,
51,
700,
1985,
299,
4908,
64,
310,
453,
5276,
3939,
1187,
5430,
6052,
480,
392... | -8,034,416,677,655,364,000 | true | . If not, see <http://www.gnu.org/licenses/>.
*/
package io.zachbr.debuggery.reflection.types.handlers.output;
import io.zachbr.debuggery.reflection.types.TypeHandler;
import io.zachbr.debuggery.reflection.types.handlers.base.Handler;
import io.zachbr.debuggery.reflection.types.handlers.base.OHandler;
import org.je... | gery.reflection.types.TypeHandler;
import io.zachbr.debuggery.reflection.types.handlers.base.Handler;
import io.zachbr.debuggery.reflection.types.handlers.base.OHandler;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.Array;
import java.util.List;
public c... | base.OHandler;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.Array;
import java.util.List;
public class OArrayHandler {
private final TypeHandler typeHandler;
public OArrayHandler(List<Handler> registration, TypeHandler handler) {
this.t... | Handler {
private final TypeHandler typeHandler;
public OArrayHandler(List<Handler> registration, TypeHandler handler) {
this.typeHandler = handler;
// loop through all supported classes and register them to the handler
Class<?>[] supportedClasses = {Object[].class, byte[].class, short[... | Classes) {
OHandler oHandler = new OHandler() {
@Override
public @Nullable String getFormattedOutput(Object object) {
return getFormattedArray(object);
}
@Override
public @NotNull Class<?> get |
ResourceDeployUtils.java | /FileExtraction/Java_unseen/mleoking_PhET/build-tools/src/edu/colorado/phet/buildtools/resource/ResourceDeployUtils.java | package edu.colorado.phet.buildtools.resource;
import java.io.File;
import java.io.FileFilter;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import edu.colorado.phet.buildtools.BuildToolsPaths;
/**
* Utility functions for the resource deploy process
* <p/>
* NOTE: be wary of the fol... | 4,815 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | e3c75dbd4ca55787224e553e97ef26ccc999f2e04748e820a0dbf65fd0d76719 | [] | [
1337,
15357,
51,
1507,
2619,
51,
117,
10237,
51,
1848,
4303,
51,
3157,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
991,
2365,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
986,
1948,
294,
338,
294,
338,
496,
772,
41121,
5404,
391,
41121,
294,
338,
496,
620,
2647,
451,
1401,
14619,
14920,
294,
588,
303,
581,
924,
2050,
1197,
640,
5445,
14886,
25506,
45,
2050,
41121,
848,
320,
310,
434,
327,
9404,
848,
... | 1,196,877,327,293,683,000 | true | false | false | false | [
461,
3805,
25506,
64,
310,
339,
303,
339,
465,
1041,
294,
338,
1408,
331,
1168,
451,
14017,
14619,
14920,
49,
6498,
391,
331,
8146,
986,
1948,
294,
338,
294,
338,
496,
772,
41121,
5404,
391,
41121,
294,
338,
496,
620,
2647,
451,
140... | -5,757,522,651,172,878,000 | true | out copy
*
* @param trunk Path to trunk
* @return Array of java simulation directories
*/
public static File[] getJavaSimulationDirs( File trunk ) {
if ( DEBUG ) {
return new File[] { new File( trunk, BuildToolsPaths.JAVA_SIMULATIONS_DIR + "/bound-states" ) };
}
... | File( trunk, BuildToolsPaths.JAVA_SIMULATIONS_DIR + "/bound-states" ) };
}
else {
File simsDir = new File( trunk, BuildToolsPaths.JAVA_SIMULATIONS_DIR );
File[] simDirs = simsDir.listFiles( new FileFilter() {
public boolean accept( File file ) {
... | );
File[] simDirs = simsDir.listFiles( new FileFilter() {
public boolean accept( File file ) {
return file.isDirectory() &&!file.getName().startsWith( "." );
}
} );
return simDirs;
}
}
/**
* Get a list of fl... | return simDirs;
}
}
/**
* Get a list of flash simulation directories, relative to a checked out copy
*
* @param trunk Path to trunk
* @return Array of flash simulation directories
*/
public static File[] getFlashSimulationDirs( File trunk ) {
if ( DEBUG ) {
... |
new File( trunk, BuildToolsPaths.FLEX_SIMULATIONS_DIR + "/density-and-buoyancy" )
};
}
else {
File flashSimsDir = new File( trunk, BuildToolsPaths |
PermissionCodec.java | /FileExtraction/Java_unseen/Lumeer_engine/lumeer-storage/lumeer-storage-mongodb/src/main/java/io/lumeer/storage/mongodb/codecs/PermissionCodec.java | /*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ... | 3,695 | Java | .java | Lumeer/engine | 11 | 22 | 0 | 2016-10-01T21:12:54Z | 2024-02-23T20:55:38Z | 6bf7f109910ae51eb9faf4a1093e2db4c3b007a3669b1cb48f3fda3bab7fc25e | [] | [
1127,
222,
338,
517,
2097,
284,
63,
43962,
2426,
16440,
480,
22480,
11329,
222,
338,
222,
338,
2657,
327,
72,
46,
4577,
244,
55,
53,
54,
60,
517,
2097,
284,
51,
735,
49,
328,
51,
119,
51,
116,
51,
480,
52,
290,
2840,
25094,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 917 | [
5389,
10886,
46,
320,
416,
477,
51,
2826,
13167,
299,
10886,
51,
390,
45,
3112,
51,
842,
312,
682,
339,
3051,
496,
1806,
682,
581,
11125,
9860,
45,
3242,
570,
1174,
3314,
6201,
49,
1175,
35027,
1237,
18983,
1237,
46,
320,
416,
6222,... | -3,295,810,489,497,535,500 | true | false | false | false | [
32972,
45,
4315,
312,
295,
434,
327,
1477,
4555,
882,
762,
46,
320,
343,
1074,
51,
15109,
45,
4555,
2769,
51,
3157,
12840,
45,
1477,
4555,
49,
2885,
638,
894,
295,
339,
832,
320,
343,
792,
556,
4555,
299,
13936,
638,
51,
32972,
45... | -1,208,433,041,770,694,700 | true | Registry registry) {
this.documentCodec = registry.get(Document.class);
}
@Override
public Permission decode(final BsonReader reader, final DecoderContext decoderContext) {
Document document = documentCodec.decode(reader, decoderContext);
return PermissionCodec.convertFromDocument(document)... | reader, decoderContext);
return PermissionCodec.convertFromDocument(document);
}
@Deprecated
public static Permission convertFromDocumentLegacy(Document bson, ResourceType resourceType) {
String name = bson.getString(ID);
Set<Role> roles = new ArrayList<String>(bson.get(ROLES, List.class)).... | Set<Role> roles = new ArrayList<String>(bson.get(ROLES, List.class)).stream().reduce(new HashSet<>(), (Set<Role> result, String role) -> {
var oldRole = RoleOld.fromString(role);
if (oldRole!= null) {
result.addAll(RoleUtils.resourceRoles(oldRole, resourceType));
} else {
... | fromString(role);
if (oldRole!= null) {
result.addAll(RoleUtils.resourceRoles(oldRole, resourceType));
} else {
var newRole = RoleType.fromString(role);
if (newRole!= null) {
result.add(new Role(newRole));
}
}
return resu... | Collectors.toSet()));
return new Permission(name, roles);
}
public static Permission convertFromDocument(Document bson) {
String name = bson.getString(ID);
Set<Role> roles = new ArrayList<Document>(bson |
BlockFFPistonBase.java | /FileExtraction/Java_unseen/mbrx_FysiksFun/ff/solidBlockPhysics/BlockFFPistonBase.java | package mbrx.ff.solidBlockPhysics;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import mbrx.ff.FysiksFun;
import mbrx.ff.fluids.Fluids;
import mbrx.ff.fluids.Gases;
import mbrx.ff.util.ChunkCache;
import mbrx.ff.util.ChunkMarkUpdater;
import mbrx.ff.util.SoundQueue;
import mbrx.ff.util... | 9,967 | Java | .java | mbrx/FysiksFun | 9 | 0 | 5 | 2014-05-08T15:11:38Z | 2014-11-09T13:16:46Z | 617b385cd07f11bbb4f88563cef7a4ff4c173e446346bc06d83b2746c45c54c5 | [] | [
1337,
364,
858,
125,
51,
505,
51,
12868,
2246,
19344,
64,
222,
222,
485,
9210,
124,
51,
22862,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
64,
222,
485,
9210,
124,
51,
22862,
51,
35663,
51,
2836,
102,
4260,
284,
51,
7433,
4505,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1922,
458,
48015,
64,
736,
581,
6579,
1158,
85,
446,
286,
1778,
45,
429,
898,
54,
49,
1922,
458,
48015,
46,
320,
303,
2615,
45,
587,
54,
49,
458,
48015,
312,
303,
477,
51,
316,
48015,
299,
458,
48015,
64,
353,
339,
736,
1041,
68... | 3,463,125,437,157,606,400 | true | false | false | false | [
878,
343,
518,
327,
7366,
882,
244,
55,
979,
898,
54,
6719,
51,
390,
27282,
6790,
2319,
45,
125,
49,
553,
49,
1308,
449,
244,
54,
49,
244,
55,
46,
1037,
878,
419,
518,
327,
7366,
882,
244,
56,
979,
898,
54,
6719,
51,
390,
2728... | 3,520,441,365,050,343,400 | true | boolean isSticky;
public BlockFFPistonBase(int par1, boolean isSticky) {
super(par1, isSticky);
this.isSticky = isSticky;
}
/**
* checks the block to that side to see if it is indirectly powered.
*/
public boolean isIndirectlyPowered(World par1World, int x, int y, int z, int direction) {
re... | that side to see if it is indirectly powered.
*/
public boolean isIndirectlyPowered(World par1World, int x, int y, int z, int direction) {
return direction!= 0 && par1World.getIndirectPowerOutput(x, y - 1, z, 0)? true
: (direction!= 1 && par1World.getIndirectPowerOutput(x, y + 1, z, 1)? true
... | .getIndirectPowerOutput(x, y - 1, z, 0)? true
: (direction!= 1 && par1World.getIndirectPowerOutput(x, y + 1, z, 1)? true
: (direction!= 2 && par1World.getIndirectPowerOutput(x, y, z - 1, 2)? true
: (direction!= 3 && par1World.getIndirectPowerOutput(x, y, z + 1, 3)? true : (direction!... | true
: (direction!= 2 && par1World.getIndirectPowerOutput(x, y, z - 1, 2)? true
: (direction!= 3 && par1World.getIndirectPowerOutput(x, y, z + 1, 3)? true : (direction!= 5
&& par1World.getIndirectPowerOutput(x + 1, y, z, 5)? true : (direction!= 4 | && par1World.getIndirectPowerOutput(x - 1, y, z, 4)? true
: (par1World.getIndirectPowerOutput(x, y, z, 0)? true : (par |
MdCustomerContactDaoImpl.java | /FileExtraction/Java_unseen/redragon1985_redragon-erp/erp-parent/erp-masterData/src/main/java/com/erp/masterdata/customer/dao/hibernate/MdCustomerContactDaoImpl.java | /*
* Copyright 2020-2021 redragon.dongbin
*
* This file is part of redragon-erp/赤龙ERP.
* redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at you... | 5,147 | Java | .java | redragon1985/redragon-erp | 145 | 37 | 0 | 2020-08-11T07:51:28Z | 2024-03-08T06:45:54Z | fcf2032a94ee8da0cb98a98dae4e379eaaa793efa558c7ff4b81fbc477e75e9b | [] | [
1127,
222,
338,
2657,
244,
55,
53,
55,
53,
50,
55,
53,
55,
54,
3363,
2471,
286,
51,
45382,
1793,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
3363,
2471,
286,
50,
22059,
52,
5603,
135,
38738,
546,
85,
51,
499,
338,
3363,
2471,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
485,
785,
51,
2863,
51,
4341,
51,
2610,
64,
222,
485,
785,
51,
2863,
51,
4341,
51,
10967,
64,
222,
485,
785,
51,
2863,
51,
4341,
51,
10967,
51,
7052,
638,
64,
222,
485,
785,
51,
2863,
51,
4341,
51,
5352,
3196,
64,
222,
48... | 4,158,866,075,698,001,400 | true | false | false | false | [
7133,
51,
13974,
51,
1184,
51,
20769,
7950,
5883,
1213,
64,
222,
222,
69,
3231,
222,
942,
462,
46447,
7950,
5883,
8924,
3499,
4584,
46447,
7950,
5883,
8924,
128,
19530,
453,
8393,
5039,
6404,
8924,
19330,
5079,
303,
496,
10789,
303,
9... | 219,890,044,851,954,020 | true |
import com.framework.annotation.Cache;
import com.framework.annotation.Permissions;
import com.framework.annotation.Permissions.PermissionType;
import com.framework.annotation.SqlParam;
import com.framework.dao.model.Pages;
import com.framework.util.DaoUtil;
import com.erp.masterdata.customer.dao.MdCustomerContactDao;... | dao.model.Pages;
import com.framework.util.DaoUtil;
import com.erp.masterdata.customer.dao.MdCustomerContactDao;
import com.erp.masterdata.customer.dao.model.MdCustomer;
import com.erp.masterdata.customer.dao.model.MdCustomerBank;
import com.erp.masterdata.customer.dao.model.MdCustomerContact;
import com.erp.masterdata... | MdCustomer;
import com.erp.masterdata.customer.dao.model.MdCustomerBank;
import com.erp.masterdata.customer.dao.model.MdCustomerContact;
import com.erp.masterdata.customer.dao.model.MdCustomerContactCO;
@Repository
public class MdCustomerContactDaoImpl implements MdCustomerContactDao{
//注入basicDao工具类
@Autowi... | customer.dao.model.MdCustomerContactCO;
@Repository
public class MdCustomerContactDaoImpl implements MdCustomerContactDao{
//注入basicDao工具类
@Autowired
private BasicDao basicDao;
@Override
public void insertDataObject(MdCustomerContact obj) {
this.basicDao.insertDataTransaction(obj);
... | (obj);
}
@Override
public void insertOrUpdateDataObject(MdCustomerContact obj) {
this.basicDao.insertOrUpdateDataTransaction(obj);
}
@Override
public void deleteDataObject(MdCustomerContact obj) |
ShiftHeadPredicateFeatureSet.java | /FileExtraction/Java_unseen/lil-lab_nccg/nn-amr-dev/amr/src/edu/uw/cs/lil/amr/features/decomposed/ShiftHeadPredicateFeatureSet.java | package edu.uw.cs.lil.amr.features.decomposed;
import java.util.Collections;
import java.util.Set;
import edu.cornell.cs.nlp.spf.base.hashvector.IHashVector;
import edu.cornell.cs.nlp.spf.base.hashvector.KeyArgs;
import edu.cornell.cs.nlp.spf.data.IDataItem;
import edu.cornell.cs.nlp.spf.explat.IResourceRepository;
i... | 4,072 | Java | .java | lil-lab/nccg | 17 | 2 | 1 | 2017-02-10T19:38:56Z | 2017-02-21T06:54:44Z | 4d548baa0c9c634805964609e19ccf8f60127db6b8764d55ab0f19d2d278caae | [] | [
1337,
15357,
51,
17378,
51,
1766,
51,
15552,
51,
424,
119,
51,
5977,
51,
305,
44892,
64,
222,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
485,
15357,
51,
48400,
1042,
51,
1766,
51,
26... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
6034,
51,
8216,
64,
222,
485,
15357,
51,
48400,
1042,
51,
1766,
51,
26275,
51,
28637,
51,
8090,
51,
6034,
51,
17537,
5476,
64,
222,
485,
15357,
51,
48400,
1042,
51,
1766,
51,
26275,
51,
28637,
51,
8090,
51,
6034,
51,
17537,
35... | 9,088,586,293,020,081,000 | true | false | false | false | [
17378,
51,
1766,
51,
15552,
51,
424,
119,
51,
6034,
51,
2229,
87,
5466,
64,
222,
222,
1350,
222,
338,
7169,
2817,
391,
6604,
563,
341,
5783,
451,
341,
8117,
87,
6112,
51,
222,
338,
222,
338,
496,
2133,
32995,
472,
9134,
11290,
222... | 1,927,382,740,956,215,000 | true | .lambda.Literal;
import edu.cornell.cs.nlp.spf.mr.lambda.LogicalConstant;
import edu.cornell.cs.nlp.spf.mr.lambda.LogicalExpression;
import edu.cornell.cs.nlp.spf.parser.ccg.IOverloadedParseStep;
import edu.cornell.cs.nlp.spf.parser.ccg.IParseStep;
import edu.cornell.cs.nlp.spf.parser.ccg.model.parse.IParseFeatureSet;
... | ell.cs.nlp.spf.parser.ccg.IOverloadedParseStep;
import edu.cornell.cs.nlp.spf.parser.ccg.IParseStep;
import edu.cornell.cs.nlp.spf.parser.ccg.model.parse.IParseFeatureSet;
import edu.cornell.cs.nlp.spf.parser.ccg.shiftreduce.steps.AbstractShiftReduceStep;
import edu.uw.cs.lil.amr.lambda.AMRServices;
/**
* Simple feat... | nlp.spf.parser.ccg.model.parse.IParseFeatureSet;
import edu.cornell.cs.nlp.spf.parser.ccg.shiftreduce.steps.AbstractShiftReduceStep;
import edu.uw.cs.lil.amr.lambda.AMRServices;
/**
* Simple feature to trigger on the head of the AMR expression.
*
* @author Yoav Artzi
*
*/
public class ShiftHeadPredicateFeatureSet... | uw.cs.lil.amr.lambda.AMRServices;
/**
* Simple feature to trigger on the head of the AMR expression.
*
* @author Yoav Artzi
*
*/
public class ShiftHeadPredicateFeatureSet<DI extends IDataItem<?>>
implements IParseFeatureSet<DI, LogicalExpression> {
private static final String DEFAULT_TAG = "SEMHEAD";
priva... | serialVersionUID = 2255537024084940329L;
private final String tag;
public ShiftHeadPredicateFeatureSet(String tag) {
|
ReadyListener.java | /FileExtraction/Java_unseen/ib-ai_IB_ai/src/main/java/com/ibdiscord/listeners/ReadyListener.java | /* Copyright 2018-2020 Jarred Vardy <vardy@riseup.net>, Arraying
*
* This file is part of IB.ai.
*
* IB.ai is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | 5,785 | Java | .java | ib-ai/IB.ai | 20 | 17 | 6 | 2018-06-27T20:30:05Z | 2024-04-27T03:40:55Z | a5682aa6f3d22a8a7d1898cbb7c95f2fd668e708cfa4f9361c04e420b35a281e | [] | [
1127,
2657,
244,
55,
53,
54,
61,
50,
55,
53,
55,
53,
47387,
1116,
694,
723,
126,
350,
41638,
126,
69,
27423,
436,
51,
1317,
2731,
2647,
318,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
23528,
51,
3063,
51,
222,
338,
222,
338,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1401,
51,
1058,
51,
6699,
64,
222,
222,
942,
1175,
462,
30716,
2239,
2041,
29163,
4433,
320,
465,
1041,
294,
338,
5094,
341,
7369,
458,
15168,
641,
8768,
51,
294,
338,
496,
772,
1708,
906,
1708,
51,
294,
588,
303,
496,
1806,
303,
... | 7,897,600,187,780,162,000 | true | false | false | false | [
2561,
1508,
829,
4045,
2561,
1508,
458,
2483,
9485,
4429,
7369,
577,
49,
7369,
6456,
312,
343,
4101,
51,
1357,
459,
21482,
35465,
2172,
19228,
120,
4429,
19228,
2585,
312,
343,
4101,
51,
1357,
459,
16069,
3036,
641,
4045,
2561,
5991,
... | -35,794,893,042,253,830 | true | java.util.Objects;
public final class ReadyListener extends ListenerAdapter {
/**
* When the bot is marked as ready.
* @param event The event.
*/
@Override
public void onReady(ReadyEvent event) {
event.getJDA().retrieveApplicationInfo().queue(appInfo -> {
String botName... | event) {
event.getJDA().retrieveApplicationInfo().queue(appInfo -> {
String botName = appInfo.getName();
String botOwner = appInfo.getOwner().getName();
String botDescription = appInfo.getDescription();
boolean isPublicBot = appInfo.isBotPublic();
int... | getDescription();
boolean isPublicBot = appInfo.isBotPublic();
int guildNum = event.getJDA().getGuilds().size();
Logger logger = IBai.INSTANCE.getLogger();
logger.info("Bot \"{}\" by \"{}\" is now connected.", botName, botOwner);
logger.info("Currently serving... | {}\" by \"{}\" is now connected.", botName, botOwner);
logger.info("Currently serving {} guilds.", guildNum);
logger.info("Described as \"{}\", {}.", botDescription, (isPublicBot? "public" : "private"));
Gravity gravity = DataContainer.INSTANCE.getGravity();
for(Guild gui... | ExpiryData(guild.getId()));
for(String key : expiryData.getKeys()) {
long expiry = expiryData.get(key).asLong();
Punishment punishment = Punishment. |
IViewRow.java | /FileExtraction/Java_unseen/metasfresh_metasfresh-webui-api-legacy/src/main/java/de/metas/ui/web/view/IViewRow.java | package de.metas.ui.web.view;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.stream.Stream;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import de.metas.i18n.ITranslatableString;
import de.metas.... | 4,541 | Java | .java | metasfresh/metasfresh-webui-api-legacy | 30 | 32 | 244 | 2016-04-14T13:03:48Z | 2023-11-20T07:20:19Z | 35e515fba0872df77e01cf0212d604d7d92b3ea5908516ba4071d5c5a3a8708f | [] | [
1337,
428,
51,
34443,
51,
1726,
51,
1857,
51,
1090,
64,
222,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
69... | 4,037,493,347,880,535,000 | true | false | false | false | [
221,
1350,
376,
338,
7132,
2720,
1200,
1840,
1536,
51,
376,
338,
41720,
341,
2720,
1200,
1840,
1536,
44256,
451,
2221,
1200,
12016,
625,
480,
2720,
1200,
2502,
51,
376,
338,
7158,
2038,
904,
11887,
1532,
11658,
727,
664,
4632,
11309,
... | 1,807,669,269,984,823,300 | true | WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-2.0.html>.
... | this program. If not, see
* <http://www.gnu.org/licenses/gpl-2.0.html>.
* #L%
*/
public interface IViewRow
{
// Document info
// @formatter:off
DocumentId getId();
boolean isProcessed();
// @formatter:on
default IViewRowType getType()
{
return DefaultRowType.Row;
}
/**
* Gets row's document path.
... | // @formatter:off
DocumentId getId();
boolean isProcessed();
// @formatter:on
default IViewRowType getType()
{
return DefaultRowType.Row;
}
/**
* Gets row's document path.
* Usually the row's document path consist of view's WindowId and row's ID.
* But there are views which mix data from multiple wind... | /**
* Gets row's document path.
* Usually the row's document path consist of view's WindowId and row's ID.
* But there are views which mix data from multiple windows/tables and in that case this method will use row's actual WindowId instead of view's WindowId.
*
* @return row's document path
*/
DocumentPa... | /**
* @return a map with an entry for each of this row's fields.<br>
* Where the row has <code>null</code> values, the respective entry's value is {@link #NULL_JSON_ |
AmpMEItemFeaturePanel.java | /FileExtraction/Java_unseen/devgateway_amp/amp/WEB-INF/src/org/dgfoundation/amp/onepager/components/features/items/AmpMEItemFeaturePanel.java | /**
* Copyright (c) 2011 Development Gateway (www.developmentgateway.org)
*/
package org.dgfoundation.amp.onepager.components.features.items;
import java.util.HashSet;
import java.util.Set;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.behavior.AttributeAppender;
import org.apache.wicket... | 8,109 | Java | .java | devgateway/amp | 8 | 4 | 31 | 2015-11-10T23:22:20Z | 2024-05-09T09:02:32Z | c9a19956978fc081fbabd7a178d0bef2ae099abaaec690f891401161e76ad71b | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
54,
15606,
19405,
327,
1516,
51,
12194,
10419,
51,
1107,
46,
222,
588,
222,
1337,
1105,
51,
12592,
19076,
51,
778,
51,
677,
23591,
51,
3545,
51,
5977,
51,
3053,
64,
222,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
4249,
3686,
2041,
41499,
4249,
3686,
65,
12474,
3697,
67,
320,
36197,
1041,
294,
338,
496,
772,
828,
294,
338,
496,
772,
28922,
577,
294,
338,
496,
5124,
3284,
294,
588,
303,
581,
41499,
1043,
1114,
4249,
3686,
45,
671,
828,
49,
910... | 7,558,253,960,278,337,000 | true | false | false | false | [
18368,
51,
19717,
941,
24202,
365,
882,
762,
979,
18391,
51,
19717,
941,
24202,
941,
5475,
941,
23879,
18001,
882,
244,
53,
46,
343,
4873,
1241,
671,
299,
332,
449,
332,
494,
18391,
51,
19717,
941,
24202,
492,
2776,
1175,
9305,
18391,... | -3,121,046,641,198,878,000 | true | FeaturePanel extends AmpFeaturePanel<IndicatorActivity> {
/**
* @param id
* @param fmName
* @throws Exception
*/
public AmpMEItemFeaturePanel(String id, String fmName, final IModel<IndicatorActivity> conn,
IModel<AmpIndicator> indicator, final IModel<Set<AmpIndicatorValue>>... | IndicatorActivity> conn,
IModel<AmpIndicator> indicator, final IModel<Set<AmpIndicatorValue>> values){
super(id, fmName, true);
if (values.getObject() == null)
values.setObject(new HashSet<AmpIndicatorValue>());
final Label indicatorNameLabel = new Label... | Object(new HashSet<AmpIndicatorValue>());
final Label indicatorNameLabel = new Label("indicatorName", new PropertyModel<String>(indicator, "name"));
add(indicatorNameLabel);
String indCodeString = "";
if (indicator.getObject().getCode()!= null && indicator.getObject().getCode()... | indicator.getObject().getCode()!= null && indicator.getObject().getCode().trim().compareTo("")!= 0)
indCodeString = " - " + indicator.getObject().getCode();
final Label indicatorCodeLabel = new Label("indicatorCode", new Model<String>(indCodeString));
add(indicatorCodeLabel);
... | frame = new AmpCategorySelectFieldPanel("logframe", CategoryConstants.LOGFRAME_KEY, logFrameModel, "Logframe Category", true, true);
add(logframe);
} catch (Exception e) {
logger. |
SchemeTagger.java | /FileExtraction/Java_unseen/kevinkrouse_j/src/org/armedbear/j/mode/scheme/SchemeTagger.java | /*
* SchemeTagger.java
*
* Copyright (C) 1998-2002 Peter Graves
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version... | 3,467 | Java | .java | kevinkrouse/j | 10 | 2 | 0 | 2012-04-16T00:43:46Z | 2023-01-05T00:18:06Z | a4c76096b0d53521c99136e98c2e7d62aecf3532492bcb3ba134648151873a42 | [] | [
1127,
222,
338,
38329,
2649,
892,
51,
1874,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
61,
50,
55,
53,
53,
55,
37561,
8102,
7777,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 839 | [
2615,
45,
2683,
312,
303,
339,
465,
581,
782,
1441,
365,
303,
320,
310,
5068,
65,
3340,
2649,
67,
5957,
299,
556,
5068,
65,
3340,
2649,
2938,
310,
3423,
299,
556,
11943,
45,
2683,
51,
25628,
1829,
1046,
244,
53,
312,
310,
2421,
29... | -6,694,663,873,888,914,000 | true | false | false | false | [
3423,
51,
22998,
1829,
492,
419,
434,
327,
46584,
630,
762,
46,
547,
1644,
64,
419,
3423,
51,
23061,
45,
46584,
49,
244,
53,
312,
419,
4056,
64,
343,
339,
343,
434,
327,
104,
630,
42833,
704,
320,
419,
3423,
51,
5969,
17117,
492,
... | -8,305,548,836,067,965,000 | true | super(buffer);
}
public void run()
{
ArrayList<LocalTag> tags = new ArrayList<LocalTag>();
pos = new Position(buffer.getFirstLine(), 0);
token = null;
tokenStart = null;
int state = NEUTRAL;
while (!pos.atEnd()) {
char c = pos.getChar();
... | null;
int state = NEUTRAL;
while (!pos.atEnd()) {
char c = pos.getChar();
if (Character.isWhitespace(c)) {
pos.skipWhitespace();
continue;
}
if (c == '\\') {
// Escape.
if (pos.getOffset() < ... | }
if (c == '\\') {
// Escape.
if (pos.getOffset() < pos.getLineLength() - 1) {
pos.skip(2);
continue;
}
Line nextLine = pos.getNextLine();
if (nextLine == null)
break;... | pos.getNextLine();
if (nextLine == null)
break;
pos.moveTo(nextLine, 0);
continue;
}
if (c == '\"') {
pos.skipQuote();
continue;
}
if (c == ';') {
// Comme... | Mode.isIdentifierStart(c)) {
gatherToken();
if (state == DEFUN) {
LocalTag tag = new LispTag(token, tokenStart);
tags.add(tag);
state = NEUTR |
AdmissionManager.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/main/java/org/oscarehr/PMmodule/service/AdmissionManager.java | /**
*
* Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital, Toronto. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | 24,787 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | a3d205ad841ca802c9b0d7bd3a7adcbb419d428fb186ea3675f5804b4e07fc4f | [] | [
1350,
222,
338,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
50,
55,
53,
54,
55,
51,
15072,
287,
456,
18687,
563,
29323,
17145,
19256,
49,
1277,
51,
29099,
1200,
16563,
21069,
49,
25694,
8565,
51,
3381,
12902,
11921,
51,
222... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
2297,
51,
1184,
51,
1785,
1722,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
23349,
11576,
14166,
64,
222,
485,
1105,
51,
519,
12818,
3943,
51,
2297,
51,
1184,
51,
14090,
1785,
1722,
64,
222,
485,
1105,
51... | -7,041,126,774,211,791,000 | true | false | false | false | [
5425,
64,
222,
485,
1105,
51,
4140,
51,
6561,
51,
4341,
51,
23416,
64,
222,
222,
485,
28385,
301,
51,
769,
51,
1353,
1728,
64,
222,
222,
69,
23416,
222,
942,
462,
3604,
1722,
1590,
320,
499,
221,
2072,
3604,
1722,
8924,
27471,
64,... | 912,494,114,880,234,100 | true | .common.model.Admission;
import org.oscarehr.common.model.BedDemographic;
import org.oscarehr.common.model.JointAdmission;
import org.oscarehr.common.model.RoomDemographic;
import org.oscarehr.managers.BedManager;
import org.oscarehr.managers.BedDemographicManager;
import org.oscarehr.managers.RoomManager;
import org.o... | model.RoomDemographic;
import org.oscarehr.managers.BedManager;
import org.oscarehr.managers.BedDemographicManager;
import org.oscarehr.managers.RoomManager;
import org.oscarehr.managers.RoomDemographicManager;
import org.oscarehr.util.LoggedInInfo;
import org.oscarehr.util.SpringUtils;
import org.springframework.beans... | .oscarehr.managers.RoomDemographicManager;
import org.oscarehr.util.LoggedInInfo;
import org.oscarehr.util.SpringUtils;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.transaction.annotation.Transactional;
import oscar.log.LogAction;
@Transactional
public class AdmissionManage... | Required;
import org.springframework.transaction.annotation.Transactional;
import oscar.log.LogAction;
@Transactional
public class AdmissionManager {
private AdmissionDao dao;
private ProgramDao programDao;
private ProgramQueueDao programQueueDao;
private ClientReferralDAO clientReferralDAO;
private BedDemograp... | private ClientRestrictionManager clientRestrictionManager;
private RoomManager roomManager;
private BedManager bedManager;
private RoomDemographicManager roomDemographicManager;
public List<Admission> getAdmissions_archiveView( |
SessionForm.java | /FileExtraction/Java_unseen/intranda_goobi-workflow/src/main/java/de/sub/goobi/forms/SessionForm.java | package de.sub.goobi.forms;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.injec... | 15,988 | Java | .java | intranda/goobi-workflow | 52 | 25 | 2 | 2016-01-28T12:30:02Z | 2024-05-08T13:59:52Z | 74483599ca6a6d971a3c3470b18982e0417e9e2b4efea9a8aa96ccdebdc5001f | [] | [
1337,
428,
51,
1133,
51,
41608,
6539,
51,
8543,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
897,
51,
41033,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
17011,
1409,
4148,
563,
477,
4277,
51,
23245,
49,
341,
5974,
480,
5496,
222,
338,
451,
341,
6994,
6153,
5062,
1196,
6399,
341,
9859,
16619,
51,
2915,
331,
7472,
3773,
49,
341,
5550,
7649,
502,
451,
477,
4277,
7651,
863,
6504,
391,
2... | -8,030,977,859,108,837,000 | true | false | false | false | [
391,
764,
1278,
51,
1691,
863,
764,
666,
15873,
391,
764,
1278,
49,
3081,
477,
222,
338,
3773,
7627,
664,
1390,
1522,
51,
222,
338,
1676,
338,
15326,
1242,
48537,
6555,
1260,
9620,
5554,
18507,
103,
1461,
18507,
4044,
18571,
359,
629,... | -3,982,010,551,824,625,700 | true | combined work based on this library. Thus, the terms and conditions
* of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to
* link this library with independent modules to produce an executable, regardless of the license te... | to produce an executable, regardless of the license terms of these independent modules, and to copy and
* distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and
* conditions of the license of that module. An independent module is... | the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this
* library, you may extend this exception to your version of the library, but you are not obliged to do so. If you do not wish to do so, delete this
* exception statement from your vers... | to do so. If you do not wish to do so, delete this
* exception statement from your version.
*
* Die Klasse SessionForm für den überblick über die aktuell offenen Sessions
*
* @author Steffen Hankiewicz
* @author Maurice Mueller
* @version 1.00 - 16.01.2005
* @version 2.00 | - 03.05.2021
*/
@Log4j2
@Named("SessionForm")
@ApplicationScoped
public class SessionForm implements Serializable {
/**
* The version id for serializing |
TableBuilder.java | /FileExtraction/Java_unseen/tonihele_OpenKeeper/src/toniarts/openkeeper/gui/nifty/table/TableBuilder.java | /*
* Copyright (C) 2014-2015 OpenKeeper
*
* OpenKeeper is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OpenKeeper is distri... | 2,099 | Java | .java | tonihele/OpenKeeper | 424 | 41 | 72 | 2014-08-03T18:35:18Z | 2024-03-09T10:00:41Z | 32022869e8b909721b8da68a5f385feeb843f0ee76a2db7b5025340e0ad3a5fa | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
54,
58,
3944,
27345,
222,
338,
222,
338,
3944,
27345,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 495 | [
222,
485,
428,
51,
2290,
1134,
51,
115,
25315,
51,
4179,
51,
2436,
1812,
64,
222,
222,
1350,
222,
338,
7963,
456,
1877,
222,
338,
222,
338,
496,
2133,
413,
25615,
4025,
291,
3279,
350,
311,
1688,
3279,
51,
955,
110,
69,
7265,
51,
... | -6,104,082,072,153,939,000 | true | false | false | false | [
6521,
1359,
411,
5565,
2368,
1089,
6521,
51,
842,
51,
5175,
1052,
303,
339,
465,
581,
782,
2540,
3648,
45,
3242,
648,
2540,
3648,
46,
320,
310,
758,
459,
2784,
3648,
411,
910,
51,
9169,
45,
2784,
3648,
894,
303,
339,
465,
581,
782... | -2,601,574,355,906,059,300 | true |
import de.lessvoid.nifty.builder.ControlBuilder;
/**
* Builder for table
*
* @author Toni Helenius <helenius.toni@gmail.com>
*/
public class TableBuilder extends ControlBuilder {
public TableBuilder(final String id, final TableColumn... columns) {
super(id, "table");
// Add the columns
... | class TableBuilder extends ControlBuilder {
public TableBuilder(final String id, final TableColumn... columns) {
super(id, "table");
// Add the columns
set("colCount", String.valueOf(columns.length));
int i = 0;
for (TableColumn col : columns) {
set("col" + i, ... |
int i = 0;
for (TableColumn col : columns) {
set("col" + i, col.toString());
i++;
}
// Some default settings
set("horizontal", "off");
set("viewConverterClass", TableRowViewConverter.class.getName());
}
public void displayItems(final int... | ConverterClass", TableRowViewConverter.class.getName());
}
public void displayItems(final int displayItems) {
set("displayItems", String.valueOf(displayItems));
}
public void selectionModeSingle() {
set("selectionMode", "Single");
}
public void selectionModeMultiple() {
... | void showVerticalScrollbar() {
set("vertical", "on");
}
public void hideVerticalScrollbar() {
set("vertical", "off");
}
public void optionalVerticalScrollbar() {
set("vertical", "optional"); |
Hamburg.java | /FileExtraction/Java_unseen/texttechnologylab_GerParCor/Java/src/main/java/org/texttechnologylab/parliament/crawler/divisions/germany/Hamburg.java | package org.texttechnologylab.parliament.crawler.divisions.germany;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.texttechnologylab.utilities.helper.FileUtils;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.Atom... | 4,680 | Java | .java | texttechnologylab/GerParCor | 20 | 7 | 1 | 2022-01-13T16:54:26Z | 2024-03-15T00:38:39Z | 018f3c92d1561557a69c107cc084d5d780b394b5899b81d65197de8609fb09c9 | [] | [
1337,
1105,
51,
897,
19151,
4809,
51,
587,
46226,
51,
33407,
51,
526,
14726,
51,
892,
11412,
64,
222,
222,
485,
1105,
51,
773,
48610,
51,
79,
30567,
64,
222,
485,
1105,
51,
773,
48610,
51,
5484,
51,
3112,
64,
222,
485,
1105,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
48,
127,
1692,
86,
24814,
34369,
16384,
91,
6756,
60,
103,
52,
111,
58,
28244,
33509,
36869,
2844,
89,
3825,
73,
54,
19893,
62,
112,
54,
724,
31503,
1083,
3531,
65,
671,
49,
910,
67,
21006,
299,
556,
8329,
11530,
53,
312,
343,
210... | 8,356,423,789,464,586,000 | true | false | false | false | [
51,
716,
284,
8002,
25493,
50,
10441,
51,
305,
52,
587,
1400,
1273,
52,
105,
29030,
291,
43927,
1912,
10762,
11446,
120,
45,
1527,
566,
21304,
45,
21304,
566,
624,
45,
2155,
566,
1545,
492,
2125,
6222,
727,
3112,
299,
990,
30567,
51... | 507,951,615,967,826,050 | true | +zHEQMJMwqiVgz7b/j5UxGsZVDiTApD1nk9k1To=");
Map<String, String> cookies = new HashMap<>(0);
cookies.put("ASP.NET_SessionId", "0u05ocgjqa4h2kt1drpzlanl");
cookies.put("cookieokay", "true");
cookies.put("HASH_ASP.NET_SessionId", "6B54B4C4762559FB936CC1645AAE92CBEB63812E");... | _SessionId", "0u05ocgjqa4h2kt1drpzlanl");
cookies.put("cookieokay", "true");
cookies.put("HASH_ASP.NET_SessionId", "6B54B4C4762559FB936CC1645AAE92CBEB63812E");
try {
Document pDocument = Jsoup.connect("https://www.buergerschaft-hh.de/parldok/dokumentennummer").follow... | 4B4C4762559FB936CC1645AAE92CBEB63812E");
try {
Document pDocument = Jsoup.connect("https://www.buergerschaft-hh.de/parldok/dokumentennummer").followRedirects(true).cookies(cookies).data(params).post();
Document dataDocument = Jsoup.connect("https://www.buergerschaft-hh.de/p... | .buergerschaft-hh.de/parldok/dokumentennummer").followRedirects(true).cookies(cookies).data(params).post();
Document dataDocument = Jsoup.connect("https://www.buergerschaft-hh.de/parldok/dokumentennummer/1").cookies(cookies).data(params).followRedirects(true).get();
try {
... | }
catch (Exception e){
System.out.println(e.getMessage());
}
AtomicReference<String> sURI = new AtomicReference<>("");
AtomicReference<String> sName = new AtomicReference<>(""); |
SessionMap.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.sessiond/src/com/openexchange/sessiond/impl/util/SessionMap.java | /*
* @copyright Copyright (c) OX Software GmbH, Germany <info@open-xchange.com>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | 7,078 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | 75759e1fb690b402ce302b52244b16db3de909f4e3e5afef17e080d25ec284d1 | [] | [
1127,
222,
338,
496,
11793,
2657,
327,
104,
46,
565,
93,
3870,
34723,
49,
44851,
350,
1357,
69,
1693,
50,
125,
2357,
51,
527,
67,
222,
338,
496,
2094,
418,
21156,
50,
56,
51,
53,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
32963,
1225,
51,
911,
492,
303,
339,
465,
453,
6549,
12117,
465,
1041,
294,
338,
17269,
456,
20822,
451,
331,
3541,
5764,
642,
2716,
3541,
7262,
51,
294,
338,
294,
338,
496,
772,
32963,
906,
3541,
7262,
294,
338,
496,
620,
350,
707,... | 1,232,886,711,503,642,600 | true | false | false | false | [
45,
3242,
910,
3390,
625,
46,
320,
310,
461,
15541,
625,
1225,
51,
15927,
45,
3853,
625,
312,
303,
339,
465,
453,
6549,
12117,
465,
1041,
294,
338,
7132,
341,
3541,
5764,
642,
3205,
3541,
7262,
51,
294,
338,
294,
338,
496,
772,
32... | 8,350,765,490,435,697,000 | true | sessionIdMap.size();
}
// -------------------------------------------------------------------------------
/**
* Checks for presence of a session associated with given session identifier.
*
* @param sessionId The session identifier
* @return <code>true</code> if such a session is prese... | a session is present; otherwise <code>false</code>
*/
public boolean containsBySessionId(final String sessionId) {
return sessionIdMap.containsKey(sessionId);
}
/**
* Checks for presence of a session associated with given alternative identifier.
*
* @param altId The alternative... | given alternative identifier.
*
* @param altId The alternative identifier
* @return <code>true</code> if such a session is present; otherwise <code>false</code>
*/
public boolean containsByAlternativeId(final String altId) {
return alternativeIdMap.containsKey(altId);
}
// ----... | (final String altId) {
return alternativeIdMap.containsKey(altId);
}
// -------------------------------------------------------------------------------
/**
* Gets the session associated with specified session identifier.
*
* @param sessionId The session identifier
* @return The... | .
*
* @param altId The alternative identifier
* @return The associated session or <code>null</code> if absent
*/
public S getByAlternativeId(final String altId) {
return alternativeIdMap. |
PhoneNumberBlockedEntity.java | /FileExtraction/Java_unseen/sergio11_bullkeeper_app/domain/src/main/java/sanchez/sanchez/sergio/domain/models/PhoneNumberBlockedEntity.java | package sanchez.sanchez.sergio.domain.models;
import java.io.Serializable;
import java.util.Date;
/**
* Phone Number Blocked Entity
*/
public final class PhoneNumberBlockedEntity implements Serializable {
/**
* Identity
*/
private String identity;
/**
* Blocked At
*/
private Da... | 2,876 | Java | .java | sergio11/bullkeeper_app | 10 | 1 | 6 | 2018-06-01T17:53:24Z | 2024-03-08T20:42:23Z | 9e3c877ec8e27832f979b6fb2225f0bb1b1293051bf388ad766cd45b1d7982c3 | [] | [
1337,
24069,
1075,
127,
51,
17813,
1075,
127,
51,
528,
30323,
51,
4136,
51,
3404,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
222,
1350,
222,
338,
18989,
5132,
6579,
337,
7276,
222... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 611 | [
303,
964,
910,
43859,
64,
465,
1041,
294,
338,
21796,
294,
588,
303,
964,
910,
10733,
64,
465,
1041,
294,
338,
1242,
333,
294,
588,
303,
964,
910,
45682,
64,
465,
1041,
294,
338,
294,
588,
303,
581,
18989,
1936,
33111,
2234,
47421,
... | -1,052,034,533,792,264,400 | true | false | false | false | [
2188,
299,
1470,
64,
310,
477,
51,
29860,
299,
43859,
64,
310,
477,
51,
16908,
299,
10733,
64,
310,
477,
51,
35889,
299,
45682,
64,
303,
339,
465,
581,
910,
640,
6741,
365,
320,
310,
461,
10645,
64,
303,
339,
465,
581,
782,
758,
... | 6,148,712,646,114,876,000 | true |
private String phoneNumber;
/**
* Terminal
*/
private String terminal;
/**
* Kid
*/
private String kid;
/**
*
*/
public PhoneNumberBlockedEntity(){}
/**
*
* @param identity
* @param blockedAt
* @param prefix
* @param number
... | param identity
* @param blockedAt
* @param prefix
* @param number
* @param phoneNumber
* @param terminal
* @param kid
*/
public PhoneNumberBlockedEntity(final String identity, final Date blockedAt, final String prefix,
final String number, final... | , final String prefix,
final String number, final String phoneNumber, final String terminal,
final String kid) {
this.identity = identity;
this.blockedAt = blockedAt;
this.prefix = prefix;
this.number = number;
... | number = number;
this.phoneNumber = phoneNumber;
this.terminal = terminal;
this.kid = kid;
}
public String getIdentity() {
return identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public Date getBlockedAt() {
ret... | getPrefix() {
return prefix;
}
public void setPrefix(String prefix) {
this.prefix = prefix;
}
public String getNumber() {
return number;
}
public void setNumber(String number |
ImageHelper.java | /FileExtraction/Java_unseen/mdsecresearch_BurpSuiteSharpener/src/main/java/com/irsdl/generic/ImageHelper.java | // Released under AGPL see LICENSE for more information
// Developed by Soroush Dalili (@irsdl)
package com.irsdl.generic;
import javax.swing.*;
import java.awt.*;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.a... | 4,833 | Java | .java | mdsecresearch/BurpSuiteSharpener | 507 | 46 | 24 | 2021-01-07T15:34:57Z | 2023-06-05T08:39:05Z | 980fca2b9864b42267e92adffd3acdb4d5deaf46d06aedceec62a57405e8df98 | [] | [
325,
48926,
1549,
418,
21156,
2337,
7621,
456,
1851,
2490,
222,
325,
43572,
337,
829,
377,
25046,
1391,
493,
298,
5711,
11933,
495,
18688,
46,
222,
222,
1337,
785,
51,
495,
18688,
51,
9957,
64,
222,
222,
485,
3698,
51,
5934,
7737,
2... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
581,
924,
4393,
5271,
1675,
724,
2627,
55,
45,
17640,
1675,
1802,
49,
648,
1882,
46,
320,
310,
434,
327,
915,
630,
762,
46,
343,
461,
762,
64,
603,
648,
2401,
299,
327,
429,
46,
327,
5728,
51,
9157,
1181,
915,
51,
22361,
365,
33... | 6,461,646,979,500,083,000 | true | false | false | false | [
339,
465,
581,
924,
44182,
2480,
1675,
2305,
45,
1359,
1553,
1392,
49,
910,
18030,
46,
320,
310,
3846,
1802,
2427,
4370,
299,
762,
64,
603,
434,
1445,
14735,
51,
13907,
4229,
2152,
320,
343,
1802,
2427,
4370,
299,
1553,
1392,
51,
17... | -27,997,685,473,705,904 | true | public static Image scaleImageToWidth2(BufferedImage image, int width) {
if (image == null)
return null;
int height = (int) (Math.floor((image.getHeight() * width) / (double) image.getWidth()));
BufferedImage resizedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RG... | ) image.getWidth()));
BufferedImage resizedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
Graphics2D graphics2D = resizedImage.createGraphics();
graphics2D.drawImage(image, 0, 0, width, height, null);
graphics2D.dispose();
return resizedImage;
}
pu... | , 0, width, height, null);
graphics2D.dispose();
return resizedImage;
}
public static BufferedImage loadImageResource(String filename) {
return loadImageResource(UIHelper.class, filename);
}
public static BufferedImage loadImageResource(Class claz, String filePath) {
UR... | }
public static BufferedImage loadImageResource(Class claz, String filePath) {
URL imageURLMain = null;
if (!filePath.startsWith("/")) {
imageURLMain = claz.getResource("/" + filePath);
}
if (imageURLMain == null) {
imageURLMain = claz.getResource(filePath... | Icon originalIcon = new ImageIcon(original);
BufferedImage bufferedImage = new BufferedImage(originalIcon.getIconWidth(), originalIcon.getIconHeight(), BufferedImage.TYPE_INT_ARGB);
Graphics2D g = (Graphics2D |
CommandThug.java | /FileExtraction/Java_unseen/Ph1Lou_WereWolfPlugin/src/main/java/fr/ph1lou/werewolfplugin/commands/roles/neutral/thug/CommandThug.java | package fr.ph1lou.werewolfplugin.commands.roles.neutral.thug;
import fr.ph1lou.werewolfapi.annotations.RoleCommand;
import fr.ph1lou.werewolfapi.basekeys.Prefix;
import fr.ph1lou.werewolfapi.basekeys.RoleBase;
import fr.ph1lou.werewolfapi.commands.ICommandRole;
import fr.ph1lou.werewolfapi.enums.StatePlayer;
import fr... | 2,607 | Java | .java | Ph1Lou/WereWolfPlugin | 21 | 14 | 1 | 2020-02-22T11:52:53Z | 2024-03-16T20:41:09Z | 9f37309318b6ae975864061e6cb71e71bc3355015bac00ce67d04fe4c442de5c | [] | [
1337,
4953,
51,
853,
54,
335,
122,
51,
4533,
412,
24599,
2809,
51,
7626,
51,
9716,
51,
14662,
51,
368,
905,
64,
222,
222,
485,
4953,
51,
853,
54,
335,
122,
51,
4533,
412,
24599,
1256,
51,
8839,
51,
4555,
2037,
64,
222,
485,
4953... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 802 | [
3857,
51,
11204,
51,
2046,
1842,
18872,
64,
222,
485,
4953,
51,
853,
54,
335,
122,
51,
4533,
412,
24599,
1256,
51,
3857,
51,
2324,
51,
8748,
64,
222,
485,
4953,
51,
853,
54,
335,
122,
51,
4533,
412,
24599,
1256,
51,
4315,
51,
11... | 7,594,164,945,313,312,000 | true | false | false | false | [
49,
310,
1657,
14847,
299,
244,
54,
49,
310,
2147,
6790,
299,
878,
46,
222,
942,
462,
5730,
1047,
905,
4584,
37608,
4555,
320,
465,
496,
1806,
303,
581,
782,
5755,
45,
92,
767,
92,
24599,
2571,
4204,
49,
457,
3516,
18872,
4376,
18... | 7,318,085,495,870,163,000 | true | player.interfaces.IPlayerWW;
import fr.ph1lou.werewolfapi.player.utils.Formatter;
import fr.ph1lou.werewolfapi.role.interfaces.IAffectedPlayers;
import fr.ph1lou.werewolfapi.role.interfaces.IPower;
import fr.ph1lou.werewolfapi.role.interfaces.IRole;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import jav... | ;
import fr.ph1lou.werewolfapi.role.interfaces.IPower;
import fr.ph1lou.werewolfapi.role.interfaces.IRole;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.util.UUID;
@RoleCommand(key = "werewolf.roles.thug.command",
roleKeys = RoleBase.THUG,
argNumbers = 1,
requiredPower... | kkit;
import org.bukkit.entity.Player;
import java.util.UUID;
@RoleCommand(key = "werewolf.roles.thug.command",
roleKeys = RoleBase.THUG,
argNumbers = 1,
requiredPower = true)
public class CommandThug implements ICommandRole {
@Override
public void execute(WereWolfAPI game, IPlayerWW ... | ,
argNumbers = 1,
requiredPower = true)
public class CommandThug implements ICommandRole {
@Override
public void execute(WereWolfAPI game, IPlayerWW playerWW, String[] args) {
IRole thug = playerWW.getRole();
Player playerArg = Bukkit.getPlayer(args[0]);
if (playerArg... | olf.check.offline_player");
return;
}
UUID argUUID = playerArg.getUniqueId();
IPlayerWW playerWW1 = game.getPlayerWW(argUUID).orElse(null);
if (playerWW1 |
Messages.java | /FileExtraction/Java_unseen/AlessioDP_LastLoginAPI/common/src/main/java/com/alessiodp/lastloginapi/common/configuration/data/Messages.java | package com.alessiodp.lastloginapi.common.configuration.data;
import com.alessiodp.core.common.configuration.ConfigOption;
import com.alessiodp.core.common.configuration.ConfigurationFile;
import com.alessiodp.lastloginapi.common.LastLoginPlugin;
import java.util.List;
public abstract class Messages extends Configur... | 3,084 | Java | .java | AlessioDP/LastLoginAPI | 11 | 1 | 6 | 2019-04-08T21:17:12Z | 2023-03-27T04:59:34Z | d5a060c3fa867c4adba6a43aed0f119c7ab9cc0e054530cee4fbf8505b6cba5c | [] | [
1337,
785,
51,
1572,
441,
3571,
117,
51,
2153,
3632,
1256,
51,
2297,
51,
5990,
51,
624,
64,
222,
222,
485,
785,
51,
1572,
441,
3571,
117,
51,
1284,
51,
2297,
51,
5990,
51,
1081,
2846,
64,
222,
485,
785,
51,
1572,
441,
3571,
117,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 927 | [
2846,
45,
1005,
299,
332,
2153,
3632,
1256,
51,
1896,
50,
7249,
678,
222,
221,
942,
924,
910,
14325,
2571,
100,
8760,
25390,
64,
222,
221,
69,
1081,
2846,
45,
1005,
299,
332,
2153,
3632,
1256,
51,
5990,
50,
560,
2599,
678,
222,
22... | 8,152,434,412,425,729,000 | true | false | false | false | [
100,
6196,
632,
5703,
64,
3038,
221,
69,
1081,
2846,
45,
1005,
299,
332,
2153,
3632,
1256,
51,
8147,
51,
19696,
50,
1454,
678,
222,
221,
942,
924,
910,
14325,
2571,
100,
3692,
43161,
100,
46764,
9570,
64,
222,
221,
69,
1081,
2846,
... | 472,417,535,315,906,800 | true | Option(path = "lastloginapi.update-available")
public static String LLAPI_UPDATEAVAILABLE;
@ConfigOption(path = "lastloginapi.configuration-outdated")
public static String LLAPI_CONFIGURATION_OUTDATED;
@ConfigOption(path = "lastloginapi.no-permission")
public static String LLAPI_NOPERMISSION;
@ConfigOption(path... | CONFIGURATION_OUTDATED;
@ConfigOption(path = "lastloginapi.no-permission")
public static String LLAPI_NOPERMISSION;
@ConfigOption(path = "lastloginapi.common-messages.invalid-command")
public static String LLAPI_COMMON_INVALIDCMD;
@ConfigOption(path = "lastloginapi.common-messages.configuration-reloaded")
publi... | messages.invalid-command")
public static String LLAPI_COMMON_INVALIDCMD;
@ConfigOption(path = "lastloginapi.common-messages.configuration-reloaded")
public static String LLAPI_COMMON_CONFIGRELOAD;
@ConfigOption(path = "lastloginapi.syntax.wrong-message")
public static String LLAPI_SYNTAX_WRONGMESSAGE;
@ConfigOp... | _CONFIGRELOAD;
@ConfigOption(path = "lastloginapi.syntax.wrong-message")
public static String LLAPI_SYNTAX_WRONGMESSAGE;
@ConfigOption(path = "lastloginapi.syntax.player")
public static String LLAPI_SYNTAX_PLAYER;
@ConfigOption(path = "lastloginapi.syntax.unknown")
public static String LLAPI_SYNTAX_UNKNOWN;
... | // Commands messages
@ConfigOption(path = "commands.info.header")
public static String CMD_INFO_HEADER;
@ConfigOption(path = "commands.info.text")
public static List< |
ChatMessageTest.java | /FileExtraction/Java_unseen/V0G3L_treff_/client/app/src/test/java/org/pispeb/treffpunkt/client/data/entities/ChatMessageTest.java | package org.pispeb.treffpunkt.client.data.entities;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by matth on 11.03.2018.
*/
public class ChatMessageTest extends AbstractEntityTest{
protected ChatMessage message2 =
new ChatMessage(ids[0], messageStrings[0], ids[1], names[0... | 2,515 | Java | .java | V0G3L/treff. | 9 | 0 | 0 | 2017-11-03T12:43:57Z | 2018-09-26T00:05:48Z | a36ca12b14f8ac1c913dd7bd01089dcf018debbc6ecfadef6eafdb2c888375d9 | [] | [
1337,
1105,
51,
29781,
367,
103,
51,
5325,
505,
117,
32293,
51,
1598,
51,
624,
51,
9259,
64,
222,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
3285,
7737,
222,
222,
1350,
222,
338,
6956,
829,
2... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 604 | [
1492,
56,
299,
343,
556,
16083,
1193,
45,
3653,
96,
53,
636,
1492,
9634,
96,
53,
636,
9673,
96,
54,
636,
4492,
96,
53,
636,
2361,
54,
312,
465,
496,
1024,
303,
581,
782,
40451,
625,
365,
2589,
3284,
320,
310,
3803,
45,
53,
49,
... | 5,421,733,108,956,228,000 | true | false | false | false | [
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
36828,
365,
2589,
3284,
320,
310,
3803,
459,
36013,
335,
411,
1492,
54,
51,
16618,
1052,
303,
339,
465,
496,
1024,
303,
581,
782,
758,
1795,
365,
2589,
3284,
320,
310,
1492,
55,
51,
2... | -8,585,870,776,247,804,000 | true | message3 =
new ChatMessage(ids[0], messageStrings[0], ids[1], names[0], date1);
@Test
public void getMessageId() throws Exception {
assertEquals(0, message1.getMessageId());
}
@Test
public void setMessageId() throws Exception {
message2.setMessageId(1);
assertE... | ());
}
@Test
public void setMessageId() throws Exception {
message2.setMessageId(1);
assertEquals(1, message2.getMessageId());
}
@Test
public void getGroupId() throws Exception {
assertEquals(69, message1.getGroupId());
}
@Test
public void setGroupId() thro... | assertEquals(69, message1.getGroupId());
}
@Test
public void setGroupId() throws Exception {
message2.setGroupId(9997);
assertEquals(9997, message2.getGroupId());
}
@Test
public void getContent() throws Exception {
assertEquals("Hallo", message1.getContent());
}
... | ());
}
@Test
public void getContent() throws Exception {
assertEquals("Hallo", message1.getContent());
}
@Test
public void setContent() throws Exception {
message2.setContent("NEIN");
//Getter is already tested
assertEquals("NEIN", message2.getContent());
}
... | () throws Exception {
message2.setUserId(99143);
assertEquals(99143, message2.getUserId());
}
@Test
public void getUsername() throws Exception {
assertEquals("Hans |
BaseSetOperateOnDiffActionTest.java | /FileExtraction/Java_unseen/uyuni-project_uyuni/java/code/src/com/redhat/rhn/frontend/action/common/test/BaseSetOperateOnDiffActionTest.java | /*
* Copyright (c) 2009--2012 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have recei... | 3,121 | Java | .java | uyuni-project/uyuni | 398 | 165 | 434 | 2018-08-02T12:31:20Z | 2024-05-09T07:43:52Z | ca4a0493f78cbc19d058e8c5846a8678de5f21f703ba00175dc0682b19c4c46a | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
306,
55,
53,
54,
55,
4777,
30044,
49,
6367,
51,
222,
338,
222,
338,
1369,
2951,
458,
14391,
391,
863,
1549,
341,
6994,
6153,
5062,
1196,
49,
222,
338,
1522,
244,
55,
327,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 814 | [
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
1805,
51,
881,
51,
2077,
2232,
1024,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
1977,
51,
17576,
971,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
197... | 2,894,525,660,302,095,400 | true | false | false | false | [
12704,
51,
4280,
51,
87,
12704,
3176,
3672,
2026,
16566,
7246,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4280,
51,
32384,
64,
222,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
1024,
64,
222,
222,
1350,
222,
338,
3787... | 4,641,814,293,964,482,000 | true | com.redhat.rhn.domain.server.test.ServerFactoryTest;
import com.redhat.rhn.domain.token.ActivationKey;
import com.redhat.rhn.domain.token.ActivationKeyFactory;
import com.redhat.rhn.domain.token.test.ActivationKeyTest;
import com.redhat.rhn.frontend.action.kickstart.ActivationKeysSubmitAction;
import com.redhat.rhn.fr... |
import com.redhat.rhn.domain.token.test.ActivationKeyTest;
import com.redhat.rhn.frontend.action.kickstart.ActivationKeysSubmitAction;
import com.redhat.rhn.frontend.struts.RequestContext;
import com.redhat.rhn.frontend.taglibs.ListDisplayTag;
import com.redhat.rhn.manager.rhnset.RhnSetDecl;
import com.redhat.rhn.test... | .struts.RequestContext;
import com.redhat.rhn.frontend.taglibs.ListDisplayTag;
import com.redhat.rhn.manager.rhnset.RhnSetDecl;
import com.redhat.rhn.testing.RhnPostMockStrutsTestCase;
import com.redhat.rhn.testing.TestUtils;
import org.junit.jupiter.api.Test;
/**
* BaseSetOperateOnDiffActionTest
*/
public class Ba... | hn.testing.RhnPostMockStrutsTestCase;
import com.redhat.rhn.testing.TestUtils;
import org.junit.jupiter.api.Test;
/**
* BaseSetOperateOnDiffActionTest
*/
public class BaseSetOperateOnDiffActionTest extends RhnPostMockStrutsTestCase {
// We use activation keys <-> to kickstart profile to test this.
// I wan... | test class that was tied
// to this baseclass since its complex and needs tests geared towards
// it.
@Test
public void testSelectAll() throws Exception {
KickstartData ksdata = KickstartDataTest |
Coordinate.java | /FileExtraction/Java_unseen/Exopandora_WorldHandler/src/main/java/exopandora/worldhandler/builder/argument/Coordinate.java | package exopandora.worldhandler.builder.argument;
import javax.annotation.Nullable;
import com.mojang.brigadier.StringReader;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import net.minecraft.commands.arguments.coordinates.LocalCoordinates;
import net.minecraft.commands.arguments.coordinates.WorldC... | 3,297 | Java | .java | Exopandora/WorldHandler | 10 | 7 | 0 | 2016-04-27T21:57:57Z | 2024-05-08T17:07:15Z | 6d7064bd859980640cdf847e5ea8c46d6edd5edce2d70546243e8ac3598b868d | [] | [
1337,
557,
539,
382,
7298,
51,
5879,
4543,
51,
4179,
51,
2686,
64,
222,
222,
485,
3698,
51,
4341,
51,
6825,
64,
222,
222,
485,
785,
51,
25290,
761,
51,
103,
867,
358,
2506,
51,
671,
3314,
64,
222,
485,
785,
51,
25290,
761,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
3591,
45,
597,
51,
700,
509,
376,
221,
128,
374,
221,
620,
477,
51,
700,
51,
390,
5429,
492,
376,
221,
130,
4102,
221,
620,
477,
51,
700,
51,
390,
5429,
365,
494,
477,
51,
872,
51,
3127,
492,
222,
221,
130,
3038,
221,
942,... | -1,983,292,205,312,592,400 | true | false | false | false | [
847,
46,
376,
221,
128,
374,
221,
5282,
45,
872,
49,
847,
312,
376,
221,
130,
4102,
221,
69,
1806,
376,
221,
942,
4418,
5953,
365,
376,
221,
128,
374,
221,
620,
244,
53,
64,
376,
221,
130,
4102,
221,
69,
6825,
376,
221,
942,
9... | 8,306,418,758,696,097,000 | true | .equals(this.type))
{
return this.type.getPrefix();
}
return this.type.getPrefix() + this.value.toString();
}
public abstract T zero();
public static class Ints extends Coordinate<Integer>
{
public static final Ints ZERO = new Ints();
public Ints()
{
super(0);
}
public Ints(Intege... |
public static class Ints extends Coordinate<Integer>
{
public static final Ints ZERO = new Ints();
public Ints()
{
super(0);
}
public Ints(Integer value)
{
super(value);
}
public Ints(Type type)
{
super(0, type);
}
public Ints(Integer value, Type type)
{
super(value,... | ts(Integer value)
{
super(value);
}
public Ints(Type type)
{
super(0, type);
}
public Ints(Integer value, Type type)
{
super(value, type);
}
@Override
public Integer zero()
{
return 0;
}
@Nullable
public static Ints parse(String string)
{
try
{
StringReade... | type)
{
super(value, type);
}
@Override
public Integer zero()
{
return 0;
}
@Nullable
public static Ints parse(String string)
{
try
{
StringReader reader = new StringReader(string);
if(reader.canRead() && reader.peek() == '^')
{
return new Coordinate. | Ints((int) LocalCoordinates.readDouble(reader, 0), Coordinate.Type.LOCAL);
}
else
{
WorldCoordinate wc = WorldCoordinate.parseInt(reader);
return new Coordinate.Ints |
BuoniOrdineVO.java | /FileExtraction/Java_unseen/IstitutoCentraleCatalogoUnicoBiblio_SBNWeb-Open/SbnWebCommon/src/vo/it/iccu/sbn/ejb/vo/acquisizioni/BuoniOrdineVO.java | /*******************************************************************************
* Copyright (C) 2019 ICCU - Istituto Centrale per il Catalogo Unico
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Sof... | 6,411 | Java | .java | IstitutoCentraleCatalogoUnicoBiblio/SBNWeb-Open | 9 | 7 | 0 | 2019-03-11T09:49:50Z | 2023-07-04T11:46:55Z | 77c3220fb0428fab86b384365dba897d2e3d1d0a0ea62518c0b381f7b88b0557 | [] | [
28683,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
457,
2218,
90,
449,
457,
289,
302,
1318,
15072,
119,
1572,
1313,
6245,
25257,
116,
1703,
5701,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
48... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
338,
1676,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222... | 6,637,678,176,777,887,000 | true | false | false | false | [
445,
13131,
51,
2297,
51,
2026,
19770,
5684,
8989,
64,
222,
485,
580,
51,
314,
9816,
51,
5692,
115,
51,
106,
11663,
51,
2103,
51,
348,
9362,
445,
13131,
51,
2297,
51,
2026,
19770,
5684,
89,
42618,
64,
222,
222,
485,
1401,
51,
2622... | -7,920,369,313,284,549,000 | true | *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero Genera... | more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
package it.iccu.sbn.ejb.vo.acquisizioni;
import it.iccu.sbn.ejb.vo.Seri... | .sbn.ejb.vo.acquisizioni;
import it.iccu.sbn.ejb.vo.SerializableVO;
import it.iccu.sbn.ejb.vo.acquisizioni.common.StrutturaCombo;
import it.iccu.sbn.ejb.vo.acquisizioni.common.StrutturaTerna;
import java.sql.Timestamp;
import java.util.List;
public class BuoniOrdineVO extends SerializableVO {
/**
*
*/
private ... | izioni.common.StrutturaCombo;
import it.iccu.sbn.ejb.vo.acquisizioni.common.StrutturaTerna;
import java.sql.Timestamp;
import java.util.List;
public class BuoniOrdineVO extends SerializableVO {
/**
*
*/
private static final long serialVersionUID = 7042482317707366 | 879L;
private String ticket;
private Integer progressivo=0;
private String utente;
private String codPolo;
private int IDBuonoOrd;
private int IDB |
SimpleTransactionIdSupplierTests.java | /FileExtraction/Java_unseen/SolarNetwork_nifty-modbus/tcp/src/test/java/net/solarnetwork/io/modbus/tcp/test/SimpleTransactionIdSupplierTests.java | /* ==================================================================
* SimpleTransactionIdSupplierTests.java - 29/11/2022 2:14:19 pm
*
* Copyright 2022 SolarNetwork.net Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* p... | 4,847 | Java | .java | SolarNetwork/nifty-modbus | 24 | 4 | 0 | 2022-11-28T05:50:48Z | 2024-04-24T20:08:47Z | 6b50e0b83118122ee936bf1327bb528e8b756d076e8f01aff5a48a3bdc8b8003 | [] | [
1127,
12058,
66,
222,
338,
7169,
4331,
625,
17612,
4485,
51,
1874,
449,
244,
55,
62,
52,
54,
54,
52,
55,
53,
55,
55,
244,
55,
63,
54,
57,
63,
54,
62,
15705,
222,
338,
222,
338,
2657,
244,
55,
53,
55,
55,
18764,
301,
4723,
51... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
30404,
642,
3105,
707,
496,
2305,
4645,
130,
391,
1409,
642,
341,
924,
222,
338,
7035,
4824,
3105,
1222,
7169,
4331,
625,
17612,
4037,
222,
338,
594,
117,
67,
222,
338,
222,
338,
496,
2133,
2525,
121,
222,
338,
496,
1687,
244,
54,
... | -5,480,925,620,641,860,000 | true | false | false | false | [
625,
1046,
458,
45,
38066,
45,
54,
4254,
222,
221,
130,
499,
221,
69,
1024,
222,
221,
942,
782,
1950,
625,
5131,
7334,
365,
320,
376,
221,
17427,
459,
5131,
5672,
1950,
2502,
458,
244,
54,
411,
39948,
51,
38984,
1438,
1046,
458,
4... | 2,148,763,684,411,985,000 | true | annotated with {@code @ResourceLock} to work with the static
* counter within {@link SimpleTransactionIdSupplier}.
* </p>
*
* @author matt
* @version 1.0
*/
@ResourceLock(value = "net.solarnetwork.io.modbus.tcp.SimpleTransactionIdSupplier")
public class SimpleTransactionIdSupplierTests {
private static final L... | Lock(value = "net.solarnetwork.io.modbus.tcp.SimpleTransactionIdSupplier")
public class SimpleTransactionIdSupplierTests {
private static final Logger log = LoggerFactory.getLogger(SimpleTransactionIdSupplierTests.class);
@BeforeEach
public void setup() {
INSTANCE.reset();
}
@Test
public void lastIdAfterRese... | );
@BeforeEach
public void setup() {
INSTANCE.reset();
}
@Test
public void lastIdAfterReset() {
assertThat("After reset next ID is 1", INSTANCE.nextId(), is(equalTo(1)));
}
@Test
public void firstIdAfterReset() {
assertThat("After reset first ID is 1", INSTANCE.getAsInt(), is(equalTo(1)));
}
@Test
... | Id(), is(equalTo(1)));
}
@Test
public void firstIdAfterReset() {
assertThat("After reset first ID is 1", INSTANCE.getAsInt(), is(equalTo(1)));
}
@Test
public void idsIncrement() {
int next = INSTANCE.nextId();
for ( int i = 0; i < 10; i++ ) {
assertThat(String.format | ("ID %d incremented", i), INSTANCE.getAsInt(), is(equalTo(next++)));
}
}
@Test
public void idsWrap() {
INSTANCE.set(TcpModbusMessage. |
ExportProvider.java | /FileExtraction/Java_unseen/felixb_callmeter/CallMeter3G/src/main/java/de/ub0r/android/callmeter/data/ExportProvider.java | package de.ub0r.android.callmeter.data;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
import android.os.Environment;
import an... | 6,591 | Java | .java | felixb/callmeter | 48 | 39 | 36 | 2013-10-23T06:08:13Z | 2020-08-13T17:26:11Z | f8ed8f7b12d79c82a4d92ab76ddc4642f1c05e68ac5b88ec8ea364c721955b5a | [] | [
1337,
428,
51,
375,
53,
119,
51,
4048,
51,
1872,
12354,
51,
624,
64,
222,
222,
485,
2616,
51,
1304,
51,
1795,
2588,
64,
222,
485,
2616,
51,
1304,
51,
1795,
3367,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
53,
119,
51,
4048,
51,
1872,
12354,
51,
624,
64,
222,
222,
485,
2616,
51,
1304,
51,
1795,
2588,
64,
222,
485,
2616,
51,
1304,
51,
1795,
3367,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
5729,
11947,... | -1,221,484,587,706,763,500 | true | false | false | false | [
6261,
2588,
320,
465,
1041,
294,
338,
9147,
456,
1716,
51,
294,
588,
303,
964,
924,
1175,
910,
19318,
299,
332,
6171,
2588,
884,
465,
1041,
294,
338,
6265,
562,
51,
294,
588,
303,
581,
924,
1175,
910,
10761,
21811,
299,
2426,
2588,
... | -5,927,766,842,547,125,000 | true | 0r.android.callmeter.data;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
import android.os.Environment;
import android.os.Parc... | database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
import android.os.Environment;
import android.os.ParcelFileDescriptor;
import android.provider.OpenableColumns;
import android.support.annotation.NonNull;
import java.io.File;
import java.io.FileNotFoundException;
import de.ub0r.android.lo... | android.support.annotation.NonNull;
import java.io.File;
import java.io.FileNotFoundException;
import de.ub0r.android.logg0r.Log;
public class ExportProvider extends ContentProvider {
/**
* Tag for output.
*/
private static final String TAG = "ExportProvider";
/**
* Authority.
*/
... | ContentProvider {
/**
* Tag for output.
*/
private static final String TAG = "ExportProvider";
/**
* Authority.
*/
public static final String AUTHORITY = DataProvider.PACKAGE + ".export";
/**
* Mime type for export.
*/
public static final String EXPORT_MIMETYPE ... | EXPORT_RULESET_URI = Uri.parse("content://" + AUTHORITY + "/ruleset");
/**
* {@link Uri} for export Content.
*/
public static final Uri EXPORT_LOGS_URI = Uri |
Data.java | /FileExtraction/Java_unseen/link-it_govway/core/src/org/openspcoop2/core/tracciamento/Data.java | /*
* GovWay - A customizable API Gateway
* https://govway.org
*
* Copyright (c) 2005-2024 Link.it srl (https://link.it).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
... | 2,683 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | 802d3894e3b701fece88994d50f0ec16cec70eb6708db0ff608e529dfa9865d2 | [] | [
1127,
222,
338,
590,
1558,
17963,
449,
418,
3137,
6776,
2347,
19405,
1676,
338,
1698,
574,
7202,
3094,
51,
1107,
222,
338,
1676,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
50,
55,
53,
55,
57,
6130,
51,
302,
328,
1796,
327,
66... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 821 | [
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469... | -848,848,855,665,277,600 | true | false | false | false | [
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
64,
222,
485,
1401,
51,
735,
51,
12644,
64,
499,
222,
1350,
350,
117,
67,
5445,
462,
456,
727,
8667,
847,
51,
222,
338,
1676,
338,
350,
117,
67,
1338,
2434,
5379,
1029... | 7,652,557,196,743,522,000 | true | useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org... | GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.core.tracciamento;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.ann... | javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
/** <p>Java class for data complex type.
*
* <p>The follow... | ;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
/** <p>Java class for data complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="data">
* <sequence>
* <element name="date-time"... | http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/>
* <element name="sorgente" type="{http://www |
ImportTmxPage.java | /FileExtraction/Java_unseen/heartsome_tmxeditor8/database/net.heartsome.cat.database.ui.tm/src/net/heartsome/cat/database/ui/tm/wizard/ImportTmxPage.java | /**
* ImportWizardTmxPage.java
*
* Version information :
*
* Date:Oct 20, 2011
*
* Copyright notice :
* 本文件及其附带的相关文件包含机密信息,仅限瀚特盛科技有限公司指定的,与本项目有关的内部人员和客户联络人员查阅和使用。
* 如果您不是本保密声明中指定的收件者,请立即销毁本文件,禁止对本文件或根据本文件中的内容采取任何其他行动,
* 包括但不限于:泄露本文件中的信息、以任何方式制作本文件全部或部分内容之副本、将本文件或其相关副本提供给任何其他人。
*/
package net.heartsome.cat.... | 6,623 | Java | .java | heartsome/tmxeditor8 | 67 | 47 | 7 | 2014-06-03T17:56:38Z | 2020-10-13T06:40:43Z | 88a5c9a97f6436cbea29f2b9c0da94425ffa1f7375d2d74bbbbd167ba69d2513 | [] | [
1350,
222,
338,
9274,
22934,
89,
7796,
1983,
51,
1874,
222,
338,
222,
338,
3050,
2490,
518,
222,
338,
222,
338,
2833,
63,
16203,
244,
55,
53,
49,
244,
55,
53,
54,
54,
222,
338,
222,
338,
2657,
5410,
518,
222,
338,
41769,
6162,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
64,
222,
222,
1350,
222,
338,
496,
2133,
990,
3293,
222,
338,
496,
1687,
222,
338,
496,
8152,
33047,
54,
51,
59,
222,
588,
222,
942,
462,
9274,
89,
779... | 5,687,117,871,615,271,000 | true | false | false | false | [
2992,
376,
221,
25886,
4336,
45,
39293,
51,
25414,
4336,
459,
2266,
52,
5962,
52,
485,
50,
6565,
125,
50,
5383,
51,
1665,
2992,
376,
221,
597,
51,
1219,
1262,
299,
3100,
1262,
64,
222,
221,
130,
499,
221,
1350,
376,
338,
2673,
732... | -7,592,541,966,856,941,000 | true | slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Jason
* @version
* @since JDK1.6
*/
public class ImportTmxPage extends WizardPage {
Logger logger = LoggerFactory.getLogger(ImportTmxPage.class);
private Text tmxFileText;
private DatabaseModelBean dbModel;
/**
* Create the wizard.
*/
public Imp... |
Logger logger = LoggerFactory.getLogger(ImportTmxPage.class);
private Text tmxFileText;
private DatabaseModelBean dbModel;
/**
* Create the wizard.
*/
public ImportTmxPage(DatabaseModelBean dbModel) {
super("wizardPage");
setTitle(Messages.getString("wizard.ImportTmxPage.title"));
setDescription(Messag... | mxPage(DatabaseModelBean dbModel) {
super("wizardPage");
setTitle(Messages.getString("wizard.ImportTmxPage.title"));
setDescription(Messages.getString("wizard.ImportTmxPage.desc"));
setImageDescriptor(Activator.getImageDescriptor("images/dialog/import-tmx-logo.png"));
this.dbModel = dbModel;
}
/**
* Crea... | "));
setImageDescriptor(Activator.getImageDescriptor("images/dialog/import-tmx-logo.png"));
this.dbModel = dbModel;
}
/**
* Create contents of the wizard.
*
* @param parent
*/
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NULL);
container.setLayout(ne... | Tmx = new Label(container, SWT.NONE);
lblTmx.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false,
1, 1));
lblTmx. |
QueryResultServiceTestUtil.java | /FileExtraction/Java_unseen/diqube_diqube/diqube-itest/src/test/java/org/diqube/itest/util/QueryResultServiceTestUtil.java | /**
* diqube: Distributed Query Base.
*
* Copyright (C) 2015 Bastian Gloeckle
*
* This file is part of diqube.
*
* diqube is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the... | 7,197 | Java | .java | diqube/diqube | 18 | 1 | 76 | 2015-07-10T13:34:28Z | 2022-12-10T01:28:19Z | 1c41803c84b76e407ff6b8f481f964ec9d883902d4873b72e3b049da32487262 | [] | [
1350,
222,
338,
2090,
118,
3514,
63,
22775,
6662,
3787,
51,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
58,
570,
36949,
590,
335,
106,
473,
293,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
2090,
118,
3514,
51,
222... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1201,
130,
563,
331,
2090,
118,
3514,
50,
1805,
51,
222,
338,
222,
338,
496,
2133,
570,
36949,
590,
335,
106,
473,
293,
222,
588,
222,
942,
462,
6662,
1413,
1201,
37370,
320,
353,
964,
924,
1175,
7145,
4101,
299,
21818,
51,
10588,
... | 6,192,288,807,648,888,000 | true | false | false | false | [
556,
6662,
1413,
1201,
51,
6872,
65,
34726,
1201,
51,
78,
1179,
1579,
2140,
3499,
894,
303,
6973,
6872,
51,
3334,
6872,
45,
44809,
1201,
5238,
51,
12748,
100,
2491,
49,
310,
556,
19135,
18897,
1201,
51,
6872,
65,
44809,
1201,
51,
78... | 6,166,859,689,724,284,000 | true | Service} on a diqube-server.
*
* @author Bastian Gloeckle
*/
public class QueryResultServiceTestUtil {
private static final Logger logger = LoggerFactory.getLogger(QueryResultServiceTestUtil.class);
public static TestQueryResultService createQueryResultService() {
short port = 5200; // TODO find port dynami... |
public static TestQueryResultService createQueryResultService() {
short port = 5200; // TODO find port dynamically.
TMultiplexedProcessor multiProcessor = new TMultiplexedProcessor();
TestQueryResultService res = new TestQueryResultService(new ServerAddr("127.0.0.1", port));
QueryResultServiceImpl... | TestQueryResultService(new ServerAddr("127.0.0.1", port));
QueryResultServiceImpl serviceImpl = new QueryResultServiceImpl(res);
multiProcessor.registerProcessor(QueryResultServiceConstants.SERVICE_NAME,
new QueryResultService.Processor<QueryResultService.Iface>(serviceImpl));
multiProcessor.regis... | new QueryResultService.Processor<QueryResultService.Iface>(serviceImpl));
multiProcessor.registerProcessor(KeepAliveServiceConstants.SERVICE_NAME,
new KeepAliveService.Processor<KeepAliveService.Iface>(new KeepAliveService.Iface() {
@Override
public void ping() throws TException {
... | 27.0.0.1", port));
} catch (TTransportException e) {
throw new RuntimeException("Could not open transport for result service", e);
}
TNonblockingServer.Args args = new TNon |
ExperimentConfiguration.java | /FileExtraction/Java_unseen/SmartDataAnalytics_DL-Learner/scripts/src/main/java/org/dllearner/experiments/ExperimentConfiguration.java | /**
* Copyright (C) 2007-2011, Jens Lehmann
*
* This file is part of DL-Learner.
*
* DL-Learner is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) an... | 4,614 | Java | .java | SmartDataAnalytics/DL-Learner | 150 | 34 | 30 | 2014-08-06T18:29:54Z | 2023-07-07T21:46:40Z | 5c7d2e29d8b522f759a32d71699b2adf68c86dbf3cc98bfdd23c3a6ae9ccfae1 | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
50,
55,
53,
54,
54,
49,
990,
1249,
4684,
10677,
1039,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
27629,
50,
1494,
23647,
51,
222,
338,
222,
338,
27629,
50,
1494,
23647,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
1225,
64,
222,
222,
1350,
222,
338,
2262,
9715,
1421,
331,
9464,
3505,
51,
719,
619,
3881,
751,
9715,
575,
331,
222,
338,
9715,
2720,
331,
3416,
902,
545,
39877,
575,
43308,
8996,
829,
4575,
222,
338,
26454,
642,
341,
2454,
3505... | 5,277,806,833,000,179,000 | true | false | false | false | [
67,
364,
1766,
299,
556,
5068,
6984,
222,
221,
5332,
3531,
65,
671,
49,
16645,
14377,
67,
364,
1766,
1225,
299,
556,
8329,
6984,
222,
221,
5332,
3531,
65,
8538,
14377,
49,
910,
67,
364,
1766,
1225,
14911,
299,
556,
8329,
6984,
499,
... | 6,027,378,943,034,326,000 | true | .Map;
/**
* An experiment has a certain configuration. In an iterated experiment or a
* experiment row a parameter can be altered or influenced by previous
* experiments with the same configuration. If you do not have an iterated
* experiment (or better only 1 iteration) set sizeOfResultVector to 1
*
* @author ... | iterated
* experiment (or better only 1 iteration) set sizeOfResultVector to 1
*
* @author Sebastian Hellmann <hellmann@informatik.uni-leipzig.de>
*
*/
public class ExperimentConfiguration {
private static final Logger logger = Logger.getLogger(ExperimentConfiguration.class);
public final String experimentNa... |
*/
public class ExperimentConfiguration {
private static final Logger logger = Logger.getLogger(ExperimentConfiguration.class);
public final String experimentName;
public final int sizeOfResultVector;
protected List<MonitorComposite> mcs = new ArrayList<>();
protected Map<String, MonitorComposite> mcsMap = ne... | > mcs = new ArrayList<>();
protected Map<String, MonitorComposite> mcsMap = new HashMap<>();
protected Map<MonitorComposite, String> mcsMapRev = new HashMap<>();
/**
* sets sizeOfResultVector to 1, meaning no iterated experiments
*
* @param experimentName
*/
public ExperimentConfiguration(String experimen... | (String experimentName, int sizeOfResultVector) {
this.experimentName = experimentName;
this.sizeOfResultVector = sizeOfResultVector;
}
@Override
public String toString() { |
CommandHistory.java | /FileExtraction/Java_unseen/integratedmodelling_klab/klab.tools/src/main/java/org/integratedmodelling/klab/clitool/console/CommandHistory.java | /*******************************************************************************
* Copyright (C) 2007, 2016:
*
* - Ferdinando Villa <ferdinando.villa@bc3research.org>
* - integratedmodelling.org
* - any other authors listed in @author annotations
*
* All rights reserved. This file is part of the k... | 4,511 | Java | .java | integratedmodelling/klab | 10 | 5 | 8 | 2021-10-19T11:31:20Z | 2024-05-09T08:53:52Z | 1ba4bf4814c8efb2c42547ea117285a98febf17df759f333c24fe568d707620e | [] | [
28683,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
49,
244,
55,
53,
54,
59,
63,
222,
338,
5357,
338,
283,
449,
525,
15675,
285,
5917,
694,
6815,
350,
1036,
37431,
5917,
51,
123,
6815,
69,
3611,
56,
17752,
51,
1107,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1196,
456,
1851,
4261,
51,
222,
338,
5357,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
30994,
6153,
5062,
1196,
222,
338,
281,
7979,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
338,
281,
7120,
49,
... | -1,311,949,214,887,271,700 | true | false | false | false | [
17163,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
735,
51,
39463,
64,
222,
485,
1105,
51,
8006,
751,
2832,
39359,
51,
112,
4809,
51,
2339,
64,
222,
... | -8,698,478,488,444,881,000 | true | License for more details.
*
* You should have received a copy of the Affero General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* The license is also available at: https://www.gnu.org/l... | - Suite 330, Boston, MA 02111-1307, USA.
* The license is also available at: https://www.gnu.org/licenses/agpl.html
*******************************************************************************/
package org.integratedmodelling.klab.clitool.console;
import java.io.File;
import java.io.IOException;
import java... | ******/
package org.integratedmodelling.klab.clitool.console;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.integratedmodelling.klab.Configuration;
import org.in... | HashSet;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.integratedmodelling.klab.Configuration;
import org.integratedmodelling.klab.exceptions.KlabIOException;
import org.integratedmodelling.klab.utils.collections.ImmutableList;
/**
* Command history array. Use li... | add
* a line, which will bring any existing line to the front of the list instead
* of adding another copy, and transparently persist the history to the history
* file in.thinklab/client.history. Calling add() |
AsrSignalSpeechTest.java | /FileExtraction/Java_unseen/RestComm_media-core/control/mgcp/src/test/java/org/restcomm/media/core/control/mgcp/pkg/au/asr/AsrSignalSpeechTest.java | /*
* TeleStax, Open Source Cloud Communications
* Copyright 2011-2017, Telestax Inc and individual contributors
* by the @authors tag.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; ei... | 19,052 | Java | .java | RestComm/media-core | 159 | 122 | 175 | 2012-08-17T17:45:39Z | 2024-01-09T14:52:11Z | f9abf08013eef7f555d4b51283f43daae562aab005c7bb2a95918869b6cd476b | [] | [
1127,
222,
338,
22493,
520,
668,
49,
3944,
6391,
7594,
2780,
31174,
222,
338,
2657,
244,
55,
53,
54,
54,
50,
55,
53,
54,
60,
49,
22493,
289,
668,
6367,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
1676,
338,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
17076,
51,
6970,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
485,
1105,
51,
2121,
51,
8381,
51,
12786,
51,
11718,
1002,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
12786,
51,... | 3,639,894,456,064,093,700 | true | false | false | false | [
222,
485,
1105,
51,
4756,
4870,
51,
3453,
51,
1284,
51,
2452,
51,
9080,
2217,
51,
4662,
51,
4474,
51,
10765,
3694,
64,
222,
485,
1105,
51,
4756,
4870,
51,
3453,
51,
1284,
51,
18146,
51,
25895,
51,
1482,
119,
6641,
1002,
64,
222,
... | 6,648,910,231,110,439,000 | true | Mockito.verify;
import java.util.List;
import java.util.Map;
import org.apache.commons.codec.DecoderException;
import org.apache.commons.codec.binary.Hex;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.restcomm.media.core.control.mgcp.pkg.MgcpEven... | import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.restcomm.media.core.control.mgcp.pkg.MgcpEvent;
import org.restcomm.media.core.control.mgcp.pkg.au.ReturnCode;
import org.restcomm.media.core.control.mgcp.pkg.au.ReturnParameters;
import org.restcomm.me... | MgcpEvent;
import org.restcomm.media.core.control.mgcp.pkg.au.ReturnCode;
import org.restcomm.media.core.control.mgcp.pkg.au.ReturnParameters;
import org.restcomm.media.core.control.mgcp.pkg.au.SignalParameters;
import org.restcomm.media.core.drivers.asr.AsrDriverException;
import org.restcomm.media.core.drivers.asr.Un... |
import org.restcomm.media.core.control.mgcp.pkg.au.SignalParameters;
import org.restcomm.media.core.drivers.asr.AsrDriverException;
import org.restcomm.media.core.drivers.asr.UnknownAsrDriverException;
import org.restcomm.media.core.resource.dtmf.detector.DtmfEvent;
import org.restcomm.media.core.spi. | listener.TooManyListenersException;
/**
* @author gdubina
* @author anikiforov
*/
public class AsrSignalSpeechTest extends AsrSignalBaseTest {
@Before
public void before |
Viewer_UE3_Texture2D_871.java | /FileExtraction/Java_unseen/wattostudios_GameExtractor/src/org/watto/ge/plugin/viewer/Viewer_UE3_Texture2D_871.java | /*
* Application: Game Extractor
* Author: wattostudios
* Website: http://www.watto.org
* Copyright: Copyright (c) 2002-2020 wattostudios
*
* License Information:
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
* publishe... | 14,387 | Java | .java | wattostudios/GameExtractor | 76 | 6 | 2 | 2020-06-03T13:56:47Z | 2024-02-23T22:15:48Z | 2e0cbdd544bd7300d6c04020b5492bc6361db30ba60964b73da434f8fd864548 | [] | [
1127,
222,
338,
6700,
63,
244,
6067,
15269,
290,
222,
338,
6265,
63,
981,
360,
288,
471,
32755,
3963,
222,
338,
24858,
63,
665,
1930,
574,
1516,
51,
47901,
471,
51,
1107,
222,
338,
2657,
63,
283,
2657,
327,
104,
46,
244,
55,
53,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
47901,
471,
51,
319,
51,
2809,
51,
12512,
4168,
64,
222,
485,
1105,
51,
47901,
471,
51,
319,
51,
2809,
51,
8945,
51,
4168,
1582,
100,
2018,
56,
64,
222,
485,
1105,
51,
47901,
471,
51,
319,
51,
2809,
51,
8945,
51,
4168,
100,
2018... | -5,383,030,295,449,973,000 | true | false | false | false | [
222,
4241,
12825,
6372,
222,
222,
4241,
12825,
6372,
222,
15722,
222,
942,
462,
41834,
100,
2018,
56,
100,
4900,
55,
73,
100,
61,
60,
54,
2041,
41834,
4168,
320,
736,
1041,
353,
17854,
12825,
13494,
4070,
17854,
12825,
13494,
353,
125... | -7,837,209,602,359,593,000 | true | watto.ge.plugin.ViewerPlugin;
import org.watto.ge.plugin.archive.PluginGroup_UE3;
import org.watto.ge.plugin.archive.Plugin_UE3_871;
import org.watto.ge.plugin.archive.datatype.UnrealProperty;
import org.watto.ge.plugin.exporter.Exporter_LZO_SingleBlock;
import org.watto.ge.plugin.exporter.Exporter_ZLib;
import org.wat... | ;
import org.watto.ge.plugin.archive.datatype.UnrealProperty;
import org.watto.ge.plugin.exporter.Exporter_LZO_SingleBlock;
import org.watto.ge.plugin.exporter.Exporter_ZLib;
import org.watto.io.FileManipulator;
import org.watto.io.FilenameSplitter;
import org.watto.io.buffer.ByteBuffer;
/**
**************************... | plugin.exporter.Exporter_ZLib;
import org.watto.io.FileManipulator;
import org.watto.io.FilenameSplitter;
import org.watto.io.buffer.ByteBuffer;
/**
**********************************************************************************************
**************************************************************************... |
**********************************************************************************************
**********************************************************************************************
**/
public class Viewer_UE3_Texture2D_871 extends ViewerPlugin {
/**
******************************************************... | setGames("Unreal Engine 3 Version 871",
"Killing Floor 2");
setPlatforms("PC");
setStandardFileFormat(false);
}
/**
**********************************************************************************************
********************************************************************************... |
ApplicationCollection.java | /FileExtraction/Java_unseen/xframium_xframium-java/framework/src/org/xframium/integrations/perfectoMobile/rest/bean/ApplicationCollection.java | /*******************************************************************************
* xFramium
*
* Copyright 2016 by Moreland Labs, Ltd. (http://www.morelandlabs.com)
*
* Some open source application is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public
* License a... | 4,105 | Java | .java | xframium/xframium-java | 12 | 18 | 2 | 2016-05-15T00:32:34Z | 2019-02-16T12:40:47Z | 2a59b8c27856bb5631b74283eb399c35df0934cdd24465271ae75dbf53543acf | [] | [
28683,
222,
338,
837,
75,
4344,
3892,
222,
338,
222,
338,
2657,
244,
55,
53,
54,
59,
829,
12662,
6836,
42256,
49,
19534,
51,
327,
544,
574,
1516,
51,
7047,
6836,
17897,
51,
527,
46,
222,
338,
222,
338,
4202,
2177,
1932,
3039,
458,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2489,
46,
1364,
6146,
1522,
51,
222,
338,
5357,
338,
4202,
2177,
1932,
3039,
458,
2744,
347,
341,
9850,
708,
580,
1118,
1676,
338,
545,
6386,
49,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
1676,
338,
451,
7934,
575,
8... | 4,057,522,731,857,803,000 | true | false | false | false | [
12455,
64,
222,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1105,
51,
2088,
4344,
3892,
51,
37486,
51,
4756,
51,
12455,
51,
5597,
5358,
64,
22... | 3,281,936,820,511,450,000 | true | option) any later version.
*
* Some open source application is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have... | the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with xFramium. If not, see <http://www.gnu.org/licenses/>.
*
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
***************************************************************... | licenses/>.
*
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
*******************************************************************************/
package org.xframium.integrations.perfectoMobile.rest.bean;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.xframium.integrat... | bean;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.xframium.integrations.rest.bean.AbstractBean;
import org.xframium.integrations.rest.bean.Bean.BeanDescriptor;
// TODO: Auto-generated Javadoc
/**
* The Class ApplicationCollection.
*/
@BeanDescriptor( beanName="response" )... | extends AbstractBean
{
/** The execution id. */
@FieldDescriptor ( )
private String executionId;
/** The report key. */
@FieldDescriptor ( )
private String reportKey;
/** |
ImageScaler.java | /FileExtraction/Java_unseen/tonysparks_seventh/src/seventh/shared/ImageScaler.java | /*
* see license.txt
*/
package seventh.shared;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
/**
* @author Tony
*
*/
public class ImageScaler {
/**
*
*/
public ImageScaler() {
// TODO Auto-generated constructor s... | 3,756 | Java | .java | tonysparks/seventh | 49 | 30 | 7 | 2014-05-05T22:57:09Z | 2019-11-27T01:44:13Z | 1ea0a9ffa36a531813769c97eea7f09cce0381fab82a8ab09017a0122f277b77 | [] | [
1127,
222,
338,
2337,
3553,
51,
2787,
1676,
588,
222,
1337,
427,
672,
109,
51,
4206,
64,
222,
222,
485,
1401,
51,
8236,
51,
8524,
55,
73,
64,
222,
485,
1401,
51,
8236,
51,
915,
51,
17640,
1675,
64,
222,
485,
1401,
51,
735,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,009 | [
51,
1665,
742,
419,
5271,
299,
244,
53,
51,
59,
53,
107,
64,
419,
1882,
299,
244,
58,
54,
55,
64,
419,
2401,
299,
244,
55,
58,
59,
64,
419,
1644,
64,
343,
339,
343,
1152,
23329,
1309,
100,
19646,
63,
320,
419,
1802,
991,
299,
... | -3,015,214,304,440,306,700 | true | false | false | false | [
833,
11139,
63,
320,
419,
1802,
991,
299,
556,
2050,
459,
72,
16397,
3715,
1750,
89,
4373,
1750,
13050,
1750,
10792,
8337,
9012,
284,
1750,
1024,
1750,
5167,
100,
11941,
1750,
5167,
100,
2358,
120,
100,
11941,
51,
1665,
742,
419,
3481... | -1,896,545,319,939,854,000 | true | .png");
scale = 0.60f;
width = 512;
height = 256;
break;
}
case AXIS_POSITION: {
imageFile = new File("C:\\Users\\Tony\\git\\seventh\\assets\\gfx\\player\\axis_positions.png");
scale = 0.77f; // TODO:... | :\\Users\\Tony\\git\\seventh\\assets\\gfx\\player\\axis_positions.png");
scale = 0.77f; // TODO: 0.616f take ((77% * 256) * 80%)
xOffset = -5;
yOffset = -5;
width = 256;
height = 256;
break;
}
case A... | 256) * 80%)
xOffset = -5;
yOffset = -5;
width = 256;
height = 256;
break;
}
case AXIS_LEGS: {
imageFile = new File("C:\\Users\\Tony\\Desktop\\SpriteSheetPacker\\Test\\axis_walk\\axis_legs_walk.png")... | LEGS: {
imageFile = new File("C:\\Users\\Tony\\Desktop\\SpriteSheetPacker\\Test\\axis_walk\\axis_legs_walk.png");
destFile = new File("C:\\Users\\Tony\\Desktop\\SpriteSheetPacker\\Test\\axis_walk\\axis_legs_walk_scaled.png");
scale = 0.77f;
xOffset = 0;
... | 0;
width = 512;
height = 256;
break;
}
case ALLIED_DEATH1: {
imageFile = new File("C:\\Users\\Tony\\git\\ |
CycleDetection.java | /FileExtraction/Java_unseen/joney000_Java-Competitive-Programming/Algorithms/CycleDetection.java | import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.*;
/*
* Author : joney_000[developer.jaswant@gmail.com]
* Algorithm : DFS or similar
* Platform : Codeforces
* Ref : Cycle detection in forest
*/
class A{
private InputStream inputStream ;
private OutputStream outputStre... | 10,794 | Java | .java | joney000/Java-Competitive-Programming | 102 | 27 | 0 | 2016-11-29T05:22:00Z | 2024-02-20T10:27:51Z | 5162203b0c6d4b40469d9ec68e9ab2f2546e38fe095b24143bad71eceb1d85e5 | [] | [
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1600,
7737,
222,
485,
1401,
51,
735,
7737,
222,
485,
1401,
51,
3851,
7737,
222,
222,
1127,
222,
338,
6265,
283,
518,
614,
7310,
100,
53,
53,
53,
96,
8641,
51,
18526,
13455,
69,
7265,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
96,
122,
1015,
688,
45,
123,
312,
453,
36632,
4023,
303,
339,
303,
21057,
65,
3078,
36648,
22052,
53,
299,
640,
4014,
45,
16431,
49,
329,
312,
244,
453,
38775,
4047,
3478,
303,
1922,
458,
16113,
299,
920,
64,
303,
456,
45,
429,
61... | 384,670,124,835,514,430 | true | false | false | false | [
429,
613,
299,
244,
54,
64,
613,
2527,
329,
64,
613,
9258,
416,
22052,
96,
110,
98,
299,
556,
21057,
65,
3078,
2938,
303,
339,
353,
339,
736,
453,
30373,
524,
3987,
2294,
3478,
353,
21057,
65,
3078,
36648,
640,
4014,
45,
20535,
65... | 2,002,593,223,485,790,500 | true | [u].add(v); // directed graph
}
LinkedList<Integer>[] adj0 = getCopy(adj, n); // maintaining mutability
boolean isCycle = false;
for(int i = 1; i <= n; i++){
if(!vis[i]){
isCycle = isCycle | isCycle(i, adj0); //PS: Not connected Graph: i.e. forest containing disconnected components
... | n; i++){
if(!vis[i]){
isCycle = isCycle | isCycle(i, adj0); //PS: Not connected Graph: i.e. forest containing disconnected components
if(isCycle){
break;
}
}
}
if(isCycle){
out.write("yes cycle\n");
}else {
out.write("no cycle\n");
}
}
... |
}
}
}
if(isCycle){
out.write("yes cycle\n");
}else {
out.write("no cycle\n");
}
}
void clear(int n){
for(int i = 1; i <= n; i++){
adj[i] = new LinkedList<Integer>();
}
}
// Maintain immutability
LinkedList<Integer>[] getCopy(LinkedList<Integer>[] a... | int i = 1; i <= n; i++){
adj[i] = new LinkedList<Integer>();
}
}
// Maintain immutability
LinkedList<Integer>[] getCopy(LinkedList<Integer>[] adj, int n)throws Exception{
LinkedList<Integer> adjCopy[] = new LinkedList[n + 1];
for(int i = 1; i <= n; i++){
adjCopy[i] = new LinkedList<Intege... | (int x: adj[i]){
adjCopy[i].add(x);
}
}
return adjCopy;
}
// int []depth = new int[MAXN + 1];
boolean isCycle(int |
PdlTester.java | /FileExtraction/Java_unseen/wesen_nmedit/libs/jpdl/test/net/sf/nmedit/jpdl/PdlTester.java | package net.sf.nmedit.jpdl;
import junit.framework.*;
public class PdlTester extends TestCase
{
protected void setUp()
{
System.out.println("");
}
private String testpdl = null;
public String getTestPdlFileName()
{
if (testpdl == null)
{
// get location o... | 3,259 | Java | .java | wesen/nmedit | 13 | 9 | 0 | 2011-09-11T23:42:26Z | 2019-11-23T19:25:59Z | 5a871ceeda111d9567c39f48c7c128d2c55a17f14ba22147e8efc7186190c05b | [] | [
1337,
3723,
51,
6463,
51,
115,
1987,
302,
51,
11558,
3679,
64,
222,
222,
485,
36678,
51,
2863,
7737,
222,
222,
942,
462,
466,
3679,
18574,
2041,
19189,
222,
128,
303,
2532,
782,
14544,
365,
303,
320,
222,
221,
1615,
51,
560,
51,
3... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,007 | [
49,
244,
60,
312,
3281,
3458,
51,
1713,
45,
53,
2088,
60,
49,
244,
61,
312,
48889,
317,
51,
390,
6839,
2837,
459,
16719,
19570,
1912,
2228,
45,
2255,
49,
6892,
312,
48889,
3187,
51,
4993,
45,
53,
125,
54,
59,
49,
6892,
51,
390,
... | -110,869,587,049,235,970 | true | false | false | false | [
2992,
222,
221,
130,
222,
221,
5639,
45,
1002,
503,
46,
320,
3281,
503,
51,
9428,
492,
3281,
1440,
503,
64,
222,
221,
130,
303,
339,
465,
581,
782,
913,
10806,
365,
222,
221,
5124,
3284,
303,
320,
222,
221,
5519,
317,
299,
556,
... | -6,281,838,551,547,560,000 | true | , 7);
stream.append(0xf7, 8);
p.getPacketParser("Sysex").parse(stream, packet);
Assert.assertEquals(0x16, packet.getVariable("cc"));
Assert.assertEquals(0, packet.getVariable("slot"));
Assert.assertEquals("ACK", packet.getPacket("data").getName());
Assert.assertEquals(15, packe... | Assert.assertEquals(0, packet.getVariable("slot"));
Assert.assertEquals("ACK", packet.getPacket("data").getName());
Assert.assertEquals(15, packet.getPacket("data")
.getVariable("pid1"));
Assert.assertEquals(16, packet.getPacket("data")
.getVariable("pid2"));
Assert.assertEquals(127, packet... | pid1"));
Assert.assertEquals(16, packet.getPacket("data")
.getVariable("pid2"));
Assert.assertEquals(127, packet.getPacket("data")
.getVariable("checksum"));
}
catch(Exception e) {
e.printStackTrace();
throw e;
}
}
public void testEncode()
throws Exception
{
Protocol p = ne... | "));
}
catch(Exception e) {
e.printStackTrace();
throw e;
}
}
public void testEncode()
throws Exception
{
Protocol p = new Protocol(getTestPdlFileName());
p.useTracer(new TestTracer());
BitStream bstream = new BitStream();
IntStream istream = new IntStream();
istream.append(0x16);
i... | (3);
istream.append(4);
istream.append(5);
istream.append(6);
p.getPacketParser("Sysex").generate(istream, bstream);
Assert.assertEquals |
ProcessCreationWizardPage.java | /FileExtraction/Java_unseen/bonitasoft_bonita-studio/bundles/plugins/org.bonitasoft.studio.diagram/src/org/bonitasoft/studio/model/process/diagram/part/ProcessCreationWizardPage.java | /*
* Copyright (C) 2009 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at... | 2,637 | Java | .java | bonitasoft/bonita-studio | 79 | 43 | 1 | 2013-07-12T08:06:21Z | 2024-05-06T13:07:47Z | be500b533162fc6d1efdb5a163fefee891d35269ef7470117099d81ffccfe1d6 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
40329,
9756,
14993,
377,
51,
70,
51,
222,
338,
40329,
9756,
14993,
49,
244,
56,
54,
559,
359,
590,
695,
808,
535,
2961,
361,
449,
244,
56,
61,
53,
53,
53,
590,
1594,
926,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 758 | [
1175,
910,
822,
4823,
64,
499,
221,
1350,
222,
221,
47,
496,
6413,
222,
221,
1975,
222,
221,
942,
6849,
12614,
22934,
1983,
45,
671,
1957,
577,
49,
457,
30741,
5385,
7818,
49,
910,
822,
4823,
46,
320,
376,
221,
5282,
45,
1655,
577... | 8,967,206,365,679,338,000 | true | false | false | false | [
5332,
457,
1233,
640,
9141,
365,
320,
376,
221,
78,
1233,
1536,
299,
640,
2894,
33589,
492,
376,
221,
344,
327,
1005,
630,
762,
46,
320,
374,
221,
1005,
299,
556,
5404,
10928,
14062,
10012,
50,
18349,
50,
54,
41,
376,
221,
130,
37... | -5,833,805,538,090,655,000 | true | final String fileExtension;
/**
* @generated
*/
public ProcessCreationWizardPage(String pageName, IStructuredSelection selection, String fileExtension) {
super(pageName, selection);
this.fileExtension = fileExtension;
}
/**
* Override to create files with this extension.
*
* @generated
*/
protect... | .fileExtension = fileExtension;
}
/**
* Override to create files with this extension.
*
* @generated
*/
protected String getExtension() {
return fileExtension;
}
/**
* @generated
*/
public URI getURI() {
return URI.createPlatformResourceURI(getFilePath().toString(), false);
}
/**
* @generated... | /**
* @generated
*/
public URI getURI() {
return URI.createPlatformResourceURI(getFilePath().toString(), false);
}
/**
* @generated
*/
protected IPath getFilePath() {
IPath path = getContainerFullPath();
if (path == null) {
path = new Path(""); //$NON-NLS-1$
}
String fileName = getFileName();
if... | protected IPath getFilePath() {
IPath path = getContainerFullPath();
if (path == null) {
path = new Path(""); //$NON-NLS-1$
}
String fileName = getFileName();
if (fileName!= null) {
path = path.append(fileName);
}
return path;
}
/**
* @generated
*/
public void createControl(Composite | parent) {
super.createControl(parent);
setFileName(ProcessDiagramEditorUtil.getUniqueFileName(getContainerFullPath(), getFileName(), getExtension()));
setPageComplete(validatePage());
}
/** |
DictionaryOpenHelper.java | /FileExtraction/Java_unseen/ispedals_FloatingJapaneseDictionary/floatingJapaneseDictionary/src/main/java/pedals/is/floatingjapanesedictionary/dictionarysearcher/DictionaryOpenHelper.java | /*
* Source code Copyright 2013 Balloonguy
* This file is part of FloatingJapaneseDictionary.
FloatingJapaneseDictionary is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the Lic... | 2,316 | Java | .java | ispedals/FloatingJapaneseDictionary | 19 | 7 | 2 | 2013-08-23T22:05:01Z | 2017-09-18T22:24:09Z | 71cab35c9b4377ea61e9c3ee545b309708ce0d6e0174f69f6b99a709bd4a5423 | [] | [
1127,
222,
338,
244,
6391,
1361,
2657,
244,
55,
53,
54,
56,
26136,
335,
805,
14007,
222,
338,
244,
1369,
822,
458,
1760,
451,
38756,
79,
30517,
7874,
51,
465,
38756,
79,
30517,
7874,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 609 | [
935,
480,
1930,
574,
1516,
51,
337,
5344,
108,
51,
1107,
52,
1676,
588,
222,
1337,
28207,
3561,
51,
316,
51,
20702,
111,
386,
2617,
1265,
26654,
51,
11738,
1925,
284,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616... | 2,785,603,841,915,543,000 | true | false | false | false | [
320,
1332,
221,
1219,
51,
2510,
3566,
459,
1315,
1877,
5473,
327,
10646,
4459,
13421,
49,
851,
5505,
13421,
49,
3429,
13421,
312,
742,
376,
221,
1219,
51,
2510,
3566,
459,
3233,
2012,
5473,
2102,
482,
31603,
259,
31603,
256,
1216,
720... | -2,778,665,059,399,079,400 | true | html and http://www.edrdg.org/
*/
package pedals.is.floatingjapanesedictionary.dictionarysearcher;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DictionaryOpenHelper extends SQLiteOpenHelper {
private static final int D... | Database;
import android.database.sqlite.SQLiteOpenHelper;
public class DictionaryOpenHelper extends SQLiteOpenHelper {
private static final int DATABASE_VERSION = 60;
private static final String DATABASE_NAME = "testwords.db";
public DictionaryOpenHelper(Context context) {
super(context, DATABASE_NAME, null, ... | "testwords.db";
public DictionaryOpenHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create table dict (kanji TEXT, kana TEXT, entry TEXT);");
db.execSQL("insert into dict values('軍車','ぐんしゃ','(n) tank (mili... | {
db.execSQL("create table dict (kanji TEXT, kana TEXT, entry TEXT);");
db.execSQL("insert into dict values('軍車','ぐんしゃ','(n) tank (military vehicle)');");
db.execSQL("insert into dict values(NULL,'どーなつ','ドーナツ /(n) doughnut/(P)/');");
db.execSQL(" | insert into dict values(NULL,'ちゃんばら','(n,abbr) sword fight/sword play');");
db.execSQL("insert into dict values('踞る','うずくまる',' |
TranslationManager.java | /FileExtraction/Java_unseen/Rubicon-Bot_Rubicon/src/main/java/fun/rubicon/core/translation/TranslationManager.java | /*
* Copyright (c) 2018 Rubicon Bot Development Team
* Licensed under the GPL-3.0 license.
* The full license text is available in the LICENSE file provided with this project.
*/
package fun.rubicon.core.translation;
import fun.rubicon.RubiconBot;
import fun.rubicon.core.entities.RubiconUser;
import fun.rubicon.... | 3,997 | Java | .java | Rubicon-Bot/Rubicon | 13 | 8 | 3 | 2017-11-16T17:27:31Z | 2018-07-10T18:30:27Z | 09373f44562e677f9b0d67bb85c26a74330a4197e5ce99a15a1f3c82c1f5d5a7 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
244,
44865,
1584,
17099,
15606,
12653,
222,
338,
4773,
1549,
341,
23508,
50,
56,
51,
53,
3553,
51,
222,
338,
906,
3559,
3553,
1367,
458,
3322,
347,
341,
7621,
822,
3961,
642... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 897 | [
244,
55,
53,
54,
61,
244,
44865,
1584,
17099,
15606,
12653,
222,
338,
4773,
1549,
341,
23508,
50,
56,
51,
53,
3553,
51,
222,
338,
906,
3559,
3553,
1367,
458,
3322,
347,
341,
7621,
822,
3961,
642,
477,
2091,
51,
222,
588,
222,
222,... | 5,251,922,796,425,263,000 | true | false | false | false | [
36461,
51,
222,
338,
222,
338,
496,
2133,
573,
61,
53,
61,
668,
114,
222,
588,
222,
942,
462,
27307,
1590,
320,
303,
964,
1175,
1701,
65,
12687,
9459,
67,
13194,
9459,
739,
64,
303,
964,
1175,
27307,
9459,
1263,
12687,
9459,
64,
4... | 242,427,291,195,456,640 | true | 2018 Rubicon Bot Development Team
* Licensed under the GPL-3.0 license.
* The full license text is available in the LICENSE file provided with this project.
*/
package fun.rubicon.core.translation;
import fun.rubicon.RubiconBot;
import fun.rubicon.core.entities.RubiconUser;
import fun.rubicon.util.Logger;
import... | core.translation;
import fun.rubicon.RubiconBot;
import fun.rubicon.core.entities.RubiconUser;
import fun.rubicon.util.Logger;
import net.dv8tion.jda.core.entities.User;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
/**
* Manages translation bundles.
*
*... | jda.core.entities.User;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
/**
* Manages translation bundles.
*
* @author tr808axm
*/
public class TranslationManager {
private final List<TranslationLocale> translationLocaleList;
private final Translat... | bundles.
*
* @author tr808axm
*/
public class TranslationManager {
private final List<TranslationLocale> translationLocaleList;
private final TranslationLocale defaultTranslationLocale;
public TranslationManager() {
defaultTranslationLocale = new TranslationLocale(this, new Locale("en", "US"), ... | return getResourceBundle().getString(key);
else {
Logger.error("TranslationLocale for '" + key + "' missing in default locale " + getLocaleCode());
return "Missing translation.";
}
}
};
List<Translation |
CATWrapper.java | /FileExtraction/Java_unseen/hltfbk_CROMER/src/eu/fbk/textpro/wrapper/CATWrapper.java | package eu.fbk.textpro.wrapper;
import java.io.*;
/**
* Created by IntelliJ IDEA.
* User: cgirardi
* Date: 21/12/13
* Time: 10.06
*/
public class CATWrapper {
private String tokens;
private String sessionid;
private byte[] page;
public CATWrapper(String sessionid) {
this.sessionid = ses... | 2,731 | Java | .java | hltfbk/CROMER | 9 | 1 | 1 | 2013-10-24T06:36:06Z | 2015-01-14T10:03:21Z | 4d271ac9a4e190f2d761693cb3ede96a32a4f724666e01b7e813b6e3a6043ef1 | [] | [
1337,
14604,
51,
4365,
112,
51,
897,
529,
51,
5106,
64,
222,
222,
485,
1401,
51,
735,
7737,
222,
222,
1350,
222,
338,
6956,
829,
46017,
47468,
51,
222,
338,
2694,
63,
21901,
495,
723,
110,
222,
338,
2833,
63,
244,
55,
54,
52,
54... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 629 | [
723,
110,
222,
338,
2833,
63,
244,
55,
54,
52,
54,
55,
52,
54,
56,
222,
338,
3734,
63,
244,
54,
53,
51,
53,
59,
222,
588,
222,
942,
462,
27615,
4687,
320,
303,
964,
910,
7960,
64,
303,
964,
910,
3541,
333,
64,
303,
964,
3447... | 3,337,507,733,371,386,000 | true | false | false | false | [
897,
781,
51,
47905,
1233,
365,
494,
4956,
13628,
2132,
332,
6266,
61,
742,
343,
20029,
781,
51,
1838,
4139,
10961,
63,
788,
115,
40,
16922,
25888,
63,
2421,
97,
121,
1977,
1384,
97,
115,
742,
1819,
648,
15492,
299,
244,
54,
64,
3... | -2,736,134,611,054,992,400 | true | ardi
* Date: 21/12/13
* Time: 10.06
*/
public class CATWrapper {
private String tokens;
private String sessionid;
private byte[] page;
public CATWrapper(String sessionid) {
this.sessionid = sessionid;
}
public void analyze(String text, String lang) {
StringBuffer tokens = n... |
public CATWrapper(String sessionid) {
this.sessionid = sessionid;
}
public void analyze(String text, String lang) {
StringBuffer tokens = new StringBuffer();
File rawtextfile = new File("/tmp/" + sessionid + ".txt");
OutputStreamWriter tokfile = null;
try {
... | /" + sessionid + ".txt");
OutputStreamWriter tokfile = null;
try {
int tokenstart = 0;
String[] lines = text.split("\n");
tokfile = new OutputStreamWriter(new FileOutputStream(rawtextfile.getCanonicalPath() + ".tok"), "UTF8");
tokfile.write("# FILE: \n# FI... | textfile.getCanonicalPath() + ".tok"), "UTF8");
tokfile.write("# FILE: \n# FIELDS: token\ttokenstart\n");
int sentence = 1;
for( String line : lines) {
if (line.matches("<token t?_?id=.*</token>")) {
String token = line.replaceFirst("<\\/token>","... |
//System.err.println(token+"\t"+tokenstart);
if (line.contains(" sentence=\""+ sentence +"\"") ) {
tokfile.write("\n");
sentence++;
}
tokfile.write( |
UcpAttribute.java | /FileExtraction/Java_unseen/ericsson-mts_mts/src/main/java/com/devoteam/srit/xmlloader/ucp/data/UcpAttribute.java | /*
* Copyright 2012 Devoteam http://www.devoteam.com
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This file is part of Multi-Protocol Test Suite (MTS).
*
* Multi-Protocol Test Suite (MTS) is free software: you can redistribute
* it and/or modify it under the terms of the GNU General... | 4,704 | Java | .java | ericsson-mts/mts | 61 | 38 | 34 | 2017-12-11T20:00:25Z | 2023-11-02T17:32:18Z | 468963e9232aeceaf2d2bb5092d05a489348ba1a57e7f3ab1b7c2abc32ecb36d | [] | [
1127,
1676,
338,
2657,
244,
55,
53,
54,
55,
12798,
1721,
424,
1930,
574,
1516,
51,
1920,
1721,
424,
51,
527,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
30441,
51,
222,
338,
1676,
338,
1676,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
320,
547,
1437,
51,
688,
3283,
45,
909,
4119,
1280,
45,
2278,
2026,
51,
19682,
5086,
419,
339,
419,
1437,
51,
688,
3283,
45,
90,
2217,
1193,
51,
40038,
312,
343,
339,
310,
339,
2776,
461,
1437,
64,
303,
339,
465,
496,
1806,
303,
... | -1,702,947,654,448,417,300 | true | false | false | false | [
65,
90,
2217,
2230,
19504,
419,
339,
419,
2385,
327,
1002,
557,
46,
419,
2172,
2125,
456,
45,
429,
613,
299,
244,
53,
64,
613,
350,
1849,
2880,
46,
6693,
4269,
911,
492,
613,
2002,
419,
320,
547,
1849,
2880,
65,
90,
2217,
2230,
... | -8,781,573,430,873,113,000 | true | {
array.addLast(new DefaultArray(byteStr.getBytes()));
}
array.addLast(UcpMessage.SEP);
}
}
return array;
}
@Override
public UcpAttribute clone()
{
UcpAttribute clone = new UcpAttribute();
clone.s... |
{
UcpAttribute clone = new UcpAttribute();
clone.setName(getName());
clone.setFormat(getFormat());
clone.setLength(getLength());
clone.setMandatory(isMandatory());
clone.setOccurenceAttribute(getOccurenceAttribute());
clone.setNotApplicable(getNotApplicable(... | OccurenceAttribute(getOccurenceAttribute());
clone.setNotApplicable(getNotApplicable());
if(getValueQuality())
{
if(getValue() instanceof Vector)
{
try {
clone.setValue(new Vector<UcpAttribute>());
}
... | <UcpAttribute>());
}
catch (Exception ex)
{}
for(int i = 0; i < ((Vector)getValue()).size(); i++)
{
((Vector<UcpAttribute>)clone.getValue()).add(((Vector<UcpAttribute>)getValue()).get(i));
}
... | append(name);// + ", format " + format + ", length " + length;
if(isMandatory())
{
str.append(", mandatory ");
}
if(occurenceAttribute!= null)
{
str.append |
FormatTable.java | /FileExtraction/Java_unseen/kevinkrouse_j/src/org/armedbear/j/FormatTable.java | /*
* FormatTable.java
*
* Copyright (C) 1998-2002 Peter Graves
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.... | 6,583 | Java | .java | kevinkrouse/j | 10 | 2 | 0 | 2012-04-16T00:43:46Z | 2023-01-05T00:18:06Z | c1b2081aa02a194d5ff398b9352b198f2dec1e36f4dd469ca0e97837e2c28e26 | [] | [
1127,
222,
338,
10288,
1617,
51,
1874,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
54,
62,
62,
61,
50,
55,
53,
53,
55,
37561,
8102,
7777,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414... | 7,676,247,654,402,545,000 | true | false | false | false | [
303,
964,
924,
1175,
38440,
23333,
299,
11419,
51,
22561,
492,
465,
964,
910,
2945,
577,
64,
303,
964,
5068,
65,
2222,
32934,
67,
1168,
64,
303,
964,
10288,
32934,
1197,
1437,
64,
303,
964,
1922,
8777,
64,
465,
581,
10288,
1617,
45,... | 6,540,711,716,393,096,000 | true | ,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* F... | General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
package org.armedbear.j;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
public final class FormatTable
{
private stat... | , USA.
*/
package org.armedbear.j;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
public final class FormatTable
{
private static final Preferences preferences = Editor.preferences();
private String modeName;
private ArrayList<FormatTableEntry> list;
private FormatTableEnt... |
private static final Preferences preferences = Editor.preferences();
private String modeName;
private ArrayList<FormatTableEntry> list;
private FormatTableEntry[] array;
private boolean initialized;
public FormatTable(String modeName)
{
this.modeName = modeName;
list = new... | )
{
if (array!= null) {
try {
return array[format];
}
catch (ArrayIndexOutOfBoundsException e) {
Log.error(e);
// Fall through...
}
}
if (!initialized |
AbstractMultiSheetSpreadSheetWriter.java | /FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-spreadsheet/src/main/java/adams/data/io/output/AbstractMultiSheetSpreadSheetWriter.java | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | 7,965 | Java | .java | waikato-datamining/adams-base | 17 | 4 | 0 | 2017-09-01T22:51:51Z | 2024-05-08T02:22:17Z | b78bb4882344d166178161b97a0f43878716bad8cc906509fe6503ddfa59e308 | [] | [
1127,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
280,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
280,
341,
7834,
3870,
7120,
49,
3173,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
382,
222,
588,
222,
1337,
26177,
51,
624,
51,
735,
51,
2051,
64,
222,
222,
485,
26177,
51,
1284,
51,
735,
51,
39463,
64,
222,
485,
26177,
51,
624,
51,
35126,
51,
33518,
8337,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
735,
51,
... | -4,881,818,457,065,454,000 | true | false | false | false | [
6599,
8078,
1449,
8078,
20181,
46,
222,
338,
496,
1687,
417,
14021,
41,
222,
588,
222,
942,
5560,
462,
7406,
6230,
8337,
33518,
8337,
3989,
353,
2041,
7406,
33518,
8337,
3989,
353,
4584,
10497,
8337,
33518,
8337,
3989,
320,
736,
1041,
... | -7,960,218,974,791,312,000 | true | and
*/
package adams.data.io.output;
import adams.core.io.FileUtils;
import adams.data.spreadsheet.SpreadSheet;
import org.apache.commons.io.output.WriterOutputStream;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.OutputStream;
import j... |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
/**
* Ancestor for spreadsheet writers that can write multiple sheets into
* a single document.
*
* @author frac... | Writer;
import java.io.Writer;
/**
* Ancestor for spreadsheet writers that can write multiple sheets into
* a single document.
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public abstract class AbstractMultiSheetSpreadSheetWriter
extends AbstractSpreadSheetWriter
implem... | ato dot ac dot nz)
* @version $Revision$
*/
public abstract class AbstractMultiSheetSpreadSheetWriter
extends AbstractSpreadSheetWriter
implements MultiSheetSpreadSheetWriter {
/** for serialization. */
private static final long serialVersionUID = -9004877579871173007L;
/** The prefix for the sheet name... | internal list of options.
*/
@Override
public void defineOptions() {
super.defineOptions();
m_OptionManager.add(
"sheet-prefix", "sheetPrefix",
getDefaultSheetPrefix());
}
/** |
Stochastics.java | /FileExtraction/Java_unseen/zrna-research_akso/axoloti/src/main/java/generatedobjects/Stochastics.java | /**
* Copyright (C) 2013, 2014 Johannes Taelman
*
* This file is part of Axoloti.
*
* Axoloti is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any lat... | 7,060 | Java | .java | zrna-research/akso | 20 | 6 | 24 | 2020-09-08T00:24:21Z | 2020-11-02T07:04:29Z | 64bacd63044ee6b89708039ffaaace3f87beb89d123f4341608a580486b1c347 | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
49,
244,
55,
53,
54,
57,
990,
6899,
1039,
326,
413,
15462,
1607,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
17150,
116,
2537,
110,
51,
222,
338,
222,
338,
17150,
116,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1107,
52,
4205,
28699,
222,
588,
222,
1337,
4741,
5754,
64,
222,
222,
485,
3405,
116,
2537,
110,
51,
1491,
51,
5046,
116,
976,
64,
222,
485,
3405,
116,
2537,
110,
51,
1491,
51,
285,
749,
51,
402,
749,
5964,
56,
55,
87,
12500,
64... | 7,168,743,112,688,782,000 | true | false | false | false | [
1350,
222,
338,
222,
338,
496,
2133,
990,
6899,
1039,
326,
413,
15462,
1607,
222,
588,
222,
842,
6433,
399,
652,
1339,
2041,
9928,
7926,
320,
465,
924,
782,
4468,
1947,
365,
320,
310,
910,
10558,
577,
299,
332,
6458,
884,
310,
2886,... | 5,517,885,889,735,598,000 | true | org/licenses/>.
*/
package generatedobjects;
import axoloti.object.AxoObject;
import axoloti.object.inlet.InletBool32Rising;
import axoloti.object.outlet.OutletFrac32;
import axoloti.object.outlet.OutletFrac32Bipolar;
import axoloti.object.outlet.OutletFrac32Buffer;
import axoloti.object.outlet.OutletInt32;
import ax... | i.object.outlet.OutletFrac32;
import axoloti.object.outlet.OutletFrac32Bipolar;
import axoloti.object.outlet.OutletFrac32Buffer;
import axoloti.object.outlet.OutletInt32;
import axoloti.object.parameter.ParameterInt32Box;
import static generatedobjects.GenTools.writeAxoObject;
/**
*
* @author Johannes Taelman
*/
cl... |
import axoloti.object.outlet.OutletInt32;
import axoloti.object.parameter.ParameterInt32Box;
import static generatedobjects.GenTools.writeAxoObject;
/**
*
* @author Johannes Taelman
*/
class Stochastics extends GenTools {
static void generateAll() {
String catName = "rand";
writeAxoObject(catN... | /**
*
* @author Johannes Taelman
*/
class Stochastics extends GenTools {
static void generateAll() {
String catName = "rand";
writeAxoObject(catName, createRand());
writeAxoObject(catName, createRandTrigger());
writeAxoObject(catName, createRandTriggerI());
// objs.add(Cr... | .add(CreatekNoisePoissonOsc2());
// objs.add(CreatekNoisePoissonOsc3());
// objs.add(CreatekNoisePoissonOsc4());
// objs.add(CreateNoise |
ErrorComponentImpl.java | /FileExtraction/Java_unseen/Etisalat-Egypt_Rodan/src/intruder/ss7/gateway/src/main/java/com/rodan/intruder/ss7/gateway/handler/model/error/ErrorComponentImpl.java | /*
* Etisalat Egypt, Open Source
* Copyright 2021, Etisalat Egypt and individual contributors
* by the @authors tag.
*
* This program is free software: you can redistribute it and/or modify
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation; either version 3... | 4,036 | Java | .java | Etisalat-Egypt/Rodan | 93 | 29 | 1 | 2021-11-29T14:06:49Z | 2022-01-13T08:48:40Z | 5f3505958a914cfdec7eb949a4b4d35f86b69dcb6854fc5ec09ba88fcfe10b07 | [] | [
1127,
222,
338,
535,
28447,
298,
288,
535,
4701,
404,
49,
3944,
6391,
222,
338,
2657,
244,
55,
53,
55,
54,
49,
535,
28447,
298,
288,
535,
4701,
404,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
222,
338,
222,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 973 | [
3499,
45,
671,
6564,
2455,
49,
1964,
28943,
49,
1922,
458,
12306,
3026,
2290,
49,
1922,
458,
12306,
4823,
2894,
49,
4997,
1922,
458,
12306,
37695,
1355,
6202,
49,
1922,
458,
12306,
5632,
14990,
7966,
49,
1922,
458,
12306,
1615,
7966,
... | 3,749,764,476,249,376,000 | true | false | false | false | [
28738,
16671,
5632,
49,
785,
51,
309,
17225,
51,
13210,
29892,
51,
441,
60,
51,
9259,
51,
1585,
51,
1184,
51,
750,
51,
3972,
51,
28738,
16671,
24031,
5632,
40096,
16671,
24031,
5632,
49,
4997,
785,
51,
309,
17225,
51,
13210,
29892,
... | 3,835,155,447,964,441,600 | true | Impl(String remoteAddress, long errorCode, boolean isEmParameterless, boolean isEmExtensionContainer,
boolean isEmFacilityNotSup, boolean isEmSMDeliveryFailure, boolean isEmSystemFailure,
NetworkResource networkResource, com.rodan.intruder.ss7.entities.event.m... | rodan.intruder.ss7.entities.event.model.error.details.AdditionalNetworkResource additionalNetworkResource,
boolean isEmUnknownSubscriber, com.rodan.intruder.ss7.entities.event.model.error.details.UnknownSubscriberDiagnostic unknownSubscriberDiagnostic,
boolean... | error.details.UnknownSubscriberDiagnostic unknownSubscriberDiagnostic,
boolean isEmAbsentSubscriber, com.rodan.intruder.ss7.entities.event.model.error.details.AbsentSubscriberReason absentSubscriberReason,
boolean isEmAbsentSubscriberSM, com.rodan.intruder.ss7... | AbsentSubscriberSM, com.rodan.intruder.ss7.entities.event.model.error.details.AbsentSubscriberDiagnosticSM absentSubscriberDiagnosticSM,
com.rodan.intruder.ss7.entities.event.model.error.details.AbsentSubscriberDiagnosticSM additionalAbsentSubscriberSMDiagnostic,
... | error.details.CallBarringCause callBarringCause,
boolean isEmUnauthorizedLCSClient, com.rodan.intruder.ss7.entities.event.model.error.details.UnauthorizedLCSClientDiagnostic |
SelfMarryAcceptRequest.java | /FileExtraction/Java_unseen/GeorgH93_MarriageMaster/MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Management/Requests/SelfMarryAcceptRequest.java | /*
* Copyright (C) 2022 GeorgH93
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program ... | 4,931 | Java | .java | GeorgH93/MarriageMaster | 102 | 89 | 83 | 2014-02-13T15:21:57Z | 2024-05-07T22:08:51Z | 32ca893ecedad4cff7c7ebe12c7c3075a2ca59c127ee3aa136d7cee95645f34c | [] | [
1127,
222,
338,
280,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
7203,
1107,
77,
62,
56,
222,
338,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
280,
580,
1549,
341,
5974,
451,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
5695,
39113,
768,
64,
222,
485,
840,
51,
1982,
108,
9439,
107,
1268,
120,
51,
5695,
39113,
8801,
51,
982,
17120,
51,
5695,
39113,
8801,
64,
222,
485,
840,
51,
1982,
108,
9439,
107,
1268,
120,
51,
5695,
39113,
8801,
51,
18378,
51,
... | 5,745,931,322,053,743,000 | true | false | false | false | [
3985,
51,
390,
5980,
941,
7724,
459,
402,
3642,
51,
82,
11066,
51,
8183,
51,
5695,
14055,
1912,
47235,
45,
9194,
19484,
51,
19409,
100,
2491,
312,
376,
221,
1454,
8183,
4296,
9406,
2542,
665,
299,
3985,
51,
390,
5980,
941,
7724,
459... | -50,859,225,161,958,060 | true | MarriageData;
import at.pcgamingfreaks.MarriageMaster.Bukkit.MarriageMaster;
import at.pcgamingfreaks.MarriageMaster.Placeholder.Placeholders;
import org.bukkit.Bukkit;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class SelfMarryAcceptRequest extends AcceptPendingRequest... | .bukkit.Bukkit;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class SelfMarryAcceptRequest extends AcceptPendingRequest
{
private static Message messageSelfBroadcastMarriage, messageSelfMarried, messageSelfPlayerCalledOff, messageSelfYouCalledOff, messageSelfPlayerMarryOf... | riage, messageSelfMarried, messageSelfPlayerCalledOff, messageSelfYouCalledOff, messageSelfPlayerMarryOff;
public static void loadMessages(MarriageMaster plugin)
{
messageSelfMarried = plugin.getLanguage().getMessage("Ingame.Marry.Self.Married").placeholders(Placeholders.PLAYER_NAME);
messageSelfYouCal... | plugin.getLanguage().getMessage("Ingame.Marry.Self.Married").placeholders(Placeholders.PLAYER_NAME);
messageSelfYouCalledOff = plugin.getLanguage().getMessage("Ingame.Marry.Self.YouCalledOff");
messageSelfPlayerMarryOff = plugin.getLanguage().getMessage("Ingame.Marry.Self.PlayerOff").placeholders(Placehold... | = plugin.getLanguage().getMessage("Ingame.Marry.Self.PlayerCalledOff").placeholders(Placeholders.PLAYER_NAME);
messageSelfBroadcastMarriage = plugin.getLanguage().getMessage("Ingame.Marry. |
MainActivity.java | /FileExtraction/Java_unseen/emanuele-f_RemoteCapture/app/src/main/java/com/emanuelef/remote_capture/MainActivity.java | /*
This file is part of RemoteCapture.
RemoteCapture is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
RemoteCapture ... | 12,422 | Java | .java | emanuele-f/RemoteCapture | 18 | 3 | 3 | 2019-09-08T20:12:26Z | 2020-01-06T18:17:20Z | 022ae640d0f168caf8224991fa2534f421b05323baadad65e16fb4b9f620299a | [] | [
1127,
303,
1369,
822,
458,
1760,
451,
13598,
11882,
51,
465,
13598,
11882,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
303,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
303,
341,
7834,
3... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
819,
51,
1535,
100,
1090,
312,
343,
339,
832,
320,
419,
461,
640,
6061,
941,
7080,
45,
87,
51,
819,
51,
16707,
100,
1090,
312,
343,
339,
310,
339,
6934,
496,
1806,
310,
581,
648,
640,
1552,
365,
320,
343,
461,
244,
55,
64,
... | 7,844,680,107,694,039,000 | true | false | false | false | [
4340,
17554,
2221,
17554,
299,
327,
42566,
46,
15510,
45,
87,
51,
333,
51,
1850,
100,
1090,
23591,
312,
310,
6697,
17554,
4433,
40110,
4433,
299,
556,
6697,
17554,
4433,
45,
390,
4417,
36955,
1052,
310,
2221,
17554,
51,
43226,
45,
235... | -8,769,289,744,679,316,000 | true | .string.status_view);
} else {
return getResources().getString(R.string.connections_view);
}
}
@Override
public int getCount() {
return 2;
}
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.o... | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mFilterUid = CaptureService.getUidFilter();
mOpenAppsWhenDone = false;
mInstalledApps = null;
mStatusFragment = null;
mConnectionsFragment = null;
CaocConfig.... | = null;
mConnectionsFragment = null;
CaocConfig.Builder.create()
.errorDrawable(R.drawable.ic_app_crash)
.apply();
setContentView(R.layout.main_activity);
ViewPager viewPager = (ViewPager) findViewById(R.id.main_viewpager);
MainPagerAdapter pager... | ViewPager viewPager = (ViewPager) findViewById(R.id.main_viewpager);
MainPagerAdapter pagerAdapter = new MainPagerAdapter(getSupportFragmentManager());
viewPager.setAdapter(pagerAdapter);
mPrefs = PreferenceManager.getDefaultSharedPreferences(this);
if (savedInstanceState!= null) {
... | man = LocalBroadcastManager.getInstance(this);
/* Register for service status */
bcast_man.registerReceiver(new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String status |
TimetableActivity.java | /FileExtraction/Java_unseen/Varun-garg_GBU_Timetables/app/src/main/java/com/varun/gbu_timetables/TimetableActivity.java | package com.varun.gbu_timetables;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.Canvas;
i... | 15,647 | Java | .java | Varun-garg/GBU_Timetables | 9 | 11 | 6 | 2014-04-19T07:44:10Z | 2023-12-02T10:46:42Z | c5e8f887c45dd710c30311c195e4058a56bfc8bf509c1cf706a218389ebf2d03 | [] | [
1337,
785,
51,
887,
330,
51,
108,
716,
100,
1021,
11288,
64,
222,
222,
485,
2616,
51,
12061,
64,
222,
485,
2616,
51,
4341,
51,
10689,
20331,
64,
222,
485,
2616,
51,
1304,
51,
41956,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
22... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1791,
842,
884,
303,
964,
5080,
458,
48931,
2981,
299,
920,
64,
303,
964,
38756,
35321,
36806,
100,
1850,
49,
36806,
100,
14225,
49,
36806,
100,
1791,
842,
49,
36806,
100,
6085,
64,
303,
964,
648,
7533,
100,
4679,
64,
465,
581,
924,... | -8,006,573,713,481,433,000 | true | false | false | false | [
343,
461,
762,
64,
310,
339,
303,
339,
465,
964,
782,
17074,
365,
320,
310,
2379,
299,
31581,
51,
7080,
45,
12736,
100,
6545,
49,
762,
312,
310,
4917,
100,
624,
299,
35202,
51,
23862,
45,
1279,
49,
36566,
4160,
100,
700,
312,
310,... | 3,856,104,185,361,734,000 | true | myclass";
private Boolean isFABOpen = false;
private FloatingActionButton fab_main, fab_fav, fab_myclass, fab_share;
private int saved_theme;
public static File SaveBitmapasPNG(Bitmap bitmap, String dir) {
OutputStream os = null;
try {
File file = new File(dir, "image" + Sys... | bitmap, String dir) {
OutputStream os = null;
try {
File file = new File(dir, "image" + System.currentTimeMillis() + ".png");
os = new FileOutputStream(file);
bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
bitmap.recycle();
return file;
... | .CompressFormat.PNG, 100, os);
bitmap.recycle();
return file;
} catch (IOException e) {
bitmap.recycle();
Log.e("combineImages", "problem combining images", e);
return null;
}
}
private void reload() {
json = prefs.getString(e... |
return null;
}
}
private void reload() {
json = prefs.getString(existing_TAG, null);
existing_data = gson.fromJson(json, favourites_type);
if (existing_data == null)
existing_data = new HashSet<>();
}
public TimeTableBasic getCurrentBasic() {
... | Type");
Long Id = null;
if (Type.equals("Section")) {
Id = getIntent().getExtras().getLong("Section_id");
} else if (Type.equals("Faculty")) {
Id = get |
JsonLocation.java | /FileExtraction/Java_unseen/olvid-io_olvid-android/obv_messenger/app/src/main/java/io/olvid/messenger/databases/entity/jsons/JsonLocation.java | /*
* Olvid for Android
* Copyright © 2019-2024 Olvid SAS
*
* This file is part of Olvid for Android.
*
* Olvid is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* Olvid is d... | 9,584 | Java | .java | olvid-io/olvid-android | 149 | 14 | 16 | 2021-12-31T09:01:02Z | 2024-05-06T19:17:00Z | 209cc5235162387a0688a91014f37485d42314f00474bcbe2f604c7426097f1e | [] | [
1127,
222,
338,
244,
30066,
3866,
456,
8107,
222,
338,
244,
2657,
14416,
244,
55,
53,
54,
62,
50,
55,
53,
55,
57,
30066,
3866,
38245,
222,
338,
222,
338,
244,
1369,
822,
458,
1760,
451,
30066,
3866,
456,
8107,
51,
222,
338,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
485,
3377,
51,
381,
3866,
51,
45345,
51,
87,
64,
222,
485,
3377,
51,
381,
3866,
51,
45345,
51,
3005,
8038,
51,
2941,
10338,
15555,
64,
222,
222,
69,
32164,
3303,
45,
3634,
5850,
299,
878,
46,
222,
942,
462,
5890,
2941,
320,
... | 6,374,393,496,009,976,000 | true | false | false | false | [
100,
34734,
48589,
49,
575,
1931,
4456,
2932,
100,
21333,
100,
24351,
456,
21710,
51,
9286,
456,
11405,
100,
19581,
222,
325,
283,
581,
6374,
21710,
5766,
64,
453,
762,
434,
666,
21710,
327,
728,
347,
6753,
46,
303,
581,
6374,
21710,
... | -2,694,490,144,722,872,300 | true |
import io.olvid.messenger.R;
import io.olvid.messenger.customClasses.LocationShareQuality;
@JsonIgnoreProperties(ignoreUnknown = true)
public class JsonLocation {
@JsonIgnore
public static final int TYPE_SEND = 1;
@JsonIgnore
public static final int TYPE_SHARING = 2;
@JsonIgnore
public static ... | final int TYPE_SEND = 1;
@JsonIgnore
public static final int TYPE_SHARING = 2;
@JsonIgnore
public static final int TYPE_END_SHARING = 3;
// -- message metadata --
public int type;
public long timestamp; // location timestamp
// -- sharing message fields --
public Long count; // nul... | --
public int type;
public long timestamp; // location timestamp
// -- sharing message fields --
public Long count; // null if not sharing
public Integer quality; // one of QUALITY_PRECISE, QUALITY_BALANCED, or QUALITY_POWER_SAVE for sharing. Null for TYPE_SEND
// public Long sharingInterval; //... | _BALANCED, or QUALITY_POWER_SAVE for sharing. Null for TYPE_SEND
// public Long sharingInterval; // null if not sharing (else in ms)
public Long sharingExpiration; // can be null if endless sharing (else in ms)
// -- location --
public double latitude;
public double longitude;
// -- optional meta... | value null)
public String address; // (default value empty string or null)
public JsonLocation() {
}
@JsonIgnore
public JsonLocation(int type, @Nullable Long sharingExpiration, @Nullable LocationShareQuality quality, @ |
GlobalContext.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Admin/src/ims/admin/forms/exportfiledialog/GlobalContext.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 2,670 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 62a1c0deba623a207c742a54817fc81c528fe1af3f9fb9fdbd6679e23ff40d1d | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
57,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
8... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 584 | [
418,
7848,
7763,
51,
244,
2819,
341,
1485,
607,
222,
16802,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5... | 6,325,433,449,748,942,000 | true | false | false | false | [
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
2317,
51,
8543,
51,
1376,
781,
5962,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
222,
942,
1175,
462,
6566,
1237,
2041,
3987,
120,
51,
2863,
51,
1260,... | 5,431,010,917,342,637,000 | true | A PARTICULAR PURPOSE. See the #
//# GNU Affero General Public License for more details. #
//# #
//# You should have received a copy of the GNU Affero General Public License #
//# along with this program. If n... | program. If not, see <http://www.gnu.org/licenses/>. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80... | version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.admin.forms.exportfiledialog;
import java.io.Serializable;
public final class GlobalContext extends ims.framework.FormContext implements Serializable
{
private st... | NOT MODIFY the content of this file
package ims.admin.forms.exportfiledialog;
import java.io.Serializable;
public final class GlobalContext extends ims.framework.FormContext implements Serializable
{
private static final long serialVersionUID = 1L;
public GlobalContext(ims.framework.Context context)
{
super(c... | class CoreContext implements Serializable
{
private static final long serialVersionUID = 1L;
private CoreContext(ims.framework.Context context)
{
this.context = context;
}
public |
CorrespondenceDetails.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Correspondence/src/ims/correspondence/domain/CorrespondenceDetails.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 5,142 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | ce6c57ebfaa182091c94e454f33973610e4463e2360004964135f70ef9650ec7 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
57,
67,
244,
350,
2348,
88,
7490,
2348,
88,
67,
22768,
607,
222,
16802,
42053,
607,
222,
16802,
244,
1369,
3477,
458,
3760,
2951,
63,
8... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
120,
51,
2103,
51,
10138,
3245,
12536,
4368,
15241,
46,
2589,
3987,
120,
51,
4136,
51,
11453,
51,
5048,
3058,
1002,
49,
3987,
120,
51,
4136,
51,
11453,
51,
520,
1572,
976,
1002,
49,
3987,
120,
51,
4136,
51,
11453,
51,
10186,
971,
... | 1,377,556,454,885,677,600 | true | false | false | false | [
9180,
39214,
2365,
312,
499,
221,
325,
13046,
664,
2252,
5900,
2586,
5658,
222,
221,
1350,
222,
221,
47,
640,
37174,
3916,
4261,
222,
221,
1975,
222,
221,
942,
3987,
120,
51,
1284,
51,
2103,
51,
26831,
1167,
12536,
640,
26831,
1167,
... | -7,460,063,803,994,939,000 | true | s.vo.LookupInstVo pasEventType) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException;
// Generated from form domain interface definition
/**
* list Signatories (Consultants and NCHDs)
*/
public ims.core.vo.MedicLiteVoC... | from form domain interface definition
/**
* list Signatories (Consultants and NCHDs)
*/
public ims.core.vo.MedicLiteVoCollection listSignatories(String medicName);
// Generated from form domain interface definition
/**
* list referral GPs
*/
public ims.core.vo.GpShortVoCollection listReferralGps(ims.core.vo.... |
// Generated from form domain interface definition
/**
* list referral GPs
*/
public ims.core.vo.GpShortVoCollection listReferralGps(ims.core.vo.GP voGpFilter);
// Generated from form domain interface definition
/**
* get PAS Event details
*/
public ims.core.vo.PasEventVo getPasEvent(ims.core.admin.pas.vo.... | voGpFilter);
// Generated from form domain interface definition
/**
* get PAS Event details
*/
public ims.core.vo.PasEventVo getPasEvent(ims.core.admin.pas.vo.PASEventRefVo pasEventRefVo);
// Generated from form domain interface definition
/**
* get the report query and template selected
*/
public String[]... | ReportId, Integer nTemplateIs) throws ims.domain.exceptions.DomainInterfaceException;
// Generated from form domain interface definition
/**
* get document report query to retrieve
*/
public ims. |
MsgDemoMapDao.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/main/java/org/oscarehr/common/dao/MsgDemoMapDao.java | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | 4,659 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | 87086b58174168a66b8c9abdfcc6661ddc2ba0871baaa6687cdc6f3d311de496 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
55,
51,
24481,
451,
37865,
14340,
32703,
49,
22545,
8801,
11451,
51,
3381,
12902,
11921,
51,
222,
338,
1369,
2951,
458,
9582,
1549,
341,
23508,
6994,
6153,
5... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2042,
46,
320,
3281,
453,
4314,
7998,
50,
6413,
1431,
11674,
376,
221,
671,
5576,
299,
332,
9077,
17596,
11576,
1225,
2010,
49,
4587,
30602,
364,
332,
494,
621,
221,
39,
17013,
364,
51,
333,
299,
2010,
51,
1454,
798,
332,
494,
621,
... | 845,681,882,873,980,300 | true | false | false | false | [
494,
621,
221,
39,
17013,
364,
51,
333,
299,
2010,
51,
1454,
798,
332,
494,
621,
221,
39,
3362,
2010,
51,
6418,
14166,
100,
1365,
299,
518,
6418,
2042,
332,
494,
621,
221,
39,
3362,
364,
51,
700,
299,
518,
700,
17062,
6944,
364,
... | 1,698,325,055,466,084,400 | true | No) {
// TODO Auto-generated method stub
String sql = "FROM MsgDemoMap map, MessageTbl m " +
"WHERE m.id = map.messageID " +
"AND map.demographic_no = :demoNo " +
"ORDER BY m.date DESC, m.id DESC";
Query query = entityManager.createQuery(sql);
query.setParameter("demoNo", demoNo);
return query.... | _no = :demoNo " +
"ORDER BY m.date DESC, m.id DESC";
Query query = entityManager.createQuery(sql);
query.setParameter("demoNo", demoNo);
return query.getResultList();
}
public List<Object[]> getMapAndMessagesByDemographicNoAndType(Integer demoNo, Integer type) {
String sql = "... | query.getResultList();
}
public List<Object[]> getMapAndMessagesByDemographicNoAndType(Integer demoNo, Integer type) {
String sql = "FROM MsgDemoMap map, MessageTbl m " +
"WHERE m.id = map.messageID " +
"AND map.demographic_no = :demoNo " +
"AND m.type = :type ORDER BY m.da... | +
"WHERE m.id = map.messageID " +
"AND map.demographic_no = :demoNo " +
"AND m.type = :type ORDER BY m.date DESC, m.id DESC";
Query query = entityManager.createQuery(sql);
query.setParameter("demoNo", demoNo);
query.setParameter("type", type);
return query.getResultList();
}
... | remove(Integer messageID, Integer demographicNo ) {
String sql = "select x from MsgDemoMap x where x.messageID = :id and x.demographic_no = :demoNo";
Query query = entityManager |
MemoryMonitor.java | /FileExtraction/Java_unseen/corretto_corretto-11/test/hotspot/jtreg/vmTestbase/nsk/monitoring/share/MemoryMonitor.java | /*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 68,642 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | e617c002f963e6e184336752aaa77870e9ad3545f2481cca817d7dd4c75be36f | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
56,
49,
244,
55,
53,
54,
61,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
462,
41960,
4712,
32530,
391,
341,
222,
338,
350,
707,
67,
5030,
11747,
5358,
396,
707,
67,
327,
290,
350,
707,
67,
5030,
4227,
11747,
5358,
396,
707,
5111,
2586,
51,
1691,
222,
338,
350,
707,
13115,
881,
2116,
366,
7241,
651,
14287... | 7,279,389,657,051,572,000 | true | false | false | false | [
11366,
8538,
51,
2643,
15116,
4137,
4706,
1118,
545,
15659,
64,
456,
3000,
14338,
303,
453,
847,
6052,
1118,
545,
3906,
64,
456,
11188,
847,
790,
4354,
327,
5754,
1118,
545,
303,
453,
15659,
480,
6052,
1118,
545,
3906,
566,
303,
581,
... | 4,701,283,303,706,038,000 | true | class redirects invocations to the
* <code>MemoryMXBean</code> (or <code>MemoryPoolMXBean</code>) interface. If
* <code>-testMode="directly"</code> option is set, this instance directly
* invokes corresponding method of the <code>MemoryMXBean</code> (or
* <code>MemoryPoolMXBean</code>) interface. If <code>-testMod... | instance directly
* invokes corresponding method of the <code>MemoryMXBean</code> (or
* <code>MemoryPoolMXBean</code>) interface. If <code>-testMode="server"</code>
* option is set it will make invocations via MBeanServer.
*
* @see ArgumentHandler
*/
public class MemoryMonitor extends Monitor implements Notifica... | it will make invocations via MBeanServer.
*
* @see ArgumentHandler
*/
public class MemoryMonitor extends Monitor implements NotificationListener,
NotificationFilter {
// Constants to define type of memory that will be allocated in
// MemoryMonitor. For heap memory objects will be allocated; for non... | MemoryMonitor. For heap memory objects will be allocated; for nonheap
// type classes will be loaded; for mixed type -- both (objects will be
// allocated and classes will be loaded).
public final static String HEAP_TYPE = "heap";
public final static String NONHEAP_TYPE = "nonheap";
public final st... | "Type";
private final static String POOL_RESET_PEAK = "resetPeakUsage";
private final static String POOL_PEAK = "PeakUsage";
private final static String POOL_VALID = "Valid";
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.