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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FeatureStoreKeyword.java | /FileExtraction/Java_unseen/logicalclocks_hopsworks/hopsworks-persistence/src/main/java/io/hops/hopsworks/persistence/entity/featurestore/metadata/FeatureStoreKeyword.java | /*
* This file is part of Hopsworks
* Copyright (C) 2023, Hopsworks AB. All rights reserved
*
* Hopsworks is free software: you can redistribute it and/or modify it under the terms of
* the GNU Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at yo... | 3,402 | Java | .java | logicalclocks/hopsworks | 1,087 | 142 | 13 | 2018-07-26T08:13:34Z | 2024-05-07T18:06:00Z | d657d848c9119b6fbeb801933b2adaf9ba9c723f2cbc2b7d3fae30a3f36fb940 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
696,
4178,
14108,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
56,
49,
696,
4178,
14108,
20660,
51,
3381,
4760,
5225,
222,
338,
222,
338,
696,
4178,
14108,
458,
3760,
2951,
63,
863,
902,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 852 | [
341,
7834,
3870,
7120,
49,
222,
338,
3173,
1522,
244,
56,
451,
341,
1196,
49,
575,
327,
288,
1390,
2489,
46,
1364,
6146,
1522,
51,
222,
338,
222,
338,
696,
4178,
14108,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
129... | -778,457,366,038,988,900 | true | false | false | false | [
51,
10782,
51,
2244,
51,
3317,
2173,
51,
3317,
1382,
51,
4249,
1382,
64,
222,
485,
3377,
51,
109,
4178,
51,
109,
4178,
14108,
51,
10782,
51,
2244,
51,
3317,
2173,
51,
3317,
1090,
51,
4249,
1089,
64,
222,
485,
3377,
51,
109,
4178,
... | 4,115,652,074,042,428,000 | true | the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*
* Hopsworks is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Affero Gener... | 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 this program.
* If not, see <https://www.gnu.org/licenses/>.
*/
package i... |
* If not, see <https://www.gnu.org/licenses/>.
*/
package io.hops.hopsworks.persistence.entity.featurestore.metadata;
import io.hops.hopsworks.persistence.entity.featurestore.featuregroup.Featuregroup;
import io.hops.hopsworks.persistence.entity.featurestore.featureview.FeatureView;
import io.hops.hopsworks.persist... | .persistence.entity.featurestore.featuregroup.Featuregroup;
import io.hops.hopsworks.persistence.entity.featurestore.featureview.FeatureView;
import io.hops.hopsworks.persistence.entity.featurestore.trainingdataset.TrainingDataset;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persisten... | .GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax. |
TilePlotConfigurationIO.java | /FileExtraction/Java_unseen/CEMPD_VERDI/verdi_core/src/anl/verdi/plot/types/TilePlotConfigurationIO.java | package anl.verdi.plot.types;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.velocity... | 3,861 | Java | .java | CEMPD/VERDI | 16 | 13 | 52 | 2015-03-18T16:37:30Z | 2024-04-22T19:11:54Z | de141114e7e3f063129e2f5b74f8ae2726a5099f355270cb150ee58966e7f944 | [] | [
1337,
619,
113,
51,
443,
1351,
51,
3570,
51,
2529,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
36202,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
6989,
64,
222,
485,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
42188,
1002,
64,
222,
485,
1105,
51,
2608,
51,
31965,
51,
426,
51,
2061,
1985,
55,
64,
222,
222,
485,
619,
113,
51,
443,
1351,
51,
3570,
51,
1507,
51,
1530,
1225,
4903,
64,
222,
485,
619,
113,
51,
443,
1351,
51,
3570,
51,
1180,
... | -624,200,088,216,249,700 | true | false | false | false | [
492,
222,
221,
2072,
4119,
2339,
4903,
1263,
1985,
299,
556,
4119,
2339,
4903,
492,
222,
221,
2072,
4119,
1985,
55,
2756,
1985,
299,
1263,
1985,
64,
499,
221,
942,
18891,
11756,
2339,
2354,
45,
5597,
8079,
11756,
7036,
46,
320,
376,
... | 625,522,773,048,412,500 | true | SAXException;
import org.xml.sax.ext.DefaultHandler2;
import anl.verdi.plot.color.ColorMapLoader;
import anl.verdi.plot.config.DefaultConfigurationLoader;
import anl.verdi.plot.config.PlotConfigurationIO;
import anl.verdi.plot.config.TilePlotConfiguration;
/**
* Configurator for AbstractTilePlots.
*
* @author Nick... |
import anl.verdi.plot.config.PlotConfigurationIO;
import anl.verdi.plot.config.TilePlotConfiguration;
/**
* Configurator for AbstractTilePlots.
*
* @author Nick Collier
* @version $Revision$ $Date$
*/
public class TilePlotConfigurationIO extends DefaultHandler2 {
private AbstractTilePlot plot;
private ColorM... | Nick Collier
* @version $Revision$ $Date$
*/
public class TilePlotConfigurationIO extends DefaultHandler2 {
private AbstractTilePlot plot;
private ColorMapLoader cMapLoader = new ColorMapLoader();
private DefaultConfigurationLoader defaultHandler = new DefaultConfigurationLoader();
private DefaultHandler2 curH... | ();
private DefaultConfigurationLoader defaultHandler = new DefaultConfigurationLoader();
private DefaultHandler2 curHandler = defaultHandler;
public TilePlotConfigurationIO(AbstractTilePlot plot) {
this.plot = plot;
}
/**
* Loads the configuration data from the specified file a
* Plot most likely set in t... | IOException {
try {
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
InputStream inputStream = file.toURI().toURL().openStream();
parser.parse(inputStream, this);
|
BlockInfo.java | /FileExtraction/Java_unseen/xgraza_nebula-1_6_4/src/main/java/com/github/lunatrius/schematica/config/BlockInfo.java | //Deobfuscated with https://github.com/SimplyProgrammer/Minecraft-Deobfuscator3000 using mappings "C:\Users\Gavin\Documents\schematica\mappings"!
//Decompiled by Procyon!
package com.github.lunatrius.schematica.config;
import net.minecraft.item.*;
import net.minecraft.init.*;
import net.minecraft.block.*;
import jav... | 16,451 | Java | .java | xgraza/nebula-1.6.4 | 17 | 6 | 3 | 2022-06-25T00:52:59Z | 2024-03-21T15:17:16Z | 5a6e0a8f0de2d30b0a70ac848a717afa41ca7bbeeab9d8cae41cd6a85731227f | [] | [
325,
703,
926,
36575,
642,
1698,
574,
951,
51,
527,
52,
31355,
651,
5756,
2322,
52,
33186,
50,
703,
926,
25705,
738,
56,
53,
53,
53,
1493,
22720,
332,
72,
3509,
3715,
97,
76,
472,
285,
97,
11871,
97,
3174,
11372,
102,
97,
28347,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1888,
318,
100,
12515,
312,
310,
1035,
31317,
2246,
4108,
45,
11381,
51,
12515,
312,
310,
1035,
31317,
2246,
4108,
1181,
2246,
46,
11381,
51,
1888,
318,
100,
113,
937,
312,
310,
1035,
31317,
2246,
4108,
45,
11381,
51,
113,
937,
312,
... | 1,040,544,064,049,363,500 | true | false | false | false | [
11381,
51,
1075,
289,
312,
310,
1035,
31317,
2246,
4108,
1181,
2246,
46,
11381,
51,
1116,
10554,
100,
11411,
312,
310,
1035,
31317,
2246,
4108,
45,
11381,
51,
124,
23429,
312,
310,
1035,
31317,
2246,
4108,
45,
11381,
51,
14824,
713,
3... | -5,829,318,396,434,726,000 | true | flowing_water);
addIgnoredBlockMetadata(Blocks.water);
addIgnoredBlockMetadata((Block)Blocks.flowing_lava);
addIgnoredBlockMetadata(Blocks.lava);
addIgnoredBlockMetadata(Blocks.dispenser);
addIgnoredBlockMetadata(Blocks.bed);
addIgnoredBlockMetadata(Blocks.golden_rail);
... | dispenser);
addIgnoredBlockMetadata(Blocks.bed);
addIgnoredBlockMetadata(Blocks.golden_rail);
addIgnoredBlockMetadata(Blocks.detector_rail);
addIgnoredBlockMetadata((Block)Blocks.sticky_piston);
addIgnoredBlockMetadata((Block)Blocks.piston);
addIgnoredBlockMetadata(Blocks... | piston);
addIgnoredBlockMetadata((Block)Blocks.piston);
addIgnoredBlockMetadata(Blocks.torch);
addIgnoredBlockMetadata(Blocks.oak_stairs);
addIgnoredBlockMetadata((Block)Blocks.chest);
addIgnoredBlockMetadata((Block)Blocks.redstone_wire);
addIgnoredBlockMetadata(Blocks.wh... | Blocks.chest);
addIgnoredBlockMetadata((Block)Blocks.redstone_wire);
addIgnoredBlockMetadata(Blocks.wheat);
addIgnoredBlockMetadata(Blocks.farmland);
addIgnoredBlockMetadata(Blocks.furnace);
addIgnoredBlockMetadata(Blocks.lit_furnace);
addIgnoredBlockMetadata(Blocks.stand... | Blocks.ladder);
addIgnoredBlockMetadata(Blocks.rail);
addIgnoredBlockMetadata(Blocks.stone_stairs);
addIgnoredBlockMetadata(Blocks.wall_sign);
addIgnoredBlockMetadata(Blocks.lever |
ChunkGennedCapability.java | /FileExtraction/Java_unseen/oitsjustjose_Geolosys/src/main/java/com/oitsjustjose/geolosys/common/world/capability/Chunk/ChunkGennedCapability.java | package com.oitsjustjose.geolosys.common.world.capability.Chunk;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.ListNBT;
import net.minecraft.util.math.ChunkPos;
import java.util.concurrent.ConcurrentLinkedQueue;
public class ChunkGennedCapability implements IChunkGennedCapability {
private final... | 1,497 | Java | .java | oitsjustjose/Geolosys | 42 | 33 | 13 | 2017-07-02T22:25:37Z | 2023-03-16T01:44:07Z | 0bec1ef0542d2f2fb102281151cc4b5cce97d40ea16a10ecb3e4a4653de2f048 | [] | [
1337,
785,
51,
116,
1526,
4524,
111,
2500,
51,
8544,
335,
3750,
51,
2297,
51,
5879,
51,
29053,
51,
7134,
64,
222,
222,
485,
3723,
51,
8654,
51,
39749,
51,
18133,
34770,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
739,
34770,
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,... | 362 | [
34770,
64,
222,
485,
3723,
51,
8654,
51,
39749,
51,
739,
34770,
64,
222,
485,
3723,
51,
8654,
51,
1058,
51,
3851,
51,
7134,
3010,
64,
222,
222,
485,
1401,
51,
1058,
51,
8349,
51,
18705,
15373,
4098,
64,
222,
222,
942,
462,
22946,
... | -4,402,527,621,584,978,400 | true | false | false | false | [
12747,
34770,
365,
320,
310,
42160,
34770,
27089,
299,
556,
42160,
34770,
492,
310,
1701,
34770,
18637,
299,
556,
1701,
34770,
492,
310,
477,
51,
6413,
29056,
51,
5388,
45,
7211,
3010,
984,
320,
343,
42160,
34770,
292,
299,
556,
42160,
... | 3,623,649,543,833,015,000 | true | NBT;
import net.minecraft.nbt.ListNBT;
import net.minecraft.util.math.ChunkPos;
import java.util.concurrent.ConcurrentLinkedQueue;
public class ChunkGennedCapability implements IChunkGennedCapability {
private final ConcurrentLinkedQueue<ChunkPos> generatedChunks;
public ChunkGennedCapability() {
thi... | GennedCapability {
private final ConcurrentLinkedQueue<ChunkPos> generatedChunks;
public ChunkGennedCapability() {
this.generatedChunks = new ConcurrentLinkedQueue<>();
}
@Override
public boolean hasChunkGenerated(ChunkPos pos) {
return this.generatedChunks.contains(pos);
}
... | pos) {
return this.generatedChunks.contains(pos);
}
@Override
public void setChunkGenerated(ChunkPos pos) {
this.generatedChunks.add(pos);
}
@Override
public CompoundNBT serializeNBT() {
CompoundNBT compound = new CompoundNBT();
ListNBT chunks = new ListNBT();
... | serializeNBT() {
CompoundNBT compound = new CompoundNBT();
ListNBT chunks = new ListNBT();
this.generatedChunks.forEach(chunkPos -> {
CompoundNBT t = new CompoundNBT();
t.putInt("x", chunkPos.x);
t.putInt("z", chunkPos.z);
chunks.add(t);
}... | NBT(CompoundNBT compound) {
ListNBT chunks = compound.getList("chunks", 10);
chunks.forEach(x -> {
CompoundNBT comp = (CompoundNBT) x;
ChunkPos chunkPos = new ChunkPos |
DebugCommand.java | /FileExtraction/Java_unseen/conchlin_boswell/src/main/java/client/command/commands/admin/DebugCommand.java | /*
This file is part of the HeavenMS MapleStory Server, commands OdinMS-based
Copyleft (L) 2016 - 2018 RonanLana
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 version 3 as... | 7,624 | Java | .java | conchlin/boswell | 10 | 6 | 2 | 2022-08-18T13:58:04Z | 2023-07-24T19:27:48Z | 926ca49241789d4c26851a6d547de76cd61ae3eb87e410676202b06412442f95 | [] | [
1127,
303,
1369,
822,
458,
1760,
451,
341,
4401,
5327,
2758,
3531,
293,
18494,
4242,
49,
6364,
565,
37431,
2758,
50,
7893,
303,
29521,
876,
726,
327,
81,
46,
244,
55,
53,
54,
59,
449,
244,
55,
53,
54,
61,
578,
286,
297,
81,
5505... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
3479,
37372,
411,
332,
8776,
411,
332,
10802,
411,
332,
15709,
1513,
411,
332,
985,
411,
332,
1130,
411,
332,
6010,
438,
411,
332,
1585,
411,
332,
24477,
411,
332,
2407,
1758,
411,
332,
1805,
29922,
2632,
411,
332,
3857,
29922,
2632,
... | 1,850,139,151,942,400,800 | true | false | false | false | [
97,
115,
97,
119,
97,
115,
884,
419,
456,
45,
429,
613,
299,
244,
53,
64,
613,
350,
4598,
2439,
51,
1340,
64,
613,
2002,
320,
547,
3141,
2439,
1475,
2903,
40,
81,
39,
494,
613,
494,
41314,
494,
4598,
2439,
96,
110,
98,
494,
51... | 8,239,927,494,206,430,000 | true | {"monster", "packet", "portal", "spawnpoint", "pos", "map", "mobsp", "event", "areas", "reactors", "servercoupons", "playercoupons", "timer", "marriage", ""};
{
setDescription("");
}
@Override
public void execute(MapleClient c, String[] params) {
MapleCharacter player = c.getPlaye... | ""};
{
setDescription("");
}
@Override
public void execute(MapleClient c, String[] params) {
MapleCharacter player = c.getPlayer();
if (params.length < 1) {
player.yellowMessage("Syntax:!debug <type>");
return;
}
switch (params[0])... | player.yellowMessage("Syntax:!debug <type>");
return;
}
switch (params[0]) {
case "type":
case "help":
String msgTypes = "Available #bdebug types#k:\r\n\r\n";
for(int i = 0; i < debugTypes.length; i++) {
msgTypes +... | \n\r\n";
for(int i = 0; i < debugTypes.length; i++) {
msgTypes += ("#L" + i + "#" + debugTypes[i] + "#l\r\n");
}
//c.getAbstractPlayerInteraction().npcTalk(9201143, msgTypes);
break;
case "monst... | getMapObjectsInRange(player.getPosition(), Double.POSITIVE_INFINITY, Arrays.asList(MapleMapObjectType.MONSTER));
for (MapleMapObject monstermo : monsters) {
MapleMonster monster = (MapleMonster |
PacketSyncAndroid.java | /FileExtraction/Java_unseen/Matter-Overdrive-Community-Edition_MatterOverdrive-Community-Edition-1_12_2/src/main/java/matteroverdrive/network/packet/client/PacketSyncAndroid.java |
package matteroverdrive.network.packet.client;
import io.netty.buffer.ByteBuf;
import matteroverdrive.entity.android_player.AndroidPlayer;
import matteroverdrive.entity.player.MOPlayerCapabilityProvider;
import matteroverdrive.network.packet.PacketAbstract;
import matteroverdrive.util.MOEnumHelper;
import net.minecra... | 3,739 | Java | .java | Matter-Overdrive-Community-Edition/MatterOverdrive-Community-Edition-1.12.2 | 17 | 17 | 7 | 2021-12-19T02:39:01Z | 2024-04-04T07:50:33Z | a650ac195d183bbaa034fc06f47f5fa5f479249664458713d45fc2e52fd8e339 | [] | [
222,
1337,
15254,
1515,
13872,
51,
4599,
51,
8776,
51,
1598,
64,
222,
222,
485,
3377,
51,
19116,
51,
2683,
51,
3945,
7354,
64,
222,
485,
15254,
1515,
13872,
51,
2244,
51,
4048,
100,
3857,
51,
9213,
3516,
64,
222,
485,
15254,
1515,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
3857,
51,
9213,
3516,
64,
222,
485,
15254,
1515,
13872,
51,
2244,
51,
3857,
51,
82,
1970,
1842,
19505,
2588,
64,
222,
485,
15254,
1515,
13872,
51,
4599,
51,
8776,
51,
6839,
5597,
64,
222,
485,
15254,
1515,
13872,
51,
1058,
51,
2414,... | 7,434,327,752,736,481,000 | true | false | false | false | [
35663,
51,
2836,
102,
4260,
284,
51,
7433,
4505,
64,
222,
222,
485,
1401,
51,
1058,
51,
2773,
903,
64,
222,
222,
942,
462,
18706,
4774,
9213,
2041,
18706,
5597,
320,
222,
221,
942,
924,
1175,
648,
9292,
6912,
100,
2335,
299,
449,
... | -3,770,240,225,538,068,500 | true | player.AndroidPlayer;
import matteroverdrive.entity.player.MOPlayerCapabilityProvider;
import matteroverdrive.network.packet.PacketAbstract;
import matteroverdrive.util.MOEnumHelper;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
i... | minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
import net.minecraftfor... | .fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import java.util.EnumSet;
public class PacketSyncAndroid extends PacketAbstract {
public static final int SYNC_AL... | fml.relauncher.SideOnly;
import java.util.EnumSet;
public class PacketSyncAndroid extends PacketAbstract {
public static final int SYNC_ALL = -1;
public static final int SYNC_BATTERY = 0;
public static final int SYNC_EFFECTS = 1;
public static final int SYNC_STATS = 2;
public static final int SYNC_ACTIVE | _ABILITY = 3;
public static final int SYNC_INVENTORY = 4;
NBTTagCompound data;
int dataType;
int playerID;
public PacketSyncAndroid() {
|
ObjectFactory.java | /FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/services/external/rest/v1/dto/be/ehealth/kmehr/v20141001/be/fgov/ehealth/standards/kmehr/schema/v1/ObjectFactory.java | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.... | 21,577 | Java | .java | taktik/icure-backend | 19 | 25 | 3 | 2018-03-29T12:01:32Z | 2022-11-18T08:44:46Z | e18092b86b05255866217ef15dd7f1918fa75416ce7f8436b5bef03052c0f556 | [] | [
325,
222,
325,
1369,
822,
1616,
4741,
829,
341,
4957,
9043,
29327,
456,
7408,
17393,
45,
47329,
46,
9495,
19977,
49,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
54,
61,
53,
55,
244,
222,
325,
2819,
350,
102,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
829,
341,
4957,
9043,
29327,
456,
7408,
17393,
45,
47329,
46,
9495,
19977,
49,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
54,
61,
53,
55,
244,
222,
325,
2819,
350,
102,
995,
366,
544,
574,
1874,
51,
9886,
... | -4,203,214,460,073,888,000 | true | false | false | false | [
308,
3943,
51,
123,
55,
53,
54,
57,
54,
53,
53,
54,
51,
883,
51,
4658,
1558,
51,
106,
9864,
51,
9165,
120,
51,
112,
308,
3943,
51,
3982,
51,
123,
54,
64,
222,
222,
485,
3698,
51,
2608,
51,
2555,
51,
47329,
1325,
64,
222,
485... | -2,728,775,497,182,899,000 | true | by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.14 at 03:48:33 PM CEST
//
... | /jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.14 at 03:48:33 PM CEST
//
package org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20141001.be.fgov.ehealth.standards.kmehr.schema.v1;
import jav... | 06.14 at 03:48:33 PM CEST
//
package org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20141001.be.fgov.ehealth.standards.kmehr.schema.v1;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName... | mehr.v20141001.be.fgov.ehealth.standards.kmehr.schema.v1;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import org.taktik.icure.services.external.rest.v1 | .dto.be.ehealth.kmehr.v20141001.be.fgov.ehealth.standards.kmehr.dt.v1.TextType;
import org.t |
BaseHospitalAtNightWorklistImpl.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/Clinical/src/ims/clinical/domain/base/impl/BaseHospitalAtNightWorklistImpl.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 2,703 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 2efa721cb179b3a3d685b2df454b9adc9a33c7014bcdd50a4eb77c16bfe36509 | [] | [
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,... | 606 | [
325,
2657,
327,
72,
46,
244,
54,
62,
62,
58,
50,
55,
53,
54,
57,
457,
2758,
7490,
2348,
88,
51,
3381,
4760,
5225,
51,
222,
325,
18226,
63,
4103,
2387,
24110,
341,
1813,
451,
477,
822,
222,
222,
1337,
3987,
120,
51,
27764,
1599,
... | 468,162,294,932,066,000 | true | false | false | false | [
3003,
687,
3209,
12536,
15296,
46,
222,
221,
128,
222,
221,
130,
499,
221,
69,
14030,
459,
12086,
678,
222,
221,
942,
782,
6051,
687,
92,
8824,
45,
16178,
51,
1284,
51,
3157,
51,
1878,
51,
2103,
51,
1624,
7309,
2099,
12536,
47162,
... | -1,234,397,330,894,801,200 | true | // Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.clinical.domain.base.impl;
import ims.domain.impl.DomainImpl;
public abstract class BaseHospitalAtNightWorklistImpl extends DomainImpl implements ims.clinical.domain.HospitalAtNightWorklist, ims... | impl;
import ims.domain.impl.DomainImpl;
public abstract class BaseHospitalAtNightWorklistImpl extends DomainImpl implements ims.clinical.domain.HospitalAtNightWorklist, ims.domain.impl.Transactional
{
private static final long serialVersionUID = 1L;
@SuppressWarnings("unused")
public void validatelistHospitalAtN... | domain.impl.Transactional
{
private static final long serialVersionUID = 1L;
@SuppressWarnings("unused")
public void validatelistHospitalAtNightPatientDetails(ims.clinical.vo.HospitalAtNightWorklistSearchVo criteria)
{
}
@SuppressWarnings("unused")
public void validatelistWards(ims.core.resource.place.vo.LocSi... | WorklistSearchVo criteria)
{
}
@SuppressWarnings("unused")
public void validatelistWards(ims.core.resource.place.vo.LocSiteRefVo hospital)
{
}
@SuppressWarnings("unused")
public void validategetCurrentHospital(ims.framework.interfaces.ILocation location)
{
}
@SuppressWarnings("unused")
public void valida... | (ims.framework.interfaces.ILocation currentHospital)
{
}
@SuppressWarnings("unused")
public void validateisSameStatus(ims.clinical.vo.HospitalAtNightPatientDetailRefVo |
AnnouncementsEndpoint.java | /FileExtraction/Java_unseen/RestComm_Restcomm-Connect/restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/AnnouncementsEndpoint.java | package org.restcomm.connect.http;
import akka.actor.Actor;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import akka.actor.UntypedActor;
import akka.actor.UntypedActorFactory;
import static akka.pattern.Patterns.ask;
import akka.util.Timeout;
import com.google.gson.Gson;
import c... | 8,853 | Java | .java | RestComm/Restcomm-Connect | 239 | 214 | 788 | 2012-08-17T17:47:44Z | 2023-04-14T20:58:19Z | 21b5765a614be2f9f4c62a9c59a718dff5db91c5be5b6d76d3f8d90cc7591871 | [] | [
1337,
1105,
51,
4756,
4870,
51,
3532,
51,
544,
64,
222,
222,
485,
29372,
51,
3278,
51,
10459,
64,
222,
485,
29372,
51,
3278,
51,
10459,
2099,
64,
222,
485,
29372,
51,
3278,
51,
10459,
1615,
64,
222,
485,
29372,
51,
3278,
51,
3924,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3685,
51,
1284,
51,
1416,
64,
222,
485,
924,
3698,
51,
3624,
51,
3685,
51,
1284,
51,
1416,
51,
1273,
64,
222,
485,
3698,
51,
3624,
51,
3685,
51,
1284,
51,
43836,
64,
222,
485,
1105,
51,
2121,
51,
8381,
51,
5990,
51,
2339,
... | 3,748,855,333,954,332,000 | true | false | false | false | [
8924,
1590,
64,
222,
485,
1105,
51,
4756,
4870,
51,
3532,
51,
13974,
51,
9259,
51,
26073,
31033,
64,
222,
485,
1105,
51,
4756,
4870,
51,
3532,
51,
13974,
51,
9259,
51,
7005,
21179,
1416,
64,
222,
485,
1105,
51,
4756,
4870,
51,
353... | 3,089,707,925,875,040,000 | true | .rs.core.Response;
import static javax.ws.rs.core.Response.ok;
import javax.ws.rs.core.SecurityContext;
import org.apache.commons.configuration.Configuration;
import org.apache.log4j.Logger;
import org.restcomm.connect.commons.annotations.concurrency.ThreadSafe;
import org.restcomm.connect.commons.cache.DiskCacheFactor... | apache.log4j.Logger;
import org.restcomm.connect.commons.annotations.concurrency.ThreadSafe;
import org.restcomm.connect.commons.cache.DiskCacheFactory;
import org.restcomm.connect.commons.cache.DiskCacheRequest;
import org.restcomm.connect.commons.dao.Sid;
import org.restcomm.connect.dao.AccountsDao;
import org.restco... | connect.commons.cache.DiskCacheRequest;
import org.restcomm.connect.commons.dao.Sid;
import org.restcomm.connect.dao.AccountsDao;
import org.restcomm.connect.dao.DaoManager;
import org.restcomm.connect.dao.entities.Announcement;
import org.restcomm.connect.dao.entities.RestCommResponse;
import org.restcomm.connect.http... | DaoManager;
import org.restcomm.connect.dao.entities.Announcement;
import org.restcomm.connect.dao.entities.RestCommResponse;
import org.restcomm.connect.http.converter.AnnouncementConverter;
import org.restcomm.connect.http.converter.AnnouncementListConverter;
import org.restcomm.connect.http.converter.RestCommRespons... | security.ContextUtil;
import org.restcomm.connect.identity.UserIdentityContext;
import org.restcomm.connect.tts.api.SpeechSynthesizerRequest;
import org.restcomm.connect.tts. |
MSMSLibrarySubmissionWindow.java | /FileExtraction/Java_unseen/mzmine_mzmine2/src/main/java/net/sf/mzmine/modules/peaklistmethods/io/spectraldbsubmit/view/MSMSLibrarySubmissionWindow.java | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at your opti... | 32,453 | Java | .java | mzmine/mzmine2 | 129 | 133 | 237 | 2015-03-24T07:26:14Z | 2024-05-05T11:12:07Z | affd731e38efec8f04a6c5ebc66e84d4e0f014df91666bec7141d1d0ef4b2755 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
53,
59,
50,
55,
53,
54,
61,
906,
507,
95,
6758,
244,
55,
15606,
12653,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
507,
95,
6758,
244,
55,
51,
222,
338,
1676,
338,
507,
95,
6758,
244,
55,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1196,
7979,
642,
507,
95,
6758,
244,
55,
64,
434,
666,
49,
222,
338,
2886,
391,
341,
7834,
3870,
7120,
49,
6367,
4345,
244,
58,
54,
34113,
1277,
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
... | 5,078,735,223,082,911,000 | true | false | false | false | [
8236,
51,
1585,
51,
1114,
2239,
64,
222,
485,
1401,
51,
1317,
51,
2427,
64,
222,
485,
1401,
51,
897,
51,
1193,
2222,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
... | 3,970,411,733,473,767,000 | true | License along with MZmine 2; if not,
* write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package net.sf.mzmine.modules.peaklistmethods.io.spectraldbsubmit.view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Fon... | */
package net.sf.mzmine.modules.peaklistmethods.io.spectraldbsubmit.view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
impo... | ;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemListener;
import java.net.URL;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.... | awt.event.ItemListener;
import java.net.URL;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Consumer;
import java.util.logging.Logg... |
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.swing.JButton;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JComboBox;
import javax |
PropertyPlaceholderAutoConfigurationTests.java | /FileExtraction/Java_unseen/TAKETODAY_today-infrastructure/today-framework/src/test/java/cn/taketoday/annotation/config/context/PropertyPlaceholderAutoConfigurationTests.java | /*
* Original Author -> Harry Yang (taketoday@foxmail.com) https://taketoday.cn
* Copyright © TODAY & 2017 - 2022 All Rights Reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 5,412 | Java | .java | TAKETODAY/today-infrastructure | 106 | 13 | 25 | 2018-08-16T12:12:39Z | 2024-05-08T14:01:23Z | a12b4b8c06d9ee6a2fad3996fa6ea2a44670371c5d5b0c9e49d9a84e26ea8280 | [] | [
1127,
222,
338,
20157,
6265,
984,
696,
11066,
47492,
327,
121,
23060,
450,
414,
69,
10106,
2215,
51,
527,
46,
1698,
574,
121,
23060,
450,
414,
51,
4999,
222,
338,
2657,
14416,
2841,
14332,
568,
244,
55,
53,
54,
60,
449,
244,
55,
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 | [
842,
566,
40314,
566,
14697,
27360,
40314,
63,
9515,
130,
2992,
353,
339,
736,
496,
1024,
353,
782,
1429,
1338,
4754,
2339,
1640,
10571,
10695,
5358,
3385,
9194,
19484,
3689,
17901,
365,
320,
303,
477,
51,
1834,
7980,
51,
1814,
1667,
... | 3,246,367,996,421,709,300 | true | false | false | false | [
984,
7624,
45,
1834,
51,
39497,
45,
18378,
1081,
51,
842,
566,
40314,
566,
14697,
459,
10365,
5505,
2992,
353,
339,
736,
496,
1024,
353,
782,
1429,
1338,
4754,
2339,
1640,
10571,
10695,
899,
9194,
19484,
3689,
17901,
365,
320,
303,
47... | 2,491,267,418,143,470,000 | true | class).fruit).isEqualTo("${fruit:apple}"));
}
@Test
void whenTheAutoConfigurationIsUsedThenBeanDefinitionPlaceholdersAreResolved() {
this.contextRunner.withPropertyValues("fruit:banana").withInitializer(this::definePlaceholderBean)
.withConfiguration(AutoConfigurations.of(PropertyPlaceholderAutoCo... | (this::definePlaceholderBean)
.withConfiguration(AutoConfigurations.of(PropertyPlaceholderAutoConfiguration.class))
.run((context) -> assertThat(context.getBean(PlaceholderBean.class).fruit).isEqualTo("banana"));
}
@Test
void whenTheAutoConfigurationIsNotUsedThenValuePlaceholdersAreResolved... | }
@Test
void whenTheAutoConfigurationIsNotUsedThenValuePlaceholdersAreResolved() {
this.contextRunner.withPropertyValues("fruit:banana").withUserConfiguration(PlaceholderConfig.class)
.run((context) -> assertThat(context.getBean(PlaceholderConfig.class).fruit).isEqualTo("banana"));
}
@Test
v... | -> assertThat(context.getBean(PlaceholderConfig.class).fruit).isEqualTo("banana"));
}
@Test
void whenTheAutoConfigurationIsUsedThenValuePlaceholdersAreResolved() {
this.contextRunner.withPropertyValues("fruit:banana")
.withConfiguration(AutoConfigurations.of(PropertyPlaceholderAutoConfiguration.c... | ).fruit).isEqualTo("banana"));
}
@Test
void whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForBeanDefinitionPlaceholderResolution() {
this.contextRunner.withPropertyValues("fruit:banana |
FolderPermissionsController.java | /FileExtraction/Java_unseen/magnit-tech_magreport-open-2_1/magreport-backend/src/main/java/ru/magnit/magreportbackend/controller/FolderPermissionsController.java | package ru.magnit.magreportbackend.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.PostMapping;
... | 18,631 | Java | .java | magnit-tech/magreport-open-2.1 | 10 | 1 | 0 | 2022-11-10T16:41:15Z | 2023-09-15T10:24:14Z | 4870eee460f227b332ee058598b0ff6f371671402498065ef0209b0373df3b9d | [] | [
1337,
17079,
51,
46723,
302,
51,
10528,
3755,
7887,
51,
4641,
64,
222,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3786,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3981,
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 | [
7887,
51,
4641,
64,
222,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3786,
64,
222,
485,
3377,
51,
13166,
51,
123,
56,
51,
116,
321,
51,
8839,
51,
3981,
51,
2649,
64,
222,
485,
13243,
51,
5425,
21846,
6... | -8,373,269,995,474,892,000 | true | false | false | false | [
46723,
302,
51,
10528,
3755,
7887,
51,
12292,
51,
1375,
51,
6204,
51,
7052,
2157,
1123,
64,
222,
485,
17079,
51,
46723,
302,
51,
10528,
3755,
7887,
51,
12292,
51,
1375,
51,
6204,
3755,
51,
5653,
7052,
903,
1123,
64,
222,
485,
17079,... | 6,954,888,420,696,963,000 | true | backend.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.... | extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import ru.... | org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import ru.magnit.magreportbackend.dto.request.folder.FolderRequest;
import ru.magnit.magreportbackend.dto.request.folder.PermissionCheckRequest;
import ru.magnit.magreportbackend.dto.request.folderrep... | magnit.magreportbackend.dto.request.folder.PermissionCheckRequest;
import ru.magnit.magreportbackend.dto.request.folderreport.FolderPermissionSetRequest;
import ru.magnit.magreportbackend.dto.response.ResponseBody;
import ru.magnit.magreportbackend.dto.response.permission.DataSetFolderPermissionsResponse;
import ru.mag... | ;
import ru.magnit.magreportbackend.dto.response.permission.ExcelTemplateFolderPermissionsResponse;
import ru.magnit.magreportbackend.dto.response.permission.FilterInstanceFolderPermissionsResponse;
import ru |
Grid.java | /FileExtraction/Java_unseen/adempiere_adempiere/zkwebui/WEB-INF/src/org/adempiere/webui/component/Grid.java | /******************************************************************************
* Product: Posterita Ajax UI *
* Copyright (C) 2007 Posterita Ltd. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of th... | 4,988 | Java | .java | adempiere/adempiere | 780 | 770 | 560 | 2015-01-08T01:15:53Z | 2024-04-22T22:00:16Z | 7caa1a0958407a91b1978769a5f9fdf4379bfd3741b7392a4e550ec31295f7e1 | [] | [
48063,
222,
338,
7697,
63,
6408,
284,
9756,
31931,
5326,
244,
6828,
1017,
244,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
60,
6408,
284,
9756,
19534,
51,
244,
3381,
12902,
11921,
51,
4714,
338,
222,
338,
1369,
3477,
458,
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 | [
65,
671,
49,
1701,
65,
6797,
1139,
2023,
18370,
64,
465,
581,
7877,
365,
320,
376,
221,
5282,
492,
376,
221,
325,
2630,
1263,
376,
221,
12176,
2368,
88,
842,
299,
2615,
51,
390,
40303,
2368,
88,
842,
492,
376,
221,
5282,
51,
489,
... | -6,146,738,106,509,314,000 | true | false | false | false | [
46,
320,
376,
221,
4412,
342,
299,
2615,
51,
31287,
45,
2680,
49,
2505,
2950,
312,
376,
221,
344,
327,
103,
979,
2851,
5118,
45028,
979,
1307,
7046,
46,
320,
374,
221,
7264,
5793,
299,
327,
7264,
46,
2851,
64,
374,
221,
2158,
51,
... | -7,815,785,171,963,629,000 | true | <String, List<EventListenerInfo>> listeners;
public Grid() {
super();
//cache default
oddRowSclass = super.getOddRowSclass();
super.setOddRowSclass(oddRowSclass);
listeners = new HashMap<String, List<EventListenerInfo>>();
}
public void makeNoStrip() {
setStyle("border: none");
setOddRowScla... | RowSclass);
listeners = new HashMap<String, List<EventListenerInfo>>();
}
public void makeNoStrip() {
setStyle("border: none");
setOddRowSclass(null);
noStrip = true;
}
public Rows newRows() {
Rows rows = new Rows();
appendChild(rows);
return rows;
}
public boolean insertBe... | Strip = true;
}
public Rows newRows() {
Rows rows = new Rows();
appendChild(rows);
return rows;
}
public boolean insertBefore(Component child, Component refChild) {
boolean b = super.insertBefore(child, refChild);
if (b && child instanceof Rows && noStrip) {
Rows rows = (Rows) child;
ro... | ) {
boolean b = super.insertBefore(child, refChild);
if (b && child instanceof Rows && noStrip) {
Rows rows = (Rows) child;
rows.setNoStrip(true);
}
return b;
}
@Override
public String getOddRowSclass() {
if (oddRowSclass == null)
return null;
else
return super. | getOddRowSclass();
}
@Override
public void setOddRowSclass(String scls) {
if (scls!= null && scls.length() == 0)
oddRow |
TogafSolutionConceptDiagramCommande.java | /FileExtraction/Java_unseen/ModelioOpenSource_ExtensionsForModelio/TogafArchitect/src/main/java/org/modelio/togaf/profile/applicationarchitecture/commande/explorer/diagram/command/TogafSolutionConceptDiagramCommande.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... | 3,609 | Java | .java | ModelioOpenSource/ExtensionsForModelio | 14 | 4 | 1 | 2020-09-04T11:49:58Z | 2024-02-01T10:40:41Z | ad08fdf875659faaad5e87c9dc6a762e3fae008cfff6670fb83232f53f7d850e | [] | [
1350,
1676,
338,
4773,
391,
341,
3954,
3870,
7120,
327,
17888,
46,
1549,
1611,
1676,
338,
575,
1851,
13890,
3553,
15153,
51,
244,
2819,
341,
15077,
822,
1676,
338,
2744,
642,
477,
1409,
456,
5408,
2490,
1676,
338,
12052,
5550,
13677,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 973 | [
64,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
29546,
45,
739,
65,
82,
976,
67,
4337,
100,
2559,
49,
457,
2478,
2313,
46,
320,
376,
221,
1262,
1325,
21323,
6456,
299,
327,
1262,
1325,
46,
4337,
100,
2559,
51,
390,
45... | 6,773,157,980,317,471,000 | true | false | false | false | [
2992,
281,
374,
221,
724,
108,
1566,
13667,
15458,
24544,
7671,
299,
556,
413,
835,
1566,
13667,
15458,
24544,
45,
28902,
6456,
49,
1639,
312,
374,
221,
5881,
51,
4661,
941,
15779,
45,
28902,
577,
312,
374,
221,
5881,
51,
4661,
941,
... | 6,418,542,949,149,263,000 | true | ;
}
@Override
public void actionPerformed(List<MObject> selected_element, IModule module) {
ModelElement diagramOwner = (ModelElement) selected_element.get(0);
String diagramName = getLabel();
String diagramDescription = getInformation();
IModelingSession session = TogafArchitectModule.getInstance().getModu... | diagramName = getLabel();
String diagramDescription = getInformation();
IModelingSession session = TogafArchitectModule.getInstance().getModuleContext().getModelingSession();
IDiagramService diagramService = TogafArchitectModule.getInstance().getModuleContext().getModelioServices().getDiagramService();
... | ArchitectModule.getInstance().getModuleContext().getModelioServices().getDiagramService();
try (ITransaction transaction = session.createTransaction("");) {
IStyleHandle style = diagramService.getStyle(getParameters().get("style"));
TogafSolutionConceptDiagram proxy = new TogafSolutionConceptDia... | "));
TogafSolutionConceptDiagram proxy = new TogafSolutionConceptDiagram(diagramOwner,style);
proxy.getElement().setName(diagramName);
proxy.getElement().putNoteContent("ModelerModule", "description", diagramDescription);
TogafArchitectModule.getInstance().getModuleContext().getModelioServices().getEdit... | {
e.printStackTrace();
}
}
public String getLabel() {
return ResourceManager.getName("TogafSolutionConceptDiagram");
}
public String getInformation() {
return ResourceManager |
ErrorLogWithResponse.java | /FileExtraction/Java_unseen/Impro-Visor_Impro-Visor/src/imp/util/ErrorLogWithResponse.java | /**
* This Java Class is part of the Impro-Visor Application
*
* Copyright (C) 2005-2012 Robert Keller and Harvey Mudd College
*
* Impro-Visor is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | 4,939 | Java | .java | Impro-Visor/Impro-Visor | 133 | 23 | 33 | 2015-07-17T18:57:28Z | 2023-12-30T03:07:48Z | b824d3167aa696c93c1a36f035401c0f79c5c294365db07e13eb753c74e0523c | [] | [
1350,
222,
338,
1369,
4957,
1727,
458,
1760,
451,
341,
19462,
50,
2669,
290,
6700,
222,
338,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
58,
50,
55,
53,
54,
55,
39177,
1242,
15204,
480,
25083,
7447,
507,
35716,
42620,
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 | [
290,
822,
456,
23657,
222,
338,
391,
341,
1275,
51,
222,
338,
222,
338,
1369,
462,
458,
2353,
341,
3973,
12409,
451,
341,
1611,
1067,
7501,
456,
477,
1142,
49,
222,
338,
1532,
458,
17325,
829,
640,
3742,
492,
222,
588,
222,
222,
9... | -8,466,934,341,372,916,000 | true | false | false | false | [
906,
1441,
4897,
21881,
51,
1676,
588,
222,
222,
942,
924,
1175,
648,
27111,
744,
299,
244,
56,
64,
222,
222,
1350,
1676,
338,
24995,
63,
5508,
1986,
74,
63,
1676,
338,
906,
1441,
902,
21881,
49,
1294,
1118,
4739,
840,
1649,
2282,
... | -2,592,902,346,026,228,700 | true | or file for presentation
* to the user.
*
* This class is also the keeper of the one error dialog for this app,
* which is obtained by getDialog();
*/
public class ErrorLogWithResponse
{
/**
* the names of error serverities
*/
static String name[] =
{
"Comment", // severity 0
"Warning", ... | {
/**
* the names of error serverities
*/
static String name[] =
{
"Comment", // severity 0
"Warning", // severity 1
"Severe Error", // severity 2
"Fatal Error" // severity 3
};
/**
* tag put in front of error messages
*/
private static String tag = "*** ";
/**
* severi... | 2
"Fatal Error" // severity 3
};
/**
* tag put in front of error messages
*/
private static String tag = "*** ";
/**
* severity: FATAL:
* The run cannot proceed.
*/
public static final int FATAL = 3;
/**
* severity: SEVERE:
* The run can proceed, but will stop at some point.
*/
public s... | The run cannot proceed.
*/
public static final int FATAL = 3;
/**
* severity: SEVERE:
* The run can proceed, but will stop at some point.
*/
public static final int SEVERE = 2;
/**
* severity: WARNING:
* The run can proceed, but a warning message is given.
*/
public static final int WARNING = 1;
/*... | severity: COMMENT:
* This is just a logged comment, not an error
* (to be used in debuggging and testing)
*/
public static final int COMMENT = 0;
/**
* an array of |
ClientMessageHandlerTube.java | /FileExtraction/Java_unseen/ibmruntimes_openj9-openjdk-jdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/ClientMessageHandlerTube.java | /*
* Copyright (c) 1997, 2013, 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 ... | 5,882 | Java | .java | ibmruntimes/openj9-openjdk-jdk9 | 68 | 76 | 0 | 2017-09-11T20:40:20Z | 2018-12-13T18:45:04Z | e62bf4d61474d0145bfc9e95d4a6f9a472a6d7e42c56aca0fd5e7a87321ddef5 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
54,
62,
62,
60,
49,
244,
55,
53,
54,
56,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1262,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
1184,
51,
39215,
51,
92,
12358,
3451,
64,
222,
485,
785,
51,
9886,
51,
2608,
51,
3269,
51,
3624,
51,
1256,
51,
7446,
51,
21253,
64,
222,
485,
785,
... | -3,143,934,572,816,657,000 | true | false | false | false | [
51,
2608,
51,
3624,
51,
2609,
32099,
64,
222,
485,
3698,
51,
2608,
51,
3624,
51,
4543,
51,
1193,
1237,
64,
222,
485,
3698,
51,
2608,
51,
3624,
51,
4543,
51,
1985,
64,
222,
485,
1401,
51,
1058,
7737,
222,
485,
1401,
51,
1058,
51,... | -4,076,588,727,101,609,500 | true | Model;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort;
import com.sun.xml.internal.ws.api.pipe.Tube;
import com.sun.xml.internal.ws.api.pipe.TubeCloner;
import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl;
import com.sun.xml.internal.ws.binding.BindingImpl;
import com.sun.xml.internal.ws.clien... | internal.ws.api.pipe.TubeCloner;
import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl;
import com.sun.xml.internal.ws.binding.BindingImpl;
import com.sun.xml.internal.ws.client.HandlerConfiguration;
import com.sun.xml.internal.ws.message.DataHandlerAttachment;
import javax.activation.DataHandler;
impo... | Impl;
import com.sun.xml.internal.ws.client.HandlerConfiguration;
import com.sun.xml.internal.ws.message.DataHandlerAttachment;
import javax.activation.DataHandler;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.Handler;
import java.util.*;
import java.... | .xml.ws.WebServiceException;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.Handler;
import java.util.*;
import java.util.Map.Entry;
/**
* @author Rama Pulavarthi
*/
public class ClientMessageHandlerTube extends HandlerTube {
private SEIModel seiModel;
private Set<String> roles;
... | of MessageHandlerTube
*/
public ClientMessageHandlerTube(@Nullable SEIModel seiModel, WSBinding binding, WSDLPort port, Tube next) {
super(next, port, binding);
this.seiModel = |
TopicView.java | /FileExtraction/Java_unseen/thinkingrock-gtd_tr-pc/modules/au.com.trgtd.tr.view/src/au/com/trgtd/tr/view/ui/view/TopicView.java | /*
* ThinkingRock, a project management tool for Personal Computers.
* Copyright (C) 2006 Avente Pty Ltd
*
* 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, ... | 4,189 | Java | .java | thinkingrock-gtd/tr-pc | 17 | 13 | 32 | 2018-09-08T21:14:37Z | 2024-04-06T17:52:59Z | 25da45eddf25a65731486e2e65e690ae1b28f16d1a2c1477212451dabf53fb43 | [] | [
1127,
222,
338,
40057,
318,
40656,
49,
331,
2091,
11151,
4572,
456,
34212,
40022,
502,
51,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
59,
418,
672,
106,
466,
637,
19534,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
662,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
... | 9,096,480,933,184,471,000 | true | false | false | false | [
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
3698,
51,
5934,
51,
22786,
64,
222,
485,
3698,
51,
5934,
51,
32273,
64,
222,
485,
3698,
51,
5934,
51,
3489,
51,
7263,
64,
222,
485,
3698,
51,
5934,
51,
... | 5,301,142,086,987,844,000 | true | for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package au.com.trgtd.tr.view.ui.view;
import au.com.trgtd.tr.util.Observable;
import au.com.trgtd.tr.util.Observer;
import java.awt.BorderLayout;
impo... | .trgtd.tr.view.ui.view;
import au.com.trgtd.tr.util.Observable;
import au.com.trgtd.tr.util.Observer;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.util.HashMap;
import java.util.Map;
import java... | awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;... | .util.HashMap;
import java.util.Map;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import tr.model.topic.Topic;
import static java.awt.RenderingHints.KEY_ANTIALIASING;
import static java.awt.RenderingHints.VALUE_ANTIALIAS_ON;
import static... | RenderingHints.Key;
public class TopicView extends JPanel implements Observer {
private final static Color TRANSPARENT = new Color(0, 0, 0, 0);
private final static Border LABEL_BORDER = new Empty |
MekaFrame.java | /FileExtraction/Java_unseen/Waikato_meka/src/main/java/meka/gui/core/MekaFrame.java | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | 4,041 | Java | .java | Waikato/meka | 196 | 76 | 33 | 2015-11-04T01:56:13Z | 2023-10-16T01:58:51Z | 9595b0d9a8dba905bdbe41f81f9d799746cdd12a454701e6ddae15f47b5de8be | [] | [
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 | [
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,
280,
2469,
1414,
1178,
658... | -741,052,120,676,738,400 | true | false | false | false | [
51,
8236,
7737,
222,
222,
1350,
222,
338,
418,
3145,
708,
20751,
341,
1354,
480,
3913,
664,
341,
5589,
822,
6936,
51,
222,
338,
222,
338,
496,
2133,
244,
33868,
367,
538,
327,
8829,
367,
538,
840,
27884,
1567,
6599,
8078,
1449,
8078... | -9,077,798,776,685,537,000 | true | 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/licenses/>.
*... | License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* MekaFrame.java
* Copyright (C) 2008-2015 University of Waikato, Hamilton, New Zealand
*/
package meka.gui.core;
import meka.core.OS;
import javax.swing.*;
import java.awt.*;
/**
* A frame that loads the size and locati... | 015 University of Waikato, Hamilton, New Zealand
*/
package meka.gui.core;
import meka.core.OS;
import javax.swing.*;
import java.awt.*;
/**
* A frame that loads the size and location from the props file automatically.
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision: 11583 $
*/
... | .awt.*;
/**
* A frame that loads the size and location from the props file automatically.
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision: 11583 $
*/
public class MekaFrame
extends JFrame {
/** for serialization. */
private static final long serialVersionUID = -48534275190 | 44621963L;
/** the maximization fix listener. */
protected MaximizationFixWindowListener m_MaximizationFixWindowListener;
/**
* Initializes the frame with no title.
*/ |
PriceValueType1Code.java | /FileExtraction/Java_unseen/tools20022_tools20022-api-payments/src/main/java/com/tools20022/repository/codeset/PriceValueType1Code.java | /* Tools20022 - API for ISO 20022
* Copyright (C) 2017 Tools20022.com - László Bukodi
*
* 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) a... | 7,275 | Java | .java | tools20022/tools20022-api-payments | 18 | 8 | 1 | 2017-10-29T23:06:21Z | 2018-04-07T19:51:14Z | 6a6d4efd3eb75b3cf26e1bf19da6d64f1f2697a4f0a7d8f9bb2a3c9b17c948ef | [] | [
1127,
15630,
55,
53,
53,
55,
55,
449,
2347,
456,
19672,
244,
55,
53,
53,
55,
55,
222,
47,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
15630,
55,
53,
53,
55,
55,
51,
527,
449,
517,
1597,
5776,
113,
2122,
2755,
112,
32873,
244,
22... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2580,
46404,
51,
2842,
1241,
903,
40,
24202,
1361,
130,
299,
222,
338,
350,
357,
67,
222,
338,
350,
393,
67,
222,
338,
3105,
1222,
7378,
785,
51,
4303,
55,
53,
53,
55,
55,
51,
6335,
51,
707,
489,
51,
5620,
17643,
54,
1241,
40,
... | -7,573,180,798,832,655,000 | true | false | false | false | [
350,
393,
19338,
1222,
7378,
785,
51,
4303,
55,
53,
53,
55,
55,
51,
2580,
46404,
51,
2842,
1241,
903,
40,
390,
4804,
8266,
130,
299,
222,
338,
3105,
1222,
7378,
785,
51,
4303,
55,
53,
53,
55,
55,
51,
6335,
51,
707,
489,
51,
56... | -6,553,198,773,204,691,000 | true | metamodel.MMCodeSet#getCode code} =
* <ul>
* <li>
* {@linkplain com.tools20022.repository.codeset.PriceValueType1Code#Discount
* PriceValueType1Code.Discount}</li>
* <li>
* {@linkplain com.tools20022.repository.codeset.PriceValueType1Code#Premium
* PriceValueType1Code.Premium}</li>
* <li>{@linkplain com.tools20... | 1Code.Discount}</li>
* <li>
* {@linkplain com.tools20022.repository.codeset.PriceValueType1Code#Premium
* PriceValueType1Code.Premium}</li>
* <li>{@linkplain com.tools20022.repository.codeset.PriceValueType1Code#Par
* PriceValueType1Code.Par}</li>
* </ul>
* </li>
* <li>{@linkplain com.tools20022.metamodel.MMCod... |
* <li>{@linkplain com.tools20022.repository.codeset.PriceValueType1Code#Par
* PriceValueType1Code.Par}</li>
* </ul>
* </li>
* <li>{@linkplain com.tools20022.metamodel.MMCodeSet#getTrace trace} =
* {@linkplain com.tools20022.repository.codeset.PriceValueTypeCode
* PriceValueTypeCode}</li>
* <li>
* {@linkplain ... | <li>{@linkplain com.tools20022.metamodel.MMCodeSet#getTrace trace} =
* {@linkplain com.tools20022.repository.codeset.PriceValueTypeCode
* PriceValueTypeCode}</li>
* <li>
* {@linkplain com.tools20022.metamodel.MMTopLevelDictionaryEntry#getDataDictionary
* dataDictionary} =
* {@linkplain com.tools2 | 0022.repository.GeneratedRepository#dataDict
* GeneratedRepository.dataDict}</li>
* <li>{@linkplain com.tools20022.metamodel.MMRepositoryConcept#getExample
* example |
BarrierBasedNavigation.java | /FileExtraction/Java_unseen/g-filomena_PedSimCity/src/main/java/pedSim/routeChoice/BarrierBasedNavigation.java | package pedSim.routeChoice;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.javatuples.Pair;
import org.locationtech.jts.geom.Coordinate;
import org.lo... | 10,386 | Java | .java | g-filomena/PedSimCity | 10 | 4 | 0 | 2019-10-22T13:59:06Z | 2024-04-29T15:00:42Z | ac7a2ad9f2a04f56c4fc096915fed8870bc56231fd52ab5f782fc9402744f20e | [] | [
1337,
28207,
6018,
51,
4363,
13853,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
17163,
64,
222,
485,
1401,
51,
10... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
376,
588,
222,
221,
942,
1701,
65,
1230,
3418,
67,
6645,
2914,
37493,
365,
2589,
3284,
320,
1332,
221,
11705,
1225,
299,
556,
8329,
65,
3078,
49,
11284,
3418,
1579,
25639,
6018,
11134,
51,
11705,
1225,
312,
376,
221,
1719,
2941,
299,
... | 7,293,841,883,994,026,000 | true | false | false | false | [
49,
762,
312,
374,
221,
344,
327,
28891,
17350,
630,
762,
46,
621,
221,
2986,
64,
2556,
221,
6535,
3418,
6766,
17350,
299,
36191,
17350,
51,
6693,
53,
492,
374,
221,
429,
36191,
299,
36191,
17350,
51,
6693,
54,
492,
374,
221,
1230,
... | -3,901,830,270,767,946,000 | true |
*/
public List<NodeGraph> sequenceBarriers() throws Exception {
edgesMap = new HashMap<Integer, EdgeGraph>(PedSimCity.edgesMap);
currentLocation = originNode;
// sub-goals
sequence.add(originNode);
while (true) {
if (currentLocation.equals(destinationNode))
throw new Exception("destinationNode a... | goals
sequence.add(originNode);
while (true) {
if (currentLocation.equals(destinationNode))
throw new Exception("destinationNode and currentLocation are the same");
Map<Integer, Double> validBarriers = findValidBarriers(currentLocation, null);
if (validBarriers.isEmpty())
break;
Pair<EdgeGrap... | Double> validBarriers = findValidBarriers(currentLocation, null);
if (validBarriers.isEmpty())
break;
Pair<EdgeGraph, Integer> barrierGoal = identifyBarrierSubGoal(validBarriers, null);
if (barrierGoal == null)
break;
EdgeGraph edgeGoal = barrierGoal.getValue0();
int barrier = barrierGoal.getV... | , null);
if (barrierGoal == null)
break;
EdgeGraph edgeGoal = barrierGoal.getValue0();
int barrier = barrierGoal.getValue1();
NodeGraph subGoal = GraphUtils.getCachedNodesDistance(currentLocation, edgeGoal.getFromNode()) < GraphUtils
.getCachedNodesDistance(currentLocation, edgeGoal.getToNode())? ... | getToNode();
sequence.add(subGoal);
currentLocation = subGoal;
visitedBarriers.add(barrier); // to avoid visiting them again
if (subGoal.equals(destinationNode)) |
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 | [
125,
53,
53,
53,
53,
53,
53,
53,
54,
46,
882,
244,
53,
64,
303,
339,
465,
1041,
294,
338,
350,
707,
67,
5311,
657,
1829,
436,
1139,
1646,
436,
299,
244,
57,
2701,
707,
67,
294,
338,
496,
620,
477,
294,
588,
303,
581,
14345,
... | -3,404,891,038,375,012,400 | true | false | false | false | [
434,
863,
2660,
391,
5370,
580,
51,
294,
338,
294,
338,
496,
620,
3584,
4780,
1319,
456,
9198,
294,
588,
303,
581,
7118,
436,
1139,
29094,
51,
1829,
436,
1139,
640,
1829,
436,
365,
320,
416,
461,
1646,
436,
64,
303,
339,
465,
1041... | 7,924,916,481,100,148,000 | true | x00000001)!= 0;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
* @return this
*/
public SyncLineupNotify clearLineup() {
bitField0_ &= ~0x00000001;
lineup.clear();
return this;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
*
* This metho... | Lineup() {
bitField0_ &= ~0x00000001;
lineup.clear();
return this;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
*
* This method returns the internal storage object without modifying any has state.
* The returned object should not be modified and be treated as read-... | ;</code>
*
* This method returns the internal storage object without modifying any has state.
* The returned object should not be modified and be treated as read-only.
*
* Use {@link #getMutableLineup()} if you want to modify it.
*
* @return internal storage object for reading
*/... | if you want to modify it.
*
* @return internal storage object for reading
*/
public LineupInfoOuterClass.LineupInfo getLineup() {
return lineup;
}
/**
* <code>optional.LineupInfo lineup = 4;</code>
*
* This method returns the internal storage object and sets the corresp... | long as the has state is not cleared.
*
* @return internal storage object for modifications
*/
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
bitField0_ |= 0x0000 |
HttpClientBuilderTest.java | /FileExtraction/Java_unseen/ow2-proactive_scheduling/common/common-http/src/test/java/org/ow2/proactive/http/HttpClientBuilderTest.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... | 11,460 | Java | .java | ow2-proactive/scheduling | 60 | 53 | 155 | 2015-05-16T13:38:55Z | 2024-05-07T13:08:56Z | 57e01f9ce7c09be8a296b5a5c8a8ad50e47c68d4da266547c8407e7f0c1456a5 | [] | [
1127,
222,
338,
1330,
4091,
29829,
25280,
45,
9043,
731,
222,
338,
906,
3944,
6391,
4277,
456,
11994,
480,
2744,
222,
338,
21275,
120,
568,
377,
16501,
49,
565,
30568,
31655,
49,
7594,
30336,
222,
338,
480,
7766,
2426,
17497,
563,
234... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
339,
465,
496,
5131,
303,
581,
782,
28896,
365,
320,
310,
1189,
51,
3830,
1667,
45,
2609,
3303,
51,
13802,
100,
30365,
100,
18425,
100,
15190,
100,
30543,
44398,
51,
11728,
1052,
310,
1189,
51,
3830,
1667,
45,
2609,
3303,
51,
13802,
... | -7,315,746,475,206,442,000 | true | false | false | false | [
45,
1886,
312,
310,
31466,
1812,
51,
1848,
492,
603,
26289,
51,
6970,
45,
3269,
15120,
1812,
566,
1848,
492,
310,
26289,
51,
6970,
45,
3269,
15120,
1812,
49,
7162,
4269,
489,
25874,
24689,
45,
17076,
5717,
93,
58,
53,
62,
25874,
246... | -6,725,958,530,709,862,000 | true | }
@After
public void tearDown() {
System.clearProperty(WebProperties.WEB_HTTPS_ALLOW_ANY_CERTIFICATE.getKey());
System.clearProperty(WebProperties.WEB_HTTPS_ALLOW_ANY_HOSTNAME.getKey());
}
@Test
public void testAllowAnyHostnameTrue() throws Exception {
httpClientBuilder.al... | .getKey());
}
@Test
public void testAllowAnyHostnameTrue() throws Exception {
httpClientBuilder.allowAnyHostname(true);
httpClientBuilder.build();
Mockito.verify(internalHttpClientBuilder).build();
Mockito.verify(internalHttpClientBuilder)
.setHostnameVerifier... | verify(internalHttpClientBuilder)
.setHostnameVerifier(SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
}
@Test
public void testAllowAnyHostnameFalse() throws Exception {
httpClientBuilder.allowAnyHostname(false);
httpClientBuilder.build();
Mockito.verify(inte... | (false);
httpClientBuilder.build();
Mockito.verify(internalHttpClientBuilder).build();
Mockito.verify(internalHttpClientBuilder, never()).setHostnameVerifier(Mockito.<X509HostnameVerifier> any());
}
@Test
public void testAllowAnyCertificateTrue() throws Exception {
httpClie... | Sslcontext(Mockito.<SSLContext> any());
}
@Test
public void testAllowAnyCertificateFalse() throws Exception {
httpClientBuilder.allowAnyCertificate(false);
httpClientBuilder.build();
Mockito.verify(internalHttpClient |
FeatureStoreKeyword.java | /FileExtraction/Java_unseen/logicalclocks_hopsworks/hopsworks-persistence/src/main/java/io/hops/hopsworks/persistence/entity/featurestore/metadata/FeatureStoreKeyword.java | /*
* This file is part of Hopsworks
* Copyright (C) 2023, Hopsworks AB. All rights reserved
*
* Hopsworks is free software: you can redistribute it and/or modify it under the terms of
* the GNU Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at yo... | 3,402 | Java | .java | logicalclocks/hopsworks | 1,087 | 142 | 13 | 2018-07-26T08:13:34Z | 2024-05-07T18:06:00Z | d657d848c9119b6fbeb801933b2adaf9ba9c723f2cbc2b7d3fae30a3f36fb940 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
696,
4178,
14108,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
56,
49,
696,
4178,
14108,
20660,
51,
3381,
4760,
5225,
222,
338,
222,
338,
696,
4178,
14108,
458,
3760,
2951,
63,
863,
902,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 852 | [
299,
332,
3317,
100,
2173,
100,
7323,
411,
15652,
299,
332,
109,
4178,
14108,
678,
222,
69,
4411,
4069,
1325,
222,
942,
462,
8608,
2796,
13094,
4584,
8608,
2796,
4108,
49,
19182,
320,
4070,
964,
924,
1175,
1964,
19896,
299,
244,
54,
... | 4,911,302,956,076,507,000 | true | false | false | false | [
100,
333,
411,
15157,
16702,
299,
332,
333,
678,
353,
496,
35699,
365,
353,
964,
23300,
9440,
7924,
9440,
64,
4070,
496,
2154,
45,
444,
299,
332,
444,
678,
353,
496,
7114,
45,
5311,
299,
920,
46,
353,
496,
4936,
353,
496,
1269,
45... | 2,937,576,554,849,176,600 | true | = "feature_store_keyword", catalog = "hopsworks")
@XmlRootElement
public class FeatureStoreKeyword implements FeatureStoreMetadata, Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@Column(name = "id")
privat... | (strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@Column(name = "id")
private Integer id;
@JoinColumn(name = "feature_group_id", referencedColumnName = "id")
@ManyToOne()
private Featuregroup featureGroup;
@JoinColumn(name = "feature_view_id", referencedColumnName = "id")
@ManyToOne()
... | @ManyToOne()
private Featuregroup featureGroup;
@JoinColumn(name = "feature_view_id", referencedColumnName = "id")
@ManyToOne()
private FeatureView featureView;
@JoinColumn(name = "training_dataset_id", referencedColumnName = "id")
@ManyToOne()
private TrainingDataset trainingDataset;
@Column(name =... | _id", referencedColumnName = "id")
@ManyToOne()
private TrainingDataset trainingDataset;
@Column(name = "name")
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 255)
private String name;
public FeatureStoreKeyword() {
}
public FeatureStoreKeyword(String name) {
this.name = name;
... | }
public void setId(Integer id) {
this.id = id;
}
public Featuregroup getFeatureGroup() {
return featureGroup;
}
public void setFeatureGroup(Featuregroup featureGroup) {
this |
MekaFrame.java | /FileExtraction/Java_unseen/Waikato_meka/src/main/java/meka/gui/core/MekaFrame.java | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | 4,041 | Java | .java | Waikato/meka | 196 | 76 | 33 | 2015-11-04T01:56:13Z | 2023-10-16T01:58:51Z | 9595b0d9a8dba905bdbe41f81f9d799746cdd12a454701e6ddae15f47b5de8be | [] | [
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,
418,
3145,
708,
20751,
341,
1354,
480,
3913,
664,
341,
5589,
822,
6936,
51,
222,
338,
222,
338,
496,
2133,
244,
33868,
367,
538,
327,
8829,
367,
538,
840,
27884,
1567,
6599,
8078,
1449,
8078,
20181,
46,
222,
338,
496,
1687... | 6,684,103,258,860,738,000 | true | false | false | false | [
365,
320,
376,
221,
597,
10928,
222,
221,
130,
499,
221,
1350,
376,
338,
21010,
341,
3145,
642,
341,
2716,
1799,
51,
376,
338,
376,
338,
496,
772,
1799,
221,
1402,
1799,
451,
341,
3145,
376,
588,
222,
221,
942,
3130,
3812,
2163,
4... | -8,952,835,721,999,586,000 | true |
* A frame that loads the size and location from the props file automatically.
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision: 11583 $
*/
public class MekaFrame
extends JFrame {
/** for serialization. */
private static final long serialVersionUID = -4853427519044621963L;
/** ... | 83 $
*/
public class MekaFrame
extends JFrame {
/** for serialization. */
private static final long serialVersionUID = -4853427519044621963L;
/** the maximization fix listener. */
protected MaximizationFixWindowListener m_MaximizationFixWindowListener;
/**
* Initializes the frame with no title.
*/
publi... | 63L;
/** the maximization fix listener. */
protected MaximizationFixWindowListener m_MaximizationFixWindowListener;
/**
* Initializes the frame with no title.
*/
public MekaFrame() {
this("");
}
/**
* Initializes the frame with the given title.
*
* @param title the title of the frame
*/
public M... | () {
this("");
}
/**
* Initializes the frame with the given title.
*
* @param title the title of the frame
*/
public MekaFrame(String title) {
super(title);
performInitialization();
}
/**
* Initializes the frame with no title.
*
* @param gc the graphics configuration to use
*/
public Mek... | ) {
this("", gc);
}
/**
* Initializes the frame with the specified title.
*
* @param title the title of the frame
* @param gc the graphics configuration to use
|
BSTest.java | /FileExtraction/Java_unseen/actoron_jadex/serialization/binary/src/test/java/jadex/binary/BSTest.java | package jadex.binary;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.lang.reflect.UndeclaredThrowableException;
import jadex.commons.transformation.A;
import jadex.commons.transformation.B;
import jadex.commons.transformation.traverser.IErrorReporter;
/**
* Testcases for wr... | 3,081 | Java | .java | actoron/jadex | 41 | 14 | 6 | 2018-12-17T16:23:08Z | 2023-03-08T11:00:48Z | 1c697fb76c4cc3727947c7ee7fe89a5df10f97367e9d9f31553fffcca1f4f0e9 | [] | [
1337,
23173,
669,
51,
7038,
64,
222,
222,
485,
1401,
51,
735,
51,
12561,
6989,
64,
222,
485,
1401,
51,
735,
51,
12561,
8783,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1079,
26537,
14080,
1002,
64,
222,
222,
485,
23173,
669,
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,... | 834 | [
6958,
7271,
55,
51,
1491,
724,
12561,
45,
35139,
49,
762,
49,
762,
49,
762,
312,
376,
221,
2278,
1197,
14304,
299,
327,
2278,
9798,
764,
2553,
45,
35139,
312,
4102,
221,
1079,
26537,
14080,
1002,
986,
299,
327,
1079,
26537,
14080,
1... | -117,301,080,269,151,650 | true | false | false | false | [
942,
782,
913,
5850,
1736,
1491,
1359,
365,
2589,
3284,
222,
221,
128,
376,
221,
1615,
51,
560,
51,
3962,
459,
5850,
1381,
50,
1491,
462,
913,
5377,
376,
221,
70,
2847,
299,
556,
418,
45,
56,
49,
332,
2792,
104,
411,
556,
570,
4... | 7,025,308,406,480,252,000 | true | BinarySerializer2.objectToByteArray(oute, null, null, null);
byte[] serialized = (byte[]) doWrite(oute);
UndeclaredThrowableException out = (UndeclaredThrowableException) doRead(serialized);
if (!msg.equals(out.getMessage()))
{
throw new RuntimeException("Messages do not match, expected: " + msg + " go... | if (!msg.equals(out.getMessage()))
{
throw new RuntimeException("Messages do not match, expected: " + msg + " got: " + out.getMessage());
}
if (!causemsg.equals(out.getCause().getMessage()))
{
throw new RuntimeException("Cause does not match, expected: " + causemsg + " got: " + out.getCause().getMessa... | equals(out.getCause().getMessage()))
{
throw new RuntimeException("Cause does not match, expected: " + causemsg + " got: " + out.getCause().getMessage());
}
}
public void testUnknownSubobjectClass() throws Exception
{
System.out.println("Unknown sub-object class test.");
A obj = new A(3, "Abc", new B("x... | public void testUnknownSubobjectClass() throws Exception
{
System.out.println("Unknown sub-object class test.");
A obj = new A(3, "Abc", new B("xyz"), null);
byte[] serialized = (byte[]) doWrite(obj);
ClassLoader dcl = new ClassLoader()
{
public Class<?> loadClass(String name) throws ClassNotFoundEx... | jadex.commons.transformation.B"))
{
throw new ClassNotFoundException("B filtered.");
}
return super.loadClass(name);
}
};
ByteArrayInputStream bais = new ByteArrayInputStream |
PatientGraphicAssessmentQuestionAnswerVo.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/assessment/vo/PatientGraphicAssessmentQuestionAnswerVo.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 9,828 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 5ef43be77c23543b627f2f293c5d867a6bcea71a2c9f3ce57f316cdc65d364f9 | [] | [
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 | [
244,
54,
81,
64,
499,
221,
942,
33989,
23903,
23419,
9932,
10966,
12536,
365,
222,
221,
128,
222,
221,
130,
222,
221,
942,
33989,
23903,
23419,
9932,
10966,
12536,
45,
3078,
828,
49,
648,
1522,
46,
222,
221,
128,
376,
221,
5282,
45,... | -9,186,223,209,808,449,000 | true | false | false | false | [
1848,
12536,
492,
376,
221,
597,
51,
16976,
21728,
299,
3987,
120,
51,
31250,
51,
2103,
51,
18754,
23419,
10966,
12536,
2272,
51,
1848,
1811,
5358,
2272,
45,
12455,
51,
390,
18754,
24073,
1052,
222,
221,
130,
222,
221,
942,
782,
18985... | -6,445,654,543,153,695,000 | true | 1L;
public PatientGraphicAssessmentQuestionAnswerVo()
{
}
public PatientGraphicAssessmentQuestionAnswerVo(Integer id, int version)
{
super(id, version);
}
public PatientGraphicAssessmentQuestionAnswerVo(ims.assessment.vo.beans.PatientGraphicAssessmentQuestionAnswerVoBean bean)
{
this.id = bean.getId();
... |
public PatientGraphicAssessmentQuestionAnswerVo(ims.assessment.vo.beans.PatientGraphicAssessmentQuestionAnswerVoBean bean)
{
this.id = bean.getId();
this.version = bean.getVersion();
this.isanswered = bean.getIsAnswered();
this.ismandatory = bean.getIsMandatory();
this.graphicquestion = bean.getGraphicQues... |
this.isanswered = bean.getIsAnswered();
this.ismandatory = bean.getIsMandatory();
this.graphicquestion = bean.getGraphicQuestion() == null? null : bean.getGraphicQuestion().buildVo();
this.patientanswers = ims.assessment.vo.PatientAssessmentAnswerVoCollection.buildFromBeanCollection(bean.getPatientAnswers());
... | buildVo();
this.patientanswers = ims.assessment.vo.PatientAssessmentAnswerVoCollection.buildFromBeanCollection(bean.getPatientAnswers());
}
public void populate(ims.vo.ValueObjectBeanMap map, ims.assessment.vo.beans.PatientGraphicAssessmentQuestionAnswerVoBean bean)
{
this.id = bean.getId();
this.version = bea... | = bean.getIsAnswered();
this.ismandatory = bean.getIsMandatory();
this.graphicquestion = bean.getGraphicQuestion() == null? null : bean.getGraphicQuestion().buildVo(map);
|
Comparators.java | /FileExtraction/Java_unseen/mkulesh_microMathematics/app/src/main/java/com/mkulesh/micromath/formula/terms/Comparators.java | /*
* microMathematics - Extended Visual Calculator
* Copyright (C) 2014-2022 by Mikhail Kulesh
*
* 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 you... | 13,224 | Java | .java | mkulesh/microMathematics | 546 | 68 | 6 | 2017-07-29T19:26:37Z | 2024-04-21T12:19:20Z | e6d885cd64405ad6904ac188bf5870531100a8fdf9c332aa850b6567675e269a | [] | [
1127,
222,
338,
10314,
3002,
19817,
120,
449,
24675,
8879,
42627,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
57,
50,
55,
53,
55,
55,
829,
507,
1567,
109,
626,
1242,
779,
635,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
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 | [
12081,
51,
3414,
12791,
64,
222,
222,
485,
1401,
51,
1058,
51,
9459,
64,
222,
222,
942,
462,
2270,
301,
4079,
2041,
32500,
6269,
222,
128,
303,
581,
12454,
638,
2811,
51,
1582,
638,
640,
1582,
638,
365,
303,
320,
310,
461,
12454,
... | 8,003,793,106,372,605,000 | true | false | false | false | [
2247,
490,
310,
517,
2521,
45,
87,
51,
819,
51,
20182,
100,
38333,
100,
2290,
49,
578,
51,
16926,
51,
117,
100,
38333,
100,
2290,
49,
578,
51,
819,
51,
3851,
100,
38333,
100,
2290,
490,
310,
517,
2521,
100,
5914,
45,
419,
578,
5... | 6,230,847,215,842,451,000 | true | widgets.CustomTextView;
import java.util.Locale;
public class Comparators extends FormulaTerm
{
public TermTypeIf.GroupType getGroupType()
{
return TermTypeIf.GroupType.COMPARATORS;
}
/**
* Supported comparators
*/
public enum ComparatorType implements TermTypeIf
{
E... | ARATORS;
}
/**
* Supported comparators
*/
public enum ComparatorType implements TermTypeIf
{
EQUAL(R.string.formula_comparator_equal, R.drawable.p_comparator_equal, R.string.math_comparator_equal),
NOT_EQUAL(
R.string.formula_comparator_not_equal,
... | string.math_comparator_equal),
NOT_EQUAL(
R.string.formula_comparator_not_equal,
R.drawable.p_comparator_not_equal,
R.string.math_comparator_not_equal),
LESS(R.string.formula_comparator_less, R.drawable.p_comparator_less, R.string.math_comparator_less),
... | equal),
LESS(R.string.formula_comparator_less, R.drawable.p_comparator_less, R.string.math_comparator_less),
LESS_EQUAL(
R.string.formula_comparator_less_eq,
R.drawable.p_comparator_less_eq,
R.string.math_comparator_less_eq),
GREATER(R.string.formu... | p_comparator_greater, R.string.math_comparator_greater),
GREATER_EQUAL(
R.string.formula_comparator_greater_eq,
R.drawable.p_comparator_greater_eq,
|
Guide.java | /FileExtraction/Java_unseen/aleksilassila_litematica-printer/common/src/main/java/me/aleksilassila/litematica/printer/common/guides/Guide.java | package me.aleksilassila.litematica.printer.common.guides;
import me.aleksilassila.litematica.printer.common.BlockHelper;
import me.aleksilassila.litematica.printer.common.SchematicBlockState;
import me.aleksilassila.litematica.printer.common.actions.Action;
import net.minecraft.block.BlockState;
import net.minecraft.... | 4,479 | Java | .java | aleksilassila/litematica-printer | 289 | 63 | 51 | 2020-10-04T09:37:24Z | 2023-12-23T00:44:23Z | e327b9a5eb614571300729d5eb13524e436ac65c06eba154dd0f0264254e8bed | [] | [
1337,
616,
51,
1572,
5532,
354,
369,
16939,
51,
113,
1113,
706,
102,
51,
21176,
51,
2297,
51,
24289,
64,
222,
222,
485,
616,
51,
1572,
5532,
354,
369,
16939,
51,
113,
1113,
706,
102,
51,
21176,
51,
2297,
51,
2246,
2775,
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,... | 999 | [
51,
1311,
299,
1621,
64,
603,
477,
51,
39415,
299,
1621,
51,
39415,
64,
310,
477,
51,
2000,
1095,
299,
1621,
51,
2000,
1095,
64,
303,
339,
465,
2532,
1922,
4376,
4008,
4058,
1114,
45,
1503,
3516,
2234,
4376,
46,
320,
310,
461,
640... | 3,655,898,799,078,481,000 | true | false | false | false | [
51,
390,
45,
110,
566,
316,
1114,
1342,
45,
1113,
3131,
509,
320,
419,
461,
613,
64,
343,
339,
310,
339,
603,
461,
449,
54,
64,
303,
339,
465,
2532,
648,
640,
5425,
26022,
9493,
45,
1503,
3516,
2234,
4376,
46,
320,
310,
434,
327... | 4,211,448,516,443,135,000 | true | .state = state;
this.currentState = state.currentState;
this.targetState = state.targetState;
}
protected boolean playerHasRightItem(ClientPlayerEntity player) {
return getRequiredItemStackSlot(player)!= -1;
}
protected int getSlotWithItem(ClientPlayerEntity player, ItemStack ... | != -1;
}
protected int getSlotWithItem(ClientPlayerEntity player, ItemStack itemStack) {
PlayerInventory inventory = player.getInventory();
for (int i = 0; i < inventory.main.size(); ++i) {
if (itemStack.isEmpty() && inventory.main.get(i).isOf(itemStack.getItem())) return i;
... | (); ++i) {
if (itemStack.isEmpty() && inventory.main.get(i).isOf(itemStack.getItem())) return i;
if (!inventory.main.get(i).isEmpty() && inventory.main.get(i).isItemEqual(itemStack)) {
return i;
}
}
return -1;
}
protected int getRequiredItemS... | .get(i).isItemEqual(itemStack)) {
return i;
}
}
return -1;
}
protected int getRequiredItemStackSlot(ClientPlayerEntity player) {
if (player.getAbilities().creativeMode) {
return player.getInventory().selectedSlot;
}
Optional<Item... | , requiredItem.get());
}
public boolean canExecute(ClientPlayerEntity player) {
if (!playerHasRightItem(player)) return false;
BlockState targetState = state.targetState;
BlockState currentState = |
ActiveArrayList.java | /FileExtraction/Java_unseen/lwizchz_GameMaker-HTML5-Player/GHPC_Source/org/lateralgm/util/ActiveArrayList.java | /*
* Copyright (C) 2009 Quadduc <quadduc@gmail.com>
*
* This file is part of LateralGM.
* LateralGM is free software and comes with ABSOLUTELY NO WARRANTY.
* See LICENSE for details.
*/
package org.lateralgm.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.later... | 3,367 | Java | .java | lwizchz/GameMaker-HTML5-Player | 22 | 9 | 0 | 2011-09-10T16:05:20Z | 2013-05-06T23:00:17Z | d1eced56126c09f028f97eb270509b8b62c68ec117cdea452b1e37375ee3e573 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
5618,
688,
1027,
350,
467,
688,
1027,
69,
7265,
51,
527,
67,
222,
338,
1676,
338,
1369,
822,
458,
1760,
451,
517,
20696,
15185,
51,
222,
338,
517,
20696,
15185,
458,
3760,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2559,
312,
376,
221,
7513,
51,
5734,
45,
909,
1701,
2346,
1167,
45,
1896,
2044,
49,
638,
51,
1208,
10884,
49,
1076,
49,
1076,
894,
376,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
1922,
1035,
1947,
45,
2272,
1907,
2041,
535,
67,
... | -7,036,953,775,154,156,000 | true | false | false | false | [
45,
1076,
49,
104,
509,
374,
221,
128,
374,
221,
7513,
51,
5734,
45,
909,
1701,
2346,
1167,
45,
1896,
2044,
49,
638,
51,
1208,
10884,
49,
1076,
49,
1076,
494,
1354,
365,
449,
328,
449,
244,
54,
894,
374,
221,
620,
878,
64,
374,
... | -7,690,990,432,415,055,000 | true | element);
trigger.fire(new ListUpdateEvent(updateSource,Type.ADDED,index,index));
}
@Override
public boolean addAll(Collection<? extends E> c)
{
int s = size();
if (super.addAll(c))
{
trigger.fire(new ListUpdateEvent(updateSource,Type.ADDED,s,size() - 1));
return true;
}
return false;
}
@... | int s = size();
if (super.addAll(c))
{
trigger.fire(new ListUpdateEvent(updateSource,Type.ADDED,s,size() - 1));
return true;
}
return false;
}
@Override
public boolean addAll(int index, Collection<? extends E> c)
{
int s = size();
if (super.addAll(index,c))
{
trigger.fire(new ListUpdat... | ;
}
return false;
}
@Override
public boolean addAll(int index, Collection<? extends E> c)
{
int s = size();
if (super.addAll(index,c))
{
trigger.fire(new ListUpdateEvent(updateSource,Type.ADDED,index,index + size() - s - 1));
return true;
}
return false;
}
@Override
public void clear(... | (index,c))
{
trigger.fire(new ListUpdateEvent(updateSource,Type.ADDED,index,index + size() - s - 1));
return true;
}
return false;
}
@Override
public void clear()
{
int s = size();
super.clear();
trigger.fire(new ListUpdateEvent(updateSource,Type.REMOVED, | 0,s - 1));
}
@Override
public E remove(int index)
{
E e = super.remove(index);
trigger.fire(new ListUpdateEvent(updateSource |
AllAuctionsGUI.java | /FileExtraction/Java_unseen/r3back_the-core/TheAuction/src/main/java/com/qualityplus/auction/base/gui/all/AllAuctionsGUI.java | package com.qualityplus.auction.base.gui.all;
import com.qualityplus.assistant.api.util.IPlaceholder;
import com.qualityplus.assistant.base.dependency.ProtocolLibDependency;
import com.qualityplus.assistant.inventory.SignGUIImpl;
import com.qualityplus.assistant.util.inventory.InventoryUtils;
import com.qualityplus.as... | 11,965 | Java | .java | r3back/the-core | 9 | 9 | 8 | 2022-10-29T02:27:04Z | 2024-03-09T23:58:17Z | ed8b2931e917377375eb1f2384d0f651ce58101e3c1cf52cd8e8fa423893b4de | [] | [
1337,
785,
51,
13752,
5447,
51,
46568,
51,
1460,
51,
8472,
51,
483,
64,
222,
222,
485,
785,
51,
13752,
5447,
51,
17595,
51,
1256,
51,
1058,
51,
78,
18378,
64,
222,
485,
785,
51,
13752,
5447,
51,
17595,
51,
1460,
51,
9281,
51,
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 | [
5447,
51,
46568,
51,
1460,
51,
8472,
51,
38451,
10586,
64,
222,
485,
785,
51,
13752,
5447,
51,
46568,
51,
1460,
51,
8472,
51,
1850,
51,
4370,
38451,
10586,
64,
222,
485,
785,
51,
13752,
5447,
51,
46568,
51,
1460,
51,
8472,
51,
109... | 7,071,194,697,801,206,000 | true | false | false | false | [
38451,
26022,
2769,
64,
222,
485,
1105,
51,
20402,
51,
982,
17120,
64,
222,
485,
1105,
51,
20402,
51,
2244,
51,
3516,
64,
222,
485,
1105,
51,
20402,
51,
1585,
51,
12944,
51,
12420,
2668,
1167,
64,
222,
485,
1105,
51,
20402,
51,
12... | -2,402,348,604,539,728,000 | true | plus.auction.base.gui.AuctionGUI;
import com.qualityplus.auction.base.gui.main.MainAuctionGUI;
import com.qualityplus.auction.base.gui.view.ViewOpener;
import com.qualityplus.auction.base.searcher.AuctionSearcher;
import com.qualityplus.auction.base.searcher.filters.BinFilter;
import com.qualityplus.auction.base.search... | import com.qualityplus.auction.base.searcher.AuctionSearcher;
import com.qualityplus.auction.base.searcher.filters.BinFilter;
import com.qualityplus.auction.base.searcher.filters.SortFilter;
import com.qualityplus.auction.base.searcher.filters.StringFilter;
import com.qualityplus.auction.persistence.data.AuctionItem;
i... | .SortFilter;
import com.qualityplus.auction.base.searcher.filters.StringFilter;
import com.qualityplus.auction.persistence.data.AuctionItem;
import com.qualityplus.auction.util.AuctionItemStackUtils;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;
import... | AuctionItemStackUtils;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Li... | java.util.Optional;
import java.util.UUID;
import java.util.stream.Collectors;
/**
* Utility class for all auction gui
*/
public final class AllAuctionsGUI extends AuctionGUI { |
PublicIndex.java | /FileExtraction/Java_unseen/jpschewe_fll-sw/src/main/java/fll/web/PublicIndex.java | /*
* Copyright (c) 2013 INSciTE. All rights reserved
* INSciTE is on the web at: http://www.hightechkids.org
* This code is released under GPL; see LICENSE.txt for details.
*/
package fll.web;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import jakarta.servlet.ServletCo... | 1,902 | Java | .java | jpschewe/fll-sw | 10 | 7 | 110 | 2013-11-11T02:28:50Z | 2024-05-05T00:09:01Z | 78c1642cd9a7d09a9a66d7e4e0a829510261c8282d391508f786478f3db44be7 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
1255,
88,
1891,
1731,
51,
244,
3381,
4760,
5225,
222,
338,
1255,
88,
1891,
1731,
458,
563,
341,
2692,
840,
63,
1930,
574,
1516,
51,
109,
712,
8165,
112,
3653,
51,
1107,
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,... | 453 | [
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
1255,
88,
1891,
1731,
51,
244,
3381,
4760,
5225,
222,
338,
1255,
88,
1891,
1731,
458,
563,
341,
2692,
840,
63,
1930,
574,
1516,
51,
109,
712,
8165,
112,
3653,
51,
1107,
222,
338... | 2,744,670,456,238,686,700 | true | false | false | false | [
446,
51,
9795,
446,
7977,
64,
222,
485,
3723,
51,
1619,
122,
51,
21266,
25024,
51,
1058,
51,
2622,
51,
3566,
10910,
64,
222,
222,
1350,
222,
338,
44695,
341,
1957,
1637,
456,
341,
581,
1671,
1957,
51,
222,
588,
222,
942,
1175,
462... | -3,663,492,275,043,476,000 | true |
* Copyright (c) 2013 INSciTE. All rights reserved
* INSciTE is on the web at: http://www.hightechkids.org
* This code is released under GPL; see LICENSE.txt for details.
*/
package fll.web;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import jakarta.servlet.ServletCont... | GPL; see LICENSE.txt for details.
*/
package fll.web;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import jakarta.servlet.ServletContext;
import jakarta.servlet.jsp.PageContext;
import javax.sql.DataSource;
import fll.Tournament;
import fll.db.Queries;
import fll.web.repo... | servlet.ServletContext;
import jakarta.servlet.jsp.PageContext;
import javax.sql.DataSource;
import fll.Tournament;
import fll.db.Queries;
import fll.web.report.finalist.FinalistSchedule;
import net.mtu.eggplant.util.sql.SQLFunctions;
/**
* Populate the page context for the public index page.
*/
public final class ... | ist.FinalistSchedule;
import net.mtu.eggplant.util.sql.SQLFunctions;
/**
* Populate the page context for the public index page.
*/
public final class PublicIndex {
private PublicIndex() {
}
private static final org.apache.logging.log4j.Logger LOGGER = org.apache.logging.log4j.LogManager.getLogger();
/**
... | pageContext page context, information is put in here
*/
public static void populateContext(final ServletContext application,
final PageContext pageContext) {
Connection connection = null;
try {
final DataSource datasource = ApplicationAttributes.getDataSource |
OrderingLocationBatchPrintVoCollection.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/ocrr/vo/OrderingLocationBatchPrintVoCollection.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 8,618 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 18668e8a3aeb1fd18072a316cf6300d423333e5671a3a1b059aabbda8af66734 | [] | [
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 | [
4333,
51,
4136,
51,
5754,
51,
31490,
2941,
6554,
4026,
884,
222,
221,
130,
222,
221,
942,
1922,
1035,
45,
31490,
2941,
6554,
4026,
12536,
804,
46,
222,
221,
128,
376,
221,
344,
45,
872,
630,
762,
46,
374,
221,
620,
920,
64,
376,
... | 6,805,023,861,865,661,000 | true | false | false | false | [
878,
64,
376,
221,
130,
376,
221,
620,
920,
64,
222,
221,
130,
222,
221,
942,
782,
4250,
365,
222,
221,
128,
376,
221,
597,
51,
770,
51,
3830,
492,
222,
221,
130,
222,
221,
942,
782,
3365,
45,
429,
1671,
46,
222,
221,
128,
376... | -5,296,801,189,965,358,000 | true | results.domain.objects.OrderingLocationBatchPrint";
}
public boolean add(OrderingLocationBatchPrintVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
return this.col.add(value);
}
return false;
}
public boolean add(int index, OrderingLocationBatchPrintVo value)
{
if(va... | .indexOf(value) < 0)
{
return this.col.add(value);
}
return false;
}
public boolean add(int index, OrderingLocationBatchPrintVo value)
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
this.col.add(index, value);
return true;
}
return false;
}
public void clear()
{
... |
{
if(value == null)
return false;
if(this.col.indexOf(value) < 0)
{
this.col.add(index, value);
return true;
}
return false;
}
public void clear()
{
this.col.clear();
}
public void remove(int index)
{
this.col.remove(index);
}
public int size()
{
return this.col.size();
}
public in... | true;
}
return false;
}
public void clear()
{
this.col.clear();
}
public void remove(int index)
{
this.col.remove(index);
}
public int size()
{
return this.col.size();
}
public int indexOf(OrderingLocationBatchPrintVo instance)
{
return col. | indexOf(instance);
}
public OrderingLocationBatchPrintVo get(int index)
{
return this.col.get(index);
}
public boolean set(int index, OrderingLocationBatchPrint |
ThreeWaterPokerUserOutputApi.java | /FileExtraction/Java_unseen/strollercat_mahjong/web/src/main/java/com/nbcb/web/service/impl/ThreeWaterPokerUserOutputApi.java | package com.nbcb.web.service.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.nbcb.core.action.Action;
import com.nbcb.core.game.Game;
import com.nbcb.core.game.PlayerScores;
import com.nbcb.core.room.Room;
import com.nbcb.core.user.Player;
import com... | 6,088 | Java | .java | strollercat/mahjong | 17 | 17 | 20 | 2019-08-12T01:59:13Z | 2023-07-03T13:44:43Z | fc545a842ac0ff0383f9ff8b2c935be91bd639f2af805e54f2a91e7f3b45f687 | [] | [
1337,
785,
51,
1509,
2519,
51,
1857,
51,
2140,
51,
3126,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
1401,
51,
1058,
51,
1225,
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 | [
1225,
5111,
2170,
1225,
51,
390,
459,
14484,
120,
742,
376,
221,
344,
45,
687,
38538,
6917,
762,
979,
1168,
38538,
51,
911,
365,
868,
244,
53,
1528,
374,
221,
999,
327,
1225,
3709,
1225,
518,
1168,
38538,
46,
320,
621,
221,
671,
4... | 1,274,168,328,081,841,200 | true | false | false | false | [
51,
543,
459,
14484,
120,
411,
1168,
38538,
54,
312,
376,
221,
130,
374,
1332,
221,
739,
65,
1225,
67,
1168,
7066,
299,
556,
5068,
65,
1225,
2938,
376,
221,
3516,
28716,
317,
441,
299,
8224,
3783,
51,
32872,
28716,
492,
376,
221,
... | 6,719,912,505,835,644,000 | true | Map>) retMap.get("guns");
if(listGun!= null && listGun.size() > 0){
for (Map tmpMap : listGun) {
String gun = (String) tmpMap.get("gun");
String guned = (String) tmpMap.get("guned");
Map tmpMap1 = new HashMap();
tmpMap1.put("gun", twGame.getPlayerByAccount(gun).getPlayerOrder());
tmpMap1.put("g... | .get("gun");
String guned = (String) tmpMap.get("guned");
Map tmpMap1 = new HashMap();
tmpMap1.put("gun", twGame.getPlayerByAccount(gun).getPlayerOrder());
tmpMap1.put("guned", twGame.getPlayerByAccount(guned)
.getPlayerOrder());
listGun1.add(tmpMap1);
}
retMap.put("guns", listGun1);
}... | ).getPlayerOrder());
tmpMap1.put("guned", twGame.getPlayerByAccount(guned)
.getPlayerOrder());
listGun1.add(tmpMap1);
}
retMap.put("guns", listGun1);
}
List<Map> listScore = new ArrayList<Map>();
PlayerScores pss = twGame.getPlayerScores();
for (int i = 0; i < twGame.getActivePlayers(); ... | .put("guns", listGun1);
}
List<Map> listScore = new ArrayList<Map>();
PlayerScores pss = twGame.getPlayerScores();
for (int i = 0; i < twGame.getActivePlayers(); i++) {
Player player = twGame.getPlayerByIndex(i);
Map map = new HashMap();
map.put("dir", player.getPlayerOrder());
map. | put("score", pss.getScore(player.getAccount()));
listScore.add(map);
}
retMap.put("scores", listScore);
return retMap;
}
|
WinterSnowmanEventBoss.java | /FileExtraction/Java_unseen/TeamMonumenta_monumenta-plugins-public/plugins/paper/src/main/java/com/playmonumenta/plugins/bosses/bosses/WinterSnowmanEventBoss.java | package com.playmonumenta.plugins.bosses.bosses;
import com.playmonumenta.plugins.bosses.SpellManager;
import com.playmonumenta.plugins.events.DamageEvent;
import com.playmonumenta.plugins.particle.PartialParticle;
import com.playmonumenta.plugins.utils.AbsorptionUtils;
import java.util.Collections;
import org.bukkit.... | 3,353 | Java | .java | TeamMonumenta/monumenta-plugins-public | 13 | 14 | 3 | 2020-02-07T20:22:42Z | 2024-05-05T04:03:55Z | 95938b58a9d2f2f078bdedef43263f51868feaafafaf34a0d2f8f6c4b98a2c12 | [] | [
1337,
785,
51,
1087,
1231,
810,
102,
51,
5573,
51,
18013,
1490,
51,
18013,
1490,
64,
222,
222,
485,
785,
51,
1087,
1231,
810,
102,
51,
5573,
51,
18013,
1490,
51,
18128,
1590,
64,
222,
485,
785,
51,
1087,
1231,
810,
102,
51,
5573,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
14160,
100,
124,
1164,
100,
26942,
1607,
1773,
4864,
563,
36304,
8509,
9318,
376,
221,
130,
1332,
221,
5282,
51,
6322,
28581,
45,
18128,
1590,
51,
13070,
49,
15490,
51,
31447,
1046,
13926,
3216,
49,
762,
312,
222,
221,
130,
499,
221,
... | 1,644,325,659,191,682,000 | true | false | false | false | [
46,
320,
374,
221,
2941,
2600,
299,
364,
28581,
51,
26716,
492,
374,
221,
901,
51,
390,
6719,
941,
1087,
9024,
45,
901,
49,
16981,
51,
10326,
100,
12669,
744,
100,
10326,
100,
26897,
49,
16981,
4236,
51,
8483,
5321,
49,
244,
55,
4... | 3,025,152,454,234,928,600 | true | boss_winter_snowman only works on snowmen!");
}
super.constructBoss(SpellManager.EMPTY, Collections.emptyList(), detectionRange, null);
}
@Override
public void onHurtByEntityWithSource(DamageEvent event, Entity damager, LivingEntity source) {
if (damager instanceof Player player && player.getGameMode().equal... | urtByEntityWithSource(DamageEvent event, Entity damager, LivingEntity source) {
if (damager instanceof Player player && player.getGameMode().equals(GameMode.CREATIVE)) {
// This event happens like normal
return;
}
// If hit by a snowball thrown by a player, damage the snowman by 1 HP after this tick is ove... | happens like normal
return;
}
// If hit by a snowball thrown by a player, damage the snowman by 1 HP after this tick is over
if (damager instanceof Snowball && source instanceof Player) {
Location loc = mBoss.getLocation();
loc.getWorld().playSound(loc, Sound.BLOCK_CORAL_BLOCK_BREAK, SoundCategory.HOST... | ) {
Location loc = mBoss.getLocation();
loc.getWorld().playSound(loc, Sound.BLOCK_CORAL_BLOCK_BREAK, SoundCategory.HOSTILE, 2, 0);
new PartialParticle(Particle.CLOUD, loc, 100, 1, 1, 1, 0.1).spawnAsEntityActive(mBoss);
event.setDamage(1);
return;
| }
// Snowmen can not be damaged by default
event.setCancelled(true);
}
@Override
public void bossProjectileHit(ProjectileHitEvent event) {
if (event. |
FatJarAction.java | /FileExtraction/Java_unseen/end-of-game_cloudunit/cu-core/src/main/java/fr/treeptik/cloudunit/model/action/FatJarAction.java | package fr.treeptik.cloudunit.model.action;/*
* LICENCE : CloudUnit is available under the GNU Affero General Public License : https://gnu.org/licenses/agpl.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to dis... | 2,267 | Java | .java | end-of-game/cloudunit | 156 | 60 | 1 | 2015-07-23T13:53:32Z | 2017-12-14T11:16:22Z | 7b3c0c259cd36afc83527718c7fa624c9c9d89459b2dce46e5c22f8e9bd20421 | [] | [
1337,
4953,
51,
3266,
404,
1567,
51,
3227,
2260,
51,
1184,
51,
1160,
64,
1127,
7288,
221,
47,
7471,
8317,
518,
7594,
3024,
458,
3322,
1549,
341,
6994,
30994,
6153,
5062,
1196,
518,
1698,
574,
10627,
51,
1107,
52,
4205,
52,
500,
576,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 603 | [
404,
1567,
51,
7288,
221,
47,
24188,
575,
6694,
12015,
664,
477,
2951,
1648,
666,
545,
3845,
332,
5577,
3024,
39,
7288,
221,
47,
12397,
1648,
332,
3371,
404,
1567,
39,
575,
6735,
27419,
5974,
9268,
347,
3641,
4492,
2895,
9591,
6658,
... | -2,389,662,532,654,827,500 | true | false | false | false | [
1964,
19896,
299,
244,
54,
81,
64,
499,
221,
942,
525,
288,
20388,
1728,
45,
2077,
2952,
46,
320,
376,
221,
5282,
45,
2562,
312,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
910,
640,
2077,
1590,
1233,
365,
320,
376,
221,
6... | 8,145,689,696,742,581,000 | true | ptik.
* Products or services derived from this software may not be called "CloudUnit"
* nor may "Treeptik" or similar confusing terms appear in their names without prior written permission.
* For any questions, contact us : contact@treeptik.fr
*/
import fr.treeptik.cloudunit... | , contact us : contact@treeptik.fr
*/
import fr.treeptik.cloudunit.enums.JavaRelease;
import fr.treeptik.cloudunit.model.Server;
import fr.treeptik.cloudunit.model.Snapshot;
/**
* Created by guillaume on 03/12/15.
*/
public class FatJarAction extends ServerAction {
private static final long serialVersi... | treeptik.cloudunit.model.Snapshot;
/**
* Created by guillaume on 03/12/15.
*/
public class FatJarAction extends ServerAction {
private static final long serialVersionUID = 1L;
public FatJarAction(Server parent) {
super(parent);
}
@Override
public String getServerManagerPath() {
return "";
}
@Override
... | long serialVersionUID = 1L;
public FatJarAction(Server parent) {
super(parent);
}
@Override
public String getServerManagerPath() {
return "";
}
@Override
public String getServerManagerPort() {
return "";
}
@Override
public String getServerPort() {
return "";
}
@Override
public Snapshot cloneP... | (Snapshot snapshot) {
snapshot.setType(parent.getImage().getName());
snapshot.setJvmOptions(parent.getJvmOptions());
snapshot.setJvmMemory(parent.getJvmMemory());
return snapshot; |
IOUtilities.java | /FileExtraction/Java_unseen/link-it_govway/tools/generic_project/src/org/openspcoop2/generic_project/io/IOUtilities.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.
... | 9,774 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | 2a5ea5dce9d46956d143848927b3096e35db046ccddc725b1ca9839858a598cc | [] | [
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 | [
34075,
45,
285,
312,
374,
221,
107,
560,
299,
556,
37000,
45,
560,
312,
374,
221,
2354,
13392,
51,
3014,
45,
3522,
49,
107,
560,
312,
374,
221,
107,
560,
51,
9327,
492,
376,
221,
130,
22220,
128,
374,
221,
1287,
128,
621,
221,
3... | 1,870,575,564,841,874,700 | true | false | false | false | [
51,
870,
45,
2683,
312,
374,
221,
344,
327,
3669,
2248,
630,
449,
54,
46,
1644,
64,
374,
221,
560,
51,
1838,
45,
2683,
49,
244,
53,
49,
3534,
2248,
312,
376,
221,
130,
499,
221,
130,
12158,
221,
942,
924,
782,
1948,
4562,
45,
... | -7,264,924,260,079,906,000 | true | FileInputStream(in);
fout = new FileOutputStream(out);
IOUtilities.copy(fin,fout);
fout.flush();
}finally{
try{
if(fin!=null)
fin.close();
}catch(Exception e){}
try{
if(fout!=null)
fout.close();
}catch(Exception e){
// close
}
}
}
public static void copy(InputStream... |
fin.close();
}catch(Exception e){}
try{
if(fout!=null)
fout.close();
}catch(Exception e){
// close
}
}
}
public static void copy(InputStream in, OutputStream out)
throws IOException {
byte[] buffer = new byte[256];
while (true) {
int bytesRead = in.read(buffer);
if (byte... | }
}
public static void copy(InputStream in, OutputStream out)
throws IOException {
byte[] buffer = new byte[256];
while (true) {
int bytesRead = in.read(buffer);
if (bytesRead == -1) break;
out.write(buffer, 0, bytesRead);
}
}
public static void copyDirectory(String srcPath, String dstPath)
... | .read(buffer);
if (bytesRead == -1) break;
out.write(buffer, 0, bytesRead);
}
}
public static void copyDirectory(String srcPath, String dstPath)
throws IOException{
IOUtilities.copyDirectory(new File(srcPath), new File(dstPath));
}
public static void copyDirectory(File srcPath, File dstPath)
throws | IOException{
if (srcPath.isDirectory()){
if (!dstPath.exists()){
dstPath.mkdir();
}
String files[] = srcPath.list();
if(files!=null) { |
DesignUtils.java | /FileExtraction/Java_unseen/Dev4Mod_WaEnhancer/app/src/main/java/com/wmods/wppenhacer/xposed/core/DesignUtils.java | package com.wmods.wppenhacer.xposed.core;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.content.res.XResources;
import android.graphics.BlendMode;
import android.graphics.BlendModeColorFilter;
impo... | 6,113 | Java | .java | Dev4Mod/WaEnhancer | 66 | 12 | 1 | 2024-04-30T23:56:59Z | 2024-05-08T20:34:46Z | f94d6b9028a7dceca154f4f5c3cec6afc5f3d075210295b1da6108562f699ef6 | [] | [
1337,
785,
51,
124,
22862,
51,
124,
612,
46571,
8234,
51,
125,
6865,
51,
1284,
64,
222,
222,
485,
2616,
51,
4341,
51,
10689,
20331,
64,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
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 | [
1860,
2394,
5256,
51,
4539,
100,
24879,
51,
86,
46,
320,
343,
37376,
51,
20394,
2365,
45,
909,
45029,
2116,
1530,
2365,
45,
1507,
49,
45029,
2116,
51,
12784,
100,
741,
1970,
894,
310,
339,
832,
320,
343,
37376,
51,
20394,
2365,
45,
... | -6,022,799,209,725,483,000 | true | false | false | false | [
100,
4885,
39,
984,
320,
419,
792,
6073,
14439,
299,
556,
17251,
14439,
492,
419,
6073,
14439,
51,
390,
12297,
941,
20394,
45,
1530,
51,
22746,
312,
419,
461,
6073,
14439,
64,
343,
339,
343,
1152,
332,
9040,
100,
4885,
39,
984,
320,... | -2,745,688,392,929,814,000 | true | INT >= Build.VERSION_CODES.Q) {
drawable.setColorFilter(new BlendModeColorFilter(color, BlendMode.SRC_ATOP));
} else {
drawable.setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
}
return drawable;
}
@SuppressLint("UseCompatLoadingForDrawables")
public static ... | Mode.SRC_ATOP);
}
return drawable;
}
@SuppressLint("UseCompatLoadingForDrawables")
public static Drawable alphaDrawable(Drawable drawable, int primaryTextColor, int i) {
Drawable coloredDrawable = DesignUtils.coloredDrawable(drawable, primaryTextColor);
coloredDrawable.setA... | DesignUtils.coloredDrawable(drawable, primaryTextColor);
coloredDrawable.setAlpha(i);
return coloredDrawable;
}
public static Drawable createDrawable(String type) {
switch (type) {
case "rc_dialog_bg" -> {
var shapeDrawable = new ShapeDrawable();
... | _bg" -> {
var shapeDrawable = new ShapeDrawable();
shapeDrawable.getPaint().setColor(Color.BLACK);
return shapeDrawable;
}
case "selector_bg" -> {
var border = Utils.dipToPixels(18.0f);
ShapeDrawable selectorBg = new... | .getPaint().setColor(Color.BLACK);
return selectorBg;
}
case "rc_dotline_dialog" -> {
var border = Utils.dipToPixels(16.0f);
ShapeDrawable shapeDrawable |
IpProgramElementRelationTypeManagerImpl.java | /FileExtraction/Java_unseen/CCAFS_MARLO/marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/IpProgramElementRelationTypeManagerImpl.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 So... | 2,730 | Java | .java | CCAFS/MARLO | 8 | 8 | 286 | 2016-05-11T18:52:21Z | 2024-05-08T21:14:43Z | efa21c26b8df9a50e83e644bc66a01dcc639d8ed12da2b89cba832325529e2d3 | [] | [
18200,
47,
222,
338,
1369,
822,
458,
1760,
451,
4795,
4892,
418,
791,
10259,
5413,
18687,
456,
14421,
568,
1676,
338,
4322,
3772,
120,
11329,
327,
28159,
1323,
566,
1676,
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,... | 611 | [
624,
51,
4031,
51,
7096,
5756,
1325,
12350,
638,
1590,
64,
222,
485,
1105,
51,
10305,
301,
51,
1172,
1566,
120,
51,
3321,
335,
51,
624,
51,
1184,
51,
7096,
5756,
1325,
12350,
638,
64,
222,
222,
485,
1401,
51,
1058,
51,
739,
64,
... | 2,106,787,583,489,518,600 | true | false | false | false | [
5756,
1325,
12350,
638,
12909,
64,
8886,
339,
736,
496,
1806,
353,
581,
782,
3081,
7096,
5756,
1325,
12350,
638,
45,
3239,
4762,
5756,
1325,
12350,
15618,
46,
320,
465,
4762,
5756,
1325,
12350,
638,
12909,
51,
2577,
7096,
5756,
1325,
... | -6,508,755,775,957,221,000 | true | data.manager.IpProgramElementRelationTypeManager;
import org.cgiar.ccafs.marlo.data.model.IpProgramElementRelationType;
import java.util.List;
import javax.inject.Named;
import javax.inject.Inject;
/**
* @author Christian Garcia
*/
@Named
public class IpProgramElementRelationTypeManagerImpl implements IpProgramEle... | .Named;
import javax.inject.Inject;
/**
* @author Christian Garcia
*/
@Named
public class IpProgramElementRelationTypeManagerImpl implements IpProgramElementRelationTypeManager {
private IpProgramElementRelationTypeDAO ipProgramElementRelationTypeDAO;
// Managers
@Inject
public IpProgramElementRelationTy... | TypeDAO ipProgramElementRelationTypeDAO;
// Managers
@Inject
public IpProgramElementRelationTypeManagerImpl(IpProgramElementRelationTypeDAO ipProgramElementRelationTypeDAO) {
this.ipProgramElementRelationTypeDAO = ipProgramElementRelationTypeDAO;
}
@Override
public void deleteIpProgramElementRelati... | ProgramElementRelationTypeDAO;
}
@Override
public void deleteIpProgramElementRelationType(long ipProgramElementRelationTypeId) {
ipProgramElementRelationTypeDAO.deleteIpProgramElementRelationType(ipProgramElementRelationTypeId);
}
@Override
public boolean existIpProgramElementRelationType(long ipPr... |
public List<IpProgramElementRelationType> findAll() {
return ipProgramElementRelationTypeDAO.findAll();
}
@Override
public IpProgramElementRelationType getIpProgramElementRelationTypeById(long ipProgramElementRelationTypeID |
MonitorTask.java | /FileExtraction/Java_unseen/OasisArtisan_OasisLight-ServerManager/src/com/oasisartisan/servermanager/tasks/MonitorTask.java | package com.oasisartisan.servermanager.tasks;
import com.oasisartisan.servermanager.Main;
import com.oasisartisan.servermanager.consolecommunication.Printer;
import com.oasisartisan.servermanager.objects.Server;
import com.oasisartisan.servermanager.storage.Storage;
import java.util.ArrayList;
import java.util.Calenda... | 3,529 | Java | .java | OasisArtisan/OasisLight-ServerManager | 15 | 5 | 4 | 2017-10-28T10:28:44Z | 2020-06-05T22:30:35Z | 8974087a5a6962703051610eae1a26a95fb87859fc1b58091d2442deac82be26 | [] | [
1337,
785,
51,
46534,
521,
28763,
51,
1805,
4031,
51,
8255,
64,
222,
222,
485,
785,
51,
46534,
521,
28763,
51,
1805,
4031,
51,
4370,
64,
222,
485,
785,
51,
46534,
521,
28763,
51,
1805,
4031,
51,
4482,
29868,
51,
14379,
64,
222,
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,... | 734 | [
45892,
51,
1243,
3188,
45,
117,
577,
312,
419,
16587,
300,
299,
16587,
51,
7432,
492,
419,
45892,
51,
1243,
3414,
45,
14379,
51,
1664,
703,
1897,
18654,
6705,
39,
733,
494,
300,
51,
390,
12572,
45,
9391,
51,
14332,
100,
2124,
100,
... | -8,174,467,025,857,881,000 | true | false | false | false | [
492,
419,
339,
419,
13436,
327,
1805,
739,
46,
320,
547,
456,
327,
2077,
328,
518,
17169,
2077,
739,
46,
320,
733,
328,
51,
1243,
1139,
45,
26514,
312,
547,
339,
419,
339,
419,
45892,
51,
1243,
4424,
2638,
9263,
10928,
419,
45892,
... | -4,621,854,276,575,542,000 | true | Printer.printTitle(pName);
Calendar c = Calendar.getInstance();
Printer.printCustom(Printer.formatDevider("$BC"
+ c.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.SHORT_FORMAT, Locale.ENGLISH) + ", "
+ c.get(Calendar.DAY_OF_MONTH) + " "
... | , Locale.ENGLISH) + ", "
+ c.get(Calendar.DAY_OF_MONTH) + " "
+ c.getDisplayName(Calendar.MONTH, Calendar.SHORT_FORMAT, Locale.ENGLISH) + " "
+ c.get(Calendar.YEAR) + " " + Printer.getTimeStamp(), "CENTER", 80,''));
if (lvl >= 2) {
... | + " "
+ c.get(Calendar.YEAR) + " " + Printer.getTimeStamp(), "CENTER", 80,''));
if (lvl >= 2) {
Storage.getGlobalServer().printTimedCommands();
}
synchronized (serverList) {
for (Server s : orderedServerList... | ();
}
synchronized (serverList) {
for (Server s : orderedServerList) {
s.printInfo(lvl);
}
}
Printer.printSuccessfullReply("");
Printer.printSuccessfullReply("Hit 'Enter' to ge... | interval);
}
} catch (InterruptedException e) {
Main.getProcessHandler().clearConsole();
} catch (Exception e) {
Printer.printError(pName, "An unexpected error occured.", e);
}
|
Scenario.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.client.onboarding/src/com/openexchange/client/onboarding/Scenario.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... | 2,687 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | e9b68f98ab309e447a3ef074ddba9ff2fc45c9e6d1b334f8cac7bca210004d8a | [] | [
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,... | 655 | [
16951,
63,
48966,
10596,
51,
8644,
2495,
69,
1693,
50,
125,
2357,
51,
527,
432,
1047,
290,
10596,
19181,
2495,
396,
102,
67,
222,
338,
496,
8152,
373,
60,
51,
61,
51,
54,
222,
588,
222,
942,
2586,
34366,
2041,
7276,
320,
465,
1041... | -568,295,147,406,706,370 | true | false | false | false | [
338,
294,
338,
496,
772,
10546,
906,
1275,
7262,
294,
338,
496,
772,
1637,
625,
906,
1637,
7262,
294,
338,
496,
620,
906,
6897,
1168,
294,
588,
303,
1701,
65,
1501,
31200,
2588,
67,
640,
17146,
45,
429,
10546,
49,
648,
1637,
625,
... | 5,486,157,044,000,450,000 | true | mailto:thorben.betten@open-xchange.com">Thorben Betten</a>
* @since v7.8.1
*/
public interface Scenario extends Entity {
/**
* Gets the associated type for this scenario.
*
* @return The type
*/
OnboardingType getType();
/**
* Gets the link
*
* @return The link
*/... | for this scenario.
*
* @return The type
*/
OnboardingType getType();
/**
* Gets the link
*
* @return The link
*/
Link getLink();
/**
* Gets the associated on-boarding providers.
*
* @param session The session to use
* @return The provider list
... | -boarding providers.
*
* @param session The session to use
* @return The provider list
*/
List<OnboardingProvider> getProviders(Session session);
/**
* Gets the associated on-boarding providers.
*
* @param userId The user identifier
* @param contextId The context identif... | *
* @param userId The user identifier
* @param contextId The context identifier
* @return The provider list
*/
List<OnboardingProvider> getProviders(int userId, int contextId);
/**
* Gets the alternative scenarios.
*
* @param session The session to use
* @return The alt... | * @param session The session to use
* @return The optional capabilities (may be <code>null</code> or an empty list)
*/
List<String> getCapabilities(Session session);
/**
* Gets the optional |
ExecuteAdHocUtility.java | /FileExtraction/Java_unseen/KnowageLabs_Knowage-Server/knowage-core/src/main/java/it/eng/spagobi/analiticalmodel/execution/service/ExecuteAdHocUtility.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... | 4,643 | Java | .java | KnowageLabs/Knowage-Server | 389 | 218 | 31 | 2017-05-02T14:58:41Z | 2024-05-08T15:52:36Z | 5794cf26e42cdaf36ad2da2574a4ca70f0c9681c78939bb7b58714a35f1c1550 | [] | [
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 | [
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
28699,
222,
588,
222,
1337,
580,
51,
838,
... | 3,669,016,663,575,909,000 | true | false | false | false | [
64,
222,
485,
580,
51,
838,
51,
438,
500,
37250,
51,
40619,
51,
1180,
51,
730,
51,
3726,
64,
222,
485,
580,
51,
838,
51,
438,
500,
37250,
51,
16092,
51,
30114,
51,
3285,
64,
222,
485,
580,
51,
838,
51,
438,
500,
37250,
51,
160... | 4,078,724,390,925,117,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/>.
*/
package it.eng.spagobi.analiticalmodel.execution.service;
import java.io.IOException;
import java.util.List;
import java.util.UUID;
import org.apache.log4j.LogMF;
impo... | icalmodel.execution.service;
import java.io.IOException;
import java.util.List;
import java.util.UUID;
import org.apache.log4j.LogMF;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import it.eng.spagobi.commons.dao.DAOFactory;
import it.eng.spago... | apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import it.eng.spagobi.commons.dao.DAOFactory;
import it.eng.spagobi.engines.config.bo.Engine;
import it.eng.spagobi.utilities.assertion.Assert;
import it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException;
... | ;
import it.eng.spagobi.engines.config.bo.Engine;
import it.eng.spagobi.utilities.assertion.Assert;
import it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException;
import it.eng.spagobi.utilities.json.JSONUtils;
public class ExecuteAdHocUtility {
// logger component
private static Logger logger = Logger.getLogg... | HocUtility.class);
public static Engine getQbeEngine() {
return getEngineByDriver("it.eng.spagobi.engines.drivers.qbe.QbeDriver");
}
public static |
DateBreakDown.java | /FileExtraction/Java_unseen/devgateway_amp/amp/WEB-INF/src/org/digijava/module/calendar/entity/DateBreakDown.java | package org.digijava.module.calendar.entity;
import java.text.DecimalFormat;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.servlet.http.HttpServletRequest;
import org.digijava.kernel.persistence.WorkerException;
import org.digijava.kernel.translator.TranslatorWorker;
import org.digijava.ker... | 14,879 | Java | .java | devgateway/amp | 8 | 4 | 31 | 2015-11-10T23:22:20Z | 2024-05-09T09:02:32Z | 8312a4c35dc2ba6786e03922274cade066703b45fde97f135aa4aef6904e5a6e | [] | [
1337,
1105,
51,
5690,
110,
1874,
51,
1663,
51,
10548,
51,
2244,
64,
222,
222,
485,
1401,
51,
897,
51,
7701,
2222,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
1401,
51,
1058,
51,
76,
33820,
9391,
64,
222,
222,
485,
3698... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
802,
100,
2333,
100,
76,
4747,
776,
26969,
46,
320,
343,
3203,
76,
33820,
9391,
45,
10548,
312,
310,
339,
832,
320,
343,
3203,
28631,
24264,
2560,
9391,
45,
10548,
312,
310,
339,
310,
6829,
577,
6881,
299,
640,
7367,
577,
45,
5926,
... | -5,349,715,157,892,536,000 | true | false | false | false | [
630,
762,
1528,
343,
4769,
625,
299,
16587,
3032,
51,
390,
7309,
941,
7068,
492,
343,
11262,
299,
16587,
3032,
51,
46090,
941,
24202,
492,
310,
339,
728,
128,
2624,
4769,
625,
299,
4463,
2769,
51,
390,
7309,
45,
1375,
566,
7068,
492... | -6,671,762,363,205,946,000 | true | AR_TYPE_GREGORIAN) {
parseGregorianCalendar(calendar);
} else {
parseEthiopianCalendar(calendar);
}
monthNameShort = getMonthName(month - 1, this.type, false);
monthNameLong = getMonthName(month - 1, this.type, true);
dayOfWeek = calendar.get(calendar.DAY_... | , false);
monthNameLong = getMonthName(month - 1, this.type, true);
dayOfWeek = calendar.get(calendar.DAY_OF_WEEK);
dayOfWeekName = getDayOfWeekName(dayOfWeek - 1, this.type);
hour = calendar.get(calendar.HOUR_OF_DAY);
minute = calendar.get(calendar.MINUTE);
//
Lo... | - 1, this.type);
hour = calendar.get(calendar.HOUR_OF_DAY);
minute = calendar.get(calendar.MINUTE);
//
Long siteId;
String locale = "";
if (request == null){
siteId = CalendarThread.getSite().getId();
locale = CalendarThread.getLocale().getCode()... | == null){
siteId = CalendarThread.getSite().getId();
locale = CalendarThread.getLocale().getCode();
}else{
siteId = RequestUtils.getSite(request).getId();
locale = RequestUtils.getNavigationLanguage(request).getCode().toLowerCase();
}
if (... | (monthNameLong, locale, siteId);
dateInLocaleWeek = dayOfMonth + " " + ms + " " + year;
dateInLocaleDay = dayOfMonth + " " + ml + " " + year;
date |
EntityDeclarationImpl.java | /FileExtraction/Java_unseen/openjdk_jdk6/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/fastinfoset/stax/events/EntityDeclarationImpl.java | /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 3,695 | Java | .java | openjdk/jdk6 | 17 | 17 | 0 | 2021-02-16T14:00:35Z | 2021-02-16T14:23:11Z | f93f82a0db4a1382d17dd524d71b7b96e4d757568476bd8131991d2b9003ff35 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
58,
49,
244,
55,
53,
53,
59,
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,... | 880 | [
6759,
1218,
477,
222,
338,
8445,
822,
641,
5405,
391,
341,
332,
44978,
39,
3773,
641,
3961,
222,
338,
829,
17980,
347,
341,
7621,
822,
708,
20854,
297,
4850,
477,
1361,
51,
222,
338,
222,
338,
1369,
1361,
458,
2744,
347,
341,
9850,
... | -1,851,099,389,361,008,400 | true | false | false | false | [
49,
33316,
26912,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
53,
50,
54,
56,
53,
54,
15067,
51,
222,
338,
222,
338,
5304,
7272,
17980,
49,
244,
58,
53,
53,
17980,
27004,
3094,
49,
4777,
21100,
2432,
6868,
49,
10562,
244,
62,
57,... | -5,596,483,423,106,916,000 | true | designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PA... | WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public... | anied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or... | , Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
* THIS FILE WAS MODIFIED BY SUN MICROSYSTEMS, INC.
*/
package com.sun.xml | .internal.fastinfoset.stax.events;
import javax.xml.stream.events.EntityDeclaration;
public class EntityDeclarationImpl extends EventBase implements EntityDeclaration {
private String _publicId;
private String |
AdmissionType.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/lookups/AdmissionType.java | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# #
... | 7,149 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 8e093939e5802e888579fe9f6ef4e44ca4d9d1bad3c4bb51b8fc866bdb5c8828 | [] | [
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,
221,
942,
924,
3604,
1722,
638,
1984,
10138,
45,
16178,
51,
2103,
51,
10138,
1825,
5358,
15999,
46,
222,
221,
128,
376,
221,
620,
556,
3604,
1722,
638,
45,
12455,
51,
7068,
1046,
15999,
51,
10624,
1046,
15999,
51,
22630,
1052,
... | 923,223,738,515,818,000 | true | false | false | false | [
2562,
312,
222,
221,
130,
222,
221,
942,
21390,
1197,
640,
7646,
365,
222,
221,
128,
376,
221,
7119,
5727,
299,
2615,
51,
24200,
8354,
492,
376,
221,
1785,
1722,
638,
1197,
20641,
7646,
299,
556,
3604,
1722,
638,
96,
4931,
51,
911,
... | -460,536,957,904,124,540 | true |
public static AdmissionType buildLookup(ims.vo.LookupInstanceBean bean)
{
return new AdmissionType(bean.getId(), bean.getText(), bean.isActive());
}
public String toString()
{
if(getText()!= null)
return getText();
return "";
}
public TreeNode getParentNode()
{
return (AdmissionType)super.getParentI... | ()
{
if(getText()!= null)
return getText();
return "";
}
public TreeNode getParentNode()
{
return (AdmissionType)super.getParentInstance();
}
public AdmissionType getParent()
{
return (AdmissionType)super.getParentInstance();
}
public void setParent(AdmissionType parent)
{
super.setParentInstance... | }
public AdmissionType getParent()
{
return (AdmissionType)super.getParentInstance();
}
public void setParent(AdmissionType parent)
{
super.setParentInstance(parent);
}
public TreeNode[] getChildren()
{
ArrayList children = super.getChildInstances();
AdmissionType[] typedChildren = new AdmissionType[chi... | parent);
}
public TreeNode[] getChildren()
{
ArrayList children = super.getChildInstances();
AdmissionType[] typedChildren = new AdmissionType[children.size()];
for (int i = 0; i < children.size(); i++)
{
typedChildren[i] = (AdmissionType)children.get(i);
}
return typedChildren;
}
public int | addChild(TreeNode child)
{
if (child instanceof AdmissionType)
{
super.addChild((AdmissionType)child);
}
return super.getChildInstances().size();
} |
KeyGenUtilsTest.java | /FileExtraction/Java_unseen/hyphanet_fred/test/freenet/crypt/KeyGenUtilsTest.java | /* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.crypt;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals... | 18,627 | Java | .java | hyphanet/fred | 993 | 204 | 50 | 2009-04-25T01:00:27Z | 2024-05-09T04:24:46Z | b7b5f82c434eb55e6541a0b33c7b907fbabeeabc70ba36ffd9f6aeff1499a527 | [] | [
1127,
1369,
1361,
458,
1760,
451,
525,
2633,
383,
51,
2048,
458,
2744,
1549,
341,
6994,
6153,
222,
338,
5062,
1196,
49,
1522,
244,
55,
327,
290,
840,
1390,
2489,
1364,
6146,
1522,
566,
2819,
222,
338,
1930,
574,
1516,
51,
10627,
51,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
64,
303,
964,
924,
1175,
648,
920,
2396,
299,
449,
54,
64,
303,
964,
924,
1175,
3907,
638,
1197,
1221,
2439,
299,
3907,
638,
51,
2857,
492,
303,
964,
924,
1175,
3447,
11338,
878,
7795,
5044,
299,
320,
310,
25675,
1747,
51,
6961,
4... | 687,770,275,464,451,200 | true | false | false | false | [
56,
56,
102,
57,
102,
56,
61,
103,
60,
54,
104,
61,
106,
56,
58,
53,
105,
56,
102,
62,
61,
56,
58,
60,
105,
54,
3611,
62,
27665,
2132,
310,
25675,
1747,
51,
6961,
45615,
459,
883,
58,
59,
1219,
754,
55,
53,
26176,
62,
107,
... | -5,583,877,905,292,712,000 | true | ;
private static final int falseLength = -1;
private static final KeyType[] keyTypes = KeyType.values();
private static final byte[][] trueSecretKeys = {
HexUtil.hexToBytes("20e86dc31ebf2c0e37670e30f8f45c57"),
HexUtil.hexToBytes("8c6c2e0a60b3b73e9dbef076b68b686bacc9d20081e8822725d14b10b5034f... | dc31ebf2c0e37670e30f8f45c57"),
HexUtil.hexToBytes("8c6c2e0a60b3b73e9dbef076b68b686bacc9d20081e8822725d14b10b5034f48"),
HexUtil.hexToBytes("33a4a38b71c8e350d3a98357d1bc9ecd"),
HexUtil.hexToBytes("be56dbec20bff9f6f343800367287b48c0c28bf47f14b46aad3a32e4f24f0f5e"),
HexUtil.hexToBytes | f076b68b686bacc9d20081e8822725d14b10b5034f48"),
HexUtil.hexToBytes("33a4a38b71c8e350d3a98357d1bc9ecd"),
HexUtil.hexToBytes("be56dbec20bff9f6f343800367287b48c0c28bf47f14b46aad3a32e4f24f0f5e"),
HexUtil.hexToBytes | 33a4a38b71c8e350d3a98357d1bc9ecd"),
HexUtil.hexToBytes("be56dbec20bff9f6f343800367287b48c0c28bf47f14b46aad3a32e4f24f0f5e"),
HexUtil.hexToBytes | ("0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"),
HexUtil.hexToBytes("0 |
Url.java | /FileExtraction/Java_unseen/nightw0lv_iTopZ-Java/MobiusPremium/L2J_Mobius_Classic_2.2_Antharas/src/itopz/com/util/Url.java | /*
* Copyright (c) 2021 iTopZ
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, dist... | 4,405 | Java | .java | nightw0lv/iTopZ-Java | 11 | 13 | 0 | 2020-03-25T11:13:17Z | 2023-05-15T01:43:50Z | 0abe5e5909ac7f4ced08d078c7db94bb355ef830a8efde8cd41ad05365f9f5f2 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
55,
54,
613,
3169,
95,
222,
338,
222,
338,
11125,
458,
13528,
11495,
49,
3760,
451,
10117,
49,
391,
1364,
4944,
13938,
331,
1948,
222,
338,
451,
477,
2951,
480,
5764,
4349,
2293,
32... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
2450,
42,
2046,
37429,
222,
221,
799,
1970,
95,
100,
8099,
100,
2427,
459,
662,
574,
302,
539,
127,
51,
527,
52,
1357,
5694,
494,
23930,
1014,
51,
799,
1970,
95,
100,
8099,
100,
798,
490,
222,
221,
799,
1970,
95,
100,
2427,
459,
... | 2,884,584,830,082,405,400 | true | false | false | false | [
100,
2427,
459,
662,
574,
18976,
5646,
51,
1317,
52,
2132,
222,
221,
81,
55,
1425,
7662,
23574,
546,
1986,
100,
540,
1740,
5689,
4456,
100,
2427,
459,
544,
574,
113,
55,
51,
1412,
3642,
1805,
51,
1317,
52,
948,
400,
52,
21152,
257... | -5,953,022,832,578,516,000 | true | "/%IP%"),
ITOPZ_SERVER_URL("https://itopz.com/info/" + Configurations.ITOPZ_SERVER_ID),
ITOPZ_URL("https://itopz.com/"),
HOPZONE_INDIVIDUAL_URL("https://api.hopzone.net/lineage2/vote?token=" + Configurations.HOPZONE_SERVER_API_KEY + "&ip_address=%IP%"),
HOPZONE_GLOBAL_URL("https://api.hopzone.net/lineage2/votes?to... | com/"),
HOPZONE_INDIVIDUAL_URL("https://api.hopzone.net/lineage2/vote?token=" + Configurations.HOPZONE_SERVER_API_KEY + "&ip_address=%IP%"),
HOPZONE_GLOBAL_URL("https://api.hopzone.net/lineage2/votes?token=" + Configurations.HOPZONE_SERVER_API_KEY),
HOPZONE_URL("https://hopzone.net/"),
L2TOPGAMESERVER_INDIVIDUAL_UR... | address=%IP%"),
HOPZONE_GLOBAL_URL("https://api.hopzone.net/lineage2/votes?token=" + Configurations.HOPZONE_SERVER_API_KEY),
HOPZONE_URL("https://hopzone.net/"),
L2TOPGAMESERVER_INDIVIDUAL_URL("http://l2.topgameserver.net/lineage/VoteApi/API_KEY=" + Configurations.L2TOPGAMESERVER_API_KEY + "/getData/%IP%"),
L2TOPGA... | _URL("https://hopzone.net/"),
L2TOPGAMESERVER_INDIVIDUAL_URL("http://l2.topgameserver.net/lineage/VoteApi/API_KEY=" + Configurations.L2TOPGAMESERVER_API_KEY + "/getData/%IP%"),
L2TOPGAMESERVER_GLOBAL_URL("http://l2.topgameserver.net/lineage/VoteApi | /API_KEY=" + Configurations.L2TOPGAMESERVER_API_KEY + "/getData"),
L2TOPGAMESERVER_URL("https://l2.topgameserver.net/"),
|
MysqlRedistTupleForwarder.java | /FileExtraction/Java_unseen/Tesora_tesora-dve-pub/tesora-dve-core/src/main/java/com/tesora/dve/worker/MysqlRedistTupleForwarder.java | package com.tesora.dve.worker;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free S... | 10,601 | Java | .java | Tesora/tesora-dve-pub | 17 | 6 | 0 | 2014-05-14T16:04:03Z | 2015-01-21T17:27:46Z | 12cd0405b4c429dd78aa9f9014f0531ac54baa081654ae2f94406eb5f20c7758 | [] | [
1337,
785,
51,
1610,
7298,
51,
105,
606,
51,
9893,
64,
222,
222,
1127,
222,
338,
38269,
81,
222,
338,
41273,
7298,
6367,
51,
222,
338,
6728,
13675,
1668,
10092,
222,
338,
12947,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
54,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2720,
1552,
299,
244,
53,
64,
499,
221,
2072,
1175,
3907,
899,
1694,
899,
64,
222,
221,
2072,
1175,
5565,
33404,
1877,
33404,
64,
222,
221,
2072,
1175,
1922,
813,
15836,
25000,
64,
465,
9936,
8937,
1812,
4914,
64,
499,
221,
2072,
64... | -1,820,217,214,424,690,200 | true | false | false | false | [
7747,
899,
19252,
320,
376,
221,
9894,
899,
4221,
847,
3314,
64,
376,
221,
671,
29469,
889,
299,
762,
64,
376,
221,
4412,
43337,
2465,
889,
299,
920,
64,
4102,
221,
942,
782,
17878,
899,
45,
3781,
6958,
1413,
2368,
7412,
2368,
49,
... | -1,870,638,167,153,328,000 | true | rowCount = 0;
private final KeyValue distValue;
private final TableHints tableHints;
private final boolean useResultSetAliases;
RedistTupleBuilder builder;
private int fieldCount = -1;
private MyPreparedStatement<MysqlGroupedPreparedStatementId> pstmt;
private ColumnSet resultColumnMetadata = new Column... | private MyPreparedStatement<MysqlGroupedPreparedStatementId> pstmt;
private ColumnSet resultColumnMetadata = new ColumnSet();
private int fieldIndex = 0;
boolean columnInspectorComputed = false;
// this class gets setup for columns in the result set that we need to inspect the value
// from the incoming result... | class gets setup for columns in the result set that we need to inspect the value
// from the incoming result set. Currently this is columns in a distrubtion vector and specfied
// auto increment columns
public static class ColumnValueInspector {
DataTypeValueFunc typeReader;
String dvCol = null;
boolean isInc... | ColumnValueInspector {
DataTypeValueFunc typeReader;
String dvCol = null;
boolean isIncrCol = false;
public void inspectValue(MyBinaryResultRow binRow, int columnNumber, KeyValue dv, MaximumAutoIncr maxAutoIncr) throws PEException {
Object value = binRow.getValue(columnNumber);
boole... | dv.get(dvCol).setValue(value);
if (isIncrCol)
if ( columnIsNull )
throw new PEException("Found NULL value for auto-increment column in table " + dv.getUserTable(). |
ProfessionType.java | /FileExtraction/Java_unseen/taktik_icure-backend/src/main/java/org/taktik/icure/services/external/rest/v1/dto/be/ehealth/kmehr/v20180601/be/fgov/ehealth/standards/kmehr/schema/v1/ProfessionType.java | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.... | 4,453 | Java | .java | taktik/icure-backend | 19 | 25 | 3 | 2018-03-29T12:01:32Z | 2022-11-18T08:44:46Z | 110d0be48d21f967ae3c0c7468f0209d64708e4665069644cb662154397d5c0d | [] | [
325,
222,
325,
1369,
822,
1616,
4741,
829,
341,
4957,
9043,
29327,
456,
7408,
17393,
45,
47329,
46,
9495,
19977,
49,
373,
55,
51,
55,
51,
61,
50,
103,
54,
56,
53,
62,
54,
54,
51,
54,
61,
53,
55,
244,
222,
325,
2819,
350,
102,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
9165,
120,
51,
112,
308,
3943,
51,
3982,
51,
123,
54,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341... | 1,938,737,246,503,800,800 | true | false | false | false | [
869,
1471,
28728,
32445,
799,
44299,
64,
222,
485,
1105,
51,
121,
11385,
1567,
51,
314,
532,
51,
4270,
51,
6183,
51,
4756,
51,
123,
54,
51,
12292,
51,
883,
51,
106,
9864,
51,
112,
308,
3943,
51,
123,
55,
53,
54,
61,
53,
59,
53... | -1,945,136,564,665,579,300 | true | standards.kmehr.schema.v1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.taktik.icure.ser... |
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.cd.v1.CDEMPLOYMENTSITUATION;
import org.taktik.icure.services.externa... | .external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.cd.v1.CDEMPLOYMENTSITUATION;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.dt.v1.TextType;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kme | DEMPLOYMENTSITUATION;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kmehr.v20180601.be.fgov.ehealth.standards.kmehr.dt.v1.TextType;
import org.taktik.icure.services.external.rest.v1.dto.be.ehealth.kme | hr.v20180601.be.fgov.ehealth.standards.kmehr.id.v1.IDPROFESSION;
/**
* <p>Java class for profession |
FindMinimum.java | /FileExtraction/Java_unseen/axkr_symja_android_library/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/reflection/system/FindMinimum.java | package org.matheclipse.core.reflection.system;
import java.util.ArrayList;
import java.util.function.Supplier;
import org.hipparchus.exception.MathIllegalStateException;
import org.hipparchus.exception.MathRuntimeException;
import org.hipparchus.linear.RealVector;
import org.hipparchus.optim.InitialGuess;
import org.... | 22,757 | Java | .java | axkr/symja_android_library | 350 | 81 | 57 | 2013-12-04T17:11:24Z | 2024-05-08T16:36:04Z | 03adc16578a6d77de94eb90c2588cf340975be2a44f4233f7367da0f5659574f | [] | [
1337,
1105,
51,
1322,
311,
104,
6522,
51,
1284,
51,
22612,
51,
2964,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
17612,
64,
222,
485,
1105,
51,
5893,
587,
399,
371,
51,
3918,
51,
5728... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
587,
399,
371,
51,
8411,
51,
3804,
8441,
51,
2423,
51,
48546,
51,
9505,
402,
35028,
9019,
64,
222,
485,
1105,
51,
5893,
587,
399,
371,
51,
8411,
51,
3804,
8441,
51,
2423,
51,
48546,
51,
15256,
1862,
404,
468,
2292,
88,
64,
222,
... | 5,917,552,129,894,649,000 | true | false | false | false | [
7362,
64,
222,
485,
1105,
51,
1322,
311,
104,
6522,
51,
1284,
51,
6635,
51,
14162,
3726,
64,
222,
485,
1105,
51,
1322,
311,
104,
6522,
51,
1284,
51,
6635,
51,
11204,
51,
5597,
2466,
23744,
64,
222,
485,
1105,
51,
1322,
311,
104,
... | -5,763,501,942,307,344,000 | true | parchus.optim.nonlinear.vector.constrained.LinearInequalityConstraint;
import org.hipparchus.optim.nonlinear.vector.constrained.SQPOptimizerS;
import org.hipparchus.random.GaussianRandomGenerator;
import org.hipparchus.random.JDKRandomGenerator;
import org.hipparchus.random.RandomVectorGenerator;
import org.hipparchus.... | us.random.GaussianRandomGenerator;
import org.hipparchus.random.JDKRandomGenerator;
import org.hipparchus.random.RandomVectorGenerator;
import org.hipparchus.random.UncorrelatedRandomVectorGenerator;
import org.matheclipse.core.convert.Convert;
import org.matheclipse.core.convert.VariablesSet;
import org.matheclipse.co... | correlatedRandomVectorGenerator;
import org.matheclipse.core.convert.Convert;
import org.matheclipse.core.convert.VariablesSet;
import org.matheclipse.core.eval.Errors;
import org.matheclipse.core.eval.EvalEngine;
import org.matheclipse.core.eval.interfaces.AbstractFunctionEvaluator;
import org.matheclipse.core.eval.in... | Errors;
import org.matheclipse.core.eval.EvalEngine;
import org.matheclipse.core.eval.interfaces.AbstractFunctionEvaluator;
import org.matheclipse.core.eval.interfaces.IFunctionEvaluator;
import org.matheclipse.core.eval.util.OptionArgs;
import org.matheclipse.core.expression.F;
import org.matheclipse.core. | expression.ImplementationStatus;
import org.matheclipse.core.expression.S;
import org.matheclipse.core.generic.MultiVariateNumerical;
import org.matheclipse.core. |
Promise.java | /FileExtraction/Java_unseen/sambenz_URingPaxos/src/java/ch/usi/da/paxos/storage/Promise.java | package ch.usi.da.paxos.storage;
/*
* Copyright (c) 2013 Università della Svizzera italiana (USI)
*
* This file is part of URingPaxos.
*
* URingPaxos 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, ei... | 1,563 | Java | .java | sambenz/URingPaxos | 27 | 9 | 6 | 2013-05-28T18:25:56Z | 2023-10-11T21:05:59Z | c3681f6d4e043ff4edf606f0a5a1fccb1016e2d40d707c9db366d51df46e75e5 | [] | [
1337,
683,
51,
35315,
51,
1830,
51,
117,
35229,
51,
4239,
64,
222,
1127,
1676,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
56,
46417,
20015,
21491,
377,
123,
10747,
3017,
580,
298,
31242,
327,
2062,
78,
46,
222,
338,
1676,
338,
1369... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 461 | [
85,
35229,
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,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
1196,
... | 5,522,880,669,035,823,000 | true | false | false | false | [
4205,
28699,
222,
588,
222,
222,
1350,
222,
338,
3286,
63,
4680,
65,
858,
67,
222,
338,
5602,
63,
350,
858,
67,
222,
338,
1676,
338,
29802,
2361,
63,
12742,
244,
54,
53,
49,
244,
55,
53,
54,
55,
65,
858,
67,
222,
338,
417,
625... | 6,561,512,288,915,287,000 | true | Paxos 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.
*
* URingPaxos is distributed in the hope that it will be useful,
* but WIT... | option) any later version.
*
* URingPaxos 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 ... | the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with URingPaxos. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Name: Promise<br>
* Description: <br>
*
* Creation date: Apr 10, 2012<br>
* $Id$
*
* @author Samuel Benz... | licenses/>.
*/
/**
* Name: Promise<br>
* Description: <br>
*
* Creation date: Apr 10, 2012<br>
* $Id$
*
* @author Samuel Benz benz@geoid.ch
*/
public class Promise {
private final long date = System.currentTimeMillis();
private final Long instance;
private final Integer ballot;
/** |
* Public constructor
*
* @param instance
* @param ballot
*/
public Promise(Long instance,Integer ballot){
this.instance = instance;
this.ballot = ballot;
|
ProxyManagerProxy.java | /FileExtraction/Java_unseen/RestComm_Restcomm-Connect/restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/proxy/ProxyManagerProxy.java | /*
* TeleStax, Open Source Cloud Communications
* Copyright 2011-2014, Telestax Inc and individual contributors
* by the @authors tag.
*
* This program is free software: you can redistribute it and/or modify
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation... | 4,920 | Java | .java | RestComm/Restcomm-Connect | 239 | 214 | 788 | 2012-08-17T17:47:44Z | 2023-04-14T20:58:19Z | 4ae333c7ee259dc0ba26a9b56976eed6591840e5bad928436a075c5ae00c4175 | [] | [
1127,
222,
338,
22493,
520,
668,
49,
3944,
6391,
7594,
2780,
31174,
222,
338,
2657,
244,
55,
53,
54,
54,
50,
55,
53,
54,
57,
49,
22493,
289,
668,
6367,
480,
10139,
13356,
222,
338,
829,
341,
496,
17589,
2621,
51,
222,
338,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
7145,
51,
10588,
45,
5401,
1590,
5401,
51,
842,
312,
303,
964,
22022,
1615,
2684,
64,
303,
964,
22022,
2099,
7886,
64,
303,
964,
24622,
1237,
1637,
64,
465,
581,
15628,
1590,
5401,
365,
320,
310,
2615,
492,
303,
339,
465,
496,
1806,... | 5,399,106,414,897,644,000 | true | false | false | false | [
1180,
312,
310,
453,
1175,
24622,
1237,
1637,
299,
1377,
51,
390,
46857,
492,
310,
453,
1175,
377,
658,
2232,
7769,
299,
327,
88,
658,
2232,
46,
1637,
51,
11383,
45,
88,
2046,
100,
24813,
312,
310,
453,
8149,
3505,
299,
327,
2339,
... | -5,720,046,577,368,693,000 | true | Logger.getLogger(ProxyManagerProxy.class);
private ActorSystem system;
private ActorRef manager;
private ServletContext context;
public ProxyManagerProxy() {
super();
}
@Override
public void destroy() {
if (system!= null)
system.stop(manager);
}
@Overr... | if (system!= null)
system.stop(manager);
}
@Override
protected void doRequest(final SipServletRequest request) throws ServletException, IOException {
manager.tell(request, null);
}
@Override
protected void doResponse(final SipServletResponse response) throws ServletExcepti... |
protected void doResponse(final SipServletResponse response) throws ServletException, IOException {
manager.tell(response, null);
}
@Override
public void init(final ServletConfig config) throws ServletException {
super.init(config);
// final ServletContext context = config.getS... | config);
// final ServletContext context = config.getServletContext();
// final SipFactory factory = (SipFactory) context.getAttribute(SIP_FACTORY);
// Configuration configuration = (Configuration) context.getAttribute(Configuration.class.getName());
// configuration = configuration.subs... | getName());
// system = (ActorSystem) context.getAttribute(ActorSystem.class.getName());
// manager = manager(config, factory, storage, address);
// context.setAttribute(ProxyManager.class.getName(), manager); |
exGirlfriendAssistent.java | /FileExtraction/Java_unseen/stojanovicljubinko_electronic-library-system/src/osnova/exGirlfriendAssistent.java | package osnova;
import interfejs.CitacGUI;
import interfejs.MojaKnjigaGUI;
import interfejs.IgraonicaGUI;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.L... | 21,054 | Java | .java | stojanovicljubinko/electronic-library-system | 19 | 2 | 1 | 2022-04-16T19:26:37Z | 2023-08-28T14:57:59Z | 8afd80e61eeda76945be2ef048872ec10e43c5a27a97a1a18334ad664059ae15 | [] | [
1337,
2355,
31171,
64,
222,
222,
485,
1447,
1247,
773,
51,
72,
302,
348,
10586,
64,
222,
485,
1447,
1247,
773,
51,
8852,
4615,
22115,
111,
21657,
10586,
64,
222,
485,
1447,
1247,
773,
51,
78,
22502,
286,
5303,
10586,
64,
222,
485,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2152,
320,
733,
456,
327,
671,
328,
518,
8172,
46,
320,
1031,
1189,
51,
560,
51,
3962,
1181,
1076,
2002,
494,
332,
332,
494,
328,
312,
733,
339,
733,
4056,
64,
547,
339,
3704,
453,
2357,
3378,
547,
434,
327,
687,
51,
4766,
459,
... | -8,283,270,677,557,401,000 | true | false | false | false | [
1338,
3378,
5424,
458,
332,
494,
4937,
312,
1031,
2050,
556,
1233,
299,
556,
2050,
45,
1537,
312,
1031,
1922,
5394,
299,
556,
1233,
51,
4678,
492,
10206,
434,
327,
4678,
46,
320,
1396,
1189,
51,
560,
51,
3962,
4229,
39,
494,
4937,
... | -8,920,782,277,674,168,000 | true | ")) {
for (String s : history) {
System.out.println((index++) + " " + s);
}
continue;
}
//change directory
if (list.contains("cd")) {
i... | list.get(list.size() - 1).equals("cd")) {
File home = new File(System.getProperty("user.home"));
//test to see what user.home changes to
//System.out.println("The home directory is " + home);
pb.directory(hom... | ("The home directory is " + home);
pb.directory(home);
continue;
} else {
String dir = list.get(1);
//test to see what directory was passed
//System.out.pr... | The directory passed is " + dir);
File newPath = new File(dir);
boolean exists = newPath.exists();
if (exists) {
System.out.println("/" + dir); //added the "/" for cleaner output
... | (list.contains("song")) {
love -= -20;
System.out.println("Park outside");
try {
TimeUnit.MILLISECONDS.sleep(1000);
} catch (InterruptedException ex) {
... |
DescriptionAlgoDEclatBitset.java | /FileExtraction/Java_unseen/jacksonpradolima_SPMF/src/ca/pfv/spmf/algorithmmanager/descriptions/DescriptionAlgoDEclatBitset.java | package ca.pfv.spmf.algorithmmanager.descriptions;
import java.io.IOException;
import ca.pfv.spmf.algorithmmanager.DescriptionOfAlgorithm;
import ca.pfv.spmf.algorithmmanager.DescriptionOfParameter;
import ca.pfv.spmf.algorithms.frequentpatterns.eclat.AlgoDEclat_Bitset;
import ca.pfv.spmf.input.transaction_database_l... | 3,310 | Java | .java | jacksonpradolima/SPMF | 15 | 7 | 0 | 2017-10-05T14:41:29Z | 2021-01-04T18:21:22Z | 139dbaa49507abcb09282b4d9ce2c568f7e65e1ef79351d7a1dc1b6bef72e62e | [] | [
1337,
7462,
51,
7146,
123,
51,
438,
10599,
51,
12145,
4031,
51,
34171,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
222,
485,
7462,
51,
7146,
123,
51,
438,
10599,
51,
12145,
4031,
51,
3250,
1436,
10462,
64,
222,
485,
7462,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 930 | [
1482,
4090,
45,
5173,
96,
53,
2004,
1332,
221,
325,
19565,
341,
6148,
3520,
376,
221,
4331,
3969,
3520,
299,
556,
11726,
3969,
492,
376,
221,
1287,
320,
374,
221,
4617,
51,
963,
991,
45,
47306,
312,
376,
221,
130,
2385,
327,
6860,
... | -504,908,658,546,595,140 | true | false | false | false | [
1436,
3026,
1197,
640,
3694,
3250,
365,
320,
295,
376,
221,
3250,
1436,
3026,
1197,
3406,
299,
556,
5602,
1436,
3026,
96,
55,
988,
376,
221,
5173,
96,
53,
98,
299,
556,
5602,
1436,
3026,
459,
82,
2395,
436,
10045,
5742,
11616,
106,
... | 5,338,819,253,848,664,000 | true | AsDouble(parameters[0]);
// Loading the transaction database
TransactionDatabase database = new TransactionDatabase();
try {
database.loadFile(inputFile);
} catch (IOException e) {
e.printStackTrace();
}
AlgoDEclat_Bitset algo = new AlgoDEclat_Bitset();
if (parameters.length >=2 && "".equals(pa... | printStackTrace();
}
AlgoDEclat_Bitset algo = new AlgoDEclat_Bitset();
if (parameters.length >=2 && "".equals(parameters[1]) == false) {
algo.setMaximumPatternLength(getParamAsInteger(parameters[1]));
}
algo.runAlgorithm(outputFile, database, minsup, true);
algo.printStats();
}
@Override
publi... | .setMaximumPatternLength(getParamAsInteger(parameters[1]));
}
algo.runAlgorithm(outputFile, database, minsup, true);
algo.printStats();
}
@Override
public DescriptionOfParameter[] getParametersDescription() {
DescriptionOfParameter[] parameters = new DescriptionOfParameter[2];
parameters[0] = ... | OfParameter[] getParametersDescription() {
DescriptionOfParameter[] parameters = new DescriptionOfParameter[2];
parameters[0] = new DescriptionOfParameter("Minsup (%)", "(e.g. 0.4 or 40%)", Double.class, false);
parameters[1] = new DescriptionOfParameter("Max pattern length", "(e.g. 2 items)", Integer.cl... | }
@Override
public String getImplementationAuthorNames() {
return "Philippe Fournier-Viger";
}
@Override
public String[] getInputFileTypes() {
return |
Prefs.java | /FileExtraction/Java_unseen/rosenpin_pokemon-go-enhancer/app/src/main/java/com/tomerrosenfeld/tweaksforgo/Prefs.java | package com.tomerrosenfeld.tweaksforgo;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import java.util.Map;
public class Prefs {
public static String batterySaver = "battery_saver";
public static String keepAwake = "keep_awake";
pub... | 2,280 | Java | .java | rosenpin/pokemon-go-enhancer | 11 | 2 | 15 | 2016-07-21T23:23:23Z | 2017-07-06T18:28:46Z | e7dfdb4ab1d4c18feeecec58cbff6db87b37694182986e57fb105269dbcaa083 | [] | [
1337,
785,
51,
2081,
284,
4190,
291,
107,
15426,
51,
44301,
120,
999,
1724,
64,
222,
222,
485,
2616,
51,
1304,
51,
1237,
64,
222,
485,
2616,
51,
1304,
51,
32235,
64,
222,
485,
2616,
51,
29565,
51,
14366,
1590,
64,
222,
222,
485,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 536 | [
8855,
299,
332,
18581,
100,
8855,
884,
303,
964,
42116,
23333,
64,
465,
581,
466,
8053,
45,
1237,
1637,
46,
320,
310,
23333,
299,
42838,
1590,
51,
13729,
32235,
45,
1834,
312,
303,
339,
465,
581,
1922,
640,
4718,
45,
671,
1221,
49,
... | -7,629,282,464,615,499,000 | true | false | false | false | [
51,
3189,
941,
543,
1438,
45,
697,
49,
928,
566,
4740,
492,
303,
339,
465,
581,
782,
758,
45,
671,
1221,
49,
910,
928,
46,
320,
310,
23333,
51,
3189,
941,
38380,
45,
697,
49,
928,
566,
4740,
492,
303,
339,
465,
581,
782,
4894,
... | 7,852,662,120,031,024,000 | true | notification = "persistent_notification";
private SharedPreferences preferences;
public Prefs(Context context) {
preferences = PreferenceManager.getDefaultSharedPreferences(context);
}
public boolean getBoolean(String key, boolean def) {
return preferences.getBoolean(key, def);
}
... | .getBoolean(key, def);
}
public int getInt(String key, int def) {
return preferences.getInt(key, def);
}
public String getString(String key, String def) {
return preferences.getString(key, def);
}
public void set(String key, boolean val) {
preferences.edit().putBoolean... | getString(key, def);
}
public void set(String key, boolean val) {
preferences.edit().putBoolean(key, val).apply();
}
public void set(String key, int val) {
preferences.edit().putInt(key, val).apply();
}
public void set(String key, String val) {
preferences.edit().putSt... | .edit().putInt(key, val).apply();
}
public void set(String key, String val) {
preferences.edit().putString(key, val).apply();
}
public void apply(Context context) {
preferences = PreferenceManager.getDefaultSharedPreferences(context);
}
public String[][] toArray() {
St... |
int i = 0;
for (Map.Entry<String,?> entry : prefs.entrySet()) {
list[i][0] = entry.getKey();
list[i][1] = entry.getValue().toString(); |
DeleteState.java | /FileExtraction/Java_unseen/link-it_govway/core/src/org/openspcoop2/core/transazioni/constants/DeleteState.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,499 | Java | .java | link-it/govway | 48 | 8 | 18 | 2018-06-25T07:52:40Z | 2024-05-08T13:23:36Z | a689f4b0856e83deb81c48cb3296ca6a07c7789835790b18db5779dd7fa28abd | [] | [
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 | [
56,
49,
641,
9582,
829,
222,
338,
341,
7834,
3870,
7120,
51,
222,
338,
222,
338,
1369,
3477,
458,
2744,
347,
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
3... | -6,214,187,233,010,154,000 | true | false | false | false | [
539,
55,
51,
9957,
100,
2268,
51,
9580,
51,
78,
21933,
64,
222,
485,
1105,
51,
1693,
438,
352,
539,
55,
51,
9957,
100,
2268,
51,
3918,
51,
9941,
64,
222,
222,
1350,
665,
222,
338,
40065,
24183,
44,
2559,
116,
3081,
50,
1311,
837... | 1,703,911,925,970,257,700 | true | 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should ha... | PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.openspcoop2.core.transazioni.constants;
import java.io.Serializable;
import java.util.Li... | org/licenses/>.
*
*/
package org.openspcoop2.core.transazioni.constants;
import java.io.Serializable;
import java.util.List;
import org.openspcoop2.generic_project.beans.IEnumeration;
import org.openspcoop2.generic_project.exception.NotFoundException;
/**
* Enumeration dell'elemento delete-state xsd (tipo:st... | op2.generic_project.beans.IEnumeration;
import org.openspcoop2.generic_project.exception.NotFoundException;
/**
* Enumeration dell'elemento delete-state xsd (tipo:string)
*
* @author Poli Andrea (poli@link.it)
* @author $Author$
* @version $Rev$, $Date$
*/
@javax.xml.bind.annotation.XmlType( | name = "delete-state")
@javax.xml.bind.annotation.XmlEnum(String.class)
public enum DeleteState implements IEnumeration, Serializable, Cloneable {
@javax.xml.bind.annotation.Xml |
RMProxyUserInterfaceTest.java | /FileExtraction/Java_unseen/ow2-proactive_scheduling/rm/rm-server/src/test/java/functionaltests/jmx/RMProxyUserInterfaceTest.java | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | 4,605 | Java | .java | ow2-proactive/scheduling | 60 | 53 | 155 | 2015-05-16T13:38:55Z | 2024-05-07T13:08:56Z | 9e26b113039cc5792a61acc84581371b7718feac5e7b8ba051bd2b987451cb36 | [] | [
1127,
222,
338,
1330,
4091,
29829,
25280,
45,
9043,
731,
222,
338,
906,
3944,
6391,
4277,
456,
11994,
480,
2744,
222,
338,
21275,
120,
568,
377,
16501,
49,
565,
30568,
31655,
49,
7594,
30336,
222,
338,
480,
7766,
2426,
17497,
563,
234... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
459,
1230,
2044,
54,
411,
878,
312,
603,
10228,
2775,
51,
46549,
2044,
459,
1230,
2044,
55,
411,
244,
54,
312,
603,
1621,
299,
1849,
87,
2842,
286,
1534,
1167,
12715,
46,
10228,
2775,
51,
17633,
1590,
4269,
390,
45224,
492,
310,
910... | 3,386,264,082,193,153,000 | true | false | false | false | [
1405,
365,
320,
310,
434,
327,
5881,
1259,
3058,
882,
762,
46,
320,
343,
1614,
320,
419,
7671,
1259,
3058,
51,
18225,
492,
343,
339,
2385,
327,
1002,
10308,
46,
320,
1083,
339,
343,
23112,
4091,
976,
51,
25042,
4091,
976,
45,
5881,
... | -8,993,112,341,994,929,000 | true | ("NodeSource1", true);
rmHelper.createNodeSource("NodeSource2", 1);
state = ((RMMonitorEventReceiver) rmHelper.getResourceManager()).getInitialState();
String nodeSource2_NodeJmxUrl = state.getNodeEvents().get(0).getDefaultJMXUrl();
Object mBeanFromNodeSource2 = proxyUserInterface.get... | Url = state.getNodeEvents().get(0).getDefaultJMXUrl();
Object mBeanFromNodeSource2 = proxyUserInterface.getNodeMBeanInfo(nodeSource2_NodeJmxUrl,
EXISTING_OBJECT_NAME,
... | NAME,
Collections.<String> emptyList());
assertNotNull(mBeanFromNodeSource2);
// cleanup
rmHelper.getResourceManager().removeNodeSource("NodeSource2", true);
}
@After
public void cleanUp() {
if (prox... | Up() {
if (proxyUserInterface!= null) {
try {
proxyUserInterface.disconnect();
} catch (Exception ignored) {
}
PAActiveObject.terminateActiveObject(proxyUserInterface, true);
}
}
private RMListenerProxy createRMCachingProxyUserInt... | = rmHelper.getRMAuth();
final PublicKey pubKey = auth.getPublicKey();
final Credentials adminCreds = Credentials.createCredentials(new CredData(TestUsers.TEST.username,
TestUsers.TEST.password |
ConsultationAction.java | /FileExtraction/Java_unseen/scoophealth_oscar/src/main/java/org/oscarehr/consultations/ConsultationAction.java | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | 6,946 | Java | .java | scoophealth/oscar | 36 | 22 | 22 | 2012-09-06T22:21:29Z | 2023-12-17T23:35:16Z | 2ccece89ee6a16198c4a7fdfd5b1388f5eea78cb0e8d93845d33d1031cb58a47 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
50,
55,
53,
53,
55,
51,
24481,
451,
37865,
14340,
32703,
49,
22545,
8801,
11451,
51,
3381,
12902,
11921,
51,
222,
338,
1369,
2951,
458,
9582,
1549,
341,
23508,
6994,
6153,
5... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
38849,
17693,
449,
25280,
244,
56,
56,
53,
49,
25006,
49,
13083,
244,
53,
55,
54,
54,
54,
50,
54,
56,
53,
60,
49,
15067,
51,
222,
338,
222,
338,
1369,
2951,
1616,
6658,
456,
341,
222,
338,
24481,
451,
37865,
14340,
32703,
222,
3... | -4,436,886,414,174,990,300 | true | false | false | false | [
64,
222,
485,
3698,
51,
10010,
51,
544,
51,
30443,
64,
222,
222,
485,
3723,
51,
6463,
51,
1279,
51,
27698,
64,
222,
485,
3723,
51,
6463,
51,
1279,
51,
15543,
64,
222,
222,
485,
1105,
51,
2121,
51,
8381,
51,
1600,
51,
1021,
51,
... | -2,968,920,684,580,733,400 | true | Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* This software was written for the
* Department of Family Medicine
* McMaster University
* Hamilton
* Ontario, Canada
*/
package org.oscarehr.consultations;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.... | Hamilton
* Ontario, Canada
*/
package org.oscarehr.consultations;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpS... | import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.commons.lang... | ;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.commons.lang.time.DateFormatUtils;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts... | import org.oscarehr.PMmodule.dao.ProviderDao;
import org.oscarehr.common.dao.ConsultationServiceDao;
import org.oscarehr.common.dao.DemographicDao;
import |
GenForm.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ClinicalAdmin/src/ims/clinicaladmin/forms/tumourcategorygroupsites/GenForm.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 292,326 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | bb605607a4f4e39fc137ef827325daad4384639e187efd02273c76625c30ee7e | [] | [
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 | [
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
7223,
607,
222,
16802,
42053,
607,
222,
16802,
244,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
607,
222,
16802,
244,
7979,
642,
477,
3477,
51,
244,
1... | 8,969,461,171,526,870,000 | true | false | false | false | [
51,
27764,
1599,
2317,
51,
8543,
51,
32353,
534,
3168,
6353,
4160,
64,
222,
222,
485,
3987,
120,
51,
2863,
7737,
222,
485,
3987,
120,
51,
2863,
51,
10860,
7737,
222,
485,
3987,
120,
51,
2863,
51,
3880,
284,
1014,
7737,
222,
485,
3... | -1,621,850,613,554,485,200 | true | 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/>. #
//# ... | gnu.org/licenses/>. #
//# #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C)... | .25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.clinicaladmin.forms.tumourcategorygroupsites;
import ims.framework.*;
import ims.framework.controls.*;
import ims.framework.enumerations.*;
import ims.framework.utils.RuntimeAnchoring;
p... | .clinicaladmin.forms.tumourcategorygroupsites;
import ims.framework.*;
import ims.framework.controls.*;
import ims.framework.enumerations.*;
import ims.framework.utils.RuntimeAnchoring;
public class GenForm extends FormBridge
{
private static final long serialVersionUID = 1L;
public boolean canProvideData(IReportS... | ReportDataProvider(reportSeeds, this.getFormReportFields()).canProvideData();
}
public boolean hasData(IReportSeed[] reportSeeds)
{
return new ReportDataProvider(reportSeeds, |
RigidHollowSphereModule.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/simulations/ideal-gas/src/edu/colorado/phet/idealgas/controller/RigidHollowSphereModule.java | // Copyright 2002-2012, University of Colorado
/**
* Class: RigidHollowSphereModule
* Class: edu.colorado.phet.idealgas.controller
* User: Ron LeMaster
* Date: Sep 18, 2004
* Time: 12:35:56 PM
*/
package edu.colorado.phet.idealgas.controller;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
im... | 10,687 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 7644981f1321ea89439fba6a9c93422dd994f105cb7454bb11d9db48e731c66a | [] | [
325,
2657,
244,
55,
53,
53,
55,
50,
55,
53,
54,
55,
49,
11451,
451,
5459,
2619,
222,
222,
1350,
222,
338,
1727,
63,
48180,
77,
1757,
19556,
2478,
222,
338,
1727,
63,
15357,
51,
1507,
2619,
51,
117,
10237,
51,
824,
298,
16663,
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 | [
29817,
51,
842,
64,
303,
964,
21057,
45769,
402,
19556,
299,
556,
21057,
492,
303,
964,
2082,
1263,
27025,
299,
25266,
298,
25850,
1081,
51,
3470,
100,
4290,
4583,
2932,
536,
244,
57,
64,
465,
1041,
294,
338,
12836,
294,
338,
294,
3... | 7,301,685,104,662,853,000 | true | false | false | false | [
1757,
19556,
589,
1681,
365,
1110,
603,
453,
1776,
341,
1354,
451,
341,
4410,
310,
1175,
9979,
55,
73,
4410,
299,
640,
20652,
298,
25850,
1262,
941,
390,
1723,
492,
310,
453,
370,
4410,
51,
489,
6071,
45,
244,
56,
53,
53,
49,
244,... | -4,747,763,037,045,115,000 | true | Species.class;
private LinkedList moleculesInSphere = new LinkedList();
private double defaultGravity = IdealGasConfig.MAX_GRAVITY / 4;
/**
* Constructor
*
* @param clock
*/
public RigidHollowSphereModule( IdealGasClock clock ) {
super( clock, IdealGasResources.getString( "M... | RigidHollowSphereModule( IdealGasClock clock ) {
super( clock, IdealGasResources.getString( "ModuleTitle.RigidHollowSphere" ) );
double xOrigin = 200;
double yOrigin = 250;
double xDiag = 434;
double yDiag = 397;
// Add collision experts to the model
getIdealGas... | = 250;
double xDiag = 434;
double yDiag = 397;
// Add collision experts to the model
getIdealGasModel().addCollisionExpert( new SphereHollowSphereExpert() );
// Set the size of the box
final Box2D box = getIdealGasModel().getBox();
// box.setRegion( 300,... | ollowSphereExpert() );
// Set the size of the box
final Box2D box = getIdealGasModel().getBox();
// box.setRegion( 300, 100, box.getMaxX(), box.getMaxY() );
sphere = new HollowSphere( new Point2D.Double( box.getMinX() + box.getWidth() / 2,
... | 2 ),
new MutableVector2D( 0, 0 ),
new MutableVector2D( 0, 0 ),
100,
50 );
box.setMinimumWidth( sphere.getRadius() * |
NoiseSettings.java | /FileExtraction/Java_unseen/PAMGuard_PAMGuard/src/noiseMonitor/NoiseSettings.java | package noiseMonitor;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.ListIterator;
import PamModel.parametermanager.ManagedParameters;
import PamModel.parametermanager.PamParameterSet;
import PamModel.parametermanager.PrivatePamParameterData;
import PamModel.... | 4,531 | Java | .java | PAMGuard/PAMGuard | 25 | 15 | 19 | 2022-01-07T10:43:12Z | 2024-05-01T18:22:07Z | 9e2d2df88bc059f7cd265c36a488004164921e9879808071a69761628862b33a | [] | [
1337,
15553,
8538,
64,
222,
222,
485,
1401,
51,
735,
51,
12644,
64,
222,
485,
1401,
51,
1600,
51,
9069,
51,
1195,
64,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
485,
1401,
51,
1058,
51,
739,
5740,
64,
222,
222,
485,
466,
424,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
53,
64,
376,
221,
24408,
20198,
14725,
331,
14725,
64,
376,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
18699,
71,
6002,
51,
911,
492,
613,
2002,
320,
374,
221,
102,
14725,
299,
18699,
71,
6002,
51,
390,
45,
110,
312,
3... | -3,341,644,820,685,450,000 | true | false | false | false | [
464,
16098,
365,
320,
376,
221,
620,
25730,
16098,
64,
222,
221,
130,
3038,
221,
1350,
376,
338,
1408,
341,
18541,
13526,
1674,
829,
1364,
14142,
376,
338,
496,
620,
376,
588,
222,
221,
942,
2082,
640,
46565,
16098,
365,
320,
376,
2... | -7,947,580,688,527,361,000 | true | 0;
NoiseMeasurementBand aBand;
for (int i = 0; i < measurementBands.size(); i++) {
aBand = measurementBands.get(i);
if (i == 0) {
lowestFrequency = aBand.f1;
highestFrequency = aBand.f2;
}
else {
lowestFrequency = Math.min(lowestFrequency, aBand.f1);
highestFrequency = Math.max(highestFr... | 0) {
lowestFrequency = aBand.f1;
highestFrequency = aBand.f2;
}
else {
lowestFrequency = Math.min(lowestFrequency, aBand.f1);
highestFrequency = Math.max(highestFrequency, aBand.f2);
}
}
}
/**
* Get the lowest frequency used by any band.
*/
public double getLowestFrequency() {
ret... | );
highestFrequency = Math.max(highestFrequency, aBand.f2);
}
}
}
/**
* Get the lowest frequency used by any band.
*/
public double getLowestFrequency() {
return lowestFrequency;
}
/**
* Get the highest frequency used by any band
* @return
*/
public double getHighestFrequency() {
return... | estFrequency() {
return lowestFrequency;
}
/**
* Get the highest frequency used by any band
* @return
*/
public double getHighestFrequency() {
return highestFrequency;
}
/**
* Get the lowest frequency used by any band.
* rounded down to nearest factor of 10
*/
public double getLowestFrequency10... | .floor(Math.log10(Math.max(1,lowestFrequency))));
}
/**
* Get the highest frequency used by any band
* rounded up to nearest factor of 10
* @return
|
UIWindow.java | /FileExtraction/Java_unseen/BleachDev_bleachhack-legacy/src/main/java/org/bleachhack/gui/clickgui/window/UIWindow.java | /*
* This file is part of the BleachHack distribution (https://github.com/BleachDrinker420/BleachHack/).
* Copyright (c) 2021 Bleach and contributors.
*
* This source code is subject to the terms of the GNU General Public
* License, version 3. If a copy of the GPL was not distributed with this
* file, You can obt... | 8,206 | Java | .java | BleachDev/bleachhack-legacy | 8 | 2 | 0 | 2021-12-31T13:43:42Z | 2022-08-26T16:03:00Z | 5eeb3d29235aa52ec4e4921b1dda85fe9a52384fb6d180b1305a209c2af5a4f3 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
341,
570,
293,
886,
31641,
7507,
327,
662,
574,
951,
51,
527,
52,
71,
293,
886,
13284,
33534,
57,
55,
53,
52,
71,
293,
886,
31641,
13310,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
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 | [
1197,
640,
1269,
365,
320,
376,
221,
620,
1354,
17612,
51,
390,
492,
222,
221,
130,
499,
221,
942,
782,
2922,
2299,
365,
320,
376,
221,
3183,
9123,
51,
7504,
45,
125,
54,
49,
553,
54,
312,
222,
221,
130,
499,
221,
942,
1922,
141... | 1,616,418,150,642,051,300 | true | false | false | false | [
23585,
365,
621,
221,
51,
2564,
2811,
45,
333,
54,
984,
828,
54,
51,
3591,
45,
597,
625,
4254,
376,
221,
2719,
51,
390,
27364,
941,
23585,
941,
2564,
2811,
45,
333,
984,
35543,
1811,
5238,
1293,
828,
51,
1340,
365,
868,
244,
54,
... | 3,936,626,635,631,333,400 | true | [] getSize() {
return sizeSupplier.get();
}
public void renderUI() {
renderConsumer.accept(x1, y1);
}
public boolean shouldClose() {
return!enabledSupplier.getAsBoolean();
}
public void detachFromOthers(boolean detachFromConstants) {
String thisId = parentContainer.getIdFromWindow(this);
if (thisId ... | return!enabledSupplier.getAsBoolean();
}
public void detachFromOthers(boolean detachFromConstants) {
String thisId = parentContainer.getIdFromWindow(this);
if (thisId == null)
return;
position.getAttachments().keySet().stream()
.filter(id -> id.length() > 1)
.forEach(id -> parentContainer.windows.get(... | return;
position.getAttachments().keySet().stream()
.filter(id -> id.length() > 1)
.forEach(id -> parentContainer.windows.get(id).position.getAttachments().keySet()
.removeIf(id1 -> id1.equals(thisId)));
position.getAttachments().keySet().removeIf(id -> detachFromConstants || id.length() > 1);
}
@Overr... | keySet()
.removeIf(id1 -> id1.equals(thisId)));
position.getAttachments().keySet().removeIf(id -> detachFromConstants || id.length() > 1);
}
@Override
public void render(int mouseX, int mouseY) {
// Handling of attaching/detaching when dragging
int sens = 5;
if (dragging) {
detachFromOthers( | true);
String thisId = parentContainer.getIdFromWindow(this);
Window _window = new Window(mc.options, mc.width, mc.height);
int width = (int) _window.getS |
NewTweetController.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/screens/newtweet/NewTweetController.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* 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... | 15,142 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z | b14e7f92759619699de85187b6899a9cb6feca61248ab085e1a363a5b6e5aab5 | [] | [
1127,
222,
338,
281,
517,
126,
287,
21262,
49,
331,
3760,
2177,
50,
1876,
8252,
50,
5146,
23968,
2060,
51,
222,
338,
281,
2657,
327,
72,
46,
244,
55,
53,
54,
60,
50,
55,
53,
54,
61,
49,
413,
11581,
297,
1531,
901,
311,
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,
222,
485,
15911,
51,
7615,
51,
1151,
51,
23829,
46930,
64,
222,
485,
15911,
51,
7615,
51,
1151,
51,
971,
46930,
64,
222,
485,
15911,
51,
7615,
51,
3106,
51,
7263,
7586,
64,
222,
485,
15911,
51,
7615,
51,
3106,
51,
77,
1723,
... | -8,913,807,571,761,546,000 | true | false | false | false | [
51,
22001,
120,
51,
20115,
64,
222,
485,
7583,
106,
51,
651,
287,
21262,
51,
1184,
51,
7643,
51,
8195,
51,
35421,
337,
64,
222,
485,
7583,
106,
51,
651,
287,
21262,
51,
1184,
51,
7643,
51,
4270,
51,
1827,
33001,
1201,
64,
222,
4... | -7,187,762,045,003,213,000 | true | ;
import javafx.scene.input.KeyCodeCombination;
import javafx.scene.input.KeyCombination;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.FileChooser;
import javafx.stage.Fi... | .layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.FileChooser;
import javafx.stage.FileChooser.ExtensionFilter;
import javafx.stage.Stage;
import moe.lyrebird.model.sessions.SessionManager;
import moe.lyrebird.model.twitter.observables.Mentions;
import moe.lyrebird... | Stage;
import moe.lyrebird.model.sessions.SessionManager;
import moe.lyrebird.model.twitter.observables.Mentions;
import moe.lyrebird.model.twitter.observables.Timeline;
import moe.lyrebird.model.twitter.refresh.RateLimited;
import moe.lyrebird.model.twitter.services.NewTweetService;
import moe.lyrebird.model.twitter.... | .observables.Timeline;
import moe.lyrebird.model.twitter.refresh.RateLimited;
import moe.lyrebird.model.twitter.services.NewTweetService;
import moe.lyrebird.model.twitter.util.TwitterMediaExtensionFilter;
import moe.lyrebird.view.components.tweet.TweetPaneComponent;
import moe.lyrebird.view.components.tweet.TweetPaneC... | ;
import moe.lyrebird.view.viewmodel.javafx.Clipping;
import moe.lyrebird.view.viewmodel.javafx.StageAware;
import moe.tristan.easy |
VariantEvaluation.java | /FileExtraction/Java_unseen/exomiser_Exomiser/exomiser-core/src/main/java/org/monarchinitiative/exomiser/core/model/VariantEvaluation.java | /*
* The Exomiser - A tool to annotate and prioritize genomic variants
*
* Copyright (c) 2016-2021 Queen Mary University of London.
* Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | 31,893 | Java | .java | exomiser/Exomiser | 181 | 54 | 139 | 2014-11-04T10:09:50Z | 2024-05-03T13:24:51Z | e136f558034091737071f3f0dec4c3e71f3506dca491c7ae9ff3768076d49383 | [] | [
1127,
222,
338,
906,
1300,
437,
12080,
449,
418,
4572,
391,
40008,
480,
41541,
537,
4515,
29591,
23754,
222,
338,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
59,
50,
55,
53,
55,
54,
11427,
291,
507,
692,
11451,
451,
43898,
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 | [
391,
2531,
7448,
829,
341,
1300,
437,
2292,
3477,
51,
222,
338,
222,
338,
496,
2133,
990,
3219,
45356,
12185,
291,
350,
111,
3219,
51,
11171,
12185,
291,
69,
120,
6015,
51,
348,
51,
3434,
67,
222,
338,
496,
2133,
37561,
18588,
285,
... | -562,208,862,606,716,600 | true | false | false | false | [
332,
34974,
1233,
16493,
314,
411,
332,
20061,
2365,
2439,
411,
332,
7824,
2365,
2439,
411,
332,
15749,
768,
411,
332,
1005,
16493,
32207,
768,
411,
332,
14600,
39585,
21475,
411,
332,
31061,
39585,
21475,
411,
332,
38353,
13040,
15147,
... | -3,517,487,020,279,926,300 | true | to each variant by the Exomizer program.
*
* @author Jules Jacobsen <jules.jacobsen@sanger.ac.uk>
* @author Peter Robinson <peter.robinson@charite.de>
*/
@JsonPropertyOrder({"genomeAssembly", "contigName", "contigId", "start", "end", "ref", "alt", "id", "type", "length", "changeLength", "phredScore", "altAlleleId"... | son@charite.de>
*/
@JsonPropertyOrder({"genomeAssembly", "contigName", "contigId", "start", "end", "ref", "alt", "id", "type", "length", "changeLength", "phredScore", "altAlleleId", "variantEffect", "nonCodingVariant", "whiteListed", "filterStatus", "contributesToGeneScore", "variantScore", "frequencyScore", "pathogen... | "phredScore", "altAlleleId", "variantEffect", "nonCodingVariant", "whiteListed", "filterStatus", "contributesToGeneScore", "variantScore", "frequencyScore", "pathogenicityScore", "predictedPathogenic", "passedFilterTypes", "failedFilterTypes", "frequencyData", "pathogenicityData", "compatibleInheritanceModes", "contri... | "predictedPathogenic", "passedFilterTypes", "failedFilterTypes", "frequencyData", "pathogenicityData", "compatibleInheritanceModes", "contributingInheritanceModes", "transcriptAnnotations"})
public class VariantEvaluation extends AbstractVariant implements Comparable<VariantEvaluation>, Filterable, Inheritable {
... | be used in production, but in cases where there is no genotype this will prevent NullPointer and ArrayIndexOutOfBounds Exceptions
private static final SampleData DEFAULT_SAMPLE_DATA = SampleData.of(SampleIdentifiers.defaultSample(), SampleGenotype |
ORC4.java | /FileExtraction/Java_unseen/junoemr_junoemr/src/main/java/com/indivica/olis/parameters/ORC4.java | /**
* Copyright (c) 2008-2012 Indivica Inc.
*
* This software is made available under the terms of the
* GNU General Public License, Version 2, 1991 (GPLv2).
* License details are available via "indivica.ca/gplv2"
* and "gnu.org/licenses/gpl-2.0.html".
*/
package com.indivica.olis.parameters;
/**
* Placer Gro... | 1,575 | Java | .java | junoemr/junoemr | 11 | 6 | 39 | 2018-06-06T17:33:56Z | 2024-02-09T16:12:24Z | b8e90a3f29e89a2b901953bca6818578d66329b930b16fc0aa479d318d05730a | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
61,
50,
55,
53,
54,
55,
719,
526,
5303,
6367,
51,
222,
338,
222,
338,
1369,
2951,
458,
5610,
3322,
1549,
341,
5974,
451,
341,
222,
338,
6994,
6153,
5062,
1196,
49,
3050,
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,... | 473 | [
64,
3038,
221,
942,
1895,
72,
57,
45,
671,
4436,
5551,
49,
910,
36586,
625,
49,
910,
36586,
45248,
46,
320,
3281,
477,
51,
2244,
5551,
299,
4436,
5551,
64,
3281,
477,
51,
31065,
625,
299,
36586,
625,
64,
3281,
477,
51,
31065,
4524... | 5,056,613,396,497,180,000 | true | false | false | false | [
221,
69,
1806,
222,
221,
942,
782,
27609,
45,
976,
804,
46,
320,
376,
221,
5267,
556,
25788,
492,
222,
221,
130,
499,
221,
69,
1806,
222,
221,
942,
782,
27609,
45,
3078,
1760,
49,
2210,
804,
46,
320,
376,
221,
344,
327,
2068,
63... | 2,389,274,269,046,544,400 | true | ;
public ORC4(String entityIdentifier, String universalId, String universalIdType) {
this.entityIdentifier = entityIdentifier;
this.universalId = universalId;
this.universalIdType = universalIdType;
}
public ORC4() {
}
@Override
public String toOlisString() {
return getQueryCode() + ".1... |
public ORC4() {
}
@Override
public String toOlisString() {
return getQueryCode() + ".1^" + (entityIdentifier!= null? entityIdentifier : "") + "~" +
getQueryCode() + ".3^" + (universalId!= null? universalId : "") + "~" +
getQueryCode() + ".4^" + (universalIdType!= null? universalIdType : "");
}
@Ove... |
getQueryCode() + ".3^" + (universalId!= null? universalId : "") + "~" +
getQueryCode() + ".4^" + (universalIdType!= null? universalIdType : "");
}
@Override
public void setValue(Object value) {
throw new UnsupportedOperationException();
}
@Override
public void setValue(Integer part, Object value) {
i... | @Override
public void setValue(Object value) {
throw new UnsupportedOperationException();
}
@Override
public void setValue(Integer part, Object value) {
if (part == 1)
this.entityIdentifier = (String) value;
else if (part == 3)
this.universalId = (String) value;
else if (part == 4)
this.universal... | String) value;
}
@Override
public void setValue(Integer part, Integer part2, Object value) {
throw new UnsupportedOperationException();
}
@Override
public String getQueryCode() { |
MockSubscriptionServiceAdapter.java | /FileExtraction/Java_unseen/candlepin_candlepin/src/test/java/org/candlepin/controller/MockSubscriptionServiceAdapter.java | /*
* Copyright (c) 2009 - 2023 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... | 3,735 | Java | .java | candlepin/candlepin | 86 | 68 | 1 | 2012-06-07T14:58:35Z | 2024-05-08T14:43:02Z | aa73ecb51475daf9083beb451672a244b6ff5977d5e1bc19bcea9a2630cb1afd | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
449,
244,
55,
53,
55,
56,
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,... | 848 | [
49,
2337,
222,
338,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
52,
1477,
50,
4205,
52,
43817,
50,
55,
51,
53,
51,
2787,
51,
222,
338,
222,
338,
4777,
30044,
16712,
5525,
904,
666,
14391,
1549,
23508,
123,
55,
51,
3155,
6504,
... | -1,242,404,238,525,862,100 | true | false | false | false | [
222,
485,
1401,
51,
1058,
51,
1225,
64,
222,
485,
1401,
51,
1058,
51,
6699,
64,
222,
485,
1401,
51,
1058,
51,
1144,
51,
2466,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
16862,
64,
222,
485,
1401,
51,
1058,
51,
2255,
51,
1880,
... | -2,617,695,581,442,398,700 | true | , see
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
*
* Red Hat trademarks are not licensed under GPLv2. No permission is
* granted to use or replicate Red Hat trademarks that are incorporated
* in this software or its documentation.
*/
package org.candlepin.controller;
import org.candlepin.service.Sub... | or replicate Red Hat trademarks that are incorporated
* in this software or its documentation.
*/
package org.candlepin.controller;
import org.candlepin.service.SubscriptionServiceAdapter;
import org.candlepin.service.model.ConsumerInfo;
import org.candlepin.service.model.ProductInfo;
import org.candlepin.service.m... | candlepin.service.model.ConsumerInfo;
import org.candlepin.service.model.ProductInfo;
import org.candlepin.service.model.SubscriptionInfo;
import java.util.Collection;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;... |
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
class MockSubscriptionServiceAdapter implements SubscriptionServiceAdapter {
private Map<String, SubscriptionInfo> submap;
public MockSubscriptionServiceAd... | info.stream() : Stream.<SubscriptionInfo>empty())
.filter(Objects::nonNull)
.collect(Collectors.toMap(SubscriptionInfo::getId, Function.identity()));
}
@Override
public Collection<? extends SubscriptionInfo |
AgencyServiceFee.java | /FileExtraction/Java_unseen/kuali_kfs/kfs-tem/src/main/java/org/kuali/kfs/module/tem/businessobject/AgencyServiceFee.java | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softw... | 5,112 | Java | .java | kuali/kfs | 17 | 42 | 0 | 2014-07-08T17:06:19Z | 2018-03-22T16:41:03Z | 452771ef74ed1bf642ed9eea83496df9aa9c3507849ad3f31c776c86b86fd338 | [] | [
1127,
222,
338,
906,
1242,
34951,
10420,
15505,
1189,
49,
331,
45036,
29435,
11151,
2684,
456,
12282,
31733,
51,
222,
338,
1676,
338,
2657,
244,
55,
53,
53,
58,
50,
55,
53,
54,
57,
906,
1242,
34951,
7120,
222,
338,
1676,
338,
1369,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
480,
52,
290,
5370,
222,
338,
580,
1549,
341,
5974,
451,
341,
6994,
30994,
6153,
5062,
1196,
641,
222,
338,
9582,
829,
341,
7834,
3870,
7120,
49,
3173,
1522,
244,
56,
451,
341,
222,
338,
1196,
49,
575,
327,
288,
1390,
2489,
46,
13... | 7,971,405,777,717,718,000 | true | false | false | false | [
2569,
51,
1663,
51,
33654,
51,
11628,
1491,
64,
222,
222,
485,
1401,
51,
1058,
51,
15373,
8263,
64,
222,
222,
485,
3698,
51,
10782,
51,
2154,
64,
222,
485,
3698,
51,
10782,
51,
2234,
64,
222,
485,
3698,
51,
10782,
51,
1617,
64,
... | 6,467,163,337,263,657,000 | true | and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the i... | * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Pu... | .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.kuali.kfs.module.tem.businessobject;
import java.util.LinkedHashMap;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax... | fs.module.tem.businessobject;
import java.util.LinkedHashMap;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.kuali.kfs.coa.businessobject.Account;
import org.kuali.kfs.coa.businessobject.Chart;
import org.kuali.kfs.coa.businessobject.ObjectCode;
import or... | rice.core.api.mo.common.active.MutableInactivatable;
import org.kuali.rice.core.api.util.type.KualiDecimal;
import org.kuali.rice.krad.bo. |
ActorSpawnTask.java | /FileExtraction/Java_unseen/wode490390_ClassicVillagePopulator/src/main/java/cn/wode490390/nukkit/vipop/scheduler/ActorSpawnTask.java | package cn.wode490390.nukkit.vipop.scheduler;
import cn.nukkit.entity.Entity;
import cn.nukkit.level.Level;
import cn.nukkit.nbt.tag.CompoundTag;
import cn.nukkit.nbt.tag.DoubleTag;
import cn.nukkit.nbt.tag.ListTag;
import cn.nukkit.plugin.Plugin;
import cn.nukkit.scheduler.PluginTask;
import cn.wode490390.nukkit.vipo... | 1,023 | Java | .java | wode490390/ClassicVillagePopulator | 15 | 2 | 4 | 2020-06-06T06:32:25Z | 2021-08-02T11:02:14Z | 5575581e7302cfcddea1f9d0023c5e90da2e93fb67dc61ece20381399205ae72 | [] | [
1337,
13007,
51,
124,
421,
57,
62,
53,
56,
62,
53,
51,
115,
3434,
3788,
51,
33202,
539,
51,
13273,
64,
222,
222,
485,
13007,
51,
115,
3434,
3788,
51,
2244,
51,
2234,
64,
222,
485,
13007,
51,
115,
3434,
3788,
51,
2675,
51,
2671,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 325 | [
53,
56,
62,
53,
51,
115,
3434,
3788,
51,
33202,
539,
51,
13273,
64,
222,
222,
485,
13007,
51,
115,
3434,
3788,
51,
2244,
51,
2234,
64,
222,
485,
13007,
51,
115,
3434,
3788,
51,
2675,
51,
2671,
64,
222,
485,
13007,
51,
115,
3434,... | 2,957,443,950,120,990,700 | true | false | false | false | [
1175,
11587,
3215,
64,
303,
964,
1175,
42160,
2649,
329,
8057,
64,
465,
581,
22022,
16354,
2265,
45,
2671,
3215,
49,
42160,
2649,
329,
8057,
46,
320,
310,
2615,
45,
45685,
91,
26701,
4168,
51,
7432,
1052,
310,
477,
51,
2675,
299,
32... | 80,079,445,520,905,000 | true | 0390.nukkit.vipop.scheduler;
import cn.nukkit.entity.Entity;
import cn.nukkit.level.Level;
import cn.nukkit.nbt.tag.CompoundTag;
import cn.nukkit.nbt.tag.DoubleTag;
import cn.nukkit.nbt.tag.ListTag;
import cn.nukkit.plugin.Plugin;
import cn.nukkit.scheduler.PluginTask;
import cn.wode490390.nukkit.vipop.ClassicVillageP... | .CompoundTag;
import cn.nukkit.nbt.tag.DoubleTag;
import cn.nukkit.nbt.tag.ListTag;
import cn.nukkit.plugin.Plugin;
import cn.nukkit.scheduler.PluginTask;
import cn.wode490390.nukkit.vipop.ClassicVillagePlugin;
public class ActorSpawnTask extends PluginTask<Plugin> {
private final Level level;
private final C... | nukkit.scheduler.PluginTask;
import cn.wode490390.nukkit.vipop.ClassicVillagePlugin;
public class ActorSpawnTask extends PluginTask<Plugin> {
private final Level level;
private final CompoundTag nbt;
public ActorSpawnTask(Level level, CompoundTag nbt) {
super(ClassicVillagePlugin.getInstance());
... | final Level level;
private final CompoundTag nbt;
public ActorSpawnTask(Level level, CompoundTag nbt) {
super(ClassicVillagePlugin.getInstance());
this.level = level;
this.nbt = nbt;
}
@Override
public void onRun(int currentTick) {
ListTag<DoubleTag> pos = this.nbt... | .nbt.getString("id"),
this.level.getChunk((int) pos.get(0).data >> 4, (int) pos.get(2).data >> 4), this.nbt);
if (entity |
FermataDotInter.java | /FileExtraction/Java_unseen/Audiveris_audiveris/src/main/org/audiveris/omr/sig/inter/FermataDotInter.java | //------------------------------------------------------------------------------------------------//
// //
// F e r m a t a D o t I n t e r //
// ... | 3,030 | Java | .java | Audiveris/audiveris | 1,395 | 208 | 136 | 2016-09-07T13:31:03Z | 2024-04-18T17:20:23Z | 22c976290519be038591b54ad801a9e3632329cacd2217aa4ccde1a90efb1157 | [] | [
8486,
1125,
325,
222,
325,
3556,
11462,
453,
222,
325,
17871,
525,
503,
559,
364,
331,
292,
331,
493,
356,
292,
457,
329,
292,
503,
559,
1229,
453,
222,
325,
3556,
11462,
453,
222,
8486,
1125,
325,
222,
325,
350,
5739,
50,
8727,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 623 | [
27331,
64,
222,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
41079,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
9794,
638,
64,
222,
485,
3698,
51,
2608,
51,
2555,
51,
4341,
51,
4411,
4069,
1325,
64,
22... | -452,050,170,608,757,250 | true | false | false | false | [
1662,
1423,
303,
320,
303,
339,
465,
1041,
294,
338,
9308,
331,
556,
350,
707,
67,
75,
2830,
420,
10026,
1662,
396,
707,
67,
1319,
51,
294,
338,
294,
338,
496,
772,
22567,
13289,
22567,
294,
338,
496,
772,
26169,
11999,
804,
294,
... | 6,119,951,398,630,572,000 | true | Staff;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Class <code>FermataDotInter</code> represents a dot in a fermata symbol.
*
* @author Hervé Bitteur
*/
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement... | <code>FermataDotInter</code> represents a dot in a fermata symbol.
*
* @author Hervé Bitteur
*/
@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement(name = "fermata-dot")
public class FermataDotInter
extends AbstractInter
{
//~ Constructors ---------------------------------------------------------------... | (name = "fermata-dot")
public class FermataDotInter
extends AbstractInter
{
//~ Constructors -------------------------------------------------------------------------------
/**
* No-arg constructor meant for JAXB.
*/
private FermataDotInter ()
{
}
/**
* Creates a new <co... | Inter ()
{
}
/**
* Creates a new <code>FermataDotInter</code> object.
*
* @param glyph underlying glyph
* @param grade evaluation value
*/
public FermataDotInter (Glyph glyph,
Double grade)
{
super(glyph, null, Shape.FERMATA_DOT, grade);
... | @Override
public Staff getStaff ()
{
if (staff == null) {
// Use staff information of containing FermataInter ensemble
InterEnsemble ens = getEnsemble();
if (ens!= null) {
staff |
ProposedDeviceCellRenderer.java | /FileExtraction/Java_unseen/mnit-rtmc_iris/src/us/mn/state/dot/tms/client/incident/ProposedDeviceCellRenderer.java | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2016 Minnesota Department of Transportation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the L... | 2,763 | Java | .java | mnit-rtmc/iris | 40 | 17 | 26 | 2019-08-14T18:16:40Z | 2024-05-08T17:08:16Z | 9cc9a57421568817ddf7c6d8eebdc0c129d9f7333799f345bb8d28e7cceda2c8 | [] | [
1127,
222,
338,
14095,
1309,
790,
2871,
44433,
29007,
3094,
10422,
1189,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
59,
244,
7535,
13488,
5735,
24481,
451,
23597,
387,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 786 | [
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
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,
... | 6,748,375,240,235,851,000 | true | false | false | false | [
6470,
64,
222,
485,
3698,
51,
5934,
51,
79,
739,
64,
222,
485,
3698,
51,
5934,
51,
739,
2917,
6470,
64,
222,
485,
1790,
51,
8200,
51,
1311,
51,
4297,
51,
121,
893,
51,
3046,
64,
222,
485,
1790,
51,
8200,
51,
1311,
51,
4297,
51... | -6,620,353,949,531,620,000 | true |
*
* 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 will be us... | * (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.
*/
package us.mn.state.dot.tms.... | See the
* GNU General Public License for more details.
*/
package us.mn.state.dot.tms.client.incident;
import java.awt.Component;
import javax.swing.DefaultListCellRenderer;
import javax.swing.JList;
import javax.swing.ListCellRenderer;
import us.mn.state.dot.tms.Device;
import us.mn.state.dot.tms.DMS;
import us.m... | Renderer;
import javax.swing.JList;
import javax.swing.ListCellRenderer;
import us.mn.state.dot.tms.Device;
import us.mn.state.dot.tms.DMS;
import us.mn.state.dot.tms.LCSArray;
import us.mn.state.dot.tms.client.Session;
/**
* Proposed device cell renderer.
*
| * @author Douglas Lau
*/
public class ProposedDeviceCellRenderer implements ListCellRenderer<Device> {
/** List cell renderer */
private final DefaultListCellRenderer cell =
new DefaultListCellRenderer |
popframe005.java | /FileExtraction/Java_unseen/corretto_corretto-11/test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe005.java | /*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 11,467 | Java | .java | corretto/corretto-11 | 662 | 105 | 31 | 2019-02-11T20:13:52Z | 2024-05-09T07:01:40Z | f360bf9ff62156a7674f2705de29323424597e13907a8a5609abcd8b4591237a | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
56,
49,
244,
55,
53,
54,
61,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
503,
46,
320,
343,
1189,
51,
549,
51,
3962,
459,
9752,
666,
2480,
4742,
1763,
53,
53,
58,
4277,
742,
343,
1189,
51,
549,
51,
3962,
459,
1874,
51,
5261,
51,
1005,
1941,
494,
419,
1189,
51,
12712,
459,
1874,
51,
5261,
51,
1005,
29... | -7,572,968,715,798,118,000 | true | false | false | false | [
941,
1967,
1029,
45,
6129,
49,
986,
312,
303,
339,
465,
964,
648,
1441,
1029,
45,
671,
6194,
10022,
9232,
1880,
986,
46,
320,
310,
2210,
5449,
3287,
1197,
299,
556,
2210,
96,
55,
988,
603,
477,
51,
560,
299,
986,
64,
310,
456,
3... | 7,201,509,698,035,169,000 | true | e) {
System.err.println("Could not load popframe005 library");
System.err.println("java.library.path:" +
System.getProperty("java.library.path"));
throw e;
}
}
native static boolean doPopFrame(popFrameCls popFrameClsThr);
public static void main... | }
}
native static boolean doPopFrame(popFrameCls popFrameClsThr);
public static void main(String[] argv) {
argv = nsk.share.jvmti.JVMTITest.commonInit(argv);
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
}
public static int run(String argv[], PrintStream out) {
... | argv);
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
}
public static int run(String argv[], PrintStream out) {
return new popframe005().runIt(argv, out);
}
private int runIt(String argv[], PrintStream out) {
Object lockObj[] = new Object[2];
this.out = ... | ().runIt(argv, out);
}
private int runIt(String argv[], PrintStream out) {
Object lockObj[] = new Object[2];
this.out = out;
for (int i = 0; i < argv.length; i++) {
if (argv[i].equals("-v")) // verbose mode
DEBUG_MODE = true;
}
lockObj[0] = ... | new Object();
startGuarantee = new Wicket("startGuarantee", 1, (DEBUG_MODE? System.out : null));
finishGuarantee = new Wicket("finishGuarantee", 1, |
TextFileWriter.java | /FileExtraction/Java_unseen/JumpMind_metl/comp-file/src/main/java/org/jumpmind/metl/core/runtime/component/TextFileWriter.java | /**
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU General Public License, version 3.0 (GPLv3)
* (the "License"); yo... | 8,339 | Java | .java | JumpMind/metl | 202 | 82 | 213 | 2014-07-01T13:27:14Z | 2024-05-08T18:52:34Z | 08c6be51c93dabae38e0fb8c7f74c67aad5eca407889de6e117fa2aab74e6614 | [] | [
1350,
222,
338,
4773,
391,
35273,
82,
572,
6367,
1549,
1611,
575,
1851,
13890,
222,
338,
3553,
15153,
51,
244,
2819,
341,
15077,
822,
2744,
222,
338,
642,
477,
1409,
456,
5408,
2490,
12052,
222,
338,
5550,
13677,
51,
244,
35273,
82,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
1600,
51,
15193,
51,
45421,
64,
222,
222,
485,
1401,
51,
735,
51,
17640,
3989,
64,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
8783,
64,
222,
485,
1401,
51,
735,
51,
8783,
3989,
64,
222,
485,
1401,
51,
... | 2,135,363,269,916,191,200 | true | false | false | false | [
1105,
51,
16919,
24004,
51,
2580,
113,
51,
1284,
51,
4700,
51,
1193,
64,
222,
485,
1105,
51,
16919,
24004,
51,
2580,
113,
51,
1284,
51,
4700,
51,
1888,
51,
1309,
435,
1193,
3309,
64,
222,
485,
1105,
51,
16919,
24004,
51,
2580,
113... | -7,771,927,700,772,800,000 | true | lang.StringUtils.isNotBlank;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringEscapeUtils;
impor... |
import java.util.ArrayList;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringEscapeUtils;
import org.jumpmind.exception.IoException;
import org.jumpmind.metl.core.runtime.ContentMessage;
import org.jumpmind.metl.core.runtime.ControlMessage;
import org.jumpmind.metl.core.runtime.LogLevel;
imp... | org.jumpmind.metl.core.runtime.ContentMessage;
import org.jumpmind.metl.core.runtime.ControlMessage;
import org.jumpmind.metl.core.runtime.LogLevel;
import org.jumpmind.metl.core.runtime.Message;
import org.jumpmind.metl.core.runtime.flow.ISendMessageCallback;
import org.jumpmind.metl.core.runtime.resource.IDirectory;... | org.jumpmind.metl.core.runtime.Message;
import org.jumpmind.metl.core.runtime.flow.ISendMessageCallback;
import org.jumpmind.metl.core.runtime.resource.IDirectory;
import org.jumpmind.metl.core.runtime.resource.JMSJndiQueueDirectory;
import org.jumpmind.metl.core.runtime.resource.JMSJndiTopicDirectory; |
import org.jumpmind.properties.TypedProperties;
public class TextFileWriter extends AbstractFileWriter {
public final static String TYPE = "Text File Writer";
public final static String DEFAULT_ENCODING = "UTF-8";
public |
DeleteFileOnCloseInputStream.java | /FileExtraction/Java_unseen/TorrentEngine_TorrentEngine/src/torrentlib/util/DeleteFileOnCloseInputStream.java | /*
* Created on Feb 8, 2007
* Created by Paul Gardner
* Copyright (C) Azureus Software, Inc, All Rights Reserved.
*
* 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 ... | 2,731 | Java | .java | TorrentEngine/TorrentEngine | 24 | 9 | 0 | 2016-05-23T20:57:50Z | 2016-05-24T01:53:27Z | a217db363bf7e5899aa19ec268827e3df5c6538da8899f941bda2cc17bc2c02e | [] | [
1127,
222,
338,
6956,
563,
25136,
244,
61,
49,
244,
55,
53,
53,
60,
222,
338,
6956,
829,
30498,
590,
723,
1403,
222,
338,
2657,
327,
72,
46,
3391,
371,
3870,
49,
6367,
49,
3381,
12902,
11921,
51,
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,... | 878 | [
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
64,
434,
666,
49,
2886,
391,
341,
7834,
3870,
222,
338,
7120,
49,
6367,
4345,
244,
58,
62,
38849,
17693,
449,
25280,
244,
56,
56,
53,
49,
25006,
49,
1308... | -4,334,208,310,734,801,400 | true | false | false | false | [
221,
781,
64,
222,
221,
2072,
1922,
3177,
221,
10707,
64,
3038,
221,
2072,
1964,
3177,
221,
985,
64,
222,
221,
2072,
1964,
3177,
221,
1846,
64,
3038,
221,
942,
222,
221,
3422,
991,
1501,
4187,
6989,
45,
376,
221,
991,
221,
221,
10... | 4,523,453,995,363,844,000 | true | 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.
*
*/
package torrentlib.util;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.... | -1307, USA.
*
*/
package torrentlib.util;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import torrentlib.Debug;
public class
DeleteFileOnCloseInputStream
extends InputStream
{
private InputStream in;
private... | io.IOException;
import java.io.InputStream;
import torrentlib.Debug;
public class
DeleteFileOnCloseInputStream
extends InputStream
{
private InputStream in;
private File file;
private boolean closed;
private long pos;
private long mark;
public
DeleteFileOnCloseInputStream(
File _file )
... | file;
private boolean closed;
private long pos;
private long mark;
public
DeleteFileOnCloseInputStream(
File _file )
throws IOException
{
file = _file;
in = new BufferedInputStream( new FileInputStream( file ), 128*1024 );
}
public void
close()
| throws IOException
{
if ( closed ){
return;
}
closed = true;
try{
in.close();
}finally{
if (!file.delete()){
|
CropType.java | /FileExtraction/Java_unseen/GregTechCEu_gregicality-legacy/src/main/java/gregicadditions/integrations/mysticalagriculture/CropType.java | package gregicadditions.integrations.mysticalagriculture;
import com.blakebr0.cucumber.registry.ModRegistry;
import com.blakebr0.mysticalagradditions.MysticalAgradditions;
import crafttweaker.annotations.ModOnly;
import crafttweaker.annotations.ZenRegister;
import gregicadditions.Gregicality;
import gregicadditions.in... | 29,267 | Java | .java | GregTechCEu/gregicality-legacy | 42 | 58 | 4 | 2020-05-18T17:28:22Z | 2022-05-28T13:38:31Z | 2385093533f49bc7fffdab3ddf065e1fa2a1c3af787b3c3a3199dc7ac9a9fa78 | [] | [
1337,
504,
1604,
314,
688,
7628,
51,
37486,
51,
114,
757,
1599,
500,
3953,
8171,
64,
222,
222,
485,
785,
51,
1570,
1082,
858,
53,
51,
39857,
51,
8205,
51,
2590,
5389,
64,
222,
485,
785,
51,
1570,
1082,
858,
53,
51,
114,
757,
159... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
782,
3238,
365,
320,
603,
5508,
1363,
88,
51,
543,
45,
1523,
19033,
3892,
49,
556,
6337,
28998,
11483,
45,
72,
1030,
4259,
51,
390,
45,
1523,
19033,
3892,
490,
2770,
19033,
3892,
49,
244,
56,
894,
310,
5508,
1363,
88,
51,
543,
45,... | 2,825,579,054,673,622,000 | true | false | false | false | [
28998,
11483,
45,
72,
1030,
4259,
51,
390,
45,
71,
2828,
397,
490,
570,
2828,
397,
49,
244,
55,
894,
310,
5508,
1363,
88,
51,
543,
45,
71,
852,
113,
393,
397,
49,
556,
6337,
28998,
11483,
45,
72,
1030,
4259,
51,
390,
45,
71,
8... | 5,733,727,169,184,647,000 | true | void init() {
SEEDS.put(Aluminium, new ItemTierSeed(CROPS.get(Aluminium), Aluminium, 3));
SEEDS.put(Americium, new ItemTierSeed(CROPS.get(Americium), Americium, 7));
SEEDS.put(Antimony, new ItemTierSeed(CROPS.get(Antimony), Antimony, 2));
SEEDS.put(Arsenic, new ItemTierSeed(CROPS.get(A... | TierSeed(CROPS.get(Americium), Americium, 7));
SEEDS.put(Antimony, new ItemTierSeed(CROPS.get(Antimony), Antimony, 2));
SEEDS.put(Arsenic, new ItemTierSeed(CROPS.get(Arsenic), Arsenic, 2));
SEEDS.put(Barium, new ItemTierSeed(CROPS.get(Barium), Barium, 2));
SEEDS.put(Beryllium, new ItemTi... | 2));
SEEDS.put(Arsenic, new ItemTierSeed(CROPS.get(Arsenic), Arsenic, 2));
SEEDS.put(Barium, new ItemTierSeed(CROPS.get(Barium), Barium, 2));
SEEDS.put(Beryllium, new ItemTierSeed(CROPS.get(Beryllium), Beryllium, 2));
SEEDS.put(Bismuth, new ItemTierSeed(CROPS.get(Bismuth), Bismuth, 2));... | TierSeed(CROPS.get(Barium), Barium, 2));
SEEDS.put(Beryllium, new ItemTierSeed(CROPS.get(Beryllium), Beryllium, 2));
SEEDS.put(Bismuth, new ItemTierSeed(CROPS.get(Bismuth), Bismuth, 2));
SEEDS.put(Bor | on, new ItemTierSeed(CROPS.get(Boron), Boron, 1));
SEEDS.put(Caesium, new ItemTierSeed(CROPS.get(Caesium), Caesium, |
VariantBuilderTest.java | /FileExtraction/Java_unseen/hartwigmedical_hmftools/gripss/src/test/java/com/hartwig/hmftools/gripss/VariantBuilderTest.java | package com.hartwig.hmftools.gripss;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DEL;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DUP;
import static com.hartwig.hmftools.common.sv.StructuralVariantType... | 13,068 | Java | .java | hartwigmedical/hmftools | 176 | 53 | 13 | 2016-01-26T15:03:29Z | 2024-05-09T06:18:58Z | 8b8e09935fdca835d3a62e447dcd3d3d9321f26b34a009d074e01cce9604d868 | [] | [
1337,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
108,
4479,
441,
64,
222,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
2289,
51,
49023,
10827,
638,
51,
71,
9116,
64,
222,
485,
924,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
924,
36678,
51,
2863,
51,
7246,
51,
6553,
64,
222,
222,
485,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
2324,
51,
1180,
51,
1081,
1812,
64,
222,
485,
785,
51,
109,
521,
124,
384,
51,
109,
10... | 6,378,120,153,167,773,000 | true | false | false | false | [
521,
124,
384,
51,
109,
10599,
4303,
51,
108,
4479,
441,
51,
9252,
51,
2937,
22585,
64,
222,
222,
485,
1105,
51,
3946,
51,
1024,
64,
222,
222,
485,
13670,
120,
12461,
51,
7958,
51,
7958,
1834,
51,
10827,
1237,
64,
222,
222,
942,
... | 3,049,582,231,450,198,500 | true | ;
import static junit.framework.TestCase.assertTrue;
import com.hartwig.hmftools.common.utils.config.ConfigBuilder;
import com.hartwig.hmftools.common.region.ChrBaseRegion;
import com.hartwig.hmftools.common.variant.GenotypeIds;
import com.hartwig.hmftools.gripss.common.SvData;
import com.hartwig.hmftools.gripss.filte... | region.ChrBaseRegion;
import com.hartwig.hmftools.common.variant.GenotypeIds;
import com.hartwig.hmftools.gripss.common.SvData;
import com.hartwig.hmftools.gripss.filters.HotspotCache;
import com.hartwig.hmftools.gripss.filters.KnownHotspot;
import com.hartwig.hmftools.gripss.filters.TargetRegions;
import org.junit.Te... | import com.hartwig.hmftools.gripss.filters.HotspotCache;
import com.hartwig.hmftools.gripss.filters.KnownHotspot;
import com.hartwig.hmftools.gripss.filters.TargetRegions;
import org.junit.Test;
import htsjdk.variant.variantcontext.VariantContext;
public class VariantBuilderTest
{
private final HotspotCache mHot... | artwig.hmftools.gripss.filters.TargetRegions;
import org.junit.Test;
import htsjdk.variant.variantcontext.VariantContext;
public class VariantBuilderTest
{
private final HotspotCache mHotspotCache;
private final TargetRegions mTargetRegions;
private final VariantBuilder mBuilder;
private final VcfI... | ;
public VariantBuilderTest()
{
ConfigBuilder configBuilder = new ConfigBuilder();
GripssConfig.addConfig(configBuilder);
mHotspotCache = new HotspotCache(configBuilder);
mTargetRegions = |
ManGenerator.java | /FileExtraction/Java_unseen/dr-jts_jeql/modules/jeql/src/main/java/jeql/man/ManGenerator.java | package jeql.man;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import jeql.api.annotation.Metadata;
import jeql.engine.CommandInvoke... | 4,140 | Java | .java | dr-jts/jeql | 11 | 1 | 0 | 2013-04-20T05:08:33Z | 2019-03-04T22:39:23Z | 6b34d86ac7b1dcff66ac002a94532f66bbdd308cae3b52dc32aae25f10c399cf | [] | [
1337,
9612,
1383,
51,
1607,
64,
222,
222,
485,
1401,
51,
735,
51,
6860,
64,
222,
485,
1401,
51,
735,
51,
671,
3989,
64,
222,
485,
1401,
51,
735,
51,
3989,
64,
222,
485,
1401,
51,
1600,
51,
4341,
51,
7945,
64,
222,
485,
1401,
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 | [
320,
303,
7294,
51,
1838,
2466,
45,
2466,
5389,
51,
1285,
638,
45,
17834,
490,
655,
49,
4795,
1747,
51,
2328,
45,
17834,
894,
2205,
1727,
1197,
4380,
299,
41850,
51,
17745,
2439,
492,
303,
20144,
11338,
317,
13241,
299,
41850,
51,
1... | -5,318,023,691,048,083,000 | true | false | false | false | [
848,
320,
416,
910,
655,
299,
327,
671,
46,
613,
51,
1995,
492,
416,
5730,
26649,
11133,
284,
299,
2854,
51,
390,
2037,
45,
444,
312,
416,
7294,
51,
1838,
2037,
45,
444,
49,
4795,
1747,
51,
2328,
45,
5834,
14521,
51,
390,
2037,
... | -6,901,390,243,627,962,000 | true | {
writer.writeFunction(FunctionRegistry.resultType(meth), name, ManUtil.description(meth));
Class[] param = meth.getParameterTypes();
Annotation[][] panno = meth.getParameterAnnotations();
for (int i = 0; i < param.length; i++) {
String pname = ManUtil.name(panno[i]);
writer.write... | = 0; i < param.length; i++) {
String pname = ManUtil.name(panno[i]);
writer.writeFunctionParam(ClassUtil.classname(param[i]), pname);
}
writer.writeFunctionClose();
}
void writeCommands()
{
CommandRegistry reg = context.geCommandRegistry();
Collection cmdNames = reg.getCommandNames... | writeFunctionClose();
}
void writeCommands()
{
CommandRegistry reg = context.geCommandRegistry();
Collection cmdNames = reg.getCommandNames();
for (Iterator i = cmdNames.iterator(); i.hasNext(); ) {
String name = (String) i.next();
CommandInvoker invoker = reg.getCommand(name);
... | ) {
String name = (String) i.next();
CommandInvoker invoker = reg.getCommand(name);
writer.writeCommand(name, ManUtil.description(invoker.getCommandClass()));
writeParams(invoker);
}
}
void writeParams(CommandInvoker invoker)
{
Map params = CommandUtil.getParameters(invoker.get... | DEFAULT_METHOD_NAME)) {
//System.out.println(PARAM_INDENT + params.get(CommandInvoker.DEFAULT_METHOD_NAME));
CommandParamMethod param = (CommandParamMethod) params.get(CommandInvoker |
Feature.java | /FileExtraction/Java_unseen/applied-geodesy_jag3d/JAG3D/src/org/applied_geodesy/adjustment/geometry/Feature.java | /***********************************************************************
* Copyright by Michael Loesler, https://software.applied-geodesy.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the ... | 9,295 | Java | .java | applied-geodesy/jag3d | 52 | 17 | 0 | 2018-02-03T21:09:04Z | 2024-04-28T08:58:46Z | 5c7e2d091a9221ab9c97463e8999afbc574d164530c55646de4af24a4666f94e | [] | [
18200,
14525,
222,
47,
2657,
829,
29099,
4064,
326,
1202,
49,
1698,
574,
12300,
51,
34614,
50,
319,
421,
5824,
51,
1107,
280,
338,
222,
47,
44983,
338,
222,
47,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
290,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
51,
1058,
51,
1144,
51,
12690,
64,
222,
222,
485,
1105,
51,
34614,
100,
319,
421,
5824,
51,
13807,
488,
51,
10132,
51,
5616,
51,
5850,
3026,
64,
222,
485,
1105,
51,
34614,
100,
319,
421,
5824,
51,
13807,
488,
51,
10132,
51,
1513,
... | 6,286,843,688,023,141,000 | true | false | false | false | [
51,
9777,
51,
8695,
4293,
64,
222,
485,
15911,
51,
9777,
51,
739,
17089,
64,
222,
485,
15911,
51,
9777,
51,
11598,
739,
64,
222,
485,
15911,
51,
9777,
51,
33194,
51,
2365,
10636,
64,
222,
485,
1307,
51,
122,
947,
51,
6461,
119,
... | -178,965,622,741,409,150 | true | .util.function.Predicate;
import org.applied_geodesy.adjustment.geometry.parameter.UnknownParameter;
import org.applied_geodesy.adjustment.geometry.point.FeaturePoint;
import org.applied_geodesy.adjustment.geometry.point.Point;
import org.applied_geodesy.adjustment.geometry.restriction.Restriction;
import org.applied_... | org.applied_geodesy.adjustment.geometry.point.Point;
import org.applied_geodesy.adjustment.geometry.restriction.Restriction;
import org.applied_geodesy.util.ObservableUniqueList;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ReadOnlyObjectProperty;
import javafx.beans.property.ReadOnlyObje... | List;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ReadOnlyObjectProperty;
import javafx.beans.property.ReadOnlyObjectWrapper;
import javafx.beans.property.SimpleObjectProperty;
import javafx.collections.FXCollections;
import javafx.collections.ListChangeListener;
import javafx.collections... | .collections.FXCollections;
import javafx.collections.ListChangeListener;
import javafx.collections.ObservableList;
import javafx.collections.transformation.FilteredList;
import no.uib.cipr.matrix.MatrixSingularException;
import no.uib.cipr.matrix.NotConvergedException;
public abstract class Feature implements Iterabl... | <GeometricPrimitive> {
@Override
public void onChanged(Change<? extends GeometricPrimitive> change) {
if (unknownParameters == null)
return;
while (change.next()) {
|
AJAXActionCustomizer.java | /FileExtraction/Java_unseen/open-xchange_appsuite-middleware/com.openexchange.server/src/com/openexchange/ajax/requesthandler/AJAXActionCustomizer.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... | 2,443 | Java | .java | open-xchange/appsuite-middleware | 11 | 8 | 0 | 2018-11-16T10:18:56Z | 2022-11-14T14:03:46Z | 580e34448a51ce9eb629593415cd0d8aa3f2c84374ef7927487ca7df0fccae37 | [] | [
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,... | 603 | [
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,
1623,
2806,
641,
23760,
1549,
4... | 6,931,067,800,953,878,000 | true | false | false | false | [
12181,
396,
102,
67,
222,
338,
496,
2133,
350,
102,
995,
366,
16951,
63,
48966,
10596,
51,
8644,
2495,
69,
1693,
50,
125,
2357,
51,
527,
432,
1047,
290,
10596,
19181,
2495,
396,
102,
67,
222,
588,
222,
942,
2586,
43844,
1728,
36897,... | 699,276,086,226,661,200 | true | 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.ajax.requesthandler;
import com.openexchange.exception.OXException;
import com.openexchange.tools.session.Serve... | prohibited.
*
*/
package com.openexchange.ajax.requesthandler;
import com.openexchange.exception.OXException;
import com.openexchange.tools.session.ServerSession;
/**
* {@link AJAXActionCustomizer} - Customizes a specified request data and result pair.
*
* @author <a href="mailto:francisco.laguna@open-xchange.... |
* {@link AJAXActionCustomizer} - Customizes a specified request data and result pair.
*
* @author <a href="mailto:francisco.laguna@open-xchange.com">Francisco Laguna</a>
* @author <a href="mailto:thorben.betten@open-xchange.com">Thorben Betten</a>
*/
public interface AJAXActionCustomizer {
/**
* Invoked... | una</a>
* @author <a href="mailto:thorben.betten@open-xchange.com">Thorben Betten</a>
*/
public interface AJAXActionCustomizer {
/**
* Invoked prior to handling the request data with {@link AJAXActionService#perform(AJAXRequestData, ServerSession)}.
*
* @param requestData The request data
* @... | data which is then passed to {@link AJAXActionService#perform(AJAXRequestData, ServerSession)}
* @throws OXException If modifying the request data fails
*/
AJAXRequestData incoming(AJAXRequestData requestData, |
HandRangeOfMovementLiteVoAssembler.java | /FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace-archive/ValueObjects/src/ims/therapies/vo/domain/HandRangeOfMovementLiteVoAssembler.java | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | 20,746 | Java | .java | IMS-MAXIMS/openMAXIMS | 61 | 50 | 23 | 2014-06-12T12:04:02Z | 2020-07-31T09:34:49Z | 88d650a6930d962f2542628e3ed780038ef2f74af21740e45cc6a1f65fa953e9 | [] | [
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,
6812,
3216,
1436,
21245,
13662,
12536,
804,
976,
8564,
46,
4517,
320,
4107,
221,
344,
327,
1710,
630,
804,
976,
8564,
46,
4517,
221,
128,
374,
221,
620,
804,
976,
8564,
64,
376,
221,
130,
376,
221,
872,
976,
5088,
51,
489,
798... | -7,928,877,722,849,077,000 | true | false | false | false | [
8564,
51,
11641,
1823,
1599,
5883,
1052,
376,
221,
325,
20356,
30529,
6812,
376,
221,
872,
976,
5088,
51,
489,
47877,
6812,
45,
872,
976,
8564,
51,
390,
47877,
6812,
1052,
4107,
221,
620,
804,
976,
5088,
64,
376,
339,
46413,
221,
13... | 6,760,356,549,391,223,000 | true | .HandRangeOfMovementLiteVo valueObjectSrc)
{
if (null == valueObjectSrc)
{
return valueObjectSrc;
}
valueObjectDest.setID_HandRangeOfMovement(valueObjectSrc.getID_HandRangeOfMovement());
valueObjectDest.setIsRIE(valueObjectSrc.getIsRIE());
// AuthoringDateTime
valueObjectDest.setAuthoringDateTi... | valueObjectSrc.getID_HandRangeOfMovement());
valueObjectDest.setIsRIE(valueObjectSrc.getIsRIE());
// AuthoringDateTime
valueObjectDest.setAuthoringDateTime(valueObjectSrc.getAuthoringDateTime());
// AuthoringCP
valueObjectDest.setAuthoringCP(valueObjectSrc.getAuthoringCP());
// ClinicalContact
valueObj... | AuthoringDateTime());
// AuthoringCP
valueObjectDest.setAuthoringCP(valueObjectSrc.getAuthoringCP());
// ClinicalContact
valueObjectDest.setClinicalContact(valueObjectSrc.getClinicalContact());
// DominantHand
valueObjectDest.setDominantHand(valueObjectSrc.getDominantHand());
return valueObjectDest;
}
... | Src.getClinicalContact());
// DominantHand
valueObjectDest.setDominantHand(valueObjectSrc.getDominantHand());
return valueObjectDest;
}
/**
* Create the ValueObject collection to hold the set of DomainObjects.
* This is a convenience method only.
* It is intended to be used when one called to an Asse... | createHandRangeOfMovementLiteVoCollectionFromHandRangeOfMovement(DomainObjectMap, Set) should be used.
* @param domainObjectSet - Set of ims.therapies.hand.domain.objects.HandRangeOf |
ACFInterpreter.java | /FileExtraction/Java_unseen/blobcity_db/engine/src/main/java/com/blobcity/db/permissions/ACFInterpreter.java | /**
* Copyright (C) 2018 BlobCity 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 Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program ... | 9,406 | Java | .java | blobcity/db | 173 | 21 | 33 | 2018-09-01T08:59:25Z | 2024-03-14T09:02:13Z | 28e5f0183197b002787a5e3bf8d2a6ee808aba8401faec7fd7e1169fce621f1a | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
18125,
11134,
6367,
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,
30994,
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 | [
3961,
294,
338,
5402,
338,
496,
772,
5452,
63,
1168,
451,
1187,
727,
4243,
294,
338,
496,
5124,
11957,
1002,
5402,
588,
303,
964,
782,
3203,
768,
10967,
45,
739,
65,
671,
67,
5452,
46,
2589,
11957,
1002,
128,
310,
456,
45,
671,
16... | -3,308,260,873,580,433,000 | true | false | false | false | [
343,
434,
45,
2155,
51,
1340,
350,
244,
57,
46,
25495,
1440,
556,
11957,
1002,
45,
10724,
51,
1205,
75,
100,
30730,
100,
2946,
49,
332,
3828,
727,
6504,
2224,
456,
1646,
332,
494,
1646,
494,
11616,
13368,
8377,
244,
57,
13365,
6455,... | 346,673,689,355,725,760 | true | provided
*
* @param lines: list of all data permissions
* @throws OperationException
*/
private void parseDataPermissions(List<String> lines) throws OperationException{
for(String line: lines){
// remove extra spaces or null elements from the line for a better parsing
... | extra spaces or null elements from the line for a better parsing
// this will maintain the order of splits as well
List<String> els = new ArrayList<>(Arrays.asList(line.split(" ")));
els.removeAll(Collections.singleton(null));
els.removeAll(Collections.singleton(""));
... | singleton(null));
els.removeAll(Collections.singleton(""));
String[] params = (String[]) els.toArray( new String[els.size()] );
// minimum length is 3 for deny permission and 4 for allow permission
if(params.length < 4)
throw new OperationException(ErrorC... |
if(params.length < 4)
throw new OperationException(ErrorCode.ACF_PARSE_ERROR, "Invalid data permission format for line " + line + "(Minimum Parameters 4)");
// format is as following:
// user/group accessmode(allow/deny) permission(read/write/all) datale... | ().equals("deny")) )
throw new OperationException(ErrorCode.ACF_PARSE_ERROR, "Invalid accessmode for line " + line);
parseDataPermissionLine(params[0], params[1], params[2], params |
UserHistoryFragment.java | /FileExtraction/Java_unseen/LeshiyGS_shikimori/library/src/main/java/org/shikimori/library/features/profile/UserHistoryFragment.java | package org.shikimori.library.features.profile;
import android.os.Bundle;
import android.view.View;
import android.widget.Adapter;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import org.shikimori.library.R;
import org.shikimori.library.adapters.UserHistoryListAdapter;
import org.shikimori.l... | 3,441 | Java | .java | LeshiyGS/shikimori | 8 | 0 | 5 | 2015-03-28T16:59:13Z | 2016-12-29T08:12:35Z | c934c5fa37cfcf53be67913d191969dfe452b8b4cf7b9586eb7eefcf54990431 | [] | [
1337,
1105,
51,
635,
1567,
468,
15860,
51,
5261,
51,
5977,
51,
3975,
64,
222,
222,
485,
2616,
51,
519,
51,
4775,
64,
222,
485,
2616,
51,
1090,
51,
1089,
64,
222,
485,
2616,
51,
3872,
51,
4433,
64,
222,
485,
2616,
51,
3872,
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,... | 879 | [
103,
312,
310,
461,
17853,
64,
303,
339,
465,
496,
1806,
303,
581,
648,
640,
21540,
3188,
365,
320,
310,
461,
578,
51,
819,
51,
6503,
64,
303,
339,
465,
496,
1806,
303,
581,
782,
16456,
45,
4775,
19902,
46,
320,
310,
2615,
51,
2... | -8,526,737,770,494,963,000 | true | false | false | false | [
303,
339,
465,
453,
4314,
1506,
11527,
1168,
303,
581,
782,
2480,
768,
365,
320,
310,
434,
327,
390,
5315,
941,
30723,
365,
630,
762,
46,
343,
461,
64,
603,
640,
5315,
941,
30723,
941,
1683,
45,
983,
1046,
2432,
10142,
1551,
1413,
... | 4,768,329,046,305,931,000 | true | b);
return frag;
}
@Override
public int getActionBarTitle() {
return R.string.history;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setHasOptionsMenu(false);
}
@Override
public void onActivityCrea... | HasOptionsMenu(false);
}
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
showRefreshLoader();
loadData();
}
protected String url() {
return ShikiApi.getUrl(ShikiPath.HISTORY, getFC().getUserId());
... | ShikiApi.getUrl(ShikiPath.HISTORY, getFC().getUserId());
}
@Override
public void onStartRefresh() {
super.onStartRefresh();
getFC().getQuery().invalidateCache(url());
loadData();
}
// TODO create loader list
public void loadData() {
if (getFC().getQuery() == nu... |
}
// TODO create loader list
public void loadData() {
if (getFC().getQuery() == null)
return;
getFC().getQuery().init(url(), ShikiStatusResult.TYPE.ARRAY)
.addParam("limit", LIMIT)
.addParam("page", page)
.addParam("desc", "1")
... |
@Override
public void onQuerySuccess(ShikiStatusResult res) {
if(activity == null)
return;
stopRefresh();
prepareData(builder.getDataList(res.getResultArray(), ItemUserHistory.class |
BrandSplashData.java | /FileExtraction/Java_unseen/BiliRoamingX_BiliRoamingX/integrations/dummy/src/main/java/tv/danmaku/bili/ui/splash/brand/model/BrandSplashData.java | package tv.danmaku.bili.ui.splash.brand.model;
import androidx.annotation.Keep;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import kotlin.jvm.internal.Intrinsics;
import tv.danmaku.bili.ui.splash.common.search.QueryItem;
/* compiled from: BL */
@Keep
... | 5,503 | Java | .java | BiliRoamingX/BiliRoamingX | 894 | 29 | 1 | 2023-06-25T07:40:44Z | 2024-05-09T06:11:48Z | 0d23a5b614907ce81e5ef24f4e4ac7e9de69a0a07c1267fd6649f0c992e30f00 | [] | [
1337,
14996,
51,
17225,
12650,
122,
51,
103,
5711,
51,
1726,
51,
24864,
51,
10507,
51,
1184,
64,
222,
222,
485,
10484,
51,
4341,
51,
16635,
64,
222,
222,
485,
1105,
51,
15575,
51,
8839,
51,
4936,
64,
222,
485,
1105,
51,
15575,
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 | [
496,
6825,
1701,
65,
5981,
21083,
4325,
67,
1168,
49,
496,
6825,
1701,
65,
21083,
34844,
67,
1168,
55,
49,
496,
6825,
1701,
65,
2641,
963,
21083,
768,
67,
1168,
56,
49,
496,
6825,
1701,
65,
1643,
1114,
67,
1168,
57,
49,
648,
613,
... | -5,015,440,920,950,804,000 | true | false | false | false | [
1342,
45,
597,
51,
5286,
49,
20365,
34844,
768,
51,
5286,
46,
979,
477,
51,
999,
104,
22040,
630,
20365,
34844,
768,
51,
999,
104,
22040,
979,
44759,
35207,
51,
605,
1342,
45,
597,
51,
2276,
739,
49,
20365,
34844,
768,
51,
2276,
7... | -5,070,657,509,521,223,000 | true | @Nullable List<NormalBrandShow> list, @Nullable List<BrandSplash> list2, @Nullable List<PreloadBrandData> list3, @Nullable List<QueryItem> list4, int i, @Nullable String str2) {
return new BrandSplashData(j, str, z, list, list2, list3, list4, i, str2);
}
public boolean equals(@Nullable Object obj) {
... | ) {
return new BrandSplashData(j, str, z, list, list2, list3, list4, i, str2);
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof BrandSplashData) {
BrandSplashData brandSplashData = (BrandSplashData) obj;... | {
return true;
}
if (obj instanceof BrandSplashData) {
BrandSplashData brandSplashData = (BrandSplashData) obj;
return this.pullInterval == brandSplashData.pullInterval && Intrinsics.areEqual(this.rule, brandSplashData.rule) && this.forcibly == brandSplashData.forcib... | Equal(this.rule, brandSplashData.rule) && this.forcibly == brandSplashData.forcibly && Intrinsics.areEqual(this.showList, brandSplashData.showList) && Intrinsics.areEqual(this.brandList, brandSplashData.brandList) && Intrinsics.areEqual(this.preloadList, brandSplashData.preloadList) && Intrinsics.areEqual(this.queryLis... | List) && this.forceShowTimes == brandSplashData.forceShowTimes && Intrinsics.areEqual(this.forceShowHash, brandSplashData.forceShowHash);
}
return false;
}
@Nullable
public |
PluginResource.java | /FileExtraction/Java_unseen/obiba_opal/opal-ws/src/main/java/org/obiba/opal/web/plugins/PluginResource.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/>.
*... | 1,852 | Java | .java | obiba/opal | 28 | 22 | 130 | 2012-10-24T15:35:10Z | 2024-05-09T08:02:12Z | 7d7d461c668aaf995b10d4329f73f069f3728f3ac4d5b1c245b241aa9c9c9215 | [] | [
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,... | 477 | [
51,
1284,
51,
4703,
51,
15459,
1201,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
1857,
51,
1184,
51,
15459,
64,
222,
485,
1105,
51,
926,
32347,
51,
539,
298,
51,
1857,
51,
4270,
51,
1201,
4168,
2305,
64,
222,
485,
1105... | 5,267,715,569,436,058,000 | true | false | false | false | [
353,
964,
6700,
1237,
3039,
1237,
64,
736,
496,
10789,
353,
964,
34389,
1201,
10260,
1201,
64,
736,
496,
2804,
353,
581,
34389,
51,
4168,
7247,
640,
365,
320,
303,
461,
493,
10382,
51,
321,
7247,
45,
5573,
1201,
51,
390,
23309,
4168... | -5,547,036,815,577,070,000 | true | .core.cfg.PluginsService;
import org.obiba.opal.web.model.Plugins;
import org.obiba.opal.web.services.ServicePluginResource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Scope;
import org.springframewo... | factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import jakarta.ws.rs.*;
import jakarta.ws.rs.core.Response;
@Component
@Scope("request")
@Path("/plugin/{name}")
public class Plugi... | jakarta.ws.rs.core.Response;
@Component
@Scope("request")
@Path("/plugin/{name}")
public class PluginResource {
@PathParam("name")
private String name;
@Autowired
private ApplicationContext applicationContext;
@Autowired
private PluginsService pluginsService;
@GET
public Plugins.PluginDto get() {
... |
private ApplicationContext applicationContext;
@Autowired
private PluginsService pluginsService;
@GET
public Plugins.PluginDto get() {
return Dtos.asDto(pluginsService.getInstalledPlugin(name));
}
@DELETE
public Response uninstall() {
pluginsService.prepareUninstallPlugin(name);
return R... | );
return Response.noContent().build();
}
@Path("/service")
public ServicePluginResource service() {
ServicePluginResource resource = applicationContext.getBean(ServicePluginResource.class);
resource.setService(name |
NuggetEvaluationFilter.java | /FileExtraction/Java_unseen/TScottJ_OpenEphyra/src/info/ephyra/answerselection/filters/NuggetEvaluationFilter.java | package info.ephyra.answerselection.filters;
import info.ephyra.nlp.NETagger;
import info.ephyra.nlp.SnowballStemmer;
import info.ephyra.nlp.indices.FunctionWords;
import info.ephyra.search.Result;
import info.ephyra.trec.TRECNugget;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileRea... | 13,201 | Java | .java | TScottJ/OpenEphyra | 122 | 46 | 8 | 2014-05-08T09:20:22Z | 2019-08-08T18:14:07Z | 8e8fb7df066dc8806f1ff6afd10f5718aaef5ca2e0fbb3ff17dc2af5d0d50855 | [] | [
1337,
3116,
51,
106,
17321,
1709,
51,
10016,
8402,
51,
9252,
64,
222,
222,
485,
3116,
51,
106,
17321,
1709,
51,
26275,
51,
4782,
7076,
64,
222,
485,
3116,
51,
106,
17321,
1709,
51,
26275,
51,
35625,
11677,
44559,
2322,
64,
222,
485,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
7302,
628,
104,
1145,
884,
4102,
221,
597,
51,
2000,
625,
299,
1780,
798,
64,
376,
221,
597,
51,
115,
905,
19126,
299,
327,
597,
51,
2000,
625,
630,
762,
46,
1037,
556,
5068,
65,
89,
6770,
83,
905,
390,
6939,
518,
1849,
7119,
65... | -6,779,311,483,945,291,000 | true | false | false | false | [
37435,
350,
707,
67,
2365,
396,
707,
67,
458,
30787,
51,
376,
338,
4517,
338,
496,
772,
1074,
331,
350,
707,
67,
1413,
396,
707,
67,
1319,
376,
338,
496,
620,
341,
2454,
350,
707,
67,
1413,
396,
707,
67,
1319,
376,
588,
222,
221... | -6,753,894,822,756,079,000 | true | "_Concise";
this.targetId = targetID;
this.nuggets = (this.targetId == null)? new ArrayList<TRECNugget>() : ((ArrayList<TRECNugget>) nuggetsByTargetID.get(this.targetId).clone());
// instances.add(this);
instanceSet.put(this.fileNameMarker, this);
System.out.println("NuggetEvaluationFilter: instance create... | >) nuggetsByTargetID.get(this.targetId).clone());
// instances.add(this);
instanceSet.put(this.fileNameMarker, this);
System.out.println("NuggetEvaluationFilter: instance created, overall instances: " + instanceSet.size());
}
/**
* This method is not used. Instead, the method <code>apply(Result[])</code>
* ... | uggetEvaluationFilter: instance created, overall instances: " + instanceSet.size());
}
/**
* This method is not used. Instead, the method <code>apply(Result[])</code>
* from the superclass <code>Filter</code> is overwritten.
*
* @param result a <code>Result</code> object
* @return the same <code>Result</c... | superclass <code>Filter</code> is overwritten.
*
* @param result a <code>Result</code> object
* @return the same <code>Result</code> object
*/
public Result apply(Result result) {
return result;
}
/**
* Extracts NEs of particular types from the answer strings of the
* <code>Result</code> objects an... | for
* each extracted unique answer.
*
* @param results array of <code>Result</code> objects
* @return extended array of <code>Result</code> objects
*/
public Result[] apply(Result |
MaxspeedInfo.java | /FileExtraction/Java_unseen/SC-SGS_microtrafficsim/microtrafficsim-core/src/main/java/microtrafficsim/osm/parser/features/streets/info/MaxspeedInfo.java | package microtrafficsim.osm.parser.features.streets.info;
import microtrafficsim.osm.parser.ecs.components.traits.Reversible;
import microtrafficsim.osm.parser.features.streets.ReverseEquals;
import microtrafficsim.utils.hashing.FNVHashBuilder;
import microtrafficsim.utils.logging.EasyMarkableLogger;
import org.slf4j.... | 10,018 | Java | .java | SC-SGS/microtrafficsim | 12 | 5 | 10 | 2016-04-18T08:21:46Z | 2021-04-18T19:32:18Z | fbd28cb13f74d7307efbaa13f0ffc622b3579359d928b8b57ed21833e766f83a | [] | [
1337,
10314,
2704,
505,
1339,
468,
51,
27784,
51,
3936,
51,
5977,
51,
30231,
5284,
51,
1357,
64,
222,
222,
485,
10314,
2704,
505,
1339,
468,
51,
27784,
51,
3936,
51,
25520,
51,
3545,
51,
13466,
51,
454,
5257,
1497,
64,
222,
485,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
581,
1916,
7425,
64,
303,
581,
1916,
21942,
64,
465,
581,
7482,
7682,
1139,
45,
1832,
7425,
49,
1916,
21942,
46,
320,
310,
477,
51,
7563,
244,
299,
7425,
64,
310,
477,
51,
21902,
299,
21942,
64,
303,
339,
465,
581,
7482,
7682,
113... | 3,643,424,821,292,606,000 | true | false | false | false | [
630,
1623,
51,
7563,
419,
979,
477,
51,
21902,
630,
1623,
51,
21902,
64,
303,
339,
465,
496,
1806,
303,
581,
1922,
10170,
2273,
45,
976,
2847,
46,
320,
310,
434,
11014,
2085,
5118,
7482,
7682,
1139,
509,
461,
920,
64,
603,
7482,
7... | 4,039,709,477,807,830,500 | true | public float forward;
public float backward;
public MaxspeedInfo(float forward, float backward) {
this.forward = forward;
this.backward = backward;
}
public MaxspeedInfo(MaxspeedInfo other) {
this.forward = other.forward;
this.backward = other.backward;
}
@... | {
this.forward = other.forward;
this.backward = other.backward;
}
@Override
public int hashCode() {
return new FNVHashBuilder()
.add(forward)
.add(backward)
.getHash();
}
@Override
public boolean equals(Object obj) {
... | )
.getHash();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof MaxspeedInfo)) return false;
MaxspeedInfo other = (MaxspeedInfo) obj;
return this.forward == other.forward
&& this.backward == other.backward;
}
@Override
... | == other.forward
&& this.backward == other.backward;
}
@Override
public boolean reverseEquals(Object obj) {
if (!(obj instanceof MaxspeedInfo)) return false;
MaxspeedInfo other = (MaxspeedInfo) obj;
return this.forward == other.backward
&& this.back... | ;
}
private static Logger logger = new EasyMarkableLogger(MaxspeedInfo.class);
private static Pattern valuetype = Pattern.compile("^([0-9]+(?:\\.(?:[0-9])*)?)(?: |
MagicProjectile.java | /FileExtraction/Java_unseen/Stephcraft_Project-16x16/src/main/java/project_16x16/projectiles/MagicProjectile.java | package project_16x16.projectiles;
import java.util.ArrayList;
import processing.core.PApplet;
import processing.core.PImage;
import processing.core.PVector;
import project_16x16.SideScroller;
import project_16x16.Tileset;
import project_16x16.Utility;
import project_16x16.objects.CollidableObject;
import project_16x... | 3,434 | Java | .java | Stephcraft/Project-16x16 | 94 | 76 | 9 | 2018-11-24T16:52:33Z | 2023-10-02T17:09:31Z | e25312ecb0adf6aa41b058d53c98dd2d80e15842ca27c30196325fb5eae744a7 | [] | [
1337,
2091,
100,
54,
59,
125,
54,
59,
51,
2268,
6924,
64,
222,
222,
485,
1401,
51,
1058,
51,
7119,
64,
222,
222,
485,
8220,
51,
1284,
51,
85,
1306,
749,
64,
222,
485,
8220,
51,
1284,
51,
1182,
1457,
64,
222,
485,
8220,
51,
128... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
9453,
333,
46407,
64,
222,
485,
2091,
100,
54,
59,
125,
54,
59,
51,
5754,
51,
21596,
976,
64,
222,
485,
2091,
100,
54,
59,
125,
54,
59,
51,
20304,
1615,
51,
15038,
1615,
64,
222,
485,
2091,
100,
54,
59,
125,
54,
59,
51,
20304,... | 2,464,161,845,167,658,500 | true | false | false | false | [
5321,
100,
29593,
100,
3382,
299,
244,
61,
64,
499,
221,
2072,
924,
5068,
65,
1182,
1457,
67,
19605,
6614,
64,
222,
221,
2072,
31908,
1615,
40948,
64,
222,
221,
2072,
31908,
1615,
18124,
64,
499,
221,
942,
25839,
44421,
45,
7433,
42... | -1,896,533,930,254,480,400 | true | CollidableObject;
import project_16x16.objects.EditableObject;
import project_16x16.particleSystem.ParticleSystem;
import project_16x16.particleSystem.emissions.AreaEmission;
import project_16x16.particleSystem.events.ParticleAnimationController;
import project_16x16.particleSystem.events.ParticleNoLoopController;
impo... | s.AreaEmission;
import project_16x16.particleSystem.events.ParticleAnimationController;
import project_16x16.particleSystem.events.ParticleNoLoopController;
import project_16x16.scene.GameplayScene;
public class MagicProjectile extends ProjectileObject {
final int SCALE = 4;
final int PROJECTILE_SPEED = 10;
final ... | 6x16.scene.GameplayScene;
public class MagicProjectile extends ProjectileObject {
final int SCALE = 4;
final int PROJECTILE_SPEED = 10;
final int PROJECTILE_IDLE_SIZE = 8;
private static ArrayList<PImage> particleAnimation;
private ParticleSystem trail;
private ParticleSystem explode;
public MagicProjectile(... | ILE_IDLE_SIZE = 8;
private static ArrayList<PImage> particleAnimation;
private ParticleSystem trail;
private ParticleSystem explode;
public MagicProjectile(SideScroller sideScroller, GameplayScene gameplayScene, int x, int y, int dir) {
super(sideScroller, gameplayScene);
id = "MAGIC";
position = new PVect... | prevDirection = dir; // Used for tracking the prevDirection of the projectile
speed = PROJECTILE_SPEED;
width = PROJECTILE_IDLE_SIZE * SCALE;
height = PROJECTILE_IDLE_SIZE |
FirstFolioRawImageLoader.java | /FileExtraction/Java_unseen/tberg12_ocular/src/main/java/edu/berkeley/cs/nlp/ocular/data/FirstFolioRawImageLoader.java | package edu.berkeley.cs.nlp.ocular.data;
import java.io.File;
import java.io.FilenameFilter;
import java.util.Arrays;
import java.util.List;
import edu.berkeley.cs.nlp.ocular.image.ImageUtils;
import edu.berkeley.cs.nlp.ocular.image.ImageUtils.ConnectedComponentProcessor;
import edu.berkeley.cs.nlp.ocular.image.Image... | 3,934 | Java | .java | tberg12/ocular | 244 | 48 | 11 | 2015-06-26T00:53:44Z | 2018-07-27T19:33:46Z | ae7ba403c453a842f1972f471a0676a5a496a5ca395aab91a00655875279f577 | [] | [
1337,
15357,
51,
709,
37475,
51,
1766,
51,
26275,
51,
561,
1919,
51,
624,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
735,
51,
10246,
2365,
64,
222,
485,
1401,
51,
1058,
51,
9981,
64,
222,
485,
1401,
51,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
577,
894,
374,
221,
11883,
1735,
6872,
10641,
6805,
7481,
299,
556,
36055,
1735,
6872,
365,
320,
621,
221,
942,
782,
2183,
45,
2640,
11338,
13057,
49,
1701,
65,
429,
16420,
9485,
1735,
46,
320,
596,
221,
344,
327,
10099,
1735,
51,
9... | 5,129,266,153,811,328,000 | true | false | false | false | [
621,
221,
942,
782,
2183,
45,
2640,
11338,
13057,
49,
1701,
65,
429,
16420,
9485,
1735,
46,
320,
596,
221,
344,
327,
10099,
1735,
51,
911,
365,
350,
244,
55,
53,
1293,
9485,
1735,
51,
911,
365,
868,
244,
54,
53,
53,
53,
46,
320,... | -8,620,593,582,801,206,000 | true | Name));
ConnectedComponentProcessor ccprocBig = new ConnectedComponentProcessor() {
public void process(double[][] levels, List<int[]> connectedComponent) {
if (connectedComponent.size() > 1000) {
for (int[] pixel : connectedComponent) {
levels[pixel[0]][pixel[1]] = 255.0;
}
}
}
... | ) {
for (int[] pixel : connectedComponent) {
levels[pixel[0]][pixel[1]] = 255.0;
}
}
}
};
ImageUtils.processConnectedComponents(levels, 50.0, ccprocBig);
Binarizer.binarizeGlobal(binarizeThreshold, levels);
ConnectedComponentProcessor ccprocSmall = new ConnectedComponentProcessor... | .processConnectedComponents(levels, 50.0, ccprocBig);
Binarizer.binarizeGlobal(binarizeThreshold, levels);
ConnectedComponentProcessor ccprocSmall = new ConnectedComponentProcessor() {
public void process(double[][] levels, List<int[]> connectedComponent) {
if (connectedComponent.size() < 20 || connected... |
public void process(double[][] levels, List<int[]> connectedComponent) {
if (connectedComponent.size() < 20 || connectedComponent.size() > 1000) {
for (int[] pixel : connectedComponent) {
levels[pixel[0]][pixel[1]] = 255.0;
}
}
}
};
ImageUtils.processConnectedComponents(level... | 127.0, ccprocSmall);
int padHeight = 0;
double[][] topPadLevels = new double[levels.length][];
for (int i=0; i<levels.length |
GetAttributeSubIfcReinforcementDefinitionProperties.java | /FileExtraction/Java_unseen/opensourceBIM_bimql/BimQL/src/nl/wietmazairac/bimql/get/attribute/GetAttributeSubIfcReinforcementDefinitionProperties.java | package nl.wietmazairac.bimql.get.attribute;
/******************************************************************************
* Copyright (C) 2009-2017 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publish... | 3,878 | Java | .java | opensourceBIM/bimql | 35 | 13 | 4 | 2012-09-06T09:14:27Z | 2017-04-11T14:29:00Z | 5f2df587e42df1f1adbed90cb72a3e78a2f3abfccb2f4d29178d6d65e8803ecb | [] | [
1337,
19708,
51,
45987,
17616,
2017,
348,
51,
103,
468,
1383,
51,
390,
51,
4902,
64,
222,
222,
48063,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
62,
50,
55,
53,
54,
60,
244,
570,
2348,
1805,
51,
1107,
222,
338,
1676,
338,
1... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
2811,
104,
454,
285,
36593,
3385,
3303,
46,
1319,
566,
390,
454,
285,
36593,
5434,
12683,
941,
911,
492,
613,
2002,
320,
621,
221,
1285,
739,
51,
688,
7738,
2811,
104,
454,
285,
36593,
3385,
3303,
46,
1319,
566,
390,
454,
285,
36593... | 7,820,391,228,091,716,000 | true | false | false | false | [
434,
327,
819,
51,
3591,
459,
1667,
3385,
1436,
2152,
320,
374,
221,
325,
56,
10496,
374,
221,
999,
327,
429,
613,
299,
244,
53,
64,
613,
350,
1849,
2811,
104,
454,
285,
36593,
3385,
3303,
46,
1319,
566,
12712,
3385,
1436,
941,
91... | 3,437,741,834,016,352,000 | true | IfcReinforcementDefinitionProperties) object).getReinforcementSectionDefinitions().size(); i++) {
resultList.add(((IfcReinforcementDefinitionProperties) object).getReinforcementSectionDefinitions().get(i));
}
//1EList
}
else if (string.equals("DefinesType")) {
//3xxx
for (int i = 0; i < ((IfcReinfo... |
}
//1EList
}
else if (string.equals("DefinesType")) {
//3xxx
for (int i = 0; i < ((IfcReinforcementDefinitionProperties) object).getDefinesType().size(); i++) {
resultList.add(((IfcReinforcementDefinitionProperties) object).getDefinesType().get(i));
}
//2EList
}
else if (string.equals("... | object).getDefinesType().size(); i++) {
resultList.add(((IfcReinforcementDefinitionProperties) object).getDefinesType().get(i));
}
//2EList
}
else if (string.equals("PropertyDefinitionOf")) {
//3xxx
for (int i = 0; i < ((IfcReinforcementDefinitionProperties) object).getPropertyDefinitionOf().size(... | if (string.equals("PropertyDefinitionOf")) {
//3xxx
for (int i = 0; i < ((IfcReinforcementDefinitionProperties) object).getPropertyDefinitionOf().size(); i++) {
resultList.add(((IfcReinforcementDefinitionProperties) object).getPropertyDefinitionOf().get(i));
}
//2EList
}
else if (string.equals("Ha... | 3xxx
for (int i = 0; i < ((IfcReinforcementDefinitionProperties) object).getHasAssociations().size(); i++) {
resultList.add(((IfcReinforcementDefinitionProperties) object |
ConciseJarsigner.java | /FileExtraction/Java_unseen/SAP_SapMachine/test/jdk/sun/security/tools/jarsigner/ConciseJarsigner.java | /*
* Copyright (c) 2009, 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 ... | 11,260 | Java | .java | SAP/SapMachine | 487 | 90 | 10 | 2017-11-13T21:40:03Z | 2024-05-09T00:31:05Z | 669098582b8878e11fe433944dd9987b45cd69e9a6c8b61c0d56895add736bd4 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
62,
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 | [
341,
9850,
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... | -5,372,580,468,685,095,000 | true | false | false | false | [
10562,
244,
62,
57,
53,
59,
58,
15067,
222,
338,
575,
7739,
19955,
51,
11116,
51,
527,
434,
863,
1868,
5408,
2490,
575,
1178,
1364,
222,
338,
10034,
51,
222,
588,
222,
222,
1127,
222,
338,
496,
881,
222,
338,
496,
1468,
244,
59,
... | 7,416,451,633,841,965,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
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have rece... | included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle... |
* 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
* @bug 6802846 8172529 8227758 8260960
* @summary jarsigner needs enh... | CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6802846 8172529 8227758 8260960
* @summary jarsigner needs enhanced cert validation(options)
* @library /test/lib
* @run main | /timeout=240 ConciseJarsigner
*/
import jdk.test.lib.Asserts;
import jdk.test.lib.SecurityTools;
import jdk.test.lib.process.Output |
default#81398#99#198.java | /FileExtraction/Java_unseen/UCL-CREST_Siamese/references/bcb_chosen_clones/default#81398#99#198.java | public static void main(String[] args) {
if (args.length > 2) {
OUTPUTFILE = args[0];
MANIFESTFILE = args[1];
TESTSUITECLASS = args[2];
if (args.length > 3) {
ANDROID_MAKE_FILE = args[3];
}
} else {
System.out.pr... | 3,885 | Java | .java | UCL-CREST/Siamese | 34 | 22 | 6 | 2016-02-08T17:54:33Z | 2024-05-03T04:36:05Z | 607870715a4f4ae277b4fdb4d732d61a99f9c4366ffdbe2012e735d7c06f44b6 | [] | [
283,
581,
924,
782,
2594,
45,
671,
1197,
2194,
46,
320,
310,
434,
327,
1150,
51,
1340,
868,
244,
55,
46,
320,
343,
21428,
3555,
299,
2194,
96,
53,
988,
343,
33301,
45758,
3555,
299,
2194,
96,
54,
988,
343,
5904,
41193,
7428,
299,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 825 | [
2194,
96,
54,
988,
343,
5904,
41193,
7428,
299,
2194,
96,
55,
988,
343,
434,
327,
1150,
51,
1340,
868,
244,
56,
46,
320,
419,
3133,
21613,
100,
8292,
100,
3555,
299,
2194,
96,
56,
988,
343,
339,
310,
339,
832,
320,
343,
1189,
51... | -415,126,311,987,714,500 | true | false | false | false | [
34075,
45,
10662,
45758,
3555,
894,
310,
339,
2385,
327,
1002,
503,
46,
320,
343,
1189,
51,
549,
51,
3962,
459,
18510,
2177,
11608,
742,
343,
503,
51,
9428,
492,
343,
1189,
51,
4788,
45,
54,
312,
343,
2098,
310,
339,
310,
6840,
18... | -2,323,568,811,235,807,700 | true | args[1];
TESTSUITECLASS = args[2];
if (args.length > 3) {
ANDROID_MAKE_FILE = args[3];
}
} else {
System.out.println("usage: \n" + "\t... CollectAllTests <output-file> <manifest-file> <testsuite-class-name> <makefile-file>");
System.ex... | : \n" + "\t... CollectAllTests <output-file> <manifest-file> <testsuite-class-name> <makefile-file>");
System.exit(1);
}
if (ANDROID_MAKE_FILE.length() > 0) {
testType = getTestType(ANDROID_MAKE_FILE);
}
Document manifest = null;
try {
manifest... | _FILE.length() > 0) {
testType = getTestType(ANDROID_MAKE_FILE);
}
Document manifest = null;
try {
manifest = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new FileInputStream(MANIFESTFILE));
} catch (Exception e) {
System.err.println... | FileInputStream(MANIFESTFILE));
} catch (Exception e) {
System.err.println("cannot open manifest");
e.printStackTrace();
System.exit(1);
;
}
Element documentElement = manifest.getDocumentElement();
documentElement.getAttribute("package");
... | = getElementAttribute(documentElement, "instrumentation", "android:targetPackage");
Class<?> testClass = null;
try {
testClass = Class.forName(TESTSUITECLASS);
} catch (ClassNotFoundException e) {
System |
OverlayFrame.java | /FileExtraction/Java_unseen/zMario34_CoralOverlay/src/main/java/tech/zmario/coraloverlay/windows/OverlayFrame.java | package tech.zmario.coraloverlay.windows;
import tech.zmario.coraloverlay.CoralOverlay;
import tech.zmario.coraloverlay.enums.RankColor;
import tech.zmario.coraloverlay.manager.UserManager;
import tech.zmario.coraloverlay.threads.LogsReaderRunnable;
import tech.zmario.coraloverlay.utils.TextUtils;
import javax.swing.... | 8,498 | Java | .java | zMario34/CoralOverlay | 8 | 0 | 0 | 2024-02-11T20:45:46Z | 2024-02-15T20:34:28Z | 01c76a499ebe5a51571ca2da23c4a9fc462d0115acbe08b9c4a33e9814090604 | [] | [
1337,
7365,
51,
127,
3321,
735,
51,
2881,
298,
12720,
51,
5921,
64,
222,
222,
485,
7365,
51,
127,
3321,
735,
51,
2881,
298,
12720,
51,
8714,
298,
12277,
64,
222,
485,
7365,
51,
127,
3321,
735,
51,
2881,
298,
12720,
51,
20767,
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 | [
2186,
299,
3336,
2769,
51,
1194,
10379,
103,
67,
1816,
9706,
1323,
396,
103,
9603,
244,
53,
49,
244,
55,
53,
49,
244,
55,
54,
49,
5459,
51,
21256,
312,
310,
23731,
395,
1268,
2186,
299,
3336,
2769,
51,
1194,
10379,
103,
67,
2393,
... | 5,331,058,869,905,373,000 | true | false | false | false | [
55,
54,
49,
5459,
51,
21256,
312,
310,
23731,
39357,
2186,
299,
3336,
2769,
51,
1194,
10379,
103,
67,
7648,
88,
396,
103,
9603,
244,
53,
49,
244,
53,
49,
244,
55,
54,
49,
5459,
51,
21256,
312,
603,
14580,
3686,
51,
688,
45,
1440... | -3,045,593,211,663,229,400 | true | Label = TextUtils.label("<b>LIVELLO</b>", 0, 20, 21, Color.WHITE);
JLabel streakLabel = TextUtils.label("<b>STRK</b>", 0, 0, 21, Color.WHITE);
JLabel fkdrLabel = TextUtils.label("<b>FKDR</b>", 0, 0, 21, Color.WHITE);
JLabel wlrLabel = TextUtils.label("<b>WLR</b>", 0, 0, 21, Color.WHITE);
... | , 0, 21, Color.WHITE);
JLabel fkdrLabel = TextUtils.label("<b>FKDR</b>", 0, 0, 21, Color.WHITE);
JLabel wlrLabel = TextUtils.label("<b>WLR</b>", 0, 0, 21, Color.WHITE);
JLabel finals = TextUtils.label("<b>FNLS</b>", 0, 0, 21, Color.WHITE);
JLabel winsLabel = TextUtils.label("<b>WINS</b>"... | TextUtils.label("<b>WLR</b>", 0, 0, 21, Color.WHITE);
JLabel finals = TextUtils.label("<b>FNLS</b>", 0, 0, 21, Color.WHITE);
JLabel winsLabel = TextUtils.label("<b>WINS</b>", 0, 0, 21, Color.WHITE);
playersPanel.add(playersLabel);
tagPanel.add(tagLabel);
streakPanel.add(streakL... | 21, Color.WHITE);
JLabel winsLabel = TextUtils.label("<b>WINS</b>", 0, 0, 21, Color.WHITE);
playersPanel.add(playersLabel);
tagPanel.add(tagLabel);
streakPanel.add(streakLabel);
fkdrPanel.add(fkdrLabel);
wlrPanel.add(wlrLabel);
finalsPanel.add(finals);
| winsPanel.add(winsLabel);
add(iconLabel, playersPanel, tagPanel, streakPanel, fkdrPanel, wlrPanel, finalsPanel, winsPanel);
applyLayout(playersPanel, tagPanel, st |
ImportBosArchivePage.java | /FileExtraction/Java_unseen/bonitasoft_bonita-studio/bundles/plugins/org.bonitasoft.studio.importer.bos/src/org/bonitasoft/studio/importer/bos/wizard/ImportBosArchivePage.java | /**
* Copyright (C) 2021 BonitaSoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at yo... | 30,481 | Java | .java | bonitasoft/bonita-studio | 79 | 43 | 1 | 2013-07-12T08:06:21Z | 2024-05-06T13:07:47Z | d3411e692cd28285bdbd472c4ed5eb6ce58ecdb94ba0650bfb1cc2ad3987a269 | [] | [
1350,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
55,
54,
40329,
9756,
14993,
377,
51,
70,
51,
222,
338,
40329,
9756,
14993,
49,
244,
56,
55,
559,
359,
590,
695,
808,
535,
2961,
361,
449,
244,
56,
61,
53,
53,
53,
590,
1594,
926,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1105,
51,
4848,
23915,
22582,
51,
13086,
51,
2297,
51,
769,
51,
32052,
9756,
13300,
1353,
64,
222,
485,
1105,
51,
4848,
23915,
22582,
51,
13086,
51,
2297,
51,
6335,
51,
13182,
3231,
64,
222,
485,
1105,
51,
4848,
23915,
22582,
51,
13... | 6,567,554,889,506,195,000 | true | false | false | false | [
5696,
89,
9037,
5238,
64,
222,
485,
1105,
51,
4848,
23915,
22582,
51,
13086,
51,
2297,
51,
1726,
51,
12081,
51,
3414,
3131,
2362,
64,
222,
485,
1105,
51,
4848,
23915,
22582,
51,
13086,
51,
36079,
51,
18013,
51,
4543,
51,
7940,
3231,... | 2,763,489,597,711,828,000 | true | org.bonitasoft.studio.common.log.BonitaStudioLog;
import org.bonitasoft.studio.common.repository.FakeRepository;
import org.bonitasoft.studio.common.repository.ProjectIdValidator;
import org.bonitasoft.studio.common.repository.RepositoryAccessor;
import org.bonitasoft.studio.common.repository.core.BonitaProject;
impor... | ;
import org.bonitasoft.studio.common.repository.RepositoryAccessor;
import org.bonitasoft.studio.common.repository.core.BonitaProject;
import org.bonitasoft.studio.common.repository.core.maven.model.ProjectMetadata;
import org.bonitasoft.studio.common.repository.ui.validator.MavenIdValidator;
import org.bonitasoft.stu... | repository.core.maven.model.ProjectMetadata;
import org.bonitasoft.studio.common.repository.ui.validator.MavenIdValidator;
import org.bonitasoft.studio.common.ui.jface.SWTBotConstants;
import org.bonitasoft.studio.common.ui.widgets.CustomStackLayout;
import org.bonitasoft.studio.importer.bos.handler.SwitchRepositoryStr... | SWTBotConstants;
import org.bonitasoft.studio.common.ui.widgets.CustomStackLayout;
import org.bonitasoft.studio.importer.bos.handler.SwitchRepositoryStrategy;
import org.bonitasoft.studio.importer.bos.i18n.Messages;
import org.bonitasoft.studio.importer.bos.model.BosArchive;
import org.bonitasoft.studio.importer.bos. | model.ImportArchiveModel;
import org.bonitasoft.studio.importer.bos.operation.FetchRemoteBosArchiveOperation;
import org.bonitasoft.studio.importer.bos.operation.ImportConflictsChecker; |
MandatoAccreditamentoBulk.java | /FileExtraction/Java_unseen/consiglionazionaledellericerche_sigla-main/sigla-ejb/src/main/java/it/cnr/contab/doccont00/core/bulk/MandatoAccreditamentoBulk.java | /*
* Copyright (C) 2019 Consiglio Nazionale delle Ricerche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) ... | 9,046 | Java | .java | consiglionazionaledellericerche/sigla-main | 9 | 9 | 39 | 2019-11-14T13:02:13Z | 2024-05-06T08:35:24Z | d1cc8baefcac77acc26f63f441808e7d50bc5714c36e7461a9f1e7e4beb5baf5 | [] | [
1127,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
62,
244,
1356,
5037,
17870,
508,
1392,
304,
1572,
27959,
578,
15946,
1075,
222,
338,
222,
338,
281,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
338,
281,
6994,
30994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
281,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
281,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
233... | -7,659,891,606,551,398,000 | true | false | false | false | [
6599,
6087,
6791,
9805,
16723,
47515,
6599,
1852,
740,
15545,
116,
64,
222,
221,
942,
924,
1175,
910,
20381,
100,
82,
3362,
741,
84,
100,
1205,
32002,
799,
2229,
47272,
299,
332,
1205,
32002,
799,
2229,
47272,
6875,
10217,
87,
418,
40... | 3,727,865,455,587,993,000 | true |
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package it.cnr.contab.doccont00.core.bulk;
import java.util.*;
import it.cnr.contab.anagraf00... | org/licenses/>.
*/
package it.cnr.contab.doccont00.core.bulk;
import java.util.*;
import it.cnr.contab.anagraf00.core.bulk.*;
import it.cnr.jada.bulk.*;
public class MandatoAccreditamentoBulk extends MandatoBulk {
private boolean fl_imputazione_manuale;
private MandatoAccreditamentoBulk mandatoPerResiduo;
public ... | .bulk.*;
import it.cnr.jada.bulk.*;
public class MandatoAccreditamentoBulk extends MandatoBulk {
private boolean fl_imputazione_manuale;
private MandatoAccreditamentoBulk mandatoPerResiduo;
public static final String DS_MANDATO_ACCREDITAMENTO = "ACCREDITAMENTO DA CNR A CDS ";
protected BancaBulk banca = new Banca... | atoAccreditamentoBulk mandatoPerResiduo;
public static final String DS_MANDATO_ACCREDITAMENTO = "ACCREDITAMENTO DA CNR A CDS ";
protected BancaBulk banca = new BancaBulk();
protected Modalita_pagamentoBulk modalita_pagamento = new Modalita_pagamentoBulk();
protected List modalita_pagamentoOptions;
protected List... | Options;
protected String codice_cds;
protected java.util.Collection impegniSelezionatiColl = new java.util.LinkedList();
protected boolean impegniModificati = false;
|
TsumeSolverTest.java | /FileExtraction/Java_unseen/Tellmarch_playshogi/playshogi-library-shogi/src/test/java/com/playshogi/library/shogi/tsumesolver/TsumeSolverTest.java | package com.playshogi.library.shogi.tsumesolver;
import com.playshogi.library.shogi.models.formats.kif.KifFormat;
import com.playshogi.library.shogi.models.formats.sfen.SfenConverter;
import com.playshogi.library.shogi.models.formats.usf.UsfFormat;
import com.playshogi.library.shogi.models.moves.ShogiMove;
import com.... | 3,636 | Java | .java | Tellmarch/playshogi | 8 | 4 | 20 | 2016-02-27T16:02:26Z | 2024-05-05T11:59:38Z | 31bcf0c3194929dca31ee8136c331d5890fddbfe4296028de41d01a462b3077a | [] | [
1337,
785,
51,
1087,
635,
835,
110,
51,
5261,
51,
635,
835,
110,
51,
1448,
2097,
17118,
64,
222,
222,
485,
785,
51,
1087,
635,
835,
110,
51,
5261,
51,
635,
835,
110,
51,
3404,
51,
17207,
51,
112,
344,
51,
80,
344,
2222,
64,
22... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
636,
447,
76,
47,
62,
104,
49,
244,
62,
103,
62,
102,
49,
590,
47,
62,
103,
636,
447,
76,
47,
62,
104,
49,
244,
62,
103,
61,
102,
49,
590,
47,
61,
103,
3234,
411,
364,
1761,
8690,
51,
3127,
1052,
303,
339,
465,
496,
1024,
... | -7,502,292,217,263,079,000 | true | false | false | false | [
45,
1322,
318,
8690,
312,
310,
3803,
45,
54,
49,
364,
1761,
8690,
51,
911,
1052,
310,
3803,
459,
9542,
55,
103,
54,
103,
49,
244,
54,
102,
54,
103,
49,
244,
56,
103,
55,
103,
3234,
411,
364,
1761,
8690,
51,
3127,
1052,
303,
33... | -275,854,273,384,038,720 | true | ], [G*9c, 9b9a, G*9b], [G*9c, 9b8a, G*8b]]", matingLines.toString());
}
@Test
public void tsumeInThreeTwo() {
TsumeSolver tsumeSolver = new TsumeSolver();
List<List<ShogiMove>> matingLines = tsumeSolver.allMatingLines(SfenConverter.fromSFEN("7nl/6+RG1/8k/6Ngp/9/9/9/9/9 b r2b2g4s2n3l17p"), ... | tsumeInThreeTwo() {
TsumeSolver tsumeSolver = new TsumeSolver();
List<List<ShogiMove>> matingLines = tsumeSolver.allMatingLines(SfenConverter.fromSFEN("7nl/6+RG1/8k/6Ngp/9/9/9/9/9 b r2b2g4s2n3l17p"), 3);
System.out.println(matingLines);
assertEquals(1, matingLines.size());
asse... | ("7nl/6+RG1/8k/6Ngp/9/9/9/9/9 b r2b2g4s2n3l17p"), 3);
System.out.println(matingLines);
assertEquals(1, matingLines.size());
assertEquals("[[2b1b, 1a1b, 3b2b]]", matingLines.toString());
}
@Test
public void tsumeInThreeTwoDepth5() {
TsumeSolver tsumeSolver = new TsumeSolver()... | (matingLines);
assertEquals(1, matingLines.size());
assertEquals("[[2b1b, 1a1b, 3b2b]]", matingLines.toString());
}
@Test
public void tsumeInThreeTwoDepth5() {
TsumeSolver tsumeSolver = new TsumeSolver();
List<List<ShogiMove>> matingLines = tsumeSolver.allMatingLines(SfenCo... | .fromSFEN("7nl/6+RG1/8k/6Ngp/9/9/9/9/9 b r2b2g4s2n3l17p"), 5);
System |
IFeatureLocalizer.java | /FileExtraction/Java_unseen/magmaOffenburg_magmaRelease/base/agent/src/main/java/hso/autonomy/agent/model/worldmodel/localizer/IFeatureLocalizer.java | /* Copyright 2008 - 2021 Hochschule Offenburg
* For a list of authors see README.md
* This software of HSOAutonomy is released under GPL-3 License (see gpl.txt).
*/
package hso.autonomy.agent.model.worldmodel.localizer;
import hso.autonomy.agent.model.agentmodel.ISensor;
import hso.autonomy.util.geometry.IPose3D;
... | 2,596 | Java | .java | magmaOffenburg/magmaRelease | 26 | 9 | 0 | 2021-03-26T07:17:50Z | 2023-07-22T14:29:10Z | fa5ff90639d333de5cfdc9168bb5003c754c7cbb5175b361d45a081e29a32991 | [] | [
1127,
2657,
244,
55,
53,
53,
61,
449,
244,
55,
53,
55,
54,
16563,
399,
6387,
779,
7467,
291,
42513,
222,
338,
2643,
331,
1168,
451,
14656,
2337,
12789,
51,
973,
222,
338,
1369,
2951,
451,
696,
3644,
7590,
16451,
458,
12553,
1549,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 623 | [
12789,
51,
973,
222,
338,
1369,
2951,
451,
696,
3644,
7590,
16451,
458,
12553,
1549,
23508,
50,
56,
1196,
327,
2987,
504,
576,
51,
2787,
566,
222,
588,
222,
222,
1337,
439,
780,
51,
4872,
16451,
51,
4881,
51,
1184,
51,
5879,
1184,
... | 4,878,409,464,405,767,000 | true | false | false | false | [
222,
338,
222,
338,
496,
2133,
6678,
20322,
590,
6945,
284,
222,
588,
222,
942,
2586,
457,
4249,
3340,
2292,
320,
222,
221,
1350,
376,
338,
19814,
341,
3584,
1621,
451,
341,
2212,
2292,
51,
376,
338,
376,
338,
496,
620,
341,
1565,
... | -2,719,447,121,192,450,600 | true | README.md
* This software of HSOAutonomy is released under GPL-3 License (see gpl.txt).
*/
package hso.autonomy.agent.model.worldmodel.localizer;
import hso.autonomy.agent.model.agentmodel.ISensor;
import hso.autonomy.util.geometry.IPose3D;
import java.util.List;
import java.util.Map;
import org.apache.commons.mat... | hso.autonomy.agent.model.agentmodel.ISensor;
import hso.autonomy.util.geometry.IPose3D;
import java.util.List;
import java.util.Map;
import org.apache.commons.math3.geometry.euclidean.threed.Rotation;
/**
* Implementations are able to calculate the agent's position and orientation
* from the passed relative informa... | import org.apache.commons.math3.geometry.euclidean.threed.Rotation;
/**
* Implementations are able to calculate the agent's position and orientation
* from the passed relative information of point and line features.
*
* @author Stefan Glaser
*/
public interface IFeatureLocalizer {
/**
* Retrieve the internal s... |
*
* @author Stefan Glaser
*/
public interface IFeatureLocalizer {
/**
* Retrieve the internal state of the localizer.
*
* @return the current internal state of the localizer
*/
ILocalizationInfo getState();
/**
* Reset the internal state of the localizer.
*
* @param initialPoseEstimation - an esti... | , IPose3D initialPoseEstimation);
/**
* Predict the absolute pose estimation based on odometry information.
*
* @param odometry the odometry information
* @param orientationEstimation the estimation of the current orientation
|
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 | [
365,
303,
2589,
6300,
353,
320,
303,
634,
18908,
299,
556,
24976,
492,
353,
339,
736,
581,
27995,
521,
1880,
45,
2248,
1880,
458,
49,
910,
14601,
46,
303,
2589,
6300,
353,
320,
303,
477,
492,
465,
3238,
45,
316,
49,
14601,
312,
35... | 3,376,161,807,911,282,000 | true | false | false | false | [
3353,
19168,
341,
37769,
52,
14633,
14601,
51,
682,
588,
353,
581,
782,
3238,
45,
2248,
1880,
458,
49,
910,
3353,
19168,
46,
303,
2589,
6300,
353,
320,
303,
634,
316,
299,
458,
64,
2205,
634,
18908,
51,
3830,
492,
303,
634,
18908,
... | 9,130,845,811,970,934,000 | true | ()
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;
}
/**
*... | the default encoding.
*/
public String getEncoding()
{
return _defaultEncoding;
}
/**
* Sets the default encoding.
*/
public void setEncoding(String encoding)
{
_defaultEncoding = encoding;
}
/**
* Initialize the multipart stream with a given boundary. The boundary
* passed to... | ;
}
/**
* 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 the multipart/mime boundary.
*/
public void init(ReadStream is, String headerBoundary)
throws IOE... | headerBoundary the multipart/mime boundary.
*/
public void init(ReadStream is, String headerBoundary)
throws IOException
{
_is = is;
_boundary.clear();
_boundary.add("--");
_boundary.add(headerBoundary);
_boundaryBuffer = _boundary.getBuffer();
_boundaryLength = _boundary.getLe... | Buffer();
_peekOffset = 0;
_peekLength = 0;
_peek[_peekLength++] = (byte) '\n';
_isPartDone = false;
_isDone = false;
_is |
AppChildrenChangeListener.java | /FileExtraction/Java_unseen/JThink_SkyEye/skyeye-monitor/src/main/java/com/jthink/skyeye/monitor/listener/AppChildrenChangeListener.java | package com.jthink.skyeye.monitor.listener;
import com.jthink.skyeye.data.rabbitmq.service.RabbitmqService;
import com.jthink.skyeye.monitor.service.AppInfoService;
import com.jthink.skyeye.monitor.service.CacheService;
import com.jthink.skyeye.base.constant.Constants;
import com.jthink.skyeye.base.constant.LogCollect... | 6,662 | Java | .java | JThink/SkyEye | 859 | 400 | 4 | 2017-02-27T06:56:59Z | 2022-06-17T01:50:36Z | 6438b924fcc49c09d42195c4bdd28e9d24ff49c83d3c9f6ad6985e8985d36d93 | [] | [
1337,
785,
51,
111,
16454,
51,
14293,
14771,
51,
8243,
51,
9447,
64,
222,
222,
485,
785,
51,
111,
16454,
51,
14293,
14771,
51,
624,
51,
31952,
51,
2140,
51,
29941,
8741,
1201,
64,
222,
485,
785,
51,
111,
16454,
51,
14293,
14771,
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 | [
1201,
51,
688,
45,
2067,
49,
1142,
49,
14072,
51,
37151,
100,
9183,
100,
2333,
100,
7426,
1692,
22265,
744,
49,
477,
51,
1299,
1353,
2272,
1551,
45,
745,
49,
3421,
894,
419,
339,
419,
477,
51,
745,
1139,
1201,
51,
688,
45,
2067,
... | 7,493,812,246,876,100,000 | true | false | false | false | [
3116,
299,
477,
51,
1848,
4104,
45,
1563,
1747,
51,
1664,
45,
909,
2833,
45,
1615,
51,
17217,
6198,
2833,
1747,
51,
18091,
2842,
2936,
13009,
2842,
1725,
490,
1142,
49,
733,
477,
51,
42881,
45,
1271,
490,
19662,
96,
54,
636,
14072,
... | -8,989,730,866,549,823,000 | true | Service.add(host, app, Constants.ZK_NODE_TYPE_EPHEMERAL, this.calLogCollectionStatus(app, host));
}
this.appInfoService.add(host, app, Constants.ZK_NODE_TYPE_PERSISTENT, LogCollectionStatus.HISTORY);
break;
case CHILD_REMOVED:
node = event.getD... | _NODE_TYPE_PERSISTENT, LogCollectionStatus.HISTORY);
break;
case CHILD_REMOVED:
node = event.getData().getPath();
app = this.getApp(node);
host = this.getHost(node);
datas = this.zkClient.readData(Constants.ROOT_PATH_PERSISTENT ... | (node);
datas = this.zkClient.readData(Constants.ROOT_PATH_PERSISTENT + Constants.SLASH + app + Constants.SLASH + host).toString().split(Constants.SEMICOLON);
info = this.buildMsg(DateUtil.format(new Date(System.currentTimeMillis()), DateUtil.YYYYMMDDHHMMSS), app,
... | info = this.buildMsg(DateUtil.format(new Date(System.currentTimeMillis()), DateUtil.YYYYMMDDHHMMSS), app,
this.getHost(node), datas[1], Constants.APP_STOP);
// add to the queue
this.rabbitmqService.sendMessage(info, datas[0]);
LOGGER.info(info);
... |
this.appInfoService.delete(host, app, Constants.ZK_NODE_TYPE_EPHEMERAL);
}
break;
case CHILD_UPDATED:
node = event.getData().getPath();
datas = |
MMStandardClassifier.java | /FileExtraction/Java_unseen/ModelioOpenSource_Modelio/modelio/plugdule/modelermodule/src/org/modelio/module/modelermodule/api/default_/standard/classifier/MMStandardClassifier.java | /*
* Copyright 2013-2020 Modeliosoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 6,367 | Java | .java | ModelioOpenSource/Modelio | 625 | 113 | 52 | 2020-09-03T09:57:05Z | 2024-02-06T09:52:44Z | 449eeb74a2af02b8405244d38c8d63e336fd554ed9ed225c19508c2f76a82eec | [] | [
1127,
1676,
338,
2657,
244,
55,
53,
54,
56,
50,
55,
53,
55,
53,
10750,
393,
18069,
726,
222,
338,
1676,
338,
4773,
1549,
341,
3954,
1196,
49,
3050,
244,
55,
51,
53,
327,
1402,
332,
3801,
742,
222,
338,
863,
1648,
666,
813,
477,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 | [
6515,
51,
1130,
110,
51,
82,
976,
64,
222,
222,
1350,
222,
338,
15628,
462,
391,
2902,
331,
3105,
1222,
1727,
1914,
130,
3294,
32119,
51,
222,
338,
350,
117,
67,
3250,
63,
222,
338,
350,
858,
14862,
110,
67,
2842,
8109,
16077,
396... | -8,241,011,464,073,648,000 | true | false | false | false | [
465,
1041,
294,
338,
906,
13289,
3105,
1222,
1727,
1914,
130,
17760,
829,
477,
7671,
49,
7162,
762,
51,
294,
588,
303,
496,
2085,
333,
2903,
61,
1247,
53,
106,
59,
62,
103,
50,
104,
56,
54,
54,
50,
57,
54,
55,
59,
50,
62,
58,
... | 8,244,086,811,751,855,000 | true | kernel.mapi.MObject;
/**
* Proxy class to handle a {@link Classifier} metaclass.
* <p>Description:
* <br/><i>MMStandardClassifier</i></p>
*/
@objid ("181e65e2-2003-426a-88d1-ffec1d011e64")
public class MMStandardClassifier {
@objid ("3e0d54c2-c095-4ebd-a7a2-15739d2bee7e")
public static final String PERSIST... |
@objid ("181e65e2-2003-426a-88d1-ffec1d011e64")
public class MMStandardClassifier {
@objid ("3e0d54c2-c095-4ebd-a7a2-15739d2bee7e")
public static final String PERSISTENCE_TAGTYPE = "persistence";
/**
* The underlying {@link Classifier} represented by this proxy, never null.
*/
@objid ("8fe0e... | id ("3e0d54c2-c095-4ebd-a7a2-15739d2bee7e")
public static final String PERSISTENCE_TAGTYPE = "persistence";
/**
* The underlying {@link Classifier} represented by this proxy, never null.
*/
@objid ("8fe0e69b-c311-4126-9594-02239c115eef")
protected final Classifier elt;
/**
* Tells w... |
/**
* The underlying {@link Classifier} represented by this proxy, never null.
*/
@objid ("8fe0e69b-c311-4126-9594-02239c115eef")
protected final Classifier elt;
/**
* Tells whether a {@link MMStandardClassifier proxy} can be instantiated from a {@link MObject} checking it is a {@link ... | }.
* <p>
* The method returns <code>false</code> if the instantiation cannot be carried out.
* @param elt a model object
* @return <code>true</code> if the instantiation can be |
filter003.java | /FileExtraction/Java_unseen/itsaky_openjdk-21-android/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassPrepareRequest/addClassExclusionFilter/filter003.java | /*
* Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 15,015 | Java | .java | itsaky/openjdk-21-android | 9 | 5 | 0 | 2023-09-16T11:36:19Z | 2024-02-11T04:34:15Z | ce0c984be8de1d8266943cced6967ccac14057a91be1ea21e6ed779643e7c593 | [] | [
1127,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
53,
54,
49,
244,
55,
53,
55,
56,
49,
17980,
480,
52,
290,
2840,
25094,
51,
3381,
4760,
5225,
51,
222,
338,
4103,
2387,
23740,
1895,
35234,
8995,
2387,
11988,
1895,
8968,
10961,
3044... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1167,
49,
580,
7437,
341,
1343,
456,
4598,
41067,
1200,
280,
350,
4768,
67,
222,
338,
1727,
19155,
1167,
642,
377,
2062,
20518,
100,
8062,
100,
13696,
49,
20787,
120,
341,
8558,
49,
282,
350,
4768,
67,
222,
338,
480,
38587,
456,
341... | 1,471,995,918,494,262,300 | true | false | false | false | [
341,
2434,
51,
442,
350,
4768,
67,
222,
338,
449,
906,
25856,
39223,
350,
4768,
67,
222,
338,
280,
449,
9602,
619,
1727,
19155,
1123,
480,
19840,
580,
49,
10450,
350,
4768,
67,
222,
338,
280,
449,
48028,
341,
1431,
1035,
1359,
589,
... | -776,420,772,995,214,800 | true | Event, it makes the request for debuggee's <BR>
* ClassPrepareEvent with SUSPEND_EVENT_THREAD, resumes the VM, <BR>
* and waits for the event within the predefined time interval. <BR>
* If no the ClassPrepareEvent received, the test is FAILED. <BR>
* Upon getting the ClassPrepareEvent, ... | <BR>
* If no the ClassPrepareEvent received, the test is FAILED. <BR>
* Upon getting the ClassPrepareEvent, <BR>
* the debugger sets up the breakpoint with SUSPEND_EVENT_THREAD <BR>
* within debuggee's special methodForCommunication(). <BR... | EVENT_THREAD <BR>
* within debuggee's special methodForCommunication(). <BR>
* <BR>
* In second phase to check the assertion, <BR>
* the debugger and the debuggee perform the following. <BR>
* - The debugger ... | the following. <BR>
* - The debugger <BR>
* - creates an ClassPrepareRequest and enables it, <BR>
* - invokes the method addClassExclusionFilter() on the request <BR>
* expecting to catch InvalidReq... | <BR>
* - deletes the request and invokes the method addClassExclusionFilter() <BR>
* once again expecting to catch InvalidRequestStateException. <BR>
* <BR>
* In third phase |
ApplicationResolver.java | /FileExtraction/Java_unseen/liimaorg_liima/AMW_business/src/main/java/ch/puzzle/itc/mobiliar/business/generator/control/extracted/templates/ApplicationResolver.java | /*
* AMW - Automated Middleware allows you to manage the configurations of
* your Java EE applications on an unlimited number of different environments
* with various versions, including the automated deployment of those apps.
* Copyright (C) 2013-2016 by Puzzle ITC
*
* This program is free software: you can redi... | 5,101 | Java | .java | liimaorg/liima | 27 | 8 | 35 | 2016-09-12T16:57:37Z | 2024-05-02T15:55:49Z | 93b52e098cb8adf6d4e5d32d27b265c2164026c83c4ce9f055068bab268428de | [] | [
1127,
222,
338,
8117,
92,
449,
13515,
751,
41164,
6990,
863,
391,
11857,
341,
18356,
451,
222,
338,
1390,
4957,
18412,
9275,
563,
619,
725,
17631,
1470,
451,
3473,
20319,
222,
338,
642,
10329,
7058,
49,
6252,
341,
24297,
10964,
451,
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 | [
365,
868,
244,
54,
46,
320,
374,
221,
671,
3961,
25178,
299,
640,
29515,
25178,
12350,
4128,
492,
2556,
221,
5267,
556,
13383,
45,
3157,
494,
332,
458,
3961,
829,
4632,
1623,
6091,
1941,
494,
3961,
25178,
312,
376,
221,
130,
376,
22... | 8,673,531,190,714,633,000 | true | false | false | false | [
312,
376,
221,
130,
376,
221,
620,
6127,
51,
3127,
492,
222,
221,
130,
499,
221,
942,
6297,
2234,
640,
2743,
365,
320,
376,
221,
620,
3039,
64,
222,
221,
130,
499,
221,
942,
6297,
2234,
640,
2743,
2077,
365,
320,
376,
221,
620,
... | -1,073,024,723,117,789,300 | true | () > 1) {
String providedSlave = getProvidedSlaveRelationNames();
throw new RuntimeException(resource + " is provided by multiple other resources:" + providedSlave);
}
if (providedSlaveRelationsForRelease.size() == 1) {
resolveApplication();
resolveApplicationServer();
if (application == null) {
... | .size() == 1) {
resolveApplication();
resolveApplicationServer();
if (application == null) {
throw new RuntimeException("application missing");
}
return true;
}
return false;
}
private String getProvidedSlaveRelationNames() {
StringBuffer sb = new StringBuffer();
for (ProvidedResourceRelat... | return false;
}
private String getProvidedSlaveRelationNames() {
StringBuffer sb = new StringBuffer();
for (ProvidedResourceRelationEntity relation : resource.getProvidedSlaveRelations()) {
sb.append(relation);
}
return sb.toString();
}
public ResourceEntity getApplication() {
return application;
}
... | );
}
return sb.toString();
}
public ResourceEntity getApplication() {
return application;
}
public ResourceEntity getApplicationServer() {
return applicationServer;
}
private void resolveApplication() {
application = findResourceEntityForRelease(resource, resource.getMasterResourcesOfProvidedSlaveRe... | ResourceEntity> resources) {
Set<ResourceGroupEntity> result = new HashSet<ResourceGroupEntity>();
for (ResourceEntity r : resources) {
result.add(r.getResourceGroup());
}
if ( |
DNSResolver.java | /FileExtraction/Java_unseen/tigase_jaxmpp/jaxmpp-j2se/src/main/java/tigase/jaxmpp/j2se/DNSResolver.java | /*
* DNSResolver.java
*
* Tigase XMPP Client Library
* Copyright (C) 2004-2018 "Tigase, Inc." <office@tigase.com>
*
* 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 ... | 2,406 | Java | .java | tigase/jaxmpp | 30 | 7 | 5 | 2019-04-26T09:03:09Z | 2023-06-27T21:28:10Z | f6c6401d428d455de89298a39708431c55b32b6675a4026a42d4b8c5b5b437d1 | [] | [
1127,
222,
338,
13569,
7266,
51,
1874,
222,
338,
222,
338,
413,
384,
479,
1618,
1471,
85,
5680,
13395,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
53,
57,
50,
55,
53,
54,
61,
332,
89,
384,
479,
49,
6367,
3128,
350,
12792,
69,
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,... | 724 | [
46,
244,
55,
53,
53,
57,
50,
55,
53,
54,
61,
332,
89,
384,
479,
49,
6367,
3128,
350,
12792,
69,
38679,
479,
51,
527,
67,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
63,
863,
902,
14081,
580,
480,
52,
290,
5370,
222,
338,
... | -620,140,438,133,290,900 | true | false | false | false | [
1948,
451,
341,
6994,
30994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
12641,
456,
39543,
822,
347,
341,
2687,
4865,
51,
222,
338,
1691,
666,
49,
2337,
1930,
574,
1516,
51,
10627,
51,
1107,
52,
4205,
4735,
222,
588,
222,... | 3,787,946,188,614,038,500 | true | ) 2004-2018 "Tigase, Inc." <office@tigase.com>
*
* 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 ... | of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY... | will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. Look for C... | copy of the GNU Affero General Public License
* along with this program. Look for COPYING file in the top folder.
* If not, see http://www.gnu.org/licenses/.
*/
package tigase.jaxmpp.j2se;
import tigase.jaxmpp.j2se.connectors.socket.SocketConnector.Entry;
import javax.naming.NamingException;
import javax.naming.d... | javax.naming.directory.Attributes;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;
import java.util.ArrayList;
import java.util.Hashtable;
import java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.