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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RegistryMultipleResultException_Exception.java | /FileExtraction/Java_unseen/link-it_govway/tools/ws/registry/client/src/org/openspcoop2/core/registry/ws/client/soggetto/search/RegistryMultipleResultException_Exception.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,483 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | f76d921de26d94b4494ec750bfb5aa98cb140036b2ffdc468df1fcb715b1fe27 | [] | [
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,... | 643 | [
574,
1516,
51,
1693,
438,
352,
539,
55,
51,
1107,
52,
1284,
52,
8205,
52,
9343,
678,
222,
942,
462,
20718,
11727,
1413,
1002,
100,
1002,
2041,
3284,
320,
465,
1041,
376,
338,
4517,
588,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
... | -2,695,346,580,347,404,000 | true | false | false | false | [
1002,
100,
1002,
45,
671,
1492,
49,
1105,
51,
1693,
438,
352,
539,
55,
51,
1284,
51,
8205,
51,
3624,
51,
1598,
51,
780,
108,
33359,
51,
1925,
51,
5389,
11727,
1413,
1002,
10886,
11727,
1413,
1002,
46,
320,
310,
2615,
45,
1454,
312... | 8,137,839,835,369,042,000 | true | ://www.openspcoop2.org/core/registry/management")
public class RegistryMultipleResultException_Exception extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
private org.openspcoop2.core.registry.ws.client.soggetto.search.RegistryMultipleResultException registryMultipleResultExcepti... | org.openspcoop2.core.registry.ws.client.soggetto.search.RegistryMultipleResultException registryMultipleResultException;
public RegistryMultipleResultException_Exception() {
super();
}
public RegistryMultipleResultException_Exception(String message) {
super(message);
}
public Reg... | ResultException_Exception(String message) {
super(message);
}
public RegistryMultipleResultException_Exception(String message, java.lang.Throwable cause) {
super(message, cause);
}
public RegistryMultipleResultException_Exception(String message, org.openspcoop2.core.registry.ws.client.... | Exception_Exception(String message, org.openspcoop2.core.registry.ws.client.soggetto.search.RegistryMultipleResultException registryMultipleResultException) {
super(message);
this.registryMultipleResultException = registryMultipleResultException;
}
public RegistryMultipleResultException_Excepti... | Exception, java.lang.Throwable cause) {
super(message, cause);
this.registryMultipleResultException = registryMultipleResultException;
}
public org.openspcoop2.core.registry.ws.client. |
SpecimenCollectionClinicImpl.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/OCRR/src/ims/ocrr/domain/impl/SpecimenCollectionClinicImpl.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 7,236 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | ca4471bb99134dfaf40f978bd33e0d30d340c5b43741fcb968f295627bc48e04 | [] | [
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 | [
3252,
11613,
9128,
376,
588,
222,
221,
942,
3987,
120,
51,
1284,
51,
2103,
51,
18754,
6881,
2272,
3252,
11613,
9128,
45,
16178,
51,
1284,
51,
2103,
51,
18754,
2365,
2785,
46,
2589,
3987,
120,
51,
4136,
51,
11453,
51,
5048,
3058,
100... | -4,539,050,061,999,536,000 | true | false | false | false | [
638,
630,
762,
46,
374,
221,
5267,
556,
41942,
19296,
459,
11400,
640,
244,
6582,
25457,
3003,
12866,
456,
762,
1701,
638,
742,
4102,
221,
7119,
24303,
299,
556,
5068,
492,
376,
221,
7119,
2102,
244,
299,
556,
5068,
492,
4102,
221,
... | -4,788,888,175,278,056,000 | true | searchPatients
*/
public ims.core.vo.PatientShortCollection searchPatients(ims.core.vo.PatientFilter filter) throws ims.domain.exceptions.DomainInterfaceException
{
PatientSearch patientSearch = (PatientSearch) getDomainImpl(PatientSearchImpl.class);
return patientSearch.searchPatients(filter);
}
public Sp... | patientSearch = (PatientSearch) getDomainImpl(PatientSearchImpl.class);
return patientSearch.searchPatients(filter);
}
public SpecimenWorkListItemListVoCollection listWorkListItems(Integer patientId, SpecimenCollectionMethod listType, SpecimenCollectionStatus status)
{
if (patientId == null)
throw new Codi... | , SpecimenCollectionMethod listType, SpecimenCollectionStatus status)
{
if (patientId == null)
throw new CodingRuntimeException("Cannot get SpecimenWorkListItem for null patientId");
if (listType == null)
throw new CodingRuntimeException("Cannot get SpecimenWorkListItem for null ListType");
ArrayList... | Type == null)
throw new CodingRuntimeException("Cannot get SpecimenWorkListItem for null ListType");
ArrayList markers = new ArrayList();
ArrayList values = new ArrayList();
StringBuffer hql = new StringBuffer(" select sp from SpecimenWorkListItem as sp left join sp.specimen as spec left join spec.orde... | Details as dftDetails left join dftDetails.patient as dftPat");
String sqlClause = " where ";
if(patientId!= null)
{
hql.append(sqlClause);
|
MinimaxAlgorithmusTaktikTest.java | /FileExtraction/Java_unseen/DokChess_dokchess/src/test/java/de/dokchess/engine/suche/MinimaxAlgorithmusTaktikTest.java | /*
* Copyright (c) 2010-2021 Stefan Zoerner
*
* This file is part of DokChess.
*
* DokChess 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 la... | 2,529 | Java | .java | DokChess/dokchess | 13 | 2 | 2 | 2014-12-19T18:36:48Z | 2023-02-01T04:00:51Z | 117ce6aa198b6222e89dccf38940b546b69247447226cea131eee291cca8ac0a | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
53,
50,
55,
53,
55,
54,
6678,
20322,
2538,
116,
284,
1403,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
493,
1273,
10193,
441,
51,
222,
338,
222,
338,
493,
1273,
10193,
441,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
451,
341,
1196,
49,
575,
222,
338,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
493,
1273,
10193,
441,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
44... | -4,558,741,054,675,955,000 | true | false | false | false | [
483,
47335,
285,
51,
95,
905,
64,
222,
485,
428,
51,
34521,
36064,
51,
3502,
51,
103,
412,
600,
3292,
51,
454,
501,
6347,
71,
412,
600,
3292,
64,
222,
485,
428,
51,
34521,
36064,
51,
287,
319,
2517,
51,
2061,
2184,
691,
287,
319... | -1,161,795,677,362,035,500 | true | of the License, or
* (at your option) any later version.
*
* DokChess 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... | 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 DokChess. If not, see <http://www.gnu.org/licenses/>.
*/
package de.dokchess.engine.suche;
import de.dokchess.allgemein... | see <http://www.gnu.org/licenses/>.
*/
package de.dokchess.engine.suche;
import de.dokchess.allgemein.Stellung;
import de.dokchess.allgemein.Zug;
import de.dokchess.engine.bewertung.ReineMaterialBewertung;
import de.dokchess.regeln.DefaultSpielregeln;
import org.junit.Assert;
import org.junit.Before;
import org.jun... | allgemein.Zug;
import de.dokchess.engine.bewertung.ReineMaterialBewertung;
import de.dokchess.regeln.DefaultSpielregeln;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import static de.dokchess.allgemein.Felder.*;
/**
* Tests fuer verschiedene t | aktische Elemente im Schach.
*
* @author StefanZ
*/
public class MinimaxAlgorithmusTaktikTest {
private MinimaxAlgorithmus algorithmus;
@Before
public void setup() |
BasicGraph.java | /FileExtraction/Java_unseen/cmu-phil_tetrad/tetrad-lib/src/main/java/edu/cmu/tetrad/study/gene/tetrad/gene/algorithm/util/BasicGraph.java | ///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015, 2022 by Peter Spirtes, Richard //
... | 10,226 | Java | .java | cmu-phil/tetrad | 386 | 111 | 10 | 2015-10-27T18:28:22Z | 2024-05-09T00:34:22Z | 092823206c30566fb637c12df2f7bb7e6d9a0e2c4231e9e4398b44ae53496552 | [] | [
40584,
222,
325,
2643,
2490,
641,
391,
2794,
477,
462,
1976,
49,
2337,
341,
990,
20888,
49,
4834,
51,
981,
453,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
61,
49,
244,
54,
62,
62,
62,
49,
244,
55,
53,
53,
53,
49,
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 | [
496,
1687,
417,
625,
63,
417,
625,
222,
588,
222,
942,
5560,
462,
9280,
3418,
320,
465,
1041,
294,
338,
3286,
451,
477,
4023,
1319,
294,
588,
303,
2532,
910,
4023,
577,
64,
465,
1041,
294,
338,
5132,
451,
5193,
294,
588,
303,
2532... | 8,099,136,652,163,716,000 | true | false | false | false | [
581,
9280,
3418,
45,
671,
504,
577,
49,
648,
329,
46,
320,
310,
434,
327,
115,
2527,
244,
53,
46,
320,
343,
1440,
556,
12134,
459,
3828,
607,
5193,
332,
494,
329,
312,
310,
339,
310,
477,
51,
2275,
577,
299,
504,
577,
64,
310,
... | 4,954,931,572,173,303,000 | true | @version $Id: $Id
*/
public abstract class BasicGraph {
/**
* Name of this graph object
*/
protected String graphName;
/**
* Number of nodes
*/
protected int nNodes;
/**
* Node names
*/
protected String[] nodeNames;
/**
* Total number of edges in the ... |
* Node names
*/
protected String[] nodeNames;
/**
* Total number of edges in the graph
*/
protected int nEdges;
/**
* Default constructor
*/
protected BasicGraph() {
}
/**
* Creates a graph with <code>gName</code> name, and <code>n</code> nodes.
*
... |
* Creates a graph with <code>gName</code> name, and <code>n</code> nodes.
*
* @param gName name of the graph
* @param n number of nodes
*/
public BasicGraph(String gName, int n) {
if (n <= 0) {
throw new IllegalArgumentException("Invalid # nodes " + n);
}
... | public BasicGraph(String gName, int n) {
if (n <= 0) {
throw new IllegalArgumentException("Invalid # nodes " + n);
}
this.graphName = gName;
this.nNodes = n;
this.nEdges = 0;
this.nodeNames = new String[n];
for (int i = 0; i < n; i++) {
th... | + i;
}
this.initializeEdges();
}
/**
* Creates a Graph reading it from file <code>fname</code>. The file has to be an ascii one and follow a particular
* format:<p> * |
WorldDataManager.java | /FileExtraction/Java_unseen/oliverlez22_Grasscutters2_8_5/src/main/java/emu/grasscutter/game/world/WorldDataManager.java | package emu.grasscutter.game.world;
import com.google.gson.reflect.TypeToken;
import emu.grasscutter.Grasscutter;
import emu.grasscutter.data.DataLoader;
import emu.grasscutter.data.GameData;
import emu.grasscutter.data.excels.InvestigationMonsterData;
import emu.grasscutter.data.excels.RewardPreviewData;
import emu.g... | 6,045 | Java | .java | oliverlez22/Grasscutters2.8.5 | 12 | 24 | 0 | 2022-07-14T16:43:29Z | 2022-07-14T16:56:33Z | f41969ffdbcaaa3eecb0a571d435cd62255801da4f7b601c5d8fbaefc271de56 | [] | [
1337,
2667,
122,
51,
791,
369,
104,
4681,
51,
3642,
51,
5879,
64,
222,
222,
485,
785,
51,
2193,
51,
19968,
51,
9069,
51,
638,
1781,
64,
222,
485,
2667,
122,
51,
791,
369,
104,
4681,
51,
4863,
369,
104,
4681,
64,
222,
485,
2667,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
8263,
64,
222,
222,
942,
462,
10914,
42549,
320,
303,
964,
1175,
6067,
2077,
4... | 7,758,206,765,019,369,000 | true | false | false | false | [
465,
581,
13436,
782,
2480,
44808,
1081,
365,
320,
310,
453,
758,
341,
7472,
8308,
289,
1950,
310,
477,
51,
1075,
289,
47202,
1985,
1225,
51,
543,
459,
7320,
3287,
100,
44808,
100,
2151,
7298,
411,
556,
11547,
441,
44808,
47202,
1985,... | -7,621,695,144,931,780,000 | true | .util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;
public class WorldDataManager {
private final GameServer gameServer;
private final Map<String, ChestInteractHandler> chestInteractHandlerMap; // chestType-Handler
private final Map<String, SceneGroup>... | Map<String, ChestInteractHandler> chestInteractHandlerMap; // chestType-Handler
private final Map<String, SceneGroup> sceneInvestigationGroupMap; // <sceneId_groupId, Group>
public WorldDataManager(GameServer gameServer) {
this.gameServer = gameServer;
this.chestInteractHandlerMap = new HashMa... | (GameServer gameServer) {
this.gameServer = gameServer;
this.chestInteractHandlerMap = new HashMap<>();
this.sceneInvestigationGroupMap = new ConcurrentHashMap<>();
this.loadChestConfig();
}
public synchronized void loadChestConfig() {
// set the special chest first
... |
public synchronized void loadChestConfig() {
// set the special chest first
this.chestInteractHandlerMap.put("SceneObj_Chest_Flora", new BossChestInteractHandler());
try (InputStream is = DataLoader.load("ChestReward.json"); InputStreamReader isr = new InputStreamReader(is)) {
... | List.class, ChestReward.class).getType());
chestReward.forEach(reward ->
reward.getObjNames().forEach(
name -> this.chestInteractHandlerMap.putIfAbsent(name, new NormalChest |
TestHeapSummaryCommittedSize.java | /FileExtraction/Java_unseen/AdoptOpenJDK_openjdk-aarch64-jdk8u/jdk/test/jdk/jfr/event/gc/heapsummary/TestHeapSummaryCommittedSize.java | /*
* Copyright (c) 2013, 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 ... | 3,499 | Java | .java | AdoptOpenJDK/openjdk-aarch64-jdk8u | 13 | 45 | 0 | 2020-07-16T16:13:20Z | 2021-09-29T14:47:41Z | d29f99d9634d7c2427eab7e5909c789992ed663d2a30d9942e125cc1bccf01a5 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
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,... | 952 | [
881,
222,
338,
496,
697,
614,
2197,
222,
338,
222,
338,
222,
338,
496,
5261,
536,
1379,
536,
222,
338,
496,
1848,
15315,
51,
8156,
7529,
51,
11076,
1723,
222,
338,
496,
1967,
2594,
1727,
991,
30582,
15315,
51,
8156,
7529,
51,
11076,... | -2,418,706,396,867,160,000 | true | false | false | false | [
465,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
310,
9807,
318,
23106,
299,
556,
9807,
318,
492,
310,
23106,
51,
4909,
45,
8062,
100,
2491,
566,
1814,
10699,
45,
6203,
51,
1048,
10909,
45,
53,
894,
603,
23106,
... | 1,710,118,391,674,049,800 | true | test
* @key jfr
*
*
* @library /lib /
* @build sun.hotspot.WhiteBox
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -XX:+UnlockExperimentalVMOptions
-XX:-UseFastUnorderedTimeStamps -Xmx16m -XX:+UseParallelGC
-Xbootclasspath/a:. -XX:+UnlockDiagnost... | othervm -XX:+UnlockExperimentalVMOptions
-XX:-UseFastUnorderedTimeStamps -Xmx16m -XX:+UseParallelGC
-Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
jdk.jfr.event.gc.heapsummary.TestHeapSummaryCommittedSize
*/
public class TestHeapSummar... | BoxAPI
jdk.jfr.event.gc.heapsummary.TestHeapSummaryCommittedSize
*/
public class TestHeapSummaryCommittedSize {
private final static String EVENT_NAME = EventNames.GCHeapSummary;
public static void main(String[] args) throws Exception {
Recording recording = new Recording();
... |
public static void main(String[] args) throws Exception {
Recording recording = new Recording();
recording.enable(EVENT_NAME).withThreshold(Duration.ofMillis(0));
recording.start();
System.gc();
recording.stop();
boolean isAnyFound = false;
for (RecordedEv... | (event, EVENT_NAME)) {
continue;
}
isAnyFound = true;
CommittedHeapSizeVerifier verifier = new CommittedHeapSizeVerifier(event);
verifier.verify();
}
Asserts.assertTrue( |
StylePanelController.java | /FileExtraction/Java_unseen/TheHortonMachine_hortonmachine/apps/src/main/java/org/hortonmachine/nww/gui/style/StylePanelController.java | package org.hortonmachine.nww.gui.style;
import java.awt.Color;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import java.util.HashMap;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JColorChooser;
import javax.swing.Swing... | 7,332 | Java | .java | TheHortonMachine/hortonmachine | 41 | 25 | 26 | 2014-01-23T08:03:52Z | 2024-05-09T08:02:50Z | 1f904cfbed9027dd459e020e77e9b53a011144c8d6b21dd2f63ecdd5d28679b6 | [] | [
1337,
1105,
51,
29036,
286,
8706,
51,
115,
970,
51,
8472,
51,
1639,
64,
222,
222,
485,
1401,
51,
8236,
51,
1530,
64,
222,
485,
1401,
51,
8236,
51,
1684,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
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 | [
8706,
51,
115,
970,
51,
8367,
51,
10520,
51,
83,
970,
2880,
4789,
64,
222,
485,
1105,
51,
29036,
286,
8706,
51,
115,
970,
51,
8367,
51,
10520,
51,
83,
970,
2880,
4789,
51,
3076,
5664,
2333,
64,
222,
485,
1105,
51,
29036,
286,
87... | -6,065,533,484,752,913,000 | true | false | false | false | [
332,
53,
51,
60,
411,
332,
53,
51,
61,
411,
332,
53,
51,
62,
411,
332,
54,
51,
53,
411,
1487,
465,
964,
508,
970,
2880,
4789,
5458,
64,
465,
964,
23501,
2222,
1611,
2222,
299,
556,
23501,
2222,
459,
53,
51,
53,
742,
303,
964,
... | -6,179,156,325,529,371,000 | true | machine.nww.layers.defaults.NwwVectorLayer;
import org.hortonmachine.nww.layers.defaults.NwwVectorLayer.GEOMTYPE;
import org.hortonmachine.style.SimpleStyle;
import gov.nasa.worldwind.render.markers.BasicMarkerShape;
public class StylePanelController extends StylePanelView {
private static final String[] TYPES =... | ;
import gov.nasa.worldwind.render.markers.BasicMarkerShape;
public class StylePanelController extends StylePanelView {
private static final String[] TYPES = new String[] { "SPHERE", "CUBE", "CONE" };
private static String[] opacities =
new String[] { "0.1", "0.2", "0.3", "0.4", "0.5", "0.6", "0.7",... | ", "CONE" };
private static String[] opacities =
new String[] { "0.1", "0.2", "0.3", "0.4", "0.5", "0.6", "0.7", "0.8", "0.9", "1.0", };
private NwwVectorLayer layer;
private DecimalFormat oneFormat = new DecimalFormat("0.0");
private SimpleStyle style;
private HashMap<String, String> sh... | "0.7", "0.8", "0.9", "1.0", };
private NwwVectorLayer layer;
private DecimalFormat oneFormat = new DecimalFormat("0.0");
private SimpleStyle style;
private HashMap<String, String> shapeMap;
public StylePanelController(NwwVectorLayer layer) {
this.layer = layer;
init();
}
... | shapeMap.put(TYPES[0], BasicMarkerShape.SPHERE);
shapeMap.put(TYPES[1], BasicMarkerShape.CUBE);
shapeMap.put(TYPES[2], BasicMarkerShape.CONE);
|
DirectBufferPool.java | /FileExtraction/Java_unseen/wikimedia_wikidata-query-blazegraph/bigdata-core/bigdata/src/java/com/bigdata/io/DirectBufferPool.java | package com.bigdata.io;
import java.nio.ByteBuffer;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import ja... | 35,514 | Java | .java | wikimedia/wikidata-query-blazegraph | 15 | 3 | 0 | 2015-05-18T20:35:30Z | 2020-04-03T16:18:14Z | 77d68d06b81fcd023184fb17fcb56ef2008a6b2f871e0ddffd0b9b51b5f205b7 | [] | [
1337,
785,
51,
7400,
624,
51,
735,
64,
222,
222,
485,
1401,
51,
11780,
51,
21042,
64,
222,
485,
1401,
51,
1058,
51,
4293,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
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 | [
14664,
2012,
331,
222,
338,
14019,
3129,
15659,
664,
477,
6937,
480,
1636,
341,
3129,
458,
3173,
222,
338,
439,
7996,
2143,
391,
341,
3105,
1222,
457,
2030,
8095,
130,
456,
813,
641,
2840,
2886,
3337,
327,
285,
222,
338,
1532,
1152,
... | 2,642,761,651,357,142,500 | true | false | false | false | [
4137,
708,
863,
1178,
15659,
9302,
2806,
1018,
4877,
580,
391,
341,
7565,
15116,
51,
222,
338,
1676,
338,
496,
2987,
1930,
574,
20757,
51,
9886,
51,
527,
52,
1468,
4617,
52,
1090,
100,
1468,
51,
1428,
64,
111,
2867,
333,
66,
61,
1... | -5,789,409,987,564,087,000 | true | copied into a
* temporary buffer allocated from this pool and then the buffer is either
* handed off to the {@link IBufferStrategy} for use as its write cache (in
* which case the {@link TemporaryRawStore} holds a reference to the buffer and
* releases it back to those pool when it is finalized) or the buffer is
... | a reference to the buffer and
* releases it back to those pool when it is finalized) or the buffer is
* immediately released back to this pool.
* <p>
* Note: Precisely because of the bug which motivates this class, we DO NOT
* release buffers back to the JVM. This means that the size of a
* {@link DirectBufferPo... | motivates this class, we DO NOT
* release buffers back to the JVM. This means that the size of a
* {@link DirectBufferPool} can only increase, but at least you get to (re-)use
* the memory that you have allocated rather than leaking it to the native heap.
*
* @see http://bugs.sun.com/bugdatabase/view_bug.do;jses... | memory that you have allocated rather than leaking it to the native heap.
*
* @see http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=8f
* ab76d1d4479fffffffffa5abfb09c719a30?bug_id=6210541
*
* @author <a href="mailto:thompsonbry | @users.sourceforge.net">Bryan Thompson</a>
* @version $Id$
*
* @todo It should be possible to define a method which attempts to release
* direct buffers back to the JVM |
Chapter.java | /FileExtraction/Java_unseen/schyjxy_MyCimoc/app/src/main/java/com/haleydu/cimoc/model/Chapter.java | package com.haleydu.cimoc.model;
import android.os.Parcel;
import android.os.Parcelable;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
/**
* Created by Hiroshi on... | 5,055 | Java | .java | schyjxy/MyCimoc | 12 | 0 | 2 | 2023-04-27T10:35:59Z | 2023-12-06T13:44:39Z | c1f13da94aa84c40b6fb4cb6e4fc5b2455abb10bb37cd36e2ac1725c83106d35 | [] | [
1337,
785,
51,
109,
1572,
126,
1815,
51,
104,
468,
561,
51,
1184,
64,
222,
222,
485,
2616,
51,
519,
51,
18402,
64,
222,
485,
2616,
51,
519,
51,
38258,
64,
222,
222,
485,
1105,
51,
6583,
10535,
51,
5013,
435,
3370,
51,
4341,
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 | [
49,
1922,
6179,
49,
1922,
5844,
49,
1964,
14226,
49,
910,
1932,
1582,
46,
320,
310,
477,
51,
333,
299,
828,
64,
310,
477,
51,
1876,
1251,
314,
299,
1932,
1251,
314,
64,
310,
477,
51,
1333,
299,
1799,
64,
310,
477,
51,
1005,
299,... | 6,841,656,409,388,699,000 | true | false | false | false | [
31091,
365,
320,
303,
339,
465,
581,
910,
640,
3188,
365,
320,
310,
461,
1799,
64,
303,
339,
465,
581,
910,
42433,
365,
320,
310,
461,
1536,
64,
303,
339,
465,
581,
648,
640,
1552,
365,
320,
310,
461,
2409,
64,
303,
339,
465,
58... | -4,607,116,174,562,619,000 | true | , boolean complete, boolean download, long tid, String sourceGroup) {
this.id = id;
this.sourceComic = sourceComic;
this.title = title;
this.path = path;
this.count = count;
this.complete = complete;
this.download = download;
this.tid = tid;
this.s... | count = count;
this.complete = complete;
this.download = download;
this.tid = tid;
this.sourceGroup = sourceGroup;
}
public String getSourceGroup() {
return sourceGroup == null? "" : sourceGroup;
}
public void setSourceGroup(String sourceGroup) {
this.so... | ? "" : sourceGroup;
}
public void setSourceGroup(String sourceGroup) {
this.sourceGroup = sourceGroup;
}
@Generated(hash = 393170288)
public Chapter() {
}
public String getTitle() {
return title;
}
public String getPath() {
return path;
}
public i... | Chapter() {
}
public String getTitle() {
return title;
}
public String getPath() {
return path;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public boolean isComplete() {
return com... | {
return download;
}
public void setDownload(boolean download) {
this.download = download;
}
public long getTid() {
return tid;
}
public void setTid(long tid) {
|
PainSeverityCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/nursing/vo/lookups/PainSeverityCollection.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 4,805 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | bbfc40e471d9be89817404caef9e004f0e7623d8216a03a8c7d164e5f1a58fa4 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
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 | [
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
58,
61,
62,
51,
55,
58,
61,
54,
57,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
58,
457,
2758,
7490,
2348,
88,
51,
338... | -2,360,150,214,618,333,700 | true | false | false | false | [
9393,
1262,
222,
128,
222,
221,
2072,
924,
1175,
1964,
19896,
299,
244,
54,
81,
64,
222,
221,
942,
782,
1035,
45,
85,
524,
22410,
804,
46,
222,
221,
128,
376,
221,
5282,
51,
688,
45,
872,
312,
222,
221,
130,
222,
221,
942,
648,
... | -7,724,761,949,870,257,000 | true | using IMS Development Environment (version 1.80 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.nursing.vo.lookups;
import ims.framework.cn.data.TreeModel;
import ims.framework.cn.data.TreeNode;
import ims.vo.LookupInstanceC... | .
// WARNING: DO NOT MODIFY the content of this file
package ims.nursing.vo.lookups;
import ims.framework.cn.data.TreeModel;
import ims.framework.cn.data.TreeNode;
import ims.vo.LookupInstanceCollection;
import ims.vo.LookupInstVo;
public class PainSeverityCollection extends LookupInstanceCollection implements ims.v... | .data.TreeNode;
import ims.vo.LookupInstanceCollection;
import ims.vo.LookupInstVo;
public class PainSeverityCollection extends LookupInstanceCollection implements ims.vo.ImsCloneable, TreeModel
{
private static final long serialVersionUID = 1L;
public void add(PainSeverity value)
{
super.add(value);
}
public i... | TreeModel
{
private static final long serialVersionUID = 1L;
public void add(PainSeverity value)
{
super.add(value);
}
public int indexOf(PainSeverity instance)
{
return super.indexOf(instance);
}
public boolean contains(PainSeverity instance)
{
return indexOf(instance) >= 0;
}
public Pain | Severity get(int index)
{
return (PainSeverity)super.getIndex(index);
}
public void remove(PainSeverity instance)
{
if(instance!= null)
|
DataSchemaServiceImpl.java | /FileExtraction/Java_unseen/En-Query_EncryptedQuery/responder/data/src/main/java/org/enquery/encryptedquery/responder/data/service/impl/DataSchemaServiceImpl.java | /*
* EncryptedQuery is an open source project allowing user to query databases with queries under
* homomorphic encryption to securing the query and results set from database owner inspection.
* Copyright (C) 2018 EnQuery LLC
*
* This program is free software: you can redistribute it and/or modify it under the ter... | 6,325 | Java | .java | En-Query/EncryptedQuery | 9 | 2 | 19 | 2018-01-02T13:05:24Z | 2022-12-21T18:50:56Z | 98abbb93eedc507c91e399008c18f6eda6a76bd3c076233b06ce0221c2b2d4fa | [] | [
1127,
222,
338,
2445,
10516,
1643,
458,
619,
2177,
1932,
2091,
18087,
1275,
391,
2487,
22031,
642,
11796,
1549,
222,
338,
29227,
47907,
17533,
391,
427,
1556,
318,
341,
2487,
480,
3300,
758,
664,
3520,
7431,
47970,
51,
222,
338,
2657,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
2121,
51,
19537,
51,
2783,
51,
4756,
51,
1259,
3587,
1812,
4037,
222,
588,
222,
69,
1735,
222,
942,
462,
2426,
3710,
22806,
4584,
2426,
3710,
1201,
320,
499,
221,
2072,
924,
1175,
7145,
1264,
299,
21818,
51,
10588,
45,
768,
3710,
22... | 4,891,399,913,714,556,000 | true | false | false | false | [
51,
671,
46,
376,
588,
222,
221,
69,
1806,
222,
221,
942,
2426,
3710,
2309,
9809,
45,
671,
655,
46,
320,
376,
221,
620,
6495,
2436,
621,
221,
51,
1848,
365,
621,
221,
51,
32012,
365,
621,
221,
51,
25129,
4133,
984,
2667,
51,
455... | -3,080,191,273,371,417,600 | true | apache.camel.example.rest.UserRouteBuilder}.
*/
@Component
public class DataSchemaServiceImpl implements DataSchemaService {
private static final Logger log = LoggerFactory.getLogger(DataSchemaServiceImpl.class);
@Reference(target = "(osgi.unit.name=responderPersistenUnit)")
private JPAEntityManagerProvider provi... | (target = "(osgi.unit.name=responderPersistenUnit)")
private JPAEntityManagerProvider provider;
@Reference
private TransactionControl txControl;
private EntityManager em;
@Activate
void init() {
em = provider.getResource(txControl);
}
/*
* (non-Javadoc)
*
* @see org.apache.camel.example.rest.UserServ... | init() {
em = provider.getResource(txControl);
}
/*
* (non-Javadoc)
*
* @see org.apache.camel.example.rest.UserService#getUser(java.lang.String)
*/
@Override
public DataSchema findByName(String name) {
return txControl
.build()
.readOnly()
.supports(() -> em.createQuery("Select ds From Da... | .String)
*/
@Override
public DataSchema findByName(String name) {
return txControl
.build()
.readOnly()
.supports(() -> em.createQuery("Select ds From DataSchema ds Where ds.name = :name", DataSchema.class)
.setParameter("name", name)
.getResultList()
.stream()
.findFirst()
... |
@Override
public DataSchema find(int id) {
// return jpa.txExpr(TransactionType.Supports, em -> em.find(DataSchema.class, id));
return txControl
|
GetAttributeSubIfcPerson.java | /FileExtraction/Java_unseen/opensourceBIM_bimql/BimQL/src/nl/wietmazairac/bimql/get/attribute/GetAttributeSubIfcPerson.java | package nl.wietmazairac.bimql.get.attribute;
/******************************************************************************
* Copyright (C) 2009-2017 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publish... | 3,313 | Java | .java | opensourceBIM/bimql | 35 | 13 | 4 | 2012-09-06T09:14:27Z | 2017-04-11T14:29:00Z | 670b40a70965a79afda8c6be488bae1d737f8c75eaa4a8a7d54f0b276ed2f7d2 | [] | [
1337,
19708,
51,
45987,
17616,
2017,
348,
51,
103,
468,
1383,
51,
390,
51,
4902,
64,
222,
222,
48063,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
60,
244,
570,
2348,
1805,
51,
1107,
222,
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,... | 988 | [
49,
910,
821,
46,
320,
376,
221,
597,
51,
1491,
299,
1319,
64,
376,
221,
597,
51,
819,
299,
821,
64,
222,
221,
130,
499,
221,
325,
4457,
222,
221,
942,
2210,
43385,
365,
320,
376,
221,
620,
1319,
64,
222,
221,
130,
499,
221,
9... | 5,513,351,898,786,859,000 | true | false | false | false | [
1319,
566,
390,
16634,
577,
1052,
621,
453,
54,
671,
376,
221,
130,
376,
221,
728,
434,
327,
819,
51,
3591,
459,
3631,
4854,
402,
2152,
320,
374,
221,
325,
56,
10496,
374,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
184... | -2,845,113,807,007,624,700 | true | , String string) {
this.object = object;
this.string = string;
}
// methods
public Object getObject() {
return object;
}
public void setObject(Object object) {
this.object = object;
}
public String getString() {
return string;
}
public void setString(String string) {
this.string = string;
}
... | Object object) {
this.object = object;
}
public String getString() {
return string;
}
public void setString(String string) {
this.string = string;
}
public ArrayList<Object> getResult() {
ArrayList<Object> resultList = new ArrayList<Object>();
if (string.equals("GivenName")) {
resultList.add(((IfcP... | }
public ArrayList<Object> getResult() {
ArrayList<Object> resultList = new ArrayList<Object>();
if (string.equals("GivenName")) {
resultList.add(((IfcPerson) object).getGivenName());
//1String
}
else if (string.equals("EngagedIn")) {
//3xxx
for (int i = 0; i < ((IfcPerson) object).getEngagedIn()... | object).getGivenName());
//1String
}
else if (string.equals("EngagedIn")) {
//3xxx
for (int i = 0; i < ((IfcPerson) object).getEngagedIn().size(); i++) {
resultList.add(((IfcPerson) object).getEngagedIn().get(i));
}
//1EList
}
else if (string | .equals("MiddleNames")) {
//3xxx
for (int i = 0; i < ((IfcPerson) object).getMiddleNames().size(); i++) {
resultList.add(((IfcPerson |
ReportToTypeCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/ocrr/vo/lookups/ReportToTypeCollection.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 4,802 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 8780ca7df334d998a1c1df836e25c7c9ba69195d2d7017b8c0d18c6b7d8489d8 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
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 | [
128,
376,
221,
4158,
724,
638,
2272,
556,
889,
299,
556,
9094,
724,
638,
2272,
492,
376,
221,
4158,
724,
638,
1641,
64,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
2615,
51,
911,
492,
613,
2002,
376,
221,
128,
374,... | -2,443,384,566,293,748,000 | true | false | false | false | [
477,
51,
7149,
45,
1113,
51,
18777,
1052,
621,
221,
344,
45,
2562,
1301,
2394,
244,
53,
46,
596,
221,
1113,
51,
40257,
45,
909,
889,
51,
390,
45,
2562,
1301,
894,
621,
221,
728,
596,
221,
1113,
51,
40257,
1181,
4158,
724,
638,
4... | 1,705,405,528,583,579,000 | true | {
ReportToTypeCollection newCol = new ReportToTypeCollection();
ReportToType item;
for (int i = 0; i < super.size(); i++)
{
item = this.get(i);
newCol.add(new ReportToType(item.getID(), item.getText(), item.isActive(), item.getParent(), item.getImage(), item.getColor(), item.getOrder()));
}
for (int i... | get(i);
newCol.add(new ReportToType(item.getID(), item.getText(), item.isActive(), item.getParent(), item.getImage(), item.getColor(), item.getOrder()));
}
for (int i = 0; i < newCol.size(); i++)
{
item = newCol.get(i);
if (item.getParent()!= null)
{
int parentIndex = this.indexOf(item.getParent()... | (int i = 0; i < newCol.size(); i++)
{
item = newCol.get(i);
if (item.getParent()!= null)
{
int parentIndex = this.indexOf(item.getParent());
if(parentIndex >= 0)
item.setParent(newCol.get(parentIndex));
else
item.setParent((ReportToType)item.getParent().clone());
}
}
return newC... | this.indexOf(item.getParent());
if(parentIndex >= 0)
item.setParent(newCol.get(parentIndex));
else
item.setParent((ReportToType)item.getParent().clone());
}
}
return newCol;
}
public ReportToType getInstance(int instanceId)
{
return (ReportToType)super.getInstanceById(instanceId);
}
| public TreeNode[] getRootNodes()
{
LookupInstVo[] roots = super.getRoots();
TreeNode[] nodes = new TreeNode[roots.length];
System.arraycopy(roots, 0, nodes, |
ComputeUpdaterProcessor.java | /FileExtraction/Java_unseen/sentrysoftware_metricshub/metricshub-engine/src/main/java/org/sentrysoftware/metricshub/engine/strategy/source/compute/ComputeUpdaterProcessor.java | package org.sentrysoftware.metricshub.engine.strategy.source.compute;
/*-
* ╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲
* MetricsHub Engine
* ჻჻჻჻჻჻
* Copyright 2023 - 2024 Sentry Software
* ჻჻჻჻჻჻
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General... | 8,018 | Java | .java | sentrysoftware/metricshub | 9 | 2 | 15 | 2024-01-24T13:42:37Z | 2024-05-07T09:13:00Z | 99a71ffb18907fcfc60a05b2ab7bd052098edc878756a7b3cc85e7dd49b4d2a8 | [] | [
1337,
1105,
51,
37981,
12300,
51,
7301,
635,
375,
51,
3502,
51,
14008,
51,
1876,
51,
7946,
64,
222,
222,
1127,
50,
222,
338,
24356,
147,
4698,
148,
4698,
147,
4698,
148,
4698,
147,
4698,
148,
4698,
147,
4698,
148,
4698,
147,
4698,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1105,
51,
37981,
12300,
51,
7301,
635,
375,
51,
3502,
51,
11636,
51,
1184,
51,
8243,
51,
2810,
51,
1876,
51,
7946,
51,
19970,
19136,
8690,
64,
222,
485,
1105,
51,
37981,
12300,
51,
7301,
635,
375,
51,
3502,
51,
11636,
51,
1184,
51... | 530,951,696,378,132,540 | true | false | false | false | [
7301,
635,
375,
51,
3502,
51,
11636,
51,
1184,
51,
8243,
51,
2810,
51,
1876,
51,
7946,
51,
16635,
4505,
19136,
8690,
64,
222,
485,
1105,
51,
37981,
12300,
51,
7301,
635,
375,
51,
3502,
51,
11636,
51,
1184,
51,
8243,
51,
2810,
51,
... | 8,294,630,863,253,166,000 | true | org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.ExcludeMatchingLines;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Extract;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.ExtractPropertyFromWbemPath;
im... | compute.Extract;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.ExtractPropertyFromWbemPath;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Json2Csv;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.... | .model.monitor.task.source.compute.Json2Csv;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.KeepColumns;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.KeepOnlyMatchingLines;
import org.sentrysoftware.metricshub.engine.connector.model.mon... | metricshub.engine.connector.model.monitor.task.source.compute.KeepOnlyMatchingLines;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Multiply;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.PerBitTranslation;
import org.sentrysoftware.metr... | source.compute.Prepend;
import org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Replace;
import org.sentrysoftware.metricshub.engine.connector.model. |
RoboBuilderTests.java | /FileExtraction/Java_unseen/Robo4J_robo4j/robo4j-core/src/test/java/com/robo4j/RoboBuilderTests.java | /*
* Copyright (c) 2014, 2023, Marcus Hirt, Miroslav Wengner
*
* Robo4J 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.
*
* Rob... | 9,289 | Java | .java | Robo4J/robo4j | 71 | 19 | 25 | 2016-05-01T20:27:59Z | 2023-11-06T16:39:32Z | ed7f7b5b59564f6a8d736762e756fa9e4af038897759900540c2de3ff789b07a | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
57,
49,
244,
55,
53,
55,
56,
49,
8369,
6217,
696,
8029,
49,
507,
9831,
2021,
472,
643,
838,
1403,
222,
338,
222,
338,
11792,
730,
57,
79,
458,
3760,
2951,
63,
863,
902,
1408... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
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,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
11792,
730,
57,
79,
51,
1691,
666,
... | 6,138,158,816,119,276,000 | true | false | false | false | [
51,
27785,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
46072,
64,
222,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
4993,
64,
222,
485,
924,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
16980,
51,
14765,
64,
22... | 2,461,337,822,752,545,000 | true | 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 Robo4J. If not, see <http://www.gnu.org/licenses/>.
*/
package com.robo4j;
import com.robo4j.configuration.Configuration;
import com.robo4j.configuration... | gnu.org/licenses/>.
*/
package com.robo4j;
import com.robo4j.configuration.Configuration;
import com.robo4j.configuration.ConfigurationBuilder;
import com.robo4j.util.SystemUtil;
import org.junit.jupiter.api.Test;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java... | bo4j.util.SystemUtil;
import org.junit.jupiter.api.Test;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.... | .TimeUnit;
import java.util.concurrent.TimeoutException;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Test(s) for the builder.
*
* @author Marcus Hirt (@hirt)
* @author Mi... | iko)
*/
public class RoboBuilderTests {
private static final int MESSAGES = 10;
private static final int TIMEOUT = 100;
@Test
void testParsingFile() |
Setting.java | /FileExtraction/Java_unseen/PlutoSolutions_FishHack-public/src/main/java/cat/cattyn/fishhack/api/setting/Setting.java | package cat.cattyn.fishhack.api.setting;
import cat.cattyn.fishhack.client.modules.Module;
import java.util.List;
/**
* @author cattyngmd
*/
public class Setting<T> {
private final String name;
private final Module parent;
private final Module.Category category;
private final Type type;
priv... | 1,970 | Java | .java | PlutoSolutions/FishHack-public | 13 | 4 | 2 | 2021-09-12T18:06:45Z | 2021-09-12T18:34:31Z | 3862ecf937548dab9aa52a88588ef831ad3f9bdf54c044c1e7d2e00048a7e3a8 | [] | [
1337,
10558,
51,
2612,
637,
115,
51,
13041,
15267,
51,
1256,
51,
8129,
64,
222,
222,
485,
10558,
51,
2612,
637,
115,
51,
13041,
15267,
51,
1598,
51,
3490,
51,
2478,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 496 | [
51,
13041,
15267,
51,
1598,
51,
3490,
51,
2478,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
1350,
222,
338,
496,
2133,
10558,
637,
1159,
973,
222,
588,
222,
222,
942,
462,
15478,
65,
89,
67,
320,
465,
964,
1175,
91... | 7,207,838,254,162,262,000 | true | false | false | false | [
465,
581,
15478,
45,
3242,
910,
655,
49,
1175,
7716,
2952,
49,
1175,
7716,
51,
4236,
6233,
49,
413,
804,
49,
413,
1865,
49,
413,
1788,
49,
648,
6985,
46,
320,
310,
477,
51,
444,
299,
655,
64,
310,
477,
51,
2562,
299,
2952,
64,
... | -4,949,920,509,614,753,000 | true | .fishhack.client.modules.Module;
import java.util.List;
/**
* @author cattyngmd
*/
public class Setting<T> {
private final String name;
private final Module parent;
private final Module.Category category;
private final Type type;
private T value, max, min;
private int inc;
private Lis... | Module parent;
private final Module.Category category;
private final Type type;
private T value, max, min;
private int inc;
private List<String> modes;
public Setting(final String name, final Module parent, final Module.Category category, T value) {
this.name = name;
this.pare... | , final Module.Category category, T value) {
this.name = name;
this.parent = parent;
this.type = Type.B;
this.category = category;
this.value = value;
}
public Setting(final String name, final Module parent, final Module.Category category, T value, T min, T max, int inc)... |
public Setting(final String name, final Module parent, final Module.Category category, T value, T min, T max, int inc) {
this.name = name;
this.parent = parent;
this.type = Type.N;
this.category = category;
this.value = value;
this.min = min;
this.max = max;... | Module parent, final Module.Category category, List<String> modes, T value) {
this.name = name;
this.parent = parent;
this.type = Type.M;
this.category = category;
|
ComposedQueryHandler.java | /FileExtraction/Java_unseen/seecr_meresco-lucene/src/org/meresco/lucene/http/ComposedQueryHandler.java | /* begin license *
*
* "Meresco Lucene" is a set of components and tools to integrate Lucene (based on PyLucene) into Meresco
*
* Copyright (C) 2015-2016 Koninklijke Bibliotheek (KB) http://www.kb.nl
* Copyright (C) 2015-2018 Seecr (Seek You Too B.V.) https://seecr.nl
* Copyright (C) 2016 Stichting Kennisnet http... | 2,630 | Java | .java | seecr/meresco-lucene | 9 | 6 | 0 | 2013-06-19T07:20:31Z | 2024-04-29T09:42:59Z | 8c7383d658ca269de090b957a9c97fa748753ca954f8e8ecb974c39b782a3ae3 | [] | [
1127,
4258,
3553,
338,
222,
338,
222,
338,
332,
14449,
326,
352,
32407,
2126,
39,
458,
331,
758,
451,
6361,
480,
8699,
391,
26724,
32407,
2126,
327,
7893,
563,
4374,
29202,
2126,
46,
2012,
18289,
326,
352,
222,
338,
222,
338,
2657,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 705 | [
25006,
49,
13083,
280,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
244,
15067,
222,
338,
222,
338,
962,
3553,
588,
222,
222,
1337,
1105,
51,
2322,
326,
352,
51,
17852,
51,
544,
64,
222,
222,
485,
3698,
51,
10010,
51,
544,
51,
1880... | -8,261,518,443,400,103,000 | true | false | false | false | [
2126,
64,
465,
581,
2270,
14757,
1643,
1985,
45,
6230,
29202,
2126,
6973,
29202,
2126,
49,
4322,
1436,
5030,
19658,
17859,
46,
320,
310,
2615,
45,
16075,
312,
310,
477,
51,
6870,
29202,
2126,
299,
6973,
29202,
2126,
64,
303,
339,
465,... | -5,272,644,930,195,397,000 | true | Boston, MA 02110-1301 USA
*
* end license */
package org.meresco.lucene.http;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.jetty.server.Request;
import org.meresco.lucene.ComposedQuery;
import org.meresco.lucene.LuceneResponse;
import org.meresc... | .servlet.http.HttpServletResponse;
import org.eclipse.jetty.server.Request;
import org.meresco.lucene.ComposedQuery;
import org.meresco.lucene.LuceneResponse;
import org.meresco.lucene.MultiLucene;
import org.meresco.lucene.OutOfMemoryShutdown;
public class ComposedQueryHandler extends AbstractMerescoLuceneHandler {... | org.meresco.lucene.MultiLucene;
import org.meresco.lucene.OutOfMemoryShutdown;
public class ComposedQueryHandler extends AbstractMerescoLuceneHandler {
private MultiLucene multiLucene;
public ComposedQueryHandler(MultiLucene multiLucene, OutOfMemoryShutdown shutdown) {
super(shutdown);
this.... | ene;
public ComposedQueryHandler(MultiLucene multiLucene, OutOfMemoryShutdown shutdown) {
super(shutdown);
this.multiLucene = multiLucene;
}
@Override
public void doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws Throwable {
... | (request.getReader(), this.multiLucene.getQueryConverters());
// System.out.println("ComposedQuery: " + q);
} catch (Throwable t) {
t.printStackTrace();
throw t;
} |
ProviderTestData.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/test/java/integration/tests/util/data/ProviderTestData.java | /**
* Copyright (c) 2012-2018. CloudPractice Inc. 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 by the Free Software Foundation;... | 2,551 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | e4b6db9bef2877f6c5e80831ba3e932f4a962df827729ab57d1a98594833a902 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
61,
51,
7594,
31506,
584,
6367,
51,
3381,
12902,
11921,
51,
222,
338,
1369,
2951,
458,
9582,
1549,
341,
23508,
6994,
6153,
5062,
1196,
51,
222,
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,... | 807 | [
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,
7934,
575,
8114,
4800,
418,
7848,... | -8,818,419,986,715,527,000 | true | false | false | false | [
222,
338,
48190,
222,
588,
222,
222,
1337,
10531,
51,
4895,
51,
1058,
51,
624,
64,
222,
222,
942,
462,
15724,
24498,
222,
128,
222,
221,
942,
910,
6897,
2042,
299,
5127,
222,
221,
942,
910,
23100,
299,
5127,
222,
221,
942,
910,
23... | -4,459,266,025,712,094,000 | true | ) 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 a copy of the GNU Ge... | 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
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* This software was written for
* CloudPractice Inc.
* Vict... | Suite 330, Boston, MA 02111-1307, USA.
*
* This software was written for
* CloudPractice Inc.
* Victoria, British Columbia
* Canada
*/
package integration.tests.util.data;
public class ProviderTestData
{
public String providerNo = "";
public String lastName = "";
public String firstName = "";
public String... |
* Canada
*/
package integration.tests.util.data;
public class ProviderTestData
{
public String providerNo = "";
public String lastName = "";
public String firstName = "";
public String type = "";
public String sex = "";
public String dob = "";
public String specialty = "Family";
public String sitesAssigne... | address = "31 Bastion Square #302";
public String homePhone = "250-686-8560";
public String workPhone = "+1 888-6 |
VecProxyContext.java | /FileExtraction/Java_unseen/openviglet_vecchio/src/main/java/com/viglet/vecchio/proxy/VecProxyContext.java | package com.viglet.vecchio.proxy;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URL;
import java.security.Principal;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http... | 4,357 | Java | .java | openviglet/vecchio | 8 | 3 | 9 | 2017-05-05T22:28:58Z | 2023-03-03T13:04:08Z | 822ab9303e9ee22f596319cc9642d80282bfa4bdeda058783480995d34ceb539 | [] | [
1337,
785,
51,
123,
384,
749,
51,
3160,
399,
735,
51,
5881,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
8783,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
485,
1401,
51,
4386,
51,
14275,
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,... | 1,024 | [
51,
10776,
55,
51,
2297,
51,
750,
51,
17205,
943,
64,
222,
485,
1105,
51,
2121,
51,
381,
13389,
51,
10776,
55,
51,
2297,
51,
3918,
51,
17205,
14780,
1002,
64,
222,
485,
1105,
51,
2121,
51,
381,
13389,
51,
10776,
55,
51,
2297,
51... | 646,375,809,449,355,900 | true | false | false | false | [
4140,
51,
19017,
51,
1934,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
2555,
51,
4341,
51,
15701,
64,
222,
485,
1105,
51,
4140,
51,
1857,
51,
10010,
51,
1985,
4815,
64,
222,
222,
485,
785,
51,
123,
384,
749,
51,
3160,
399,
735,
... | 7,565,455,859,754,853,000 | true | .oauth2.common.error.OAuthError;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import org.apache.oltu.oauth2.common.message.types.ParameterStyle;
import org.apache.oltu.oauth2.common.utils.OAuthUtils;
import org.apache.oltu.oau... | ;
import org.apache.oltu.oauth2.common.message.types.ParameterStyle;
import org.apache.oltu.oauth2.common.utils.OAuthUtils;
import org.apache.oltu.oauth2.rs.request.OAuthAccessResourceRequest;
import org.apache.oltu.oauth2.rs.response.OAuthRSResponse;
import org.springframework.beans.factory.annotation.Autowired;
impor... | oauth2.rs.request.OAuthAccessResourceRequest;
import org.apache.oltu.oauth2.rs.response.OAuthRSResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.... | springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.HandlerMapping;
import com.viglet.vecchio.api.oauth2.demo.TestContent;
import com.viglet.vecchio.persistence.model.app.VecMapping;
import com.viglet.vecchio.persistence.repositor... | import com.viglet.vecchio.persistence.service.VecAppService;
@Controller
public class VecProxyContext {
@Autowired
private VecMappingRepository vecMappingRepository;
@Autowired
|
TEDetailed.java | /FileExtraction/Java_unseen/Deadrik_TFCraft/src/Common/com/bioxx/tfc/TileEntities/TEDetailed.java | package com.bioxx.tfc.TileEntities;
import java.util.BitSet;
import net.minecraft.nbt.NBTTagCompound;
import com.bioxx.tfc.Blocks.BlockDetailed;
import com.bioxx.tfc.Core.Player.PlayerManagerTFC;
import com.bioxx.tfc.api.TFCBlocks;
public class TEDetailed extends NetworkTileEntity {
public short typeID = -1;
publ... | 6,420 | Java | .java | Deadrik/TFCraft | 203 | 137 | 22 | 2012-04-22T02:09:54Z | 2019-05-13T12:10:15Z | 06b3ea76a93c1f03b23208ce51df40ce310b8f1f4b30684e162ab62a77cc1405 | [] | [
1337,
785,
51,
12787,
2388,
51,
121,
3526,
51,
8079,
10502,
64,
222,
222,
485,
1401,
51,
1058,
51,
4596,
903,
64,
222,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
222,
485,
785,
51,
12787,
2388,
51,
121,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
299,
1308,
2394,
244,
57,
1037,
244,
54,
518,
244,
53,
64,
376,
221,
429,
1671,
299,
327,
125,
54,
338,
244,
55,
494,
1308,
54,
46,
338,
244,
55,
494,
553,
54,
64,
376,
221,
467,
8592,
51,
489,
45,
1076,
312,
222,
221,
130,
... | -8,577,034,309,870,498,000 | true | false | false | false | [
942,
1922,
458,
18842,
19435,
45,
429,
837,
49,
648,
553,
49,
648,
1308,
46,
320,
376,
221,
620,
673,
467,
8592,
51,
390,
1181,
125,
338,
244,
55,
494,
1308,
46,
338,
244,
55,
494,
553,
312,
222,
221,
130,
499,
221,
942,
1922,
... | -3,519,175,829,813,945,300 | true | = z >= 4? 1 : 0;
int index = (x1 * 2 + z1) * 2 + y1;
quads.set(index);
}
public void clearQuad(int x, int y, int z) {
int x1 = x >= 4? 1 : 0;
int y1 = y >= 4? 1 : 0;
int z1 = z >= 4? 1 : 0;
int index = (x1 * 2 + z1) * 2 + y1;
quads.clear(index);
}
public boolean isQuadSolid(int x, int y, int z) {
... | clearQuad(int x, int y, int z) {
int x1 = x >= 4? 1 : 0;
int y1 = y >= 4? 1 : 0;
int z1 = z >= 4? 1 : 0;
int index = (x1 * 2 + z1) * 2 + y1;
quads.clear(index);
}
public boolean isQuadSolid(int x, int y, int z) {
return!quads.get((x * 2 + z) * 2 + y);
}
public boolean isBlockEmpty() {
byte[] ba = t... | z1 = z >= 4? 1 : 0;
int index = (x1 * 2 + z1) * 2 + y1;
quads.clear(index);
}
public boolean isQuadSolid(int x, int y, int z) {
return!quads.get((x * 2 + z) * 2 + y);
}
public boolean isBlockEmpty() {
byte[] ba = toByteArray(data);
for (byte b : ba) {
if (b!= -1)
return false;
}
return true;... | public boolean isQuadSolid(int x, int y, int z) {
return!quads.get((x * 2 + z) * 2 + y);
}
public boolean isBlockEmpty() {
byte[] ba = toByteArray(data);
for (byte b : ba) {
if (b!= -1)
return false;
}
return true;
}
/**
| * Reads a tile entity from NBT.
*/
@Override
public void readFromNBT(NBTTagCompound nbttc) {
super.readFromNBT(nbttc);
metaID = nbtt |
Handlers.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Nursing/src/ims/nursing/forms/nursingsummary/Handlers.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 5,336 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | aa4126d8e9cd08100654382b912a573d22fa52118061346e09db15377bdd61eb | [] | [
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 | [
563,
30721,
5766,
899,
903,
45,
976,
804,
312,
222,
221,
9431,
2532,
782,
563,
72,
1253,
5766,
36729,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
1237,
6362,
2668,
45,
429,
... | 240,304,900,058,829,950 | true | false | false | false | [
2863,
51,
11453,
51,
21407,
12281,
1002,
374,
221,
128,
621,
221,
2555,
7767,
9026,
492,
621,
221,
286,
1260,
2981,
492,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
10615,
46481,
7113,
941,
489,
7193,
3567,
2917,
1732... | -4,297,257,260,063,011,300 | true | oncmbIntervalValueSet(Object value);
abstract protected void onCmbIntervalValueChanged() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onContextMenuItemClick(int menuItemID, ims.framework.Control sender) throws ims.framework.exceptions.PresentationLogicException;
public final ... | framework.Control sender) throws ims.framework.exceptions.PresentationLogicException;
public final void setContext(ims.framework.UIEngine engine, GenForm form)
{
this.engine = engine;
this.form = form;
this.form.setFormOpenEvent(new FormOpen()
{
private static final long serialVersionUID = 1L;
public ... | this.form = form;
this.form.setFormOpenEvent(new FormOpen()
{
private static final long serialVersionUID = 1L;
public void handle(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
bindLookups();
onFormOpen();
}
});
this.form.dyngrdActions().setDynamicGridCellButton... | framework.exceptions.PresentationLogicException
{
bindLookups();
onFormOpen();
}
});
this.form.dyngrdActions().setDynamicGridCellButtonClickedEvent(new DynamicGridCellButtonClicked()
{
private static final long serialVersionUID = 1L;
public void handle(ims.framework.controls.DynamicGridCell ce... | onDyngrdActionsCellButtonClicked(cell);
}
});
this.form.dyngrdActions().setDynamicGridRowSelectionChangedEvent(new DynamicGridRowSelectionChanged()
{
private static final |
PrescriptionsLiteVoCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/RefMan/vo/PrescriptionsLiteVoCollection.java | // This code was generated by Barbara Worwood using IMS Development Environment (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.RefMan.vo;
import java.util.ArrayList;
import java.util.Collections;
import java.ut... | 6,614 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | d8d00b7c2295c81626b9c5dc3a85dec82de25f6401ece0fc9ea8fc1c9ba9cc28 | [] | [
325,
1369,
1361,
1616,
4741,
829,
11489,
39305,
643,
290,
21100,
1493,
457,
2758,
15606,
10584,
327,
1687,
244,
54,
51,
61,
53,
1984,
244,
58,
53,
53,
60,
51,
55,
58,
60,
58,
54,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
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 | [
630,
762,
46,
374,
221,
620,
920,
64,
376,
221,
344,
45,
597,
51,
770,
51,
7149,
45,
872,
46,
350,
244,
53,
46,
376,
221,
128,
374,
221,
620,
477,
51,
770,
51,
688,
45,
872,
312,
376,
221,
130,
376,
221,
620,
920,
64,
222,
... | 7,851,604,785,599,463,000 | true | false | false | false | [
782,
3365,
45,
429,
1671,
46,
222,
221,
128,
376,
221,
597,
51,
770,
51,
2564,
45,
1076,
312,
222,
221,
130,
222,
221,
942,
648,
1354,
365,
222,
221,
128,
376,
221,
620,
477,
51,
770,
51,
911,
492,
222,
221,
130,
222,
221,
942... | 2,797,467,751,776,377,000 | true | == null)
return false;
if(this.col.indexOf(value) < 0)
{
return this.col.add(value);
}
return false;
}
public boolean add(int index, PrescriptionsLiteVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
this.col.add(index, value);
return true;
}
return false... | public boolean add(int index, PrescriptionsLiteVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
this.col.add(index, value);
return true;
}
return false;
}
public void clear()
{
this.col.clear();
}
public void remove(int index)
{
this.col.remove(index);
}
pub... | this.col.add(index, value);
return true;
}
return false;
}
public void clear()
{
this.col.clear();
}
public void remove(int index)
{
this.col.remove(index);
}
public int size()
{
return this.col.size();
}
public int indexOf(PrescriptionsLiteVo instance)
{
return col.indexOf(instance);
}
pu... | void remove(int index)
{
this.col.remove(index);
}
public int size()
{
return this.col.size();
}
public int indexOf(PrescriptionsLiteVo instance)
{
return col.indexOf(instance);
}
public PrescriptionsLiteVo get(int index)
{
return this.col.get(index);
}
| public boolean set(int index, PrescriptionsLiteVo value)
{
if(value == null)
return false;
this.col.set(index, value);
return true;
} |
GenForm.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Admin/src/ims/admin/forms/ntpfbilllinghospitalconfig/GenForm.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 31,700 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 30f9e300ef22c1357cf543bc25ecfed8a1b1e1af8db67aa7171b80a9e5e94617 | [] | [
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 | [
2368,
2720,
46,
376,
221,
128,
374,
221,
5282,
45,
661,
312,
376,
221,
130,
376,
221,
942,
782,
2539,
23097,
45,
429,
2656,
46,
376,
221,
128,
374,
221,
5282,
51,
661,
51,
2276,
23097,
45,
2628,
312,
376,
221,
130,
376,
221,
942... | 570,335,950,950,835,700 | true | false | false | false | [
51,
390,
45,
53,
312,
376,
221,
130,
376,
221,
942,
782,
758,
2253,
13930,
438,
45,
671,
804,
46,
376,
221,
128,
374,
221,
5282,
51,
661,
51,
489,
45,
53,
49,
804,
312,
376,
221,
130,
376,
221,
942,
782,
758,
2917,
2253,
13930... | -7,513,946,382,363,200,000 | true | Row row)
{
super(row);
}
public void showOpened(int column)
{
super.row.showOpened(column);
}
public void setCoHospReadOnly(boolean value)
{
super.row.setReadOnly(0, value);
}
public boolean isCoHospReadOnly()
{
return super.row.isReadOnly(0);
}
public void showCoHospOpened()
{
... | ReadOnly(boolean value)
{
super.row.setReadOnly(0, value);
}
public boolean isCoHospReadOnly()
{
return super.row.isReadOnly(0);
}
public void showCoHospOpened()
{
super.row.showOpened(0);
}
public String getCoHosp()
{
return (String)super.row.get(0);
}
public void setCoHosp(String v... | }
public void showCoHospOpened()
{
super.row.showOpened(0);
}
public String getCoHosp()
{
return (String)super.row.get(0);
}
public void setCoHosp(String value)
{
super.row.set(0, value);
}
public void setCellCoHospTooltip(String value)
{
super.row.setTooltip(0, value);
}
public i... | .get(0);
}
public void setCoHosp(String value)
{
super.row.set(0, value);
}
public void setCellCoHospTooltip(String value)
{
super.row.setTooltip(0, value);
}
public ims.vo.ValueObject getValue()
{
return (ims.vo.ValueObject)super.row.getValue | ();
}
public void setValue(ims.vo.ValueObject value)
{
super.row.setValue(value);
}
}
public static class grdPaymentHospRowCollection extends Grid |
Parser.java | /FileExtraction/Java_unseen/jiubadao_hayoou-wechat-export/app/src/main/java/moe/chionlab/wechatmomentstat/Parser.java | package moe.chionlab.wechatmomentstat;
import android.graphics.BitmapFactory;
import android.os.Environment;
import android.util.Log;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Field;
import ja... | 25,389 | Java | .java | jiubadao/hayoou-wechat-export | 24 | 12 | 0 | 2017-09-13T08:18:33Z | 2017-09-13T04:46:29Z | 56d8a0ad74c538902f30eabeb9a7d80bd35c42ee5252554d6d895e37aa2d306e | [] | [
1337,
7583,
106,
51,
399,
304,
4809,
51,
30673,
14128,
4611,
64,
222,
222,
485,
2616,
51,
7027,
51,
9384,
2232,
64,
222,
485,
2616,
51,
519,
51,
6342,
64,
222,
485,
2616,
51,
1058,
51,
1353,
64,
222,
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,024 | [
343,
2681,
51,
105,
459,
30673,
14128,
4611,
411,
332,
5480,
1482,
9384,
3773,
6081,
120,
742,
343,
461,
762,
64,
310,
339,
303,
339,
222,
1975,
303,
581,
377,
2591,
1139,
3203,
88,
2591,
1947,
1811,
9084,
45,
2278,
1197,
31626,
529... | -3,876,818,871,660,039,700 | true | false | false | false | [
1885,
1197,
364,
299,
377,
2591,
5295,
51,
36823,
8898,
492,
310,
453,
999,
45,
429,
613,
299,
53,
64,
110,
65,
114,
51,
1340,
64,
110,
9258,
343,
453,
1353,
51,
105,
459,
30673,
14128,
4611,
411,
332,
23312,
5295,
5409,
6771,
110... | 8,628,597,749,473,023,000 | true |
Log.d("wechatmomentstat", "decodeAsBitmap exception:%s");
return null;
}
}
*/
public SnsInfo parseSnsAllFromBin(byte[] snsDetailBin, byte[] snsObjectBin) throws Throwable {
Object snsDetail = parseSnsDetailFromBin(snsDetailBin);
Object snsObject = parseSnsObjectF... | ) throws Throwable {
Object snsDetail = parseSnsDetailFromBin(snsDetailBin);
Object snsObject = parseSnsObjectFromBin(snsObjectBin);
SnsInfo snsInfo = parseSnsDetail(snsDetail);
parseSnsObject(snsObject, snsInfo);
return snsInfo;
}
public Object parseSnsDetailFromBin(b... | );
parseSnsObject(snsObject, snsInfo);
return snsInfo;
}
public Object parseSnsDetailFromBin(byte[] bin) throws Throwable {
Object snsDetail = SnsDetail.newInstance();
//Method[] m = SnsDetail.getDeclaredMethods();
//for(int i =0;i<m.length;i++){
//Log.d("we... | Method[] m = SnsDetail.getDeclaredMethods();
//for(int i =0;i<m.length;i++){
//Log.d("wechatmomentstat", "snsDetail Method "+i+" "+m[i].toString());
//}
Method fromBinMethod = SnsDetail.getMethod(Config.SNS_DETAIL_FROM_BIN_METHOD, byte[].class);
//Log.d("wechatmomentstat", "... | BinMethod.toString());
fromBinMethod.invoke(snsDetail, bin);
return snsDetail;
}
public SnsInfo parseSnsDetail(Object snsDetail) throws Throwable {
Method snsDetailParserMethod = Sns |
ToolItemStack.java | /FileExtraction/Java_unseen/BG-Software-LLC_WildTools/src/main/java/com/bgsoftware/wildtools/utils/items/ToolItemStack.java | package com.bgsoftware.wildtools.utils.items;
import com.bgsoftware.wildtools.WildToolsPlugin;
import com.bgsoftware.wildtools.api.objects.tools.Tool;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.invent... | 6,664 | Java | .java | BG-Software-LLC/WildTools | 26 | 20 | 3 | 2019-01-10T19:38:54Z | 2024-04-29T17:15:57Z | fb7791331c7b99c0839e2659074a7982f24c65a4a2863d91248e0c0b0439b35a | [] | [
1337,
785,
51,
4885,
12300,
51,
33640,
4303,
51,
2324,
51,
3053,
64,
222,
222,
485,
785,
51,
4885,
12300,
51,
33640,
4303,
51,
92,
771,
7926,
4168,
64,
222,
485,
785,
51,
4885,
12300,
51,
33640,
4303,
51,
1256,
51,
5754,
51,
4303,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33640,
4303,
51,
92,
771,
7926,
4168,
64,
222,
485,
785,
51,
4885,
12300,
51,
33640,
4303,
51,
1256,
51,
5754,
51,
4303,
51,
3670,
64,
222,
485,
1105,
51,
20402,
51,
6347,
64,
222,
485,
1105,
51,
20402,
51,
4796,
710,
1745,
... | -2,282,907,990,156,976,600 | true | false | false | false | [
1811,
26022,
45,
909,
26657,
45,
700,
49,
244,
54,
894,
303,
339,
465,
581,
924,
10023,
26022,
451,
4810,
6825,
26657,
1641,
3131,
46,
320,
310,
461,
1641,
3131,
630,
762,
1293,
1641,
3131,
51,
10276,
365,
630,
11937,
51,
39608,
103... | -781,613,842,341,237,900 | true | .wildtools.WildToolsPlugin;
import com.bgsoftware.wildtools.api.objects.tools.Tool;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import javax.annotation.Nonnull;
import javax.an... | org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
public abstract class ToolItemStack {
private static final WildToolsPlugin plugin = WildToolsPlugin.getPlugin();
public static ToolI... | public abstract class ToolItemStack {
private static final WildToolsPlugin plugin = WildToolsPlugin.getPlugin();
public static ToolItemStack of(Material type) {
return type == Material.AIR? EmptyToolItemStack.INSTANCE : createFromItemStack(new ItemStack(type, 1));
}
public static ToolItemStac... | FromItemStack(new ItemStack(type, 1));
}
public static ToolItemStack of(@Nullable ItemStack itemStack) {
return itemStack == null || itemStack.getType() == Material.AIR? EmptyToolItemStack.INSTANCE :
createFromItemStack(itemStack);
}
private static ToolItemStack createFromItemS... | ;
protected ToolItemStack() {
}
protected void setItem(ItemStack handle) {
this.handle = handle;
this.tool = plugin.getToolsManager().getTool(getToolType());
}
public ItemStack getItem |
DropFKTaskv3.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.server/src/com/openexchange/groupware/update/tasks/DropFKTaskv3.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... | 3,443 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | 31525d2e31d663874702df2331cffd6cfd2b25a6b229d9533780ad3dba5faf01 | [] | [
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,... | 840 | [
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
565,
93,
2013,
25280,
51,
244,
1691,
666,
49,
2337,
350,
662,
5... | 6,176,685,804,530,505,000 | true | false | false | false | [
1401,
51,
2622,
51,
5510,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
785,
51,
1693,
11435,
51,
4617,
51,
48023,
64,
222,
485,
785,
51,
1693,
11435,
51,
3918,
51,
27439,
1002,
64,... | 1,974,310,809,920,332,800 | true | GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with OX App Suite. If not, see <https://www.gnu.org/licenses/agpl-3.0.txt>.
*
* Any use of the work other than as authorized under this license or copyright law is prohibited.
... | /agpl-3.0.txt>.
*
* Any use of the work other than as authorized under this license or copyright law is prohibited.
*
*/
package com.openexchange.groupware.update.tasks;
import static com.openexchange.database.Databases.autocommit;
import static com.openexchange.database.Databases.rollback;
import java.sql.Connec... | tasks;
import static com.openexchange.database.Databases.autocommit;
import static com.openexchange.database.Databases.rollback;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Arrays;
import java.util.List;
import com.openexchange.database.Databases;
import com.op... | java.sql.Statement;
import java.util.Arrays;
import java.util.List;
import com.openexchange.database.Databases;
import com.openexchange.exception.OXException;
import com.openexchange.groupware.update.PerformParameters;
import com.openexchange.groupware.update.UpdateExceptionCodes;
import com.openexchange.groupware.upd... | .update.Tools;
/**
* {@link DropFKTaskv3} - Drops rather needless foreign keys from tables.
*
* @author <a href="mailto:thorben.betten@open-x |
DBCStruct.java | /FileExtraction/Java_unseen/JMaNGOS_JMaNGOS/Tools/src/main/java/org/jmangos/tools/dbc/dataholder/DBCStruct.java | /*******************************************************************************
* Copyright (C) 2013 JMaNGOS <http://jmangos.org/>
*
* 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... | 9,654 | Java | .java | JMaNGOS/JMaNGOS | 24 | 15 | 9 | 2013-03-10T14:30:25Z | 2013-09-28T14:05:25Z | 83ea697253fbc369986d8cb154de714d9b535a3ac68f5178adc88c5242f6b04e | [] | [
28683,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
990,
18313,
7493,
2653,
350,
544,
574,
24412,
761,
519,
51,
1107,
2056,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
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 | [
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
43713,
64,
222,
222,
942,
5560,
462,
4594,
72,
3871,
65,
89,
2041,
4594,
72,
3871,
65,
89,
2023,
2041,
4594,
72,
... | 1,444,250,923,638,348,500 | true | false | false | false | [
327,
429,
613,
299,
244,
53,
64,
613,
350,
4380,
51,
1340,
21257,
320,
547,
4380,
96,
110,
13415,
299,
327,
82,
46,
556,
11540,
671,
492,
419,
339,
419,
461,
4380,
64,
343,
339,
832,
320,
419,
461,
2615,
51,
977,
45,
772,
312,
... | 3,848,943,728,236,013,000 | true | util.Iterator;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
public abstract class DBCStruct<T extends DBCStruct<T>> extends DBCBaseStruct
implements Iterable<T>, Iterator<T>, Cloneable {
private int count;
private int skiplenght = 0;
private int currposition = 0;
priv... | <T>, Iterator<T>, Cloneable {
private int count;
private int skiplenght = 0;
private int currposition = 0;
private Object[] FiledsName;
private boolean mode;
@SuppressWarnings("unchecked")
@Override
protected <M extends Member> M[] array(final M[] param) {
if (param.length > 0... | @SuppressWarnings("unchecked")
@Override
protected <M extends Member> M[] array(final M[] param) {
if (param.length > 0) {
if (INTERNALSTRING.isInstance(param)) {
for (int i = 0; i < param.length;) {
param[i++] = (M) new InternalString();
... | (int i = 0; i < param.length;) {
param[i++] = (M) new InternalString();
}
return param;
} else {
return super.array(param);
}
} else {
return null;
}
}
@SuppressWarnings("unchecked")
pub... | enght) * i));
return (T) this;
}
public final void setStringBufferPosition(final int stringBufPos) {
this.stringBufPos = stringBufPos;
}
@SuppressWarnings("unchecked")
@ |
JFreeplaneCustomizableFileChooser.java | /FileExtraction/Java_unseen/freeplane_freeplane/freeplane/src/main/java/org/freeplane/core/ui/components/JFreeplaneCustomizableFileChooser.java | package org.freeplane.core.ui.components;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.HeadlessException;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.io.File;
impor... | 7,202 | Java | .java | freeplane/freeplane | 2,278 | 338 | 303 | 2012-09-13T08:55:51Z | 2024-05-07T17:07:28Z | 4dedb84912cef030b142794a4336faddcc21dfe548a4ce87294882b1ba47ea28 | [] | [
1337,
1105,
51,
4010,
14374,
51,
1284,
51,
1726,
51,
3545,
64,
222,
222,
485,
1401,
51,
8236,
51,
7263,
2362,
64,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
51,
8236,
51,
9884,
64,
222,
485,
1401,
51,
8236,
51,
7983... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
11506,
27880,
29045,
64,
222,
221,
130,
465,
581,
990,
7023,
14374,
3414,
6776,
45617,
45,
991,
1565,
4562,
46,
320,
310,
2615,
45,
1719,
4562,
312,
310,
7395,
11506,
5653,
29045,
5266,
492,
303,
339,
465,
496,
1806,
222,
221,
5332,
... | -5,052,142,644,045,130,000 | true | false | false | false | [
620,
2615,
51,
41746,
77,
13306,
4006,
492,
222,
221,
130,
499,
221,
2072,
17432,
2435,
70,
22797,
45617,
90,
2046,
9269,
1269,
365,
320,
376,
221,
9884,
16321,
1269,
299,
2615,
51,
390,
35606,
492,
376,
221,
344,
45,
316,
35606,
90... | -5,678,348,177,805,349,000 | true | SpecialFoldersShown;
}
public JFreeplaneCustomizableFileChooser(File currentDirectory) {
super(currentDirectory);
initializeSpecialFolderShownFlag();
}
@Override
protected void setup(FileSystemView view) {
initializeSpecialFolderShownFlag();
putClientProperty(USE_SHELL_FOLDE... |
initializeSpecialFolderShownFlag();
putClientProperty(USE_SHELL_FOLDER_JAVA_PROPERTY, areSpecialFoldersShown);
super.setup(view);
}
@Override
public Dimension getPreferredSize() {
return fixAquaFileChooserUIPreferredSize();
}
@Override
public boolean isFileHidingEnabled() {
if(isFileHid... | {
return fixAquaFileChooserUIPreferredSize();
}
@Override
public boolean isFileHidingEnabled() {
if(isFileHidingDisabledForCurrentDirectory)
return false;
return super.isFileHidingEnabled();
}
private Dimension fixAquaFileChooserUIPreferredSize() {
Dimension preferredSize = super.getPreferredSize()... | return super.isFileHidingEnabled();
}
private Dimension fixAquaFileChooserUIPreferredSize() {
Dimension preferredSize = super.getPreferredSize();
if(isPreferredSizeSet() ||! getUI().getClass().getSimpleName().equals("AquaFileChooserUI")) {
return preferredSize;
}
LayoutManager layout = getLayout();
Dime... | .getMaximumSize();
int width = Math.min(maximumSize.width, Math.max(preferredSize.width, layoutPrefSize.width));
int height = Math.min(maximumSize.height, Math. |
LaserEaterOrDivider.java | /FileExtraction/Java_unseen/Froomeeth_SeriliaOld/src/serilia/world/blocks/power/LaserEaterOrDivider.java | package serilia.world.blocks.power;
import mindustry.gen.Building;
import mindustry.world.Block;
import mindustry.world.blocks.power.PowerGraph;
import static serilia.util.SeUtil.getGraphWithin;
public class LaserEaterOrDivider extends Block{
public boolean eat = true;
public int laserRange = 7;
public ... | 1,838 | Java | .java | Froomeeth/SeriliaOld | 11 | 2 | 0 | 2023-01-10T18:48:44Z | 2024-01-05T01:00:38Z | 794fe53f72552db74b789224fb322669297aff00c0b9bc2a77690d04228ccffb | [] | [
1337,
1124,
36351,
51,
5879,
51,
8597,
51,
7404,
64,
222,
222,
485,
12218,
46619,
51,
2536,
51,
15009,
64,
222,
485,
12218,
46619,
51,
5879,
51,
2246,
64,
222,
485,
12218,
46619,
51,
5879,
51,
8597,
51,
7404,
51,
6790,
3418,
64,
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,... | 434 | [
581,
648,
45629,
3216,
299,
244,
60,
64,
465,
581,
517,
15188,
74,
1670,
1543,
24463,
45,
671,
655,
1528,
310,
2615,
45,
444,
312,
310,
1991,
299,
8731,
299,
7951,
10781,
299,
4826,
299,
878,
64,
603,
453,
348,
8278,
4023,
7183,
7... | 1,999,827,202,997,422,600 | true | false | false | false | [
4023,
1529,
882,
762,
1528,
419,
4023,
1529,
51,
10687,
6790,
45,
994,
25855,
312,
343,
339,
728,
128,
419,
434,
45,
2275,
3695,
882,
762,
46,
4023,
3695,
51,
10687,
6790,
45,
994,
25855,
338,
6168,
12270,
312,
419,
434,
45,
2275,
... | -1,658,129,397,231,586,000 | true | public int laserRange = 7;
public LaserEaterOrDivider(String name){
super(name);
update = rotate = insulated = solid = true;
//accesses graph power directly, do not want it to connect to anything at all
hasPower = false;
}
public class MMMMMLaserDelishBuild extends Buildi... | connect to anything at all
hasPower = false;
}
public class MMMMMLaserDelishBuild extends Building{
public PowerGraph graphIn, graphOut, graphLeft, graphRight;
public float splitPercent = 0.5f;
@Override
public void updateTile(){
if(graphIn == null) return;... | .5f;
@Override
public void updateTile(){
if(graphIn == null) return;
float backStored = graphIn.getBatteryStored();
graphIn.transferPower(-backStored);
if(eat && graphOut!= null){
graphOut.transferPower(backStored);
}else{
... | graphOut!= null){
graphOut.transferPower(backStored);
}else{
if(graphLeft!= null) graphLeft.transferPower(backStored * splitPercent);
if(graphRight!= null) graphRight.transferPower(backStored * (1 - splitPercent));
}
}
@Override
... |
//in
graphIn = getGraphWithin(this, laserRange, rotation + 2, rotation);
//out
if(eat){
if(front()!= null && front().block.hasPower) graphOut = front |
CourseRepositoryImpl.java | /FileExtraction/Java_unseen/wanlinus_emooc/src/main/java/cn/wanlinus/emooc/persistence/impl/CourseRepositoryImpl.java | /*
* Copyright (C) 2018 - wanli <wanlinus@qq.com>
*
* This file is part of emooc
*
* 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) ... | 3,385 | Java | .java | wanlinus/emooc | 9 | 2 | 1 | 2018-04-02T11:02:03Z | 2018-09-26T03:09:40Z | 40a65ddc6412cd6181dca42c159656bb29689c41543161e27ea038c4b03b9db1 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
449,
360,
297,
393,
350,
21990,
1823,
371,
69,
10903,
51,
527,
67,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
19884,
561,
222,
338,
222,
338,
1369,
3477,
458,
3760,
295... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 866 | [
494,
547,
11616,
4635,
338,
3767,
30671,
100,
1213,
45393,
100,
25504,
38050,
9586,
2486,
10641,
332,
494,
547,
332,
17013,
10641,
51,
25504,
38050,
9586,
100,
33945,
100,
798,
299,
6121,
494,
6999,
625,
494,
332,
704,
2486,
18005,
332,... | -8,477,966,352,393,995,000 | true | false | false | false | [
1168,
64,
465,
339,
465,
496,
1806,
303,
581,
1701,
65,
1225,
65,
671,
49,
2210,
2023,
8446,
5235,
33187,
365,
320,
310,
1175,
910,
5576,
299,
332,
4635,
362,
51,
33945,
100,
2491,
2486,
362,
444,
49,
1016,
45,
104,
51,
25504,
380... | 4,484,280,172,802,092,000 | true | +
"(SELECT * FROM TB_COURSE_CLASSIFICATION AS cc " +
"WHERE cc.CLASSIFICATION_DIRECTION_ID = '" + directionId + "') AS classification " +
"ON course.COURSE_CLASSIFICATION_ID = classification.CLASSIFICATION_ID LIMIT " +
(page * pageSize) + ... | CLASSIFICATION_ID = classification.CLASSIFICATION_ID LIMIT " +
(page * pageSize) + ", " + pageSize + "";
}
System.err.println(sql);
Query query = this.getEntityManager().createNativeQuery(sql);
query.unwrap(SQLQuery.class).addEntity(Course.class);
List<Course>... | NativeQuery(sql);
query.unwrap(SQLQuery.class).addEntity(Course.class);
List<Course> list = query.getResultList();
return CollectionUtils.isEmpty(list)? Collections.EMPTY_LIST : list;
}
@Override
public List<Map<String, Object>> courseDirectionPie() {
final String sql = "SE... | list;
}
@Override
public List<Map<String, Object>> courseDirectionPie() {
final String sql = "SELECT d.DIRECTION_NAME AS dname,count(c.CLASSIFICATION_NAME) AS counts FROM TB_COURSE_CLASSIFICATION c " +
"INNER JOIN TB_COURSE course ON c.CLASSIFICATION_ID = course.COURSE_CLASSIFICAT... | _DIRECTION d ON c.CLASSIFICATION_DIRECTION_ID = d.DIRECTION_ID " +
"GROUP BY c.CLASSIFICATION_DIRECTION_ID";
Query query = this.getEntityManager().createNativeQuery(sql); |
GroupSubject.java | /FileExtraction/Java_unseen/CoolLord22_OtherDrops/src/com/gmail/zariust/otherdrops/subject/GroupSubject.java | // OtherDrops - a Bukkit plugin
// Copyright (C) 2011 Robert Sargant, Zarius Tularial, Celtic Minstrel
//
// 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
/... | 2,861 | Java | .java | CoolLord22/OtherDrops | 19 | 10 | 0 | 2018-01-07T21:22:42Z | 2023-09-26T07:47:13Z | a507c2c53f54c2542084108aa579d6af653091aff6beb55cc8e410a24ee52a39 | [] | [
325,
7868,
73,
33463,
449,
331,
2755,
17120,
3985,
222,
325,
2657,
327,
72,
46,
244,
55,
53,
54,
54,
39177,
377,
645,
710,
49,
2538,
48828,
413,
1919,
583,
49,
409,
13162,
314,
507,
2342,
2836,
222,
325,
222,
325,
1369,
3477,
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,... | 694 | [
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
325,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
325,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
221,
2819,
341,
222,
325,
6994,
6153,
506... | -7,657,326,606,901,229,000 | true | false | false | false | [
785,
51,
7265,
51,
127,
2828,
695,
51,
2476,
17493,
1088,
51,
624,
51,
768,
64,
222,
485,
785,
51,
7265,
51,
127,
2828,
695,
51,
2476,
17493,
1088,
51,
2200,
51,
1081,
4505,
64,
222,
485,
785,
51,
7265,
51,
127,
2828,
695,
51,
... | -8,399,231,043,455,983,000 | true | 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 a copy of the GNU General Public License
// along ... |
// 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 com.gmail.zariust.otherdrops.subject;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import com.gmail.zariust.otherdrops.OtherDrops;
im... | ps.subject;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import com.gmail.zariust.otherdrops.OtherDrops;
import com.gmail.zariust.otherdrops.data.Data;
import com.gmail.zariust.otherdrops.options.ConfigOnly;
import com.gmail.zariust.otherdrops.options.ToolDamage;
@ConfigOnly(PlayerSu... | com.gmail.zariust.otherdrops.data.Data;
import com.gmail.zariust.otherdrops.options.ConfigOnly;
import com.gmail.zariust.otherdrops.options.ToolDamage;
@ConfigOnly(PlayerSubject.class)
public class GroupSubject extends LivingSubject {
private String group;
public GroupSubject(String grp) {
super(null... | }
public String getGroup() {
return group;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof GroupSubject))
return false;
GroupSubject targ = (GroupSubject) other; |
UploadStep.java | /FileExtraction/Java_unseen/forTEXT_catma/src/main/java/de/catma/ui/module/project/documentwizard/UploadStep.java | /*
* CATMA Computer Aided Text Markup and Analysis
*
* Copyright (C) 2009-2013 University Of Hamburg
*
* 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... | 16,892 | Java | .java | forTEXT/catma | 83 | 9 | 121 | 2013-03-05T17:15:30Z | 2024-04-20T15:28:19Z | b3aecc0fcebc0f5680fb95ec8543c7d842c3dc809acabc48f98e117c9a22ba5e | [] | [
1127,
21355,
338,
280,
27615,
1418,
17855,
418,
12190,
3336,
7797,
436,
480,
17497,
222,
338,
21355,
338,
280,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
56,
244,
11451,
16122,
696,
30788,
108,
222,
338,
222,
338,
280... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
9582,
829,
222,
338,
280,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
280,
1369,
3477,
458,
2744,
347,
341,
9850,
708,... | 4,398,411,649,771,085,300 | true | false | false | false | [
1401,
51,
735,
51,
17640,
6989,
64,
222,
485,
1401,
51,
735,
51,
17640,
8783,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
41661,
64,
222,
485,
1401,
51,
735,
51,
991,
8783,
64,
222,
485,
1401,
51,
73... | -7,670,256,464,157,265,000 | true | 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 will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | * 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.or... | the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.catma.ui.module.project.documentwizard;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream... | java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URL;
import java.net.URLConnection;
import java.nio.channels.Channels;
imp... | Channel;
import java.nio.channels.ReadableByteChannel;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import org.apache.commons.compress.arch |
MultipartStream.java | /FileExtraction/Java_unseen/mdaniel_svn-caucho-com-resin/modules/kernel/src/com/caucho/vfs/MultipartStream.java | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | 10,629 | Java | .java | mdaniel/svn-caucho-com-resin | 18 | 17 | 0 | 2012-03-01T21:07:13Z | 2018-11-13T04:19:42Z | 4d0faf9e5aa1b8319f0bb16e48573b782961329cf51a47b0fe8208c267d76039 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
61,
50,
55,
53,
54,
55,
409,
4474,
1525,
21893,
790,
1187,
4760,
5225,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1955,
285,
45,
87,
46,
3944,
6391,
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 | [
45,
1312,
1640,
49,
14601,
312,
222,
338,
4858,
1880,
458,
64,
222,
338,
222,
338,
2236,
1849,
316,
299,
6973,
51,
1693,
2248,
1177,
882,
762,
46,
320,
222,
338,
280,
453,
1511,
664,
458,
641,
331,
4330,
3458,
222,
338,
339,
222,
... | 9,170,501,436,053,801,000 | true | false | false | false | [
316,
64,
353,
964,
4858,
1880,
634,
870,
1880,
64,
353,
964,
1922,
634,
316,
2655,
9114,
64,
353,
964,
1922,
634,
316,
9114,
64,
353,
964,
1922,
634,
316,
7375,
64,
353,
964,
8329,
65,
671,
49,
1701,
65,
671,
2023,
634,
5090,
30... | -6,292,587,974,731,717,000 | true | (rawIs, boundary);
* ReadStream is;
*
* while ((is = multi.openRead())!= null) {
* // read from is as a normal stream
* }
*/
public class MultipartStream extends StreamImpl {
private static final L10N L = new L10N(MultipartStream.class);
private ByteBuffer _boundary = new ByteBuffer();
private byte []_bou... | Stream extends StreamImpl {
private static final L10N L = new L10N(MultipartStream.class);
private ByteBuffer _boundary = new ByteBuffer();
private byte []_boundaryBuffer;
private int _boundaryLength;
private ByteBuffer _peekBuffer = new ByteBuffer();
private byte []_peek;
private int _peekOffset;
priv... |
private ByteBuffer _peekBuffer = new ByteBuffer();
private byte []_peek;
private int _peekOffset;
private int _peekLength;
private byte []_dummyBuffer = new byte[32];
private ReadStream _is;
private ReadStream _readStream;
private boolean _isPartDone;
private boolean _isDone;
private boolean _... | is;
private ReadStream _readStream;
private boolean _isPartDone;
private boolean _isDone;
private boolean _isComplete;
private HashMap<String, List<String>> _headers
= new HashMap<String, List<String>>();
private CharBuffer _line = new CharBuffer();
private long _maxLength = 256 * 1024;
private Str... | {
_boundary = new ByteBuffer();
}
public MultipartStream(ReadStream is, String boundary)
throws IOException
{
this();
init(is, boundary);
}
/**
* Returns the default encoding.
|
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 | [
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,
221,
5332,
4126,
1641,
2047,
6... | 1,771,548,933,469,091,600 | true | false | false | false | [
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,
376,
221,
130,
2385,
327,
9440,
10... | -5,346,512,258,591,939,000 | true | /** 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 InstanceSet IS;
/** Function... | 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 if the file is for... | * @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);
} catch (Dataset... | {
// 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("Error lo... | .printStackTrace();
System.exit(-1);
}
//Store Dataset file attributes
readHeader();
itemsets = new Vector( IS.getNumInstances() );
// read all the item |
MuPDFCore.java | /FileExtraction/Java_unseen/ramu2514_pdf-viewer/app/src/main/java/com/avrapps/pdfviewer/viewer_fragment/MuPDFCore.java | package com.avrapps.pdfviewer.viewer_fragment;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.PointF;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.preference.P... | 15,283 | Java | .java | ramu2514/pdf-viewer | 9 | 3 | 0 | 2021-02-07T02:40:19Z | 2021-11-06T16:16:22Z | 63ff21b25e79dec90a91e0a871b0927b8b1bb1d15fa84deefe7d6c18d1843f1d | [] | [
1337,
785,
51,
39790,
7520,
51,
4710,
11441,
51,
11441,
100,
9883,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
7027,
51,
93... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
4803,
127,
51,
4181,
64,
222,
485,
785,
51,
521,
344,
346,
51,
114,
436,
1519,
51,
4803,
127,
51,
20083,
64,
222,
485,
785,
51,
521,
344,
346,
51,
114,
436,
1519,
51,
4803,
127,
51,
14968,
7945,
64,
222,
485,
785,
51,
521,
344... | 3,005,089,398,519,054,000 | true | false | false | false | [
344,
346,
51,
114,
436,
1519,
51,
4803,
127,
51,
4377,
78,
64,
222,
485,
785,
51,
521,
344,
346,
51,
114,
436,
1519,
51,
4803,
127,
51,
30741,
1049,
64,
222,
485,
785,
51,
521,
344,
346,
51,
114,
436,
1519,
51,
4803,
127,
51,
... | -1,869,568,581,109,895,700 | true | fitz.Matrix;
import com.artifex.mupdf.fitz.Outline;
import com.artifex.mupdf.fitz.PDFAnnotation;
import com.artifex.mupdf.fitz.PDFDocument;
import com.artifex.mupdf.fitz.PDFPage;
import com.artifex.mupdf.fitz.PDFWidget;
import com.artifex.mupdf.fitz.Page;
import com.artifex.mupdf.fitz.Quad;
import com.artifex.mupdf.fit... | df.fitz.PDFDocument;
import com.artifex.mupdf.fitz.PDFPage;
import com.artifex.mupdf.fitz.PDFWidget;
import com.artifex.mupdf.fitz.Page;
import com.artifex.mupdf.fitz.Quad;
import com.artifex.mupdf.fitz.Rect;
import com.artifex.mupdf.fitz.RectI;
import com.artifex.mupdf.fitz.StructuredText;
import com.artifex.mupdf.fit... | ex.mupdf.fitz.Page;
import com.artifex.mupdf.fitz.Quad;
import com.artifex.mupdf.fitz.Rect;
import com.artifex.mupdf.fitz.RectI;
import com.artifex.mupdf.fitz.StructuredText;
import com.artifex.mupdf.fitz.android.AndroidDrawDevice;
import com.avrapps.pdfviewer.BuildConfig;
import com.avrapps.pdfviewer.CallbackInterface... | ifex.mupdf.fitz.RectI;
import com.artifex.mupdf.fitz.StructuredText;
import com.artifex.mupdf.fitz.android.AndroidDrawDevice;
import com.avrapps.pdfviewer.BuildConfig;
import com.avrapps.pdfviewer.CallbackInterface;
import com.avrapps.pdfviewer.R;
import com.avrapps.pdfviewer. | library_fragment.data.LastOpenDocuments;
import com.avrapps.pdfviewer.library_fragment.data.PdfBookmarks;
import com.avrapps.pdfviewer.settings_fragment.constants.AppConstants;
|
TestDatabaseRecoverer.java | /FileExtraction/Java_unseen/pitosalas_blogbridge/test/com/salas/bb/core/TestDatabaseRecoverer.java | // BlogBridge -- RSS feed reader, manager, and web based service
// Copyright (C) 2002-2006 by R. Pito Salas
//
// 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... | 5,370 | Java | .java | pitosalas/blogbridge | 28 | 8 | 2 | 2009-01-06T21:27:35Z | 2011-11-02T13:47:54Z | 13619d6ee8281beeea9128cfef06a663e718df80fbb12b8ab5a682d342401a8b | [] | [
325,
20007,
13481,
790,
34889,
7006,
6201,
49,
7886,
49,
480,
2692,
4148,
2733,
222,
325,
2657,
327,
72,
46,
244,
55,
53,
53,
55,
50,
55,
53,
53,
59,
829,
578,
51,
466,
4736,
23082,
321,
222,
325,
222,
325,
1369,
3477,
458,
3760... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
31581,
51,
489,
4060,
459,
55,
742,
310,
9396,
45,
22572,
51,
316,
3354,
6609,
42645,
1052,
310,
27400,
459,
27624,
480,
18792,
15445,
1348,
758,
411,
343,
6728,
32569,
284,
51,
20164,
21502,
4774,
1563,
45,
22572,
894,
603,
31581,
51... | 3,663,784,487,816,612,400 | true | false | false | false | [
4429,
343,
6728,
32569,
284,
51,
20164,
21502,
4774,
1563,
45,
22572,
894,
303,
339,
465,
581,
782,
23910,
3283,
21502,
4774,
1563,
100,
2042,
3354,
365,
303,
320,
310,
4860,
11333,
31581,
299,
556,
4860,
11333,
492,
310,
31581,
51,
4... | 8,726,476,289,865,617,000 | true | prefs.setPassword("2");
assertTrue(prefs.isAccountInformationEntered());
assertNull("Statuses and dates aren't set",
DatabaseRecoverer.getLastSuccessfulSyncDate(prefs));
prefs.setLastSyncInStatus(null);
prefs.setLastSyncOutStatus(null);
prefs.setLastSyncInDate(new D... |
prefs.setLastSyncOutStatus(null);
prefs.setLastSyncInDate(new Date());
prefs.setLastSyncOutDate(new Date());
assertNull("Success status isn't set.",
DatabaseRecoverer.getLastSuccessfulSyncDate(prefs));
prefs.setLastSyncInStatus(ServicePreferences.SYNC_STATUS_FAILURE... | SuccessfulSyncDate(prefs));
prefs.setLastSyncInStatus(ServicePreferences.SYNC_STATUS_FAILURE);
prefs.setLastSyncOutStatus(ServicePreferences.SYNC_STATUS_FAILURE);
assertNull("Success statuses aren't set.",
DatabaseRecoverer.getLastSuccessfulSyncDate(prefs));
}
public void t... | .",
DatabaseRecoverer.getLastSuccessfulSyncDate(prefs));
}
public void testGetLastSuccessfulSyncDate_NoAccount()
{
ServicePreferences prefs = new ServicePreferences();
prefs.setLastSyncOutDate(new Date());
prefs.setLastSyncInDate(new Date());
prefs.setLastSyncInS... | .setEmail(null);
assertNull("Account info isn't entered.",
DatabaseRecoverer.getLastSuccessfulSyncDate(prefs));
}
public void testGetLastSuccessfulSyncDate_In()
{
Date inDate = new Date( |
CommentServiceImpl.java | /FileExtraction/Java_unseen/fosslight_fosslight/src/main/java/oss/fosslight/service/impl/CommentServiceImpl.java | /*
* Copyright (c) 2021 LG Electronics Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
package oss.fosslight.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import o... | 8,576 | Java | .java | fosslight/fosslight | 172 | 114 | 89 | 2021-04-29T09:49:47Z | 2024-05-09T06:51:21Z | bdf6e4e2fd80500cf324b22c7f38dfb2a97a11122367a72d5ff683b4f4f6527e | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
54,
28351,
27480,
1339,
6367,
51,
222,
338,
18769,
50,
3801,
50,
5551,
63,
418,
21156,
50,
56,
51,
53,
50,
2605,
1676,
588,
222,
222,
1337,
29205,
51,
598,
441,
2447,
51,
2140... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1366,
51,
4778,
100,
73,
6054,
100,
16882,
100,
14497,
13726,
100,
77,
1309,
51,
3591,
45,
12455,
51,
35554,
6792,
1052,
4102,
221,
344,
327,
2577,
1259,
6327,
979,
458,
1827,
979,
327,
2253,
2793,
1366,
51,
4778,
100,
73,
6054,
100... | -2,509,978,044,213,879,000 | true | false | false | false | [
1177,
320,
621,
221,
1749,
5633,
2793,
1366,
51,
4778,
100,
73,
6054,
100,
16882,
100,
11062,
2971,
27076,
799,
586,
100,
77,
1309,
63,
596,
221,
12455,
51,
489,
3580,
6792,
45,
2253,
2793,
1366,
51,
4778,
100,
73,
6054,
100,
16882,... | -4,525,850,150,604,611,000 | true | Def.CD_DTL_COMMENT_PARTNER_HIS.equals(bean.getReferenceDiv());
if (deleteUserComment && isNew && (CoConstDef.CD_DTL_COMMENT_IDENTIFICAITON_HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PACKAGING_HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PARTNER_HIS.equals(bean.getRef... | _HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PACKAGING_HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PARTNER_HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PROJECT_HIS.equals(bean.getReferenceDiv()))) {
switch (bean.getReferenceDiv()) {
case CoC... | COMMENT_PARTNER_HIS.equals(bean.getReferenceDiv())
|| CoConstDef.CD_DTL_COMMENT_PROJECT_HIS.equals(bean.getReferenceDiv()))) {
switch (bean.getReferenceDiv()) {
case CoConstDef.CD_DTL_COMMENT_IDENTIFICAITON_HIS:
bean.setReferenceDiv(CoConstDef.CD_DTL_COMMENT_IDENTIFICATION_USER);
break;
... | ()) {
case CoConstDef.CD_DTL_COMMENT_IDENTIFICAITON_HIS:
bean.setReferenceDiv(CoConstDef.CD_DTL_COMMENT_IDENTIFICATION_USER);
break;
case CoConstDef.CD_DTL_COMMENT_PACKAGING_HIS:
bean.setReferenceDiv(CoConstDef.CD_DTL_COMMENT_PACKAGING_USER);
break | ;
case CoConstDef.CD_DTL_COMMENT_PROJECT_HIS:
bean.setReferenceDiv(CoConstDef.CD_DTL_COMMENT_PROJECT_USER);
break;
case |
DependencyDiagramHandler.java | /FileExtraction/Java_unseen/christophefondacci_nextep-designer/com.neXtep.designer.dbgm.ui/src/com/nextep/designer/dbgm/ui/handlers/DependencyDiagramHandler.java | /*******************************************************************************
* Copyright (c) 2011 neXtep Software and contributors.
* All rights reserved.
*
* This file is part of neXtep designer.
*
* NeXtep designer is free software: you can redistribute it
* and/or modify it under the terms of the GNU Gen... | 5,471 | Java | .java | christophefondacci/nextep-designer | 25 | 9 | 24 | 2016-10-15T01:11:09Z | 2017-09-04T19:05:11Z | 0bedbaafdc24802cef910c4e0e52f23e1c35ea9ce95d4fc93d500896adc9fb31 | [] | [
28683,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
54,
1188,
93,
538,
117,
3870,
480,
13356,
51,
222,
338,
3381,
4760,
5225,
51,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1188,
93,
538,
117,
26917,
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 | [
8381,
51,
9777,
51,
1130,
51,
6230,
899,
1225,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
7506,
51,
1353,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
7506,
51,
1353,
2232,
64,
222,
485,
1105,
51,
8327,
51,
1284,
51,
7626,
51,
... | 6,779,961,694,411,727,000 | true | false | false | false | [
51,
3918,
51,
33817,
64,
222,
485,
785,
51,
1995,
950,
51,
624,
36208,
51,
1184,
51,
78,
22421,
64,
222,
485,
785,
51,
1995,
950,
51,
624,
36208,
51,
1184,
51,
78,
3580,
64,
222,
485,
785,
51,
1995,
950,
51,
624,
36208,
51,
11... | 3,401,628,950,977,584,600 | true | commons.collections.map.MultiValueMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IWorkbenchPart;
import... | org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.navigator.CommonNavigator;
import org.eclipse.ui.navigator.CommonViewer;
import com.nextep.datadesigner.dbgm.model.IBasicTable;
im... | eclipse.ui.navigator.CommonNavigator;
import org.eclipse.ui.navigator.CommonViewer;
import com.nextep.datadesigner.dbgm.model.IBasicTable;
import com.nextep.datadesigner.exception.ErrorException;
import com.nextep.datadesigner.model.IElementType;
import com.nextep.datadesigner.model.IReference;
import com.nextep.datade... | .exception.ErrorException;
import com.nextep.datadesigner.model.IElementType;
import com.nextep.datadesigner.model.IReference;
import com.nextep.datadesigner.model.IReferenceable;
import com.nextep.datadesigner.model.IReferencer;
import com.nextep.datadesigner.model.ITypedObject;
import com.nextep.datadesigner.vcs.impl... |
import com.nextep.datadesigner.vcs.impl.VersionedDiagram;
import com.nextep.datadesigner.vcs.services.VersionHelper;
import com.nextep.designer.core.helpers.NameHelper |
TrasformazioniUtils.java | /FileExtraction/Java_unseen/link-it_govpay/jars/core/src/main/java/it/govpay/core/utils/trasformazioni/TrasformazioniUtils.java | /*
* GovPay - Porta di Accesso al Nodo dei Pagamenti SPC
* http://www.gov4j.it/govpay
*
* Copyright (c) 2014-2024 Link.it srl (http://www.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 Fre... | 20,099 | Java | .java | link-it/govpay | 42 | 22 | 31 | 2015-05-08T16:57:28Z | 2024-04-12T16:09:58Z | f20edc5c8783f54c651ec1f6efb3ead514de573c5c912421cbbd21534f28b4db | [] | [
1127,
222,
338,
590,
1558,
8700,
449,
8449,
102,
2090,
8275,
116,
763,
508,
6049,
24948,
21709,
4716,
110,
377,
3446,
222,
338,
1930,
574,
1516,
51,
7202,
57,
111,
51,
302,
52,
7202,
7014,
222,
338,
222,
338,
2657,
327,
104,
46,
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 | [
782,
5342,
7193,
1225,
45,
3716,
1264,
49,
3531,
65,
671,
49,
2210,
67,
7108,
1225,
49,
457,
1237,
1637,
49,
18514,
18190,
8410,
1225,
65,
671,
49,
910,
67,
2487,
3694,
49,
374,
221,
11253,
18190,
8410,
1225,
65,
671,
49,
910,
67,... | 1,609,392,824,475,097,000 | true | false | false | false | [
51,
15927,
45,
9381,
7330,
51,
5847,
100,
18612,
100,
8469,
19203,
1886,
46,
320,
621,
221,
9018,
1225,
51,
543,
45,
9381,
7330,
51,
5847,
100,
18612,
100,
8469,
49,
3708,
51,
14722,
1052,
374,
221,
130,
8212,
221,
344,
45,
9018,
... | -1,038,996,473,791,112,800 | true | void fillDynamicMap(Logger log, Map<String, Object> dynamicMap, IContext context, MultivaluedMap<String, String> queryParameters,
MultivaluedMap<String, String> pathParameters, Map<String, String> headers, String json) {
if(dynamicMap.containsKey(Costanti.MAP_DATE_OBJECT)==false) {
dynamicMap.put(Costanti.MAP_... | , String> headers, String json) {
if(dynamicMap.containsKey(Costanti.MAP_DATE_OBJECT)==false) {
dynamicMap.put(Costanti.MAP_DATE_OBJECT, DateManager.getDate());
}
if(context!=null) {
GpContext ctx = (GpContext) ((org.openspcoop2.utils.service.context.Context)context).getApplicationContext();
if(dynamicM... | ());
}
if(context!=null) {
GpContext ctx = (GpContext) ((org.openspcoop2.utils.service.context.Context)context).getApplicationContext();
if(dynamicMap.containsKey(Costanti.MAP_CTX_OBJECT)==false) {
dynamicMap.put(Costanti.MAP_CTX_OBJECT, ctx.getContext());
}
if(dynamicMap.containsKey(Costanti.M... | .containsKey(Costanti.MAP_CTX_OBJECT)==false) {
dynamicMap.put(Costanti.MAP_CTX_OBJECT, ctx.getContext());
}
if(dynamicMap.containsKey(Costanti.MAP_TRANSACTION_ID_OBJECT)==false) {
String idTransazione = context.getTransactionId();
dynamicMap.put(Costanti.MAP_TRANSACTION_ID_OBJECT, idTransazione);... | if(ctx!=null && ctx.getEventoCtx()!=null && ctx.getEventoCtx().getUrl()!= null) {
URLRegExpExtractor urle = new URLRegExpExtractor(ctx.getEventoCtx().getUrl(), log);
|
MtpTools.java | /FileExtraction/Java_unseen/NightscoutFoundation_xDrip/app/src/main/java/com/eveningoutpost/dexdrip/utils/usb/MtpTools.java | package com.eveningoutpost.dexdrip.utils.usb;
import android.content.Context;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbManager;
import android.mtp.MtpConstants;
import android.mtp.MtpDevice;
import android.mtp.MtpObjectInfo;
import android.o... | 12,221 | Java | .java | NightscoutFoundation/xDrip | 1,315 | 1,094 | 147 | 2016-09-23T13:33:17Z | 2024-04-29T22:41:06Z | c14f2f2511536f1939553b7caf06cc66a9d6e43a7aff4d8544c3b0bb61242b11 | [] | [
1337,
785,
51,
11090,
318,
560,
1545,
51,
669,
105,
4479,
51,
2324,
51,
13092,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
14851,
51,
13092,
51,
33574,
3046,
64,
222,
485,
2616,
51,
14851,
51,
13092,
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 | [
1139,
312,
310,
434,
327,
2729,
976,
1139,
1413,
630,
762,
46,
320,
343,
2681,
51,
106,
45,
6545,
49,
332,
1898,
3256,
976,
1139,
1413,
347,
1506,
1840,
518,
459,
312,
343,
461,
449,
54,
64,
310,
339,
310,
2681,
51,
105,
45,
654... | -8,992,780,132,898,313,000 | true | false | false | false | [
1413,
51,
19717,
3308,
1052,
310,
461,
3256,
976,
1139,
1413,
51,
19717,
3308,
492,
465,
339,
465,
581,
924,
1922,
3081,
37253,
402,
4069,
45,
3242,
507,
510,
3046,
364,
510,
3046,
49,
1175,
648,
4780,
625,
49,
1175,
910,
4891,
46,
... | 483,062,143,738,841,500 | true | Info);
if (sendObjectInfoResult == null) {
Log.e(TAG, "Null sendObjectInfoResult in create document :(");
return -1;
}
Log.d(TAG, "Send object info result: " + sendObjectInfoResult.getName());
// Association is what passes for a folder within mtp
if (obje... | result: " + sendObjectInfoResult.getName());
// Association is what passes for a folder within mtp
if (objectInfo.getFormat()!= MtpConstants.FORMAT_ASSOCIATION) {
if (!device.sendObject(sendObjectInfoResult.getObjectHandle(),
sendObjectInfoResult.getCompressedSize(), so... | Object(sendObjectInfoResult.getObjectHandle(),
sendObjectInfoResult.getCompressedSize(), source)) {
return -1;
}
}
Log.d(TAG, "Success indicated with handle: " + sendObjectInfoResult.getObjectHandle());
return sendObjectInfoResult.getObjectHandle()... | Result.getObjectHandle());
return sendObjectInfoResult.getObjectHandle();
}
public static boolean deleteIfExistsInRoot(final MtpDevice mtpDevice, final int storageId, final String filename) {
final int handle = existsInRoot(mtpDevice, storageId, filename);
if (handle!= -1) {
... | handle);
}
return false;
}
public static int existsInTopLevelFolder(final MtpDevice mtpDevice, final int storageId, final String folder, final String filename) {
final HashMap<String, Integer> folders |
XLang.java | /FileExtraction/Java_unseen/entropy-cloud_nop-entropy/nop-xlang/src/main/java/io/nop/xlang/api/XLang.java | /**
* Copyright (c) 2017-2024 Nop Platform. All rights reserved.
* Author: canonical_entropy@163.com
* Blog: https://www.zhihu.com/people/canonical-entropy
* Gitee: https://gitee.com/canonical-entropy/nop-entropy
* Github: https://github.com/entropy-cloud/nop-entropy
*/
package io.nop.xlang.api;
import io.nop... | 4,405 | Java | .java | entropy-cloud/nop-entropy | 460 | 59 | 1 | 2022-08-18T22:43:44Z | 2024-05-08T15:49:01Z | 2c0ce481ce7077ff332c7462ee2ba024b8ab68b91e1aaa61ea34a42ef34d35de | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
60,
50,
55,
53,
55,
57,
508,
539,
11329,
51,
3381,
4760,
5225,
51,
222,
338,
6265,
63,
21974,
100,
21514,
69,
54,
59,
56,
51,
527,
222,
338,
20007,
63,
280,
1698,
574,
1516,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1284,
51,
1600,
51,
2608,
51,
93,
1230,
64,
222,
485,
3377,
51,
10361,
51,
1284,
51,
1600,
51,
2608,
51,
2228,
51,
93,
1230,
2837,
64,
222,
485,
3377,
51,
10361,
51,
1284,
51,
9069,
51,
78,
2466,
1262,
64,
222,
485,
3377,
... | 5,825,806,408,367,903,000 | true | false | false | false | [
3377,
51,
10361,
51,
125,
1600,
51,
125,
576,
51,
6588,
576,
8122,
64,
222,
485,
3377,
51,
10361,
51,
125,
1600,
51,
125,
576,
51,
6588,
576,
2649,
64,
222,
485,
3377,
51,
10361,
51,
125,
1600,
51,
125,
576,
51,
6588,
576,
2649,... | 4,996,057,918,936,785,000 | true | .core.lang.xml.XNode;
import io.nop.core.lang.xml.parse.XNodeParser;
import io.nop.core.reflect.IFunctionModel;
import io.nop.core.resource.IResource;
import io.nop.core.resource.component.ResourceComponentManager;
import io.nop.core.type.PredefinedGenericTypes;
import io.nop.xlang.XLangConstants;
import io.nop.xlang.a... | resource.IResource;
import io.nop.core.resource.component.ResourceComponentManager;
import io.nop.core.type.PredefinedGenericTypes;
import io.nop.xlang.XLangConstants;
import io.nop.xlang.ast.XLangOutputMode;
import io.nop.xlang.ast.definition.ScopeVarDefinition;
import io.nop.xlang.exec.ExecutableFunctionEvalAction;
i... | import io.nop.xlang.ast.XLangOutputMode;
import io.nop.xlang.ast.definition.ScopeVarDefinition;
import io.nop.xlang.exec.ExecutableFunctionEvalAction;
import io.nop.xlang.xpl.IXplCompiler;
import io.nop.xlang.xpl.IXplTag;
import io.nop.xlang.xpl.IXplTagLib;
import io.nop.xlang.xpl.impl.DefaultXLangProvider;
import io.n... | io.nop.xlang.xpl.IXplCompiler;
import io.nop.xlang.xpl.IXplTag;
import io.nop.xlang.xpl.IXplTagLib;
import io.nop.xlang.xpl.impl.DefaultXLangProvider;
import io.nop.xlang.xpl.impl.XplModelParser;
import java.util.Map;
import static io. | nop.xlang.XLangErrors.ARG_LIB_PATH;
import static io.nop.xlang.XLangErrors.ARG_TAG_NAME;
import static io.nop.xlang.XLangErrors.ERR |
MoveSubtreeUpAction.java | /FileExtraction/Java_unseen/bioinfweb_TreeGraph2/main/src/info/bioinfweb/treegraph/gui/actions/edit/MoveSubtreeUpAction.java | /*
* TreeGraph 2 - A feature rich editor for phylogenetic trees
* Copyright (C) 2007-2011, 2013-2019 Ben Stöver, Sarah Wiechers, Kai Müller
* <http://treegraph.bioinfweb.info/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... | 2,621 | Java | .java | bioinfweb/TreeGraph2 | 8 | 1 | 0 | 2017-08-30T14:45:44Z | 2021-04-26T19:42:05Z | d6e60736fc91f64910a56a8ed8cedfc661d68833300316e081b0a2ccfbaeaf34 | [] | [
1127,
222,
338,
9393,
3418,
244,
55,
449,
418,
2817,
20806,
7020,
456,
34852,
769,
291,
19410,
23531,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
50,
55,
53,
54,
54,
49,
244,
55,
53,
54,
56,
50,
55,
53,
54,
62,
244,
17... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 736 | [
222,
485,
3116,
51,
12787,
5290,
1857,
51,
3266,
2275,
51,
8472,
51,
1850,
1763,
51,
4370,
2163,
64,
222,
485,
3116,
51,
12787,
5290,
1857,
51,
3266,
2275,
51,
8472,
51,
3266,
1763,
51,
3371,
23107,
64,
222,
485,
3116,
51,
12787,
... | 8,639,217,928,424,837,000 | true | false | false | false | [
376,
221,
543,
899,
45,
1728,
51,
2491,
49,
332,
5785,
37251,
992,
742,
4517,
221,
543,
899,
45,
1728,
51,
82,
3585,
10522,
1122,
100,
3319,
49,
37275,
51,
13177,
100,
82,
312,
376,
221,
543,
899,
45,
1728,
51,
15448,
100,
17519,
... | -5,173,317,520,976,166,000 | true |
import info.bioinfweb.treegraph.gui.mainframe.MainFrame;
import info.bioinfweb.treegraph.gui.treeframe.TreeInternalFrame;
import info.bioinfweb.treegraph.gui.treeframe.TreeSelection;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import ja... | .treeframe.TreeSelection;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import javax.swing.Action;
import javax.swing.KeyStroke;
public class MoveSubtreeUpAction extends MoveSubtreeAction {
public MoveSubtreeUpAction(MainFrame mainFram... | .swing.Action;
import javax.swing.KeyStroke;
public class MoveSubtreeUpAction extends MoveSubtreeAction {
public MoveSubtreeUpAction(MainFrame mainFrame) {
super(mainFrame);
putValue(Action.NAME, "Move subtree up");
putValue(Action.MNEMONIC_KEY, KeyEvent.VK_M);
putValue(Action.SHORT_DESCRIPTION, "Move subt... |
putValue(Action.NAME, "Move subtree up");
putValue(Action.MNEMONIC_KEY, KeyEvent.VK_M);
putValue(Action.SHORT_DESCRIPTION, "Move subtree up");
putValue(Action.ACCELERATOR_KEY,
KeyStroke.getKeyStroke(KeyEvent.VK_UP,
Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
loadSymbols("MoveUp");
... |
@Override
public void setEnabled(Document document, TreeSelection selection, NodeBranchDataAdapter tableAdapter) {
boolean enabled = oneElementSelected(selection) &&
(selection.containsType(Node.class) |
VehicleTypeTrebuchetLarge.java | /FileExtraction/Java_unseen/P3pp3rF1y_AncientWarfare2/src/main/java/net/shadowmage/ancientwarfare/vehicle/entity/types/VehicleTypeTrebuchetLarge.java | package net.shadowmage.ancientwarfare.vehicle.entity.types;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.ResourceLocation;
import net.shadowmage.ancientwarfare.core.AncientWarfareCore;
import net.shadowmage.ancientwarfare.vehicle.config.AWVehicleStatics;
import net.shadowmage.ancientwarfare.vehic... | 7,425 | Java | .java | P3pp3rF1y/AncientWarfare2 | 138 | 96 | 99 | 2014-02-12T00:05:03Z | 2021-11-12T02:53:53Z | 585eb815bb59e720e40d07c1118d966a6b6dc4f0d60f62e96f01dddc1a60ab00 | [] | [
1337,
3723,
51,
7219,
1457,
51,
1981,
1633,
9767,
107,
605,
51,
14778,
51,
2244,
51,
2529,
64,
222,
222,
485,
3723,
51,
8654,
51,
39749,
51,
34770,
2649,
18133,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
2305,
2941,
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 | [
5880,
24672,
54,
58,
312,
376,
221,
1346,
38536,
2439,
51,
688,
45,
38536,
5389,
51,
424,
794,
4619,
24672,
54,
53,
312,
376,
221,
1346,
38536,
2439,
51,
688,
45,
38536,
5389,
51,
424,
794,
4619,
24672,
54,
58,
312,
376,
221,
1346... | -5,387,480,500,777,746,000 | true | false | false | false | [
312,
1332,
221,
1346,
38536,
2439,
51,
688,
45,
38536,
5389,
51,
424,
794,
43980,
24672,
56,
53,
312,
376,
221,
1346,
38536,
2439,
51,
688,
45,
38536,
5389,
51,
424,
794,
43980,
24672,
57,
58,
312,
376,
221,
1346,
38536,
2439,
51,
... | -4,604,914,542,990,607,000 | true | bleShot15);
validAmmoTypes.add(AmmoRegistry.ammoClusterShot10);
validAmmoTypes.add(AmmoRegistry.ammoClusterShot15);
validAmmoTypes.add(AmmoRegistry.ammoExplosive10);
validAmmoTypes.add(AmmoRegistry.ammoExplosive15);
validAmmoTypes.add(AmmoRegistry.ammoHE10);
validAmmoTypes.add(AmmoRegistry.ammoHE15);
vali... | Registry.ammoExplosive10);
validAmmoTypes.add(AmmoRegistry.ammoExplosive15);
validAmmoTypes.add(AmmoRegistry.ammoHE10);
validAmmoTypes.add(AmmoRegistry.ammoHE15);
validAmmoTypes.add(AmmoRegistry.ammoNapalm10);
validAmmoTypes.add(AmmoRegistry.ammoNapalm15);
validAmmoTypes.add(AmmoRegistry.ammoStoneShot30);
... | Types.add(AmmoRegistry.ammoHE15);
validAmmoTypes.add(AmmoRegistry.ammoNapalm10);
validAmmoTypes.add(AmmoRegistry.ammoNapalm15);
validAmmoTypes.add(AmmoRegistry.ammoStoneShot30);
validAmmoTypes.add(AmmoRegistry.ammoStoneShot45);
validAmmoTypes.add(AmmoRegistry.ammoFireShot30);
validAmmoTypes.add(AmmoRegistr... | );
validAmmoTypes.add(AmmoRegistry.ammoStoneShot30);
validAmmoTypes.add(AmmoRegistry.ammoStoneShot45);
validAmmoTypes.add(AmmoRegistry.ammoFireShot30);
validAmmoTypes.add(AmmoRegistry.ammoFireShot45);
validAmmoTypes.add(AmmoRegistry.ammoPebbleShot30);
validAmmoTypes.add | (AmmoRegistry.ammoPebbleShot45);
validAmmoTypes.add(AmmoRegistry.ammoClusterShot30);
validAmmoTypes.add(AmmoRegistry.ammoClusterShot45);
|
T4241573.java | /FileExtraction/Java_unseen/corretto_corretto-11/test/langtools/tools/javac/4241573/T4241573.java | /*
* Copyright (c) 2009, 2015, 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 ... | 8,458 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | b4b2ca64912395c53f4f105e0c106eb92fc695df0b08ac6e25588a61665804c8 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
49,
244,
55,
53,
54,
58,
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 | [
51,
6873,
1912,
390,
12036,
991,
1046,
332,
111,
51,
70,
742,
310,
2050,
1894,
20388,
299,
1506,
20388,
45,
909,
2050,
459,
2836,
51,
6873,
2132,
332,
111,
51,
87,
742,
310,
2050,
11397,
2995,
299,
1506,
2995,
45,
909,
2050,
459,
... | 209,391,048,685,439,600 | true | false | false | false | [
52,
3706,
1024,
55,
51,
1874,
2132,
332,
1337,
317,
64,
462,
8578,
1024,
55,
320,
462,
29323,
320,
339,
339,
742,
310,
453,
1369,
2371,
462,
10656,
1623,
6052,
708,
1118,
545,
2448,
563,
341,
1932,
1536,
310,
453,
480,
1532,
1118,
... | -7,427,397,770,272,492,000 | true | .jar").getAbsoluteFile(), "j.A");
File relJar = createJar(new File("rel.jar"), "j.R");
File absDir = createDir(new File("abs.dir").getAbsoluteFile(), "d.A");
File relDir = createDir(new File("rel.dir"), "d.R");
File absTestFile = writeFile(new File("AbsTest.java").getAbsoluteFile(), "cla... | (), "d.A");
File relDir = createDir(new File("rel.dir"), "d.R");
File absTestFile = writeFile(new File("AbsTest.java").getAbsoluteFile(), "class AbsTest { class Inner { } }");
File relTestFile = writeFile(new File("RelTest.java"), "class RelTest { class Inner { } }");
File relTest2File =... | Test { class Inner { } }");
File relTestFile = writeFile(new File("RelTest.java"), "class RelTest { class Inner { } }");
File relTest2File = writeFile(new File("p/RelTest2.java"), "package p; class RelTest2 { class Inner { } }");
// This next class references other classes that will be found on ... | /RelTest2.java"), "package p; class RelTest2 { class Inner { } }");
// This next class references other classes that will be found on the source path
// and which will therefore need to be compiled as well.
File mainFile = writeFile(new File("Main.java"),
"class Main { j.A ja; j.... | = createPath(absJar, relJar, absDir, relDir);
File outDir = new File("classes");
outDir.mkdirs();
String[] args = {
"-sourcepath", sourcePath,
"-d |
MainWindowMenu.java | /FileExtraction/Java_unseen/mars-sim_mars-sim/mars-sim-ui/src/main/java/com/mars_sim/ui/swing/MainWindowMenu.java | /*
* Mars Simulation Project
* MainWindowMenu.java
* @date 2023-03-29
* @author Scott Davis
*/
package com.mars_sim.ui.swing;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.ButtonGroup;
import javax.swing.Ico... | 17,200 | Java | .java | mars-sim/mars-sim | 93 | 34 | 170 | 2015-08-28T14:13:23Z | 2024-05-06T22:14:15Z | e0538cc29ecd781fdeeb835f21916ef9827848e8d4af9a468d2ce338948f36c8 | [] | [
1127,
222,
338,
507,
4207,
31460,
5426,
222,
338,
35438,
2689,
51,
1874,
222,
338,
496,
787,
244,
55,
53,
55,
56,
50,
53,
56,
50,
55,
62,
222,
338,
496,
2133,
377,
28015,
493,
8035,
222,
588,
222,
222,
1337,
785,
51,
47278,
100,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
47278,
100,
4535,
51,
1726,
51,
5934,
51,
10067,
51,
6907,
3516,
64,
222,
485,
785,
51,
47278,
100,
4535,
51,
1726,
51,
5934,
51,
3749,
51,
2514,
284,
51,
2037,
284,
1684,
64,
222,
485,
785,
51,
47278,
100,
4535,
51,
1726,
5... | 4,271,377,292,911,371,000 | true | false | false | false | [
38453,
1684,
64,
222,
485,
785,
51,
47278,
100,
4535,
51,
1726,
51,
5934,
51,
3749,
51,
1925,
51,
3209,
1684,
64,
222,
485,
785,
51,
47278,
100,
4535,
51,
1726,
51,
5934,
51,
3749,
51,
489,
27873,
51,
903,
27873,
1684,
64,
222,
... | -8,610,110,093,423,150,000 | true | .mars_sim.ui.swing.sound.AudioPlayer;
import com.mars_sim.ui.swing.tool.commander.CommanderWindow;
import com.mars_sim.ui.swing.tool.guide.GuideWindow;
import com.mars_sim.ui.swing.tool.mission.MissionWindow;
import com.mars_sim.ui.swing.tool.monitor.MonitorWindow;
import com.mars_sim.ui.swing.tool.navigator.NavigatorW... | .GuideWindow;
import com.mars_sim.ui.swing.tool.mission.MissionWindow;
import com.mars_sim.ui.swing.tool.monitor.MonitorWindow;
import com.mars_sim.ui.swing.tool.navigator.NavigatorWindow;
import com.mars_sim.ui.swing.tool.resupply.ResupplyWindow;
import com.mars_sim.ui.swing.tool.science.ScienceWindow;
import com.mars... | ui.swing.tool.navigator.NavigatorWindow;
import com.mars_sim.ui.swing.tool.resupply.ResupplyWindow;
import com.mars_sim.ui.swing.tool.science.ScienceWindow;
import com.mars_sim.ui.swing.tool.search.SearchWindow;
import com.mars_sim.ui.swing.tool.settlement.SettlementWindow;
import com.mars_sim.ui.swing.tool.time.TimeWi... | ScienceWindow;
import com.mars_sim.ui.swing.tool.search.SearchWindow;
import com.mars_sim.ui.swing.tool.settlement.SettlementWindow;
import com.mars_sim.ui.swing.tool.time.TimeWindow;
/**
* The MainWindowMenu class is the menu for the main window.
*/
public class MainWindowMenu extends JMenuBar implements ActionList... | id. */
private static final long serialVersionUID = 1L;
private static final String EXIT = "exit";
private static final String SAVE = "save";
private static final String SAVE_AS = "saveAs |
IsinForwardTest.java | /FileExtraction/Java_unseen/senbox-org_snap-engine/snap-core/src/test/java/org/esa/snap/core/util/grid/isin/IsinForwardTest.java | package org.esa.snap.core.util.grid.isin;
import org.junit.Before;
import org.junit.Test;
import static org.esa.snap.core.util.grid.isin.IsinAPI.TO_RAD;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
public class IsinForwardTest {
private IsinForward forward;
@Before
... | 8,484 | Java | .java | senbox-org/snap-engine | 179 | 96 | 15 | 2014-07-17T09:52:05Z | 2024-05-08T11:33:15Z | 34d44b558c653d41321d420949f28d0775c17200bcaea53c12ce4806786fd18e | [] | [
1337,
1105,
51,
326,
102,
51,
16513,
51,
1284,
51,
1058,
51,
3393,
51,
38121,
64,
222,
222,
485,
1105,
51,
3946,
51,
5670,
64,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
924,
1105,
51,
326,
102,
51,
16513,
51,
1284,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
283,
453,
4834,
449,
17724,
343,
3562,
459,
25894,
2816,
742,
310,
339,
2385,
327,
25894,
2816,
46,
320,
310,
339,
603,
1614,
320,
343,
453,
13200,
306,
78,
355,
343,
7425,
51,
1683,
45,
54,
55,
49,
244,
53,
51,
53,
49,
244,
53,... | 4,585,276,038,363,997,000 | true | false | false | false | [
303,
339,
465,
496,
1024,
303,
581,
782,
913,
3588,
365,
320,
310,
7425,
51,
1683,
45,
59,
56,
60,
54,
53,
53,
60,
51,
54,
61,
54,
49,
244,
53,
51,
53,
49,
244,
53,
51,
53,
49,
244,
53,
51,
53,
49,
244,
55,
54,
59,
53,
... | 7,705,864,943,325,903,000 | true | // below -eps
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException expected) {
}
try {
// ----------------------------------I----
forward.init(12, 0.0, 0.0, 0.0, 22, 2.1); // above 2 + eps
fail("IllegalArgumentExceptio... | .0, 22, 2.1); // above 2 + eps
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException expected) {
}
try {
// ----------------------------------I----
forward.init(12, 0.0, 0.0, 0.0, 22, 0.6); // too far away from integer value
... | 2, 0.0, 0.0, 0.0, 22, 0.6); // too far away from integer value
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException expected) {
}
}
@Test
public void testInit() {
forward.init(6371007.181, 0.0, 0.0, 0.0, 21600.0, 1.0);
assertEquals(0.0, ... |
}
@Test
public void testInit() {
forward.init(6371007.181, 0.0, 0.0, 0.0, 21600.0, 1.0);
assertEquals(0.0, forward.false_east, 1e-8);
assertEquals(0.0, forward.false_north, 1e-8);
assertEquals(6 | 371007.181, forward.sphere, 1e-8);
assertEquals(1.5696105365918595E-7, forward.sphere_ |
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 | [
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,
28030,
1002,
64,
499,
221,
... | 5,972,224,240,471,883,000 | true | false | false | false | [
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,
45,
16178,
51,
1284,
51,
231... | 2,881,049,205,809,413,600 | true | InstVo 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.MedicLiteVoCollection l... |
/**
* 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.GP voGpFilter);
// Generated from fo... | 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.PASEventRefVo pasEve... | // 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[] getReportAndTe... | TemplateIs) throws ims.domain.exceptions.DomainInterfaceException;
// Generated from form domain interface definition
/**
* get document report query to retrieve
*/
public ims.correspondence.vo |
UserCustomFields.java | /FileExtraction/Java_unseen/Infosys_Discourse-Java/src/main/java/com/infy/domain/UserCustomFields.java | /*
* Copyright 2021 Infosys Ltd.
* Use of this source code is governed by GNU General Public License version 2
* that can be found in the LICENSE file or at
* https://opensource.org/licenses/GPL-2.0
*/
package com.infy.domain;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Se... | 2,588 | Java | .java | Infosys/Discourse-Java | 15 | 12 | 3 | 2021-12-14T05:41:46Z | 2023-05-20T13:03:56Z | dbe1c11142af3b7becb313154ae131ddddd6ea1278991d4379788f0b3ca3ee37 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
55,
54,
19610,
519,
1291,
19534,
51,
222,
338,
4443,
451,
477,
1932,
1361,
458,
17546,
829,
6994,
6153,
5062,
1196,
1522,
244,
55,
222,
338,
708,
902,
545,
2448,
347,
341,
7621,
822,
575,
840,
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,... | 634 | [
303,
964,
910,
655,
64,
465,
496,
2154,
45,
444,
299,
332,
872,
678,
303,
964,
910,
804,
64,
465,
453,
614,
5893,
6449,
50,
43938,
50,
2244,
50,
688,
50,
1512,
449,
990,
77,
658,
6449,
1118,
1035,
3844,
2464,
303,
581,
6374,
198... | -2,702,306,817,141,180,400 | true | false | false | false | [
310,
477,
51,
444,
299,
655,
64,
310,
461,
477,
64,
303,
339,
465,
581,
782,
28331,
45,
671,
655,
46,
320,
310,
477,
51,
444,
299,
655,
64,
303,
339,
465,
581,
910,
21517,
365,
320,
310,
461,
804,
64,
303,
339,
465,
581,
2694,... | 493,757,858,975,666,750 | true |
private String name;
@Column(name = "value")
private String value;
// jhipster-needle-entity-add-field - JHipster will add fields here
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUserId() {
return userI... | ;
}
public void setId(Long id) {
this.id = id;
}
public String getUserId() {
return userId;
}
public UserCustomFields userId(String userId) {
this.userId = userId;
return this;
}
public void setUserId(String userId) {
this.userId = userId;
... | userId;
return this;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getName() {
return name;
}
public UserCustomFields name(String name) {
this.name = name;
return this;
}
public void setName(String name) {
... |
this.name = name;
return this;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public UserCustomFields value(String value) {
this.value = value;
return this;
}
public void setValue(St... | setters - JHipster will add getters and setters here
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof UserCustomFields)) { |
ContainerEditorGUI.java | /FileExtraction/Java_unseen/christophefondacci_nextep-designer/com.neXtep.designer.vcs.ui/src/com/nextep/datadesigner/vcs/gui/ContainerEditorGUI.java | /*******************************************************************************
* Copyright (c) 2011 neXtep Software and contributors.
* All rights reserved.
*
* This file is part of neXtep designer.
*
* NeXtep designer is free software: you can redistribute it
* and/or modify it under the terms of the GNU Gen... | 9,288 | Java | .java | christophefondacci/nextep-designer | 25 | 9 | 24 | 2016-10-15T01:11:09Z | 2017-09-04T19:05:11Z | 966ac93b5441a1b0e474c2481c7f36a8a77ce8a7af84a6ea28d88af5945f86b6 | [] | [
28683,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
54,
1188,
93,
538,
117,
3870,
480,
13356,
51,
222,
338,
3381,
4760,
5225,
51,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1188,
93,
538,
117,
26917,
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 | [
51,
14377,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
2436,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
2186,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
4011,
5653,
64,
222,
485,
1105,
51,
8... | 7,123,263,410,996,484,000 | true | false | false | false | [
36208,
51,
8472,
51,
1184,
51,
49130,
1087,
9940,
64,
222,
485,
785,
51,
1995,
950,
51,
624,
36208,
51,
1184,
51,
25211,
64,
222,
485,
785,
51,
1995,
950,
51,
624,
36208,
51,
1184,
51,
78,
6797,
64,
222,
485,
785,
51,
1995,
950,... | -8,935,508,253,329,381,000 | true | .Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Text;
import com.nextep.datadesigner.gui.impl.ColorFocusListener;
import com.nextep.datadesigner.gui.impl.editors.Com... | TabItem;
import org.eclipse.swt.widgets.Text;
import com.nextep.datadesigner.gui.impl.ColorFocusListener;
import com.nextep.datadesigner.gui.impl.editors.ComboEditor;
import com.nextep.datadesigner.gui.impl.editors.TextEditor;
import com.nextep.datadesigner.gui.model.ControlledDisplayConnector;
import com.nextep.datade... | ComboEditor;
import com.nextep.datadesigner.gui.impl.editors.TextEditor;
import com.nextep.datadesigner.gui.model.ControlledDisplayConnector;
import com.nextep.datadesigner.gui.model.IDisplayConnector;
import com.nextep.datadesigner.model.ChangeEvent;
import com.nextep.datadesigner.model.IEventListener;
import com.next... | designer.gui.model.IDisplayConnector;
import com.nextep.datadesigner.model.ChangeEvent;
import com.nextep.datadesigner.model.IEventListener;
import com.nextep.datadesigner.model.IObservable;
import com.nextep.datadesigner.model.ITypedObject;
import com.nextep.datadesigner.vcs.services.VersionHelper;
import com.nextep.d... | DBVendor;
import com.nextep.designer.ui.helpers.UIHelper;
import com.nextep.designer.vcs.model.IVersionContainer;
import com.nextep.designer.vcs.ui.controllers |
SignInPresenterImpl.java | /FileExtraction/Java_unseen/erlymon_erlymon-litvak-monitor-android/erlymon-litvak-core/src/main/java/org/erlymon/litvak/core/presenter/SignInPresenterImpl.java | /*
* Copyright (c) 2016, Sergey Penkovsky <sergey.penkovsky@gmail.com>
*
* This file is part of TraccarLitvakM (fork Erlymon Monitor).
*
* TraccarLitvakM (fork Erlymon Monitor) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | 4,178 | Java | .java | erlymon/erlymon-litvak-monitor-android | 9 | 4 | 6 | 2016-07-21T03:39:35Z | 2016-10-29T13:50:47Z | 8a601748d352f6fffeaf8748790a0da365b77057a40d4a247362df7f0b75449f | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
59,
49,
2074,
319,
126,
466,
7015,
1558,
14293,
350,
528,
319,
126,
51,
1146,
45900,
14293,
69,
7265,
51,
527,
67,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1588,
348,
37... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1350,
222,
338,
6956,
829,
2074,
319,
126,
466,
7015,
1558,
14293,
350,
528,
319,
126,
51,
1146,
45900,
14293,
69,
7265,
51,
527,
67,
563,
244,
58,
52,
57,
52,
54,
59,
51,
222,
588,
222,
942,
462,
7443,
402,
17462,
3499,
45... | 6,963,891,906,113,550,000 | true | false | false | false | [
365,
320,
603,
434,
1445,
10740,
51,
316,
1079,
38382,
1177,
320,
343,
10772,
51,
29543,
492,
310,
339,
603,
2221,
51,
2276,
5291,
3742,
492,
310,
10772,
299,
1573,
51,
1315,
3152,
45,
1090,
51,
390,
5333,
1046,
2221,
51,
41972,
117... | -3,595,328,755,817,795,000 | true |
/**
* Created by Sergey Penkovsky <sergey.penkovsky@gmail.com> on 5/4/16.
*/
public class SignInPresenterImpl implements SignInPresenter {
private static final Logger logger = LoggerFactory.getLogger(SignInPresenterImpl.class);
private Model model;
private Realm realmdb;
private SignInView view;
... | private static final Logger logger = LoggerFactory.getLogger(SignInPresenterImpl.class);
private Model model;
private Realm realmdb;
private SignInView view;
private Subscription subscription = Subscriptions.empty();
public SignInPresenterImpl(Context context, SignInView view) {
this.vie... | (Context context, SignInView view) {
this.view = view;
this.model = new ModelImpl(context);
this.realmdb = Realm.getDefaultInstance();
}
@Override
public void onSignInButtonClick() {
if (!subscription.isUnsubscribed()) {
subscription.unsubscribe();
}
... | () {
if (!subscription.isUnsubscribed()) {
subscription.unsubscribe();
}
view.showProgressDialog();
subscription = model.createSession(view.getLogin(), view.getPassword())
.subscribeOn(Schedulers.io())
//.flatMap(user -> model.getDevices().fla... | (devices, positions) -> new Triple<>(user, devices, positions)).asObservable())
.observeOn(AndroidSchedulers.mainThread())
.doOnNext(result -> realmdb.executeTransaction(realm -> {
realm. |
MCRSolrSearchServlet.java | /FileExtraction/Java_unseen/MyCoRe-Org_mycore/mycore-solr/src/main/java/org/mycore/solr/search/MCRSolrSearchServlet.java | /*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | 15,749 | Java | .java | MyCoRe-Org/mycore | 33 | 14 | 19 | 2016-10-07T06:02:02Z | 2024-05-08T18:38:30Z | a0fac6478bd65dd99cc088bb73f66e5f589d3f050f6430ea7b4c17da97b1daa1 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
10439,
244,
507,
553,
409,
356,
578,
503,
244,
10439,
222,
338,
2819,
1930,
574,
1516,
51,
1791,
1284,
51,
305,
52,
456,
4261,
51,
222,
338,
222,
338,
4318,
2253,
454,
458,
3760,
2951,
63... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
3679,
67,
222,
338,
350,
2654,
789,
2025,
67,
39108,
5225,
3406,
396,
2025,
873,
2654,
67,
222,
338,
350,
601,
67,
31832,
1118,
7045,
45778,
391,
341,
2160,
1746,
601,
67,
222,
338,
350,
2654,
789,
2025,
67,
638,
3406,
396,
2025,
... | -3,302,485,280,097,440,000 | true | false | false | false | [
904,
666,
222,
338,
5225,
49,
847,
575,
3873,
3406,
1118,
545,
7129,
2464,
1746,
601,
67,
222,
338,
594,
3679,
67,
222,
338,
496,
2133,
364,
2465,
635,
1048,
114,
222,
338,
496,
2133,
364,
2465,
635,
2830,
222,
588,
222,
222,
942,... | -678,453,675,059,633,300 | true | dl>
* <dt><strong>Solr reserved parameters</strong></dt>
* <dd>They will directly forwarded to the server.</dd>
* <dt><strong>Type parameters</strong></dt>
* <dd>They are used to join other documents in the search. They start with
* "solr.type.".</dd>
* <dt><strong>Sort parameters</strong></dt>
* <dd>They are us... | >They are used to join other documents in the search. They start with
* "solr.type.".</dd>
* <dt><strong>Sort parameters</strong></dt>
* <dd>They are used to sort the results in the right order. They start with
* "sort."</dd>
* <dt><strong>Query parameters</strong></dt>
* <dd>They are used to build the query for ... | results in the right order. They start with
* "sort."</dd>
* <dt><strong>Query parameters</strong></dt>
* <dd>They are used to build the query for solr. All parameters which are not
* reserved, type or sort parameters will be stored here.</dd>
* </dl>
* @author mcrshofm
* @author mcrsherm
*/
public class MCRS... | are not
* reserved, type or sort parameters will be stored here.</dd>
* </dl>
* @author mcrshofm
* @author mcrsherm
*/
public class MCRSolrSearchServlet extends MCRServlet {
private static final long serialVersionUID = 1L;
private enum QueryType {
phrase, term
}
private enum SolrParame... | private static final Logger LOGGER = LogManager.getLogger(MCRSolrSearchServlet.class);
private static final String JOIN_PATTERN = "{!join from=returnId to=id}";
private static final String PHRASE_QUERY_ |
ReportControllerTest.java | /FileExtraction/Java_unseen/magnit-tech_magreport-open-2_1/magreport-backend/src/test/java/ru/magnit/magreportbackend/controller/ReportControllerTest.java | package ru.magnit.magreportbackend.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.Moc... | 18,238 | Java | .java | magnit-tech/magreport-open-2.1 | 10 | 1 | 0 | 2022-11-10T16:41:15Z | 2023-09-15T10:24:14Z | 3395be13f319944f70eb6fbeaf2fea2ddbac0b5910bea1c0fe4f550b7e7293e1 | [] | [
1337,
17079,
51,
46723,
302,
51,
10528,
3755,
7887,
51,
4641,
64,
222,
222,
485,
785,
51,
15066,
51,
13353,
51,
21416,
51,
36254,
64,
222,
485,
1105,
51,
3946,
51,
14127,
51,
1256,
51,
32361,
64,
222,
485,
1105,
51,
3946,
51,
1412... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
10528,
3755,
7887,
51,
12292,
51,
2003,
51,
3755,
51,
4158,
5653,
1416,
64,
222,
485,
17079,
51,
46723,
302,
51,
10528,
3755,
7887,
51,
12292,
51,
2003,
51,
3755,
51,
4158,
1416,
64,
222,
485,
17079,
51,
46723,
302,
51,
10528,
3755,... | 4,465,430,829,133,320,000 | true | false | false | false | [
924,
1105,
51,
15524,
51,
17076,
51,
6970,
2042,
8901,
39635,
64,
222,
485,
924,
1105,
51,
15524,
51,
17076,
51,
6045,
64,
222,
485,
924,
1105,
51,
4140,
51,
544,
51,
17999,
51,
16251,
100,
3275,
100,
5986,
64,
222,
485,
924,
1105... | 6,061,263,738,972,784,000 | true | magreportbackend.dto.response.report.ReportFolderResponse;
import ru.magnit.magreportbackend.dto.response.report.ReportResponse;
import ru.magnit.magreportbackend.service.ReportService;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Collections;
import static org.hamcrest.... |
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Collections;
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.nullValue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockit... | is;
import static org.hamcrest.Matchers.nullValue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.when;
import static org.springframework.http.... | static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.when;
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.result.MockMvc... | .jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import static org.springframework.test.web.servlet.setup.MockMvcBuilders.standaloneSetup;
import static ru |
AbstractTrainableSpreadSheetFilter.java | /FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-spreadsheet/src/main/java/adams/data/spreadsheet/filter/AbstractTrainableSpreadSheetFilter.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... | 2,940 | Java | .java | waikato-datamining/adams-base | 17 | 4 | 0 | 2017-09-01T22:51:51Z | 2024-05-08T02:22:17Z | 0bb44218dba8569eb6e1414904d276d8d5ac70674271faafa036830f7e7232f6 | [] | [
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,... | 746 | [
7848,
7763,
51,
244,
2819,
341,
222,
338,
280,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
280,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
280,
7979,
642,
477,
3477,
51,
244,
... | -8,183,167,879,855,812,000 | true | false | false | false | [
27884,
1567,
6599,
8078,
1449,
8078,
20181,
46,
222,
338,
496,
1687,
417,
14021,
41,
222,
588,
222,
942,
5560,
462,
7406,
18076,
463,
33518,
8337,
2365,
353,
2041,
7406,
33518,
8337,
2365,
353,
4584,
25121,
463,
33518,
8337,
2365,
320,
... | -335,853,246,491,982,700 | true | 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/>.
*/
/**
* AbstractTrainableSpreadSheetFilter.java
* Copyright (C) 2017 University of Wai... | www.gnu.org/licenses/>.
*/
/**
* AbstractTrainableSpreadSheetFilter.java
* Copyright (C) 2017 University of Waikato, Hamilton, NZ
*/
package adams.data.spreadsheet.filter;
import adams.data.spreadsheet.SpreadSheet;
/**
* Ancestor for trainable spreadsheet filters.
*
* @author FracPete (fracpete at waikato do... |
package adams.data.spreadsheet.filter;
import adams.data.spreadsheet.SpreadSheet;
/**
* Ancestor for trainable spreadsheet filters.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public abstract class AbstractTrainableSpreadSheetFilter
extends AbstractSpreadSheetFilter
imp... | waikato dot ac dot nz)
* @version $Revision$
*/
public abstract class AbstractTrainableSpreadSheetFilter
extends AbstractSpreadSheetFilter
implements TrainableSpreadSheetFilter {
private static final long serialVersionUID = 3614769696656146304L;
/** whether the filter has been trained. */
protected boole... | public void resetFilter() {
m_Trained = false;
}
/**
* Returns whether the filter has been trained.
*
* @return true if trained
*/
@Override
public boolean isTrained |
TreatmentController.java | /FileExtraction/Java_unseen/cBioPortal_cbioportal/src/main/java/org/cbioportal/web/TreatmentController.java | package org.cbioportal.web;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations... | 10,743 | Java | .java | cBioPortal/cbioportal | 558 | 423 | 184 | 2015-03-18T20:09:09Z | 2024-05-08T19:05:07Z | e3d8a82975f1712addd9e31aade32be7486ad04cfcac21fa10b2b869b8db9380 | [] | [
1337,
1105,
51,
2519,
24264,
392,
298,
51,
1857,
64,
222,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3786,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3026,
64,
222,
485,
33... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
222,
69,
4305,
2570,
222,
69,
29577,
365,
222,
69,
15701,
4229,
1256,
678,
222,
69,
38647,
222,
69,
2649,
45,
444,
299,
... | -8,830,173,942,834,290,000 | true | false | false | false | [
1998,
299,
3039,
1237,
51,
39497,
45,
89,
27008,
1934,
51,
842,
312,
4488,
339,
310,
461,
1998,
64,
303,
339,
303,
496,
2641,
28274,
459,
2057,
7052,
17450,
285,
32816,
72,
10006,
520,
23617,
49,
349,
2272,
65,
72,
10006,
22721,
625... | 952,385,561,278,693,000 | true | .util.List;
import java.util.Objects;
import java.util.Set;
@InternalApi
@RestController()
@RequestMapping("/api")
@Validated
@Tag(name = "Treatments", description = " ")
public class TreatmentController {
@Autowired
private ApplicationContext applicationContext;
TreatmentController instance;
... | description = " ")
public class TreatmentController {
@Autowired
private ApplicationContext applicationContext;
TreatmentController instance;
@Autowired
private StudyViewFilterUtil studyViewFilterUtil;
@Autowired
private StudyViewFilterUtil filterUtil;
@Autowired
private... | Util filterUtil;
@Autowired
private TreatmentService treatmentService;
@Autowired
private StudyViewFilterApplier studyViewFilterApplier;
private TreatmentController getInstance() {
if (Objects.isNull(instance)) {
instance = applicationContext.getBean(TreatmentController.cla... | instance = applicationContext.getBean(TreatmentController.class);
}
return instance;
}
@PreAuthorize("hasPermission(#involvedCancerStudies, 'Collection<CancerStudyId>', T(org.cbioportal.utils.security.AccessLevel).READ)")
@RequestMapping(value = "/treatments/patient", method = RequestMetho... | patient level treatments")
@ApiResponse(responseCode = "200", description = "OK",
content = @Content(array = @ArraySchema(schema = @Schema(implementation = PatientTreatmentRow.class))))
public |
InternalReferralRefVo.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/oncology/vo/InternalReferralRefVo.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 5,197 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 7e28793819964cadde1508c6bfa0ddfb5ad9c3ed506654ee6f133eb057798d5a | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
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 | [
94,
451,
283,
607,
222,
16802,
244,
477,
3477,
51,
244,
14213,
451,
477,
2951,
764,
1278,
22793,
840,
3641,
4387,
19916,
51,
244,
607,
222,
16802,
244,
457,
2758,
7490,
2348,
88,
1773,
26085,
341,
409,
1823,
1599,
377,
21778,
451,
7... | -1,465,594,843,140,522,200 | true | false | false | false | [
477,
822,
222,
222,
1337,
3987,
120,
51,
286,
352,
4278,
51,
2103,
64,
222,
222,
1350,
222,
338,
18218,
391,
2715,
352,
4278,
51,
4305,
2099,
26155,
12609,
1319,
327,
798,
63,
244,
54,
53,
60,
57,
54,
53,
53,
53,
57,
54,
566,
... | 6,331,097,163,531,969,000 | true | Y of #
//# this program. Users of this software do so entirely at their own risk. #
//# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time #
//# software that it builds, deploys and maintains. #
//# ... |
//# software that it builds, deploys and maintains. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Envi... | 0 build 5589.25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.oncology.vo;
/**
* Linked to Oncology.InternalReferral business object (ID: 1074100041).
*/
public class InternalReferralRefVo extends ims.vo.ValueObjectRef implements ims.d... | this file
package ims.oncology.vo;
/**
* Linked to Oncology.InternalReferral business object (ID: 1074100041).
*/
public class InternalReferralRefVo extends ims.vo.ValueObjectRef implements ims.domain.IDomainGetter
{
private static final long serialVersionUID = 1L;
public InternalReferralRefVo()
{
| }
public InternalReferralRefVo(Integer id, int version)
{
super(id, version);
}
public final boolean getID_InternalReferralIsNotNull()
{
return this |
InjectionPlugin.java | /FileExtraction/Java_unseen/consiglionazionaledellericerche_epas/app/common/injection/InjectionPlugin.java | /*
* Copyright (C) 2021 Consiglio Nazionale delle Ricerche
*
* 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) ... | 2,672 | Java | .java | consiglionazionaledellericerche/epas | 17 | 6 | 20 | 2021-03-03T13:51:45Z | 2024-04-23T08:56:38Z | 3b029f7136519a44de3f9ca5433406e30af87935e4ba150180a2df3170f29cb1 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
54,
244,
1356,
5037,
17870,
508,
1392,
304,
1572,
27959,
578,
15946,
1075,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
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,... | 674 | [
485,
785,
51,
2193,
51,
10287,
51,
5597,
2478,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
5719,
584,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
26669,
64,
222,
485,
785,
51,
2193,
51,
10287,
51,
2478,
64,
222,
485,
1401,
51,
... | 7,916,975,969,650,439,000 | true | false | false | false | [
581,
782,
563,
2743,
2148,
365,
320,
303,
1264,
51,
1357,
459,
15623,
46144,
7912,
30639,
742,
303,
1614,
320,
416,
7912,
51,
3830,
492,
416,
1264,
51,
2824,
459,
18772,
7912,
27731,
742,
416,
456,
327,
3242,
1727,
11667,
9036,
518,
... | 8,981,473,236,085,472,000 | true | import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Module;
import java.util.Set;
import lombok.extern.slf4j.Slf4j;
import play.Play;
import play.PlayPlugin;
import play.inject.BeanSource;
/**
* Plugin di injection.
*
* @author Marco A... | import lombok.extern.slf4j.Slf4j;
import play.Play;
import play.PlayPlugin;
import play.inject.BeanSource;
/**
* Plugin di injection.
*
* @author Marco Andreini
*
*/
@Slf4j
public class InjectionPlugin extends PlayPlugin implements BeanSource {
private Injector injector;
private final Set<Module> modules = S... | Marco Andreini
*
*/
@Slf4j
public class InjectionPlugin extends PlayPlugin implements BeanSource {
private Injector injector;
private final Set<Module> modules = Sets.newHashSet();
@Override
public void onApplicationStart() {
log.info("Starting Injection modules scanning");
try {
modules.clea... | public void onApplicationStart() {
log.info("Starting Injection modules scanning");
try {
modules.clear();
log.debug("Injection modules cleared");
for (final Class<?> cls : Play.classloader.getAnnotatedClasses(AutoRegister.class)) {
if (Module.class.isAssignableFrom(cls)) {
... | .warn("{} isn't a Module, skipped.", cls);
}
}
injector = Guice.createInjector(modules);
} catch (InstantiationException e) {
log.error("injection error", e);
} catch ( |
MultiChatDesc.java | /FileExtraction/Java_unseen/ikantech_yiim_v2/src/com/ikantech/yiim/entity/MultiChatDesc.java | package com.ikantech.yiim.entity;
import org.json.JSONObject;
import com.ikantech.support.util.YiUtils;
import com.ikantech.yiim.R;
public class MultiChatDesc {
public static enum MultiChatIcon {
DEFAULIT_1("default1", R.drawable.troop_default_head_1), DEFAULIT_2(
"default2", R.drawable.troop_default_head_2),... | 2,242 | Java | .java | ikantech/yiim_v2 | 60 | 47 | 2 | 2014-09-15T04:37:29Z | 2018-03-06T07:01:12Z | 774f7c925dd817c25c55b49b493d24d8db4340c85ab976009e6137264202d576 | [] | [
1337,
785,
51,
24702,
6646,
51,
13758,
468,
51,
2244,
64,
222,
222,
485,
1105,
51,
1279,
51,
15543,
64,
222,
222,
485,
785,
51,
24702,
6646,
51,
3608,
51,
1058,
51,
35757,
2769,
64,
222,
485,
785,
51,
24702,
6646,
51,
13758,
468,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 772 | [
539,
100,
1555,
100,
1843,
100,
56,
490,
2295,
1867,
809,
799,
100,
57,
45,
621,
221,
39,
1555,
57,
411,
578,
51,
16926,
51,
12845,
539,
100,
1555,
100,
1843,
100,
57,
312,
1332,
221,
429,
364,
625,
64,
376,
221,
671,
364,
5349,... | -5,801,471,375,033,074,000 | true | false | false | false | [
327,
6230,
7580,
2930,
3141,
638,
518,
3756,
46,
320,
621,
221,
344,
327,
2093,
638,
51,
3127,
941,
3591,
45,
484,
509,
320,
596,
221,
620,
3141,
638,
64,
621,
221,
130,
374,
221,
130,
374,
221,
620,
10497,
7580,
2930,
51,
869,
... | 18,476,489,550,618,684 | true | op_default_head_3), DEFAULIT_4(
"default4", R.drawable.troop_default_head_4);
int mId;
String mDesc;
private MultiChatIcon(String desc, int id) {
// TODO Auto-generated constructor stub
mId = id;
mDesc = desc;
}
public int getResId() {
return mId;
}
public String toString() {
return... | ChatIcon(String desc, int id) {
// TODO Auto-generated constructor stub
mId = id;
mDesc = desc;
}
public int getResId() {
return mId;
}
public String toString() {
return mDesc;
}
public static MultiChatIcon eval(String str) {
MultiChatIcon[] types = MultiChatIcon.values();
for (Multi... | ;
}
public String toString() {
return mDesc;
}
public static MultiChatIcon eval(String str) {
MultiChatIcon[] types = MultiChatIcon.values();
for (MultiChatIcon msgType : types) {
if (msgType.toString().equals(str)) {
return msgType;
}
}
return MultiChatIcon.DEFAULIT_4;
}
}
pr... | (MultiChatIcon msgType : types) {
if (msgType.toString().equals(str)) {
return msgType;
}
}
return MultiChatIcon.DEFAULIT_4;
}
}
private MultiChatIcon icon;
private String desc;
private String name;
public MultiChatIcon getIcon() {
return icon;
}
public void setIcon | (MultiChatIcon icon) {
this.icon = icon;
}
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc |
selected#1823309#26#86.java | /FileExtraction/Java_unseen/UCL-CREST_Siamese/references/bcb_chosen_clones/selected#1823309#26#86.java | public static void main(String[] args) {
System.out.println("Pantone example : Spot Color");
Document document = new Document();
try {
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("spotcolor.pdf"));
BaseFont bf = BaseFont.createFont("Helveti... | 2,781 | Java | .java | UCL-CREST/Siamese | 34 | 22 | 6 | 2016-02-08T17:54:33Z | 2024-05-03T04:36:05Z | 3cb32037b371cf957474cabf6cc13f29d2741918bfc6d87ea0140d54432ea0b4 | [] | [
283,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
1189,
51,
560,
51,
3962,
459,
85,
710,
677,
2301,
518,
46957,
5459,
742,
310,
6222,
1840,
299,
556,
6222,
492,
310,
1614,
320,
343,
27162,
3989,
7294,
299,
27162,
3989,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 975 | [
85,
4525,
4451,
244,
54,
53,
53,
18185,
411,
244,
53,
51,
58,
107,
49,
556,
38929,
1530,
45,
53,
51,
62,
107,
894,
343,
6603,
51,
20394,
14212,
45,
438,
104,
100,
104,
1791,
112,
49,
657,
58,
107,
312,
343,
6603,
51,
489,
4125... | 4,599,044,831,823,497,700 | true | false | false | false | [
244,
54,
53,
53,
312,
343,
6603,
51,
4182,
492,
343,
6603,
51,
20394,
14212,
45,
438,
104,
100,
8286,
49,
1887,
104,
100,
8286,
51,
390,
33796,
1052,
343,
6603,
51,
489,
41256,
45,
58,
107,
312,
343,
6603,
51,
7220,
45,
54,
58,
... | -2,003,775,073,348,262,100 | true | PANTONE 100 CV", 0.5f, new GrayColor(0.9f));
cb.setColorStroke(spc_cmyk,.5f);
cb.setLineWidth(10f);
cb.rectangle(100, 700, 100, 100);
cb.moveTo(100, 700);
cb.lineTo(200, 800);
cb.stroke();
cb.setColorFill(spc_cmyk, spc_cmyk.getTint());
... | );
cb.rectangle(100, 700, 100, 100);
cb.moveTo(100, 700);
cb.lineTo(200, 800);
cb.stroke();
cb.setColorFill(spc_cmyk, spc_cmyk.getTint());
cb.rectangle(250, 700, 100, 100);
cb.fill();
cb.setColorStroke(spc_rgb, spc_rgb.getTi... | 00);
cb.stroke();
cb.setColorFill(spc_cmyk, spc_cmyk.getTint());
cb.rectangle(250, 700, 100, 100);
cb.fill();
cb.setColorStroke(spc_rgb, spc_rgb.getTint());
cb.setLineWidth(5f);
cb.circle(150f, 500f, 100f);
cb.stroke();
... | 100);
cb.fill();
cb.setColorStroke(spc_rgb, spc_rgb.getTint());
cb.setLineWidth(5f);
cb.circle(150f, 500f, 100f);
cb.stroke();
cb.setColorFill(spc_rgb, spc_rgb.getTint());
cb.circle(150f, 500f, | 50f);
cb.fill();
cb.setColorFill(spc_g, spc_g.getTint());
cb.moveTo(100f, 200f);
cb.lineTo( |
HourlyEvent.java | /FileExtraction/Java_unseen/Open-RSC_Core-Framework/server/src/com/openrsc/server/event/custom/HourlyEvent.java | package com.openrsc.server.event.custom;
import com.openrsc.server.event.DelayedEvent;
import com.openrsc.server.event.rsc.DuplicationStrategy;
import com.openrsc.server.model.world.World;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class HourlyEvent extends DelayedEvent... | 1,945 | Java | .java | Open-RSC/Core-Framework | 216 | 122 | 229 | 2018-06-01T00:55:01Z | 2024-05-07T18:59:25Z | 8a9b0fe73fdc563a4783c702f769c85f018138dc30dc765d171b3992e51edb22 | [] | [
1337,
785,
51,
1693,
119,
564,
51,
1805,
51,
1585,
51,
3005,
64,
222,
222,
485,
785,
51,
1693,
119,
564,
51,
1805,
51,
1585,
51,
32021,
1167,
64,
222,
485,
785,
51,
1693,
119,
564,
51,
1805,
51,
1585,
51,
119,
564,
51,
30370,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 634 | [
51,
1585,
51,
119,
564,
51,
30370,
1295,
8095,
64,
222,
485,
785,
51,
1693,
119,
564,
51,
1805,
51,
1184,
51,
5879,
51,
6719,
64,
222,
485,
1105,
51,
2121,
51,
7506,
51,
769,
57,
111,
51,
1353,
1590,
64,
222,
485,
1105,
51,
21... | 8,961,647,628,951,658,000 | true | false | false | false | [
320,
376,
221,
597,
45,
5879,
49,
12557,
1061,
49,
244,
53,
49,
9869,
312,
222,
221,
130,
499,
221,
14425,
651,
1167,
45,
3242,
10914,
5810,
49,
1175,
648,
12557,
1061,
49,
1175,
648,
16059,
49,
1175,
910,
9869,
46,
320,
376,
221,... | 2,808,140,996,750,059,500 | true | .event.rsc.DuplicationStrategy;
import com.openrsc.server.model.world.World;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class HourlyEvent extends DelayedEvent {
/**
* The asynchronous logger.
*/
private static final Logger LOGGER = LogManager.getLogger();
private... | 4j.Logger;
public class HourlyEvent extends DelayedEvent {
/**
* The asynchronous logger.
*/
private static final Logger LOGGER = LogManager.getLogger();
private final int lifeTime;
private final long started;
private long timestamp;
private final int minute;
/* Runs every hour, on the hour. */
HourlyEve... | private final long started;
private long timestamp;
private final int minute;
/* Runs every hour, on the hour. */
HourlyEvent(final World world, final int lifeTime, final String descriptor) {
this(world, lifeTime, 0, descriptor);
}
HourlyEvent(final World world, final int lifeTime, final int minute, final St... | {
this(world, lifeTime, 0, descriptor);
}
HourlyEvent(final World world, final int lifeTime, final int minute, final String descriptor) {
super(world,null, 1000, descriptor, DuplicationStrategy.ALLOW_MULTIPLE);
final long now = (long)(System.currentTimeMillis() / 1000D);
if(minute < 0 || minute > | 60) {
LOGGER.error("HourlyEvent is trying to create a minute offset that does not lie within an hour.");
}
this.lifeTime = lifeTime; // How many hours it will run for. |
KlabNavigator.java | /FileExtraction/Java_unseen/integratedmodelling_klab/ide/org.integratedmodelling.klab.ide/src/org/integratedmodelling/klab/ide/navigator/e3/KlabNavigator.java | /*******************************************************************************
* Copyright (C) 2007, 2015:
*
* - 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... | 3,548 | Java | .java | integratedmodelling/klab | 10 | 5 | 8 | 2021-10-19T11:31:20Z | 2024-05-09T08:53:52Z | b58864b8aa7c68d11cb397489a9d66d99e8f3086d4046a2b35de56499de1a51e | [] | [
28683,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
49,
244,
55,
53,
54,
58,
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,... | 957 | [
30994,
6153,
5062,
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,
33... | -9,011,770,609,161,948,000 | true | false | false | false | [
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
3948,
64,
222,
485,
1105,
51,
8327,
51,
1726,
51,
23860,
51,
5248,
22488,
64,
222,
485,
1105,
51,
8006,
751,
2832,
39359,
51,
112,
4809,
51,
1256,
51,
20638,
51,
78,
1193,
64,
... | 940,649,194,145,943,700 | true | Affero General Public 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:... | 9 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* The license is also available at: https://www.gnu.org/licenses/agpl.html
*******************************************************************************/
package org.integratedmodelling.klab.ide.navigator.e3;
import org.eclipse.jface.viewers.Viewer;
impo... | html
*******************************************************************************/
package org.integratedmodelling.klab.ide.navigator.e3;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.navigator.CommonNavigator;
import or... |
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.navigator.CommonNavigator;
import org.integratedmodelling.klab.api.monitoring.IMessage;
import org.integratedmodelling.klab.ide.model.KlabPeer;
import org.integratedmodelling.klab.ide.model.KlabPeer.Sender;
import org.integratedmodelling.klab.ide. | navigator.model.ENavigatorItem;
import org.integratedmodelling.klab.ide.navigator.model.EWorkspace;
public class KlabNavigator extends CommonNavigator {
static Viewer _viewer;
|
Handlers.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/Core/src/ims/core/forms/vitalsignsobservationprotocol/Handlers.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 13,630 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 1d98c0b6caf2d48ee702ed184bf9a70bdebdd9c7cd8e36f21cf0d47afabf1185 | [] | [
325,
19989,
8689,
222,
16802,
42053,
607,
222,
16802,
244,
2657,
327,
72,
46,
350,
55,
53,
54,
58,
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 | [
1074,
46,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
8103,
1827,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
810... | 4,935,007,564,629,300,000 | true | false | false | false | [
563,
8103,
5519,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
24753,
46481,
42994,
2368,
5385,
3663,
45,
16178,
51,
2863,
51,
10860,
51,
7193,
3567,
2368,
2720,
46,
2589,... | -1,476,141,034,943,903,700 | true | result) throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnNewClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnSaveClick() thro... | framework.exceptions.PresentationLogicException;
abstract protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnCancelClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void oncmbOBSProtocolTypeValueSet(Object valu... | Exception;
abstract protected void oncmbOBSProtocolTypeValueSet(Object value);
abstract protected void onCmbOBSProtocolTypeValueChanged() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnProtocolClick() throws ims.framework.exceptions.PresentationLogicException;
abstract prot... | onBtnProtocolClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onDyngrdSecsRowSelectionChanged(ims.framework.controls.DynamicGridRow row) throws ims.framework.exceptions.PresentationLogicException;
abstract protected void oncmbParameterValueSet(Object value);
abstract prote... | RowSelectionChanged(ims.framework.controls.DynamicGridRow row) throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnRemoveRangeClick() throws ims.framework.exceptions.PresentationLogicException; |
DebugTraceCalResultProcessorV7.java | /FileExtraction/Java_unseen/okx_OKBund/aa-pool/src/main/java/com/okcoin/dapp/bundler/pool/simulation/v7/DebugTraceCalResultProcessorV7.java | package com.okcoin.dapp.bundler.pool.simulation.v7;
import com.alibaba.fastjson2.JSON;
import com.esaulpaugh.headlong.abi.ABIObject;
import com.esaulpaugh.headlong.abi.Tuple;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.... | 16,783 | Java | .java | okx/OKBund | 27 | 5 | 0 | 2023-11-27T10:54:49Z | 2024-04-18T10:30:42Z | 8bdb065d5931ed36a9d5d230d248f9bae9bf36e67cb1e33c84afc31858eb7b95 | [] | [
1337,
785,
51,
1273,
8546,
51,
105,
745,
51,
35225,
51,
5195,
51,
22722,
51,
123,
60,
64,
222,
222,
485,
785,
51,
23384,
51,
46768,
55,
51,
3275,
64,
222,
485,
785,
51,
326,
102,
357,
4554,
2967,
51,
1843,
3239,
51,
14564,
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,
10532,
64,
222,
485,
785,
51,
1273,
8546,
51,
105,
745,
51,
35225,
51,
20637,
51,
5089,
51,
13167,
1747,
64,
222,
485,
785,
51,
1273,
8546,
51,
105,
745,
51,
35225,
51,
20637,
51,
5089,
51,
8696,
51,
2609,
56,
5476,
64,
222,... | 7,795,744,119,526,518,000 | true | false | false | false | [
1273,
8546,
51,
105,
745,
51,
35225,
51,
5195,
51,
4136,
51,
750,
51,
41120,
1139,
64,
222,
485,
785,
51,
1273,
8546,
51,
105,
745,
51,
35225,
51,
5195,
51,
4136,
51,
1285,
51,
6329,
1413,
64,
222,
485,
785,
51,
1273,
8546,
51,
... | 988,159,816,328,578,400 | true | .Sets;
import com.okcoin.dapp.bundler.infra.chain.CodecUtil;
import com.okcoin.dapp.bundler.infra.chain.constant.Web3Constant;
import com.okcoin.dapp.bundler.pool.config.AbiConfig;
import com.okcoin.dapp.bundler.pool.constant.Eip4377MethodConstant;
import com.okcoin.dapp.bundler.pool.constant.OpCodeConstant;
import com... | .dapp.bundler.pool.config.AbiConfig;
import com.okcoin.dapp.bundler.pool.constant.Eip4377MethodConstant;
import com.okcoin.dapp.bundler.pool.constant.OpCodeConstant;
import com.okcoin.dapp.bundler.pool.domain.UserOperationDO;
import com.okcoin.dapp.bundler.pool.domain.debug.*;
import com.okcoin.dapp.bundler.pool.domain... | .pool.constant.OpCodeConstant;
import com.okcoin.dapp.bundler.pool.domain.UserOperationDO;
import com.okcoin.dapp.bundler.pool.domain.debug.*;
import com.okcoin.dapp.bundler.pool.domain.error.StakeInfo;
import com.okcoin.dapp.bundler.pool.domain.result.ValidationResult;
import com.okcoin.dapp.bundler.pool.exception.AAE... | okcoin.dapp.bundler.pool.domain.error.StakeInfo;
import com.okcoin.dapp.bundler.pool.domain.result.ValidationResult;
import com.okcoin.dapp.bundler.pool.exception.AAException;
import com.okcoin.dapp.bundler.pool.exception.AAExceptionData;
import com.okcoin.dapp.bundler.pool.exception.AAExceptionEnum;
import com | .okcoin.dapp.bundler.pool.exception.UnexpectedException;
import com.okcoin.dapp.bundler.pool.reputation.ReputationService;
import org.springframework.beans.factory.annotation.Autowired |
filter003.java | /FileExtraction/Java_unseen/itsaky_openjdk-21-android/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassPrepareRequest/addClassExclusionFilter/filter003.java | /*
* Copyright (c) 2001, 2023, 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 ... | 15,015 | Java | .java | itsaky/openjdk-21-android | 9 | 5 | 0 | 2023-09-16T11:36:19Z | 2024-02-11T04:34:15Z | ce0c984be8de1d8266943cced6967ccac14057a91be1ea21e6ed779643e7c593 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
55,
56,
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 | [
111,
1351,
51,
1585,
7737,
222,
485,
785,
51,
9886,
51,
111,
1351,
51,
1375,
7737,
222,
222,
485,
1401,
51,
735,
7737,
222,
222,
1350,
222,
338,
906,
913,
456,
341,
4753,
451,
619,
1319,
451,
341,
847,
281,
350,
4768,
67,
222,
3... | 7,496,702,230,602,896,000 | true | false | false | false | [
458,
5937,
5892,
575,
1421,
2602,
8133,
51,
244,
350,
4768,
67,
222,
338,
2281,
34129,
1648,
545,
3654,
1773,
391,
6879,
5188,
51,
1485,
350,
4768,
67,
222,
338,
350,
4768,
67,
222,
338,
906,
913,
1421,
8058,
44317,
480,
4864,
641,
... | 9,076,253,371,066,255,000 | true | jdi.event.*;
import com.sun.jdi.request.*;
import java.io.*;
/**
* The test for the implementation of an object of the type <BR>
* ClassPrepareRequest. <BR>
* <BR>
* The test checks that results of the method ... | <BR>
* <BR>
* The test checks that results of the method <BR>
* <code>com.sun.jdi.ClassPrepareRequest.addClassExclusionFilter()</code> <BR>
* complies with its spec. <BR>
* <BR>
* T... | * complies with its spec. <BR>
* <BR>
* The test checks up on the following assertion: <BR>
* Throws: InvalidRequestStateException - <BR>
* if this request is currently enabled or has been deleted. <BR>
* ... | is currently enabled or has been deleted. <BR>
* Filters may be added only to disabled requests. <BR>
* <BR>
* The test has three phases and works as follows. <BR>
* <BR>
* In first phase, <BR>
* upon launching debugg... |
* time interval. If no the VMStartEvent received, the test is FAILED. <BR>
* Upon getting the VMStartEvent, it makes the request for debuggee's <BR>
* ClassPrepareEvent with |
ComparingViewControlsNode.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/simulations/advanced-acid-base-solutions/src/edu/colorado/phet/advancedacidbasesolutions/module/comparing/ComparingViewControlsNode.java | // Copyright 2002-2011, University of Colorado
package edu.colorado.phet.advancedacidbasesolutions.module.comparing;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Iterator;
import javax.swing.ButtonGro... | 4,390 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 8cbc97abdeed405f185c59e2d1b356d5265e933100ea7b7beb31d6c300effbed | [] | [
325,
2657,
244,
55,
53,
53,
55,
50,
55,
53,
54,
54,
49,
11451,
451,
5459,
2619,
222,
1337,
15357,
51,
1507,
2619,
51,
117,
10237,
51,
16986,
348,
333,
1460,
21030,
51,
1663,
51,
998,
7016,
64,
222,
222,
485,
1401,
51,
8236,
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,... | 979 | [
85,
16153,
64,
499,
222,
942,
462,
2270,
7016,
1089,
6398,
1230,
2041,
466,
10237,
85,
1230,
320,
2205,
964,
1175,
990,
22359,
545,
793,
502,
22359,
49,
26710,
22359,
49,
35408,
22359,
64,
303,
964,
1175,
5068,
65,
17089,
67,
18370,
... | -6,711,603,028,591,550,000 | true | false | false | false | [
24508,
45,
2146,
2239,
1110,
2776,
35408,
22359,
299,
556,
990,
22359,
45,
418,
31543,
9634,
51,
41422,
100,
15003,
100,
2709,
90,
19412,
1110,
310,
35408,
22359,
51,
24508,
45,
2146,
2239,
1110,
2776,
7413,
1582,
2370,
299,
556,
7413,
... | 2,639,574,356,103,866,400 | true | PSwing;
public class ComparingViewControlsNode extends PhetPNode {
private final JRadioButton beakersRadioButton, graphsRadioButton, equationsRadioButton;
private final ArrayList<ChangeListener> listeners;
public ComparingViewControlsNode( Color background ) {
super();
l... | ( Color background ) {
super();
listeners = new ArrayList<ChangeListener>();
ActionListener actionListener = new ActionListener() {
public void actionPerformed( ActionEvent e ) {
notifyStateChanged();
}
};
beakers... | JRadioButton( AABSStrings.RADIO_BUTTON_BEAKERS );
beakersRadioButton.addActionListener( actionListener );
graphsRadioButton = new JRadioButton( AABSStrings.RADIO_BUTTON_GRAPHS );
graphsRadioButton.addActionListener( actionListener );
equationsRadioButton = new JRadioBu... | addActionListener( actionListener );
equationsRadioButton = new JRadioButton( AABSStrings.RADIO_BUTTON_EQUATIONS );
equationsRadioButton.addActionListener( actionListener );
ButtonGroup group = new ButtonGroup();
group.add( beakersRadioButton );
group.add( graph... | 1 ), AABSStrings.TITLE_VIEW );
border.setTitleFont( new PhetFont( Font.BOLD, 16 ) );
panel.setBorder( border );
// layout
EasyGridBagLayout layout = new EasyGrid |
SystemUI.java | /FileExtraction/Java_unseen/MonwF_customiuizer/app/src/main/java/name/monwf/customiuizer/mods/SystemUI.java | package name.monwf.customiuizer.mods;
import static java.lang.System.currentTimeMillis;
import static java.lang.System.nanoTime;
import static name.monwf.customiuizer.mods.GlobalActions.ACTION_PREFIX;
import static name.monwf.customiuizer.mods.utils.XposedHelpers.findClass;
import static name.monwf.customiuizer.mods.u... | 275,081 | Java | .java | MonwF/customiuizer | 846 | 41 | 21 | 2022-05-28T08:41:34Z | 2024-04-13T10:39:01Z | 7fb5d6207bb71b34fef84471d771456493946b435e95b1f047dc11b95f9d1caa | [] | [
1337,
655,
51,
1231,
18090,
51,
3005,
20537,
2292,
51,
22862,
64,
222,
222,
485,
924,
1401,
51,
1600,
51,
1615,
51,
17217,
64,
222,
485,
924,
1401,
51,
1600,
51,
1615,
51,
27359,
1061,
64,
222,
485,
924,
655,
51,
1231,
18090,
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 | [
64,
222,
485,
2616,
51,
3872,
51,
16649,
64,
222,
485,
2616,
51,
3872,
51,
34164,
64,
222,
485,
2616,
51,
3872,
51,
18441,
2914,
64,
222,
485,
2616,
51,
3872,
51,
7940,
64,
222,
485,
2616,
51,
3872,
51,
12791,
64,
222,
222,
485,... | -3,535,441,669,514,117,000 | true | false | false | false | [
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
1058,
51,
5740,
64,
222,
485,
1401,
51,
1058,
51,
15373,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
485,
1401,
51,
... | -7,827,706,526,086,621,000 | true | ;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.SeekBar;
import android.widget.Switch;
import android.widget.TextView;
import androidx.core.content.res.ResourcesCompat;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.Inp... | .res.ResourcesCompat;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.lang.reflect.Method;
import java.net.NetworkInterface;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
... |
import java.lang.reflect.Method;
import java.net.NetworkInterface;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import jav... |
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Properties;
import io.github.libxposed.api.XposedInterface;
import io.github.libxposed.api.XposedInterface.AfterHookCallback;
import io.github.libxposed.api.Xposed | Interface.BeforeHookCallback;
import io.github.libxposed.api.XposedModuleInterface.PackageLoadedParam;
import miui.app.MiuiFreeFormManager;
import miui.os.Build;
|
AntivenomRing.java | /FileExtraction/Java_unseen/arianne_stendhal/src/games/stendhal/server/maps/quests/antivenom_ring/AntivenomRing.java | /***************************************************************************
* (C) Copyright 2019 - Stendhal *
***************************************************************************
***************************************************************************
* ... | 10,464 | Java | .java | arianne/stendhal | 564 | 198 | 134 | 2015-08-02T18:22:40Z | 2024-05-09T08:19:35Z | 41095dee21727dcc264b6b061da64977d75f4edab28711513ff17cc89cc4fb39 | [] | [
11528,
8150,
222,
338,
6031,
327,
72,
46,
2657,
244,
55,
53,
54,
62,
449,
1277,
435,
10296,
4714,
338,
222,
13533,
345,
222,
13533,
345,
222,
338,
41101,
338,
222,
338,
280,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
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 | [
340,
1174,
331,
2118,
9030,
19931,
437,
49,
244,
55,
47515,
2471,
7298,
49,
568,
244,
55,
53,
19377,
10813,
4085,
1746,
393,
67,
222,
338,
350,
393,
67,
79,
340,
1174,
11658,
326,
619,
17123,
2326,
437,
1746,
393,
67,
222,
338,
35... | 3,418,274,150,926,935,600 | true | false | false | false | [
222,
338,
350,
393,
67,
80,
26218,
63,
244,
55,
53,
58,
3410,
327,
58,
53,
20891,
58,
456,
8074,
46,
664,
990,
340,
1174,
568,
244,
54,
58,
53,
664,
565,
2331,
495,
2891,
393,
67,
222,
338,
594,
357,
67,
222,
338,
222,
338,
... | -7,571,137,568,844,363,000 | true | ameson a cobra venom, 2 mandragora, & 20 fairycakes.</li>
* <li>Jameson mixes an antivenom.</li>
* <li>Bring antivenom, medicinal ring, & 1,000 money to Ognir</li>
* <li>Ognir makes the medicinal ring stronger</li>
* </ul>
*
* REWARD:
* <ul>
* <li>3000 XP (1000 from Jameson & 2000 from Ognir)</li>
* <li>antive... | om, medicinal ring, & 1,000 money to Ognir</li>
* <li>Ognir makes the medicinal ring stronger</li>
* </ul>
*
* REWARD:
* <ul>
* <li>3000 XP (1000 from Jameson & 2000 from Ognir)</li>
* <li>antivenom ring</li>
* <li>Karma: 205 total (50 (+5 for starting) from Jameson & 150 from Ognir)</li>
* </ul>
*
* REPETIT... | :
* <ul>
* <li>3000 XP (1000 from Jameson & 2000 from Ognir)</li>
* <li>antivenom ring</li>
* <li>Karma: 205 total (50 (+5 for starting) from Jameson & 150 from Ognir)</li>
* </ul>
*
* REPETITIONS:
* <ul>
* <li>None</li>
* </ul>
*
*
* @author AntumDeluge
*/
public class AntivenomRing extends AbstractQuest... |
* <li>Karma: 205 total (50 (+5 for starting) from Jameson & 150 from Ognir)</li>
* </ul>
*
* REPETITIONS:
* <ul>
* <li>None</li>
* </ul>
*
*
* @author AntumDeluge
*/
public class AntivenomRing extends AbstractQuest {
private static final | String QUEST_SLOT = "antivenom_ring";
// NPCs involved in quest
private final static String apothecary = "Jameson";
private final static String zoologist = |
StateRespawn.java | /FileExtraction/Java_unseen/b3dgs_lionheart-remake/lionheart-game/src/main/java/com/b3dgs/lionheart/object/state/StateRespawn.java | /*
* Copyright (C) 2013-2024 Byron 3D Games Studio (www.b3dgs.com) Pierre-Alexandre (contact@b3dgs.com)
*
* 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, o... | 5,235 | Java | .java | b3dgs/lionheart-remake | 78 | 7 | 2 | 2013-11-04T17:24:09Z | 2024-01-11T17:37:21Z | c9c218bbcc64511dec2549fa479a76aef645e61598ff2102fd5a575e54c8f07a | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
50,
55,
53,
55,
57,
4529,
2575,
244,
56,
73,
41082,
9394,
327,
1516,
51,
103,
56,
105,
5399,
51,
527,
46,
466,
2506,
287,
50,
27414,
44476,
327,
5559,
69,
103,
56,
105,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
103,
56,
105,
5399,
51,
113,
304,
3502,
51,
12338,
51,
5643,
64,
222,
485,
785,
51,
103,
56,
105,
5399,
51,
113,
304,
3502,
51,
14166,
51,
3502,
51,
921,
467,
27490,
64,
222,
485,
785,
51,
103,
56,
105,
5399... | 2,204,922,987,207,963,100 | true | false | false | false | [
64,
222,
485,
785,
51,
103,
56,
105,
5399,
51,
113,
304,
15894,
51,
9589,
1081,
64,
222,
485,
785,
51,
103,
56,
105,
5399,
51,
113,
304,
15894,
51,
6836,
10959,
51,
16605,
10959,
64,
222,
485,
785,
51,
103,
56,
105,
5399,
51,
... | -3,281,935,639,619,727,400 | true |
import com.b3dgs.lionengine.geom.Coord;
import com.b3dgs.lionengine.graphic.engine.Sequencer;
import com.b3dgs.lionheart.CheatsProvider;
import com.b3dgs.lionheart.CheckpointHandler;
import com.b3dgs.lionheart.Difficulty;
import com.b3dgs.lionheart.GameConfig;
import com.b3dgs.lionheart.GameType;
import com.b3dgs.lion... | .CheatsProvider;
import com.b3dgs.lionheart.CheckpointHandler;
import com.b3dgs.lionheart.Difficulty;
import com.b3dgs.lionheart.GameConfig;
import com.b3dgs.lionheart.GameType;
import com.b3dgs.lionheart.InitConfig;
import com.b3dgs.lionheart.LoadNextStage;
import com.b3dgs.lionheart.StageConfig;
import com.b3dgs.lion... | Config;
import com.b3dgs.lionheart.GameType;
import com.b3dgs.lionheart.InitConfig;
import com.b3dgs.lionheart.LoadNextStage;
import com.b3dgs.lionheart.StageConfig;
import com.b3dgs.lionheart.landscape.Landscape;
import com.b3dgs.lionheart.menu.Continue;
import com.b3dgs.lionheart.menu.Menu;
import com.b3dgs.lionheart... | ;
import com.b3dgs.lionheart.StageConfig;
import com.b3dgs.lionheart.landscape.Landscape;
import com.b3dgs.lionheart.menu.Continue;
import com.b3dgs.lionheart.menu.Menu;
import com.b3dgs.lionheart.object.EntityModel;
import com.b3dgs.lionheart | .object.State;
import com.b3dgs.lionheart.object.feature.Stats;
/**
* Respawn state implementation.
*/
public final class StateRespawn extends State
{
private final |
DiameterCommandImpl.java | /FileExtraction/Java_unseen/RestComm_jain-slee_diameter/resources/diameter-base/common/events/src/main/java/org/mobicents/slee/resource/diameter/base/events/DiameterCommandImpl.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | 2,877 | Java | .java | RestComm/jain-slee.diameter | 11 | 33 | 15 | 2012-08-17T17:51:36Z | 2024-01-09T14:24:59Z | 322b9c51280ffaf876d0a5351c26ea9cb9c7feedb5c52497b5153930d34ee57c | [] | [
1127,
222,
338,
990,
28581,
49,
9531,
451,
45463,
3944,
6391,
222,
338,
2657,
244,
55,
53,
54,
54,
49,
4777,
30044,
49,
6367,
51,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
2819,
341,
5550,
51,
2787,
347,
341,
75... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 738 | [
1922,
22609,
1548,
64,
736,
581,
6366,
1099,
2037,
3499,
45,
429,
1361,
49,
648,
3039,
625,
49,
1922,
1343,
49,
1922,
22609,
1548,
46,
320,
303,
477,
51,
707,
299,
1361,
64,
303,
477,
51,
3180,
625,
299,
3039,
625,
64,
303,
477,
... | -5,409,285,701,877,493,000 | true | false | false | false | [
461,
1361,
64,
353,
339,
736,
581,
1964,
640,
2743,
625,
365,
320,
303,
461,
3039,
625,
64,
353,
339,
736,
581,
910,
640,
46616,
365,
320,
303,
461,
4514,
577,
64,
353,
339,
736,
581,
910,
640,
3967,
577,
365,
320,
303,
461,
196... | -2,735,320,246,089,519,000 | true | boolean proxiable;
public DiameterCommandImpl(int code, int applicationId, boolean request, boolean proxiable) {
this.code = code;
this.applicationId = applicationId;
this.request = request;
this.proxiable = proxiable;
}
public DiameterCommandImpl(int code, long applicationId, String shortName,... | this.proxiable = proxiable;
}
public DiameterCommandImpl(int code, long applicationId, String shortName, String longName, boolean request, boolean proxiable) {
this.code = code;
this.applicationId = applicationId;
this.shortName = shortName;
this.longName = longName;
this.request = request;
... | applicationId = applicationId;
this.shortName = shortName;
this.longName = longName;
this.request = request;
this.proxiable = proxiable;
}
public int getCode() {
return code;
}
public long getApplicationId() {
return applicationId;
}
public String getShortName() {
return short... | return code;
}
public long getApplicationId() {
return applicationId;
}
public String getShortName() {
return shortName;
}
public String getLongName() {
return longName;
}
public boolean isRequest() {
return request;
}
public boolean isProxiable() {
return proxiable;
}
... | ], " + "code[" + getCode() + "], " + "longName[" + longName + "], " + "shortName[" + shortName + "], " +
"isProxiable[" + isProxiable() |
Table.java | /FileExtraction/Java_unseen/stefan-niedermann_nextcloud-tables/app/src/main/java/it/niedermann/nextcloud/tables/database/entity/Table.java | package it.niedermann.nextcloud.tables.database.entity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.room.ColumnInfo;
import androidx.room.Embedded;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import com.google.gson.annotations.SerializedName;
import java... | 5,225 | Java | .java | stefan-niedermann/nextcloud-tables | 26 | 4 | 14 | 2023-03-23T10:18:47Z | 2024-05-09T02:49:49Z | 16edd96aaeecd83154044f3d1392c354f337f8427292b600b6dc544e457a2ab8 | [] | [
1337,
580,
51,
115,
4850,
2830,
1039,
51,
1995,
3227,
51,
11288,
51,
4617,
51,
2244,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
6825,
64,
222,
485,
10484,
51,
6003,
51,
2154,
1139,
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 | [
2830,
1039,
51,
1995,
3227,
51,
11288,
51,
4617,
51,
2244,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
6825,
64,
222,
485,
10484,
51,
6003,
51,
2154,
1139,
64,
222,
485,
10484,
51,
6003,
51,
... | -8,122,741,667,995,741,000 | true | false | false | false | [
733,
44339,
299,
34028,
971,
51,
28749,
419,
848,
310,
339,
222,
46,
222,
942,
462,
5565,
2041,
7406,
7318,
2234,
320,
303,
496,
10082,
303,
496,
2154,
1139,
45,
23452,
299,
7756,
303,
964,
910,
1799,
299,
5127,
303,
496,
2154,
1139... | 8,956,744,161,833,941,000 | true | ermann.nextcloud.tables.database.entity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.room.ColumnInfo;
import androidx.room.Embedded;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import com.google.gson.annotations.SerializedName;
import java.time.Instant;
... | room.Entity;
import androidx.room.ForeignKey;
import com.google.gson.annotations.SerializedName;
import java.time.Instant;
import java.util.Locale;
import java.util.Objects;
import java.util.Optional;
@Entity(
inheritSuperIndices = true,
foreignKeys = {
@ForeignKey(
... |
import java.util.Optional;
@Entity(
inheritSuperIndices = true,
foreignKeys = {
@ForeignKey(
entity = Account.class,
parentColumns = "id",
childColumns = "accountId",
onDelete = ForeignKey.C... |
onDelete = ForeignKey.CASCADE
)
}
)
public class Table extends AbstractRemoteEntity {
@NonNull
@ColumnInfo(defaultValue = "")
private String title = "";
@ColumnInfo(defaultValue = "")
private String emoji = "";
@ColumnInfo(defaultValue = "")
p... | @ColumnInfo(defaultValue = "")
private String lastEditBy;
@ColumnInfo(defaultValue = "")
private String lastEditAt;
private boolean isShared;
@Embedded
@SerializedName("onSharePermissions")
private OnShare |
BIRCHLeafClusteringTest.java | /FileExtraction/Java_unseen/elki-project_elki/elki-clustering/src/test/java/elki/clustering/hierarchical/birch/BIRCHLeafClusteringTest.java | /*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2022
* ELKI Development Team
*
* 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... | 5,503 | Java | .java | elki-project/elki | 771 | 321 | 4 | 2015-03-04T14:45:49Z | 2024-04-16T17:16:44Z | ca6706f4290c61b341bec2304d9a72a936817c548e76f1f86cb2fcf3a281f624 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
10544,
27716,
63,
222,
338,
10584,
456,
43572,
318,
1242,
2936,
50,
18944,
24533,
829,
6434,
50,
32860,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
222,
338,
10544,
27716,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
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,
222,
338,
1294... | -6,480,332,486,772,338,000 | true | false | false | false | [
1024,
64,
222,
485,
1871,
7335,
51,
624,
51,
4619,
318,
64,
222,
485,
1871,
7335,
51,
4617,
51,
3969,
64,
222,
485,
1871,
7335,
51,
16092,
51,
2165,
27716,
1812,
64,
222,
222,
1350,
222,
338,
34707,
913,
456,
570,
3914,
1424,
3440... | -177,837,522,217,225,860 | true | 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 Affero Gene... | 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 General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package elki.clusteri... | . If not, see <http://www.gnu.org/licenses/>.
*/
package elki.clustering.hierarchical.birch;
import org.junit.Test;
import elki.clustering.AbstractClusterAlgorithmTest;
import elki.data.Clustering;
import elki.database.Database;
import elki.utilities.ELKIBuilder;
/**
* Regression test for BIRCH clustering.
*
* @... | Test;
import elki.data.Clustering;
import elki.database.Database;
import elki.utilities.ELKIBuilder;
/**
* Regression test for BIRCH clustering.
*
* @author Erich Schubert
* @since 0.7.5
*/
public class BIRCHLeafClusteringTest extends AbstractClusterAlgorithmTest {
@Test
public void testDiameter() {
Datab... | SimpleDatabase(UNITTEST + "single-link-effect.ascii", 638);
Clustering<?> clustering = new ELKIBuilder<>(BIRCHLeafClustering.class) //
.with(CFTree.Factory. |
LeaderNotifyTest.java | /FileExtraction/Java_unseen/cojen_Tupl/src/test/java/org/cojen/tupl/remote/LeaderNotifyTest.java | /*
* Copyright (C) 2023 Cojen.org
*
* 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 progra... | 4,524 | Java | .java | cojen/Tupl | 106 | 22 | 5 | 2012-12-07T19:30:36Z | 2024-05-09T04:59:47Z | 8e5916d7b80487386b551529a1bbe084952aea06756774a6ae938b2b420f309d | [] | [
1127,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
55,
56,
5633,
17067,
51,
1107,
222,
338,
222,
338,
244,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
244,
580,
1549,
341,
5974,
451,
34... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
244,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
244,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
61... | 6,593,202,110,807,360,000 | true | false | false | false | [
32384,
7737,
222,
222,
1350,
222,
338,
1676,
338,
222,
338,
496,
2133,
570,
20999,
377,
565,
44,
6536,
747,
222,
588,
222,
942,
462,
47355,
11607,
1024,
320,
303,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
2589,
3284,
320,
310,
... | -3,033,595,853,389,012,500 | 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 <https://www.gnu.org/licenses/>.
*/
package org.cojen.tupl.remote;
im... | this program. If not, see <https://www.gnu.org/licenses/>.
*/
package org.cojen.tupl.remote;
import java.net.ServerSocket;
import org.junit.*;
import static org.junit.Assert.*;
import org.cojen.tupl.*;
import org.cojen.tupl.repl.ReplicatorConfig;
import static org.cojen.tupl.TestUtils.*;
/**
*
*
* @author... | .*;
import static org.junit.Assert.*;
import org.cojen.tupl.*;
import org.cojen.tupl.repl.ReplicatorConfig;
import static org.cojen.tupl.TestUtils.*;
/**
*
*
* @author Brian S O'Neill
*/
public class LeaderNotifyTest {
public static void main(String[] args) throws Exception {
org.junit.runner.JUnit... | TestUtils.*;
/**
*
*
* @author Brian S O'Neill
*/
public class LeaderNotifyTest {
public static void main(String[] args) throws Exception {
org.junit.runner.JUnitCore.main(LeaderNotifyTest.class.getName());
}
@Before
public void setup() throws Exception {
var ss1 = new ServerSocke... | ()
.groupToken(123456)
.localSocket(ss1);
DatabaseConfig config1 = new DatabaseConfig()
.durabilityMode(DurabilityMode.NO_FLUSH)
.replicate( |
AvvisaturaViaAppIo.java | /FileExtraction/Java_unseen/link-it_govpay/jars/orm-beans/src/main/java/it/govpay/model/configurazione/AvvisaturaViaAppIo.java | /*
* GovPay - Porta di Accesso al Nodo dei Pagamenti SPC
* http://www.gov4j.it/govpay
*
* Copyright (c) 2014-2024 Link.it srl (http://www.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 Fre... | 1,713 | Java | .java | link-it/govpay | 42 | 22 | 31 | 2015-05-08T16:57:28Z | 2024-04-12T16:09:58Z | 4132549675eafcbfc637f703eb57d9e4df6c96b9dee171abf7f34e85534b0dd0 | [] | [
1127,
222,
338,
590,
1558,
8700,
449,
8449,
102,
2090,
8275,
116,
763,
508,
6049,
24948,
21709,
4716,
110,
377,
3446,
222,
338,
1930,
574,
1516,
51,
7202,
57,
111,
51,
302,
52,
7202,
7014,
222,
338,
222,
338,
2657,
327,
104,
46,
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,... | 554 | [
1196,
1522,
244,
56,
49,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
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,
1... | -7,300,219,292,450,796,000 | true | false | false | false | [
1964,
19896,
299,
244,
54,
81,
64,
3038,
221,
2072,
1330,
1853,
25274,
4713,
1893,
116,
1778,
552,
1853,
25274,
4713,
1893,
116,
64,
222,
221,
2072,
1330,
1853,
25274,
87,
584,
123,
17766,
1778,
552,
1853,
25274,
87,
584,
123,
17766,
... | 4,094,885,974,269,337,000 | true | License version 3, as published by
* the Free Software Foundation.
*
* 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.
*... | 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 it.govpay.model.configurazione;
import java.io.Serializable;
public class ... | .gnu.org/licenses/>.
*
*/
package it.govpay.model.configurazione;
import java.io.Serializable;
public class AvvisaturaViaAppIo implements Serializable{
private static final long serialVersionUID = 1L;
private PromemoriaAvvisoBase promemoriaAvviso;
private PromemoriaRicevutaBase promemoriaRicevuta;
private Pr... | long serialVersionUID = 1L;
private PromemoriaAvvisoBase promemoriaAvviso;
private PromemoriaRicevutaBase promemoriaRicevuta;
private PromemoriaScadenza promemoriaScadenza;
public PromemoriaAvvisoBase getPromemoriaAvviso() {
return promemoriaAvviso;
}
public void setPromemoriaAv | viso(PromemoriaAvvisoBase promemoriaAvviso) {
this.promemoriaAvviso = promemoriaAvviso;
}
public PromemoriaRicevutaBase |
CDBVTSAMPLETYPE.java | /FileExtraction/Java_unseen/taktik_freehealth-connector/src/main/java/org/taktik/connector/business/domain/kmehr/v20150901/be/fgov/ehealth/standards/kmehr/cd/v1/CDBVTSAMPLETYPE.java | //
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.8-b130911.1802
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré ... | 5,417 | Java | .java | taktik/freehealth-connector | 18 | 21 | 13 | 2018-04-04T20:40:46Z | 2023-09-08T06:15:36Z | f5845212c633eb071290d82849e71fa4348df8e07d13bab052fb2fcb3d854e58 | [] | [
325,
222,
325,
31584,
30633,
331,
35212,
40322,
42773,
898,
475,
44,
3126,
47309,
387,
428,
12713,
41114,
30390,
4957,
9043,
29327,
456,
7408,
17393,
327,
47329,
490,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
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 | [
19627,
39481,
428,
2343,
334,
31635,
6305,
11117,
1329,
954,
1932,
51,
244,
222,
325,
590,
1329,
9926,
42773,
1018,
518,
244,
55,
53,
54,
58,
51,
54,
54,
51,
54,
53,
7244,
244,
54,
54,
63,
58,
56,
63,
57,
59,
8117,
409,
1235,
... | 135,290,438,690,101,900 | true | false | false | false | [
51,
2555,
51,
4341,
51,
26886,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
40002,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
899,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
27351,
51,
... | 4,045,153,027,553,412,000 | true | due lors de la recompilation du schéma source.
// Généré le : 2015.11.10 à 11:53:46 AM CET
//
package org.taktik.connector.business.domain.kmehr.v20150901.be.fgov.ehealth.standards.kmehr.cd.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessor... | package org.taktik.connector.business.domain.kmehr.v20150901.be.fgov.ehealth.standards.kmehr.cd.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaTyp... | java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bi... | .bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Classe Java pour CD-BVT-SAMPLETYPE complex type.
*
* <p>Le f... | ma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* <complexType name="CD-BVT-SAMPLETYPE">
* <simpleContent>
|
XML.java | /FileExtraction/Java_unseen/openjdk_skara/xml/src/main/java/org/openjdk/skara/xml/XML.java | /*
* Copyright (c) 2018, 2022, 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 ... | 4,156 | Java | .java | openjdk/skara | 198 | 80 | 1 | 2019-06-24T12:22:10Z | 2024-05-07T23:19:02Z | 2b016bee10c2e5adc8b926069952cf90f9099a541074bcf5f8aeb205962ebaf5 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
244,
55,
53,
55,
55,
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,... | 951 | [
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,
338,
10034,
51,
222,
588,
22... | -5,552,891,838,020,779,000 | true | false | false | false | [
3203,
45,
671,
317,
46,
2589,
6300,
320,
310,
1614,
320,
343,
792,
7769,
299,
6222,
44765,
51,
20237,
492,
343,
792,
4914,
299,
7769,
51,
909,
3112,
1812,
492,
343,
461,
4914,
51,
2228,
45,
909,
4257,
2044,
45,
909,
45230,
45,
117... | 823,455,981,215,945,300 | true | 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package org.openjdk.skara.xml;
import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.*;
import java.util.*;
import org.w3c.dom.*;
import org.xml.sax.*;... | ara.xml;
import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.*;
import java.util.*;
import org.w3c.dom.*;
import org.xml.sax.*;
import javax.xml.parsers.*;
public class XML {
public static Document parse(Path p) throws IOException {
return parse(new InputSource(Files.newInputS... | .sax.*;
import javax.xml.parsers.*;
public class XML {
public static Document parse(Path p) throws IOException {
return parse(new InputSource(Files.newInputStream(p)));
}
public static Document parse(String p) throws IOException {
try {
var factory = DocumentBuilderFactory.newI... | parse(String p) throws IOException {
try {
var factory = DocumentBuilderFactory.newInstance();
var builder = factory.newDocumentBuilder();
return builder.parse(new InputSource(new ByteArrayInputStream(p.getBytes(StandardCharsets.UTF_8))));
} catch (ParserConfiguratio... | StringReader(String.join("\n", lines))));
}
private static Document parse(InputSource source) throws IOException {
try {
var factory = DocumentBuilderFactory.newInstance();
var builder = factory.newDocumentBuilder();
return |
Handlers.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Emergency/src/ims/emergency/forms/attendanceclinicalnotedialog/Handlers.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 5,133 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 05871b0db95dfedce6d47c5106c8e78a94f7ccd91a2cbb06af828452299c523c | [] | [
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 | [
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
8103,
7034,
2668,
365,
2589,
3987,
120,
51,
2863,
51,
11453,
51,
21407,
12281,
1002,
64,
222,
221,
9431,
2532,
782,
563,
8103,
5134,
2668,
365,
2589,
3987,
... | 3,306,973,077,267,643,400 | true | false | false | false | [
492,
621,
221,
286,
1260,
2981,
45,
1150,
312,
374,
221,
130,
376,
221,
1933,
376,
221,
597,
51,
618,
51,
307,
115,
5232,
4375,
941,
30721,
5232,
638,
941,
11534,
903,
1167,
45,
909,
35379,
1723,
899,
903,
365,
376,
221,
128,
374,... | -1,953,531,827,680,084,000 | true | framework.exceptions.PresentationLogicException;
abstract protected void onBtnCancelClick() throws ims.framework.exceptions.PresentationLogicException;
abstract protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException;
public final void setContext(ims.framework.UIEngine engine, Gen... | Exception;
public final void setContext(ims.framework.UIEngine engine, GenForm form)
{
this.engine = engine;
this.form = form;
this.form.setFormOpenEvent(new FormOpen()
{
private static final long serialVersionUID = 1L;
public void handle(Object[] args) throws ims.framework.exceptions.PresentationLogi... | Event(new FormOpen()
{
private static final long serialVersionUID = 1L;
public void handle(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
bindLookups();
onFormOpen(args);
}
});
this.form.ctnNoteDetails().cmbNoteType().setValueSetEvent(new ComboBoxValueSet()
{
... | ();
onFormOpen(args);
}
});
this.form.ctnNoteDetails().cmbNoteType().setValueSetEvent(new ComboBoxValueSet()
{
private static final long serialVersionUID = 1L;
public void handle(Object value)
{
oncmbNoteTypeValueSet(value);
}
});
this.form.ctnNoteDetails().cmbDiscipline().setValue | SetEvent(new ComboBoxValueSet()
{
private static final long serialVersionUID = 1L;
public void handle(Object value)
{
oncmbDisciplineValueSet(value);
} |
CreateShareViaLinkOperation.java | /FileExtraction/Java_unseen/nextcloud_android/app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java | /*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
* SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
* SPDX-FileCop... | 3,843 | Java | .java | nextcloud/android | 3,950 | 1,713 | 1,165 | 2016-06-06T21:23:36Z | 2024-05-09T07:04:15Z | edc3b99650ce34e26b1828931a2e4ba5e72a3681b55c551d72c90b3f4e689c90 | [] | [
1127,
222,
338,
11006,
3227,
449,
8107,
5680,
222,
338,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
53,
50,
55,
53,
55,
56,
413,
926,
3247,
1242,
13524,
14293,
350,
471,
12895,
69,
112,
13524,
14293,
51,
308,
67,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 884 | [
50,
991,
10585,
1049,
63,
244,
55,
53,
54,
62,
4262,
126,
10469,
284,
127,
10120,
350,
1357,
69,
29705,
50,
6387,
284,
127,
10120,
51,
305,
67,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
54,
58,
4387,
5577,
6367,
51... | -5,411,688,264,272,989,000 | true | false | false | false | [
3227,
51,
4048,
51,
14666,
64,
222,
222,
485,
785,
51,
896,
3227,
51,
4048,
51,
40215,
51,
991,
768,
3581,
1590,
64,
222,
485,
785,
51,
896,
3227,
51,
4048,
51,
40215,
51,
9301,
991,
64,
222,
485,
785,
51,
896,
3227,
51,
4048,
... | 7,006,134,702,126,973,000 | true | -FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
* SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
* SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
* SPDX-License-Identifier: GPL-2.0-only AND (AGPL-3.... | CopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
* SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
* SPDX-License-Identifier: GPL-2.0-only AND (AGPL-3.0-or-later OR GPL-2.0-only)
*/
package com.owncloud.android.operations;
import com.owncloud.android.datamodel.FileDataStorage... | io@solidgear.es>
* SPDX-License-Identifier: GPL-2.0-only AND (AGPL-3.0-or-later OR GPL-2.0-only)
*/
package com.owncloud.android.operations;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.lib.common.OwnCloudClient;
import com.ow... | cloud.android.operations;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.lib.common.OwnCloudClient;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.files.FileUtils... | .resources.shares.CreateShareRemoteOperation;
import com.owncloud.android.lib.resources.shares.OCShare;
import com.owncloud.android.lib.resources.shares.ShareType;
import com. |
Atto_bolloBulk.java | /FileExtraction/Java_unseen/consiglionazionaledellericerche_sigla-main/sigla-ejb/src/main/java/it/cnr/contab/bollo00/bulk/Atto_bolloBulk.java | /*
* Copyright (C) 2019 Consiglio Nazionale delle Ricerche
*
* 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) ... | 5,182 | Java | .java | consiglionazionaledellericerche/sigla-main | 9 | 9 | 39 | 2019-11-14T13:02:13Z | 2024-05-06T08:35:24Z | 03f4d0b8bdf46428e1510d113aa68faf59d7ee68041872f67b1b3fa702c202c1 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
244,
1356,
5037,
17870,
508,
1392,
304,
1572,
27959,
578,
15946,
1075,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
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 | [
3477,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
222,
1337,
580,
51,
4999,
119,
51,
685,
380,
51,
103,
16558,
53,
53,
51,
17228,
64,
222,
222,
485,
1401,
51,
1058,
51,... | 8,985,627,985,286,442,000 | true | false | false | false | [
116,
16723,
64,
222,
485,
580,
51,
4999,
119,
51,
685,
380,
51,
1058,
53,
53,
51,
17228,
51,
4239,
51,
1523,
2358,
6599,
4449,
16723,
64,
222,
485,
580,
51,
4999,
119,
51,
111,
4252,
51,
17228,
51,
16723,
2272,
64,
222,
485,
580... | 477,243,804,409,235,650 | true | program. If not, see <https://www.gnu.org/licenses/>.
*/
package it.cnr.contab.bollo00.bulk;
import java.util.Optional;
import it.cnr.contab.bollo00.tabrif.bulk.Tipo_atto_bolloBulk;
import it.cnr.contab.config00.contratto.bulk.ContrattoBulk;
import it.cnr.contab.config00.sto.bulk.Unita_organizzativaBulk;
import i... | it.cnr.contab.bollo00.tabrif.bulk.Tipo_atto_bolloBulk;
import it.cnr.contab.config00.contratto.bulk.ContrattoBulk;
import it.cnr.contab.config00.sto.bulk.Unita_organizzativaBulk;
import it.cnr.contab.util00.bulk.storage.AllegatoGenericoBulk;
import it.cnr.contab.util00.bulk.storage.AllegatoParentBulk;
import it.cnr.ja... | Bulk;
import it.cnr.contab.config00.sto.bulk.Unita_organizzativaBulk;
import it.cnr.contab.util00.bulk.storage.AllegatoGenericoBulk;
import it.cnr.contab.util00.bulk.storage.AllegatoParentBulk;
import it.cnr.jada.bulk.BulkCollection;
import it.cnr.jada.bulk.BulkList;
public class Atto_bolloBulk extends Atto_bolloBase ... | oBulk;
import it.cnr.contab.util00.bulk.storage.AllegatoParentBulk;
import it.cnr.jada.bulk.BulkCollection;
import it.cnr.jada.bulk.BulkList;
public class Atto_bolloBulk extends Atto_bolloBase implements AllegatoParentBulk {
private static final long serialVersionUID = 1L;
private Unita_organ | izzativaBulk unitaOrganizzativa;
private Tipo_atto_bolloBulk tipoAttoBollo;
private ContrattoBulk contratto = new ContrattoBulk();
private BulkList<Al |
HistogramMatchDistance.java | /FileExtraction/Java_unseen/elki-project_elki/elki-core-distance/src/main/java/elki/distance/histogram/HistogramMatchDistance.java | /*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2022
* ELKI Development Team
*
* 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... | 4,871 | Java | .java | elki-project/elki | 771 | 321 | 4 | 2015-03-04T14:45:49Z | 2024-04-16T17:16:44Z | b9d6e7b33aca7bbf3134396aa180ae1524ecbba974908540b66b2dc6e8fa358f | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
10544,
27716,
63,
222,
338,
10584,
456,
43572,
318,
1242,
2936,
50,
18944,
24533,
829,
6434,
50,
32860,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
55,
222,
338,
10544,
27716,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
13950,
22454,
7650,
10760,
451,
4351,
420,
411,
453,
303,
7638,
1333,
299,
332,
608,
5880,
1791,
4235,
337,
49132,
719,
1664,
3450,
110,
244,
58,
51,
56,
536,
1330,
17082,
451,
10422,
3574,
1722,
49,
244,
58,
63,
56,
411,
453,
303,
... | 1,175,342,872,300,626,000 | true | false | false | false | [
353,
496,
15375,
353,
581,
44586,
3683,
8470,
365,
320,
303,
2615,
492,
353,
339,
736,
496,
1806,
353,
581,
2082,
7336,
45,
1936,
2880,
373,
54,
49,
5132,
2880,
373,
55,
46,
320,
303,
1175,
648,
4446,
299,
8811,
6324,
45,
123,
54,... | -1,787,276,670,649,991,000 | true | spaces describing large systems of automata", //
booktitle = "Problemy Peredachi Informatsii 5.3 / Problems of Information Transmission, 5:3", //
url = "http://mi.mathnet.ru/eng/ppi1811", //
bibkey = "journals/misc/Vaserstein69")
public class HistogramMatchDistance extends AbstractNumberVectorDistance impl... | mathnet.ru/eng/ppi1811", //
bibkey = "journals/misc/Vaserstein69")
public class HistogramMatchDistance extends AbstractNumberVectorDistance implements SpatialPrimitiveDistance<NumberVector> {
/**
* Static instance. Use this!
*/
public static final HistogramMatchDistance STATIC = new HistogramMatchDistance... |
/**
* Static instance. Use this!
*/
public static final HistogramMatchDistance STATIC = new HistogramMatchDistance();
/**
* Constructor for the Histogram match distance function.
*
* @deprecated Use static instance!
*/
@Deprecated
public HistogramMatchDistance() {
super();
}
@Ove... |
@Deprecated
public HistogramMatchDistance() {
super();
}
@Override
public double distance(NumberVector v1, NumberVector v2) {
final int dim = dimensionality(v1, v2);
double xs = 0., ys = 0., agg = 0.;
for(int i = 0; i < dim; i++) {
xs += v1.doubleValue(i);
}
for(int i = | 0; i < dim; i++) {
ys += v2.doubleValue(i);
}
double fx = xs > 0? 1. / xs : 1, fy = ys > 0? 1. / |
10507 Waking up brain.java | /FileExtraction/Java_unseen/PuzzlesLab_UVA/King/10507 Waking up brain.java | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashSet;
class Main {
/*
Extra tests:
2
0
ABC
0
1
ABC
CD
-1
1
ABC
AB
3
2
ABC
AB
BA
4
2
ABC
AB
BC
*/
public static void main (String [] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in)... | 2,221 | Java | .java | PuzzlesLab/UVA | 21 | 23 | 2 | 2016-03-15T17:15:27Z | 2024-04-11T15:48:13Z | 9dc96903217c4d4bb267b23a287653c0f7dba85e6fdff33c56fa2db83e2c2bc9 | [] | [
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
6989,
3314,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
222,
842,
6697,
320,
222,
222,
1127,
222,
9124,
3326,
63,
222,
55,
222,
53,
222,
16701,
499,
53,
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,... | 762 | [
6917,
1710,
46,
320,
374,
221,
429,
508,
66,
3078,
51,
11824,
45,
120,
490,
507,
66,
3078,
51,
11824,
45,
858,
51,
29240,
1052,
374,
221,
17163,
65,
3078,
67,
2838,
28381,
66,
909,
14253,
6984,
374,
221,
999,
327,
1612,
300,
518,
... | 7,735,660,312,137,466,000 | true | false | false | false | [
44,
70,
389,
553,
66,
120,
51,
15602,
45,
54,
7864,
44,
70,
938,
621,
221,
483,
28381,
51,
688,
45,
125,
312,
1187,
28381,
51,
688,
45,
126,
312,
621,
221,
344,
327,
125,
6917,
126,
46,
320,
596,
221,
344,
1445,
11705,
96,
125... | 4,263,748,242,544,663,000 | true | !=null) {
int N=Integer.parseInt(s), M=Integer.parseInt(br.readLine());
HashSet<Integer> initialAreas=new HashSet<>();
for (char c : br.readLine().trim().toCharArray()) initialAreas.add((int)(c-'A'));
boolean [][] edges=new boolean [26][26];
HashSet<Integer> allAreas=new HashSet<>();
allAreas.addA... | toCharArray()) initialAreas.add((int)(c-'A'));
boolean [][] edges=new boolean [26][26];
HashSet<Integer> allAreas=new HashSet<>();
allAreas.addAll(initialAreas);
int [] edgeCount=new int [26];
for (int m=0;m<M;m++) {
s=br.readLine().trim();
int x=s.charAt(0)-'A', y=s.charAt(1)-'A';
allAre... |
int [] edgeCount=new int [26];
for (int m=0;m<M;m++) {
s=br.readLine().trim();
int x=s.charAt(0)-'A', y=s.charAt(1)-'A';
allAreas.add(x); allAreas.add(y);
if (x!=y) {
if (!edges[x][y]) {
edgeCount[x]++;
edges[x][y]=true;
}
if (!edges[y][x]) {
edgeCount[y]++;... | 'A', y=s.charAt(1)-'A';
allAreas.add(x); allAreas.add(y);
if (x!=y) {
if (!edges[x][y]) {
edgeCount[x]++;
edges[x][y]=true;
}
if (!edges[y][x]) {
edgeCount[y]++;
edges[y][x]=true;
| }
}
}
br.readLine();//empty.
if (allAreas.size()<N) {
System.out.println("THIS BRAIN NEVER WAKES UP");
continue; |
JdbcAccount.java | /FileExtraction/Java_unseen/Peergos_Peergos/src/peergos/server/login/JdbcAccount.java | package peergos.server.login;
import com.eatthepath.otp.*;
import com.webauthn4j.*;
import com.webauthn4j.data.client.*;
import peergos.server.sql.*;
import peergos.server.util.Logging;
import peergos.shared.cbor.*;
import peergos.shared.crypto.asymmetric.*;
import peergos.shared.login.*;
import peergos.shared.login.m... | 19,120 | Java | .java | Peergos/Peergos | 1,866 | 164 | 96 | 2013-08-23T13:18:59Z | 2024-05-03T20:00:17Z | 0171f261c806d7d01862755db9b73cff27ba077fc5c9a105ee49ddd179fb4728 | [] | [
1337,
10373,
29789,
51,
1805,
51,
3632,
64,
222,
222,
485,
785,
51,
40373,
1402,
1005,
51,
25058,
7737,
222,
485,
785,
51,
1857,
2408,
115,
57,
111,
7737,
222,
485,
785,
51,
1857,
2408,
115,
57,
111,
51,
624,
51,
1598,
7737,
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 | [
7490,
100,
82,
1867,
299,
244,
54,
53,
64,
465,
964,
12014,
1922,
458,
13629,
64,
303,
964,
34549,
65,
2815,
67,
4580,
64,
303,
964,
1175,
25525,
6124,
30712,
299,
556,
25525,
6124,
492,
303,
964,
1175,
3718,
2693,
115,
1590,
2692,
... | 8,566,975,914,348,819,000 | true | false | false | false | [
312,
343,
3401,
51,
489,
4331,
25291,
45,
2815,
51,
30867,
100,
16423,
7474,
2164,
312,
343,
461,
3401,
64,
310,
339,
2385,
327,
20335,
503,
46,
320,
343,
1440,
556,
13383,
45,
106,
312,
310,
339,
303,
339,
465,
964,
13436,
782,
3... | -6,505,113,551,059,880,000 | true | MAX_MFA = 10;
private volatile boolean isClosed;
private Supplier<Connection> conn;
private final SecureRandom rnd = new SecureRandom();
private final WebAuthnManager webauthn = WebAuthnManager.createNonStrictWebAuthnManager();
private final Origin origin;
private final String rpId;
publi... | .createNonStrictWebAuthnManager();
private final Origin origin;
private final String rpId;
public JdbcAccount(Supplier<Connection> conn, SqlSupplier commands, Origin origin, String rpId) {
this.conn = conn;
this.origin = origin;
this.rpId = rpId;
init(commands);
}
p... | conn;
this.origin = origin;
this.rpId = rpId;
init(commands);
}
private Connection getConnection() {
Connection connection = conn.get();
try {
connection.setAutoCommit(true);
connection.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE)... | );
connection.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
return connection;
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
private synchronized void init(SqlSupplier commands) {
if (isClosed)
return;
... | .createTable(commands.createMfaChallengeTableCommand(), conn);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
private boolean hasEntry(String username) {
try (Connection conn = get |
ShowLocationActivity.java | /FileExtraction/Java_unseen/iNPUTmice_ShareLocationPlugin/src/main/java/eu/siacs/conversations/sharelocation/ShowLocationActivity.java | package eu.siacs.conversations.sharelocation;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.location.Location;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import com.google.android.gms.common... | 2,943 | Java | .java | iNPUTmice/ShareLocationPlugin | 35 | 10 | 9 | 2015-03-07T22:00:16Z | 2017-11-30T01:06:04Z | 3e8572e33fcb70a7fb13038d7033ddbdecfb27bde394416b9d6da50e4f83a7a4 | [] | [
1337,
14604,
51,
3450,
16286,
51,
487,
24690,
51,
6085,
2665,
64,
222,
222,
485,
2616,
51,
745,
51,
21540,
64,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
8770,
64,
222,
485,
2616,
51,
2665,
51,
2941,
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,... | 862 | [
485,
2616,
51,
1090,
51,
6362,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
1732,
64,
222,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
2297,
51,
2815,
1413,
64,
222,
485,
785,
51,
2193,
51,
4... | -3,815,221,084,675,626,000 | true | false | false | false | [
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1501,
1225,
10590,
3309,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1184,
51,
29888,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
21263,
51,
8222,
51,
1184,
51,
111... | -6,689,644,779,818,601,000 | true | import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import ... | .api.GoogleApiClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.... | ;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
public ... | .google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
public class ShowLocationActivity extends Activity implements OnMapReadyCallback {
private GoogleMap mGoogleMap;
private LatLng mLocation;
private String mLocationNa... | {
super.onCreate(savedInstanceState);
ActionBar actionBar = getActionBar();
if (actionBar!= null) {
actionBar.setDisplayHomeAsUpEnabled(true);
}
setContentView( |
KeyListenerView.java | /FileExtraction/Java_unseen/ZorinOS_zorin-connect-android/src/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java | /*
* SPDX-FileCopyrightText: 2014 Saikrishna Arcot <saiarcot895@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
package org.kde.kdeconnect.Plugins.MousePadPlugin;
import android.content.Context;
import android.util.AttributeSet;
import android.util.SparseIntAr... | 5,936 | Java | .java | ZorinOS/zorin-connect-android | 204 | 20 | 13 | 2019-03-13T17:59:05Z | 2024-01-09T20:34:04Z | fcb8eb9c6e60d13a63a4de5c0f0c2806d9937bf1e39217d2180d387bfa42fd2e | [] | [
1127,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
54,
57,
31324,
1567,
119,
1729,
3288,
5534,
17304,
350,
2473,
16593,
17304,
61,
62,
58,
69,
7265,
51,
527,
67,
222,
338,
222,
338,
18769,
50,
3801,
50,
5551,
63,
23508,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
56,
51,
53,
50,
2605,
1895,
1196,
2099,
50,
80,
869,
50,
24868,
50,
21156,
222,
1975,
222,
222,
1337,
1105,
51,
112,
305,
51,
112,
305,
3532,
51,
15459,
51,
6042,
12976,
4168,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222... | 7,340,849,141,839,485,000 | true | false | false | false | [
1175,
377,
11824,
1280,
17972,
5044,
1225,
299,
556,
377,
11824,
1280,
492,
465,
924,
320,
310,
648,
613,
299,
244,
53,
64,
310,
17972,
5044,
1225,
51,
543,
45,
26082,
51,
24308,
100,
17044,
49,
3323,
110,
312,
2868,
453,
244,
54,
... | -3,503,209,032,839,096,000 | true | 3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
package org.kde.kdeconnect.Plugins.MousePadPlugin;
import android.content.Context;
import android.util.AttributeSet;
import android.util.SparseIntArray;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.view.in... | AttributeSet;
import android.util.SparseIntArray;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.NetworkPacket;
public class KeyListenerView exte... | InputConnection;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.NetworkPacket;
public class KeyListenerView extends View {
private String deviceId;
public static final SparseIntArray SpecialKeysMap = new SparseIntArray();
static {
int i = 0;
SpecialKeysMap.put(Ke... | final SparseIntArray SpecialKeysMap = new SparseIntArray();
static {
int i = 0;
SpecialKeysMap.put(KeyEvent.KEYCODE_DEL, ++i); // 1
SpecialKeysMap.put(KeyEvent.KEYCODE_TAB, ++i); // 2
SpecialKeysMap.put(KeyEvent.KEYCODE_ENTER, 12);
++i; // 3... | KeysMap.put(KeyEvent.KEYCODE_DPAD_LEFT, ++i); // 4
SpecialKeysMap.put(KeyEvent.KEYCODE_DPAD_UP, ++i); // 5
SpecialKeysMap.put |
HPRecoilEffect.java | /FileExtraction/Java_unseen/Darkxell_PMDMMO/PMDMMO-common/src/com/darkxell/common/move/effects/HPRecoilEffect.java | package com.darkxell.common.move.effects;
import java.util.ArrayList;
import com.darkxell.common.event.Event;
import com.darkxell.common.event.pokemon.DamageDealtEvent;
import com.darkxell.common.event.pokemon.DamageDealtEvent.DamageType;
import com.darkxell.common.move.MoveContext;
import com.darkxell.common.move.ca... | 1,303 | Java | .java | Darkxell/PMDMMO | 8 | 1 | 0 | 2017-08-22T13:57:25Z | 2022-01-20T10:10:30Z | cfb448e6b4ad1fc9b00ead704219e04831a606019832cb09f89b4aecd0af09d3 | [] | [
1337,
785,
51,
7548,
125,
1042,
51,
2297,
51,
1518,
51,
16413,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
485,
785,
51,
7548,
125,
1042,
51,
2297,
51,
1585,
51,
1167,
64,
222,
485,
785,
51,
7548,
125,
1042,
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,... | 341 | [
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
485,
785,
51,
7548,
125,
1042,
51,
2297,
51,
1585,
51,
1167,
64,
222,
485,
785,
51,
7548,
125,
1042,
51,
2297,
51,
1585,
51,
31777,
51,
15022,
703,
3853,
1167,
64,
222,
485,
785,... | -9,110,663,925,693,274,000 | true | false | false | false | [
29470,
42499,
354,
5572,
45,
2640,
13755,
46,
320,
310,
477,
51,
11701,
299,
13755,
64,
303,
339,
465,
496,
1806,
303,
581,
4587,
3066,
365,
320,
310,
461,
556,
4587,
459,
1518,
51,
1357,
51,
287,
352,
354,
100,
11319,
1912,
688,
... | 8,796,323,470,774,465,000 | true |
import java.util.ArrayList;
import com.darkxell.common.event.Event;
import com.darkxell.common.event.pokemon.DamageDealtEvent;
import com.darkxell.common.event.pokemon.DamageDealtEvent.DamageType;
import com.darkxell.common.move.MoveContext;
import com.darkxell.common.move.calculator.MoveEffectCalculator;
import com.... | common.event.pokemon.DamageDealtEvent.DamageType;
import com.darkxell.common.move.MoveContext;
import com.darkxell.common.move.calculator.MoveEffectCalculator;
import com.darkxell.common.move.effect.MoveEffect;
import com.darkxell.common.util.language.Message;
public class HPRecoilEffect extends MoveEffect {
publ... | .darkxell.common.move.effect.MoveEffect;
import com.darkxell.common.util.language.Message;
public class HPRecoilEffect extends MoveEffect {
public final double percent;
public HPRecoilEffect(double percent) {
this.percent = percent;
}
@Override
public Message description() {
retu... | HPRecoilEffect(double percent) {
this.percent = percent;
}
@Override
public Message description() {
return new Message("move.info.recoil_hp").addReplacement("<percent>", String.valueOf(this.percent));
}
@Override
public void effects(MoveContext context, MoveEffectCalculator ca... | && createAdditionals) {
int damage = context.user.getMaxHP();
damage *= this.percent / 100;
effects.add(new DamageDealtEvent(context.floor, context.event, context. |
LamsLearningDesignServlet.java | /FileExtraction/Java_unseen/lamsfoundation_lams/lams_bb_integration/src/org/lamsfoundation/bb/integration/servlet/LamsLearningDesignServlet.java | /****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can red... | 4,299 | Java | .java | lamsfoundation/lams | 37 | 23 | 0 | 2017-06-13T03:22:42Z | 2024-04-11T17:31:25Z | ac69d3945ade2237a8235c80efd875b5dad032fb3fe6aeb64c03af7e02b7317a | [] | [
18200,
1676,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
58,
517,
40221,
7120,
327,
544,
574,
113,
1480,
19076,
51,
1107,
46,
1676,
338,
21422,
7567,
1676,
338,
1196,
10422,
63,
1930,
574,
113,
1480,
19076,
51,
1107,
52,
425,
20314,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
764,
3176,
45,
18804,
1343,
49,
28307,
1808,
46,
320,
222,
221,
2441,
45,
1375,
49,
1808,
312,
303,
339,
465,
2532,
782,
2183,
45,
18804,
1343,
49,
28307,
1808,
46,
320,
222,
221,
671,
2160,
6774,
299,
517,
1480,
4168,
1... | 8,709,071,031,946,856,000 | true | false | false | false | [
221,
325,
37933,
3406,
451,
1877,
48674,
449,
1674,
347,
341,
517,
40221,
10839,
42591,
222,
221,
4412,
813,
36098,
299,
920,
64,
222,
221,
671,
1957,
299,
1343,
51,
17745,
459,
1655,
742,
222,
221,
671,
1354,
299,
1343,
51,
17745,
... | 1,026,551,309,203,665,700 | true | public void doPost(HttpServletRequest request, HttpServletResponse response) {
process(request, response);
}
protected void process(HttpServletRequest request, HttpServletResponse response) {
String serverAddr = LamsPluginUtil.getServerUrl();
String serverId = LamsPluginUtil.getServerId();
// If lams.pro... | String serverId = LamsPluginUtil.getServerId();
// If lams.properties could not be read, throw exception
if (serverAddr == null || serverId == null) {
throw new RuntimeException("lams.properties file could not be read. serverAddr:" + serverAddr + ", serverId:" + serverId);
}
// get request parameters
String... | properties file could not be read. serverAddr:" + serverAddr + ", serverId:" + serverId);
}
// get request parameters
String folderId = request.getParameter(Constants.PARAM_FOLDER_ID);
//paging parameters of tablesorter - used in the LAMS Template Wizard
boolean usePaging = false;
String page = request.getParam... | //paging parameters of tablesorter - used in the LAMS Template Wizard
boolean usePaging = false;
String page = request.getParameter("page");
String size = request.getParameter("size");
if ( page!= null && page.length()>0) {
usePaging = true;
if ( size == null || size.length()==0)
size="10";
}
String ... | Name");
String sortDate = request.getParameter("sortDate");
String search = request.getParameter("search");
String type = request.getParameter("type");
String username = request.getParameter("username"); // backup |
LogRotation.java | /FileExtraction/Java_unseen/Beezig_Beezig/src/main/java/eu/beezig/core/logging/session/LogRotation.java | /*
* Copyright (C) 2017-2021 Beezig Team
*
* This file is part of Beezig.
*
* Beezig 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 ver... | 3,362 | Java | .java | Beezig/Beezig | 16 | 5 | 2 | 2017-03-13T18:09:03Z | 2022-04-25T06:15:51Z | 04c3390b5e272eb486c459895c939b94dafd83f81fed7bb8b6e1e4893fbb18ac | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
50,
55,
53,
55,
54,
570,
1310,
28574,
12653,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
570,
1310,
28574,
51,
222,
338,
222,
338,
570,
1310,
28574,
458,
3760,
2951,
63,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 827 | [
310,
434,
327,
23993,
630,
762,
46,
461,
556,
2050,
96,
53,
988,
310,
27465,
30985,
299,
27465,
51,
2192,
45,
6778,
625,
51,
2964,
2061,
4269,
15181,
45,
56,
53,
49,
1902,
25834,
3024,
51,
39849,
312,
310,
461,
14479,
51,
2255,
45... | 6,599,776,341,493,505,000 | true | false | false | false | [
11221,
299,
4568,
96,
53,
1015,
5175,
365,
494,
17029,
494,
4568,
96,
23857,
463,
51,
1340,
449,
244,
54,
1015,
5175,
365,
494,
4956,
5384,
51,
6756,
884,
310,
2050,
13647,
299,
556,
2050,
45,
71,
1310,
28574,
51,
390,
941,
33465,
... | 3,398,321,263,954,145,300 | true |
if (subs == null) return new File[0];
LocalDate expiry = LocalDate.now(ZoneId.systemDefault()).minus(30, ChronoUnit.DAYS);
return Arrays.stream(subs).filter(f -> {
if (!f.isDirectory()) return false;
return LocalDate.parse(f.getName(), TemporaryPointsManager.dateFormatte... | {
if (!f.isDirectory()) return false;
return LocalDate.parse(f.getName(), TemporaryPointsManager.dateFormatter).isBefore(expiry);
}).sorted().toArray(File[]::new);
}
public void rotateLogs() throws IOException {
File[] applicable = getApplicableFolders();
if (ap... | Logs() throws IOException {
File[] applicable = getApplicableFolders();
if (applicable.length == 0) return;
Beezig.logger.info("Rotating " + applicable.length + " session logs.");
String fileName = applicable[0].getName() + "." + applicable[applicable.length - 1].getName() + ".tar.gz";
... | fileName = applicable[0].getName() + "." + applicable[applicable.length - 1].getName() + ".tar.gz";
File archive = new File(Beezig.get().getBeezigDir(), "sessions/" + FilenameUtils.getName(fileName));
try (FileOutputStream os = new FileOutputStream(archive);
OutputStream gzip = new GzipCom... | folder : applicable) {
File[] subs = folder.listFiles();
if (subs == null) continue;
for (File file : subs) {
if (!file.isFile()) continue;
TarArchiveEntry entry = new Tar |
HipChatTrigger.java | /FileExtraction/Java_unseen/graylog-labs_graylog-plugin-hipchat/src/main/java/org/graylog2/alarmcallbacks/hipchat/HipChatTrigger.java | /**
* Copyright 2013-2014 TORCH GmbH, 2015 Graylog, Inc.
*
* This file is part of Graylog.
*
* Graylog 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 opt... | 8,094 | Java | .java | graylog-labs/graylog-plugin-hipchat | 9 | 8 | 0 | 2013-01-03T23:00:31Z | 2018-02-02T14:01:32Z | 986ee8df55de44f048b56a63d5ecc5412c4e3bdce465eb716dd7da83d79d97eb | [] | [
1350,
222,
338,
2657,
244,
55,
53,
54,
56,
50,
55,
53,
54,
57,
46092,
1424,
34723,
49,
244,
55,
53,
54,
58,
38929,
769,
49,
6367,
51,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
38929,
769,
51,
222,
338,
222,
338,
38929,
76... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1175,
910,
1492,
3455,
49,
1175,
7417,
20343,
769,
29326,
46,
320,
310,
477,
51,
1256,
1781,
299,
4142,
1781,
64,
310,
477,
51,
6003,
299,
8358,
64,
310,
477,
51,
1507,
299,
1989,
64,
310,
477,
51,
9357,
299,
11745,
64,
310,
477,
... | -2,515,742,545,463,473,700 | true | false | false | false | [
332,
6266,
50,
61,
678,
494,
2450,
8855,
742,
343,
339,
832,
320,
419,
2001,
299,
556,
3846,
45,
1256,
2427,
494,
2450,
123,
55,
52,
6003,
5694,
494,
3846,
8805,
51,
4458,
45,
6003,
49,
332,
6266,
50,
61,
678,
494,
2450,
8855,
7... | 8,685,868,887,272,912,000 | true | final String messageTemplate, final URI graylogBaseUrl) {
this.apiToken = apiToken;
this.room = room;
this.color = color;
this.notify = notify;
this.apiURL = apiURL;
this.objectMapper = objectMapper;
this.messageTemplate = messageTemplate;
this.graylogBas... | ;
this.objectMapper = objectMapper;
this.messageTemplate = messageTemplate;
this.graylogBaseUrl = graylogBaseUrl;
}
public void trigger(AlertCondition condition, AlertCondition.CheckResult alert) throws AlarmCallbackException {
final URL url;
try {
if (String... | Exception {
final URL url;
try {
if (Strings.isNullOrEmpty(apiURL)) {
url = new URL("https://api.hipchat.com/v2/room/" + URLEncoder.encode(room, "UTF-8") + "/notification");
} else {
url = new URL(apiURL + "/v2/room/" + URLEncoder.encode(room, "UTF... | "UTF-8") + "/notification");
} else {
url = new URL(apiURL + "/v2/room/" + URLEncoder.encode(room, "UTF-8") + "/notification");
}
} catch (MalformedURLException | UnsupportedEncodingException e) {
throw new AlarmCallbackException("Error while constructing URL... | ();
conn.setDoOutput(true);
conn.setRequestMethod("POST");
conn.addRequestProperty("Authorization", "Bearer " + apiToken);
conn.addRequestProperty("Content-Type", "application/json"); |
KifuServiceImpl.java | /FileExtraction/Java_unseen/Tellmarch_playshogi/playshogi-website/playshogi-website-server/src/main/java/com/playshogi/website/gwt/server/services/KifuServiceImpl.java | package com.playshogi.website.gwt.server.services;
import com.google.gwt.thirdparty.guava.common.base.Strings;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.playshogi.library.database.*;
import com.playshogi.library.database.models.*;
import com.playshogi.library.database.models.PersistentKifu... | 41,438 | Java | .java | Tellmarch/playshogi | 8 | 4 | 20 | 2016-02-27T16:02:26Z | 2024-05-05T11:59:38Z | 5e3597407fb7485a2fe3dc2858a2ed1249612a72d864da6903f25bf587cb8447 | [] | [
1337,
785,
51,
1087,
635,
835,
110,
51,
12790,
51,
24707,
51,
1805,
51,
4270,
64,
222,
222,
485,
785,
51,
2193,
51,
24707,
51,
14148,
9739,
51,
3114,
937,
51,
2297,
51,
1460,
51,
9634,
64,
222,
485,
785,
51,
2193,
51,
24707,
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 | [
3404,
51,
2719,
51,
2746,
7066,
64,
222,
485,
785,
51,
1087,
635,
835,
110,
51,
5261,
51,
635,
835,
110,
51,
3404,
51,
2719,
51,
1207,
835,
110,
2746,
64,
222,
485,
785,
51,
1087,
635,
835,
110,
51,
5261,
51,
635,
835,
110,
51... | 8,979,840,757,342,643,000 | true | false | false | false | [
51,
1805,
51,
13503,
51,
42501,
2610,
64,
222,
485,
785,
51,
1087,
635,
835,
110,
51,
12790,
51,
24707,
51,
1805,
51,
13503,
51,
3715,
2610,
64,
222,
485,
785,
51,
1087,
635,
835,
110,
51,
12790,
51,
24707,
51,
4206,
51,
3404,
7... | -209,961,483,530,860,830 | true | models.position.PositionScore;
import com.playshogi.library.shogi.models.position.ShogiPosition;
import com.playshogi.library.shogi.models.record.GameInformation;
import com.playshogi.library.shogi.models.record.GameRecord;
import com.playshogi.library.shogi.models.record.KifuCollection;
import com.playshogi.website.gw... | GameInformation;
import com.playshogi.library.shogi.models.record.GameRecord;
import com.playshogi.library.shogi.models.record.KifuCollection;
import com.playshogi.website.gwt.server.controllers.Authenticator;
import com.playshogi.website.gwt.server.controllers.CollectionUploads;
import com.playshogi.website.gwt.server... | com.playshogi.website.gwt.server.controllers.Authenticator;
import com.playshogi.website.gwt.server.controllers.CollectionUploads;
import com.playshogi.website.gwt.server.controllers.ProblemsCache;
import com.playshogi.website.gwt.server.controllers.UsersCache;
import com.playshogi.website.gwt.shared.models.*;
import ... | .server.controllers.ProblemsCache;
import com.playshogi.website.gwt.server.controllers.UsersCache;
import com.playshogi.website.gwt.shared.models.*;
import com.playshogi.website.gwt.shared.services.KifuService;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;... | import java.util.logging.Level;
import java.util.logging.Logger;
import static com.playshogi.website.gwt.shared.models.AnalysisRequestStatus.*;
public class KifuServiceImpl extends |
GenericServiceImpl.java | /FileExtraction/Java_unseen/opensourceBIM_BIMserver/BimServer/src/org/bimserver/webservices/impl/GenericServiceImpl.java | package org.bimserver.webservices.impl;
/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* 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... | 7,408 | Java | .java | opensourceBIM/BIMserver | 1,496 | 605 | 141 | 2013-05-08T14:55:01Z | 2024-03-25T18:21:38Z | 9c30a786098935702d69fe372bac1e52b4219d24a37fd60e276d9d7cf1574260 | [] | [
1337,
1105,
51,
103,
468,
1805,
51,
1857,
4270,
51,
3126,
64,
222,
222,
48063,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
62,
244,
570,
2348,
1805,
51,
1107,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
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 | [
103,
468,
1805,
51,
1857,
4270,
51,
3126,
64,
222,
222,
48063,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
62,
244,
570,
2348,
1805,
51,
1107,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
90... | -5,992,245,263,510,477,000 | true | false | false | false | [
338,
1676,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
3105,
7549,
65,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
2056,
4037,
222... | 142,325,760,888,174,030 | true | bimserver.webservices.impl;
/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* 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 So... | 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 distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implie... | 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 General Public Li... | *
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see {@literal<http://www.gnu.org/licenses/>}.
*****************************************************************************/
import org.bimserver.BimServer;
import org.bimserver.BimserverDatabaseExcept... | Session;
import org.bimserver.database.OldQuery;
import org.bimserver.database.OperationType;
import org.bimserver.database.berkeley.BimserverConcurrentModificationDatabaseException;
|
TrackScheduler.java | /FileExtraction/Java_unseen/Block-Build_MusikBot/src/main/java/de/blockbuild/musikbot/core/TrackScheduler.java | package de.blockbuild.musikbot.core;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQue... | 7,791 | Java | .java | Block-Build/MusikBot | 12 | 13 | 1 | 2018-12-16T23:52:00Z | 2022-02-12T11:54:27Z | 4c5561fcb083d51446a6b77faa2b8980ca783735ecad8d419aa667283b78555c | [] | [
1337,
428,
51,
1540,
1848,
51,
23532,
1567,
2213,
51,
1284,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
9037,
7369,
49,
38630,
17276,
1590,
17530,
1590,
46,
320,
376,
221,
597,
51,
15758,
1590,
299,
17530,
1590,
64,
376,
221,
597,
51,
3857,
299,
17530,
1590,
51,
390,
6907,
3516,
492,
376,
221,
597,
51,
3941,
299,
556,
18218,
48953,
65... | 8,185,244,813,202,395,000 | true | false | false | false | [
4573,
4574,
46,
320,
376,
221,
620,
4376,
51,
1384,
4573,
45,
4402,
49,
920,
312,
222,
221,
130,
499,
221,
942,
1922,
4677,
3364,
4573,
365,
320,
376,
221,
671,
2001,
299,
2371,
24021,
4754,
5202,
45,
3857,
51,
390,
22654,
4573,
1... | 8,588,176,145,125,282,000 | true | Bot bot, GuildMusicManager musicManager) {
this.musicManager = musicManager;
this.player = musicManager.getAudioPlayer();
this.queue = new LinkedBlockingQueue<AudioTrack>();
this.bot = bot;
this.guild = musicManager.getGuild();
this.eyasm = new ExtendYoutubeAudioSourceManager();
}
public int queueTrack(A... | bot = bot;
this.guild = musicManager.getGuild();
this.eyasm = new ExtendYoutubeAudioSourceManager();
}
public int queueTrack(AudioTrack track) {
if (!player.startTrack(track, true)) {
queue.offer(track);
return queue.size();
} else {
return 0;
}
}
public boolean playTrack(AudioTrack track) {
... | player.startTrack(track, true)) {
queue.offer(track);
return queue.size();
} else {
return 0;
}
}
public boolean playTrack(AudioTrack track) {
return player.startTrack(track, false);
}
public boolean playNextTrack() {
String url = nextYTAutoPlay(player.getPlayingTrack());
if (!(url == null)) {
... | Track track) {
return player.startTrack(track, false);
}
public boolean playNextTrack() {
String url = nextYTAutoPlay(player.getPlayingTrack());
if (!(url == null)) {
bot.getPlayerManager().loadItemOrdered(musicManager, url, new BasicResultHandler(musicManager));
// wait for loading track
try {
Th... | } catch (InterruptedException ignore) {
}
return true;
} else if (queue.isEmpty()) {
player.stopTrack();
return false;
} else {
// wait for loading |
PrependDirTest.java | /FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-core/src/test/java/adams/flow/transformer/PrependDirTest.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... | 4,715 | Java | .java | waikato-datamining/adams-base | 17 | 4 | 0 | 2017-09-01T22:51:51Z | 2024-05-08T02:22:17Z | 2d98e954f7f60598171ad8d4f1d6026db6021ea55040a24117e344accadeb668 | [] | [
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 | [
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
280,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
280... | -381,818,036,713,154,940 | true | false | false | false | [
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
11451,
451,
643,
102,
1567,
6599,
49,
696,
20915,
955,
49,
3153,
18682,
298,
382,
222,
588,
222,
222,
1337,
26177,
51,
1888,
51,
23548,
64,
222,
222,
485,
36678,
51,
2863,
51,
10... | 7,806,793,216,429,215,000 | true | 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 will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHA... | 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 a copy of the GNU General Public License
* along with this program. ... | You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* PrependDirTest.java
* Copyright (C) 2014 University of Waikato, Hamilton, New Zealand
*/
package adams.flow.transformer;
import junit.framework.Test;
import juni... |
* Copyright (C) 2014 University of Waikato, Hamilton, New Zealand
*/
package adams.flow.transformer;
import junit.framework.Test;
import junit.framework.TestSuite;
import adams.core.option.AbstractArgumentOption;
import adams.env.Environment;
import adams.flow.AbstractFlowTest;
import adams.flow.control.Flow;
impo... | core.Actor;
import adams.test.TmpFile;
/**
* Test for PrependDir actor.
*
* @author fracpete
* @author adams.core.option.FlowJUnitTestProducer (code |
SpecialFormula.java | /FileExtraction/Java_unseen/TweetyProjectTeam_TweetyProject/org-tweetyproject-logics-fol/src/main/java/org/tweetyproject/logics/fol/syntax/SpecialFormula.java | /*
* This file is part of "TweetyProject", a collection of Java libraries for
* logical aspects of artificial intelligence and knowledge representation.
*
* TweetyProject is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* publi... | 4,675 | Java | .java | TweetyProjectTeam/TweetyProject | 26 | 17 | 2 | 2021-01-27T18:06:27Z | 2024-04-25T17:57:09Z | 4bb37bcf69b7fe0e4383df213b60ce2be1306b5bfd2eefb351bcb374dc4008fe | [] | [
1127,
222,
338,
244,
1369,
822,
458,
1760,
451,
332,
33001,
126,
3214,
411,
331,
4512,
451,
4957,
11382,
456,
222,
338,
244,
16028,
30913,
451,
5570,
31388,
648,
21510,
480,
17037,
10323,
51,
222,
338,
222,
338,
244,
413,
9224,
126,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
485,
1105,
51,
21767,
126,
2268,
51,
769,
1339,
51,
8381,
51,
8147,
51,
12690,
64,
222,
485,
1105,
51,
21767,
126,
2268,
51,
769,
1339,
51,
8381,
51,
8147,
51,
3836,
64,
222,
485,
1105,
51,
21767,
126,
2268,
51,
769,
1339,
51,
8... | 4,401,829,683,881,463,300 | true | false | false | false | [
376,
221,
620,
920,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1776,
65,
6269,
31785,
640,
16850,
365,
320,
376,
221,
620,
556,
14253,
65,
6269,
1907,
20591,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
350,
72,
... | 1,626,280,446,288,400,600 | true | import org.tweetyproject.logics.commons.syntax.Predicate;
import org.tweetyproject.logics.commons.syntax.Variable;
import org.tweetyproject.logics.commons.syntax.interfaces.Term;
/**
* This class captures the common functionalities of the special
* formulas tautology and contradiction.
* @author Matthias Thimm
*/
... | Term;
/**
* This class captures the common functionalities of the special
* formulas tautology and contradiction.
* @author Matthias Thimm
*/
public abstract class SpecialFormula extends FolFormula {
/* (non-Javadoc)
* @see org.tweetyproject.logics.firstorderlogic.syntax.FolFormula#containsQuantifier()
*/
... |
/* (non-Javadoc)
* @see org.tweetyproject.logics.firstorderlogic.syntax.FolFormula#containsQuantifier()
*/
@Override
public boolean containsQuantifier() {
return false;
}
@Override
public Set<Term<?>> getTerms() {
return new HashSet<Term<?>>();
}
@Override
public <C extends Term<?>> Set<C> getTerm... |
return false;
}
@Override
public Set<Term<?>> getTerms() {
return new HashSet<Term<?>>();
}
@Override
public <C extends Term<?>> Set<C> getTerms(Class<C> cls) {
return new HashSet<C>();
}
/* (non-Javadoc)
* @see org.tweetyproject.logics.firstorderlogic.syntax.F | olFormula#getAtoms()
*/
@Override
public Set<FolAtom> getAtoms() {
return new HashSet<FolAtom>();
}
/* (non-Javadoc)
* @see |
TestDescription.java | /FileExtraction/Java_unseen/corretto_corretto-11/test/hotspot/jtreg/vmTestbase/nsk/jdi/MethodExitRequest/addThreadFilter/threadfilter004/TestDescription.java | /*
* Copyright (c) 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 Softwa... | 3,969 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | e78bf21cd95363b4099d979805b364a40a114ae981521c4c83a6b1ec46ff5902 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
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,
30441,
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 | [
222,
338,
281,
5409,
8121,
1123,
51,
222,
338,
281,
906,
913,
9378,
992,
708,
331,
1074,
451,
341,
1431,
222,
338,
281,
785,
51,
9886,
51,
111,
1351,
51,
1885,
8121,
1123,
51,
688,
3032,
2365,
365,
222,
338,
281,
940,
6844,
642,
... | -2,486,631,511,099,393,000 | true | false | false | false | [
1343,
391,
5543,
347,
341,
2716,
3682,
51,
222,
338,
281,
906,
6819,
391,
913,
2323,
334,
50,
5834,
32530,
451,
341,
1431,
222,
338,
281,
1035,
3032,
2365,
365,
563,
341,
2454,
5409,
8121,
1123,
1319,
51,
222,
338,
281,
5825,
904,
... | 2,081,458,323,070,480,000 | true |
* MethodExitRequest.
* The test checks up that a result of the method
* com.sun.jdi.MethodExitRequest.addThreadFilter()
* complies with its spec:
* public void addThreadFilter(ThreadReference thread)
* Restricts the events generated by this request to those in the given thread.
* P... | public void addThreadFilter(ThreadReference thread)
* Restricts the events generated by this request to those in the given thread.
* Parameters: thread - the thread to filter on.
* Throws: InvalidRequestStateException -
* if this request is currently enabled or has been deleted.
* ... | -
* if this request is currently enabled or has been deleted.
* Filters may be added only to disabled requests.
* The test checks up on the following assertion:
* Restricts the events generated by this request to those in the given thread.
* The cases to test include re-in... | request to those in the given thread.
* The cases to test include re-invocations of the method
* addThreadFilter() on the same MethodExitRequest object.
* There are two MethodExitRequests to check as follows:
* (1) For MethodExitRequest2, both invocations are with different
* ThreadReferen... | * (2) For MethodExitRequest1, both invocations are with the same
* ThreadReference restricting one MethodExit event to one thread.
* The test expects this MethodExit event will be received.
* |
BifRepository.java | /FileExtraction/Java_unseen/calgacus_TlkEdit-EE/src/main/java/org/jl/nwn/bif/BifRepository.java | package org.jl.nwn.bif;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set... | 13,196 | Java | .java | calgacus/TlkEdit-EE | 15 | 2 | 1 | 2019-04-02T08:54:30Z | 2022-08-29T01:02:19Z | 513a40ae07c2a92851ab0a0710275ed2eb956203fbc5debbd776201c934ee20f | [] | [
1337,
1105,
51,
11254,
51,
115,
3068,
51,
103,
344,
64,
222,
222,
485,
1401,
51,
8236,
51,
7263,
2362,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
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 | [
1712,
2995,
848,
2589,
6300,
128,
310,
477,
45,
1460,
2995,
49,
2785,
18104,
45,
1460,
2995,
49,
4050,
100,
21784,
894,
303,
339,
465,
964,
924,
910,
1197,
2785,
18104,
45,
991,
1712,
2995,
49,
910,
1197,
5050,
46,
320,
310,
1175,
... | -7,286,709,612,860,644,000 | true | false | false | false | [
299,
2309,
2305,
2941,
45,
333,
312,
310,
1175,
570,
344,
991,
342,
344,
299,
2600,
630,
762,
1037,
762,
518,
640,
71,
344,
991,
45,
901,
312,
310,
461,
342,
344,
630,
762,
1037,
762,
518,
342,
344,
51,
48757,
45,
901,
51,
33465... | -9,165,591,567,420,961,000 | true | baseDir ) throws IOException{
this(baseDir, filterExisting(baseDir, DEFAULT_KEYS));
}
private static String[] filterExisting(File baseDir, String[] keys) {
final ArrayList<String> v = new ArrayList<>(keys.length);
for (final String key : keys) {
if (new File(baseDir, key).e... | ArrayList<>(keys.length);
for (final String key : keys) {
if (new File(baseDir, key).exists()) {
v.add(key);
}
}
return v.toArray( new String[ v.size() ] );
}
//<editor-fold defaultstate="collapsed" desc="NwnRepository">
@Override
public ... | v.size() ] );
}
//<editor-fold defaultstate="collapsed" desc="NwnRepository">
@Override
public InputStream getResource(ResourceID id) throws IOException {
final KeyFile.BifResourceLocation loc = findResourceLocation(id);
final BifFile bif = loc == null? null : getBifFile(loc);
... | = findResourceLocation(id);
final BifFile bif = loc == null? null : getBifFile(loc);
return bif == null? null : bif.getEntry(loc.getBifIndex());
}
@Override
public File getResourceLocation(ResourceID id) {
final KeyFile.BifResourceLocation loc = findResourceLocation(id);
fi... | loc);
return bif == null? null : bif.getFile();
}
@Override
public int getResourceSize(ResourceID id) {
final KeyFile.BifResourceLocation loc = findResourceLocation(id);
|
SymbolKind.java | /FileExtraction/Java_unseen/nickbattle_vdmj/lsp/src/main/java/lsp/textdocument/SymbolKind.java | /*******************************************************************************
*
* Copyright (c) 2020 Nick Battle.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | 3,590 | Java | .java | nickbattle/vdmj | 25 | 21 | 6 | 2015-07-21T11:58:45Z | 2024-05-08T16:54:16Z | cde2a96229199bceae38a6b20ceba6d44f360254fb0ac04331f4d10a6d5cb9a2 | [] | [
28683,
222,
338,
222,
338,
221,
10585,
327,
104,
46,
244,
55,
53,
55,
53,
45475,
47009,
51,
222,
338,
222,
338,
221,
4372,
63,
45475,
47009,
222,
338,
222,
338,
221,
2287,
822,
458,
1760,
451,
694,
10844,
79,
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 | [
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
221,
45,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
221,
91,
10844,
79,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
221,
717,
42... | -4,490,076,253,321,088,000 | true | false | false | false | [
897,
2826,
64,
222,
222,
485,
785,
51,
107,
9646,
1526,
122,
51,
123,
6570,
111,
51,
652,
51,
17128,
51,
4392,
3385,
64,
222,
485,
785,
51,
107,
9646,
1526,
122,
51,
123,
6570,
111,
51,
652,
51,
17128,
51,
4392,
26350,
3786,
338... | 7,145,783,010,601,802,000 | true | either version 3 of the License, or
* (at your option) any later version.
*
* VDMJ 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.
*
... | 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 VDMJ. If not, see <http://www.gnu.org/licenses/>.
* SPDX-License-Identifier: GPL-3.0-or-later
... | along with VDMJ. If not, see <http://www.gnu.org/licenses/>.
* SPDX-License-Identifier: GPL-3.0-or-later
*
******************************************************************************/
package lsp.textdocument;
import com.fujitsu.vdmj.ast.definitions.ASTDefinition;
import com.fujitsu.vdmj.ast.definitions.ASTExp... | textdocument;
import com.fujitsu.vdmj.ast.definitions.ASTDefinition;
import com.fujitsu.vdmj.ast.definitions.ASTExplicitOperationDefinition;
import com.fujitsu.vdmj.ast.definitions.ASTImplicitOperationDefinition;
import com.fujitsu.vdmj.tc.definitions.TCDefinition;
import com.fujitsu.vdmj | .tc.definitions.TCExplicitOperationDefinition;
import com.fujitsu.vdmj.tc.definitions.TCImplicitOperationDefinition;
public enum SymbolKind
{
File(1),
Module( |
UniBanBukkitPlugin.java | /FileExtraction/Java_unseen/richardhyy_EusUniBan/src/main/java/cc/eumc/uniban/UniBanBukkitPlugin.java | package cc.eumc.uniban;
import cc.eumc.uniban.command.BukkitCommand;
import cc.eumc.uniban.config.*;
import cc.eumc.uniban.controller.UniBanBukkitController;
import cc.eumc.uniban.listener.BukkitPlayerListener;
import cc.eumc.uniban.listener.PaperListener;
import cc.eumc.uniban.task.LocalBanListRefreshTask;
import cc.... | 5,021 | Java | .java | richardhyy/EusUniBan | 16 | 2 | 1 | 2020-01-29T06:57:11Z | 2021-07-03T15:59:09Z | a1d1f9c3a061ad16524f82897a7c634ac8f01e4ba45b2f23619f41bab25f12db | [] | [
1337,
10641,
51,
106,
397,
104,
51,
330,
947,
297,
64,
222,
222,
485,
10641,
51,
106,
397,
104,
51,
330,
947,
297,
51,
2514,
51,
982,
17120,
2037,
64,
222,
485,
10641,
51,
106,
397,
104,
51,
330,
947,
297,
51,
1180,
7737,
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 | [
310,
640,
3716,
941,
1357,
459,
1079,
13369,
297,
39191,
742,
303,
339,
465,
496,
1806,
303,
581,
782,
17074,
1081,
365,
320,
310,
2050,
822,
299,
556,
2050,
45,
11574,
5653,
1046,
332,
1180,
51,
7083,
742,
310,
434,
1445,
781,
51,
... | 3,425,594,980,567,077,000 | true | false | false | false | [
2717,
51,
31228,
1177,
6917,
1710,
12795,
542,
6771,
1193,
51,
28871,
1941,
2992,
310,
339,
310,
640,
3716,
941,
1357,
45,
1193,
51,
24151,
15399,
4168,
4417,
2661,
312,
310,
640,
3716,
941,
1357,
21471,
24152,
27174,
63,
332,
494,
32... | 4,699,952,165,574,898,000 | true |
getLogger().info("UniBan Disabled");
}
@Override
public void reloadConfig() {
File file = new File(getDataFolder(), "config.yml");
if (!file.exists()) {
saveDefaultConfig();
}
super.reloadConfig();
bukkitConfig = new BukkitConfig(this);
... | ();
}
super.reloadConfig();
bukkitConfig = new BukkitConfig(this);
showPluginInformation();
}
public void showPluginInformation() {
getLogger().info(String.format(Message.SubscriptionsHeader, BukkitConfig.Subscriptions.size()));
for (ServerEntry serverEntry : ... | , BukkitConfig.Subscriptions.size()));
for (ServerEntry serverEntry : BukkitConfig.Subscriptions.keySet()) {
getLogger().info("* " + serverEntry.getAddress() + (BukkitConfig.Subscriptions.get(serverEntry.getAddress())!=null?" | "+Message.Encrypted:""));
}
getLogger().info(Message.Thi... | Entry.getAddress())!=null?" | "+Message.Encrypted:""));
}
getLogger().info(Message.ThirdPartyPluginSupportHeader);
getLogger().info("* AdvancedBan: " + (ThirdPartySupportConfig.AdvancedBan?Message.PluginEnabled:Message.PluginNotFound));
//getLogger().info(Message.MessagePrefix + "* Bunge... |
//getLogger().info(Message.MessagePrefix + "* BungeeBan: " + (ThirdPartySupportConfig.BungeeBan?Message.PluginEnabled:Message.PluginNotFound));
getLogger().info("* LiteBans: " + |
MultipartStream.java | /FileExtraction/Java_unseen/mdaniel_svn-caucho-com-resin/modules/kernel/src/com/caucho/vfs/MultipartStream.java | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | 10,629 | Java | .java | mdaniel/svn-caucho-com-resin | 18 | 17 | 0 | 2012-03-01T21:07:13Z | 2018-11-13T04:19:42Z | 4d0faf9e5aa1b8319f0bb16e48573b782961329cf51a47b0fe8208c267d76039 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
61,
50,
55,
53,
54,
55,
409,
4474,
1525,
21893,
790,
1187,
4760,
5225,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
1955,
285,
45,
87,
46,
3944,
6391,
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 | [
299,
556,
24976,
492,
353,
964,
3447,
1627,
100,
18908,
2030,
64,
353,
964,
648,
634,
18908,
2396,
64,
736,
964,
24976,
634,
20106,
2030,
299,
556,
24976,
492,
353,
964,
3447,
1627,
100,
20106,
64,
353,
964,
648,
634,
20106,
3468,
6... | -8,010,376,776,565,207,000 | true | false | false | false | [
57,
64,
736,
964,
910,
634,
1555,
7970,
64,
736,
581,
27995,
521,
1880,
365,
303,
2589,
6300,
353,
320,
303,
634,
18908,
299,
556,
24976,
492,
353,
339,
736,
581,
27995,
521,
1880,
45,
2248,
1880,
458,
49,
910,
14601,
46,
303,
258... | -2,622,191,054,558,125,000 | true | = new ByteBuffer();
private byte []_boundaryBuffer;
private int _boundaryLength;
private ByteBuffer _peekBuffer = new ByteBuffer();
private byte []_peek;
private int _peekOffset;
private int _peekLength;
private byte []_dummyBuffer = new byte[32];
private ReadStream _is;
private ReadStream _read... |
private byte []_dummyBuffer = new byte[32];
private ReadStream _is;
private ReadStream _readStream;
private boolean _isPartDone;
private boolean _isDone;
private boolean _isComplete;
private HashMap<String, List<String>> _headers
= new HashMap<String, List<String>>();
private CharBuffer _line =... | ;
private HashMap<String, List<String>> _headers
= new HashMap<String, List<String>>();
private CharBuffer _line = new CharBuffer();
private long _maxLength = 256 * 1024;
private String _defaultEncoding;
public MultipartStream()
throws IOException
{
_boundary = new ByteBuffer();
}
public ... | 4;
private String _defaultEncoding;
public MultipartStream()
throws IOException
{
_boundary = new ByteBuffer();
}
public MultipartStream(ReadStream is, String boundary)
throws IOException
{
this();
init(is, boundary);
}
/**
* Returns the default encoding.
*/
public Strin... | setEncoding(String encoding)
{
_defaultEncoding = encoding;
}
/**
* Initialize the multipart stream with a given boundary. The boundary
* passed to <code>init</code> will have "--" prefixed. |
TowerMobRarity.java | /FileExtraction/Java_unseen/TeamMonumenta_monumenta-plugins-public/plugins/paper/src/main/java/com/playmonumenta/plugins/infinitytower/mobs/TowerMobRarity.java | package com.playmonumenta.plugins.infinitytower.mobs;
import org.bukkit.Color;
public enum TowerMobRarity {
COMMON(1, "Common", 0.07, "ITCommon", Color.GRAY, 1, 0.8, 0.65, 0.60, 0.50, 0.35, 0.25, 0.20, 0.15, 0.05),
RARE(2, "Rare", 0.09, "ITRare", Color.AQUA, 0, 0.2, 0.3, 0.3, 0.30, 0.4, 0.4, 0.30, 0.25, 0.25),
EPI... | 1,705 | Java | .java | TeamMonumenta/monumenta-plugins-public | 13 | 14 | 3 | 2020-02-07T20:22:42Z | 2024-05-05T04:03:55Z | 9b2723feffa0b3198432fe49cfc5f8668e3cc2aa9ab42562c9597a35fa36b3ac | [] | [
1337,
785,
51,
1087,
1231,
810,
102,
51,
5573,
51,
36247,
13410,
51,
794,
3904,
64,
222,
222,
485,
1105,
51,
20402,
51,
1530,
64,
222,
222,
942,
3858,
413,
2139,
26533,
87,
13381,
320,
222,
221,
22092,
45,
54,
49,
332,
5248,
411,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 749 | [
56,
49,
332,
799,
23638,
692,
411,
5459,
51,
776,
19110,
49,
244,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
49,
244,
53,
51,
53,
58,
49,
244,
53,
51,
54,
53,
49,
244,
53,
51,
54,
58,
49,
244,
... | -4,303,391,312,310,089,700 | true | false | false | false | [
376,
221,
114,
577,
299,
655,
64,
376,
221,
114,
2649,
299,
2621,
64,
376,
221,
114,
15022,
11253,
299,
13676,
11253,
64,
376,
221,
114,
1530,
299,
1989,
64,
222,
221,
130,
499,
221,
942,
2082,
640,
15022,
11253,
365,
320,
376,
22... | -8,734,501,570,131,827,000 | true | 3, "ITLegendary", Color.ORANGE, 0, 0, 0, 0, 0, 0, 0.05, 0.10, 0.15, 0.20);
private final int mIndex;
private final Color mColor;
private final double[] mRarity;
private final double mDamageMult;
private final String mName;
private final String mTag;
TowerMobRarity(int index, String name, double damageMult, Str... | .20);
private final int mIndex;
private final Color mColor;
private final double[] mRarity;
private final double mDamageMult;
private final String mName;
private final String mTag;
TowerMobRarity(int index, String name, double damageMult, String tag, Color color, double... rarity) {
mIndex = index;
mRarity... | final String mTag;
TowerMobRarity(int index, String name, double damageMult, String tag, Color color, double... rarity) {
mIndex = index;
mRarity = rarity;
mName = name;
mTag = tag;
mDamageMult = damageMult;
mColor = color;
}
public double getDamageMult() {
return mDamageMult;
}
public int getInd... |
mName = name;
mTag = tag;
mDamageMult = damageMult;
mColor = color;
}
public double getDamageMult() {
return mDamageMult;
}
public int getIndex() {
return mIndex;
}
public double getWeight(int lvl) {
if (mRarity.length > lvl) {
return mRarity[ | lvl];
}
return 0;
}
public String getName() {
return mName;
}
public String getTag() {
return mTag;
}
public |
BasePair.java | /FileExtraction/Java_unseen/GenomicsCoreLeuven_GBSX/src/be/uzleuven/gc/logistics/GBSX/utils/sampleBarcodeEnzyme/model/BasePair.java | /*
* This is GBSX v1.0. A toolkit for experimental design and demultiplexing genotyping by sequencing experiments. \n * \n * Copyright 2014 KU Leuven
*
*
* This file is part of GBSX.
*
* GBSX is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... | 5,414 | Java | .java | GenomicsCoreLeuven/GBSX | 17 | 5 | 4 | 2014-02-26T12:57:54Z | 2016-08-19T09:45:34Z | bb84ab457cdcbd326454658c972e62b442d33bdb498ae3c40f67a211ed1da851 | [] | [
1127,
222,
338,
1369,
458,
590,
11415,
93,
373,
54,
51,
53,
51,
418,
40296,
456,
23761,
6759,
480,
428,
11089,
1927,
318,
4515,
385,
3001,
318,
829,
33003,
16119,
26454,
51,
788,
115,
338,
244,
788,
115,
338,
2657,
244,
55,
53,
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,... | 1,024 | [
451,
5373,
542,
341,
4222,
8475,
26425,
51,
294,
588,
303,
964,
924,
5068,
65,
6891,
67,
640,
23695,
1778,
23014,
45,
1612,
1712,
1528,
310,
1712,
299,
15045,
51,
18068,
45,
1460,
312,
310,
5068,
65,
6891,
67,
1712,
54,
739,
299,
... | -3,178,972,988,374,160,400 | true | false | false | false | [
518,
1712,
54,
739,
51,
688,
482,
89,
912,
419,
1712,
54,
739,
51,
688,
482,
76,
912,
419,
1644,
64,
343,
1152,
349,
80,
44,
518,
1712,
54,
739,
51,
688,
482,
76,
912,
419,
1712,
54,
739,
51,
688,
482,
89,
912,
419,
1644,
64... | -1,218,036,033,544,913,700 | true | of character | the possible corresponding bases.
*/
private static ArrayList<Character> getPossibleBasePairs(char base){
base = Character.toUpperCase(base);
ArrayList<Character> base1List = new ArrayList();
switch (base){
case 'A' : base1List.add('A');
break... | ){
case 'A' : base1List.add('A');
break;
case 'C' : base1List.add('C');
break;
case 'G' : base1List.add('G');
break;
case 'T' : base1List.add('T');
break;
case 'R' : base1List.add('A');
... | break;
case 'T' : base1List.add('T');
break;
case 'R' : base1List.add('A');
base1List.add('G');
break;
case 'Y' : base1List.add('T');
base1List.add('G');
break;
case 'K' : base1List.add('G');... | : base1List.add('T');
base1List.add('G');
break;
case 'K' : base1List.add('G');
base1List.add('T');
break;
case 'M' : base1List.add('A');
base1List.add('C');
break;
case 'S' : base1List.a... | case 'W' : base1List.add('A');
base1List.add('T');
break;
case 'B' : base1List.add('G');
base1List.add('T');
base |
SyncFilesTask.java | /FileExtraction/Java_unseen/Leo-App_android/app/src/main/java/de/slgdev/leoapp/task/SyncFilesTask.java | package de.slgdev.leoapp.task;
import android.content.Context;
import android.os.AsyncTask;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.URL;
import de.slgdev.leoapp.utility.Utils;
publi... | 3,687 | Java | .java | Leo-App/android | 8 | 3 | 9 | 2017-06-01T21:46:49Z | 2018-10-21T10:31:30Z | daf495aba95cf21eed588f83c3178fbd211de6da35950e140c1c5b491e0ab133 | [] | [
1337,
428,
51,
2021,
108,
1920,
51,
45297,
745,
51,
2810,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
519,
51,
41858,
64,
222,
222,
485,
1401,
51,
735,
51,
35094,
64,
222,
485,
1401,
51,
735,
51,
17640,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 565 | [
371,
324,
5649,
5694,
494,
3402,
332,
11385,
359,
629,
51,
2608,
39,
1031,
848,
1908,
657,
1693,
2815,
365,
1908,
657,
42810,
365,
547,
848,
343,
1110,
1083,
16900,
3989,
7294,
299,
556,
16900,
3989,
45,
547,
556,
35998,
3989,
45,
1... | 7,706,059,390,543,075,000 | true | false | false | false | [
556,
40678,
45,
1031,
556,
3846,
45,
1908,
13245,
51,
6185,
100,
2427,
100,
8174,
494,
332,
289,
45168,
5649,
52,
11385,
359,
629,
51,
2787,
39,
1031,
848,
1908,
657,
1693,
2815,
365,
1908,
657,
42810,
365,
547,
848,
343,
1110,
1083... | -3,423,571,250,424,678,400 | true | usurplan/" +
"aktuell.xml"
)
.openConnection()
.getInputStream()
)
);
BufferedWriter writer = new BufferedWriter(
... | FileOutput(
"klausurplan.xml",
Context.MODE_PRIVATE
)
)
);
for (String line = reader.readLine(); line!= null; line = reader.readLine()) {
... | (line);
writer.newLine();
}
writer.close();
reader.close();
} catch (IOException e) {
Utils.logError(e);
}
try {
BufferedReader reader = new BufferedReader(
new InputStreamReader(
... | new InputStreamReader(
new URL(
Utils.BASE_URL_PHP + "stundenplan/aktuell.txt"
)
.openConnection()
.getInputStream()
)
);
... | ; line = reader.readLine()) {
writer.write(
line
.substring(
line.indexOf(',') + 1,
line.lastIndexOf(',')
)
... |
SoapElement.java | /FileExtraction/Java_unseen/zextras_openzal/src/java/org/openzal/zal/soap/SoapElement.java | /*
* ZAL - The abstraction layer for Zimbra.
* Copyright (C) 2016 ZeXtras S.r.l.
*
* This file is part of ZAL.
*
* 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, version 2 of
* the Licen... | 4,010 | Java | .java | zextras/openzal | 13 | 4 | 0 | 2014-08-27T10:04:59Z | 2024-04-09T09:34:48Z | dc2d8dc6caee60cec7f77388f75b5726279b4a2cbe82e95da079b14c5f091e70 | [] | [
1127,
222,
338,
2538,
744,
449,
906,
35531,
5458,
456,
2538,
468,
9030,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
18682,
93,
10758,
377,
51,
119,
51,
113,
51,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
2538,
744,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
339,
303,
2385,
45,
2790,
386,
26004,
503,
848,
303,
320,
416,
1440,
3284,
4687,
51,
4087,
45,
106,
312,
303,
339,
353,
339,
736,
581,
1701,
65,
27657,
1325,
67,
1168,
7466,
365,
353,
320,
303,
461,
2538,
468,
9030,
739,
4687,
51,... | 3,509,860,226,243,521,500 | true | false | false | false | [
45,
444,
509,
416,
320,
310,
461,
878,
64,
416,
339,
303,
339,
303,
461,
920,
64,
353,
339,
736,
581,
350,
89,
67,
413,
391,
95,
468,
9030,
45,
1359,
65,
89,
67,
16486,
46,
353,
320,
303,
461,
16486,
51,
2420,
45,
114,
1325,
... | 3,286,108,353,376,150,500 | true | }
catch( SoapParseException e )
{
throw ExceptionWrapper.wrap(e);
}
}
public List<SoapElement> listElements()
{
return ZimbraListWrapper.wrapElements(mElement.listElements());
}
public String getName()
{
return mElement.getName();
}
public String getText()
{
return mE... | listElements());
}
public String getName()
{
return mElement.getName();
}
public String getText()
{
return mElement.getText();
}
public SoapElement getElement(String name)
throws ServiceException
{
return new SoapElement(mElement.getElement(name));
}
public boolean hasAttribute... | ServiceException
{
return new SoapElement(mElement.getElement(name));
}
public boolean hasAttribute(String name)
{
for(Attribute attribute : listAttributes())
{
if(attribute.getKey().equals(name))
{
return true;
}
}
return false;
}
public <T> T toZimbra(Class... | (name))
{
return true;
}
}
return false;
}
public <T> T toZimbra(Class<T> clazz)
{
return clazz.cast(mElement);
}
@Override
public String toString()
{
return mElement.toString();
}
public byte[] toUTF8()
{
return mElement.toUTF8();
}
public static clas... | final Element.Attribute mAttribute;
public Attribute(Object attribute)
{
mAttribute = (Element.Attribute) attribute;
}
public String getKey()
{
return mAttribute.getKey();
}
public String getValue() |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.