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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SessionRedirectModelManager.java | /FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/today-web/src/main/java/cn/taketoday/session/SessionRedirectModelManager.java | /*
* Copyright 2017 - 2024 the original author or authors.
*
* 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.
*
*... | 3,201 | Java | .java | TAKETODAY/today-infrastructure | 106 | 13 | 25 | 2018-08-16T12:12:39Z | 2024-05-08T14:01:23Z | 306a4834acda9e342592fbdd3f9b8704d16dab6cd2ba0895e5331232b6c82b82 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
54,
60,
449,
244,
55,
53,
55,
57,
341,
4732,
4096,
575,
14656,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 789 | [
1701,
65,
11446,
1262,
67,
10857,
11446,
1262,
45,
38989,
1343,
46,
320,
303,
3718,
3152,
3541,
299,
640,
3152,
45,
1375,
49,
920,
312,
303,
434,
327,
2867,
882,
762,
46,
320,
416,
461,
327,
739,
65,
11446,
1262,
5111,
3541,
51,
1... | 8,842,759,699,626,327,000 | true | false | false | false | [
2609,
3152,
666,
2448,
347,
1565,
1343,
742,
416,
3541,
51,
10790,
45,
9561,
100,
18384,
49,
5675,
4819,
312,
303,
339,
353,
339,
736,
496,
6825,
353,
496,
1806,
353,
2532,
2210,
640,
11446,
1262,
13213,
45,
38989,
1343,
46,
320,
30... | 8,688,573,461,673,642,000 | true | List<RedirectModel> retrieveRedirectModel(RequestContext request) {
WebSession session = getSession(request, false);
if (session!= null) {
return (List<RedirectModel>) session.getAttribute(SESSION_ATTRIBUTE);
}
return null;
}
@Override
protected void updateRedirectModel(List<RedirectModel>... | }
return null;
}
@Override
protected void updateRedirectModel(List<RedirectModel> redirectModels, RequestContext request) {
if (CollectionUtils.isEmpty(redirectModels)) {
WebSession session = getSession(request, false);
if (session!= null) {
session.removeAttribute(SESSION_ATTRIBUTE)... | request, false);
if (session!= null) {
session.removeAttribute(SESSION_ATTRIBUTE);
}
}
else {
WebSession session = getSession(request, true);
Assert.state(session!= null, "WebSession not found in current request");
session.setAttribute(SESSION_ATTRIBUTE, redirectModels);
... | WebSession not found in current request");
session.setAttribute(SESSION_ATTRIBUTE, redirectModels);
}
}
@Nullable
@Override
protected Object getRedirectModelMutex(RequestContext request) {
WebSession session = getSession(request, false);
if (session!= null) {
return WebUtils.getSessionM... | @Nullable
private WebSession getSession(RequestContext context, boolean create) {
SessionManager sessionManager = getSessionManager();
if (sessionManager == null) {
return RequestContextUtils.getSession(context, create);
}
|
CGRFormationRound.java | /FileExtraction/Java_unseen/Rails-18xx_Rails/src/main/java/net/sf/rails/game/specific/_1856/CGRFormationRound.java | package net.sf.rails.game.specific._1856;
import java.util.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.collect.Lists;
import rails.game.action.*;
import net.sf.rails.common.*;
import net.sf.rails.game.*;
import net.sf.rails.game.financial.Bank;
import net.sf.rails.game.finan... | 34,263 | Java | .java | Rails-18xx/Rails | 36 | 21 | 55 | 2017-07-09T14:03:20Z | 2023-06-19T19:57:19Z | ff0b6dd48b1258fcb6f015fd76ec19ecdc9ed8db55f03b769dad3a5ea5c49a70 | [] | [
1337,
3723,
51,
6463,
51,
16105,
51,
3642,
51,
10281,
1132,
54,
61,
58,
59,
64,
222,
222,
485,
1401,
51,
1058,
7737,
222,
222,
485,
1105,
51,
12172,
57,
111,
51,
3716,
64,
222,
485,
1105,
51,
12172,
57,
111,
51,
19580,
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 | [
51,
3642,
51,
40148,
51,
5998,
9546,
64,
222,
485,
3723,
51,
6463,
51,
16105,
51,
3642,
51,
40148,
51,
14050,
5144,
64,
222,
485,
3723,
51,
6463,
51,
16105,
51,
3642,
51,
10105,
51,
27516,
25759,
1781,
64,
222,
485,
3723,
51,
6463... | 6,998,532,529,242,253,000 | true | false | false | false | [
320,
465,
964,
924,
1175,
7145,
1264,
299,
21818,
51,
10588,
45,
72,
4290,
19548,
10242,
51,
842,
312,
465,
453,
924,
4918,
303,
964,
1175,
5062,
12318,
100,
72,
4290,
300,
791,
64,
465,
453,
8777,
347,
1496,
365,
1431,
1773,
303,
... | 903,513,662,150,907,900 | true | .game.financial.PublicCertificate;
import net.sf.rails.game.financial.StockSpace;
import net.sf.rails.game.special.SellBonusToken;
import net.sf.rails.game.state.ArrayListMultimapState;
import net.sf.rails.game.state.ArrayListState;
import net.sf.rails.game.state.BooleanState;
import net.sf.rails.game.state.Currency;
i... | .ArrayListMultimapState;
import net.sf.rails.game.state.ArrayListState;
import net.sf.rails.game.state.BooleanState;
import net.sf.rails.game.state.Currency;
import net.sf.rails.game.state.GenericState;
import net.sf.rails.game.state.Portfolio;
// Rails 2.0 refactoring
public class CGRFormationRound extends Switchabl... | import net.sf.rails.game.state.GenericState;
import net.sf.rails.game.state.Portfolio;
// Rails 2.0 refactoring
public class CGRFormationRound extends SwitchableUIRound {
private static final Logger log = LoggerFactory.getLogger(CGRFormationRound.class);
// static variables
private final PublicCompany_C... | {
private static final Logger log = LoggerFactory.getLogger(CGRFormationRound.class);
// static variables
private final PublicCompany_CGR cgr;
// initialized in start() method only
private Player startingPlayer;
private int maxLoansToRepayByPresident = 0;
/*
* effects from the merg... | null;
private boolean forcedTrainDiscard = true;
private List<ExchangeableToken> tokensToExchangeFrom = null;
// dynamic variables
private final GenericState<Steps> step = new GenericState<>(this, "step");
|
Surface.java | /FileExtraction/Java_unseen/fesch_Structorizer_Desktop/src/lu/fisch/structorizer/arranger/Surface.java | /*
Structorizer :: Arranger
A little tool which you can use to arrange Nassi-Shneiderman Diagrams (NSD)
Copyright (C) 2009 Bob Fisch
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 Foun... | 231,519 | Java | .java | fesch/Structorizer.Desktop | 65 | 20 | 43 | 2015-10-26T09:07:43Z | 2024-04-21T11:05:17Z | e7184a3cdb149cc6c2dbdd5b49d640bfe63c506c64ab5194ffcb6baebd8d7c4b | [] | [
1127,
303,
10800,
290,
2292,
2053,
17904,
6015,
303,
418,
9587,
4572,
1532,
863,
902,
813,
391,
26538,
508,
369,
110,
50,
1207,
960,
1411,
1607,
6366,
28491,
327,
3033,
73,
46,
465,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
244,
388... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
59,
55,
327,
80,
11501,
40,
54,
54,
53,
46,
244,
54,
289,
10115,
63,
6859,
536,
4166,
641,
364,
767,
822,
1168,
51,
222,
338,
20725,
2445,
109,
51,
607,
56,
58,
327,
80,
11501,
40,
61,
61,
46,
6163,
3478,
26330,
327,
32512,
95... | 5,775,008,705,394,256,000 | true | false | false | false | [
665,
12548,
3315,
607,
62,
60,
327,
80,
11501,
40,
54,
56,
59,
731,
5516,
5833,
456,
15714,
7818,
222,
338,
665,
1242,
414,
590,
2022,
2069,
28574,
665,
55,
53,
54,
59,
50,
53,
56,
50,
53,
56,
665,
12548,
3315,
607,
54,
55,
54... | 8,422,151,118,261,088,000 | true | 62 (KGU#110) 1st approach: Load / save as mere file list.
* Enh. #35 (KGU#88) Usability improvement (automatic pinning)
* Kay Gürtzig 2016-01-02 Bugfix #78 (KGU#119): Avoid reloading of structurally equivalent diagrams
* Kay Gürtzig 2016-01-15 Enh. #1... | Kay Gürtzig 2016-01-02 Bugfix #78 (KGU#119): Avoid reloading of structurally equivalent diagrams
* Kay Gürtzig 2016-01-15 Enh. #110: File open dialog now selects the NSD filter
* Kay Gürtzig 2016-03-02 Bugfix #97 (KGU#136): Modifications for stable selection
* Kay Gür... | zig 2016-01-15 Enh. #110: File open dialog now selects the NSD filter
* Kay Gürtzig 2016-03-02 Bugfix #97 (KGU#136): Modifications for stable selection
* Kay Gürtzig 2016-03-03 Bugfix #121 (KGU#153): Successful file dropping must not pop up an error message
* Kay Gürtzig ... | Bugfix #97 (KGU#136): Modifications for stable selection
* Kay Gürtzig 2016-03-03 Bugfix #121 (KGU#153): Successful file dropping must not pop up an error message
* Kay Gürtzig 2016-03-08 Bugfix #97: Method for drawing info invalidation added ( | KGU#155)
* Kay Gürtzig 2016-03-09 Enh. #77 (KGU#117): Methods clearExecutionStatus and setCovered |
AbstractObject.java | /FileExtraction/Java_unseen/gama-platform_gama/gama.ui.display.opengl/src/gama/ui/display/opengl/scene/AbstractObject.java |
/*******************************************************************************************************
*
* AbstractObject.java, in gama.ui.display.opengl, is part of the source code of the GAMA modeling and simulation platform
* .
*
* (c) 2007-2024 UMI 209 UMMISCO IRD/SU & Partners (IRIT, MIAT, TLU, CTU)
*
* ... | 4,818 | Java | .java | gama-platform/gama | 9 | 4 | 66 | 2024-02-19T10:25:31Z | 2024-05-09T04:59:08Z | 18d26469ed1cc36e3707200755e62db3cdb904768f258b35a426034855ceda27 | [] | [
222,
18200,
1835,
14525,
222,
338,
222,
338,
7406,
976,
51,
1874,
49,
347,
504,
4497,
51,
1726,
51,
2784,
51,
16006,
49,
458,
1760,
451,
341,
1932,
1361,
451,
341,
590,
40069,
37232,
480,
14619,
5637,
222,
338,
657,
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 | [
51,
4631,
5097,
51,
16860,
638,
64,
222,
485,
504,
4497,
51,
1726,
51,
2784,
51,
16006,
51,
22021,
64,
222,
222,
1350,
222,
338,
906,
1727,
7406,
976,
51,
222,
338,
222,
338,
496,
772,
350,
89,
67,
222,
338,
1485,
341,
10151,
84... | -8,521,557,249,553,444,000 | true | false | false | false | [
338,
376,
338,
496,
772,
1319,
376,
338,
1485,
341,
1319,
376,
338,
496,
772,
5437,
376,
338,
1485,
341,
5437,
376,
338,
496,
772,
847,
376,
338,
1485,
341,
847,
376,
588,
222,
221,
942,
7406,
976,
45,
3242,
413,
1319,
49,
1175,
... | -2,444,721,782,159,621,000 | true | .DrawingAttributes.DrawerType;
import gama.ui.display.opengl.OpenGL;
/**
* The Class AbstractObject.
*
* @param <T>
* the generic type
* @param <ATT>
* the generic type
*/
public abstract class AbstractObject<T, ATT extends DrawingAttributes> implements IDisposable {
/** The attributes. ... | ATT>
* the generic type
*/
public abstract class AbstractObject<T, ATT extends DrawingAttributes> implements IDisposable {
/** The attributes. */
private final ATT attributes;
/** The textures. */
protected final int[] textures;
/** The object. */
protected final T object;
/** The type. */
publ... | protected final int[] textures;
/** The object. */
protected final T object;
/** The type. */
public final DrawerType type;
/**
* Instantiates a new abstract object.
*
* @param object
* the object
* @param attributes
* the attributes
* @param type
* the type
*... | *
* @param object
* the object
* @param attributes
* the attributes
* @param type
* the type
*/
public AbstractObject(final T object, final ATT attributes, final DrawerType type) {
this.object = object;
this.type = type;
this.attributes = attributes;
if (attribut... | getTextures().size()];
Arrays.fill(textures, OpenGL.NO_TEXTURE);
} else {
textures = null;
}
}
@Override
public void dispose() {}
/** |
TestCreateEnvelope.java | /FileExtraction/Java_unseen/FedericoPecora_coordination_oru/src/main/java/se/oru/coordination/coordination_oru/tests/safetyAndLiveness/TestCreateEnvelope.java | package se.oru.coordination.coordination_oru.tests.safetyAndLiveness;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import org.metacsp.multi.spatioTemporal.paths.Pose;
import org.metacsp.multi.spatioTemporal.paths.Trajectory;
import org.metacsp.multi.spatioTemporal.paths.TrajectoryEn... | 2,772 | Java | .java | FedericoPecora/coordination_oru | 49 | 27 | 2 | 2017-06-16T13:29:36Z | 2022-08-15T12:21:30Z | 7a28621ee5e1f40f41bbf73b8b29ed0eefc335759b2b5951a56c7456318e2ede | [] | [
1337,
427,
51,
34593,
51,
5708,
3163,
51,
5708,
3163,
100,
34593,
51,
4895,
51,
38525,
2199,
81,
28579,
64,
222,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
18676,
64,
222,
485,
1401,
51,
1058,
51,
8263,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 861 | [
16277,
51,
489,
26651,
45,
4115,
1243,
54,
49,
22803,
1243,
55,
49,
22803,
1243,
56,
49,
22803,
1243,
57,
312,
374,
221,
16277,
51,
489,
13665,
318,
8399,
45,
56,
51,
53,
312,
374,
221,
16277,
51,
489,
8470,
16149,
1233,
6843,
45,... | 6,621,665,989,813,271,000 | true | false | false | false | [
45,
3622,
1811,
54,
312,
374,
221,
16277,
51,
489,
6103,
3561,
45,
3622,
724,
54,
312,
374,
221,
344,
1445,
16277,
51,
5649,
1177,
1440,
556,
3099,
459,
11400,
7582,
456,
23535,
54,
742,
374,
221,
23325,
23909,
427,
54,
299,
21671,
... | 5,085,470,144,464,357,000 | true | rsp.setFootprint(footprint1, footprint2, footprint3, footprint4);
rsp.setTurningRadius(3.0);
rsp.setDistanceBetweenPathPoints(0.1);
Pose poseFrom1 = new Pose(0.0,0.0,0.0);
Pose poseTo1 = new Pose(10.0,10.0,Math.PI);
Pose poseFrom2 = new Pose(0.0,10.0,0.0);
Pose poseTo2 = new Pose(10.0,0.0,Math.PI... | Pose poseFrom1 = new Pose(0.0,0.0,0.0);
Pose poseTo1 = new Pose(10.0,10.0,Math.PI);
Pose poseFrom2 = new Pose(0.0,10.0,0.0);
Pose poseTo2 = new Pose(10.0,0.0,Math.PI);
rsp.setStart(poseFrom1);
rsp.setGoals(poseTo1);
if (!rsp.plan()) throw new Error("Cannot plan for Robot1");
SpatialEnvelope se1 =... | From2 = new Pose(0.0,10.0,0.0);
Pose poseTo2 = new Pose(10.0,0.0,Math.PI);
rsp.setStart(poseFrom1);
rsp.setGoals(poseTo1);
if (!rsp.plan()) throw new Error("Cannot plan for Robot1");
SpatialEnvelope se1 = TrajectoryEnvelope.createSpatialEnvelope(rsp.getPath(), footprint1, footprint2, footprint3, footpri... | (poseFrom1);
rsp.setGoals(poseTo1);
if (!rsp.plan()) throw new Error("Cannot plan for Robot1");
SpatialEnvelope se1 = TrajectoryEnvelope.createSpatialEnvelope(rsp.getPath(), footprint1, footprint2, footprint3, footprint4);
rsp.setStart(poseFrom2);
rsp.setGoals(poseTo2);
if (!rsp.plan | ()) throw new Error("Cannot plan for Robot2");
SpatialEnvelope se2 = TrajectoryEnvelope.createSpatialEnvelope(rsp.getPath(), footprint1, footprint2, footprint3, footprint4);
CriticalSection |
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 | [
1985,
67,
640,
44808,
47202,
1985,
1225,
365,
320,
310,
461,
477,
51,
1075,
289,
47202,
1985,
1225,
64,
303,
339,
465,
581,
24282,
723,
10621,
768,
640,
18107,
1103,
28581,
625,
45,
429,
40101,
625,
46,
320,
310,
792,
43090,
31566,
... | -2,863,970,984,604,595,000 | true | false | false | false | [
625,
1052,
303,
339,
465,
964,
15179,
1582,
640,
32639,
38041,
1582,
45,
429,
9641,
625,
49,
648,
26224,
46,
320,
310,
792,
1221,
299,
9641,
625,
494,
25848,
494,
26224,
64,
310,
434,
1445,
597,
51,
7615,
32639,
38041,
1582,
1225,
5... | -652,793,511,312,247,300 | true | Handler> getChestInteractHandlerMap() {
return this.chestInteractHandlerMap;
}
public RewardPreviewData getRewardByBossId(int monsterId) {
var investigationMonsterData = GameData.getInvestigationMonsterDataMap().values().parallelStream()
.filter(imd -> imd.getMonsterIdList()!= null &... | MonsterDataMap().values().parallelStream()
.filter(imd -> imd.getMonsterIdList()!= null &&!imd.getMonsterIdList().isEmpty())
.filter(imd -> imd.getMonsterIdList().get(0) == monsterId)
.findFirst();
if (investigationMonsterData.isEmpty()) {
return null;
}
... | (0) == monsterId)
.findFirst();
if (investigationMonsterData.isEmpty()) {
return null;
}
return GameData.getRewardPreviewDataMap().get(investigationMonsterData.get().getRewardPreviewId());
}
private SceneGroup getInvestigationGroup(int sceneId, int groupId) {
... | Id());
}
private SceneGroup getInvestigationGroup(int sceneId, int groupId) {
var key = sceneId + "_" + groupId;
if (!this.sceneInvestigationGroupMap.containsKey(key)) {
var group = SceneGroup.of(groupId).load(sceneId);
this.sceneInvestigationGroupMap.putIfAbsent(key, gr... | );
}
public int getMonsterLevel(SceneMonster monster, World world) {
// Calculate level
int level = monster.level;
WorldLevelData worldLevelData = GameData.getWorldLevelDataMap().get(world. |
OptionRadioButton.java | /FileExtraction/Java_unseen/nsherry4_Peakaboo/Framework/Stratus/src/main/java/org/peakaboo/framework/stratus/components/ui/options/OptionRadioButton.java | package org.peakaboo.framework.stratus.components.ui.options;
import java.awt.event.ActionEvent;
import java.util.function.Consumer;
import javax.lang.model.type.NullType;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ButtonGroup;
import javax.swing.JComponent;
import javax.swing.JR... | 2,918 | Java | .java | nsherry4/Peakaboo | 20 | 10 | 3 | 2010-06-01T15:49:59Z | 2024-05-08T12:34:57Z | 9029e9ce977fbc655df418416a8d7b88620c812d097078cf8261b36ee532fbc8 | [] | [
1337,
1105,
51,
11042,
380,
623,
51,
2863,
51,
484,
862,
51,
3545,
51,
1726,
51,
2200,
64,
222,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
9123,
64,
222,
222,
485,
3698,
51,
1600,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 846 | [
1814,
3250,
45,
2328,
312,
376,
221,
620,
477,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
3678,
22359,
65,
89,
67,
642,
12896,
45,
671,
14700,
46,
320,
376,
221,
5282,
51,
1814,
12896,
45,
8549,
312,
376,
221,
620,
47... | 3,541,504,654,034,632,000 | true | false | false | false | [
45,
1333,
49,
3066,
312,
376,
221,
620,
477,
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
3678,
22359,
65,
89,
67,
642,
2239,
45,
9123,
65,
89,
67,
1708,
46,
320,
376,
221,
597,
51,
9447,
299,
503,
984,
320,
374,
221,... | -4,573,553,563,572,371,500 | true | withDescription(description);
return this;
}
@Override
public OptionRadioButton<T> withTooltip(String tooltip) {
super.withTooltip(tooltip);
return this;
}
@Override
public OptionRadioButton<T> withTitle(String title) {
super.withTitle(title);
return this;
}
@Override
public OptionRadioButton<T> w... | @Override
public OptionRadioButton<T> withTitle(String title) {
super.withTitle(title);
return this;
}
@Override
public OptionRadioButton<T> withSize(OptionSize size) {
super.withSize(size);
return this;
}
@Override
public OptionRadioButton<T> withText(String title, String description) {
super.with... | OptionSize size) {
super.withSize(size);
return this;
}
@Override
public OptionRadioButton<T> withText(String title, String description) {
super.withText(title, description);
return this;
}
@Override
public OptionRadioButton<T> withListener(Consumer<T> event) {
this.listener = e -> {
if (isSelecte... | (title, description);
return this;
}
@Override
public OptionRadioButton<T> withListener(Consumer<T> event) {
this.listener = e -> {
if (isSelected()) event.accept(this.item);
};
return this;
}
public OptionRadioButton<T> withListener(Runnable event) {
return withListener(nul -> event.run());
}
| public OptionRadioButton withSelection(boolean selected) {
this.setSelected(selected);
return this;
}
@Override
public OptionRadioButton withKeyStroke(KeyStroke keystroke, JComponent parent) {
|
Layer.java | /FileExtraction/Java_unseen/SunakazeKun_AlmiaE/src/com/aurum/almia/game/map/Layer.java | /*
* Copyright (C) 2018 Aurum
*
* AlmiaE 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.
*
* AlmiaE is distributed in the hope ... | 4,136 | Java | .java | SunakazeKun/AlmiaE | 11 | 4 | 1 | 2018-08-02T14:19:07Z | 2018-12-27T19:58:19Z | 63793c4babee460fe0784b29c10ac33e569aaff878cbe5af3d4bc00b71f563df | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
418,
324,
397,
222,
338,
222,
338,
2770,
114,
923,
74,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
942,
462,
15208,
320,
303,
581,
924,
1175,
648,
507,
4629,
100,
53,
54,
2281,
299,
244,
53,
125,
53,
54,
64,
303,
581,
924,
1175,
648,
507,
4629,
100,
1944,
... | 4,231,938,552,118,054,000 | true | false | false | false | [
4629,
100,
40496,
2052,
299,
244,
53,
125,
53,
61,
64,
303,
581,
924,
1175,
648,
507,
4629,
100,
10522,
2052,
299,
244,
53,
125,
53,
62,
64,
303,
581,
924,
1175,
648,
507,
4629,
100,
53,
70,
2281,
299,
244,
53,
125,
53,
70,
64... | -4,577,669,631,386,022,000 | true | util.ArrayList;
import java.util.List;
public class Layer {
public static final int MDATA_01 = 0x01;
public static final int MDATA_TILES = 0x02;
public static final int MDATA_COLLISION = 0x03;
public static final int MDATA_TARGET = 0x04;
public static final int MDATA_UNKNO... | x02;
public static final int MDATA_COLLISION = 0x03;
public static final int MDATA_TARGET = 0x04;
public static final int MDATA_UNKNOWN = 0x05; // unused
public static final int MDATA_COLL_OVERLAY = 0x06;
public static final int MDATA_LOCATION = 0x07;
public static final int MD... | 0x05; // unused
public static final int MDATA_COLL_OVERLAY = 0x06;
public static final int MDATA_LOCATION = 0x07;
public static final int MDATA_NPC = 0x08;
public static final int MDATA_MON = 0x09;
public static final int MDATA_0A = 0x0A;
public static final int ... | DATA_NPC = 0x08;
public static final int MDATA_MON = 0x09;
public static final int MDATA_0A = 0x0A;
public static final int MDATA_0B = 0x0B;
public static final int MDATA_0C = 0x0C;
public static final int MDATA_0D = 0x0D; |
public static final int MDATA_0E = 0x0E;
public final Map map;
public List<byte[]> lyrUnk;
public CollisionData collisionData;
public TargetData targetData;
|
MainTestIHAUPM.java | /FileExtraction/Java_unseen/jacksonpradolima_SPMF/src/ca/pfv/spmf/algorithms/frequentpatterns/ihaupm/MainTestIHAUPM.java | package ca.pfv.spmf.algorithms.frequentpatterns.ihaupm;
/* This file is copyright (c) 2008-2015 Philippe Fournier-Viger
*
* This file is part of the SPMF DATA MINING SOFTWARE
* (http://www.philippe-fournier-viger.com/spmf).
*
* SPMF is free software: you can redistribute it and/or modify it under the
* terms of ... | 2,792 | Java | .java | jacksonpradolima/SPMF | 15 | 7 | 0 | 2017-10-05T14:41:29Z | 2021-01-04T18:21:22Z | 0d8532421d06f05a60ed15270fc376404b2b9470143d2eddb9294347df760b4d | [] | [
1337,
7462,
51,
7146,
123,
51,
438,
10599,
51,
15097,
51,
40747,
323,
15735,
51,
110,
4958,
436,
114,
64,
222,
222,
1127,
1369,
822,
458,
5550,
327,
104,
46,
244,
55,
53,
53,
61,
50,
55,
53,
54,
58,
35769,
12287,
525,
116,
394,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 787 | [
341,
9850,
708,
580,
1118,
545,
6386,
49,
1294,
4213,
2979,
222,
338,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
8114,
4800,
222,
338,
418,
7848,
7763,
51,
2819,
341,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
33... | 8,689,135,111,420,964,000 | true | false | false | false | [
347,
341,
37175,
12563,
518,
350,
858,
2056,
222,
338,
350,
858,
2056,
222,
338,
222,
338,
990,
10267,
1902,
330,
50,
40457,
29216,
49,
2432,
344,
838,
36020,
49,
480,
35769,
12287,
525,
116,
394,
2506,
50,
91,
20687,
51,
535,
5677,... | 5,151,385,288,950,618,000 | true | the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with
* SPMF. If not, see <http://ww... | the GNU General Public License along with
* SPMF. If not, see <http://www.gnu.org/licenses/>.
*
*/
import java.io.UnsupportedEncodingException;
import java.net.URL;
import ca.pfv.spmf.test.MainTestMEMU;
/**
* This is an implementation of the "IHAUPM" algorithm for High-Average-Utility
* Itemsets Mining as desc... |
import ca.pfv.spmf.test.MainTestMEMU;
/**
* This is an implementation of the "IHAUPM" algorithm for High-Average-Utility
* Itemsets Mining as described in the conference paper : <br/>
* <br/>
*
* Jerry Chun-Wei Lin, Shifeng Ren, and Philippe Fournier-Viger. Efficiently
* Updating the Discovered High Average-Ut... | in the conference paper : <br/>
* <br/>
*
* Jerry Chun-Wei Lin, Shifeng Ren, and Philippe Fournier-Viger. Efficiently
* Updating the Discovered High Average-Utility Itemsets with Transaction
* Insertion. EAAI (unpublished, minor revision)
*
* @see IHAUPM.HAUPGrowth
* @see tree.IAUTree
* @ | see tree.IAUNode
* @see tree.TableNode
* @see util.Item
* @see util.Itemset
* @see util.StackElement
* @author Shi-Feng Ren
*/
|
DebugMessageFunction.java | /FileExtraction/Java_unseen/GodDragoner_TeaseAIJava/src/me/goddragon/teaseai/api/scripts/nashorn/DebugMessageFunction.java | package me.goddragon.teaseai.api.scripts.nashorn;
import me.goddragon.teaseai.TeaseAI;
import me.goddragon.teaseai.api.chat.ChatHandler;
import me.goddragon.teaseai.api.media.MediaHandler;
import me.goddragon.teaseai.utils.FileUtils;
import me.goddragon.teaseai.utils.StringUtils;
import me.goddragon.teaseai.utils.Teas... | 3,684 | Java | .java | GodDragoner/TeaseAIJava | 11 | 15 | 5 | 2018-03-25T21:04:23Z | 2021-09-20T18:07:43Z | 00d63a4e864e35e0297d35f5ea6b66a24183836163377755dea7c3b3e71a1bb9 | [] | [
1337,
616,
51,
16195,
39376,
51,
538,
479,
3063,
51,
1256,
51,
8128,
51,
115,
936,
6164,
64,
222,
222,
485,
616,
51,
16195,
39376,
51,
538,
479,
3063,
51,
3841,
479,
6231,
64,
222,
485,
616,
51,
16195,
39376,
51,
538,
479,
3063,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 864 | [
494,
327,
671,
46,
2194,
96,
53,
10679,
547,
434,
1849,
429,
46,
2194,
96,
54,
98,
882,
244,
53,
46,
320,
733,
1964,
7826,
299,
327,
429,
46,
2194,
96,
54,
988,
733,
434,
327,
7875,
630,
449,
54,
46,
320,
1031,
7826,
299,
1608... | -6,978,990,387,676,690,000 | true | false | false | false | [
16091,
342,
5852,
494,
327,
671,
46,
2194,
96,
53,
10679,
3704,
453,
10767,
63,
6332,
456,
19996,
49,
6044,
5795,
51,
547,
2050,
822,
299,
36423,
51,
44218,
19136,
991,
1181,
671,
46,
2194,
96,
54,
2004,
3704,
434,
327,
781,
882,
... | -7,444,513,765,915,075,000 | true | + (String) args[0]));
if ((int) args[1]!= 0) {
long delay = (int) args[1];
if (delay == -1) {
delay = ChatHandler.getHandler().getMillisToPause(args[0].toString());
}
try {
... | ().getMillisToPause(args[0].toString());
}
try {
Thread.sleep(delay);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
... | return null;
} else if (args[1] instanceof String) {
ChatHandler.getHandler().addLine(StringUtils.processString("<c=lightgreen b fs=16>Info: <><c=darkslategrey b>" + (String) args[0]));
//TODO: Support for urls, video etc.
File file = FileUti... | grey b>" + (String) args[0]));
//TODO: Support for urls, video etc.
File file = FileUtils.getRandomMatchingFile((String) args[1]);
if (file!= null) {
MediaHandler.getHandler().showPicture(file, (int) (ChatHandler.getHandler().getMilli... | .getLogger().log(Level.SEVERE, "sendDebugMessage only supports an integer or a string to a picture file as a second parameter. Args given:" + Arrays.asList(args).toString());
return null;
}
case |
ComposeSendActivity.java | /FileExtraction/Java_unseen/ZorinOS_zorin-connect-android/src/org/kde/kdeconnect/Plugins/MousePadPlugin/ComposeSendActivity.java | /*
* SPDX-FileCopyrightText: 2021 Forrest Hilton <forrestmhilton@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.Intent;
import android.os.Bundle;
import android.util.Log;
import andro... | 3,372 | Java | .java | ZorinOS/zorin-connect-android | 204 | 20 | 13 | 2019-03-13T17:59:05Z | 2024-01-09T20:34:04Z | 7f109dd17d0a607dd1432d83407ab25a928aebc964273d86a3e0891aa22f2843 | [] | [
1127,
222,
338,
18769,
50,
991,
10585,
1049,
63,
244,
55,
53,
55,
54,
525,
1899,
289,
696,
354,
955,
350,
999,
4756,
20919,
354,
955,
69,
7265,
51,
527,
67,
222,
338,
222,
338,
18769,
50,
3801,
50,
5551,
63,
23508,
50,
55,
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,... | 822 | [
112,
305,
3532,
51,
4723,
6839,
64,
222,
485,
1105,
51,
112,
305,
51,
112,
305,
3532,
51,
1259,
3058,
51,
6537,
1747,
64,
222,
485,
785,
51,
49119,
45906,
51,
49119,
285,
100,
3532,
51,
87,
64,
222,
222,
485,
1401,
51,
1058,
51,... | -6,476,970,742,593,784,000 | true | false | false | false | [
8935,
299,
640,
8770,
492,
603,
39308,
299,
8935,
51,
7080,
9124,
459,
1107,
51,
112,
305,
51,
112,
305,
3532,
51,
15459,
51,
6042,
12976,
4168,
51,
29304,
742,
603,
43668,
4588,
1049,
299,
15510,
45,
87,
51,
333,
51,
9322,
312,
6... | 4,761,912,713,258,868,000 | true | kdeconnect.NetworkPacket;
import org.kde.kdeconnect.UserInterface.ThemeUtil;
import com.zorinos.zorin_connect.R;
import java.util.Objects;
public class ComposeSendActivity extends AppCompatActivity {
private String deviceId;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.o... | class ComposeSendActivity extends AppCompatActivity {
private String deviceId;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ThemeUtil.setUserPreferredTheme(this);
setContentView(R.layout.activity_compose_send);
setSup... | compose_send);
setSupportActionBar(findViewById(R.id.toolbar));
Objects.requireNonNull(getSupportActionBar()).setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
Intent intent = getIntent();
deviceId = intent.getStringExtra("org.kde.kdeconne... | intent = getIntent();
deviceId = intent.getStringExtra("org.kde.kdeconnect.Plugins.MousePadPlugin.deviceId");
EditText editText = findViewById(R.id.compose);
editText.requestFocus();
// this is almost never used
editText.setOnEditorActionListener((v, actionId, event) -> {
... | }
if (actionId == EditorInfo.IME_ACTION_DONE) {
clear();
return true;
}
return false;
});
}
public void sendChars(CharSequence chars) {
final NetworkPacket np = |
AbstractPlotGenerator.java | /FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-spreadsheet/src/main/java/adams/flow/transformer/plotgenerator/AbstractPlotGenerator.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... | 9,025 | Java | .java | waikato-datamining/adams-base | 17 | 4 | 0 | 2017-09-01T22:51:51Z | 2024-05-08T02:22:17Z | e82b4b4b5091cc3252a0d224d8b68ac48b8ce8d1928987292174c1596d6aa711 | [] | [
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 | [
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,
1522,
244,
56,
451,
341,
1196,
49,
575,
222,
338,
280,
327,
288,
1390,
2489,
46,
1364,
6146,
15... | 1,800,830,557,021,866,200 | true | false | false | false | [
7406,
11756,
4829,
51,
1874,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
56,
50,
55,
53,
54,
58,
11451,
451,
643,
102,
1567,
6599,
49,
696,
20915,
955,
49,
3153,
18682,
298,
382,
222,
588,
222,
1337,
26177,
51,
1888,
51,
23548... | -2,003,654,648,242,248,000 | true |
* 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 will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warra... | 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 General Public Lice... | 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/>.
*/
/**
* AbstractPlotGenerator.java
* Copyright (C) 2013-2015 University of Waikato, Hamilton, New Zealand
*/
package adams.flow.transformer.plotgenerator;
... | AbstractPlotGenerator.java
* Copyright (C) 2013-2015 University of Waikato, Hamilton, New Zealand
*/
package adams.flow.transformer.plotgenerator;
import adams.core.QuickInfoHelper;
import adams.core.QuickInfoSupporter;
import adams.core.Utils;
import adams.core.option.AbstractOptionHandler;
import adams.data.sprea... | ;
import adams.data.spreadsheet.Row;
import adams.data.spreadsheet.SpreadSheet;
import adams.data.spreadsheet.SpreadSheetColumnRange;
import adams.flow.container.SequencePlotterContainer;
import |
CapdevSupportingDocsAction.java | /FileExtraction/Java_unseen/CCAFS_MARLO/marlo-web/src/main/java/org/cgiar/ccafs/marlo/action/center/capdev/CapdevSupportingDocsAction.java | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | 4,391 | Java | .java | CCAFS/MARLO | 8 | 8 | 286 | 2016-05-11T18:52:21Z | 2024-05-08T21:14:43Z | 07d69a6be0f2651e68163fb2945fba6abdadec8dadc0a8209a64e606f25bfd58 | [] | [
18200,
47,
222,
338,
1369,
822,
458,
1760,
451,
4795,
4892,
418,
791,
10259,
5413,
18687,
456,
14421,
568,
222,
338,
4322,
3772,
120,
11329,
327,
28159,
1323,
566,
222,
338,
507,
802,
1323,
458,
3760,
2951,
63,
863,
902,
14081,
580,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1201,
299,
5228,
1920,
1201,
64,
303,
477,
51,
2413,
31774,
463,
825,
119,
698,
299,
4216,
31774,
463,
825,
119,
698,
64,
353,
339,
736,
496,
1806,
353,
581,
910,
1035,
365,
320,
303,
14113,
31774,
463,
21110,
4234,
299,
556,
14113,... | -7,704,814,296,120,056,000 | true | false | false | false | [
4234,
798,
312,
303,
461,
18836,
64,
353,
339,
8886,
581,
16681,
3810,
20204,
640,
5541,
1920,
365,
320,
303,
461,
5228,
1920,
64,
353,
339,
8886,
581,
1964,
640,
5541,
1920,
798,
365,
320,
303,
461,
5228,
1920,
798,
64,
353,
339,
... | 3,789,817,946,566,565,400 | true | Service = capdevService;
this.centerDeliverableSErvice = centerDeliverableSErvice;
}
@Override
public String add() {
CenterDeliverable supportingDoc = new CenterDeliverable();
capdev = capdevService.getCapacityDevelopmentById(capdevID);
supportingDoc.setCapdev(capdev);
deliverableID = centerD... | capdevService.getCapacityDevelopmentById(capdevID);
supportingDoc.setCapdev(capdev);
deliverableID = centerDeliverableSErvice.saveDeliverable(supportingDoc).getId();
return SUCCESS;
}
@Override
public String delete() {
long supportingDocID = Long.parseLong(StringUtils.trim(this.getRequest().ge... |
}
@Override
public String delete() {
long supportingDocID = Long.parseLong(StringUtils.trim(this.getRequest().getParameter("deliverableID")));
centerDeliverableSErvice.deleteDeliverable(supportingDocID);
return SUCCESS;
}
public CapacityDevelopment getCapdev() {
return capdev;
}
pub... | DocID);
return SUCCESS;
}
public CapacityDevelopment getCapdev() {
return capdev;
}
public long getCapdevID() {
return capdevID;
}
public long getDeliverableID() {
return deliverableID;
}
public List<CenterDeliverable> getDeliverables() {
return deliverables;
}
public l... | void prepare() throws Exception {
try {
capdevID = Long.parseLong(StringUtils.trim(this.getRequest().getParameter(APConstants.CAPDEV_ID)));
projectID = Long.parseLong(StringUtils.trim( |
FileTemporalDependenciesReportGenerator.java | /FileExtraction/Java_unseen/zeljkoobrenovic_sokrates/reports/src/main/java/nl/obren/sokrates/reports/generators/statichtml/FileTemporalDependenciesReportGenerator.java | /*
* Copyright (c) 2021 Željko Obrenović. All rights reserved.
*/
package nl.obren.sokrates.reports.generators.statichtml;
import nl.obren.sokrates.common.utils.FormattingUtils;
import nl.obren.sokrates.common.utils.ProcessingStopwatch;
import nl.obren.sokrates.reports.core.RichTextReport;
import nl.obren.sokrates.... | 11,612 | Java | .java | zeljkoobrenovic/sokrates | 78 | 16 | 0 | 2019-11-09T20:04:03Z | 2024-04-15T12:29:24Z | ad2816415eac28d5eaa8a4761f1d2614caa3502e0f11d914e2cd74b05a90e4fd | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
54,
39285,
159,
361,
111,
7982,
565,
4032,
1365,
4811,
7706,
51,
3381,
4760,
5225,
51,
222,
588,
222,
222,
1337,
19708,
51,
926,
1594,
51,
780,
11179,
1218,
51,
13787,
51,
28332... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
453,
964,
648,
4023,
6489,
299,
244,
54,
64,
303,
964,
2050,
14194,
5653,
64,
465,
581,
2050,
30898,
12721,
4158,
4829,
45,
25686,
5483,
1361,
9759,
5483,
46,
320,
310,
477,
51,
707,
9759,
5483,
299,
1361,
9759,
5483,
64,
303,
339,
... | 7,707,984,632,745,790,000 | true | false | false | false | [
3652,
51,
1384,
4011,
1582,
492,
310,
3652,
51,
688,
4011,
459,
56,
53,
100,
6140,
411,
332,
29834,
244,
56,
53,
48902,
411,
878,
312,
310,
434,
327,
1472,
30898,
12721,
8036,
11964,
2394,
244,
62,
53,
46,
320,
343,
3652,
51,
688,... | -4,417,479,496,116,179,500 | true | // private int graphCounter = 1;
private File reportsFolder;
public FileTemporalDependenciesReportGenerator(CodeAnalysisResults codeAnalysisResults) {
this.codeAnalysisResults = codeAnalysisResults;
}
public void addTemporalDependenciesToReport(File reportsFolder, RichTextReport report) {
... | Report(File reportsFolder, RichTextReport report) {
this.reportsFolder = reportsFolder;
report.addParagraph("A temporal dependency occurs when developers change two or more files " +
"at the same time (i.e. they are a part of the same commit).", "margin-top: 12px; color: grey");
... | . they are a part of the same commit).", "margin-top: 12px; color: grey");
int maxTemporalDependenciesDepthDays = codeAnalysisResults.getCodeConfiguration().getAnalysis().getMaxTemporalDependenciesDepthDays();
report.startTabGroup();
report.addTab("30_days", "Past 30 Days", true);
if (... | report.startTabGroup();
report.addTab("30_days", "Past 30 Days", true);
if (maxTemporalDependenciesDepthDays >= 90) {
report.addTab("90_days", "Past 3 Months", false);
}
if (maxTemporalDependenciesDepthDays >= 180) {
report.addTab("180_days", "Past 6 Months", fal... |
if (maxTemporalDependenciesDepthDays > 180) {
report.addTab("all_time", "Past " + maxTemporalDependenciesDepthDays + " Days", false);
}
report.endTabGroup();
|
NTermStatProteolyse.java | /FileExtraction/Java_unseen/becavin-lab_bacnet/bacnet.scripts/src/bacnet/scripts/listeriomics/nterm/NTermStatProteolyse.java | package bacnet.scripts.listeriomics.nterm;
import java.util.ArrayList;
import bacnet.datamodel.dataset.NTermData;
import bacnet.datamodel.proteomics.NTermUtils;
import bacnet.datamodel.proteomics.TIS;
import bacnet.reader.TabDelimitedTableReader;
/**
* A list of methods to assess the quantity of proteolysis on the p... | 6,089 | Java | .java | becavin-lab/bacnet | 13 | 1 | 24 | 2019-04-02T09:54:09Z | 2023-02-21T15:30:33Z | 757e4c66d738775739af714adc875c71c7415e76e0ded6b1e0d17a780686a1a3 | [] | [
1337,
342,
348,
1317,
51,
8128,
51,
687,
19465,
30819,
51,
115,
3908,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
342,
348,
1317,
51,
40215,
51,
5709,
51,
4750,
2830,
768,
64,
222,
485,
342,
348,
1317,
51,
40215,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
390,
5908,
38093,
492,
303,
453,
434,
45,
367,
21889,
51,
13907,
459,
82,
678,
979,
47521,
51,
20982,
459,
87,
21133,
303,
453,
2448,
299,
878,
64,
303,
453,
339,
303,
453,
456,
45,
429,
613,
66,
53,
64,
110,
65,
115,
16850,
51,... | 7,049,364,814,215,058,000 | true | false | false | false | [
453,
6663,
17246,
47521,
327,
1384,
642,
619,
507,
49,
962,
642,
619,
578,
731,
6771,
1016,
6893,
102,
89,
1309,
312,
303,
453,
303,
453,
339,
465,
453,
1041,
303,
453,
338,
6491,
2370,
451,
3358,
404,
13014,
6663,
508,
6269,
642,
... | 4,807,181,379,218,494,000 | true | getSequencePeptide();
// if(peptide.startsWith("M") && peptide.endsWith("R")){
// found = true;
// }
// for(int i=0;i<nTerms.size() &&!found;i++){
// peptide = nTerms.get(i).getSequencePeptide();
// if(peptide.startsWith("M") && peptide.endsWith("R")){
// found = true;
// }
// }
... | ;i++){
// peptide = nTerms.get(i).getSequencePeptide();
// if(peptide.startsWith("M") && peptide.endsWith("R")){
// found = true;
// }
// }
// if(found){
// countRealaTIS++;
// }
// }
// System.out.println("NB of group of peptides: "+proteolyses.size()+" nb of group of peptides
... | if(found){
// countRealaTIS++;
// }
// }
// System.out.println("NB of group of peptides: "+proteolyses.size()+" nb of group of peptides
// containing perfect peptide (start with an M, end with an R): "+countRealaTIS);
//
// }
// /**
// * Remove group of peptides containing NTerm wi... | // containing perfect peptide (start with an M, end with an R): "+countRealaTIS);
//
// }
// /**
// * Remove group of peptides containing NTerm with exactly the same sequence, but different
// modification
// * @param proteolyses
// * @return
// */
// public static ArrayList<TIS> r... | olysesNew = new ArrayList<TIS>();
// System.out.println("Nb group: "+proteolyses.size());
// int multimodif = 0;
// for(TIS tis : prote |
PropertyTableDefinitionSmClass.java | /FileExtraction/Java_unseen/ModelioOpenSource_Modelio/modelio/core/core.metamodel.impl/src/org/modelio/metamodel/impl/uml/infrastructure/properties/PropertyTableDefinitionSmClass.java | /*
* Copyright 2013-2020 Modeliosoft
*
* This file is part of Modelio.
*
* Modelio 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 ve... | 11,286 | Java | .java | ModelioOpenSource/Modelio | 625 | 113 | 52 | 2020-09-03T09:57:05Z | 2024-02-06T09:52:44Z | de73bacb81fa99dad9e07627a608d9fdefaf92d13af22a4e5ebfd3924783402c | [] | [
1127,
1676,
338,
2657,
244,
55,
53,
54,
56,
50,
55,
53,
55,
53,
10750,
393,
18069,
726,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
10750,
17870,
51,
222,
338,
1676,
338,
10750,
17870,
458,
3760,
2951,
63,
863,
902,
14081,
580... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
64,
222,
485,
1105,
51,
2832,
17870,
51,
2580,
46404,
51,
15303,
51,
25921,
51,
4659,
51,
11848,
1667,
1617,
64,
222,
485,
1105,
51,
2832,
17870,
51,
123,
6404,
51,
1687,
51,
2080,
64,
222,
485,
1105,
51,
2832,
17870,
51,
123,
128... | 2,931,491,119,041,833,000 | true | false | false | false | [
17870,
51,
123,
1284,
51,
1752,
6515,
51,
2874,
51,
6369,
3373,
46404,
64,
222,
485,
1105,
51,
2832,
17870,
51,
123,
1284,
51,
1752,
6515,
51,
2874,
51,
6369,
11727,
9666,
64,
222,
485,
1105,
51,
2832,
17870,
51,
123,
1284,
51,
17... | 3,249,606,049,191,620,000 | true | ;
import org.modelio.metamodel.uml.infrastructure.properties.TypedPropertyTable;
import org.modelio.vbasic.version.Version;
import org.modelio.vcore.smkernel.ISmObjectData;
import org.modelio.vcore.smkernel.ISmObjectFactory;
import org.modelio.vcore.smkernel.SmObjectImpl;
import org.modelio.vcore.smkernel.mapi.MObject;... | ObjectData;
import org.modelio.vcore.smkernel.ISmObjectFactory;
import org.modelio.vcore.smkernel.SmObjectImpl;
import org.modelio.vcore.smkernel.mapi.MObject;
import org.modelio.vcore.smkernel.meta.ISmMetamodelFragment;
import org.modelio.vcore.smkernel.meta.SmDependency;
import org.modelio.vcore.smkernel.meta.SmMetam... | mapi.MObject;
import org.modelio.vcore.smkernel.meta.ISmMetamodelFragment;
import org.modelio.vcore.smkernel.meta.SmDependency;
import org.modelio.vcore.smkernel.meta.SmMetamodel;
import org.modelio.vcore.smkernel.meta.SmMultipleDependency;
import org.modelio.vcore.smkernel.meta.SmSingleDependency;
import org.modelio.v... | lio.vcore.smkernel.meta.SmMetamodel;
import org.modelio.vcore.smkernel.meta.SmMultipleDependency;
import org.modelio.vcore.smkernel.meta.SmSingleDependency;
import org.modelio.vcore.smkernel.meta.smannotations.SmDirective;
@objid ("0d6c2aea-8dca-4863-a004-7 | fbfad275c72")
public class PropertyTableDefinitionSmClass extends ModelElementSmClass {
@objid ("b1c97cf5-36f6-40f2-82f8 |
TileEntityHeatExchangerSlave.java | /FileExtraction/Java_unseen/tgstyle_MCT-Immersive-Technology/src/main/java/mctmods/immersivetechnology/common/blocks/metal/tileentities/TileEntityHeatExchangerSlave.java | package mctmods.immersivetechnology.common.blocks.metal.tileentities;
import blusunrize.immersiveengineering.common.blocks.TileEntityMultiblockPart;
import blusunrize.immersiveengineering.common.util.Utils;
import mctmods.immersivetechnology.api.ITUtils;
import mctmods.immersivetechnology.api.crafting.HeatExchangerRec... | 6,353 | Java | .java | tgstyle/MCT-Immersive-Technology | 19 | 27 | 2 | 2020-01-16T04:12:55Z | 2024-02-14T18:13:34Z | 16a7c28ed79a882502d1d729c5528acecb22c9e52eaffbc65cbb378498d63b28 | [] | [
1337,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
2297,
51,
8597,
51,
23188,
51,
8344,
9259,
64,
222,
222,
485,
3162,
371,
330,
363,
2968,
51,
20291,
502,
680,
40645,
51,
2297,
51,
8597,
51,
41760,
11253,
947,
827,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41760,
11253,
947,
827,
2655,
64,
222,
485,
3162,
371,
330,
363,
2968,
51,
20291,
502,
680,
40645,
51,
2297,
51,
1058,
51,
2769,
64,
222,
485,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
1256,
51,
799,
2769,
64,... | -876,600,420,472,085,800 | true | false | false | false | [
407,
383,
8165,
9775,
51,
2297,
51,
1058,
51,
7758,
947,
827,
51,
2348,
474,
947,
827,
18999,
39694,
64,
222,
485,
364,
307,
22862,
51,
20291,
502,
407,
383,
8165,
9775,
51,
2297,
51,
1058,
51,
7758,
947,
827,
51,
11253,
947,
827,... | 5,103,355,954,370,963,000 | true | .TileEntityMultiblockPart;
import blusunrize.immersiveengineering.common.util.Utils;
import mctmods.immersivetechnology.api.ITUtils;
import mctmods.immersivetechnology.api.crafting.HeatExchangerRecipe;
import mctmods.immersivetechnology.common.Config;
import mctmods.immersivetechnology.common.blocks.metal.TileEntityMul... | immersivetechnology.api.crafting.HeatExchangerRecipe;
import mctmods.immersivetechnology.common.Config;
import mctmods.immersivetechnology.common.blocks.metal.TileEntityMultiblockNewSystem;
import mctmods.immersivetechnology.common.blocks.metal.multiblocks.MultiblockHeatExchanger;
import mctmods.immersivetechnology.com... | blocks.metal.TileEntityMultiblockNewSystem;
import mctmods.immersivetechnology.common.blocks.metal.multiblocks.MultiblockHeatExchanger;
import mctmods.immersivetechnology.common.util.multiblock.IMultiblockAdvAABB;
import mctmods.immersivetechnology.common.util.multiblock.MultiblockUtils;
import net.minecraft.entity.pla... | ivetechnology.common.util.multiblock.IMultiblockAdvAABB;
import mctmods.immersivetechnology.common.util.multiblock.MultiblockUtils;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecr... | EnumFacing;
import net.minecraft.util.NonNullList;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math |
PackingHUsViewsCollection.java | /FileExtraction/Java_unseen/metasfresh_metasfresh-webui-api-legacy/src/main/java/de/metas/ui/web/pickingslotsClearing/PackingHUsViewsCollection.java | package de.metas.ui.web.pickingslotsClearing;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import de.metas.handlingunits.HuId;
import de.metas.ui.web.handlingunits.HUEditorView;
import de.metas.ui.web.pickingslotsClearing.process.HUExtractedFromPickingSlotEvent;
import lombok.NonNull;
/*... | 2,580 | Java | .java | metasfresh/metasfresh-webui-api-legacy | 30 | 32 | 244 | 2016-04-14T13:03:48Z | 2023-11-20T07:20:19Z | 20b72ba404d9dc0c366d230d2e8a42350ffb7278c2ab1ad83ce679a9c0985304 | [] | [
1337,
428,
51,
34443,
51,
1726,
51,
1857,
51,
8817,
2070,
7915,
6803,
318,
64,
222,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
8263,
64,
222,
222,
485,
428,
51,
34443,
51,
26791,
9760,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 755 | [
51,
22532,
4836,
1089,
64,
222,
485,
428,
51,
34443,
51,
1726,
51,
1857,
51,
8817,
2070,
7915,
6803,
318,
51,
2441,
51,
22532,
10078,
337,
1811,
14687,
318,
9493,
1167,
64,
222,
485,
13243,
51,
10082,
64,
222,
222,
1127,
222,
338,
... | 7,774,773,782,607,138,000 | true | false | false | false | [
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6... | -7,186,147,553,665,364,000 | true | .HUEditorView;
import de.metas.ui.web.pickingslotsClearing.process.HUExtractedFromPickingSlotEvent;
import lombok.NonNull;
/*
* #%L
* metasfresh-webui-api
* %%
* Copyright (C) 2017 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | -webui-api
* %%
* Copyright (C) 2017 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) any later version.
*
* This p... | General Public License as
* published by the Free Software Foundation, either version 2 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 ... |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licens... | UsViewsCollection
{
private final ConcurrentHashMap<PackingHUsViewKey, HUEditorView> packingHUsViewsByKey = new ConcurrentHashMap<>();
public Optional<HUEditorView> getByKeyIfExists(@NonNull final |
ClassPrinter.java | /FileExtraction/Java_unseen/itsaky_openjdk-21-android/src/java.base/share/classes/jdk/internal/classfile/components/ClassPrinter.java | /*
* Copyright (c) 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 Softwa... | 7,175 | Java | .java | itsaky/openjdk-21-android | 9 | 5 | 0 | 2023-09-16T11:36:19Z | 2024-02-11T04:34:15Z | c4e9c628d750ceccd3d1ad92c1d03a5c61968e88492d911ba7440f44cdc758d4 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
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,
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 | [
1262,
855,
3105,
1222,
5409,
1262,
855,
575,
3105,
1222,
4420,
1262,
130,
222,
338,
902,
545,
21465,
391,
331,
13492,
50,
18204,
28596,
1367,
347,
3411,
49,
7408,
49,
575,
21789,
2224,
51,
222,
338,
4663,
580,
902,
545,
21148,
2012,
... | 1,073,091,410,312,072,700 | true | false | false | false | [
130,
6990,
391,
29106,
4369,
451,
4313,
1489,
463,
5193,
391,
11972,
3137,
23340,
63,
222,
338,
3105,
20501,
7285,
366,
1874,
39,
462,
366,
4057,
32420,
39,
6727,
366,
3005,
4026,
3667,
222,
338,
350,
117,
67,
222,
338,
25359,
813,
... | 5,635,264,603,740,176,000 | true | Model}, {@link MethodModel}, or {@link CodeModel}
* can be printed to a human-readable structured text in JSON, XML, or YAML format.
* Or it can be exported into a tree of traversable and printable nodes,
* more exactly into a tree of {@link MapNode}, {@link ListNode}, and {@link LeafNode} instances.
* <p>
* Level... | nodes,
* more exactly into a tree of {@link MapNode}, {@link ListNode}, and {@link LeafNode} instances.
* <p>
* Level of details to print or to export is driven by {@link Verbosity} option.
* <p>
* The most frequent use case is to simply print a class:
* {@snippet lang="java" class="PackageSnippets" region="prin... | option.
* <p>
* The most frequent use case is to simply print a class:
* {@snippet lang="java" class="PackageSnippets" region="printClass"}
* <p>
* {@link ClassPrinter} allows to traverse tree of simple printable nodes to hook custom printer:
* {@snippet lang="java" class="PackageSnippets" region="customPrint"}
... | } allows to traverse tree of simple printable nodes to hook custom printer:
* {@snippet lang="java" class="PackageSnippets" region="customPrint"}
* <p>
* Another use case for {@link ClassPrinter} is to simplify writing of automated tests:
* {@snippet lang="java" class="PackageSnippets" region="printNodesInTest"}
*... |
public enum Verbosity {
/**
* Only top level class info, class members and attribute names are printed.
*/
MEMBERS_ONLY,
/**
* Top level class info, class members, and critical attributes are printed. |
DatasourcesEntitiesSearchResource.java | /FileExtraction/Java_unseen/obiba_opal/opal-search/src/main/java/org/obiba/opal/web/search/DatasourcesEntitiesSearchResource.java | /*
* Copyright (c) 2021 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | 11,883 | Java | .java | obiba/opal | 28 | 22 | 130 | 2012-10-24T15:35:10Z | 2024-05-09T08:02:12Z | 49627948b442340fb45a6e9ae648309b4b7fe1b8be41dfa921f991e819b521c4 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
54,
13446,
13369,
102,
51,
3381,
4760,
5225,
51,
222,
338,
222,
338,
1369,
3477,
480,
341,
22156,
12962,
222,
338,
904,
5610,
3322,
1549,
341,
5974,
451,
341,
6994,
5062,
1196,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1284,
51,
2140,
51,
22137,
1617,
1201,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
1925,
51,
5597,
3209,
11328,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
10787,
51,
1925,
51,
1643,
2977,
64,
222,
485,
1105,
... | -5,943,650,322,212,456,000 | true | false | false | false | [
2166,
899,
903,
3836,
18120,
2837,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
1857,
51,
1925,
51,
3608,
51,
899,
903,
3836,
18120,
2837,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
1857,
51,
3624,
51,
5217,
... | -8,364,471,043,537,380,000 | true | core.service.IdentifiersTableService;
import org.obiba.opal.search.AbstractSearchUtility;
import org.obiba.opal.spi.search.QuerySettings;
import org.obiba.opal.spi.search.SearchException;
import org.obiba.opal.web.model.Identifiers;
import org.obiba.opal.web.model.Search;
import org.obiba.opal.web.search.support.RQLIde... | .spi.search.SearchException;
import org.obiba.opal.web.model.Identifiers;
import org.obiba.opal.web.model.Search;
import org.obiba.opal.web.search.support.RQLIdentifierCriterionParser;
import org.obiba.opal.web.search.support.RQLParserFactory;
import org.obiba.opal.web.search.support.RQLValueSetVariableCriterionParser;... | web.search.support.RQLIdentifierCriterionParser;
import org.obiba.opal.web.search.support.RQLParserFactory;
import org.obiba.opal.web.search.support.RQLValueSetVariableCriterionParser;
import org.obiba.opal.web.search.support.ValueSetVariableCriterionParser;
import org.obiba.opal.web.ws.SortDir;
import org.slf4j.Logger... | QLValueSetVariableCriterionParser;
import org.obiba.opal.web.search.support.ValueSetVariableCriterionParser;
import org.obiba.opal.web.ws.SortDir;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
... | Component;
import org.springframework.transaction.annotation.Transactional;
import jakarta.ws.rs.DefaultValue;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import |
JpaQueryMetadata.java | /FileExtraction/Java_unseen/gvSIGAssociation_gvnix/addon-jpa/addon/src/main/java/org/gvnix/addon/jpa/addon/query/JpaQueryMetadata.java | /*
* gvNIX is an open source tool for rapid application development (RAD).
* Copyright (C) 2010 Generalitat Valenciana
*
* 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... | 21,437 | Java | .java | gvSIGAssociation/gvnix | 40 | 20 | 11 | 2013-04-18T11:17:21Z | 2016-03-02T12:01:42Z | 21fad11d88175ed0af81a625184cc234fa2ed1b4df5b33fd6205fb159396c2dc | [] | [
1127,
222,
338,
43285,
83,
6588,
458,
619,
2177,
1932,
4572,
456,
26661,
3039,
8230,
327,
18738,
566,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
53,
6153,
46753,
4285,
1344,
31242,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
64,
222,
485,
1105,
51,
4140,
51,
309,
116,
51,
33423,
51,
3972,
51,
1195,
4108,
1812,
64,
222,
485,
1105,
51,
4140,
51,
309,
116,
51,
33423,
51,
3972,
51,
4605,
41284,
2769,
64,
222,
485,
1105,
51,
4140,
51,
309,
116,
51,
33423... | -1,022,563,278,613,538,000 | true | false | false | false | [
51,
33423,
51,
3972,
51,
8839,
51,
671,
24581,
64,
222,
485,
1105,
51,
4140,
51,
309,
116,
51,
33423,
51,
302,
105,
51,
5597,
78,
689,
638,
4375,
608,
14146,
4108,
1114,
64,
222,
485,
1105,
51,
4140,
51,
309,
116,
51,
33423,
51,... | 3,685,595,908,769,341,000 | true | ;
import org.springframework.roo.classpath.details.FieldMetadataBuilder;
import org.springframework.roo.classpath.details.MemberFindingUtils;
import org.springframework.roo.classpath.details.MethodMetadata;
import org.springframework.roo.classpath.details.MethodMetadataBuilder;
import org.springframework.roo.classpath.... | ;
import org.springframework.roo.classpath.details.MethodMetadataBuilder;
import org.springframework.roo.classpath.details.annotations.AnnotatedJavaType;
import org.springframework.roo.classpath.details.annotations.AnnotationAttributeValue;
import org.springframework.roo.classpath.details.annotations.AnnotationMetadata... | annotations.AnnotationAttributeValue;
import org.springframework.roo.classpath.details.annotations.AnnotationMetadata;
import org.springframework.roo.classpath.details.annotations.AnnotationMetadataBuilder;
import org.springframework.roo.classpath.details.annotations.StringAttributeValue;
import org.springframework.roo... | .classpath.details.annotations.StringAttributeValue;
import org.springframework.roo.classpath.itd.AbstractItdTypeDetailsProvidingMetadataItem;
import org.springframework.roo.classpath.itd.InvocableMemberBodyBuilder;
import org.springframework.roo.metadata.MetadataIdentificationUtils;
import org.springframework.roo.mode... | org.springframework.roo.model.JavaType;
import org.springframework.roo.model.JdkJavaType;
import org.springframework.roo.project.LogicalPath;
/**
* Metadata for {@ |
StatusComp.java | /FileExtraction/Java_unseen/Anuken_Mindustry/core/src/mindustry/entities/comp/StatusComp.java | package mindustry.entities.comp;
import arc.graphics.*;
import arc.struct.*;
import arc.util.*;
import arc.util.pooling.*;
import mindustry.annotations.Annotations.*;
import mindustry.content.*;
import mindustry.ctype.*;
import mindustry.entities.units.*;
import mindustry.gen.*;
import mindustry.type.*;
import mindust... | 8,648 | Java | .java | Anuken/Mindustry | 21,181 | 2,825 | 168 | 2017-04-30T01:24:29Z | 2024-05-09T03:52:37Z | 9f545b5e1dcd53ad205a217a6bfd2aaf3a19b35f3a5ead173c32fc68c8ea540a | [] | [
1337,
12218,
46619,
51,
9259,
51,
998,
64,
222,
222,
485,
20608,
51,
7027,
7737,
222,
485,
20608,
51,
1185,
7737,
222,
485,
20608,
51,
1058,
7737,
222,
485,
20608,
51,
1058,
51,
5195,
318,
7737,
222,
485,
12218,
46619,
51,
8839,
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 | [
24185,
299,
244,
54,
49,
14864,
290,
1806,
299,
449,
54,
107,
64,
303,
30215,
1922,
1236,
301,
1987,
299,
920,
64,
465,
496,
4214,
7148,
638,
847,
64,
303,
496,
4214,
1916,
1788,
10038,
64,
465,
1041,
14873,
331,
2302,
5769,
456,
... | 2,601,297,390,709,257,000 | true | false | false | false | [
310,
339,
603,
434,
45,
27623,
51,
911,
868,
244,
53,
1528,
343,
453,
1571,
456,
30560,
16002,
343,
456,
45,
429,
613,
299,
244,
53,
64,
613,
350,
35831,
51,
911,
64,
613,
3323,
1528,
419,
5415,
2717,
3429,
299,
35831,
51,
390,
... | -3,216,382,698,856,696,000 | true | Multiplier = 1, armorOverride = -1f;
transient boolean disarmed = false;
@Import UnitType type;
@Import float maxHealth;
/** Apply a status effect for 1 tick (for permanent effects) **/
void apply(StatusEffect effect){
apply(effect, 1);
}
/** Adds a status effect to this unit. */
... | ) **/
void apply(StatusEffect effect){
apply(effect, 1);
}
/** Adds a status effect to this unit. */
void apply(StatusEffect effect, float duration){
if(effect == StatusEffects.none || effect == null || isImmune(effect)) return; //don't apply empty or immune effects
//unlock st... | none || effect == null || isImmune(effect)) return; //don't apply empty or immune effects
//unlock status effects regardless of whether they were applied to friendly units
if(state.isCampaign()){
effect.unlock();
}
if(statuses.size > 0){
//check for opposite eff... |
}
if(statuses.size > 0){
//check for opposite effects
for(int i = 0; i < statuses.size; i ++){
StatusEntry entry = statuses.get(i);
//extend effect
if(entry.effect == effect){
entry.time = Math.max(entry.time, ... | applyTransition(self(), effect, entry, duration)){ //find reaction
//TODO effect may react with multiple other effects
//stop looking when one is found
return;
}
}
}
if(!effect.reactive){
// |
ExternalSpecsWriter.java | /FileExtraction/Java_unseen/openjdk_jdk20u/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ExternalSpecsWriter.java | /*
* Copyright (c) 2019, 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 ... | 14,729 | Java | .java | openjdk/jdk20u | 15 | 41 | 0 | 2023-01-10T17:11:14Z | 2023-09-02T03:54:59Z | 4c599a02ff27738f1883a869b8c1260fb84e5bc87e9d93908f6338cf828f2100 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
62,
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,... | 1,024 | [
51,
19202,
51,
6447,
3371,
64,
222,
485,
614,
4532,
51,
45203,
51,
3269,
51,
1446,
14756,
51,
17207,
51,
935,
51,
19202,
51,
1049,
64,
222,
485,
614,
4532,
51,
45203,
51,
3269,
51,
1446,
14756,
51,
21924,
51,
1795,
64,
222,
485,
... | 8,677,740,854,577,532,000 | true | false | false | false | [
51,
1301,
1114,
64,
222,
222,
485,
924,
1401,
51,
1058,
51,
2255,
51,
16862,
51,
39079,
1103,
64,
222,
485,
924,
1401,
51,
1058,
51,
2255,
51,
16862,
51,
15341,
64,
222,
222,
1350,
222,
338,
32476,
341,
822,
642,
341,
8848,
451,
... | -5,457,473,798,111,887,000 | true | .markup.HtmlTree;
import jdk.javadoc.internal.doclets.formats.html.markup.Text;
import jdk.javadoc.internal.doclets.toolkit.Content;
import jdk.javadoc.internal.doclets.toolkit.DocletElement;
import jdk.javadoc.internal.doclets.toolkit.OverviewElement;
import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException... | .doclets.toolkit.DocletElement;
import jdk.javadoc.internal.doclets.toolkit.OverviewElement;
import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
import jdk.javadoc.internal.doclets.toolkit.util.DocPath;
import jdk.javadoc.internal.doclets.toolkit.util.DocPaths;
import jdk.javadoc.internal.doclets.toolk... | dk.javadoc.internal.doclets.toolkit.util.DocPath;
import jdk.javadoc.internal.doclets.toolkit.util.DocPaths;
import jdk.javadoc.internal.doclets.toolkit.util.IndexItem;
import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors.toList;
/**
* Generates the file with the summary of... | .IndexItem;
import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors.toList;
/**
* Generates the file with the summary of all the references to external specifications.
*/
public class ExternalSpecsWriter extends HtmlDocletWriter {
private final Navigation navBar;
/*... | , String> titles = new WeakHashMap<>();
/**
* Constructs ExternalSpecsWriter object.
*
* @param configuration The current configuration
* @param filename Path to the file which is getting generated.
*/
public ExternalSpecsWriter |
Connectivity.java | /FileExtraction/Java_unseen/CvO-Theory_apt/src/module/uniol/apt/analysis/connectivity/Connectivity.java | /*-
* APT - Analysis of Petri Nets and labeled Transition systems
* Copyright (C) 2012-2013 Members of the project group APT
*
* 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 versi... | 9,836 | Java | .java | CvO-Theory/apt | 19 | 9 | 2 | 2013-03-26T12:36:37Z | 2024-01-24T17:53:23Z | 5387d1f973e987faa892a39a5052d6d370d8a68825e530f863b3a68b234b827a | [] | [
1127,
50,
222,
338,
418,
3674,
449,
17497,
451,
25239,
363,
508,
5284,
480,
30463,
9350,
10760,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
56,
244,
25695,
451,
341,
2091,
2370,
418,
3674,
222,
338,
222,
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 | [
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
64,
3173,
1522,
244,
55,
451,
341,
1196,
49,
575,
222,
338,
327,
288,... | -3,350,528,611,549,404,000 | true | false | false | false | [
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
588,
222,
222,
1337,
29623,
381,
51,
2149,
51,
11513,
51,
45282,
64,
222,
222,
485,
1401,
51,
1058,
51,
1280,
40191,
64,
222,
485,
1401,
51,
1058,
... | 3,088,233,965,461,189,000 | true | ; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; w... | .
*
* 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 General Public Licen... | 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package uniol.apt.analysis.connectivity;
import java.util.ArrayDeque;
import ja... | Boston, MA 02110-1301 USA.
*/
package uniol.apt.analysis.connectivity;
import java.util.ArrayDeque;
import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import uni | ol.apt.adt.IGraph;
import uniol.apt.adt.INode;
import uniol.apt.util.interrupt.InterrupterRegistry;
/**
* Examine a graph's connectivity
* @ |
ApplicationMigrations.java | /FileExtraction/Java_unseen/mollyim_mollyim-android/app/src/main/java/org/thoughtcrime/securesms/migrations/ApplicationMigrations.java | package org.thoughtcrime.securesms.migrations;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subsc... | 24,804 | Java | .java | mollyim/mollyim-android | 1,304 | 72 | 88 | 2019-12-28T12:50:31Z | 2024-05-09T01:06:24Z | 5e21835ddac590987ec5366f107d89dce5cc408562b1a000d5d134e99a214aae | [] | [
1337,
1105,
51,
34721,
980,
308,
51,
4237,
3029,
893,
51,
19772,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
222,
485,
10484,
51,
4341,
51,
10082,
64,
222,
485,
10484,
51,
4341,
51,
5671,
37450,
64,
222,
485,
10484,
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 | [
485,
10484,
51,
19749,
51,
12907,
32854,
64,
222,
222,
485,
1105,
51,
6583,
10535,
51,
1585,
4906,
51,
38794,
64,
222,
485,
1105,
51,
6583,
10535,
51,
1585,
4906,
51,
15981,
64,
222,
485,
1105,
51,
6583,
10535,
51,
1585,
4906,
51,
... | 991,859,632,479,522,400 | true | false | false | false | [
64,
222,
485,
1105,
51,
34721,
980,
308,
51,
4237,
3029,
893,
51,
1058,
51,
2080,
12143,
64,
222,
222,
485,
1401,
51,
1058,
51,
15373,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
222,
1350,
222,
338,
4795,
8541,
3039,
... | 4,839,074,778,060,186,000 | true | import androidx.lifecycle.MutableLiveData;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import org.signal.core.util.logging.Log;
import org.thoughtcrime.securesms.jobmanager.JobManager;
import org.thoughtcrime.securesms.keyvalue.SignalSto... | signal.core.util.logging.Log;
import org.thoughtcrime.securesms.jobmanager.JobManager;
import org.thoughtcrime.securesms.keyvalue.SignalStore;
import org.thoughtcrime.securesms.stickers.BlessedPacks;
import org.thoughtcrime.securesms.util.TextSecurePreferences;
import org.thoughtcrime.securesms.util.Util;
import org.th... | thoughtcrime.securesms.stickers.BlessedPacks;
import org.thoughtcrime.securesms.util.TextSecurePreferences;
import org.thoughtcrime.securesms.util.Util;
import org.thoughtcrime.securesms.util.VersionTracker;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Manages application-level migrations.
*
* Migra... | ;
import org.thoughtcrime.securesms.util.VersionTracker;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Manages application-level migrations.
*
* Migrations can be slotted to occur based on changes in the canonical version code
* (see {@link Util#getSignalCanonicalVersionCode()}).
*
* Migrations ar... | jobs are durable and are run before any
* other job, allowing you to schedule safe migrations. Furthermore, you may specify that a
* migration is UI-blocking, at which point we will show a spinner via
* {@link Application |
UpdateAppAlertDialog.java | /FileExtraction/Java_unseen/Nekogram_Nekogram/TMessagesProj/src/main/java/org/telegram/ui/Components/UpdateAppAlertDialog.java | package org.telegram.ui.Components;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.... | 17,173 | Java | .java | Nekogram/Nekogram | 897 | 21 | 16 | 2023-09-10T07:07:51Z | 2024-05-05T03:29:24Z | 126d9a6e8e976840c91cc620b54b7fbe2a70cb8623f33d23421b300adbe78cff | [] | [
1337,
1105,
51,
27922,
51,
1726,
51,
8176,
64,
222,
222,
485,
2616,
51,
9613,
51,
20721,
64,
222,
485,
2616,
51,
9613,
51,
20721,
2239,
4433,
64,
222,
485,
2616,
51,
9613,
51,
20721,
903,
64,
222,
485,
2616,
51,
9613,
51,
976,
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 | [
51,
3872,
51,
12791,
64,
222,
222,
485,
10484,
51,
1284,
51,
7027,
51,
1530,
2769,
64,
222,
485,
10484,
51,
1284,
51,
3872,
51,
14109,
30294,
64,
222,
222,
485,
1105,
51,
27922,
51,
45345,
51,
9213,
13392,
64,
222,
485,
1105,
51,
... | -4,447,889,380,596,950,500 | true | false | false | false | [
7883,
8337,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
21540,
51,
6537,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
8176,
51,
40422,
38807,
51,
25693,
38807,
12791,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
520,
3121,
51,
31... | 5,347,574,104,725,589,000 | true | .widget.TextView;
import androidx.core.graphics.ColorUtils;
import androidx.core.widget.NestedScrollView;
import org.telegram.messenger.AndroidUtilities;
import org.telegram.messenger.DocumentObject;
import org.telegram.messenger.FileLoader;
import org.telegram.messenger.ImageLocation;
import org.telegram.messenger.L... | ;
import org.telegram.messenger.FileLoader;
import org.telegram.messenger.ImageLocation;
import org.telegram.messenger.LocaleController;
import org.telegram.messenger.MessageObject;
import org.telegram.messenger.R;
import org.telegram.messenger.SvgHelper;
import org.telegram.messenger.browser.Browser;
import org.telegr... | .messenger.R;
import org.telegram.messenger.SvgHelper;
import org.telegram.messenger.browser.Browser;
import org.telegram.tgnet.TLRPC;
import org.telegram.ui.ActionBar.BottomSheet;
import org.telegram.ui.ActionBar.Theme;
import org.telegram.ui.Components.spoilers.SpoilersTextView;
import org.telegram.ui.Stories.recorde... | BottomSheet;
import org.telegram.ui.ActionBar.Theme;
import org.telegram.ui.Components.spoilers.SpoilersTextView;
import org.telegram.ui.Stories.recorder.ButtonWithCounterView;
import tw.nekomimi.nekogram.TextViewEffects;
public class UpdateAppAlertDialog extends BottomSheet {
private TLRPC.TL_help_appUpdate app... | ialProgress radialProgress;
private FrameLayout radialProgressView;
private AnimatorSet progressAnimation;
private Drawable shadowDrawable;
private TextView textView;
private TextView messageTextView;
private NestedScrollView scrollView;
private AnimatorSet |
BaseAccessLogic.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/demopatientreferrallist/BaseAccessLogic.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 4,374 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 364a94b510cda0e209083a86406b815f5c447542f0ff69a011b3d4e4d77be353 | [] | [
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,006 | [
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,
725,
17776,
337,
1441,
50,
1021,
370,
607,
... | 7,565,130,790,629,302,000 | true | false | false | false | [
27764,
1599,
51,
8543,
51,
13235,
539,
288,
1633,
631,
26155,
687,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
3987,
120,
51,
2863,
51,
1237,
64,
222,
485,
3987,
120,
51,
2863,
51,
1260,
577,
64,
222,
485,
3987,
1... | -3,879,131,901,232,039,400 | true | 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. #
//# #
//#######... | deploys and maintains. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 55... | 25814)
// Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.clinical.forms.demopatientreferrallist;
import java.io.Serializable;
import ims.framework.Context;
import ims.framework.FormName;
import ims.framework.FormAccessLogic;
public class BaseAc... | clinical.forms.demopatientreferrallist;
import java.io.Serializable;
import ims.framework.Context;
import ims.framework.FormName;
import ims.framework.FormAccessLogic;
public class BaseAccessLogic extends FormAccessLogic implements Serializable
{
private static final long serialVersionUID = 1L;
public final void s... | form = new CurrentForm(new GlobalContext(context), new CurrentForms());
engine = new CurrentEngine(formName);
}
public boolean isAccessible()
{
if(!form.getGlobalContext().Core |
TextHTML.java | /FileExtraction/Java_unseen/wandora-team_wandora/src/main/java/org/wandora/application/gui/previews/formats/TextHTML.java | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2023 Wandora Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... | 31,592 | Java | .java | wandora-team/wandora | 126 | 26 | 0 | 2014-06-30T10:25:42Z | 2023-09-09T07:13:29Z | 9b664c4563bb8946070475571c2d73b73645617fcb1c763e6f4f97aa08a24850 | [] | [
1127,
222,
338,
643,
3362,
48972,
222,
338,
38460,
1300,
15583,
49,
13128,
49,
480,
17523,
318,
6700,
222,
338,
1930,
574,
48836,
7298,
51,
1107,
222,
338,
1676,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
57,
50,
55,
53,
55,
56,
6... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1337,
1105,
51,
48836,
7298,
51,
3180,
51,
8472,
51,
1023,
4361,
51,
17207,
64,
3067,
222,
485,
1401,
51,
8236,
51,
7263,
2362,
64,
222,
485,
1401,
51,
8236,
51,
1530,
64,
222,
485,
1401,
51,
8236,
51,
1735,
64,
222,
485,
1401,
... | -499,261,099,039,413,440 | true | false | false | false | [
1058,
51,
17163,
64,
222,
222,
485,
3698,
51,
5934,
51,
7263,
2232,
64,
222,
485,
3698,
51,
5934,
51,
79,
1735,
64,
222,
485,
3698,
51,
5934,
51,
79,
4836,
7586,
64,
222,
485,
3698,
51,
5934,
51,
32273,
64,
222,
485,
3698,
51,
... | -6,219,372,959,039,605,000 | true | package org.wandora.application.gui.previews.formats;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.aw... | import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.image.BufferedImage;
import java.io.StringWriter;
import java.net.URI;
import java.net.UR... | import java.awt.event.MouseListener;
import java.awt.image.BufferedImage;
import java.io.StringWriter;
import java.net.URI;
import java.net.URL;
import java.util.HashSet;
import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JEditorPane;
import javax.swing.JPanel;
import javax.swing.JPopu... | util.HashSet;
import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JEditorPane;
import javax.swing.JPanel;
import javax.swing.JPopupMenu;
import javax.swing.SwingUtilities;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;
import javax.xml.transform.Out... | transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c. |
TestASTBatchResolveTermsOptimizer.java | /FileExtraction/Java_unseen/wikimedia_wikidata-query-blazegraph/bigdata-rdf-test/src/test/java/com/bigdata/rdf/sparql/ast/optimizers/TestASTBatchResolveTermsOptimizer.java | /**
Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
Contact:
SYSTAP, LLC DBA Blazegraph
2501 Calvert ST NW #106
Washington, DC 20008
licenses@blazegraph.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public ... | 10,903 | Java | .java | wikimedia/wikidata-query-blazegraph | 15 | 3 | 0 | 2015-05-18T20:35:30Z | 2020-04-03T16:18:14Z | 6653520a44c770797f9908a87a6a11e2b51d4da4fa836dfb43e7c65afd17162f | [] | [
1350,
222,
222,
10585,
327,
72,
46,
9292,
654,
1910,
49,
21000,
4594,
70,
7709,
13776,
2275,
244,
55,
53,
53,
59,
50,
55,
53,
54,
59,
51,
244,
3381,
4760,
5225,
51,
222,
222,
5883,
63,
294,
9292,
654,
1910,
49,
21000,
4594,
70,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
55,
53,
53,
53,
61,
294,
12815,
69,
1570,
13776,
2275,
51,
527,
222,
222,
2287,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
302,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,... | -109,414,892,202,337,120 | true | false | false | false | [
25006,
49,
13083,
280,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
244,
15067,
222,
1975,
222,
1127,
222,
338,
6956,
563,
15229,
244,
55,
62,
49,
244,
55,
53,
54,
54,
222,
588,
222,
222,
1337,
785,
51,
7400,
624,
51,
18700,
51,
... | 2,528,170,913,379,324,000 | true | 20008
licenses@blazegraph.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; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY;... | 2 of the License.
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 General Public License... | 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
*/
/*
* Created on Aug 29, 2011
*/
package com.bigdata.rdf.sparql.ast.optimizers;
import... | Boston, MA 02111-1307 USA
*/
/*
* Created on Aug 29, 2011
*/
package com.bigdata.rdf.sparql.ast.optimizers;
import java.util.Collections;
import org.openrdf.query.MalformedQueryException;
import org.openrdf.query.algebra.StatementPattern.Scope;
import com.bigdata | .bop.Constant;
import com.bigdata.bop.IBindingSet;
import com.bigdata.bop.IValueExpression;
import com.bigdata.bop.Var;
import com |
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 | [
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,
64,
353,
964,
648,
634,
20106,
2396,
64,
736,
964,
3447,
1627,
100,
11230,
2030,
299,
5... | -3,127,557,139,747,025,000 | true | false | false | false | [
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,
2589,
6300,
353,
320,
303,
477,
492,
465,
3238,
45,
316,
49,
14601,
312,
353,
339,
73... | 7,837,923,248,298,510,000 | true | 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 _readStream;
private boolean _isPartDone;
private boolean _isDone;
pr... | 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 = new CharBuffer();
private long _maxLength = 256 * 1024;
... | 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 MultipartStream(ReadStream is, String boundary)
throws I... | throws IOException
{
_boundary = new ByteBuffer();
}
public MultipartStream(ReadStream is, String boundary)
throws IOException
{
this();
init(is, boundary);
}
/**
* Returns the default encoding.
*/
public String getEncoding()
{
return _defaultEncoding;
}
/**
* Sets ... | }
/**
* Initialize the multipart stream with a given boundary. The boundary
* passed to <code>init</code> will have "--" prefixed.
*
* @param is the underlying stream
* @param headerBoundary |
WaterGlassSetNode.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/simulations/fractions/src/edu/colorado/phet/fractions/fractionsintro/intro/view/WaterGlassSetNode.java | // Copyright 2002-2012, University of Colorado
package edu.colorado.phet.fractions.fractionsintro.intro.view;
import fj.F;
import fj.data.List;
import java.awt.Color;
import edu.colorado.phet.common.phetcommon.model.property.SettableProperty;
import edu.colorado.phet.fractions.fractionsintro.intro.model.pieset.Pie;
... | 3,583 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 743d9223b24127bd7faba6c6a9a955a761bc3db7599d6ea03602a9683eaf1a0a | [] | [
325,
2657,
244,
55,
53,
53,
55,
50,
55,
53,
54,
55,
49,
11451,
451,
5459,
2619,
222,
1337,
15357,
51,
1507,
2619,
51,
117,
10237,
51,
2197,
3564,
51,
2197,
3564,
11340,
51,
11340,
51,
1090,
64,
222,
222,
485,
315,
111,
51,
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,... | 909 | [
1457,
64,
222,
222,
485,
924,
15357,
51,
1507,
2619,
51,
117,
10237,
51,
2197,
3564,
51,
2197,
3564,
11340,
51,
11340,
51,
1090,
51,
16027,
76,
405,
1230,
51,
10570,
16027,
76,
405,
1230,
64,
222,
485,
924,
315,
111,
51,
15536,
51... | -7,123,627,924,141,945,000 | true | false | false | false | [
525,
65,
33187,
903,
49,
466,
1230,
6939,
320,
343,
496,
1806,
581,
466,
1230,
315,
45,
1175,
466,
1093,
903,
32241,
903,
848,
320,
419,
461,
1506,
2930,
45,
32241,
903,
49,
556,
25442,
76,
405,
1230,
2232,
365,
1110,
343,
339,
31... | -4,225,540,663,013,943,300 | true | mage;
import static edu.colorado.phet.fractions.fractionsintro.intro.view.WaterGlassNode.cachedWaterGlassNode;
import static fj.Ord.doubleOrd;
/**
* Node for showing draggable water glasses
*
* @author Sam Reid
*/
public class WaterGlassSetNode extends PieSetNode {
public WaterGlassSetNode( SettableProperty<P... |
* Node for showing draggable water glasses
*
* @author Sam Reid
*/
public class WaterGlassSetNode extends PieSetNode {
public WaterGlassSetNode( SettableProperty<PieSet> model, PNode rootNode, Color color, double width, double height, boolean iconTextOnTheRight ) {
super( model, rootNode, new WaterGlas... | , PNode rootNode, Color color, double width, double height, boolean iconTextOnTheRight ) {
super( model, rootNode, new WaterGlassNodeFactory(), createEmptyCellsNode( color, width, height ), new F<PieSet, PNode>() {
@Override public PNode f( final PieSet pieSet ) {
return createIcon( ... | F<PieSet, PNode>() {
@Override public PNode f( final PieSet pieSet ) {
return createIcon( pieSet, new WaterGlassNodeFactory() );
}
}, iconTextOnTheRight );
}
//The water glass icon has to use bucket slice since it doesn't have an empty background like the other ... | PNode> createSliceNode ) {
return new PNode() {{
Slice slice = state.sliceFactory.createBucketSlice( state.denominator, 0L );
//Create the slice. Wrap the state in a dummy |
Zstd.java | /FileExtraction/Java_unseen/waikato-datamining_adams-base/adams-compress/src/main/java/adams/gui/tools/filecommander/Zstd.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,369 | Java | .java | waikato-datamining/adams-base | 17 | 4 | 0 | 2017-09-01T22:51:51Z | 2024-05-08T02:22:17Z | c40ed15d4749161237d83841b2d93cff2c49f146c458d3bd4b061f7398200355 | [] | [
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,... | 671 | [
222,
338,
280,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
280,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
280,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,... | -6,673,913,043,468,623,000 | true | false | false | false | [
95,
1550,
2769,
64,
222,
485,
26177,
51,
8472,
51,
1284,
51,
10586,
2775,
64,
222,
222,
485,
3698,
51,
5934,
51,
16153,
8077,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
222,... | 3,048,606,096,302,885,000 | true |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.o... | of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Zstd.java
* Copyright (C) 2018 University of Waikato, Hamilton, NZ
*/
package adams.gui.tools.filecommander;
import adams.core.io.XzUtils;
import adams.core.io.ZstdUtils;
import adams.gui.core.GU... | 18 University of Waikato, Hamilton, NZ
*/
package adams.gui.tools.filecommander;
import adams.core.io.XzUtils;
import adams.core.io.ZstdUtils;
import adams.gui.core.GUIHelper;
import javax.swing.SwingWorker;
import java.awt.event.ActionEvent;
import java.io.File;
/**
* Compresses a single file using Zstd.
*
* @... | ZstdUtils;
import adams.gui.core.GUIHelper;
import javax.swing.SwingWorker;
import java.awt.event.ActionEvent;
import java.io.File;
/**
* Compresses a single file using Zstd.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
*/
public class Zstd
extends AbstractFileCommanderAction {
private static fin... | serialVersionUID = -8374323161691034031L;
/**
* Instantiates the action.
*/
public Zstd() {
super();
setName("Zstd"); |
Viewer_TXC_TXCTEX.java | /FileExtraction/Java_unseen/wattostudios_GameExtractor/src/org/watto/ge/plugin/viewer/Viewer_TXC_TXCTEX.java | /*
* Application: Game Extractor
* Author: wattostudios
* Website: http://www.watto.org
* Copyright: Copyright (c) 2002-2020 wattostudios
*
* License Information:
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
* publishe... | 7,311 | Java | .java | wattostudios/GameExtractor | 76 | 6 | 2 | 2020-06-03T13:56:47Z | 2024-02-23T22:15:48Z | 5afda39d46c2dce5ab1743ae357b6397b4662099fb8383569730f31ffe0b2cdc | [] | [
1127,
222,
338,
6700,
63,
244,
6067,
15269,
290,
222,
338,
6265,
63,
981,
360,
288,
471,
32755,
3963,
222,
338,
24858,
63,
665,
1930,
574,
1516,
51,
47901,
471,
51,
1107,
222,
338,
2657,
63,
283,
2657,
327,
104,
46,
244,
55,
53,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
6372,
222,
15722,
222,
942,
462,
41834,
100,
7577,
72,
100,
7577,
952,
1478,
2041,
41834,
4168,
320,
736,
1041,
353,
17854,
12825,
13494,
4070,
17854,
12825,
13494,
353,
12570,
353,
581,
41834,
100,
7577,
72,
100,
7577,
952,
1478,
365,
... | 6,648,808,511,455,300,000 | true | false | false | false | [
3683,
13868,
45,
991,
29482,
7901,
28922,
46,
320,
303,
1614,
320,
1704,
648,
17051,
299,
244,
53,
64,
1704,
28973,
4168,
3985,
299,
28973,
51,
390,
2248,
4168,
492,
416,
434,
327,
2809,
5118,
11029,
100,
7577,
72,
46,
320,
310,
170... | -1,006,718,421,464,587,500 | true | ******
**/
public class Viewer_TXC_TXCTEX extends ViewerPlugin {
/**
**********************************************************************************************
**********************************************************************************************
**/
public Viewer_TXC_TXCTEX() {
super("TXC... | EX", "Urban Chaos TXC_TEX Image");
setExtensions("txc_tex");
setGames("Urban Chaos");
setPlatforms("PC");
setStandardFileFormat(false);
}
/**
**********************************************************************************************
******************************************************... | /**
**********************************************************************************************
**********************************************************************************************
**/
@Override
public boolean canWrite(PreviewPanel panel) {
return false;
}
/**
*********************... | MatchRating(FileManipulator fm) {
try {
int rating = 0;
ArchivePlugin plugin = Archive.getReadPlugin();
if (plugin instanceof Plugin_TXC) {
rating += 50;
}
else if (!(plugin instanceof AllFilesPlugin)) {
return 0;
}
if (FieldValidator.checkExtension(fm, e... | }
fm.skip(4);
// 2 - Image Width
if (FieldValidator.checkWidth(fm.readShort())) {
rating += 5;
}
// 2 - Image Height
if (FieldValidator |
RoundPreOperatorsPanel.java | /FileExtraction/Java_unseen/USS-Shenzhou_MC-R6mod/src/main/java/cn/ussshenzhou/rainbow6/client/gui/panel/RoundPreOperatorsPanel.java | package cn.ussshenzhou.rainbow6.client.gui.panel;
import cn.ussshenzhou.t88.gui.advanced.TFocusSensitiveImageSelectButton;
import cn.ussshenzhou.rainbow6.client.match.ClientMatch;
import cn.ussshenzhou.rainbow6.network.onlyto.server.ChooseOperatorPacket;
import cn.ussshenzhou.rainbow6.util.Operator;
import cn.ussshenz... | 5,551 | Java | .java | USS-Shenzhou/MC-R6mod | 35 | 3 | 0 | 2020-08-27T12:20:24Z | 2024-01-31T13:55:15Z | 59c4c283ea713d01bef3a99bdbf134c75d109dcfeaadde42cccfcab6656fb96d | [] | [
1337,
13007,
51,
371,
9409,
291,
7322,
663,
51,
18718,
18604,
59,
51,
1598,
51,
8472,
51,
4719,
64,
222,
222,
485,
13007,
51,
371,
9409,
291,
7322,
663,
51,
121,
61,
61,
51,
8472,
51,
16986,
51,
5771,
3738,
29904,
1675,
1926,
1732... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
70,
518,
16759,
51,
632,
3769,
19375,
100,
73,
312,
310,
477,
51,
688,
45,
287,
30522,
312,
310,
15629,
51,
688,
45,
287,
30522,
312,
310,
456,
327,
7151,
356,
518,
16759,
51,
390,
28408,
32886,
454,
30522,
45,
1503,
3683,
51,
390... | 7,505,103,034,625,353,000 | true | false | false | false | [
54,
57,
494,
327,
56,
55,
449,
244,
56,
46,
338,
1849,
110,
449,
244,
54,
46,
925,
244,
60,
490,
3507,
58,
60,
494,
327,
56,
55,
449,
244,
56,
46,
338,
1849,
110,
449,
244,
54,
46,
536,
244,
60,
494,
244,
54,
490,
3507,
56... | 2,735,881,973,646,759,400 | true | A : Operator.RECRUIT_D);
this.add(recruit);
operators.add(recruit);
for (Operator o : Operator.getOperatorsExceptRecruit(ClientMatch.getSide())) {
var b = new OperatorIconButton(o);
this.add(b);
operators.add(b);
}
}
@Override
public void ... | = new OperatorIconButton(o);
this.add(b);
operators.add(b);
}
}
@Override
public void layout() {
background.setBounds(0, 0, width, height);
operators.get(0).setBounds(14, 57, 32, 40);
for (int i = 1; i < operators.size(); i++) {
operators... | .get(0).setBounds(14, 57, 32, 40);
for (int i = 1; i < operators.size(); i++) {
operators.get(i).setBounds(
14 + (32 - 3) * ((i - 1) % 7),
57 + (32 - 3) * ((i - 1) / 7 + 1),
32,
40);
}
super.layout();
... | 14 + (32 - 3) * ((i - 1) % 7),
57 + (32 - 3) * ((i - 1) / 7 + 1),
32,
40);
}
super.layout();
}
@Override
protected void renderBackground(GuiGraphics graphics, int pMouseX, int pMouseY, float pPartialTick) {
background.rende... | MouseX, pMouseY, pPartialTick);
super.renderBackground(graphics, pMouseX, pMouseY, pPartialTick);
}
public void disableOperator(Operator operator) {
if (operator == Operator. |
DataflowDocumentation.java | /FileExtraction/Java_unseen/integratedmodelling_klab/klab.engine/src/main/java/org/integratedmodelling/klab/documentation/DataflowDocumentation.java | package org.integratedmodelling.klab.documentation;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.runtime.RuntimeConst... | 10,462 | Java | .java | integratedmodelling/klab | 10 | 5 | 8 | 2021-10-19T11:31:20Z | 2024-05-09T08:53:52Z | 930d5cd9351a29979bb422c56d17b4e83de84bbc9eb650e0b60c5fe0038e15fc | [] | [
1337,
1105,
51,
8006,
751,
2832,
39359,
51,
112,
4809,
51,
10283,
64,
222,
222,
485,
1401,
51,
735,
51,
671,
3989,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
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 | [
8006,
751,
2832,
39359,
51,
112,
4809,
51,
2324,
51,
19673,
2769,
64,
222,
485,
1105,
51,
8006,
751,
2832,
39359,
51,
112,
4809,
51,
2324,
51,
25798,
13392,
64,
222,
485,
1105,
51,
8006,
751,
2832,
39359,
51,
112,
4809,
51,
2324,
... | 319,660,865,801,622,800 | true | false | false | false | [
884,
222,
221,
942,
924,
1175,
910,
5052,
1117,
38050,
9586,
100,
17127,
299,
332,
15358,
884,
222,
221,
942,
924,
1175,
910,
10184,
1034,
100,
17127,
299,
332,
7681,
884,
222,
221,
942,
924,
1175,
910,
517,
22138,
100,
17127,
299,
... | -1,012,813,501,536,799,400 | true | integratedmodelling.klab.utils.MarkdownUtils;
import org.integratedmodelling.klab.utils.MiscUtilities;
import org.integratedmodelling.klab.utils.Pair;
import org.integratedmodelling.klab.utils.StringUtils;
public enum DataflowDocumentation {
INSTANCE;
VelocityEngine engine;
public static final String ACTUATOR_TE... | integratedmodelling.klab.utils.StringUtils;
public enum DataflowDocumentation {
INSTANCE;
VelocityEngine engine;
public static final String ACTUATOR_TEMPLATE = "actuator";
public static final String FUNCTION_TEMPLATE = "service";
public static final String RESOURCE_TEMPLATE = "resource";
public static final S... | final String FUNCTION_TEMPLATE = "service";
public static final String RESOURCE_TEMPLATE = "resource";
public static final String MERGED_RESOURCE_TEMPLATE = "merged";
public static final String TABLE_TEMPLATE = "table";
public static final String CLASSIFICATION_TEMPLATE = "classification";
public static final Str... | ";
public static final String CLASSIFICATION_TEMPLATE = "classification";
public static final String EXPRESSION_TEMPLATE = "expression";
public static final String LITERAL_TEMPLATE = "literal";
class Template {
String type;
org.apache.velocity.Template template;
}
private DataflowDocumentation() {
engine ... | "classpath");
engine.setProperty("resource.loader.classpath.cache", true);
engine.setProperty("resource.loader.classpath.class", ClasspathResourceLoader.class.getName());
engine.init();
|
ExprCoreDotExpression.java | /FileExtraction/Java_unseen/espertechinc_esper/regression-lib/src/main/java/com/espertech/esper/regressionlib/suite/expr/exprcore/ExprCoreDotExpression.java | /*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | 22,104 | Java | .java | espertechinc/esper | 821 | 256 | 13 | 2015-04-06T16:21:10Z | 2024-04-26T12:22:15Z | caf94bf98ae935aea50d813f30cfed01d73158436eab328400ee967454c1f308 | [] | [
1127,
222,
17854,
1011,
6372,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
53,
59,
535,
39535,
13668,
49,
6367,
51,
3381,
4760,
5225,
51,
9326,
338,
222,
338,
244,
1930,
574,
1516,
51,
326,
481,
6646,
51,
527,
52,
326,
481,
38... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
909,
15376,
2869,
10026,
976,
5302,
1167,
1667,
1052,
310,
2321,
120,
51,
688,
45,
909,
15376,
2869,
10026,
1225,
6569,
4602,
2396,
1052,
310,
461,
2321,
120,
64,
303,
339,
465,
964,
924,
462,
15376,
2869,
10026,
1225,
6569,
4602,
239... | -9,140,603,505,228,927,000 | true | false | false | false | [
54,
312,
1083,
3256,
5015,
45,
2141,
49,
332,
1336,
742,
343,
1217,
520,
46654,
45,
2141,
49,
244,
55,
312,
1083,
4550,
51,
330,
6301,
1947,
492,
310,
339,
603,
964,
782,
1217,
520,
46654,
45,
15457,
6342,
4550,
49,
648,
2816,
46,... | 8,304,988,828,910,311,000 | true | new ExprCoreDotObjectSimpleEventProperty());
execs.add(new ExprCoreDotMapPropToStringLength());
return execs;
}
private static class ExprCoreDotMapPropToStringLength implements RegressionExecution {
public void run(RegressionEnvironment env) {
String epl = "@name('s0') selec... | (RegressionEnvironment env) {
String epl = "@name('s0') select property('key1').toString().length() as c0 from SupportBeanMapProps;" +
"@name('s1') select mapProperty('key1').toString().length() as c0 from SupportBeanComplexProps";
env.compileDeploy(epl).addListener("s0"... | ').toString().length() as c0 from SupportBeanComplexProps";
env.compileDeploy(epl).addListener("s0").addListener("s1");
sendEvents(env, "A");
assertStmts(env, 1);
sendEvents(env, "AB");
assertStmts(env, 2);
env.undeployAll();
}
... | 1);
sendEvents(env, "AB");
assertStmts(env, 2);
env.undeployAll();
}
private void assertStmts(RegressionEnvironment env, int expected) {
env.assertEqualsNew("s0", "c0", expected);
env.assertEqualsNew("s1", "c0", expected);
}
... | Collections.singletonMap("key1", value);
env.sendEventBean(new SupportBeanMapProps(values));
SupportBeanComplexProps e2 = new SupportBeanComplexProps();
e2.setMapProperty(values);
|
TARDISSchematicBuilder.java | /FileExtraction/Java_unseen/eccentricdevotion_TARDIS/src/main/java/me/eccentric_nz/TARDIS/schematic/TARDISSchematicBuilder.java | /*
* Copyright (C) 2024 eccentric_nz
*
* 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 distr... | 18,468 | Java | .java | eccentricdevotion/TARDIS | 78 | 27 | 31 | 2012-07-06T10:10:11Z | 2024-05-06T20:37:18Z | 3d3d4cda2c260f055dce9734bf017ca02ca42eb4b1765bc64f7e22869a290b6e | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
38284,
323,
3953,
100,
16152,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
489,
51,
15836,
6398,
64,
222,
485,
616,
51,
754,
47920,
100,
16152,
51,
89,
802,
5988,
51,
4617,
51,
1285,
489,
51,
15836,
89,
723,
316,
64,
222,
485,
616,
51,
754,
47920,
100,
16152,
51,
89,
802,
5988,
51,
3174,
1137... | 2,787,590,763,116,122,000 | true | false | false | false | [
222,
485,
1105,
51,
20402,
51,
1540,
51,
2246,
64,
222,
485,
1105,
51,
20402,
51,
1540,
51,
2246,
7856,
64,
222,
485,
1105,
51,
20402,
51,
1540,
51,
4561,
533,
64,
222,
485,
1105,
51,
20402,
51,
1540,
51,
624,
51,
2246,
768,
64,... | -4,572,443,473,019,029,000 | true | .resultset.ResultSetControls;
import me.eccentric_nz.TARDIS.database.resultset.ResultSetTardis;
import me.eccentric_nz.TARDIS.schematic.actions.SchematicSave;
import me.eccentric_nz.TARDIS.utility.TARDISNumberParsers;
import me.eccentric_nz.TARDIS.utility.TARDISStaticLocationGetters;
import me.eccentric_nz.TARDIS.utili... | maticSave;
import me.eccentric_nz.TARDIS.utility.TARDISNumberParsers;
import me.eccentric_nz.TARDIS.utility.TARDISStaticLocationGetters;
import me.eccentric_nz.TARDIS.utility.TARDISStaticUtils;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Tag;
import org.bukkit.World;
import org.bukkit.bloc... | .eccentric_nz.TARDIS.utility.TARDISStaticUtils;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Tag;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.Skull;
import org.bukkit.block.data.BlockData;
import org.bukkit.block.data.Mu... |
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.Skull;
import org.bukkit.block.data.BlockData;
import org.bukkit.block.data.MultipleFacing;
import org.bukkit.entity.*;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BlockStateMeta;
import org.bukkit.inv... | Meta;
import org.bukkit.util.BoundingBox;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* @author eccentric_nz
|
PlmnIdImpl.java | /FileExtraction/Java_unseen/RestComm_phone-simulator/map-impl/src/main/java/org/mobicents/protocols/ss7/map/primitives/PlmnIdImpl.java | /*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* 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 GNU Lesser ... | 3,108 | Java | .java | RestComm/phone-simulator | 15 | 11 | 0 | 2017-05-30T04:16:14Z | 2018-05-26T22:09:07Z | 5c2cc27d4f15b1a5ed7ed6febe220babb03bdb8f6fa208569a1dd96486ca3faf | [] | [
1127,
222,
338,
22493,
520,
668,
49,
3944,
6391,
7594,
2780,
31174,
244,
2657,
244,
55,
53,
54,
55,
51,
222,
338,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
2819,
341,
5550,
51,
2787,
347,
341,
7507,
456,
331,
22... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,007 | [
536,
244,
54,
53,
64,
310,
648,
342,
56,
299,
14996,
925,
244,
54,
53,
64,
603,
477,
51,
624,
299,
556,
3447,
96,
56,
988,
310,
477,
51,
624,
96,
53,
98,
299,
327,
2278,
46,
1849,
102,
55,
1281,
244,
57,
46,
494,
331,
54,
... | 8,774,133,258,648,663,000 | true | false | false | false | [
339,
465,
581,
3447,
1197,
22920,
365,
320,
310,
461,
727,
64,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
82,
1172,
365,
320,
603,
434,
327,
597,
51,
624,
630,
762,
1293,
477,
51,
624,
51,
1340,
882,
244,
56,
46,
343,
461,
... | 132,179,777,020,877,820 | true | / 10;
int b3 = tv % 10;
this.data = new byte[3];
this.data[0] = (byte) ((a2 << 4) + a1);
if (b1 == 0) {
this.data[1] = (byte) (0xF0 + a3);
this.data[2] = (byte) ((b3 << 4) + b2);
} else {
this.data[1] = (byte) ((b3 << 4) + a3);
th... | (b1 == 0) {
this.data[1] = (byte) (0xF0 + a3);
this.data[2] = (byte) ((b3 << 4) + b2);
} else {
this.data[1] = (byte) ((b3 << 4) + a3);
this.data[2] = (byte) ((b2 << 4) + b1);
}
}
public byte[] getData() {
return data;
}
@Overrid... | } else {
this.data[1] = (byte) ((b3 << 4) + a3);
this.data[2] = (byte) ((b2 << 4) + b1);
}
}
public byte[] getData() {
return data;
}
@Override
public int getMcc() {
if (this.data == null || this.data.length!= 3)
return 0;
int ... | }
public byte[] getData() {
return data;
}
@Override
public int getMcc() {
if (this.data == null || this.data.length!= 3)
return 0;
int a1 = this.data[0] & 0x0F;
int a2 = (this.data[0] & 0xF0) >> 4;
int a3 = this.data[1] & | 0x0F;
return a1 * 100 + a2 * 10 + a3;
}
@Override
public int getMnc() {
if (this.data == null || this. |
StrengtheningProgramImpl.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Therapies/src/ims/therapies/domain/impl/StrengtheningProgramImpl.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 6,986 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 6b16e68366f96493387326fc3c2e040e0ab49e6d649f28892976ecaa2e49b3aa | [] | [
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 | [
51,
2103,
51,
520,
10969,
3369,
318,
5756,
12536,
64,
222,
485,
3987,
120,
51,
987,
386,
753,
51,
2103,
51,
520,
10969,
3369,
318,
5756,
12536,
2272,
64,
222,
485,
3987,
120,
51,
987,
386,
753,
51,
2103,
51,
4136,
51,
520,
10969,
... | 5,361,736,530,194,511,000 | true | false | false | false | [
10877,
5756,
45,
16178,
51,
987,
386,
753,
51,
2103,
51,
520,
10969,
3369,
318,
5756,
12536,
9180,
520,
10969,
403,
10877,
5756,
46,
2589,
3987,
120,
51,
4136,
51,
11453,
51,
520,
1572,
976,
1002,
49,
21358,
971,
28030,
1002,
222,
2... | -5,461,343,039,819,799,000 | true | .vo.StrengtheningProgramVo;
import ims.therapies.vo.StrengtheningProgramVoCollection;
import ims.therapies.vo.domain.StrengtheningProgramShortVoAssembler;
import ims.therapies.vo.domain.StrengtheningProgramVoAssembler;
public class StrengtheningProgramImpl extends BaseStrengtheningProgramImpl
{
private static final l... | ;
import ims.therapies.vo.domain.StrengtheningProgramVoAssembler;
public class StrengtheningProgramImpl extends BaseStrengtheningProgramImpl
{
private static final long serialVersionUID = 1L;
/**
* save StrenghteningProgram
* @throws UniqueKeyViolationException
*/
public ims.therapies.vo.StrengtheningProgr... | VersionUID = 1L;
/**
* save StrenghteningProgram
* @throws UniqueKeyViolationException
*/
public ims.therapies.vo.StrengtheningProgramVo saveStrenghteningProgram(ims.therapies.vo.StrengtheningProgramVo voStrenghteningProgram) throws ims.domain.exceptions.StaleObjectException, UniqueKeyViolationException
{
... | eningProgram(ims.therapies.vo.StrengtheningProgramVo voStrenghteningProgram) throws ims.domain.exceptions.StaleObjectException, UniqueKeyViolationException
{
if (voStrenghteningProgram == null)
throw new RuntimeException("Cannot save null StrengtheningProgramVo.");
if (voStrenghteningProgram.isValidated() == fa... | ingProgramVo is not validated");
DomainFactory factory = getDomainFactory();
if (voStrenghteningProgram.getID_StrengtheningProgram() == null)//Inserting a record
{
Streng |
State.java | /FileExtraction/Java_unseen/prismmodelchecker_prism/prism/src/parser/State.java | //==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford)
//
//------------------------------------------------------------------------------
//
// This file is part of PRISM.
//
// PR... | 8,681 | Java | .java | prismmodelchecker/prism | 145 | 65 | 54 | 2016-01-05T09:46:26Z | 2024-03-27T18:31:12Z | 47644581caffdd8b40bb53b9fa6c9db017e67acc685ce2ac1f243397425b3246 | [] | [
20037,
18480,
222,
325,
221,
222,
325,
221,
10585,
327,
104,
46,
244,
55,
53,
53,
55,
50,
222,
325,
221,
36330,
63,
222,
325,
221,
47,
493,
808,
27004,
284,
350,
27928,
51,
587,
4797,
69,
527,
4809,
51,
1290,
51,
348,
51,
3434,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
613,
2002,
374,
221,
887,
3367,
96,
865,
54,
51,
1340,
494,
613,
98,
299,
5941,
55,
96,
110,
988,
222,
221,
130,
499,
221,
1350,
376,
338,
12983,
829,
19430,
4917,
14646,
1319,
51,
376,
338,
17377,
2872,
391,
1573,
3116,
347,
1152... | -3,539,268,512,064,256,500 | true | false | false | false | [
338,
1691,
8844,
49,
2589,
619,
3773,
434,
1364,
4918,
904,
3483,
51,
4517,
338,
496,
772,
373,
14646,
1319,
391,
1948,
51,
376,
338,
496,
772,
1573,
1139,
3707,
3116,
327,
999,
2702,
3116,
52,
24606,
46,
376,
338,
496,
772,
1524,
... | 201,563,317,022,965,900 | true | i++)
varValues[arr1.length + i] = arr2[i];
}
/**
* Construct by copying existing Values object.
* Need access to model info in case variables are not ordered correctly.
* Throws an exception if any variables are undefined.
* @param v Values object to copy.
* @param modelInfo Model info (for variable i... |
* Throws an exception if any variables are undefined.
* @param v Values object to copy.
* @param modelInfo Model info (for variable info/ordering)
*/
public State(Values v, ModelInfo modelInfo) throws PrismLangException
{
this(v, modelInfo, true);
}
/**
* Construct by copying existing Values object.
... | ) throws PrismLangException
{
this(v, modelInfo, true);
}
/**
* Construct by copying existing Values object.
* Need access to model info in case variables are not ordered correctly.
* If requested, throws an exception if any variables are undefined.
* @param v Values object to copy.
* @param modelInfo ... | * If requested, throws an exception if any variables are undefined.
* @param v Values object to copy.
* @param modelInfo Model info (for variable info/ordering)
* @param checkAllDef If true, check all variables are present
*/
public State(Values v, ModelInfo modelInfo, boolean checkAllDef) throws PrismLangEx... | if (checkAllDef && n!= modelInfo.getNumVars()) {
throw new PrismLangException("Wrong number of variables in state");
}
varValues = new Object[n];
for (i = |
RicezioneContenutiApplicativiHTTPtoSOAPConnector.java | /FileExtraction/Java_unseen/link-it_govway/core/src/org/openspcoop2/pdd/services/connector/RicezioneContenutiApplicativiHTTPtoSOAPConnector.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.
... | 5,276 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | b49273ab68c42225030181938ed13bb963bc5ee49f2ed258fb67152c73171509 | [] | [
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,... | 1,024 | [
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
338,
222,
588,
3067,
222,
1337,
1105,
51,
1693,
438,
352,
539,
55,
51,
117,
601,
51,
4270,
51,
11636,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058... | -2,281,940,212,886,078,000 | true | false | false | false | [
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
117,
601,
51,
4270,
51,
750,
51,
87,
584,
15807,
653,
291,
45550,
25242,
6221,
110,
4305,
943,
4829,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
117,
601,
51,
4270,
51,
2140,
... | 3,806,458,365,787,709,000 | true | ://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.pdd.services.connector;
import java.io.IOException;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.openspcoop2.pdd.logger.OpenSPCoop2Logg... | import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.openspcoop2.pdd.logger.OpenSPCoop2Logger;
import org.openspcoop2.pdd.services.connector.messages.HttpServletConnectorInMessage;
import org.openspcoop2.pdd.services.connector.me... | ;
import org.openspcoop2.pdd.services.connector.messages.HttpServletConnectorInMessage;
import org.openspcoop2.pdd.services.connector.messages.HttpServletConnectorOutMessage;
import org.openspcoop2.pdd.services.error.RicezioneContenutiApplicativiInternalErrorGenerator;
import org.openspcoop2.pdd.services.service.Ricezi... | import org.openspcoop2.pdd.services.error.RicezioneContenutiApplicativiInternalErrorGenerator;
import org.openspcoop2.pdd.services.service.RicezioneContenutiApplicativiHTTPtoSOAPService;
import org.openspcoop2.protocol.sdk.IProtocolFactory;
import org.openspcoop2.protocol.sdk.constants.CodiceErroreIntegrazione | ;
import org.openspcoop2.protocol.sdk.constants.ErroriIntegrazione;
import org.openspcoop2.protocol.sdk.constants.IDService;
import org.openspcoop2 |
TestRegistrationOrder.java | /FileExtraction/Java_unseen/NoCheatPlus_NoCheatPlus/NCPCore/src/test/java/fr/neatmonster/nocheatplus/test/TestRegistrationOrder.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 wil... | 14,884 | Java | .java | NoCheatPlus/NoCheatPlus | 373 | 276 | 7 | 2012-08-18T20:31:32Z | 2021-06-04T00:52:12Z | 42f28090da379f34a4306580696398178d836c96f9a8300132819191e9a5223e | [] | [
1127,
222,
338,
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,
1522,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
320,
343,
461,
1641,
51,
390,
11509,
2888,
492,
310,
339,
303,
339,
465,
581,
924,
1175,
457,
2807,
5217,
65,
78,
953,
11509,
2888,
67,
2872,
78,
953,
11509,
2888,
299,
556,
8275,
78,
953,
11509,
2888,
492,
465,
964,
924,
910,
119... | 4,892,825,818,158,138,000 | true | false | false | false | [
556,
5068,
65,
739,
65,
11509,
2888,
20591,
310,
453,
4314,
63,
17414,
32024,
337,
49,
4051,
49,
1760,
50,
3917,
327,
2202,
5957,
49,
4051,
2554,
566,
310,
456,
327,
429,
613,
299,
244,
53,
64,
613,
350,
10510,
54,
7170,
64,
613,
... | -526,277,687,021,071,940 | true | {
return item.getRegistrationOrder();
}
}
public static final IAccessSort<IGetRegistrationOrder> accessIGetRegistrationOrder = new AccessIGetRegistrationOrder();
private static String[] tags = new String[]{null, "foo", "bar", "low", "high", "ledge", "bravo", "bravissimo"};
priv... | , "foo", "bar", "low", "high", "ledge", "bravo", "bravissimo"};
private final Random random = new Random(System.currentTimeMillis() ^ System.nanoTime());
@Test
public void testRegistrationOrder() {
int repeatShuffle = 15;
int rand1samples = BuildParameters.testLevel > 0? 500 : 50;
... | void testRegistrationOrder() {
int repeatShuffle = 15;
int rand1samples = BuildParameters.testLevel > 0? 500 : 50;
final List<List<RegistrationOrder>> samples = new ArrayList<List<RegistrationOrder>>();
// TODO: Hand crafted, random, part-random (defined tags, random order).
fo... | new ArrayList<List<RegistrationOrder>>();
// TODO: Hand crafted, random, part-random (defined tags, random order).
for (int i = 0; i < rand1samples; i++) {
samples.add(getSample(5, 12)); // Random-ish tests to have something in place.
}
// Iterate...
for (List<Regis... | = new ArrayList<IGetRegistrationOrder>();
for (final RegistrationOrder order : sample) {
sample2.add(new IGetRegistrationOrder() {
@Override
public RegistrationOrder getRegistrationOrder() {
return order;
|
BeagleImputationQuality.java | /FileExtraction/Java_unseen/molgenis_systemsgenetics/imputation-tool/src/main/java/imputationtool/postprocessing/BeagleImputationQuality.java | /*
* This program checks for batch effects within beagle imputed dataset batches
*/
package imputationtool.postprocessing;
import java.io.File;
import java.io.IOException;
import java.util.regex.Pattern;
import umcg.genetica.io.text.TextFile;
import umcg.genetica.math.stats.WilcoxonMannWhitney;
/**
*
* @author ha... | 8,133 | Java | .java | molgenis/systemsgenetics | 167 | 102 | 59 | 2013-07-11T14:56:29Z | 2024-04-30T14:51:09Z | 040b59f2f3c92d3fa0756ddb4450ce8d0eae7b63bb79d5f19e988faa4239cb2c | [] | [
1127,
222,
338,
1369,
3477,
9378,
456,
5334,
16002,
4824,
545,
25718,
1378,
5666,
5984,
31858,
222,
588,
222,
1337,
1378,
11444,
3749,
51,
1545,
9608,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
6860,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
3347,
494,
21747,
312,
2125,
453,
10420,
115,
50,
39038,
21949,
1117,
55,
100,
43545,
55,
50,
23905,
55,
50,
57,
51,
5387,
115,
50,
39038,
21949,
1117,
55,
100,
43545,
55,
50,
57,
50,
4671,
1631,
833,
51,
108,
27489,
419,
910,
112... | -5,585,771,520,573,497,000 | true | false | false | false | [
244,
55,
55,
46,
494,
18267,
15446,
318,
19874,
343,
1189,
51,
4788,
3766,
54,
312,
310,
339,
603,
648,
1952,
4654,
1088,
3277,
299,
244,
53,
64,
310,
456,
327,
429,
21747,
299,
244,
54,
64,
21747,
350,
244,
55,
56,
64,
21747,
2... | 3,729,047,131,382,897,700 | true | "" + chr);
// Finn-CelGWAS2_Chr2-HM2-4.Finn-CelGWAS2_Chr2-4-BEAGLE.gprobs
String fileName = inputDir + "/" + templatecopy + ".r2";
File file = new File(fileName);
if (!file.canRead()) {
System.out.println("Cannot open file:\t" + file... | templatecopy + ".r2";
File file = new File(fileName);
if (!file.canRead()) {
System.out.println("Cannot open file:\t" + fileName);
allFilesAvailable = false;
filesnotfound++;
}
}
}
... | notfound++;
}
}
}
if (!allFilesAvailable) {
System.out.println("Not all imputed dosage files are available!!! (" + filesnotfound + " out of " + (nrBatches * 22) + "). Exiting...");
System.exit(-1);
}
int numsnpsglobal = 0;
for... | 22) + "). Exiting...");
System.exit(-1);
}
int numsnpsglobal = 0;
for (int chr = 1; chr < 23; chr++) {
TextFile logChr = new TextFile(outputLocation + "/r2-distribution-" + chr + ".txt", TextFile.W);
TextFile logWilChr = new TextFile(outputLocation + "/wilco... | ".txt", TextFile.W);
int numsnpschr = 0;
int[] r2chrfreqdistribution = new int[11];
for (int batch = 0; batch < batchNames.length; |
CandidateProperty.java | /FileExtraction/Java_unseen/Talent-Catalog_talentcatalog/server/src/main/java/org/tctalent/server/model/db/CandidateProperty.java | /*
* Copyright (c) 2023 Talent Beyond Boundaries.
*
* 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 any later version.
*
* This program is distr... | 2,388 | Java | .java | Talent-Catalog/talentcatalog | 9 | 4 | 271 | 2021-01-27T03:02:03Z | 2024-05-09T09:05:42Z | 6433dbe40215b7c65766712c40c39b7793cc69d23a540858aa295b3637dbe4e1 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
56,
413,
9569,
570,
929,
6263,
16243,
5299,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
1549,
222,
338,
341,
5974,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 584 | [
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
1691,
666,
49,
2337,
1698,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,
222,
... | 4,614,547,777,625,079,000 | true | false | false | false | [
51,
1600,
51,
6825,
64,
222,
222,
1350,
222,
338,
3286,
52,
899,
5764,
642,
331,
15164,
51,
222,
338,
350,
117,
2056,
222,
338,
906,
2821,
655,
458,
5823,
456,
341,
15164,
51,
21777,
331,
15164,
902,
1348,
1178,
3161,
4324,
642,
2... | 5,741,157,323,175,440,000 | true | .
*
* 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.tctalent.server.model.db;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persisten... | server.model.db;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Getter;
import lom... | import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
/**
* Name/Value associated with a candidate.
* <p/>
* The property name is unique f... | .lang.Nullable;
/**
* Name/Value associated with a candidate.
* <p/>
* The property name is unique for the candidate. ie a candidate can't have two properties with
* the same name.
* <p/>
* Primary key is {@link CandidatePropertyKey} - needed because primary key is composite, made
* up from candidate and proper... |
@IdClass(CandidatePropertyKey.class)
@Getter
@Setter
public class CandidateProperty {
/**
* ID of candidate associated with this property
*/
@Id
@NonNull
@Column(name = " |
BaseFragment.java | /FileExtraction/Java_unseen/arsLan4k1390_Cherrygram/TMessagesProj/src/main/java/org/telegram/ui/ActionBar/BaseFragment.java | /*
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.ui.ActionBar;
import android.animation.Animator;
import ... | 36,877 | Java | .java | arsLan4k1390/Cherrygram | 411 | 18 | 2 | 2022-04-25T14:07:00Z | 2024-05-04T13:35:42Z | 53f5bb8a7489444b79145536d0d317bf21b77b79ee69197aaa1a4c4731d88974 | [] | [
1127,
222,
338,
1369,
458,
341,
1932,
1361,
451,
44572,
456,
8107,
373,
51,
244,
58,
51,
125,
51,
125,
51,
222,
338,
2048,
458,
14391,
1549,
6994,
23508,
373,
51,
244,
55,
575,
6146,
51,
222,
338,
2469,
1414,
1178,
6589,
331,
1948... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
27922,
51,
14641,
1317,
51,
16798,
1590,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
8176,
51,
2362,
2775,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
11647,
3697,
64,
222,
485,
1105,
51,
27922,
51,
1726,
51,
520,
3121,
51,
1849... | 3,697,278,029,690,950,000 | true | false | false | false | [
64,
303,
2532,
5255,
2914,
2146,
2914,
64,
303,
2532,
1922,
347,
10621,
2116,
64,
303,
2532,
1922,
347,
2689,
2116,
64,
303,
2532,
1922,
347,
31688,
2116,
64,
303,
2532,
648,
462,
8906,
64,
303,
2532,
14092,
4228,
64,
303,
2532,
192... | -1,254,597,303,826,974,000 | true | telegram.tgnet.ConnectionsManager;
import org.telegram.ui.Components.LayoutHelper;
import org.telegram.ui.LaunchActivity;
import org.telegram.ui.Stories.StoryViewer;
import java.util.ArrayList;
import uz.unnarsx.cherrygram.helpers.chats.ChatsHelper;
import uz.unnarsx.cherrygram.helpers.chats.MessageHelper;
public ab... | .util.ArrayList;
import uz.unnarsx.cherrygram.helpers.chats.ChatsHelper;
import uz.unnarsx.cherrygram.helpers.chats.MessageHelper;
public abstract class BaseFragment {
protected boolean isFinished;
protected boolean finishing;
public Dialog visibleDialog;
protected int currentAccount = UserConfig.sel... |
public abstract class BaseFragment {
protected boolean isFinished;
protected boolean finishing;
public Dialog visibleDialog;
protected int currentAccount = UserConfig.selectedAccount;
public View fragmentView;
public INavigationLayout parentLayout;
protected ActionBar actionBar;
prote... | ;
protected ActionBar actionBar;
protected boolean inPreviewMode;
protected boolean inMenuMode;
protected boolean inBubbleMode;
protected int classGuid;
protected Bundle arguments;
protected boolean hasOwnBackground = false;
protected boolean isPaused = true;
protected Dialog parentD... | resourceProvider;
public ArrayList<StoryViewer> storyViewerStack;
public StoryViewer getLastStoryViewer() {
if (storyViewerStack == null || storyViewerStack.isEmpty())
return null;
for (int i = storyViewer |
SubscribeResource.java | /FileExtraction/Java_unseen/Silverpeas_Silverpeas-Core/core-web/src/main/java/org/silverpeas/core/webapi/subscribe/SubscribeResource.java | /*
* Copyright (C) 2000 - 2024 Silverpeas
*
* 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.
*
* As a spec... | 4,059 | Java | .java | Silverpeas/Silverpeas-Core | 49 | 29 | 6 | 2011-01-31T15:32:42Z | 2024-05-06T15:47:44Z | 6aebffab1dd7a4fcd55fd2cc68e7b3daa34620f8742eb58dca2dff9eab62f7ec | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
53,
449,
244,
55,
53,
55,
57,
46044,
367,
321,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 983 | [
51,
897,
51,
1193,
2222,
64,
222,
222,
485,
924,
1105,
51,
41197,
367,
321,
51,
1284,
51,
10740,
51,
8696,
51,
5248,
8861,
2305,
5238,
51,
17971,
64,
222,
485,
924,
1105,
51,
41197,
367,
321,
51,
1284,
51,
1058,
51,
3275,
13167,
... | -1,551,784,997,481,137,400 | true | false | false | false | [
49,
762,
312,
353,
339,
736,
496,
3719,
353,
496,
1233,
15078,
10740,
638,
15133,
333,
8531,
353,
496,
29079,
45,
17999,
51,
16251,
100,
3275,
46,
353,
581,
910,
20636,
724,
2305,
4810,
1233,
3196,
459,
10740,
638,
678,
910,
10772,
... | -5,068,841,137,277,900,000 | true | .text.MessageFormat;
import static org.silverpeas.core.subscription.constant.CommonSubscriptionResourceConstants.COMPONENT;
import static org.silverpeas.core.util.JSONCodec.encodeArray;
/**
* A REST Web resource representing a given subscription.
* It is a web service that provides an access to a subscription referen... | /**
* A REST Web resource representing a given subscription.
* It is a web service that provides an access to a subscription referenced by its URL.
*/
@WebService
@Path(SubscribeResource.PATH + "/{componentId}")
@Authorized
public class SubscribeResource extends AbstractSubscriptionResource {
static final String PAT... |
@Authorized
public class SubscribeResource extends AbstractSubscriptionResource {
static final String PATH = "subscribe";
@POST
@Produces(MediaType.APPLICATION_JSON)
public String subscribeToComponent() {
return subscribeToResource(COMPONENT, null);
}
@POST
@Path("{subscriptionType}/{id}")
@Prod... | , null);
}
@POST
@Path("{subscriptionType}/{id}")
@Produces(MediaType.APPLICATION_JSON)
public String subscribeToResource(@PathParam("subscriptionType") String subscriptionType, @PathParam("id") String id) {
return subscribeToResource(decodeSubscriptionResourceType(subscriptionType), id);
}
private ... | (
UserSubscriptionSubscriber.from(getUser().getId()), subscriptionResourceType, resourceId);
SubscriptionServiceProvider.getSubscribeService().subscribe(subscription);
final String userLanguage = getUserPreferences().getLanguage();
SubscriptionBeanProvider.getBySubscription( |
Long512VectorLoadStoreTests.java | /FileExtraction/Java_unseen/renatoalencar_java-brazuca/test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java | /*
* Copyright (c) 2018, 2021, 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 ... | 35,846 | Java | .java | renatoalencar/java-brazuca | 17 | 0 | 1 | 2021-04-24T22:28:18Z | 2021-09-09T02:22:30Z | 295fe5717b2ec65727c7f607acd04799fc1368aebae4ff9eb5ed99da9c6bc1df | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
49,
244,
55,
53,
55,
54,
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 | [
708,
580,
1118,
545,
6386,
49,
1294,
4213,
222,
338,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
7934,
575,
222,
338,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
6153,
5062,
1196,
222,
338,
1522,
244,
55,
456,
1851... | -1,148,918,139,423,703,200 | true | false | false | false | [
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,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
3490,
614,
4532,
51,
48947,
... | 6,690,321,653,573,946,000 | true | 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
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a co... | the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Re... | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @modules jdk.incubator.vector java.base/jdk.internal.vm.annotation
* @... | 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @modules jdk.incubator.vector java.base/jdk.internal.vm.annotation
* @run testng/othervm -XX:-TieredCompilation Long512VectorLoadStoreTests
*
*/
// -- This file was mechanically generated: Do not ed... | //
import jdk.incubator.vector.LongVector;
import jdk.incubator.vector.VectorMask;
import jdk.incubator.vector.VectorSpecies;
import jdk.incubator.vector.VectorShuffle; |
MenuListener.java | /FileExtraction/Java_unseen/Arnuh_EchoPet/modules/EchoPet/src/com/dsh105/echopet/listeners/MenuListener.java | /*
* This file is part of EchoPet.
*
* EchoPet 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.
*
* EchoPet is distributed in th... | 4,776 | Java | .java | Arnuh/EchoPet | 25 | 12 | 26 | 2017-05-23T16:23:49Z | 2024-02-18T02:05:31Z | 8ed045a40498d45d31722f0c01d020b5d6a9b5d6b8d8a1601848c5f245d73db4 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
41501,
23482,
51,
222,
338,
222,
338,
41501,
23482,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
958... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
785,
51,
105,
635,
54,
53,
58,
51,
3486,
6093,
51,
8540,
51,
1256,
51,
1058,
51,
3055,
51,
4454,
2362,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
20402,
51,
1585,
51,
1167,
64,
222,
485,
11... | -400,106,597,921,334,800 | true | false | false | false | [
299,
3916,
10333,
51,
48691,
1692,
654,
49,
5091,
23092,
299,
878,
46,
222,
221,
942,
782,
563,
12420,
2668,
45,
12420,
2668,
1167,
1708,
1528,
376,
221,
344,
32900,
1585,
51,
390,
27838,
14796,
365,
5118,
9306,
4376,
7717,
374,
221,
... | -349,256,272,961,018,560 | true | import com.dsh105.echopet.compat.api.util.menu.SelectorLayout;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.inv... | .EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.inventory.InventoryCloseEvent;
import org.bukkit.event.inventory.InventoryType;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemSt... | Event;
import org.bukkit.event.inventory.InventoryType;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
public class MenuListener implements Listener{
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onInventoryClick(InventoryClickEvent event){
if(... | = EventPriority.HIGHEST, ignoreCancelled = true)
public void onInventoryClick(InventoryClickEvent event){
if(!(event.getWhoClicked() instanceof Player player)){
return;
}
if(event.getView().getTitle().contains("EchoPet DataMenu")){
event.setCancelled(true);
event.setResult(Event.Result.DENY);
}
... |
String title = event.getView().getTitle();
int slot = event.getRawSlot();
if(slot < 0 || slot >= inv.getSize() || inv.getItem(slot) == null){
return; |
VirtualPocket.java | /FileExtraction/Java_unseen/DimensionalDevelopment_DimDoors/src/main/java/org/dimdev/dimdoors/pockets/virtual/VirtualPocket.java | package org.dimdev.dimdoors.pockets.virtual;
import java.util.Collection;
import com.google.common.collect.Multimap;
import org.jetbrains.annotations.Nullable;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtElement;
import net.minecraft.nbt.NbtList;
import net.minecraft.resource.ResourceManager;
... | 3,039 | Java | .java | DimensionalDevelopment/DimDoors | 78 | 53 | 195 | 2017-03-28T20:54:51Z | 2024-05-01T17:49:53Z | ee5f4cdf89d34a47569165790f1e1909cdc01f119a014c45b0a56dce522669a4 | [] | [
1337,
1105,
51,
3572,
1920,
51,
3572,
1428,
1758,
51,
864,
2380,
120,
51,
5010,
64,
222,
222,
485,
1401,
51,
1058,
51,
2272,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
6190,
51,
48120,
64,
222,
485,
1105,
51,
15575,
51,
883... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 830 | [
864,
2380,
120,
52,
5010,
884,
453,
10767,
63,
4816,
2660,
391,
334,
6014,
727,
8928,
120,
499,
221,
1592,
13675,
85,
3103,
16959,
45,
83,
8057,
1325,
329,
8057,
46,
320,
376,
221,
620,
16959,
45,
39749,
49,
762,
312,
222,
221,
13... | -1,082,924,543,626,136,400 | true | false | false | false | [
3103,
51,
16997,
1181,
83,
8057,
18133,
46,
329,
8057,
49,
7886,
312,
374,
221,
325,
4314,
63,
1440,
434,
7886,
458,
762,
374,
221,
1749,
45303,
638,
51,
5215,
63,
453,
2048,
1200,
331,
4141,
391,
331,
2885,
3913,
621,
221,
620,
6... | 834,704,101,084,985,900 | true | pockets/virtual"; //TODO: might want to restructure data packs
static VirtualPocket deserialize(NbtElement nbt) {
return deserialize(nbt, null);
}
//TODO: split up in ImplementedVirtualPocket and VirtualPocketList
static VirtualPocket deserialize(NbtElement nbt, @Nullable ResourceManager manager) {
switch (n... | up in ImplementedVirtualPocket and VirtualPocketList
static VirtualPocket deserialize(NbtElement nbt, @Nullable ResourceManager manager) {
switch (nbt.getType()) {
case NbtType.LIST: // It's a list of VirtualPocket
return VirtualPocketList.deserialize((NbtList) nbt, manager);
case NbtType.COMPOUND: // It'... | 's a list of VirtualPocket
return VirtualPocketList.deserialize((NbtList) nbt, manager);
case NbtType.COMPOUND: // It's a serialized VirtualPocket
return ImplementedVirtualPocket.deserialize((NbtCompound) nbt, manager);
// TODO: throw if manager is null
case NbtType.STRING: // It's a reference to a res... | ocket.deserialize((NbtCompound) nbt, manager);
// TODO: throw if manager is null
case NbtType.STRING: // It's a reference to a resource location
return ResourceUtil.loadReferencedResource(manager, RESOURCE_STARTING_PATH, nbt.asString(), ResourceUtil.NBT_READER.andThenComposable(nbtElement -> deserialize(nbtEl... | Unexpected NbtType %d!", nbt.getType()));
}
}
static NbtElement serialize(VirtualPocket virtualPocket, boolean allowReference) {
if (virtualPocket instanceof VirtualPocketList) { |
SPDetailsReviewViewImpl.java | /FileExtraction/Java_unseen/nikotsunami_osce/OsceManager/src/main/java/ch/unibas/medizin/osce/client/a_nonroo/client/ui/sp/SPDetailsReviewViewImpl.java | package ch.unibas.medizin.osce.client.a_nonroo.client.ui.sp;
import ch.unibas.medizin.osce.client.a_nonroo.client.ResolutionSettings;
import ch.unibas.medizin.osce.client.a_nonroo.client.ui.renderer.EnumRenderer;
import ch.unibas.medizin.osce.client.managed.request.BankaccountProxy;
import ch.unibas.medizin.osce.cl... | 37,846 | Java | .java | nikotsunami/osce | 8 | 5 | 3 | 2011-08-23T10:58:33Z | 2019-03-20T15:16:36Z | a9af067ed36f2b7bf39e9f0259d835d6ba647c2e2692b6f26240f1a7e1b23adc | [] | [
1337,
683,
51,
330,
947,
321,
51,
1987,
445,
285,
51,
519,
388,
51,
1598,
51,
102,
100,
3804,
309,
116,
51,
1598,
51,
1726,
51,
438,
64,
2855,
222,
485,
683,
51,
330,
947,
321,
51,
1987,
445,
285,
51,
519,
388,
51,
1598,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
445,
285,
51,
519,
388,
51,
1598,
51,
102,
100,
3804,
309,
116,
51,
1598,
51,
13288,
2977,
64,
222,
485,
683,
51,
330,
947,
321,
51,
1987,
445,
285,
51,
519,
388,
51,
1598,
51,
102,
100,
3804,
309,
116,
51,
1598,
51,
1726,
51,... | -5,224,090,452,383,108,000 | true | false | false | false | [
8109,
1209,
18754,
5401,
64,
222,
485,
683,
51,
330,
947,
321,
51,
1987,
445,
285,
51,
519,
388,
51,
1598,
51,
1639,
51,
5390,
51,
10818,
15167,
64,
222,
485,
683,
51,
330,
947,
321,
51,
1987,
445,
285,
51,
519,
388,
51,
1598,
... | -4,010,013,124,836,310,000 | true | izin.osce.client.a_nonroo.client.ResolutionSettings;
import ch.unibas.medizin.osce.client.a_nonroo.client.ui.renderer.EnumRenderer;
import ch.unibas.medizin.osce.client.managed.request.BankaccountProxy;
import ch.unibas.medizin.osce.client.managed.request.SpBankaccountProxy;
import ch.unibas.medizin.osce.client.managed... | ;
import ch.unibas.medizin.osce.client.managed.request.BankaccountProxy;
import ch.unibas.medizin.osce.client.managed.request.SpBankaccountProxy;
import ch.unibas.medizin.osce.client.managed.request.SpStandardizedPatientProxy;
import ch.unibas.medizin.osce.client.managed.request.StandardizedPatientProxy;
import ch.unib... | Proxy;
import ch.unibas.medizin.osce.client.managed.request.SpStandardizedPatientProxy;
import ch.unibas.medizin.osce.client.managed.request.StandardizedPatientProxy;
import ch.unibas.medizin.osce.client.style.resources.UiIcons;
import ch.unibas.medizin.osce.client.style.widgets.IconButton;
import ch.unibas.medizin.osc... | StandardizedPatientProxy;
import ch.unibas.medizin.osce.client.style.resources.UiIcons;
import ch.unibas.medizin.osce.client.style.widgets.IconButton;
import ch.unibas.medizin.osce.client.style.widgets.ScrolledTabLayoutPanel;
import ch.unibas.medizin.osce.shared.Gender;
import ch | .unibas.medizin.osce.shared.MaritalStatus;
import ch.unibas.medizin.osce.shared.OsMaConstant;
import ch.unibas.medizin |
I18nViewColumnDescription.java | /FileExtraction/Java_unseen/devgateway_amp/amp/WEB-INF/src/org/dgfoundation/amp/ar/viewfetcher/I18nViewColumnDescription.java | package org.dgfoundation.amp.ar.viewfetcher;
/**
* a description of a translatable column of a view which should be overwritten
* @author Dolghier Constantin
*
*/
public class I18nViewColumnDescription
{
/**
* the translated column's name
*/
public final String columnName;
/**
* t... | 2,748 | Java | .java | devgateway/amp | 8 | 4 | 31 | 2015-11-10T23:22:20Z | 2024-05-09T09:02:32Z | d32ff457d2481a8f116fefd6d140ca5ab8924f2835500618dd702415797a5931 | [] | [
1337,
1105,
51,
12592,
19076,
51,
778,
51,
301,
51,
1090,
48443,
64,
222,
222,
1350,
222,
338,
331,
3066,
451,
331,
1650,
37297,
2656,
451,
331,
2221,
1532,
1414,
545,
30787,
1676,
338,
496,
2133,
48662,
3165,
2506,
15027,
285,
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,... | 608 | [
1671,
16702,
64,
2205,
1041,
294,
338,
5402,
588,
303,
581,
1175,
6484,
3250,
7030,
64,
2205,
581,
457,
54,
61,
115,
1089,
2154,
3250,
45,
671,
41310,
49,
910,
1671,
16702,
49,
1727,
11667,
16486,
49,
910,
28824,
46,
303,
320,
310,
... | -1,722,191,528,361,123,300 | true | false | false | false | [
303,
581,
457,
54,
61,
115,
1089,
2154,
3250,
45,
671,
41310,
49,
910,
2221,
577,
49,
7747,
899,
18587,
37462,
46,
303,
320,
310,
477,
45,
37164,
49,
2221,
577,
49,
762,
49,
37462,
312,
303,
339,
283,
2205,
1041,
294,
338,
33088,
... | -4,286,041,522,791,091,000 | true | indexColumnName;
/**
*
*/
public final PropertyDescription prop;
public I18nViewColumnDescription(String columnName, String indexColumnName, Class<?> clazz, String propertyName)
{
this.columnName = columnName;
this.indexColumnName = indexColumnName;
this.pr... | this.indexColumnName = indexColumnName;
this.prop = InternationalizedModelDescription.getForClass(clazz).properties.get(propertyName);
if (this.prop == null)
throw new RuntimeException("could not find a description for property " + propertyName + " of class " + clazz);
}
... | property " + propertyName + " of class " + clazz);
}
/**
* constructs a calculated instance <b>with no caching</b>
* @param columnName
* @param viewName
* @param calculator
*/
public I18nViewColumnDescription(String columnName, String viewName, ColumnValueCalculator c... |
public I18nViewColumnDescription(String columnName, String viewName, ColumnValueCalculator calculator)
{
this(columnName, viewName, null, calculator);
}
/**
* constructs a calculated instance <b>with or without caching</b>, depending on idColumn
* @param columnName
* @par... | param calculator
*/
public I18nViewColumnDescription(String columnName, String viewName, String idColumn, ColumnValueCalculator calculator)
{
this.columnName = columnName;
this.indexColumnName = idColumn;
this |
DifferentHostsExclusiveDescriptor.java | /FileExtraction/Java_unseen/ow2-proactive_scheduling/common/common-api/src/main/java/org/ow2/proactive/topology/descriptor/DifferentHostsExclusiveDescriptor.java | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | 2,004 | Java | .java | ow2-proactive/scheduling | 60 | 53 | 155 | 2015-05-16T13:38:55Z | 2024-05-07T13:08:56Z | 668976632c323cca81d231f09665d046c089fb03ad7ab017ab96732dbc178d7e | [] | [
1127,
222,
338,
1330,
4091,
29829,
25280,
45,
9043,
731,
222,
338,
906,
3944,
6391,
4277,
456,
11994,
480,
2744,
222,
338,
21275,
120,
568,
377,
16501,
49,
565,
30568,
31655,
49,
7594,
30336,
222,
338,
480,
7766,
2426,
17497,
563,
234... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 492 | [
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
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,
477,
... | -5,228,161,831,682,402,000 | true | false | false | false | [
456,
341,
1275,
51,
222,
338,
350,
117,
67,
222,
338,
4529,
17255,
477,
9869,
347,
3105,
707,
25974,
51,
390,
1094,
20142,
5919,
130,
1275,
1648,
640,
222,
338,
1851,
5193,
2806,
580,
18485,
456,
7278,
391,
341,
8465,
708,
3410,
138... | -7,968,596,089,924,136,000 | true | 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/>.
*
* If needed, contact us to obtain a release under GPL Version 2 or... | ://www.gnu.org/licenses/>.
*
* If needed, contact us to obtain a release under GPL Version 2 or 3
* or a different license than the AGPL.
*/
package org.ow2.proactive.topology.descriptor;
import org.objectweb.proactive.annotation.PublicAPI;
/**
* This descriptor allows to select one node per host exclusively.
... | proactive.topology.descriptor;
import org.objectweb.proactive.annotation.PublicAPI;
/**
* This descriptor allows to select one node per host exclusively.
* Hosts with selected nodes will be reserved for the user.
* <p>
* By specifying this descriptor in {@code ResourceManager.getAtMostNodes} user may get
* more... | for the user.
* <p>
* By specifying this descriptor in {@code ResourceManager.getAtMostNodes} user may get
* more nodes than it asked for due to the fact that total capacity of all machines is
* bigger.
* <p>
* The resource manager first will try to find hosts with only one node
* to optimize the utilization of... | for hosts with 2 nodes and so on.
*
* If number of hosts is not enough the found subset will be provided.
*/
@PublicAPI
public class DifferentHostsExclusiveDescriptor extends TopologyDescriptor {
/**
* |
SortedPacketListenerList.java | /FileExtraction/Java_unseen/aadnk_ProtocolLib/src/main/java/com/comphenix/protocol/injector/SortedPacketListenerList.java | /*
* ProtocolLib - Bukkit server library that allows access to the Minecraft protocol.
* Copyright (C) 2012 Kristian S. Stangeland
*
* 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; eithe... | 9,310 | Java | .java | aadnk/ProtocolLib | 286 | 92 | 26 | 2012-09-13T19:17:15Z | 2023-08-03T22:06:33Z | 8dcd1cddc19f090da0b3cfc1831c262de302f30a30d2fe9426c4d4bc8611fd14 | [] | [
1127,
222,
338,
244,
15653,
6518,
449,
2755,
17120,
2160,
4277,
708,
6990,
2872,
391,
341,
35022,
7088,
51,
222,
338,
244,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
1242,
11581,
2560,
377,
51,
1277,
701,
6836,
222,
338,
222,
338,
24... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1708,
49,
2016,
312,
621,
221,
13618,
51,
435,
15112,
45,
1977,
49,
1708,
51,
390,
6839,
638,
1052,
374,
221,
130,
376,
221,
130,
832,
320,
374,
221,
999,
327,
27184,
302,
1209,
2239,
65,
6839,
2239,
67,
2016,
518,
1168,
46,
320,
... | 2,729,737,911,269,641,700 | true | false | false | false | [
18706,
1167,
1708,
49,
29163,
10333,
9961,
2365,
46,
320,
376,
221,
2272,
65,
27184,
302,
1209,
2239,
65,
6839,
2239,
2023,
1168,
299,
640,
2239,
45,
1585,
51,
390,
6839,
638,
1052,
4102,
221,
344,
327,
687,
630,
762,
46,
374,
221,
... | 3,478,205,571,176,341,500 | true | event, element);
tracker.endTracking(token, event.getPacketType());
}
} else {
for (PrioritizedListener<PacketListener> element : list) {
invokeReceivingListener(reporter, event, element);
}
}
}
/**
* Invokes the given packet event for every registered listener of the given priority.
* @pa... | (reporter, event, element);
}
}
}
/**
* Invokes the given packet event for every registered listener of the given priority.
* @param reporter - the error reporter that will be used to inform about listener exceptions.
* @param event - the packet event to invoke.
* @param priorityFilter - the required p... | inform about listener exceptions.
* @param event - the packet event to invoke.
* @param priorityFilter - the required priority for a listener to be invoked.
*/
public void invokePacketRecieving(ErrorReporter reporter, PacketEvent event, ListenerPriority priorityFilter) {
Collection<PrioritizedListener<PacketL... | PacketEvent event, ListenerPriority priorityFilter) {
Collection<PrioritizedListener<PacketListener>> list = getListener(event.getPacketType());
if (list == null)
return;
// The returned list is thread-safe
if (timedManager.isTiming()) {
for (PrioritizedListener<PacketListener> element : list) {
... | Tracker tracker = timedManager.getTracker(element.getListener(), ListenerType.SYNC_CLIENT_SIDE);
long token = tracker.beginTracking();
// Measure and record the execution time
invokeReceivingListener(reporter |
MeasurementMetadataPanel.java | /FileExtraction/Java_unseen/langmo_youscope/core/api/src/main/java/org/youscope/uielements/MeasurementMetadataPanel.java | /*******************************************************************************
* Copyright (c) 2017 Moritz Lang.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this distribution, and is available at
* http... | 24,441 | Java | .java | langmo/youscope | 30 | 5 | 9 | 2015-12-02T16:43:34Z | 2022-05-03T20:42:28Z | 80e7d26e06c6c25783fd5f5f8bc8ba4a6941cc2a2b6109e17ee3a78318f43e2e | [] | [
28683,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
60,
29368,
22403,
29783,
51,
222,
338,
3381,
4760,
5225,
51,
1369,
3477,
480,
341,
22156,
12962,
222,
338,
904,
5610,
3322,
1549,
341,
5974,
451,
341,
6994,
5062,
1196,
373,
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 | [
3038,
221,
1350,
376,
338,
12836,
51,
15444,
1187,
3961,
4324,
391,
341,
1168,
451,
3433,
4324,
49,
16458,
13014,
341,
22982,
4324,
327,
2987,
3105,
1222,
607,
489,
4108,
3303,
45,
2272,
4416,
566,
376,
338,
496,
772,
553,
3311,
1966,... | -6,986,989,188,653,603,000 | true | false | false | false | [
20198,
4108,
2588,
492,
376,
221,
2449,
2588,
299,
553,
3311,
1966,
1503,
51,
12712,
2588,
492,
4102,
221,
325,
8977,
642,
1263,
4324,
376,
221,
489,
4108,
3303,
45,
4659,
312,
27726,
310,
6484,
1617,
4836,
2821,
4836,
299,
556,
6484,... | 3,110,276,777,155,936,000 | true |
/**
* Constructor. Adds all provided properties to the list of defined properties, besides the mandatory properties (see {@link #setMetadataProperties(Collection)}).
* @param youscopeClient Reference to the YouScope client object.
* @param properties Properties which should be added, or null to add all defaul... | .
* @param properties Properties which should be added, or null to add all default properties.
* @throws IllegalArgumentException Thrown if youscopeClient is null.
*/
public MeasurementMetadataPanel(YouScopeClient youscopeClient, Collection<MetadataProperty> properties) throws IllegalArgumentException
{
super... | Client, Collection<MetadataProperty> properties) throws IllegalArgumentException
{
super(new BorderLayout());
if(youscopeClient == null)
throw new IllegalArgumentException();
measurementMetadataProvider = youscopeClient.getMeasurementMetadataProvider();
propertyProvider = youscopeClient.getPropertyProvider(... | MeasurementMetadataProvider();
propertyProvider = youscopeClient.getPropertyProvider();
// Initialize with default properties
setMetadataProperties(properties);
PropertyTableEditor propertyEditor = new PropertyTableEditor();
table.setDefaultRenderer(String.class, propertyEditor);
... | Editor(Boolean.class, deleteEditor);
table.setDragEnabled(false);
table.setShowHorizontalLines(true);
table.setShowVerticalLines(true);
table.setShowGrid(false); |
JSInterface.java | /FileExtraction/Java_unseen/Freeyourgadget_Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/webview/JSInterface.java | /* Copyright (C) 2017-2024 Andreas Shimokawa, Carsten Pfeiffer, Daniele
Gobbetti
This file is part of Gadgetbridge.
Gadgetbridge 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... | 9,768 | Java | .java | Freeyourgadget/Gadgetbridge | 4,208 | 656 | 461 | 2015-01-05T23:19:03Z | 2024-03-25T19:39:53Z | a9fc207601f8b43afd3a831c3dede22b0fcac98b7236273995a8db0372b5b7b0 | [] | [
1127,
244,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
50,
55,
53,
55,
57,
4262,
287,
321,
2432,
468,
1273,
29531,
49,
7102,
25005,
466,
1247,
10282,
49,
493,
13734,
293,
303,
590,
926,
8644,
5699,
465,
1369,
822,
458,
1760,
451,
59... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
12157,
51,
1058,
51,
39463,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
1058,
51,
3947,
64,
222,
485,
27272,
2182,
51,
12591,
929,
534,
30426,
390,
51,
30426,
390,
12157,
51,
1058,
51,
85,
... | 3,556,503,980,390,497,000 | true | false | false | false | [
4054,
964,
1922,
458,
2941,
4006,
1580,
9416,
1306,
365,
320,
310,
461,
878,
64,
453,
6443,
1043,
63,
641,
1964,
641,
1019,
2818,
1348,
7651,
9754,
745,
19722,
2872,
580,
1200,
666,
331,
3732,
303,
339,
465,
496,
27438,
3058,
303,
5... | -5,930,558,261,023,618,000 | true | bridge.util.FileUtils;
import nodomain.freeyourgadget.gadgetbridge.util.GB;
import nodomain.freeyourgadget.gadgetbridge.util.PebbleUtils;
public class JSInterface {
private UUID mUuid;
private GBDevice device;
private Integer lastTransaction;
private static final Logger LOG = LoggerFactory.getLogger(... | class JSInterface {
private UUID mUuid;
private GBDevice device;
private Integer lastTransaction;
private static final Logger LOG = LoggerFactory.getLogger(JSInterface.class);
public JSInterface(@NonNull GBDevice device, @NonNull UUID mUuid) {
LOG.debug("Creating JS interface for UUID: "... | UUID mUuid) {
LOG.debug("Creating JS interface for UUID: " + mUuid.toString());
this.device = device;
this.mUuid = mUuid;
this.lastTransaction = 0;
}
private boolean isLocationEnabledForWatchApp() {
return true; //FIXME: as long as we don't give watchapp internet acces... |
private boolean isLocationEnabledForWatchApp() {
return true; //FIXME: as long as we don't give watchapp internet access it's not a problem
}
@JavascriptInterface
public void gbLog(String msg) {
LOG.debug("WEBVIEW webpage log: " + msg);
}
@JavascriptInterface
public Stri... | );
LOG.debug("from WEBVIEW: " + msg + " needs a transaction: " + needsTransaction);
JSONObject knownKeys = PebbleUtils.getAppConfigurationKeys(this.mUuid);
if (knownKeys == null |
HeraExceptionHandler.java | /FileExtraction/Java_unseen/scxwhite_hera/hera-admin/src/main/java/com/dfire/config/HeraExceptionHandler.java | package com.dfire.config;
import com.dfire.common.entity.model.JsonResponse;
import com.dfire.common.entity.model.TableResponse;
import com.dfire.common.exception.NoPermissionException;
import com.dfire.logs.ErrorLog;
import org.springframework.beans.factory.BeanFactoryUtils;
import org.springframework.http.HttpStatus... | 4,784 | Java | .java | scxwhite/hera | 338 | 91 | 29 | 2018-12-29T06:01:01Z | 2023-08-14T07:15:58Z | 5a6bf45fb6b3cf5631937bbe938f93eaf54ee2dbc751d3371e2c89b921f97fe6 | [] | [
1337,
785,
51,
1519,
567,
51,
1180,
64,
222,
222,
485,
785,
51,
1519,
567,
51,
2297,
51,
2244,
51,
1184,
51,
42929,
64,
222,
485,
785,
51,
1519,
567,
51,
2297,
51,
2244,
51,
1184,
51,
1617,
1416,
64,
222,
485,
785,
51,
1519,
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 | [
2210,
4908,
1002,
45,
18804,
1343,
49,
3284,
557,
46,
320,
310,
3099,
1353,
51,
750,
459,
11299,
39,
494,
1343,
51,
22565,
6344,
365,
494,
332,
20579,
9398,
557,
312,
310,
461,
640,
2907,
45,
390,
28050,
45,
1375,
490,
31961,
51,
... | 4,958,153,405,501,314,000 | true | false | false | false | [
35578,
45,
2042,
7052,
1002,
51,
842,
46,
303,
581,
46005,
4908,
2042,
7052,
1002,
45,
18804,
1343,
46,
320,
310,
461,
640,
2907,
45,
390,
28050,
45,
1375,
490,
31961,
51,
7331,
35236,
16031,
49,
332,
10734,
9527,
20119,
411,
332,
6... | -2,021,567,847,697,710,800 | true | Object handlerException(HttpServletRequest request, Exception ex) {
ErrorLog.error("请求" + request.getRequestURI() + "异常:", ex);
return getReturn(getReturnType(request), HttpStatus.INTERNAL_SERVER_ERROR, "请求异常,请联系管理员", "当您看到这个页面,表示该应用出错,请联系管理员进行解决");
}
@ExceptionHandler(MissingServletRequestPa... | 请求异常,请联系管理员", "当您看到这个页面,表示该应用出错,请联系管理员进行解决");
}
@ExceptionHandler(MissingServletRequestParameterException.class)
public Object handlerMissParameterException(HttpServletRequest request) {
return getReturn(getReturnType(request), HttpStatus.BAD_GATEWAY, "参数不完整,请核查", "当你看到这个页面,说明你请求的参数不正确,请核查");
... | ) {
return getReturn(getReturnType(request), HttpStatus.BAD_GATEWAY, "参数不完整,请核查", "当你看到这个页面,说明你请求的参数不正确,请核查");
}
@ExceptionHandler(NoPermissionException.class)
public ModelAndView handlerNoPermissionException(HttpServletRequest request) {
return getReturn(getReturnType(request), HttpStatus.... | ExceptionHandler(NoPermissionException.class)
public ModelAndView handlerNoPermissionException(HttpServletRequest request) {
return getReturn(getReturnType(request), HttpStatus.FORBIDDEN, "操作无权限", "当你看到这个页面,说明你访问了你无权限访问的页面或者请求,请向管理员申请相关权限");
}
@ExceptionHandler(NoHandlerFoundException.class)
p... | request.getRequestURI() + "404异常");
return getReturn(NoHandlerFoundException.class, HttpStatus.NOT_FOUND, "page not found", "当您看到这个页面,表示您的访问出错,这个错误 |
IeeeDoubleTest.java | /FileExtraction/Java_unseen/openjdk_nashorn/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java | /*
* Copyright (c) 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 Softwa... | 18,463 | Java | .java | openjdk/nashorn | 369 | 36 | 0 | 2020-11-05T13:10:30Z | 2023-02-07T18:32:36Z | 7a36c8fb00e8e6d60ebb273d5667d02e9b05932663ba7ad3400f22bae733fc50 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
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,
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 | [
2640,
6105,
63,
1693,
222,
338,
496,
1967,
913,
1159,
1105,
51,
22203,
51,
115,
936,
6164,
51,
3269,
51,
4700,
51,
2640,
6105,
51,
881,
51,
78,
17506,
4090,
1024,
222,
588,
222,
69,
14030,
15540,
18362,
411,
332,
45203,
15147,
222,
... | 310,534,345,182,595,140 | true | false | false | false | [
5409,
39185,
64,
303,
924,
1175,
5409,
21726,
64,
303,
924,
1175,
5409,
315,
64,
303,
924,
1175,
5409,
503,
64,
303,
924,
1175,
12836,
11667,
6366,
126,
28669,
30059,
64,
465,
924,
320,
310,
1614,
320,
343,
1175,
1727,
11667,
457,
1... | 582,079,832,996,224,800 | true | doubleconv:open
* @run testng org.openjdk.nashorn.internal.runtime.doubleconv.test.IeeeDoubleTest
*/
@SuppressWarnings({"unchecked", "javadoc"})
public class IeeeDoubleTest {
static final Method asDiyFp;
static final Method asNormalizedDiyFp;
static final Method doubleToLong;
static final Method long... |
static final Method asDiyFp;
static final Method asNormalizedDiyFp;
static final Method doubleToLong;
static final Method longToDouble;
static final Method isDenormal;
static final Method isSpecial;
static final Method isInfinite;
static final Method isNaN;
static final Method valu... | static final Method isInfinite;
static final Method isNaN;
static final Method value;
static final Method sign;
static final Method nextDouble;
static final Method previousDouble;
static final Method normalizedBoundaries;
static final Method Infinity;
static final Method NaN;
static... | Method Infinity;
static final Method NaN;
static final Method f;
static final Method e;
static final Constructor<?> DiyFpCtor;
static {
try {
final Class<?> IeeeDouble = Class.forName("org.openjdk.nashorn.internal.runtime.doubleconv.IeeeDouble");
final Class DiyFp =... | DiyFp = method(IeeeDouble, "asDiyFp", long.class);
asNormalizedDiyFp = method(IeeeDouble, "asNormalizedDiyFp", long.class);
doubleToLong = method |
SyncLineupNotifyOuterClass.java | /FileExtraction/Java_unseen/Melledy_LunarCore/src/generated/main/emu/lunarcore/proto/SyncLineupNotifyOuterClass.java | // Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.proto;
import java.io.IOException;
import us.hebi.quickbuf.FieldName;
import us.hebi.quickbuf.InvalidProtocolBufferException;
import us.hebi.quickbuf.JsonSink;
import us.hebi.quickbuf.JsonSource;
import us.hebi.quickbuf.MessageFactory;
i... | 11,691 | Java | .java | Melledy/LunarCore | 1,056 | 241 | 16 | 2023-10-10T12:57:35Z | 2024-05-08T12:02:02Z | 34347e4fba0b5c552d738151e17720f6a1cd85d1594d348347f440bf1a75578d | [] | [
325,
4420,
4741,
829,
7088,
3129,
8986,
51,
3291,
666,
4588,
38,
222,
1337,
2667,
122,
51,
31364,
301,
1284,
51,
1822,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1790,
51,
311,
6539,
51,
10593,
1972,
51,
20484,
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 | [
57,
2701,
707,
67,
294,
588,
303,
964,
1175,
7118,
436,
1139,
29094,
51,
1829,
436,
1139,
1646,
436,
299,
7118,
436,
1139,
29094,
51,
1829,
436,
1139,
51,
20237,
492,
465,
1041,
294,
338,
350,
707,
67,
18332,
657,
4774,
10457,
5982,... | 3,435,879,582,195,380,000 | true | false | false | false | [
1646,
436,
299,
244,
57,
2701,
707,
67,
294,
338,
496,
620,
4962,
341,
1646,
436,
1620,
458,
758,
294,
588,
303,
581,
1922,
1421,
1829,
436,
365,
320,
416,
461,
327,
17731,
53,
100,
568,
244,
53,
125,
53,
53,
53,
53,
53,
53,
5... | -3,730,482,112,791,412,700 | true | 4;</code>
*/
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
/**
* <code>repeated.SyncReason reason_list = 9;</code>
*/
private final RepeatedEnum<SyncReasonOuterClass.SyncReason> reasonList = RepeatedEnum.newEmptyInstance(SyncReasonOuter... | >
*/
private final RepeatedEnum<SyncReasonOuterClass.SyncReason> reasonList = RepeatedEnum.newEmptyInstance(SyncReasonOuterClass.SyncReason.converter());
private SyncLineupNotify() {
}
/**
* @return a new empty instance of {@code SyncLineupNotify}
*/
public static SyncLineupNotify n... | * @return a new empty instance of {@code SyncLineupNotify}
*/
public static SyncLineupNotify newInstance() {
return new SyncLineupNotify();
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
* @return whether the lineup field is set
*/
public boolean hasLineup() {
ret... | lineup = 4;</code>
* @return whether the lineup field is set
*/
public boolean hasLineup() {
return (bitField0_ & 0x00000001)!= 0;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
* @return this
*/
public SyncLineupNotify clearLineup() {
bitField0_ &= ~0x | 00000001;
lineup.clear();
return this;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
*
* This method returns the internal |
IObjMetadataDAO.java | /FileExtraction/Java_unseen/KnowageLabs_Knowage-Server/knowagedao/src/main/java/it/eng/spagobi/tools/objmetadata/dao/IObjMetadataDAO.java | /*
* Knowage, Open Source Business Intelligence suite
* Copyright (C) 2016 Engineering Ingegneria Informatica S.p.A.
*
* Knowage 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... | 5,343 | Java | .java | KnowageLabs/Knowage-Server | 389 | 218 | 31 | 2017-05-02T14:58:41Z | 2024-05-08T15:52:36Z | 367aa79ca84f964a14acafca173ba8c5934e40bdece07165108346eaac887e63 | [] | [
1127,
222,
338,
1242,
2192,
400,
49,
3944,
6391,
17256,
38528,
13270,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
26684,
719,
319,
108,
1403,
923,
29288,
706,
102,
377,
51,
117,
51,
70,
51,
222,
338,
222,
338,
1242,
2192,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
396,
707,
4513,
376,
338,
376,
338,
496,
772,
2300,
906,
2300,
456,
341,
5057,
391,
2480,
376,
338,
376,
338,
496,
620,
2262,
350,
707,
67,
3287,
3373,
4252,
396,
707,
67,
1319,
6663,
1187,
3906,
2490,
376,
338,
376,
338,
496,
512... | 6,981,797,740,450,719,000 | true | false | false | false | [
13148,
1259,
943,
1691,
619,
3284,
12341,
376,
588,
499,
221,
739,
65,
3287,
4108,
67,
2480,
1947,
3287,
4108,
365,
2589,
535,
13148,
1259,
943,
64,
499,
221,
1350,
376,
338,
34799,
341,
2487,
391,
5370,
619,
1319,
1200,
5057,
51,
3... | 4,826,755,342,170,121,000 | true | </code>.
*
* @param label The label for the metadata to load
*
* @return An <code>ObjMetada</code> object containing all loaded information
*
* @throws EMFUserError If an Exception occurred
*/
ObjMetadata loadObjMetadataByLabel(String label) throws EMFUserError;
/**
* Loads all detail information for... | Exception occurred
*/
ObjMetadata loadObjMetadataByLabel(String label) throws EMFUserError;
/**
* Loads all detail information for all object's metadata. For each of them, detail information is stored into a <code>ObjMetadata</code> object. After
* that, all metadata are stored into a <code>List</code>, which... | code>ObjMetadata</code> object. After
* that, all metadata are stored into a <code>List</code>, which is returned.
*
* @return A list containing all metadata objects
*
* @throws EMFUserError If an Exception occurred
*/
List<ObjMetadata> loadAllObjMetadata() throws EMFUserError;
/**
* Implements the qu... | MFUserError If an Exception occurred
*/
List<ObjMetadata> loadAllObjMetadata() throws EMFUserError;
/**
* Implements the query to modify an object's metadata. All information needed is stored into the input <code>ObjMetadata</code> object.
*
* @param aObjMetadata The object containing all modify information... | aObjMetadata) throws EMFUserError;
/**
* Implements the query to insert an object's metadata. All information needed is stored into the input <code>ObjMetadata</code> object.
*
* @param a |
ASTBuilder.java | /FileExtraction/Java_unseen/MontysCoconut_moco/src/main/java/de/uni/bremen/monty/moco/ast/ASTBuilder.java | /*
* moco, the Monty Compiler
* Copyright (c) 2013-2014, Monty's Coconut, All rights reserved.
*
* This file is part of moco, the Monty Compiler.
*
* moco 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... | 58,243 | Java | .java | MontysCoconut/moco | 10 | 5 | 3 | 2014-09-24T09:14:46Z | 2017-06-07T21:52:10Z | 2d6ec7a4ee16fc550865f6011023333cb93769d2bc3b32e666fd955201960fdd | [] | [
1127,
222,
338,
7583,
352,
49,
341,
29019,
126,
20178,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
50,
55,
53,
54,
57,
49,
29019,
126,
1200,
5633,
487,
322,
49,
3381,
4760,
5225,
51,
222,
338,
222,
338,
1369,
822,
458,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
588,
222,
1337,
428,
51,
13579,
51,
103,
3560,
291,
51,
25385,
126,
51,
794,
352,
51,
652,
64,
222,
222,
485,
428,
51,
13579,
51,
103,
3560,
291,
51,
25385,
126,
51,
794,
352,
51,
12865,
51,
23199,
126,
1778,
10536,
64,
222,
485... | 5,148,306,471,608,133,000 | true | false | false | false | [
51,
7681,
7737,
222,
485,
428,
51,
13579,
51,
103,
3560,
291,
51,
25385,
126,
51,
794,
352,
51,
652,
51,
7681,
51,
7549,
7737,
222,
485,
428,
51,
13579,
51,
103,
3560,
291,
51,
25385,
126,
51,
794,
352,
51,
652,
51,
9854,
7737,
... | 862,540,321,081,659,500 | true | */
package de.uni.bremen.monty.moco.ast;
import de.uni.bremen.monty.moco.antlr.MontyBaseVisitor;
import de.uni.bremen.monty.moco.antlr.MontyParser;
import de.uni.bremen.monty.moco.antlr.MontyParser.*;
import de.uni.bremen.monty.moco.ast.declaration.*;
import de.uni.bremen.monty.moco.ast.declaration.FunctionDeclaratio... | remen.monty.moco.antlr.MontyParser;
import de.uni.bremen.monty.moco.antlr.MontyParser.*;
import de.uni.bremen.monty.moco.ast.declaration.*;
import de.uni.bremen.monty.moco.ast.declaration.FunctionDeclaration.DeclarationType;
import de.uni.bremen.monty.moco.ast.expression.*;
import de.uni.bremen.monty.moco.ast.expressio... | moco.ast.declaration.*;
import de.uni.bremen.monty.moco.ast.declaration.FunctionDeclaration.DeclarationType;
import de.uni.bremen.monty.moco.ast.expression.*;
import de.uni.bremen.monty.moco.ast.expression.literal.*;
import de.uni.bremen.monty.moco.ast.statement.*;
import de.uni.bremen.monty.moco.util.*;
import org.ant... | .expression.*;
import de.uni.bremen.monty.moco.ast.expression.literal.*;
import de.uni.bremen.monty.moco.ast.statement.*;
import de.uni.bremen.monty.moco.util.*;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4. | runtime.tree.TerminalNode;
import org.apache.commons.io.FilenameUtils;
import java.util.*;
public class ASTBuilder extends MontyBaseVisitor<ASTNode> {
private final String fileName; |
ComplaintsAdapter.java | /FileExtraction/Java_unseen/DevCom-IITB_instiapp-android/app/src/main/java/app/insti/adapter/ComplaintsAdapter.java | package app.insti.adapter;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.res.ColorStateList;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
i... | 16,614 | Java | .java | DevCom-IITB/instiapp-android | 30 | 49 | 16 | 2017-05-19T00:11:33Z | 2022-05-10T20:11:47Z | c8b19fa28b8e916e2c1202825c7811088673372980f2cbd6aa811fbad4cf366e | [] | [
1337,
1142,
51,
2342,
110,
51,
8730,
64,
222,
222,
485,
2616,
51,
745,
51,
3697,
64,
222,
485,
2616,
51,
1304,
51,
41956,
64,
222,
485,
2616,
51,
1304,
51,
595,
51,
1530,
1095,
739,
64,
222,
485,
2616,
51,
519,
51,
4775,
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,... | 1,024 | [
51,
333,
51,
49049,
3250,
312,
343,
38253,
32269,
299,
1565,
1089,
51,
14137,
45,
87,
51,
333,
51,
49049,
32269,
312,
343,
38253,
2665,
4375,
299,
1565,
1089,
51,
14137,
45,
87,
51,
333,
51,
49049,
2941,
4375,
312,
343,
3467,
12504,... | 5,409,255,776,238,894,000 | true | false | false | false | [
3242,
648,
2764,
46,
320,
343,
477,
51,
985,
299,
2764,
64,
343,
3649,
1089,
51,
18903,
45,
909,
4340,
51,
12733,
365,
320,
419,
496,
1806,
419,
581,
782,
7057,
45,
1089,
373,
46,
320,
547,
694,
1422,
51,
1000,
113,
2043,
16361,
... | -6,638,422,161,450,465,000 | true | .id.textViewDescription);
textViewSuggestions = currentView.findViewById(R.id.textViewSuggestions);
textViewlocationDetails = currentView.findViewById(R.id.textViewLocationDetails);
buttonComments = currentView.findViewById(R.id.buttonComments);
buttonVotes = currentView.... | .id.buttonComments);
buttonVotes = currentView.findViewById(R.id.buttonVotes);
notificationsoff = currentView.findViewById(R.id.buttonnotificationsoff);
notificationson = currentView.findViewById(R.id.buttonnotificationson);
textViewComments = currentView.findViewById(R.i... | R.id.buttonnotificationson);
textViewComments = currentView.findViewById(R.id.text_comments);
textViewVotes = currentView.findViewById(R.id.text_votes);
}
private void bindHolder(final int position) {
this.pos = position;
cardView.setOnClickListener(new V... | final int position) {
this.pos = position;
cardView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Venter.Complaint detailedComplaint = complaintList.get(pos);
getComplaint(detailedCo... | setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Venter.Complaint detailedComplaint = complaintList.get(pos);
getComplaint(detailedComplaint |
RTPVideoPacketizer.java | /FileExtraction/Java_unseen/ziacto_spynet-camera/app/src/main/java/com/spynet/camera/network/RTPVideoPacketizer.java | /*
* This file is part of spyNet Camera, the Android IP camera
*
* Copyright (C) 2016-2017 Paolo Dematteis
*
* spyNet Camera 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 Licen... | 10,750 | Java | .java | ziacto/spynet-camera | 37 | 31 | 0 | 2017-03-23T08:33:57Z | 2017-03-21T21:12:16Z | d38eb793a5ec829b36d89e4109bdd7b56966e3a2d28c95edd609a9c6e9cf84c7 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
22047,
3598,
15910,
49,
341,
8107,
4618,
8630,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
50,
55,
53,
54,
60,
466,
3370,
335,
33315,
288,
538,
316,
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 | [
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469... | -1,794,404,440,436,458,500 | true | false | false | false | [
2769,
64,
222,
485,
785,
51,
438,
860,
383,
51,
9002,
51,
3453,
51,
6086,
2163,
64,
222,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
222,
485,
1401,
51,
735,
51,
41741,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
22... | 7,273,324,953,746,627,000 | true | useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org... | GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Paolo Dematteis - spynet314@gmail.com
*/
package com.spynet.camera.network;
import android.util.Log;
import com.spynet.camera.common.TimeStamp;
import com.spynet.camera.common.Utils;
import com.spynet.camera.m... | */
package com.spynet.camera.network;
import android.util.Log;
import com.spynet.camera.common.TimeStamp;
import com.spynet.camera.common.Utils;
import com.spynet.camera.media.VideoFrame;
import org.jetbrains.annotations.NotNull;
import java.io.Closeable;
import java.io.IOException;
import java.net.SocketExceptio... | Utils;
import com.spynet.camera.media.VideoFrame;
import org.jetbrains.annotations.NotNull;
import java.io.Closeable;
import java.io.IOException;
import java.net.SocketException;
import java.util.Random;
/**
* Defines the RTP packetizer to stream AVC video slices.<br>
* To be subclassed to implement the transmissi... | class RTPVideoPacketizer implements Closeable {
protected final String TAG = getClass().getSimpleName();
protected final int CLOSE_TIMEOUT = 1000; // Close timeout in ms
protected final int RTCP_INTERVAL = |
SendRsdsEvent.java | /FileExtraction/Java_unseen/RestComm_smscgateway/core/slee/resource-adaptors/common-library/src/main/java/org/mobicents/smsc/slee/services/smpp/server/events/SendRsdsEvent.java | /*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* 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 GNU Lesser... | 4,946 | Java | .java | RestComm/smscgateway | 122 | 113 | 86 | 2012-08-17T17:49:05Z | 2024-01-09T14:44:14Z | f900dbf441bf289a16d9b8a2f4f36a602c749ee0d1eef8a2708585b487567d51 | [] | [
1127,
222,
338,
22493,
520,
668,
49,
3944,
6391,
7594,
2780,
31174,
244,
2657,
244,
55,
53,
54,
55,
51,
1676,
338,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
2819,
341,
5550,
51,
2787,
347,
341,
7507,
456,
331,
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 | [
564,
2217,
51,
5616,
51,
88,
1172,
117,
2455,
64,
222,
222,
1350,
222,
338,
222,
338,
496,
2133,
1124,
319,
126,
373,
11463,
322,
960,
123,
222,
338,
222,
588,
222,
942,
462,
8573,
87,
46914,
1167,
4584,
19182,
320,
465,
964,
924,... | 6,339,059,064,556,846,000 | true | false | false | false | [
6753,
316,
6156,
64,
303,
339,
465,
581,
782,
758,
11085,
316,
6156,
45,
1309,
11686,
2455,
671,
6753,
316,
6156,
46,
320,
310,
477,
51,
893,
316,
6156,
299,
6753,
316,
6156,
64,
303,
339,
465,
581,
8984,
671,
640,
1201,
41379,
24... | 5,676,661,374,644,104,000 | true | sccp.parameter.SccpAddress;
/**
*
* @author sergey vetyutnev
*
*/
public class SendRsdsEvent implements Serializable {
private static final long serialVersionUID = -7988954210240831695L;
private ISDNAddressString msisdn;
private AddressString serviceCentreAddress;
private SMDeliveryOutcome sMDeli... | 988954210240831695L;
private ISDNAddressString msisdn;
private AddressString serviceCentreAddress;
private SMDeliveryOutcome sMDeliveryOutcome;
private SccpAddress destAddress;
private MAPApplicationContext mapApplicationContext;
private String targetId;
private int networkId;
private S... | SccpAddress destAddress;
private MAPApplicationContext mapApplicationContext;
private String targetId;
private int networkId;
private String mtLocalSccpGt;
public ISDNAddressString getMsisdn() {
return msisdn;
}
public void setMsisdn(ISDNAddressString msisdn) {
this.msisdn... | msisdn;
}
public void setMsisdn(ISDNAddressString msisdn) {
this.msisdn = msisdn;
}
public AddressString getServiceCentreAddress() {
return serviceCentreAddress;
}
public void setServiceCentreAddress(AddressString serviceCentreAddress) {
this.serviceCentreAddress = se... |
}
public void setSMDeliveryOutcome(SMDeliveryOutcome sMDeliveryOutcome) {
this.sMDeliveryOutcome = sMDeliveryOutcome;
}
public SccpAddress getDestAddress() {
return destAddress; |
CandlepinContextListener.java | /FileExtraction/Java_unseen/candlepin_candlepin/src/main/java/org/candlepin/guice/CandlepinContextListener.java | /*
* Copyright (c) 2009 - 2024 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | 15,473 | Java | .java | candlepin/candlepin | 86 | 68 | 1 | 2012-06-07T14:58:35Z | 2024-05-08T14:43:02Z | a469c4fe372f3f14b529cf545aa060ccf1a86e2e8cb72d891b0d009858f5f807 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
449,
244,
55,
53,
55,
57,
4777,
30044,
49,
6367,
51,
222,
338,
222,
338,
1369,
2951,
458,
14391,
391,
863,
1549,
341,
6994,
6153,
5062,
1196,
49,
222,
338,
1522,
244,
55,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
485,
1401,
51,
1058,
51,
21933,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
485,
1401,
51,
1058,
51,
903,
64,
222,
485,
1401,
51,
1058,
... | 5,057,441,529,647,948,000 | true | false | false | false | [
456,
49,
503,
51,
108,
4345,
32907,
10637,
480,
341,
16326,
1087,
990,
9614,
2313,
51,
222,
338,
1369,
1637,
7510,
19980,
1649,
451,
341,
2313,
13603,
1361,
391,
222,
338,
2625,
456,
2313,
14224,
21883,
9677,
14822,
462,
4492,
51,
222... | 4,383,553,041,371,930,600 | true |
import java.util.Enumeration;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.stream.Stream;
import javax.cache.CacheManager;
import javax.persistence.EntityManagerFactory;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent... |
import javax.cache.CacheManager;
import javax.persistence.EntityManagerFactory;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
/**
* Customized Candlepin version of
* {@link GuiceResteasyBootstrapServletContextListener}.
*
* The base version pulls in Guice modules by class name f... | link GuiceResteasyBootstrapServletContextListener}.
*
* The base version pulls in Guice modules by class name from web.xml and
* instantiates them - however we have a need to add in modules
* programmatically for, e.g., servlet filters and the wideplay JPA module.
* This context listener overrides some of the modu... | for, e.g., servlet filters and the wideplay JPA module.
* This context listener overrides some of the module initialization code to
* allow for module specification beyond simply listing class names.
*/
public class CandlepinContextListener extends GuiceResteasyBootstrapServletContextListener {
public static fi... | pin.conf");
private static final Path DEFAULT_CONFIG_DIR = Paths.get("/etc/candlepin/conf.d");
/**
* The (rough) state of this listener's lifecycle, not including transitional states. |
ReviewsTimelineChart.java | /FileExtraction/Java_unseen/WaniKani_Android-Notification/src/com/wanikani/androidnotifier/stats/ReviewsTimelineChart.java | package com.wanikani.androidnotifier.stats;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.EnumMap;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import... | 19,886 | Java | .java | WaniKani/Android-Notification | 34 | 11 | 4 | 2013-05-16T08:22:45Z | 2015-11-26T09:49:57Z | d739f8bd67d233ab5fc6308a0f106dd22a9e810610852c8796733ebb5b93eeba | [] | [
1337,
785,
51,
21990,
1567,
12914,
51,
4048,
34123,
51,
5170,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
897,
51,
41033,
64,
222,
485,
1401,
51,
1058,
51,
9391,
64,
222,
485,
1401,
51,
1058,
51,
1563,
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 | [
328,
8803,
64,
1332,
221,
942,
6297,
768,
327,
32102,
2594,
46,
376,
221,
128,
374,
221,
6061,
755,
64,
8212,
221,
12354,
299,
364,
700,
51,
390,
327,
1850,
312,
8212,
221,
595,
299,
2594,
51,
28213,
8840,
8212,
221,
302,
1433,
29... | -8,167,687,066,669,906,000 | true | false | false | false | [
41812,
1336,
809,
4530,
49,
755,
51,
7080,
327,
87,
51,
819,
51,
2159,
100,
16533,
894,
8212,
221,
18690,
1758,
51,
543,
327,
1114,
51,
638,
51,
18738,
12634,
49,
755,
51,
24849,
327,
87,
51,
1507,
51,
2341,
1599,
894,
374,
221,
... | -4,922,648,341,552,686,000 | true | scolors;
public ResourceData (MainActivity main)
{
Resources res;
meter = mtype.get (main);
res = main.getResources ();
itags = new EnumMap<Item.Type, String> (Item.Type.class);
icolors = new EnumMap<Item.Type, Integer> (Item.Type.class);
itags.put (Item.Type.RADICAL, res.getS... | Type, String> (Item.Type.class);
icolors = new EnumMap<Item.Type, Integer> (Item.Type.class);
itags.put (Item.Type.RADICAL, res.getString (R.string.tag_radicals));
itags.put (Item.Type.KANJI, res.getString (R.string.tag_kanji));
itags.put (Item.Type.VOCABULARY, res.getString (R.string.tag_vocab));
... | getString (R.string.tag_radicals));
itags.put (Item.Type.KANJI, res.getString (R.string.tag_kanji));
itags.put (Item.Type.VOCABULARY, res.getString (R.string.tag_vocab));
icolors.put (Item.Type.RADICAL, res.getColor (R.color.radical));
icolors.put (Item.Type.KANJI, res.getColor (R.color.kanji));
icol... | VOCABULARY, res.getString (R.string.tag_vocab));
icolors.put (Item.Type.RADICAL, res.getColor (R.color.radical));
icolors.put (Item.Type.KANJI, res.getColor (R.color.kanji));
icolors.put (Item.Type.VOCABULARY, res.getColor (R.color.vocabulary));
stags = new Enum | Map<SRSLevel, String> (SRSLevel.class);
scolors = new EnumMap<SRSLevel, Integer> (SRSLevel.class);
stags.put (SRSLevel.APPRENTICE, res |
TransazioneExportModel.java | /FileExtraction/Java_unseen/link-it_govway/core/src/org/openspcoop2/core/transazioni/model/TransazioneExportModel.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.
... | 4,867 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | 4aade714019bacda2b8b1ed7191d2fc065a9088b12a7738a38100fbb1895c619 | [] | [
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,... | 1,024 | [
459,
15110,
411,
1874,
51,
1600,
51,
671,
51,
842,
2376,
1568,
10048,
50,
1376,
411,
1794,
10048,
6171,
51,
842,
312,
376,
221,
597,
51,
10673,
100,
6113,
299,
556,
5697,
459,
1376,
50,
1311,
411,
1874,
51,
1600,
51,
671,
51,
842,... | -1,038,235,144,323,563,400 | true | false | false | false | [
51,
1563,
51,
842,
2376,
1568,
10048,
50,
1376,
411,
1794,
10048,
6171,
51,
842,
312,
376,
221,
597,
51,
6698,
100,
6113,
299,
556,
5697,
459,
2577,
50,
1311,
411,
1874,
51,
1600,
51,
671,
51,
842,
2376,
1568,
10048,
50,
1376,
411... | 153,427,635,425,385,200 | true | ("nome",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.EXPORT_STATE = new Field("export-state",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.EXPORT_ERROR = new Field("export-error",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.E... | TransazioneExport.class);
this.EXPORT_ERROR = new Field("export-error",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.EXPORT_TIME_START = new Field("export-time-start",java.util.Date.class,"transazione-export",TransazioneExport.class);
this.EXPORT_TIME_END = new Field("export-time-end"... | new Field("export-time-start",java.util.Date.class,"transazione-export",TransazioneExport.class);
this.EXPORT_TIME_END = new Field("export-time-end",java.util.Date.class,"transazione-export",TransazioneExport.class);
this.DELETE_STATE = new Field("delete-state",java.lang.String.class,"transazione-export",Transazio... | .Date.class,"transazione-export",TransazioneExport.class);
this.DELETE_STATE = new Field("delete-state",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.DELETE_ERROR = new Field("delete-error",java.lang.String.class,"transazione-export",TransazioneExport.class);
this.DELETE_TIME_START = ... | -start",java.util.Date.class,"transazione-export",TransazioneExport.class);
this.DELETE_TIME_END = new Field("delete-time-end",java.util.Date.class,"trans |
ExpresionesRegulares1.java | /FileExtraction/Java_unseen/rdelcastillo_DAW-Java-2018-21/org/iesgrancapitan/PROGR/ejemplos/expresionesregulares/ExpresionesRegulares1.java | package org.iesgrancapitan.PROGR.ejemplos.expresionesregulares;
import java.util.regex.Pattern;
/**
* Ejemplos con expresiones expresiones.
*
* Fuente: http://chuwiki.chuidiang.org/index.php?title=Expresiones_Regulares_en_Java
*
* @author rafa
*
*/
public class ExpresionesRegulares1 {
public static voi... | 5,098 | Java | .java | rdelcastillo/DAW-Java-2018-21 | 12 | 13 | 0 | 2019-03-05T11:42:38Z | 2022-02-07T19:04:36Z | 8d0ed65c53a45dc8f1ba4942e580f79e4fd4ed973b279548b55f432370828976 | [] | [
1337,
1105,
51,
753,
791,
1981,
386,
21116,
51,
2398,
4290,
51,
17887,
975,
9463,
51,
2858,
595,
8534,
1604,
6278,
595,
64,
222,
222,
485,
1401,
51,
1058,
51,
7927,
51,
5526,
64,
222,
222,
1350,
222,
338,
535,
111,
975,
9463,
476,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
55,
52,
55,
53,
54,
57,
742,
303,
1173,
35917,
45,
7225,
2575,
30069,
54,
49,
332,
54,
54,
52,
54,
55,
52,
55,
53,
54,
57,
742,
303,
1173,
35917,
45,
7225,
2575,
30069,
54,
49,
332,
54,
52,
54,
55,
52,
55,
53,
54,
57,
742,... | -7,581,791,296,834,372,000 | true | false | false | false | [
54,
52,
54,
55,
52,
54,
57,
481,
5701,
742,
244,
453,
2790,
9030,
332,
481,
5701,
39,
2205,
1276,
294,
338,
14668,
805,
15608,
2518,
28992,
27885,
2518,
1871,
17116,
427,
557,
1023,
296,
10515,
332,
2126,
411,
332,
23794,
411,
332,
... | 7,006,238,345,520,202,000 | true | 2/2014");
prueba(patronFecha1, "11/12/2014");
prueba(patronFecha1, "1/12/2014");
prueba(patronFecha1, "11/2/2014");
// Lo siguiente no encaja
prueba(patronFecha1, "11/12/14"); // El año no tiene cuatro cifras
prueba(patronFecha1, "11//2014"); // el mes no tiene una o dos cifras
prueba... | ueba(patronFecha1, "11/2/2014");
// Lo siguiente no encaja
prueba(patronFecha1, "11/12/14"); // El año no tiene cuatro cifras
prueba(patronFecha1, "11//2014"); // el mes no tiene una o dos cifras
prueba(patronFecha1, "11/12/14perico"); // Sobra "perico"
/*
* Supongamos que queremos... | ño no tiene cuatro cifras
prueba(patronFecha1, "11//2014"); // el mes no tiene una o dos cifras
prueba(patronFecha1, "11/12/14perico"); // Sobra "perico"
/*
* Supongamos que queremos que el mes se exprese como "ene", "feb", "mar",... en vez de como un número.
* Cuando hay varias posibles c... | 1/12/14perico"); // Sobra "perico"
/*
* Supongamos que queremos que el mes se exprese como "ene", "feb", "mar",... en vez de como un número.
* Cuando hay varias posibles cadenas válidas, en la expresión regular se ponen entre paréntesis y separadas por |.
* Es decir, algo como esto (ene| | feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic).
*
* Si además nos da igual mayúsculas o minúsculas, justo delante ponemos |
FilterMenuOperationsHook.java | /FileExtraction/Java_unseen/gvSIGAssociation_gvnix/addon-web-mvc-menu/src/main/java/org/gvnix/web/menu/roo/addon/FilterMenuOperationsHook.java | /*
* gvNIX is an open source tool for rapid application development (RAD).
* Copyright (C) 2010 Generalitat Valenciana
*
* 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... | 5,910 | Java | .java | gvSIGAssociation/gvnix | 40 | 20 | 11 | 2013-04-18T11:17:21Z | 2016-03-02T12:01:42Z | a61832d8a7832da0d69e73703a47c66b6ba5b07d8c00324665907c8a93fb6e73 | [] | [
1127,
222,
338,
43285,
83,
6588,
458,
619,
2177,
1932,
4572,
456,
26661,
3039,
8230,
327,
18738,
566,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
53,
6153,
46753,
4285,
1344,
31242,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1105,
51,
2121,
51,
25003,
801,
51,
10340,
51,
8839,
51,
1735,
64,
222,
485,
1105,
51,
2121,
51,
25003,
801,
51,
10340,
51,
8839,
51,
3580,
64,
222,
485,
1105,
51,
2121,
51,
25003,
801,
51,
10340,
51,
8839,
51,
1201,
64,
222,
48... | -9,142,088,206,401,421,000 | true | false | false | false | [
338,
3105,
1222,
9999,
11212,
130,
2733,
63,
222,
338,
350,
357,
67,
222,
338,
350,
393,
789,
110,
67,
1580,
1343,
664,
1623,
36461,
396,
110,
67,
2762,
2277,
1611,
1074,
63,
222,
338,
3105,
1222,
9999,
11212,
5401,
5014,
393,
67,
... | -9,001,854,729,390,886,000 | true | org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.Service;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.hooks.service.FindHook;
import org.osgi.service.component.Compon... | .BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.hooks.service.FindHook;
import org.osgi.service.component.ComponentContext;
import org.springframework.roo.addon.web.mvc.jsp.menu.MenuOperations;
import org.springframework.roo.support.logging.HandlerUtils;
/**
* This class filter t... | o.addon.web.mvc.jsp.menu.MenuOperations;
import org.springframework.roo.support.logging.HandlerUtils;
/**
* This class filter the find operation result made to OSGi framework for
* {@link MenuOperations} service:
* <ul>
* <li><i>For request from other bundles</i> Return just one result:
* {@link MenuOperationsPro... | * {@link MenuOperations} service:
* <ul>
* <li><i>For request from other bundles</i> Return just one result:
* {@link MenuOperationsProxy}</li>
* <li><i>For request from this bundles</i> Return all services</li>
* </ul>
* <br>
* To identify the kind of service without accessing to its class instance, it
* uses... | OperationsImpl} and
* {@link MenuOperationsProxy}. The service reference which has no properties is
* the original service. <br>
* <br>
* <b>Very Important</b> This service <b> |
CrystalMimic.java | /FileExtraction/Java_unseen/TrashboxBobylev_Experienced-Pixel-Dungeon-Redone/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalMimic.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2024 Evan Debenham
*
* Experienced Pixel Dungeon
* Copyright (C) 2019-2024 Trashbox Bobylev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 6,224 | Java | .java | TrashboxBobylev/Experienced-Pixel-Dungeon-Redone | 50 | 9 | 20 | 2020-08-01T19:11:00Z | 2024-04-11T18:53:02Z | 4b479b0f873b0ea96fb0c63845c24061bffba56e7df1a69f4be6b2df56a4b9d4 | [] | [
1127,
222,
338,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
58,
565,
2358,
493,
4628,
102,
222,
338,
222,
338,
2432,
6319,
337,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
31869,
51,
15263,
51,
21823,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
16413,
51,
2917,
13931,
64,
222,
485,
785,
51,
635... | 4,039,809,367,004,576,300 | true | false | false | false | [
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
3053,
51,
119,
2070,
51,
16824,
64,
222,
485,
785,
51,
635,
6319,
337,
7807,
51,
635,
6319,
337,
7807,
105,
28253,
51,
3053,
51,
5828,
120,
51,
5606,
1436,
46432,
387,
64,
222,
... | 3,825,971,970,298,798,000 | true | shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.items.Heap;
import com.shatteredpixel.shatteredpixeldungeon.items.Honeypot;
import co... | edpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.items.Heap;
import com.shatteredpixel.shatteredpixeldungeon.items.Honeypot;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.Artifact;
import com.shatteredpixel.shatte... | ypot;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.Artifact;
import com.shatteredpixel.shatteredpixeldungeon.items.rings.Ring;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfTeleportation;
import com.shatteredpixel.sha... | edpixel.shatteredpixeldungeon.items.rings.Ring;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfTeleportation;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixel | dungeon.sprites.MimicSprite;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.watabou.noosa.audio.Sample;
import com.w |
AutoTrap.java | /FileExtraction/Java_unseen/Ace8Underscore_CousinWare/src/main/java/io/ace/nordclient/hacks/combat/AutoTrap.java | package io.ace.nordclient.hacks.combat;
import io.ace.nordclient.CousinWare;
import io.ace.nordclient.command.Command;
import io.ace.nordclient.event.PacketEvent;
import io.ace.nordclient.hacks.Hack;
import io.ace.nordclient.managers.FriendManager;
import io.ace.nordclient.mixin.accessor.ICPacketPlayer;
import io.ace.... | 11,995 | Java | .java | Ace8Underscore/CousinWare | 27 | 15 | 0 | 2020-08-18T15:33:02Z | 2021-09-24T03:01:02Z | 2d94c17375defa27ba7d4deec2dcd8d8623ffef68780f0d67b0968bde2bf0b3a | [] | [
1337,
3377,
51,
579,
51,
115,
675,
1598,
51,
15267,
120,
51,
527,
8237,
64,
222,
222,
485,
3377,
51,
579,
51,
115,
675,
1598,
51,
2253,
371,
285,
45838,
64,
222,
485,
3377,
51,
579,
51,
115,
675,
1598,
51,
2514,
51,
2037,
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 | [
485,
3723,
51,
8654,
51,
1058,
51,
2773,
45207,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
2246,
3010,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
5728,
2775,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851... | 7,672,321,453,498,774,000 | true | false | false | false | [
18717,
64,
303,
15478,
1307,
34686,
11381,
64,
303,
15478,
6999,
298,
38603,
64,
303,
15478,
5783,
6682,
2116,
64,
4054,
1922,
19300,
43953,
10486,
64,
465,
964,
7276,
3516,
18135,
2937,
64,
465,
581,
7998,
38603,
365,
320,
310,
2615,
... | 239,861,558,679,330,530 | true | import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3d;
import team.stiff.pomelo.impl.annotated.handler.annotation.Listener;
import java.util.ArrayList;
import java.util.List;
public class AutoTrap extends Hack {
... |
import team.stiff.pomelo.impl.annotated.handler.annotation.Listener;
import java.util.ArrayList;
import java.util.List;
public class AutoTrap extends Hack {
boolean north, south, east, west;
int delay = 0;
int delayToggle = 0;
int startingHand;
int obsidianSlot = 0;
Setting placeRange;
... | , south, east, west;
int delay = 0;
int delayToggle = 0;
int startingHand;
int obsidianSlot = 0;
Setting placeRange;
Setting placeDelay;
Setting toggleTicks;
Setting noGhostBlocks;
Setting directionalTrap;
Setting headFixMode;
boolean packetsBeingSent;
private EntityP... | Ticks;
Setting noGhostBlocks;
Setting directionalTrap;
Setting headFixMode;
boolean packetsBeingSent;
private EntityPlayer closestTarget;
public AutoTrap() {
super("AutoTrap", Category.COMBAT, 13648212);
CousinWare.INSTANCE.settingsManager.rSetting(placeRange = new Setting("P... | TrapPlaceRange"));
CousinWare.INSTANCE.settingsManager.rSetting(placeDelay = new Setting("PlaceDelay", this, 2, 0, 20, true, "AutoTrapPlaceDelay"));
Cous |
CylinderStructure.java | /FileExtraction/Java_unseen/sambayless_golems/src/com/golemgame/structural/structures/CylinderStructure.java | /*******************************************************************************
* Copyright 2008, 2009, 2010 Sam Bayless.
*
* This file is part of Golems.
*
* Golems is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | 9,531 | Java | .java | sambayless/golems | 9 | 1 | 0 | 2015-06-04T19:02:59Z | 2015-06-04T19:05:02Z | a829196c046b270396d6deb5e9f63f72ba9adc83e71649e2e0d7edbec9506783 | [] | [
28683,
222,
338,
2657,
244,
55,
53,
53,
61,
49,
244,
55,
53,
53,
62,
49,
244,
55,
53,
54,
53,
26159,
27192,
2290,
51,
222,
338,
1676,
338,
281,
1369,
822,
458,
1760,
451,
590,
2652,
893,
51,
222,
338,
1676,
338,
281,
590,
2652... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
338,
1676,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
281,
7979,
642,
590,
2652,
893,
51,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
39664,
222,... | -6,530,362,438,844,947,000 | true | false | false | false | [
51,
1184,
51,
8288,
51,
4900,
638,
971,
51,
4900,
4749,
64,
222,
485,
785,
51,
1724,
2078,
3642,
51,
21557,
51,
1667,
1095,
64,
222,
485,
785,
51,
1724,
2078,
3642,
51,
21557,
51,
1667,
2796,
64,
222,
485,
785,
51,
1724,
2078,
3... | 2,033,306,056,599,751,200 | true | *
* You should have received a copy of the GNU General Public License
* along with Golems. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
package com.golemgame.structural.structures;
import java.util.Collection;
import com.golem... | structural.structures;
import java.util.Collection;
import com.golemgame.model.Model;
import com.golemgame.model.spatial.NodeModel;
import com.golemgame.model.spatial.SpatialModel;
import com.golemgame.model.spatial.shape.CylinderFacade;
import com.golemgame.model.spatial.shape.CylinderModel;
import com.golemgame.mod... | model.spatial.SpatialModel;
import com.golemgame.model.spatial.shape.CylinderFacade;
import com.golemgame.model.spatial.shape.CylinderModel;
import com.golemgame.model.texture.TextureTypeKey.TextureShape;
import com.golemgame.mvc.PropertyState;
import com.golemgame.mvc.PropertyStore;
import com.golemgame.mvc.SimpleProp... | .model.texture.TextureTypeKey.TextureShape;
import com.golemgame.mvc.PropertyState;
import com.golemgame.mvc.PropertyStore;
import com.golemgame.mvc.SimplePropertyState;
import com.golemgame.mvc.golems.CylinderInterpreter;
import com.golemgame.mvc.golems.SpatialInterpreter;
import com.golemgame.properties.Property;
imp... | .golemgame.structural.collision.CollisionMember;
import com.golemgame.tool.action.Action;
import com.golemgame.tool.action.ActionTypeException;
import com.golemgame. |
PlayerNotificationService.java | /FileExtraction/Java_unseen/antonyhaman_youtube-audio-player/app/src/main/java/com/github/kotvertolet/youtubeaudioplayer/services/PlayerNotificationService.java | package com.github.kotvertolet.youtubeaudioplayer.services;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import and... | 16,573 | Java | .java | antonyhaman/youtube-audio-player | 55 | 15 | 8 | 2019-06-25T20:15:27Z | 2020-10-18T00:25:23Z | 91572ae6e78088a06cead575111f9f034fb980bb37b8f79992c97e4335768cb6 | [] | [
1337,
785,
51,
951,
51,
40615,
443,
471,
749,
51,
11233,
14010,
24264,
1842,
51,
4270,
64,
222,
222,
485,
2616,
51,
745,
51,
6258,
64,
222,
485,
2616,
51,
745,
51,
6258,
3542,
64,
222,
485,
2616,
51,
745,
51,
6258,
1590,
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 | [
51,
16092,
51,
12715,
1590,
64,
222,
485,
785,
51,
951,
51,
40615,
443,
471,
749,
51,
11233,
14010,
24264,
1842,
51,
16092,
51,
2297,
51,
5248,
2769,
64,
222,
485,
785,
51,
2193,
51,
4048,
51,
346,
539,
1842,
55,
51,
3516,
64,
2... | 6,292,406,108,936,308,000 | true | false | false | false | [
14010,
24264,
1842,
51,
16092,
51,
2297,
51,
5238,
51,
8755,
100,
19409,
100,
6113,
100,
27702,
64,
222,
485,
924,
785,
51,
951,
51,
40615,
443,
471,
749,
51,
11233,
14010,
24264,
1842,
51,
16092,
51,
2297,
51,
5238,
51,
20175,
100,... | -4,592,320,520,520,282,000 | true | .utilities.ReceiverManager;
import com.github.kotvertolet.youtubeaudioplayer.utilities.common.CommonUtils;
import com.google.android.exoplayer2.Player;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import androidx.annotation.Nullable;
import androidx.core.app.NotificationCompat;
... | .SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import androidx.annotation.Nullable;
import androidx.core.app.NotificationCompat;
import static androidx.core.app.NotificationCompat.PRIORITY_MAX;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.ACTION_PLAYER_CHANGE_... | Compat.PRIORITY_MAX;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.ACTION_PLAYER_CHANGE_STATE;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.ACTION_PLAYER_STATE_CHANGED;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Con... | audioplayer.utilities.common.Constants.ACTION_PLAYER_STATE_CHANGED;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.EXTRA_PLAYBACK_STATUS;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.EXTRA_PLAYER_STATE_CODE;
import static com.github.kotvertolet.y... | Constants.EXTRA_SONG;
import static com.github.kotvertolet.youtubeaudioplayer.utilities.common.Constants.PLAYBACK_PROGRESS_CHANGED;
import static com.github.kotvertolet.youtube |
ScrollOfTeleportation.java | /FileExtraction/Java_unseen/00-Evan_shattered-pixel-dungeon-gdx/core/src/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfTeleportation.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 6,634 | Java | .java | 00-Evan/shattered-pixel-dungeon-gdx | 134 | 40 | 0 | 2014-10-23T23:29:17Z | 2020-04-16T17:17:54Z | 9e12aff45ce20d4e4320b1611218b72e7f87ac8fe88386ff143f554f0b8ea6b7 | [] | [
1127,
222,
338,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
55,
50,
55,
53,
54,
58,
244,
565,
2358,
493,
4628,
102,
222,
338,
222,
338,
2432,
6319,
337,
20244,
493,
28253,
222,
338,
2657,
327,
72,
46,
244,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
785,
51,
124,
1626,
663,
51,
2324,
51,
1962,
64,
222,
485,
785,
51,
124,
1626,
663,
51,
2324,
51,
6124,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
942,
462,
19160,
1436,
46432,
387,
2041,
19160,
320,
499,
22... | 8,960,177,895,020,532,000 | true | false | false | false | [
390,
45,
597,
49,
332,
1365,
100,
11448,
678,
1110,
374,
221,
620,
64,
376,
221,
130,
4102,
221,
3783,
7320,
51,
1632,
2917,
45,
909,
9880,
4454,
51,
2239,
365,
320,
374,
221,
69,
1806,
374,
221,
942,
782,
46140,
45,
3078,
1780,
... | -2,471,249,410,303,726,600 | true | import com.watabou.utils.Point;
import com.watabou.utils.Random;
import java.util.ArrayList;
public class ScrollOfTeleportation extends Scroll {
{
initials = 8;
}
@Override
public void doRead() {
Sample.INSTANCE.play( Assets.SND_READ );
Invisibility.dispel();
teleportPreferringUnseen( curUser );
s... | = 8;
}
@Override
public void doRead() {
Sample.INSTANCE.play( Assets.SND_READ );
Invisibility.dispel();
teleportPreferringUnseen( curUser );
setKnown();
readAnimation();
}
@Override
public void empoweredRead() {
if (Dungeon.bossLevel()){
GLog.w( Messages.get(this, "no_tele") );
retur... | ( curUser );
setKnown();
readAnimation();
}
@Override
public void empoweredRead() {
if (Dungeon.bossLevel()){
GLog.w( Messages.get(this, "no_tele") );
return;
}
GameScene.selectCell(new CellSelector.Listener() {
@Override
public void onSelect(Integer target) {
if (target!= null) {
... | get(this, "no_tele") );
return;
}
GameScene.selectCell(new CellSelector.Listener() {
@Override
public void onSelect(Integer target) {
if (target!= null) {
//time isn't spent
((HeroSprite)curUser.sprite).read();
teleportToLocation(curUser, target);
}
}
@Override
... | String prompt() {
return Messages.get(ScrollOfTeleportation.class, "prompt");
}
});
}
public static void teleportToLocation(Hero hero, int pos){
PathFinder |
ApplyToTarget.java | /FileExtraction/Java_unseen/ratrecommends_dice-heroes/main/src/com/vlaaad/dice/game/actions/imp/ApplyToTarget.java | /*
* Dice heroes is a turn based rpg-strategy game where characters are dice.
* Copyright (C) 2016 Vladislav Protsenko
*
* 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... | 5,033 | Java | .java | ratrecommends/dice-heroes | 154 | 36 | 4 | 2016-05-06T10:40:14Z | 2022-10-07T21:13:53Z | 4e3dd7888c450bf60c8c093f00670bf351ef9d549aca1b7de6bbf95a3d47ed8f | [] | [
1127,
222,
338,
493,
584,
24294,
326,
458,
331,
6940,
4148,
559,
2340,
50,
14008,
4204,
2174,
7152,
904,
30122,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
694,
20233,
20890,
472,
1330,
1448,
43526,
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,... | 1,024 | [
64,
222,
485,
785,
51,
11392,
2336,
358,
51,
2297,
51,
1058,
51,
14847,
64,
222,
485,
785,
51,
11392,
2336,
358,
51,
2297,
51,
1058,
51,
43355,
51,
8271,
64,
222,
485,
785,
51,
11392,
2336,
358,
51,
2297,
51,
1058,
51,
43355,
51... | -6,757,539,757,582,567,000 | true | false | false | false | [
1180,
51,
5855,
51,
2230,
64,
222,
485,
785,
51,
11392,
2336,
358,
51,
31050,
51,
3642,
51,
1180,
51,
1402,
2473,
31594,
51,
1338,
2473,
31594,
64,
222,
485,
785,
51,
11392,
2336,
358,
51,
31050,
51,
3642,
51,
5754,
51,
31565,
64,... | 7,623,884,137,798,481,000 | true | ;
import com.vlaaad.common.util.Numbers;
import com.vlaaad.common.util.futures.Future;
import com.vlaaad.common.util.futures.IFuture;
import com.vlaaad.common.util.futures.IFutureListener;
import com.vlaaad.dice.game.actions.CreatureAction;
import com.vlaaad.dice.game.actions.results.IActionResult;
import com.vlaaad.di... | com.vlaaad.common.util.futures.IFutureListener;
import com.vlaaad.dice.game.actions.CreatureAction;
import com.vlaaad.dice.game.actions.results.IActionResult;
import com.vlaaad.dice.game.config.CreatureActionFactory;
import com.vlaaad.dice.game.config.abilities.Ability;
import com.vlaaad.dice.game.config.attributes.At... | ActionResult;
import com.vlaaad.dice.game.config.CreatureActionFactory;
import com.vlaaad.dice.game.config.abilities.Ability;
import com.vlaaad.dice.game.config.attributes.Attribute;
import com.vlaaad.dice.game.config.thesaurus.Thesaurus;
import com.vlaaad.dice.game.objects.Creature;
import com.vlaaad.dice.game.objects... | config.attributes.Attribute;
import com.vlaaad.dice.game.config.thesaurus.Thesaurus;
import com.vlaaad.dice.game.objects.Creature;
import com.vlaaad.dice.game.objects.WorldObject;
import com.vlaaad.dice.game.world.World;
import com.vlaaad.dice.game.world.behaviours.BehaviourRequest;
import | com.vlaaad.dice.game.world.behaviours.params.AbilityCreatureParams;
import com.vlaaad.dice.game.world.controllers.BehaviourController;
import java.util.Map; |
ErrorRateAdvancedDialog.java | /FileExtraction/Java_unseen/Transkribus_TranskribusSwtGui/src/main/java/eu/transkribus/swt_gui/dialogs/ErrorRateAdvancedDialog.java | package eu.transkribus.swt_gui.dialogs;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import javax.ws.rs.ClientErrorException;
import javax.ws.rs.ServerErrorException;
import org.ap... | 22,275 | Java | .java | Transkribus/TranskribusSwtGui | 18 | 4 | 96 | 2016-02-22T18:06:28Z | 2020-10-27T08:57:16Z | f2002b92ae4f2c3ea433acadedbda61f25a338ec36a40e846e545475696c4d24 | [] | [
1337,
14604,
51,
1568,
112,
363,
4906,
51,
28519,
100,
8472,
51,
41463,
64,
499,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
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,
28519,
51,
12081,
51,
2436,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
3948,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
1582,
64,
222,
485,
1105,
51,
8327,
51,
28519,
51,
12081,
51,
2186,
64,
222,
4... | 3,889,581,829,139,035,000 | true | false | false | false | [
1058,
51,
875,
117,
21089,
1002,
64,
222,
485,
14604,
51,
1568,
112,
363,
4906,
51,
1284,
51,
1184,
51,
9580,
51,
875,
117,
27067,
943,
5595,
64,
222,
485,
14604,
51,
1568,
112,
363,
4906,
51,
1284,
51,
1184,
51,
9580,
51,
875,
... | 7,028,267,070,145,059,000 | true | .swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.ui.forms.widgets.ExpandableComposite;
import org.slf4j.Logger;
import org.slf4j.L... | .widgets.Shell;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.ui.forms.widgets.ExpandableComposite;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import eu.transkribus.client.util.SessionExpiredException;
import eu.transkribus.client.util.TrpClientErrorException;
import eu.transkribus.clien... | .LoggerFactory;
import eu.transkribus.client.util.SessionExpiredException;
import eu.transkribus.client.util.TrpClientErrorException;
import eu.transkribus.client.util.TrpServerErrorException;
import eu.transkribus.core.model.beans.TrpBaselineErrorRate;
import eu.transkribus.core.model.beans.TrpBaselineErrorRateListEn... | util.TrpServerErrorException;
import eu.transkribus.core.model.beans.TrpBaselineErrorRate;
import eu.transkribus.core.model.beans.TrpBaselineErrorRateListEntry;
import eu.transkribus.core.model.beans.TrpCollection;
import eu.transkribus.core.model.beans.TrpDoc;
import eu.transkribus.core.model | .beans.TrpErrorRate;
import eu.transkribus.core.model.beans.TrpPage;
import eu.transkribus.core.model.beans.TrpTranscriptMetadata;
import eu |
ScoreAdapter.java | /FileExtraction/Java_unseen/WeGdufe_SmallGdufe-Android/app/src/main/java/com/guang/app/adapter/ScoreAdapter.java | package com.guang.app.adapter;
import android.content.Context;
import android.view.View;
import android.widget.CompoundButton;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.guang.app.R;
import com.guang.app.model.Score;
import com.guang.app.util... | 3,891 | Java | .java | WeGdufe/SmallGdufe-Android | 20 | 6 | 0 | 2017-04-22T11:35:30Z | 2023-04-30T09:41:54Z | 6fe0e8e163e3517b4bfcaea0daf6bdb226ce6db80f180eed886319d7aefd442b | [] | [
1337,
785,
51,
3114,
761,
51,
745,
51,
8730,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
18133,
1732,
64,
222,
222,
485,
785,
51,
399,
358,
51,
5261,
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 | [
343,
496,
1806,
343,
581,
782,
563,
42796,
45,
18133,
1732,
3467,
1089,
49,
1922,
458,
9027,
46,
320,
419,
42926,
51,
18215,
45,
87,
51,
333,
51,
5142,
100,
8976,
463,
49,
458,
9027,
312,
419,
42926,
51,
18215,
45,
87,
51,
333,
... | -3,066,132,701,226,283,000 | true | false | false | false | [
18973,
5114,
244,
11065,
10628,
13323,
9417,
15412,
32534,
1140,
8841,
18947,
3977,
36355,
8605,
3677,
547,
42926,
51,
28987,
45,
87,
51,
333,
51,
5142,
100,
2578,
100,
8976,
463,
100,
4652,
566,
14426,
2668,
492,
419,
339,
343,
339,
... | 6,004,927,869,124,011,000 | true |
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
viewHolder.setVisible(R.id.score_expandable, isChecked);
viewHolder.setVisible(R.id.score_item_separator, isChecked);
}
});
//让整个内容条的点击都生效 显示/隐藏信息 ,... | , isChecked);
}
});
//让整个内容条的点击都生效 显示/隐藏信息 ,提高体验
viewHolder.getView(R.id.layout_score_item_content).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (view.getId()!= R.id.score_btn_expandable_toggle) ... | .OnClickListener() {
@Override
public void onClick(View view) {
if (view.getId()!= R.id.score_btn_expandable_toggle) { //虽然想防止多次点击(听声音) 但好像没什么效果,该条件要不要都行
viewHolder.getView(R.id.score_btn_expandable_toggle).performClick();
}
}
... | 音) 但好像没什么效果,该条件要不要都行
viewHolder.getView(R.id.score_btn_expandable_toggle).performClick();
}
}
});
colorTextViewByScore(viewHolder, R.id.tv_score, item.getScore());
colorTextViewByScore(viewHolder, R.id.tv_score_daily, item.getDailyScore());
... | .id.tv_score_paper, item.getPaperScore());
}
//根据分数填充颜色,实验成绩不需要填充,暂没做 重修判断
private void colorTextViewByScore( |
BackupDataExporter.java | /FileExtraction/Java_unseen/mvarnagiris_financius/financius/src/main/java/com/code44/finance/data/backup/BackupDataExporter.java | package com.code44.finance.data.backup;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import com.code44.finance.data.Query;
import com.code44.finance.data.db.Tables;
import com.code44.finance.data.model.Account;
import com.code44.finance.data.model.Category;
import com.code44... | 8,717 | Java | .java | mvarnagiris/financius | 627 | 254 | 107 | 2013-11-10T14:24:12Z | 2019-05-12T20:53:22Z | 662697343234fac9479766b99a8345c20e6c00b52c5079d30a3f76934046581f | [] | [
1337,
785,
51,
707,
57,
57,
51,
30364,
51,
624,
51,
10196,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
4617,
51,
7424,
64,
222,
485,
2616,
51,
1317,
51,
5729,
64,
222,
222,
485,
785,
51,
707,
57,
57,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
312,
310,
7294,
51,
435,
1280,
492,
603,
7294,
51,
444,
459,
3981,
1912,
2425,
1280,
492,
310,
2886,
6763,
45,
7595,
312,
310,
7294,
51,
435,
1280,
492,
603,
7294,
51,
444,
459,
12900,
1912,
2425,
1280,
492,
310,
2886,
15551,
45,
... | -5,330,591,890,143,839,000 | true | false | false | false | [
51,
3469,
72,
26017,
1046,
43931,
51,
12096,
19278,
51,
2398,
45373,
312,
310,
1614,
320,
343,
434,
327,
7033,
51,
23061,
3485,
1177,
320,
419,
1175,
24056,
2222,
12429,
2222,
299,
556,
24056,
2222,
492,
419,
764,
320,
547,
12429,
222... | 553,199,485,591,400,000 | true | );
writer.endArray();
writer.name("tags").beginArray();
writeTags(writer);
writer.endArray();
writer.name("accounts").beginArray();
writeAccounts(writer);
writer.endArray();
writer.name("transactions").beginArray();
writeTransactions(writer);
... | ();
writer.name("transactions").beginArray();
writeTransactions(writer);
writer.endArray();
writer.endObject();
writer.close();
}
private void writeMetaData(JsonWriter writer) throws IOException {
writer.name("version").value(VERSION);
writer.name("time... | writer.name("version").value(VERSION);
writer.name("timestamp").value(System.currentTimeMillis());
}
private void writeCurrencies(JsonWriter writer) throws IOException {
final Cursor cursor = getCursor(CurrenciesProvider.uriCurrencies(), Tables.CurrencyFormats.PROJECTION);
try {
... | .uriCurrencies(), Tables.CurrencyFormats.PROJECTION);
try {
if (cursor.moveToFirst()) {
final CurrencyFormat currencyFormat = new CurrencyFormat();
do {
currencyFormat.updateFromCursor(cursor, null);
writer.beginObject();
... | symbol_position").value(currencyFormat.getSymbolPosition().asInt());
writer.name("decimal_separator").value(currencyFormat.getDecimalSeparator().symbol());
writer.name("group_separator").value(currencyFormat. |
MultiSettings.java | /FileExtraction/Java_unseen/iterate-ch_cyberduck/storegate/src/main/java/ch/cyberduck/core/storegate/io/swagger/client/model/MultiSettings.java | /*
* Storegate api v4.2
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v4.2
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the ... | 21,646 | Java | .java | iterate-ch/cyberduck | 2,975 | 275 | 406 | 2017-01-20T14:16:34Z | 2024-05-08T13:52:29Z | 75457ad884ff42542a743f138e73248900c4395444d2d24f76e37803b9fe3890 | [] | [
1127,
222,
338,
6433,
1604,
351,
4142,
373,
57,
51,
55,
222,
338,
3155,
3066,
3961,
327,
6413,
829,
28730,
4420,
2536,
1698,
574,
951,
51,
527,
52,
13166,
50,
1256,
52,
13166,
50,
18830,
46,
222,
338,
222,
338,
33650,
1394,
1522,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
24696,
10338,
5425,
678,
353,
964,
5080,
503,
333,
10338,
5425,
299,
762,
64,
736,
496,
10255,
459,
24696,
10338,
5425,
4878,
8610,
678,
353,
964,
5080,
503,
333,
10338,
5425,
4878,
8610,
299,
762,
64,
736,
496,
10255,
459,
5332,
1033... | -8,017,484,947,864,856,000 | true | false | false | false | [
46249,
678,
353,
964,
5080,
4762,
42129,
38197,
46249,
299,
762,
64,
736,
581,
10497,
2977,
7058,
8590,
45,
739,
65,
3078,
67,
7058,
8590,
46,
320,
303,
477,
51,
9564,
8590,
299,
7058,
8590,
64,
303,
461,
477,
64,
353,
339,
736,
5... | 9,074,856,773,394,779,000 | true | eidShareRequired")
private Boolean eidShareRequired = null;
@JsonProperty("eidShareRequiredSendMail")
private Boolean eidShareRequiredSendMail = null;
@JsonProperty("protectedShareRequired")
private Boolean protectedShareRequired = null;
@JsonProperty("protectedShareRequiredSendMail")
private Boolean p... | = null;
@JsonProperty("protectedShareRequiredSendMail")
private Boolean protectedShareRequiredSendMail = null;
@JsonProperty("twoFactorLoginRequired")
private Boolean twoFactorLoginRequired = null;
@JsonProperty("officeDesktop")
private Boolean officeDesktop = null;
@JsonProperty("backupAccessPasswor... |
private Boolean officeDesktop = null;
@JsonProperty("backupAccessPassword")
private String backupAccessPassword = null;
@JsonProperty("ipRestrictions")
private List<String> ipRestrictions = null;
@JsonProperty("ipRestrictionsSharesExcluded")
private Boolean ipRestrictionsSharesExcluded = null;
publ... | Excluded")
private Boolean ipRestrictionsSharesExcluded = null;
public MultiSettings versionsAvailable(List<Integer> versionsAvailable) {
this.versionsAvailable = versionsAvailable;
return this;
}
public MultiSettings addVersionsAvailableItem(Integer versionsAvailableItem) {
if (this.versionsAvail... | * Lists the available settings for versioning.
* @return versionsAvailable
**/
@ApiModelProperty(value = "Lists the available settings for versioning.")
public List<Integer> getVersionsAvailable() {
return versionsAvailable;
}
public |
ApplePushNotificationServiceTest.java | /FileExtraction/Java_unseen/simlar_simlar-server/src/test/java/org/simlar/simlarserver/services/pushnotification/apple/ApplePushNotificationServiceTest.java | /*
* Copyright (C) 2019 The Simlar Authors.
*
* This file is part of Simlar. (https://www.simlar.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 version 2
* of the License,... | 7,407 | Java | .java | simlar/simlar-server | 15 | 2 | 4 | 2018-08-14T17:55:52Z | 2024-05-07T22:05:23Z | e899d7225563593a492035014a523c3b4a54e460ad2620550a06e751f1773979 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
906,
9329,
4055,
14006,
51,
222,
338,
222,
338,
1369,
822,
458,
1760,
451,
9329,
4055,
51,
327,
662,
574,
1516,
51,
4535,
4055,
51,
1107,
46,
222,
338,
222,
338,
1369,
3477... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
4055,
51,
1107,
46,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
222,
338,
5370,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
641,
9582,
829,
341,
7834,
3870,
7120,
... | 5,970,209,769,875,583,000 | true | false | false | false | [
7120,
49,
6367,
4345,
244,
58,
54,
34113,
22321,
49,
33316,
26912,
49,
25006,
49,
13083,
280,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
49,
15067,
51,
222,
338,
222,
588,
222,
222,
1337,
1105,
51,
4535,
4055,
51,
4535,
4055,
1805,... | 9,187,754,741,528,594,000 | true | lar.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 version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it wi... | 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 General Public License for more details.
*
* You shoul... | A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
package org.si... | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
package org.simlar.simlarserver.services.pushnotification.apple;
import org.apache.commons.lang3.StringUtils;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.simlar. | simlarserver.SimlarServer;
import org.simlar.simlarserver.services.pushnotification.apple.json.ApplePushNotificationRequestCaller;
import org.simlar.simlarserver.data.ApplePushServer |
InternalCalendarProviderActivator.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.chronos.provider.internal/src/com/openexchange/chronos/provider/internal/osgi/InternalCalendarProviderActivator.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... | 5,430 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | c782552e8fe678bf393adf4798dcfc9fd6bce2d6b140a5b77a376a2f81c18281 | [] | [
1127,
222,
338,
496,
11793,
2657,
327,
104,
46,
565,
93,
3870,
34723,
49,
44851,
350,
1357,
69,
1693,
50,
125,
2357,
51,
527,
67,
222,
338,
496,
2094,
418,
21156,
50,
56,
51,
53,
222,
338,
222,
338,
1369,
1361,
458,
3760,
2951,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
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,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451... | -4,376,444,726,880,833,500 | true | false | false | false | [
5062,
1196,
222,
338,
7979,
642,
565,
93,
2013,
25280,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
500,
576,
50,
56,
51,
53,
51,
2787,
4513,
222,
338,
222,
338,
6213,
813,
451,
341,
1409... | -399,362,266,798,893,200 | true | <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, or
* (at your option) any later version.
*
* This prog... | 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
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURP... | 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 License
* along with OX App Suite. If not, see <https://www.gnu... | 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.
*
*/
package com.openexchange.chronos.provider.internal.osgi;
import static org.slf4j.LoggerFactory.getLogger;
i... | .chronos.provider.CalendarProvider;
import com.openexchange.chronos.provider.FreeBusyProvider;
import com.openexchange.chronos.provider.account.CalendarAccountService;
import com.openexchange. |
KRAKeyCLI.java | /FileExtraction/Java_unseen/dogtagpki_pki/base/tools/src/main/java/com/netscape/cmstools/kra/KRAKeyCLI.java | // --- BEGIN COPYRIGHT BLOCK ---
// 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 License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT... | 6,007 | Java | .java | dogtagpki/pki | 323 | 130 | 961 | 2017-02-16T19:36:36Z | 2024-05-09T02:30:28Z | c21124705c71924adcd2144edc0d9c8a4c417364f9d3d3e08c33805209b713a3 | [] | [
325,
5351,
18264,
8995,
20293,
5351,
222,
325,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
325,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
325,
341,
7834,
3870,
7... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
909,
1242,
12257,
971,
14498,
8462,
45,
597,
894,
603,
1035,
2478,
45,
909,
1242,
12257,
971,
10513,
8462,
45,
597,
894,
310,
1035,
2478,
45,
909,
1242,
12257,
971,
13800,
8462,
45,
597,
894,
310,
1035,
2478,
45,
909,
1242,
1225... | -736,804,966,023,149,300 | true | false | false | false | [
671,
11350,
25581,
444,
46,
2589,
3284,
320,
603,
434,
327,
697,
1503,
882,
762,
46,
461,
1221,
1503,
64,
603,
18103,
1122,
844,
2060,
299,
46367,
492,
603,
453,
9949,
341,
41855,
310,
910,
41855,
64,
310,
434,
327,
2562,
5118,
3743... | 5,924,575,408,024,369,000 | true | (new KRAKeyModifyCLI(this));
addModule(new KRAKeyGenerateCLI(this));
addModule(new KRAKeyArchiveCLI(this));
addModule(new KRAKeyRetrieveCLI(this));
addModule(new KRAKeyRecoverCLI(this));
}
@Override
public String getFullName() {
// do not include MainCLI's name
... | addModule(new KRAKeyRecoverCLI(this));
}
@Override
public String getFullName() {
// do not include MainCLI's name
return parent instanceof MainCLI? name : parent.getFullName() + "-" + name;
}
@Override
public String getManPage() {
return "pki-key";
}
public Ke... | name;
}
@Override
public String getManPage() {
return "pki-key";
}
public KeyClient getKeyClient() throws Exception {
return getKeyClient(null);
}
public KeyClient getKeyClient(String transportNickname) throws Exception {
if (keyClient!= null) return keyClient;
... | String transportNickname) throws Exception {
if (keyClient!= null) return keyClient;
PKIClient client = getClient();
// determine the subsystem
String subsystem;
if (parent instanceof SubsystemCLI) {
SubsystemCLI subsystemCLI = (SubsystemCLI)parent;
sub... | // create crypto provider for key client
keyClient.setCrypto(new NSSCryptoProvider(client.getConfig()));
CryptoManager manager = CryptoManager.getInstance();
X509Certificate transportCert;
if (transportNickname == |
ContentProjectFactory.java | /FileExtraction/Java_unseen/uyuni-project_uyuni/java/code/src/com/redhat/rhn/domain/contentmgmt/ContentProjectFactory.java | /*
* Copyright (c) 2018 SUSE LLC
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have received a copy ... | 27,409 | Java | .java | uyuni-project/uyuni | 398 | 165 | 434 | 2018-08-02T12:31:20Z | 2024-05-09T07:43:52Z | 84a711fc9fdf5e28b3eb2a922ce496a33df35850aea0fb466e8e3ab834ae102b | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
61,
377,
4866,
21000,
222,
338,
222,
338,
1369,
2951,
458,
14391,
391,
863,
1549,
341,
6994,
6153,
5062,
1196,
49,
222,
338,
1522,
244,
55,
327,
21156,
123,
55,
566,
5825,
458,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
39036,
2232,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
2297,
51,
22735,
51,
29801,
1201,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
51,
3253,
51,
3542,
64,
222,
485,
785,
51,
23672,
51,
119,
12704,
51,
4136,
... | 6,343,242,808,049,991,000 | true | false | false | false | [
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
20535,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
7575,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
485,
1401,
51,
1058,
51,
2... | -2,889,587,048,854,953,000 | true | HibernateFactory;
import com.redhat.rhn.common.localization.LocalizationService;
import com.redhat.rhn.domain.channel.Channel;
import com.redhat.rhn.domain.channel.ChannelFactory;
import com.redhat.rhn.domain.channel.ClonedChannel;
import com.redhat.rhn.domain.contentmgmt.ProjectSource.Type;
import com.redhat.rhn.domai... |
import com.redhat.rhn.domain.channel.ClonedChannel;
import com.redhat.rhn.domain.contentmgmt.ProjectSource.Type;
import com.redhat.rhn.domain.org.Org;
import com.redhat.rhn.domain.user.User;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.ArrayList;
import java.ut... | ;
import com.redhat.rhn.domain.user.User;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.per... | .util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import jav... | for the {@link com.redhat.rhn.domain.contentmgmt.ContentProject} class and related classes.
*/
public class ContentProjectFactory extends HibernateFactory {
private static final ContentProjectFactory INSTANCE = new ContentProjectFactory(); |
RequestMappingHandlerMapping.java | /FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/today-web/src/main/java/cn/taketoday/web/handler/method/RequestMappingHandlerMapping.java | /*
* Copyright 2017 - 2024 the original author or authors.
*
* 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.
*
*... | 17,550 | Java | .java | TAKETODAY/today-infrastructure | 106 | 13 | 25 | 2018-08-16T12:12:39Z | 2024-05-08T14:01:23Z | f6c813f7caa23041e0dfa13ecb0bf7fe208f57e547e3232272f621f485e7cd75 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
54,
60,
449,
244,
55,
53,
55,
57,
341,
4732,
4096,
575,
14656,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13007,
51,
121,
23060,
450,
414,
51,
1857,
51,
26283,
51,
48651,
2339,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,
51,
1857,
51,
4543,
51,
4759,
51,
5597,
1123,
5371,
64,
222,
485,
13007,
51,
121,
23060,
450,
414,... | -2,742,561,993,283,822,000 | true | false | false | false | [
51,
222,
338,
222,
338,
496,
2133,
5534,
17067,
466,
24655,
954,
222,
338,
496,
2133,
11792,
27075,
6433,
14488,
1075,
123,
222,
338,
496,
2133,
26159,
10360,
1039,
291,
222,
338,
496,
2133,
350,
102,
995,
366,
662,
574,
951,
51,
52... | 138,356,466,378,570,820 | true | ;
import cn.taketoday.web.cors.CorsConfiguration;
import cn.taketoday.web.handler.condition.AbstractRequestCondition;
import cn.taketoday.web.handler.condition.CompositeRequestCondition;
import cn.taketoday.web.handler.condition.ConsumesRequestCondition;
import cn.taketoday.web.handler.condition.RequestCondition;
impor... | .CompositeRequestCondition;
import cn.taketoday.web.handler.condition.ConsumesRequestCondition;
import cn.taketoday.web.handler.condition.RequestCondition;
import cn.taketoday.web.service.annotation.HttpExchange;
/**
* Creates {@link RequestMappingInfo} instances from type and method-level
* {@link RequestMapping @R... | ay.web.service.annotation.HttpExchange;
/**
* Creates {@link RequestMappingInfo} instances from type and method-level
* {@link RequestMapping @RequestMapping} annotations in
* {@link Controller @Controller} classes.
*
* @author Arjen Poutsma
* @author Rossen Stoyanchev
* @author Sam Brannen
* @author <a href="... | .
*
* @author Arjen Poutsma
* @author Rossen Stoyanchev
* @author Sam Brannen
* @author <a href="https://github.com/TAKETODAY">Harry Yang</a>
* @since 4.0 2022/4/1 22:38
*/
public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMapping {
private static final HttpMethod | [] EMPTY_REQUEST_METHOD_ARRAY = new HttpMethod[0];
private Map<String, Predicate<Class<?>>> pathPrefixes = Collections.emptyMap();
private ContentNegotiationManager contentNegotiationManager = new ContentNegotiationManager(); |
ItemTreePanel.java | /FileExtraction/Java_unseen/automenta_netention-old1/swing/automenta/netention/swing/widget/ItemTreePanel.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package automenta.netention.swing.widget;
import automenta.netention.Detail;
import automenta.netention.Node;
import automenta.netention.Pattern;
import automenta.netention.Self;
import automenta.netention.swing.Icons;
... | 12,089 | Java | .java | automenta/netention-old1 | 9 | 2 | 0 | 2010-03-25T23:29:00Z | 2014-07-05T22:26:04Z | e2ae29adfeaa383429156fb078edba6d7fc909cd85d4c2fd0b8d3f51442c9075 | [] | [
1127,
222,
338,
2634,
1557,
477,
3098,
49,
9206,
15630,
542,
24177,
222,
338,
480,
2177,
341,
3098,
347,
341,
7020,
51,
222,
588,
222,
1337,
4351,
12013,
51,
1317,
5098,
51,
5934,
51,
3872,
64,
222,
222,
485,
4351,
12013,
51,
1317,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
2615,
45,
909,
4119,
12907,
15422,
459,
1947,
2992,
343,
477,
51,
803,
299,
649,
64,
343,
477,
51,
1032,
8354,
299,
2323,
8354,
64,
343,
9736,
492,
310,
339,
22297,
603,
581,
782,
1984,
5526,
2689,
45,
3242,
4119,
12907,
15422,
292,... | -1,562,310,483,887,170,300 | true | false | false | false | [
105,
1230,
312,
733,
339,
547,
339,
343,
339,
1083,
7380,
65,
671,
67,
5727,
299,
649,
51,
34287,
18114,
45,
6336,
312,
343,
434,
327,
4931,
51,
911,
365,
868,
244,
53,
46,
320,
419,
456,
327,
671,
328,
518,
5727,
46,
320,
547,
... | -8,237,962,351,821,508,000 | true | super(new DefaultMutableTreeNode("All"));
this.self = self;
this.includeInstances = includeInstances;
refresh();
}
public void buildPatternMenu(final DefaultMutableTreeNode t, final String pid) {
final Pattern p = self.getPattern(pid);
... | final Pattern p = self.getPattern(pid);
DefaultMutableTreeNode ss = new DefaultMutableTreeNode(self.getPattern(pid));
t.add(ss);
if (includeInstances) {
Collection<Detail> dp = patterns.get(pid);
if (dp!=null)
... | = patterns.get(pid);
if (dp!=null)
for (Detail d : dp) {
if (d!= null) {
DefaultMutableTreeNode dNode = new DefaultMutableTreeNode(d);
ss.add(dNode);
}
}
... | dNode);
}
}
}
Collection<String> children = self.getSubPatterns(pid);
if (children.size() > 0) {
for (String s : children) {
buildPatternMenu(ss, s);
}
}
}
... | p, null);
}
for (Node n : IteratorUtils.toList(self.iterateNodes())) {
if (n instanceof Detail) {
Detail d = (Detail)n;
if (d.getPatterns().size() |
Option.java | /FileExtraction/Java_unseen/Efnilite_Walk-in-the-Park/src/main/java/dev/efnilite/ip/config/Option.java | package dev.efnilite.ip.config;
import dev.efnilite.ip.IP;
import dev.efnilite.ip.api.Registry;
import dev.efnilite.ip.menu.ParkourOption;
import dev.efnilite.ip.style.RandomStyle;
import dev.efnilite.ip.style.Style;
import dev.efnilite.vilib.particle.ParticleData;
import org.bukkit.*;
import org.bukkit.configuration.... | 9,992 | Java | .java | Efnilite/Walk-in-the-Park | 46 | 15 | 1 | 2020-10-29T20:53:45Z | 2024-05-07T16:06:41Z | 724424aaff12920691b3c5486329e882befa34b464ca22bc698b6ae45764d345 | [] | [
1337,
5693,
51,
2332,
4942,
676,
51,
658,
51,
1180,
64,
222,
222,
485,
5693,
51,
2332,
4942,
676,
51,
658,
51,
2046,
64,
222,
485,
5693,
51,
2332,
4942,
676,
51,
658,
51,
1256,
51,
5389,
64,
222,
485,
5693,
51,
2332,
4942,
676,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
2491,
64,
465,
581,
924,
10642,
18837,
100,
8809,
100,
5922,
64,
465,
581,
924,
782,
3238,
45,
4412,
1950,
3028,
46,
320,
310,
3238,
5352,
492,
310,
3238,
20869,
492,
310,
3238,
17323,
492,
310,
3238,
7962,
459,
3498,
51,
687,
411,
... | 6,771,908,771,077,298,000 | true | false | false | false | [
453,
6153,
4086,
603,
453,
10914,
120,
310,
643,
25073,
100,
2491,
299,
3395,
51,
6196,
51,
7080,
459,
5879,
51,
444,
742,
603,
434,
1445,
28573,
100,
2491,
51,
8936,
9669,
102,
50,
15169,
50,
95,
53,
50,
62,
35758,
6176,
2152,
32... | -3,092,379,842,935,529,500 | true | NAME;
public static Location GO_BACK_LOC;
public static void init(boolean firstLoad) {
initSql();
initEnums();
initGeneration();
initStyles("styles.list", Config.CONFIG.fileConfiguration, RandomStyle::new)
.forEach(Registry::register);
GO_BACK_LOC = pars... | RandomStyle::new)
.forEach(Registry::register);
GO_BACK_LOC = parseLocation(Config.CONFIG.getString("bungeecord.go-back"));
String[] axes = Config.CONFIG.getString("bungeecord.go-back-axes").split(",");
GO_BACK_LOC.setPitch(Float.parseFloat(axes[0]));
GO_BACK_LOC.setYaw(... | ungeecord.go-back-axes").split(",");
GO_BACK_LOC.setPitch(Float.parseFloat(axes[0]));
GO_BACK_LOC.setYaw(Float.parseFloat(axes[1]));
// General settings
// Worlds
WORLD_NAME = Config.CONFIG.getString("world.name");
if (!WORLD_NAME.matches("[a-zA-Z0-9_-]+")) {
... | // General settings
// Worlds
WORLD_NAME = Config.CONFIG.getString("world.name");
if (!WORLD_NAME.matches("[a-zA-Z0-9_-]+")) {
IP.logging().stack("Invalid world name: %s".formatted(WORLD_NAME), "world names need to contain only a-z, A-Z, 0-9, _ or -.");
WORLD_NAME = "... |
// Options
List<ParkourOption> options = new ArrayList<>(Arrays.asList(ParkourOption.values()));
// exceptions
options.remove(ParkourOption.JOIN);
options.remove(Parkour |
iQMultiClassifier.java | /FileExtraction/Java_unseen/awojna_Rseslib/src/main/java/rseslib/qmak/dataprocess/multiclassifier/iQMultiClassifier.java | /*
* Copyright (C) 2002 - 2024 The Rseslib Contributors
*
* This file is part of Rseslib.
*
* Rseslib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at you... | 2,242 | Java | .java | awojna/Rseslib | 15 | 5 | 0 | 2018-02-01T09:24:28Z | 2024-05-02T19:55:57Z | 713981e2cc7b8424b47c66dcc1621db018e0f1c89e8cf4a445f4cb462ad0b54f | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
55,
449,
244,
55,
53,
55,
57,
906,
578,
1490,
1379,
26368,
222,
338,
1676,
338,
244,
1369,
822,
458,
1760,
451,
578,
1490,
1379,
51,
222,
338,
222,
338,
244,
578,
1490,
1379,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 573 | [
51,
9608,
51,
15358,
51,
41146,
64,
222,
485,
559,
1490,
1379,
51,
118,
12650,
51,
2923,
11370,
690,
51,
991,
2796,
463,
64,
222,
485,
559,
1490,
1379,
51,
118,
12650,
51,
2923,
11370,
690,
51,
19127,
7737,
222,
485,
559,
1490,
13... | -256,258,014,648,081,800 | true | false | false | false | [
45798,
738,
46,
2589,
6484,
42296,
64,
3038,
221,
942,
782,
3365,
45,
671,
655,
312,
499,
221,
942,
1922,
904,
875,
8865,
492,
499,
221,
942,
782,
5877,
1501,
45,
4090,
18850,
16232,
3812,
49,
5291,
23144,
46,
2589,
24683,
49,
6484,... | 5,959,340,049,540,709,000 | true | .processing.classification.TestResult;
import rseslib.qmak.dataprocess.FileStoreable;
import rseslib.qmak.dataprocess.classifier.*;
import rseslib.qmak.dataprocess.project.iQProjectElement;
import rseslib.structure.table.DoubleDataTable;
import rseslib.system.PropertyConfigurationException;
import rseslib.system.progre... | cess.project.iQProjectElement;
import rseslib.structure.table.DoubleDataTable;
import rseslib.system.PropertyConfigurationException;
import rseslib.system.progress.Progress;
/**
* Interfejs dla klasy QMultiClassifier
*
* @author Leszek Tur
*
*/
public interface iQMultiClassifier extends iQProjectElement, FileSto... | Interfejs dla klasy QMultiClassifier
*
* @author Leszek Tur
*
*/
public interface iQMultiClassifier extends iQProjectElement, FileStoreable {
public void add(iQClassifier klasyfikator) throws PropertyConfigurationException;
public void remove(String name);
public boolean areTrained();
public void trainOn... | yfikator) throws PropertyConfigurationException;
public void remove(String name);
public boolean areTrained();
public void trainOn(DoubleDataTable tabelka,Progress prog) throws InterruptedException, PropertyConfigurationException;
public Map<String, TestResult> classify(DoubleDataTable tabelka,Progress prog) t... | na podstawie danych z pliku w instancji klasy
*
* @throws StoringNotImplementedException
* @throws IOException
* @throws InterruptedException
* @throws ClassNotFoundException
*/
public void load()throws IOException |
ClipGenSettingDialog.java | /FileExtraction/Java_unseen/PAMGuard_PAMGuard/src/clipgenerator/ClipGenSettingDialog.java | package clipgenerator;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax... | 6,073 | Java | .java | PAMGuard/PAMGuard | 25 | 15 | 19 | 2022-01-07T10:43:12Z | 2024-05-01T18:22:07Z | e0b00d03ab21fd74a9bed007ab3b77c4b1a827feab3271be348f7d34b9d971cd | [] | [
1337,
12309,
7147,
64,
222,
222,
485,
1401,
51,
8236,
51,
3567,
13400,
64,
222,
485,
1401,
51,
8236,
51,
3567,
44547,
64,
222,
485,
1401,
51,
8236,
51,
1684,
64,
222,
485,
1401,
51,
8236,
51,
1585,
51,
18126,
64,
222,
485,
1401,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
16849,
3686,
51,
38618,
45,
909,
1994,
105,
7263,
459,
768,
44371,
2992,
376,
221,
16849,
3686,
51,
20113,
45,
909,
7877,
44547,
1052,
376,
221,
104,
299,
556,
466,
424,
3567,
8206,
24604,
41924,
492,
376,
221,
104,
51,
3393,
1660,
... | 7,290,097,587,977,088,000 | true | false | false | false | [
312,
376,
221,
104,
51,
43450,
3348,
376,
221,
18334,
45,
16849,
3686,
49,
727,
25087,
299,
556,
40760,
45,
58,
490,
300,
312,
376,
221,
104,
51,
43450,
3348,
376,
221,
18334,
45,
16849,
3686,
49,
556,
23731,
459,
3130,
108,
17157,
... | -1,678,496,604,985,990,000 | true | budgetPanel.setBorder(new TitledBorder("Data Budget"));
budgetPanel.setLayout(new GridBagLayout());
c = new PamGridBagContraints();
c.gridwidth = 1;
addComponent(budgetPanel, budgetOff = new JRadioButton("Record everything"), c);
c.gridx+=c.gridwidth;
c.gridwidth = 2;
addComponent(budgetPanel, budgetOn = ... | budgetPanel, budgetOff = new JRadioButton("Record everything"), c);
c.gridx+=c.gridwidth;
c.gridwidth = 2;
addComponent(budgetPanel, budgetOn = new JRadioButton("Budget data"), c);
c.gridx = 0;
c.gridwidth = 1;
c.gridy++;
addComponent(budgetPanel, new JLabel("Data budget ", SwingConstants.RIGHT), c);
c.... | Budget data"), c);
c.gridx = 0;
c.gridwidth = 1;
c.gridy++;
addComponent(budgetPanel, new JLabel("Data budget ", SwingConstants.RIGHT), c);
c.gridx++;
addComponent(budgetPanel, dataBudget = new JTextField(5), c);
c.gridx++;
addComponent(budgetPanel, new JLabel(" Megabytes ", SwingConstants.LEFT), c);
... | );
c.gridx++;
addComponent(budgetPanel, dataBudget = new JTextField(5), c);
c.gridx++;
addComponent(budgetPanel, new JLabel(" Megabytes ", SwingConstants.LEFT), c);
c.gridx = 0;
c.gridy++;
addComponent(budgetPanel, new JLabel("Budget period ", SwingConstants.RIGHT), c);
c.gridx++;
addComponent(budget | Panel, budgetPeriod = new JTextField(5), c);
c.gridx++;
addComponent(budgetPanel, new JLabel(" Hours ", SwingConstants.LEFT), c);
ButtonGroup budgetGroup = new ButtonGroup(); |
Item.java | /FileExtraction/Java_unseen/Mantaro_MantaroBot/src/main/java/net/kodehawa/mantarobot/commands/currency/item/Item.java | /*
* Copyright (C) 2016 Kodehawa
*
* Mantaro 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.
* Mantaro is distributed in the hop... | 10,179 | Java | .java | Mantaro/MantaroBot | 387 | 179 | 6 | 2016-09-08T04:52:04Z | 2024-02-10T21:50:33Z | eadff35678f17a8027654f0049d3c97e1f9756e14bd68bff31b765b358627ff1 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
1242,
421,
109,
29531,
222,
338,
222,
338,
507,
710,
25577,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
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 | [
59,
1242,
421,
109,
29531,
222,
338,
222,
338,
507,
710,
25577,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
6153,
5062,
1196,
641,
9582,
829,
222,
338,
341,
7834,
... | -9,069,418,599,150,623,000 | true | false | false | false | [
10627,
51,
1107,
52,
4205,
52,
222,
338,
222,
588,
222,
222,
1337,
3723,
51,
22150,
109,
29531,
51,
114,
710,
301,
10443,
51,
7626,
51,
8088,
51,
1113,
64,
222,
222,
485,
3723,
51,
22150,
109,
29531,
51,
114,
710,
301,
10443,
51,
... | 2,734,709,539,044,978,000 | true | 6 Kodehawa
*
* Mantaro 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.
* Mantaro is distributed in the hope that it will be usefu... | of the License, or
* (at your option) any later version.
* Mantaro 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 hav... | 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 Mantaro. If not, see http://www.gnu.org/licenses/
*
*/
package net.kodehawa.mantarobot.commands.currency.item;
import net.kodehawa.mantarobot.core... | gnu.org/licenses/
*
*/
package net.kodehawa.mantarobot.commands.currency.item;
import net.kodehawa.mantarobot.core.command.helpers.IContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.function.BiPredicate | ;
public class Item {
private static final Logger log = LoggerFactory.getLogger(Item.class);
protected final long value;
private final boolean buyable;
private final String emoji, name, desc;
private final boolean hidden |
SpiToXs2aChallengeDataMapperTest.java | /FileExtraction/Java_unseen/adorsys_xs2a/xs2a-impl/src/test/java/de/adorsys/psd2/xs2a/service/mapper/spi_xs2a_mappers/SpiToXs2aChallengeDataMapperTest.java | /*
* Copyright 2018-2024 adorsys GmbH & Co KG
*
* 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... | 3,688 | Java | .java | adorsys/xs2a | 129 | 61 | 1 | 2018-04-16T16:08:03Z | 2024-04-29T09:37:45Z | 002ecbabccc2c18ef614b1e738dc04e629b97e07ba24695c9a16a977a5355688 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
54,
61,
50,
55,
53,
55,
57,
1564,
1758,
1291,
34723,
568,
5633,
1242,
76,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
580,
222,
338,
1549,
341... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 958 | [
22415,
1052,
310,
3803,
45,
3156,
49,
4668,
312,
303,
339,
465,
496,
1024,
303,
782,
391,
22900,
768,
100,
1346,
768,
100,
25058,
2222,
1640,
3078,
365,
320,
310,
33401,
768,
4668,
244,
299,
15080,
51,
471,
22900,
768,
45,
38824,
32... | 4,965,928,197,937,678,000 | true | false | false | false | [
343,
1701,
51,
1048,
459,
881,
727,
2132,
343,
332,
915,
1222,
411,
1819,
54,
53,
49,
343,
377,
1314,
84,
510,
2222,
51,
4935,
3833,
9146,
49,
343,
332,
12189,
6609,
742,
303,
339,
465,
964,
377,
1314,
22900,
768,
640,
1024,
32701... | -6,576,189,037,899,814,000 | true | Characters());
assertEquals(expected, actual);
}
@Test
void toChallengeData_validData_otpFormatIsInteger() {
ChallengeData actual = mapper.toChallengeData(getTestSpiChallengeData_otpFormatIsInteger());
assertEquals(OtpFormat.INTEGER, actual.getOtpFormat());
}
@Test
voi... | ());
assertEquals(OtpFormat.INTEGER, actual.getOtpFormat());
}
@Test
void toChallengeData_validData_otpFormatIsNull() {
ChallengeData actual = mapper.toChallengeData(getTestSpiChallengeData_otpFormatIsNull());
assertNull(actual.getOtpFormat());
}
private SpiChallengeData g... | ChallengeData_otpFormatIsNull());
assertNull(actual.getOtpFormat());
}
private SpiChallengeData getTestSpiChallengeData_otpFormatIsCharacters() {
return new SpiChallengeData(new byte[0],
List.of("test data"),
"imagelink",
10,
SpiOtpFormat.CHARACTE... |
List.of("test data"),
"imagelink",
10,
SpiOtpFormat.CHARACTERS,
"additionalInformation");
}
private SpiChallengeData getTestSpiChallengeData_otpFormatIsInteger() {
return new SpiChallengeData(new byte[0],
List.of("test data"),
... | private SpiChallengeData getTestSpiChallengeData_otpFormatIsNull() {
return new SpiChallengeData(new byte[0],
List.of("test data"),
"imagelink",
10,
null,
|
FuzzyMsgDelete.java | /FileExtraction/Java_unseen/AcceNoi_accenbot/src/main/java/org/accen/dmzj/core/handler/cmd/FuzzyMsgDelete.java | package org.accen.dmzj.core.handler.cmd;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.accen.dmzj.core.annotation.FuncSwitch;
import org.accen.dmzj.core.handler.group.Entry;
import org.accen.dmzj.core.task.GeneralTask;
import org.accen.dmzj.util.CQUtil;
import org.ac... | 3,294 | Java | .java | AcceNoi/accenbot | 18 | 1 | 3 | 2019-10-09T06:49:00Z | 2022-12-06T00:44:07Z | 7ea734076ea157cfe6963bdb6059a393fcf63131410743438ae0a73550e2049d | [] | [
1337,
1105,
51,
4755,
291,
51,
6570,
33873,
51,
1284,
51,
4543,
51,
3530,
64,
222,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
11947,
64,
222,
485,
1401,
51,
1058,
51,
7927,
51,
5526,
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,014 | [
58,
56,
59,
884,
325,
37748,
10903,
3038,
221,
2072,
1175,
924,
13405,
5275,
299,
13405,
51,
7028,
29336,
11742,
19839,
11316,
38593,
105,
48,
9565,
742,
3038,
221,
69,
1806,
222,
221,
942,
6153,
2265,
4781,
19850,
45,
86,
1454,
2706,... | -2,402,132,095,368,480,000 | true | false | false | false | [
51,
390,
19794,
1046,
2706,
1454,
51,
41301,
1052,
325,
10628,
19008,
5346,
374,
221,
344,
3848,
4031,
51,
3591,
45,
118,
1454,
51,
41301,
5183,
320,
621,
221,
344,
45,
2317,
32886,
46,
320,
596,
221,
671,
4218,
299,
327,
671,
46,
... | -7,617,274,009,844,596,000 | true | 536";//管理员qq
private final static Pattern pattern = Pattern.compile("^删除词条(\\d+)$");
@Override
public GeneralTask cmdAdapt(Qmessage qmessage, String selfQnum) {
String message = qmessage.getMessage().trim();
Matcher matcher = pattern.matcher(message);
if(matcher.matches()) {
GeneralTask task = new G... |
String message = qmessage.getMessage().trim();
Matcher matcher = pattern.matcher(message);
if(matcher.matches()) {
GeneralTask task = new GeneralTask();
task.setSelfQnum(selfQnum);
task.setType(qmessage.getMessageType());
task.setTargetId(qmessage.getGroupId());
int fav = checkinCmd.getFav... | (selfQnum);
task.setType(qmessage.getMessageType());
task.setTargetId(qmessage.getGroupId());
int fav = checkinCmd.getFav(qmessage.getMessageType(), qmessage.getGroupId(), qmessage.getUserId());//好感度
if(!manager.equals(qmessage.getUserId())) {
if(adminExcept) {
String role = (String) ((Map<Stri... | .getGroupId(), qmessage.getUserId());//好感度
if(!manager.equals(qmessage.getUserId())) {
if(adminExcept) {
String role = (String) ((Map<String,Object>)qmessage.getEvent().get("sender")).get("role");
if((!"owner".equals(role))&&(!"admin".equals(role))&&fav<lowerLimitFav) {
//不是管理员,也不是群 | 主,同时好感度不够。不给删
task.setMessage(CQUtil.at(qmessage.getUserId())+"当前好感度不够,无法删除词条喵~");
return task;
|
SurfaceColorKeyNode.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/simulations/molecule-polarity/src/edu/colorado/phet/moleculepolarity/common/view/SurfaceColorKeyNode.java | // Copyright 2002-2011, University of Colorado
package edu.colorado.phet.moleculepolarity.common.view;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import edu.colorado.phet.common.... | 4,684 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 8bafe668e4d28817a86538341be99bec0cf7a427f440e1f12dba1301e0ba3727 | [] | [
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,
40250,
3435,
13381,
51,
2297,
51,
1090,
64,
222,
222,
485,
1401,
51,
8236,
51,
1530,
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 | [
1175,
8929,
35168,
100,
5929,
299,
556,
466,
10237,
3728,
45,
244,
54,
55,
1110,
303,
964,
924,
1175,
8929,
578,
19110,
100,
5929,
299,
556,
466,
10237,
3728,
45,
244,
54,
55,
1110,
303,
964,
924,
1175,
2082,
1618,
100,
540,
2710,
... | 3,954,198,939,034,615,000 | true | false | false | false | [
45106,
309,
1592,
42662,
1530,
971,
1230,
2041,
22819,
1530,
971,
1230,
320,
310,
581,
45106,
309,
1592,
42662,
1530,
971,
1230,
365,
320,
343,
2615,
45,
12595,
10678,
51,
15745,
71,
100,
46678,
21738,
49,
12595,
9634,
51,
74,
3702,
1... | -7,909,172,091,976,221,000 | true | final Font TITLE_FONT = new PhetFont( 12 );
private static final Font RANGE_FONT = new PhetFont( 12 );
private static final double X_INSET = 0;
private static final double Y_SPACING = 2;
// Color key for "electron density" surface representation.
public static class ElectronDensityColorKeyNode ext... | final double Y_SPACING = 2;
// Color key for "electron density" surface representation.
public static class ElectronDensityColorKeyNode extends SurfaceColorKeyNode {
public ElectronDensityColorKeyNode() {
super( MPColors.BW_GRADIENT, MPStrings.ELECTRON_DENSITY, MPStrings.LESS, MPStrings.MO... | .BW_GRADIENT, MPStrings.ELECTRON_DENSITY, MPStrings.LESS, MPStrings.MORE );
}
}
// Color key for primary "electrostatic potential" surface representation.
public static class ElectrostaticPotentialColorKeyNode extends SurfaceColorKeyNode {
public ElectrostaticPotentialColorKeyNode() {
... | ElectrostaticPotentialColorKeyNode extends SurfaceColorKeyNode {
public ElectrostaticPotentialColorKeyNode() {
super( MPColors.RWB_GRADIENT, MPStrings.ELECTROSTATIC_POTENTIAL, MPStrings.POSITIVE, MPStrings.NEGATIVE );
}
}
// Color key for secondary "electrostatic potential" surface... | ainbowElectrostaticPotentialColorKeyNode() {
super( MPColors.ROYGB_GRADIENT, MPStrings.ELECTROSTATIC_POTENTIAL, MPStrings.POSITIVE, MPStrings.NEGATIVE );
}
}
|
AddDrugsToVIAViewHolder.java | /FileExtraction/Java_unseen/SIGLUS_siglus-android/app/src/main/java/org/openlmis/core/view/holder/AddDrugsToVIAViewHolder.java | /*
* This program is part of the OpenLMIS logistics management information
* system platform software.
*
* Copyright © 2015 ThoughtWorks, Inc.
*
* 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 Softwar... | 4,337 | Java | .java | SIGLUS/siglus-android | 17 | 5 | 0 | 2015-07-14T08:34:48Z | 2023-05-18T10:27:13Z | 6d4762527dce413ae12b5fbf5c859c43734762c23042108bfaa34e410f8254fe | [] | [
1127,
222,
338,
1369,
3477,
458,
1760,
451,
341,
3944,
81,
10591,
617,
1169,
1339,
11151,
2490,
222,
338,
2684,
5637,
2951,
51,
222,
338,
222,
338,
2657,
14416,
244,
55,
53,
54,
58,
967,
8404,
17961,
49,
6367,
51,
222,
338,
222,
3... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
1284,
51,
2324,
51,
38287,
1747,
64,
222,
485,
1105,
51,
1693,
113,
1450,
51,
1284,
51,
1090,
51,
1090,
1184,
51,
1121,
13284,
905,
20753,
28562,
12420,
8959,
64,
222,
485,
1138,
730,
3114,
584,
51,
10287,
51,
8836,
1089,
64,
... | -4,710,215,599,052,310,000 | true | false | false | false | [
64,
736,
496,
8836,
1089,
45,
87,
51,
333,
51,
1500,
100,
10957,
46,
353,
43668,
6495,
13024,
64,
736,
496,
8836,
1089,
45,
87,
51,
333,
51,
1160,
100,
20270,
46,
353,
4340,
2146,
24463,
64,
736,
496,
8836,
1089,
45,
87,
51,
333... | -3,208,887,678,629,887,000 | true | .core.utils.TextStyleUtil;
import org.openlmis.core.view.viewmodel.AddDrugsToViaInventoryViewModel;
import roboguice.inject.InjectView;
public class AddDrugsToVIAViewHolder extends BaseViewHolder {
@InjectView(R.id.tv_product_name)
TextView productName;
@InjectView(R.id.tv_short_code)
TextView tvShortCode;
... | sToVIAViewHolder extends BaseViewHolder {
@InjectView(R.id.tv_product_name)
TextView productName;
@InjectView(R.id.tv_short_code)
TextView tvShortCode;
@InjectView(R.id.touchArea_checkbox)
LinearLayout taCheckbox;
@InjectView(R.id.checkbox)
CheckBox checkBox;
@InjectView(R.id.action_panel)
View... | @InjectView(R.id.touchArea_checkbox)
LinearLayout taCheckbox;
@InjectView(R.id.checkbox)
CheckBox checkBox;
@InjectView(R.id.action_panel)
View actionPanel;
@InjectView(R.id.tx_quantity)
EditText txQuantity;
@InjectView(R.id.action_divider)
View actionDivider;
@InjectView(R.id.ly_quantity)
T... | ;
@InjectView(R.id.tx_quantity)
EditText txQuantity;
@InjectView(R.id.action_divider)
View actionDivider;
@InjectView(R.id.ly_quantity)
TextInputLayout lyQuantity;
public AddDrugsToVIAViewHolder(View itemView) {
super(itemView);
txQuantity.setHint(R.string.label_hint_amount_requisition);
t... | .setOnClickListener(v -> triggerCheckbox());
}
public void populate(String queryKeyWord, final AddDrugsToViaInventoryViewModel viewModel) {
setItemViewListener(viewModel);
checkBox.setChecked(viewModel.isChecked());
product |
ThemeChoicePreference.java | /FileExtraction/Java_unseen/lithiumice_FlyMsg/app/src/main/java/online/hualin/flymsg/View/ThemeChoicePreference.java | package online.hualin.flymsg.View;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.os.Parcelable;
import android.preference.PreferenceManager;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.RadioGr... | 3,353 | Java | .java | lithiumice/FlyMsg | 12 | 4 | 1 | 2019-09-23T03:42:44Z | 2019-10-30T15:38:18Z | 592f528bfffa479d8540d202f8a97124c17d1f9cd145bdbbcc2e97b0232a5392 | [] | [
1337,
12667,
51,
109,
1050,
285,
51,
13660,
2093,
51,
1089,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
1304,
51,
595,
51,
11848,
1280,
64,
222,
485,
2616,
51,
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,... | 769 | [
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
1304,
51,
595,
51,
11848,
1280,
64,
222,
485,
2616,
51,
519,
51,
38258,
64,
222,
485,
2616,
51,
29565,
51,
14366,
1590,
64,
222... | -1,296,298,031,609,038,000 | true | false | false | false | [
578,
51,
1639,
51,
6537,
60,
64,
303,
964,
29196,
364,
16649,
64,
303,
964,
24549,
1582,
364,
1582,
54,
64,
303,
964,
24549,
1582,
364,
1582,
55,
64,
303,
964,
24549,
1582,
364,
1582,
56,
64,
303,
964,
24549,
1582,
364,
1582,
57,
... | -3,317,449,827,354,448,000 | true |
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.os.Parcelable;
import android.preference.PreferenceManager;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.RadioGroup;
import androidx.fragment.app.... | AttributeSet;
import android.widget.ImageView;
import android.widget.RadioGroup;
import androidx.fragment.app.DialogFragment;
import androidx.preference.DialogPreference;
import androidx.preference.Preference;
import androidx.preference.PreferenceViewHolder;
import online.hualin.flymsg.R;
public class ThemeChoicePre... | import androidx.preference.PreferenceViewHolder;
import online.hualin.flymsg.R;
public class ThemeChoicePreference extends DialogPreference implements DialogPreference.OnPreferenceClickListener {
private static final int DEFAULT_VALUE = R.style.Theme7;
private ImageView mImageView;
private RadioGroup m... | R.style.Theme7;
private ImageView mImageView;
private RadioGroup mGroup1;
private RadioGroup mGroup2;
private RadioGroup mGroup3;
private RadioGroup mGroup4;
// 已保存的主题
private int mTheme;
private SharedPreferences mSp;
// style文件中的所有theme
private int[] mThemes;
// 所... | Group = false;
// 现在的value
private int mCurrentValue;
// 新的value
private int mNewValue;
@SuppressWarnings("deprecation")
public ThemeChoicePreference(final Context context, AttributeSet attrs) {
|
CloseButton.java | /FileExtraction/Java_unseen/NathanCheshire_Cyder/src/main/java/cyder/ui/drag/button/CloseButton.java | package cyder.ui.drag.button;
import com.google.common.base.Preconditions;
import cyder.ui.drag.DragLabelButtonSize;
import java.awt.*;
/**
* A close button for CyderFrame drag labels.
*/
public class CloseButton extends CyderDragLabelButton {
/**
* The padding between the edges of the painted close butto... | 2,579 | Java | .java | NathanCheshire/Cyder | 11 | 1 | 23 | 2020-07-25T01:52:33Z | 2023-11-10T19:30:38Z | cca1738d9d95e5498f3c319ebd1b33adb71e5d90b447fbb917af3c9302cc8af6 | [] | [
1337,
7458,
512,
51,
1726,
51,
11201,
51,
1654,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
1460,
51,
36329,
64,
222,
485,
7458,
512,
51,
1726,
51,
11201,
51,
9517,
2186,
1732,
1269,
64,
222,
222,
485,
1401,
51,
8236,
7737,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 635 | [
465,
1041,
294,
338,
906,
804,
391,
27898,
664,
341,
3118,
1646,
27065,
829,
341,
7597,
13330,
51,
294,
588,
303,
964,
924,
1175,
648,
3118,
1829,
1736,
378,
2389,
435,
299,
244,
54,
64,
465,
1041,
294,
338,
906,
1367,
456,
341,
4... | -7,422,212,228,626,117,000 | true | false | false | false | [
911,
299,
40554,
51,
42657,
45,
911,
312,
603,
758,
20495,
1049,
45,
18758,
312,
603,
758,
1269,
45,
911,
51,
24600,
1046,
1354,
51,
24600,
1052,
310,
7095,
2043,
492,
303,
339,
465,
1041,
294,
338,
3777,
341,
4668,
1354,
451,
341,
... | 330,666,261,444,464,800 | true |
/**
* The value to subtract from the second line drawn by the rectangles.
*/
private static final int secondLineSubtrahend = 1;
/**
* The text for the close button.
*/
private static final String CLOSE = "Close";
/**
* The size this close button will be painted with.
... | static final String CLOSE = "Close";
/**
* The size this close button will be painted with.
*/
private DragLabelButtonSize size;
/**
* Constructs a new close button.
*/
public CloseButton() {
this(DEFAULT_SIZE);
}
/**
* Constructs a new close button.
*
... | {
this(DEFAULT_SIZE);
}
/**
* Constructs a new close button.
*
* @param size the size of this close button
*/
public CloseButton(DragLabelButtonSize size) {
this.size = Preconditions.checkNotNull(size);
setToolTipText(CLOSE);
setSize(size.getSize(), si... | size = Preconditions.checkNotNull(size);
setToolTipText(CLOSE);
setSize(size.getSize(), size.getSize());
repaint();
}
/**
* Returns the actual size of the painted close button after accounting for padding.
*
* @return the actual size of the painted close button after ac... | _PADDING;
}
/**
* {@inheritDoc}
*/
@Override
public void paintDragLabelButton(Graphics g) {
Preconditions.checkNotNull(g);
Graphics2D g2d = (Graphics2D) |
AltriDatiUtenteForm.java | /FileExtraction/Java_unseen/IstitutoCentraleCatalogoUnicoBiblio_SBNWeb-Open/SBNWeb/JavaSource/it/iccu/sbn/web/actionforms/servizi/utenti/AltriDatiUtenteForm.java | /*******************************************************************************
* Copyright (C) 2019 ICCU - Istituto Centrale per il Catalogo Unico
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Sof... | 4,163 | Java | .java | IstitutoCentraleCatalogoUnicoBiblio/SBNWeb-Open | 9 | 7 | 0 | 2019-03-11T09:49:50Z | 2023-07-04T11:46:55Z | fd152da9144d1bee1e9df38732b0ad2273af7e75c7b1e59b220519f9345303ce | [] | [
28683,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
457,
2218,
90,
449,
457,
289,
302,
1318,
15072,
119,
1572,
1313,
6245,
25257,
116,
1703,
5701,
222,
338,
1676,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
48... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
221,
2072,
1701,
840,
2126,
116,
64,
222,
221,
2072,
1701,
12671,
15645,
9756,
64,
222,
221,
2072,
1701,
1394,
89,
4736,
335,
13300,
64,
222,
221,
2072,
1701,
292,
4736,
335,
13300,
64,
222,
221,
2072,
910,
1197,
7075,
45379,
64,
22... | 7,245,490,502,021,224,000 | true | false | false | false | [
620,
3541,
106,
64,
222,
221,
130,
222,
221,
942,
782,
758,
3152,
106,
45,
4412,
3541,
106,
46,
320,
376,
221,
597,
51,
2867,
106,
299,
3541,
106,
64,
222,
221,
130,
222,
221,
942,
1701,
640,
41723,
16611,
365,
320,
376,
221,
62... | 7,019,847,939,264,145,000 | true | private List ateneo;
private List tipoPersonalita;
private List specTitoloStudio;
private List titoloStudio;
private String[] codMateria;
private List allMaterie;
// bibliopolo
// documenti
private List elencoDocumenti;
// fine
public UtenteBibliotecaVO getUteAna() {
return uteAna;
}
public void setUteAna... | ;
// bibliopolo
// documenti
private List elencoDocumenti;
// fine
public UtenteBibliotecaVO getUteAna() {
return uteAna;
}
public void setUteAna(UtenteBibliotecaVO uteAna) {
this.uteAna = uteAna;
}
public boolean isSessione() {
return sessione;
}
public void setSessione(boolean sessione) {
this.sessi... | }
public void setUteAna(UtenteBibliotecaVO uteAna) {
this.uteAna = uteAna;
}
public boolean isSessione() {
return sessione;
}
public void setSessione(boolean sessione) {
this.sessione = sessione;
}
public List getOccupazioni() {
return occupazioni;
}
public void setOccupazioni(List occupazioni) {
th... | return sessione;
}
public void setSessione(boolean sessione) {
this.sessione = sessione;
}
public List getOccupazioni() {
return occupazioni;
}
public void setOccupazioni(List occupazioni) {
this.occupazioni = occupazioni;
}
// public List getProfessioni() {
// return professioni;
// | }
// public void setProfessioni(List professioni) {
// this.professioni = professioni;
// }
public List getSpecTitoloStudio() {
return |
QQSessionUtils.java | /FileExtraction/Java_unseen/Hicores_QTool/QTool/src/main/java/cc/hicore/qtool/QQMessage/QQSessionUtils.java | package cc.hicore.qtool.QQMessage;
import android.os.Bundle;
import android.text.TextUtils;
import java.lang.reflect.Field;
import cc.hicore.HookItemLoader.bridge.QQVersion;
import cc.hicore.LogUtils.LogUtils;
import cc.hicore.ReflectUtils.MClass;
import cc.hicore.ReflectUtils.MField;
import cc.hicore.qtool.EmoHelpe... | 8,387 | Java | .java | Hicores/QTool | 783 | 159 | 5 | 2022-02-13T12:11:47Z | 2024-02-09T20:10:36Z | 449ed52c4338a6da39c05365143d7ba27bfeedbca0b1476fd15206ec30934eaf | [] | [
1337,
10641,
51,
109,
314,
705,
51,
118,
3749,
51,
14626,
1193,
64,
222,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
897,
51,
34310,
64,
222,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1195,
64,
222,
222,
485,
10641,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
941,
489,
45,
114,
3287,
49,
2694,
90,
285,
312,
343,
339,
832,
320,
419,
5565,
100,
3152,
100,
1195,
51,
316,
34102,
539,
941,
489,
45,
114,
3287,
49,
244,
54,
53,
53,
53,
312,
419,
5565,
100,
3152,
100,
1195,
51,
13604,
90,
... | -1,934,822,405,351,217,700 | true | false | false | false | [
1195,
51,
34102,
539,
1241,
941,
489,
45,
114,
3287,
49,
2370,
1139,
51,
1241,
312,
419,
339,
343,
339,
343,
461,
364,
3287,
64,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
2681,
2769,
51,
750,
45,
6545,
49,
503,
312,
343,
461... | -794,241,027,874,318,600 | true | ().set(mObj, UserUin);
} else {
Table_Session_Field.isTroop().set(mObj, 1000);
Table_Session_Field.friendUin().set(mObj, UserUin);
Table_Session_Field.InTroopUin().set(mObj, GroupUin);
QQGroupUtils.GroupInfo groupInfo = QQGroupUtils.Group_Get_I... | Obj, UserUin);
Table_Session_Field.InTroopUin().set(mObj, GroupUin);
QQGroupUtils.GroupInfo groupInfo = QQGroupUtils.Group_Get_Info(GroupUin);
if (groupInfo == null || TextUtils.isEmpty(groupInfo.Code)) {
Table_Session_Field.TroopCode().set(mObj, Group... | in);
if (groupInfo == null || TextUtils.isEmpty(groupInfo.Code)) {
Table_Session_Field.TroopCode().set(mObj, GroupUin);
} else {
Table_Session_Field.TroopCode().set(mObj, groupInfo.Code);
}
}
return mObj;
... | Field.TroopCode().set(mObj, groupInfo.Code);
}
}
return mObj;
} catch (Exception e) {
LogUtils.error(TAG, e);
return null;
}
}
public static String getGroupUin(Object Session) {
try {
int SessionType = (int) Tab... |
if (SessionType == 1) return (String) Table_Session_Field.friendUin().get(Session);
if (SessionType == 1000) return (String) Table_Session_Field.In |
GenForm.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/RefMan/src/ims/RefMan/forms/clinicaloutcomedetails/GenForm.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 56,964 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | c9d7b8b2187f7f7a9c56cd298630afaff7470f13e34512b76ffab4946e40a1ef | [] | [
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 | [
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
283,
6... | 7,562,980,029,114,888,000 | true | false | false | false | [
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,
58,
61,
62,
51,
55,
58,
61,
54,
57,
46,
222,
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58... | -2,773,563,289,183,334,400 | true |
//# 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/>. #
//# #
//# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of #... | IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY 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. #
//# ... | MS MAXIMS only ensures the Clinical Safety of unaltered run-time #
//# software that it builds, deploys and maintains. #
//# #
//#############################################################################
//#EOH... | This code was generated by Barbara Worwood 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.RefMan.forms.clinicaloutcomedetails;
import ims.framework.*;
import im | s.framework.controls.*;
import ims.framework.enumerations.*;
import ims.framework.utils.RuntimeAnchoring;
public class GenForm extends FormBridge
{
private static final long serialVersionUID = |
NativeWith.java.java.2_0_0_0.default.ccfxprep | /FileExtraction/Java_unseen/ptidejteam_Ptidej-v5_2/MoDeC Bytecode Instrumentation Tests/Instrumented Classes/Rhino v1.6R5/org/mozilla/javascript/NativeWith.java.java.2_0_0_0.default.ccfxprep | 32.8.7b4 +0 (def_block
32.8.7b4 +5 r_class
32.e.7ba +a id|NativeWith
32.4d.7f9 +1 (brace
36.c.845 +0 (def_block
36.c.845 +4 r_void
36.11.84a +4 id|init
36.15.84e +0 c_func
36.15.84e +1 (paren
36.16.84f +a id|Scriptable
36.21.85a +5 id|scope
36.26.85f +1 comma
36.28.861 +7 r_boolean
36.30.869 +6 id|sealed
36.36.86f +1 )... | 12,117 | Java | .java | ptidejteam/Ptidej-v5.2 | 9 | 8 | 0 | 2017-05-16T18:53:18Z | 2018-01-13T01:05:21Z | 76a54c4934e7017c2af03b381fc0a80d017f7e74037ef925a96b73bbde677bbd | [] | [
56,
55,
51,
61,
51,
60,
103,
57,
221,
48,
53,
221,
45,
610,
100,
1540,
222,
56,
55,
51,
61,
51,
60,
103,
57,
221,
48,
58,
221,
119,
100,
842,
222,
56,
55,
51,
106,
51,
60,
2679,
221,
48,
102,
221,
333,
129,
6137,
1569,
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,
51,
61,
104,
54,
221,
48,
54,
221,
45,
22923,
222,
56,
102,
51,
54,
104,
51,
61,
104,
55,
221,
48,
58,
221,
333,
129,
3488,
222,
56,
102,
51,
55,
54,
51,
61,
104,
60,
221,
48,
54,
221,
46,
22923,
222,
56,
102,
51,
5... | -7,683,224,538,590,290,000 | true | false | false | false | [
106,
57,
221,
48,
54,
53,
221,
333,
129,
3223,
46407,
222,
56,
103,
51,
55,
102,
51,
61,
107,
57,
221,
48,
54,
221,
4297,
222,
56,
103,
51,
55,
103,
51,
61,
107,
58,
221,
48,
54,
55,
221,
333,
129,
19717,
17527,
222,
56,
1... | -6,150,993,655,720,102,000 | true | b.8c1 +1 (paren
3a.1c.8c2 +5 id|scope
3a.21.8c7 +1 )paren
3a.22.8c8 +1 suffix:semicolon
3b.9.8d3 +3 id|obj
3b.c.8d6 +1 dot
3b.d.8d7 +c id|setPrototype
3b.19.8e3 +0 c_func
3b.19.8e3 +1 (paren
3b.1a.8e4 +10 id|ScriptableObject
3b.2a.8f4 +1 dot
3b.2b.8f5 +12 id|getObjectPrototype
3b.3d.907 +0 c_func
3b.3d.907 +1 (paren
3b... | .8c8 +1 suffix:semicolon
3b.9.8d3 +3 id|obj
3b.c.8d6 +1 dot
3b.d.8d7 +c id|setPrototype
3b.19.8e3 +0 c_func
3b.19.8e3 +1 (paren
3b.1a.8e4 +10 id|ScriptableObject
3b.2a.8f4 +1 dot
3b.2b.8f5 +12 id|getObjectPrototype
3b.3d.907 +0 c_func
3b.3d.907 +1 (paren
3b.3e.908 +5 id|scope
3b.4 | 7 +c id|setPrototype
3b.19.8e3 +0 c_func
3b.19.8e3 +1 (paren
3b.1a.8e4 +10 id|ScriptableObject
3b.2a.8f4 +1 dot
3b.2b.8f5 +12 id|getObjectPrototype
3b.3d.907 +0 c_func
3b.3d.907 +1 (paren
3b.3e.908 +5 id|scope
3b.4 | e4 +10 id|ScriptableObject
3b.2a.8f4 +1 dot
3b.2b.8f5 +12 id|getObjectPrototype
3b.3d.907 +0 c_func
3b.3d.907 +1 (paren
3b.3e.908 +5 id|scope
3b.4 | 3.90d +1 )paren
3b.44.90e +1 )paren
3b.45.90f +1 suffix:semicolon
3d.9 |
BuildingCook.java | /FileExtraction/Java_unseen/ldtteam_minecolonies/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingCook.java | package com.minecolonies.core.colony.buildings.workerbuildings;
import com.google.common.collect.ImmutableSet;
import com.minecolonies.api.MinecoloniesAPIProxy;
import com.minecolonies.api.colony.ICitizenData;
import com.minecolonies.api.colony.IColony;
import com.minecolonies.api.colony.jobs.ModJobs;
import com.minec... | 14,513 | Java | .java | ldtteam/minecolonies | 575 | 317 | 76 | 2016-08-13T12:45:38Z | 2024-05-08T20:06:23Z | d4237c44913c9ed723ff85bb4b84ef06681da06e08cff4e190b5aa067dd29ad2 | [] | [
1337,
785,
51,
6758,
30896,
753,
51,
1284,
51,
770,
4373,
51,
1848,
2070,
51,
9893,
1848,
2070,
64,
222,
222,
485,
785,
51,
2193,
51,
2297,
51,
6190,
51,
15026,
903,
64,
222,
485,
785,
51,
6758,
30896,
753,
51,
1256,
51,
36301,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
8696,
51,
88,
1075,
11372,
2649,
5238,
51,
6545,
100,
88,
799,
48809,
64,
222,
485,
924,
785,
51,
6758,
30896,
753,
51,
1256,
51,
1058,
51,
8696,
51,
6202,
2175,
51,
25893,
100,
5914,
88,
64,
222,
485,
924,
785,
51,
6758,
30896,
... | 3,080,840,846,607,778,300 | true | false | false | false | [
9055,
3215,
451,
341,
23651,
51,
294,
588,
303,
964,
924,
1175,
648,
7490,
100,
9494,
1410,
100,
10736,
299,
244,
58,
64,
465,
1041,
294,
338,
1691,
341,
47349,
458,
33257,
318,
331,
15213,
294,
338,
1369,
9072,
341,
2283,
50,
120,
... | -8,409,385,624,512,740,000 | true | constant.SchematicTagConstants.TAG_SITTING;
import static com.minecolonies.api.util.constant.Suppression.OVERRIDE_EQUALS;
import static com.minecolonies.api.util.constant.TagConstants.CRAFTING_COOK;
/**
* Class of the cook building.
*/
@SuppressWarnings(OVERRIDE_EQUALS)
public class BuildingCook extends AbstractBuil... | constant.TagConstants.CRAFTING_COOK;
/**
* Class of the cook building.
*/
@SuppressWarnings(OVERRIDE_EQUALS)
public class BuildingCook extends AbstractBuilding
{
/**
* The cook string.
*/
private static final String COOK_DESC = "cook";
/**
* Exclusion list id.
*/
public static fi... | string.
*/
private static final String COOK_DESC = "cook";
/**
* Exclusion list id.
*/
public static final String FOOD_EXCLUSION_LIST = "food";
/**
* Max building level of the cook.
*/
private static final int MAX_BUILDING_LEVEL = 5;
/**
* If the assistant is fu... | building level of the cook.
*/
private static final int MAX_BUILDING_LEVEL = 5;
/**
* If the assistant is fulfilling a recipe
* This blocks the auto-smelting of the cook
*/
private boolean isCooking = false;
/**
* Failsafe for isCooking. Number of Colony Ticks before setting ... | * Whether we did init tags
*/
private boolean initTags = false;
/**
* Sitting positions
*/
private List<BlockPos> sitPositions;
/**
* Current sitting index
*/
private int last |
ChargeByTimePeriod.java | /FileExtraction/Java_unseen/lgh990_YunParking/smart-modules/smart-charge-server/src/main/java/com/smart/iot/charge/entity/ChargeByTimePeriod.java | package com.smart.iot.charge.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
/**
* 收费规则表
*
* @author Mr.AG
* @email
*@version 2022-08-10 15:10:42
*/
@Table(name = "charge_by_time_period")
public class ChargeByTimePeriod implements Serializab... | 14,340 | null | .java | lgh990/YunParking | 28 | 10 | 0 | 2022-08-22T00:19:29Z | 2022-08-05T03:15:54Z | 264e33dc73dd8914a0db683755eb4aeb786d376a19c881334d417003099731fb | [] | [
1337,
785,
51,
11407,
51,
12489,
51,
13260,
51,
2244,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
3851,
51,
20808,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
3698,
51,
10782,
7737,
499,
222,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
496,
2154,
45,
444,
299,
332,
4435,
100,
2251,
100,
11343,
678,
303,
964,
910,
28900,
3485,
14425,
64,
19075,
453,
17823,
6640,
26590,
41110,
40825,
303,
496,
2154,
45,
444,
299,
332,
4435,
100,
2251,
100,
4440,
678,
303,
964,
17262,
... | 6,895,474,958,647,913,000 | true | false | false | false | [
303,
964,
17262,
1950,
14894,
5620,
64,
19075,
453,
17823,
6640,
15271,
8382,
303,
496,
2154,
45,
444,
299,
332,
4435,
100,
1384,
100,
1021,
678,
303,
964,
910,
28900,
17885,
64,
19075,
453,
46919,
3745,
100,
700,
1140,
7554,
4519,
50... | 1,918,312,229,861,328,400 | true | @Column(name = "wd_first_hour")
private String wdFirstHour;
//工作日第一阶段价格
@Column(name = "wd_first_price")
private BigDecimal wdFirstPrice;
//工作日免费时长
@Column(name = "wd_free_min")
private String wdFreeMin;
//工作日第三阶段时间
@Column(name = "wd_last_hour")
private String wdLastHour;... | 免费时长
@Column(name = "wd_free_min")
private String wdFreeMin;
//工作日第三阶段时间
@Column(name = "wd_last_hour")
private String wdLastHour;
//工作日第三阶段收费
@Column(name = "wd_last_price")
private BigDecimal wdLastPrice;
//首小时收费价格
@Column(name = "first_hours_price")
private BigDecima... | ;
//工作日第三阶段收费
@Column(name = "wd_last_price")
private BigDecimal wdLastPrice;
//首小时收费价格
@Column(name = "first_hours_price")
private BigDecimal firstHoursPrice;
//工作日开始时间
@Column(name = "wd_start_time")
private String wdStartTime;
//字典car_type,区分大车小车
@Column(name = "ca... |
private BigDecimal firstHoursPrice;
//工作日开始时间
@Column(name = "wd_start_time")
private String wdStartTime;
//字典car_type,区分大车小车
@Column(name = "car_type")
private String carType;
//有效标志(y:有效;n:无效)
@Column(name = "enabled_flag")
private String enabledFlag;
//创建时间
@ | Column(name = "crt_time")
private Date crtTime;
//创建人id
@Column(name = "crt_user")
private String crtUser;
//创建人
@Column(name = " |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.