content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.883077 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.888143 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.817409 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.943398 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.950505 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.923541 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.949364 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollograp... | __label__POS | 0.811208 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.St... | __label__POS | 0.887012 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.St... | __label__POS | 0.950042 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollograp... | __label__POS | 0.814079 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollograp... | __label__POS | 0.812739 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.St... | __label__POS | 0.885849 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollograp... | __label__POS | 0.814613 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_defer_and_include_directives.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.St... | __label__POS | 0.931524 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.target_name;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
impo... | __label__POS | 0.925592 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.target_name.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarni... | __label__POS | 0.936102 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.deprecated_merged_field;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAd... | __label__POS | 0.852514 |
#include <map>
#include <cstdlib>
#include <glib-object.h>
#include <json-glib/json-glib.h>
#include "Helpers.h"
#include "V1.TimeseriesPeriod.h"
using namespace std;
using namespace Tizen::ArtikCloud;
V1.TimeseriesPeriod::V1.TimeseriesPeriod()
{
//__init();
}
V1.TimeseriesPeriod::~V1.TimeseriesPeriod()
{
//__cl... | __label__POS | 0.678314 |
#include <iostream>
#include <sstream>
#include <cstdlib>
#include <map>
#include <list>
#include <cstring>
#include "Helpers.h"
#include "Object.h"
using namespace std;
using namespace Tizen::ArtikCloud;
void helper_func(JsonObject *object, const gchar* member_name, JsonNode *member_node,gpointer user_data)
{
gcha... | __label__POS | 0.781922 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.deprecated_merged_field.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custo... | __label__POS | 0.831318 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.deprecated_merged_field.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Deprecated;
import java.lang.Object;
import java.lang.Override;
import jav... | __label__POS | 0.966015 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.reserved_keywords;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters... | __label__POS | 0.950295 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragment_inside_inline_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.93196 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http.post;
import com.apollocurrency.aplwallet.apl.core.http.APITag;
import com.apollocurrency.aplwallet.apl.core.http.AbstractAPIRequestHandler;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdaterCore;
import co... | __label__POS | 0.867525 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http.post;
import com.apollocurrency.aplwallet.apl.core.http.APITag;
import com.apollocurrency.aplwallet.apl.core.http.AbstractAPIRequestHandler;
import com.apollocurrency.aplwallet.apl.core.http.JSONResponses;
import com.... | __label__POS | 0.711664 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_oneof;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapter... | __label__POS | 0.944529 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_oneof.type;
import com.apollographql.apollo.api.Assertions;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
... | __label__POS | 0.799396 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_oneof.type;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
public class FindUserByFriendInpu... | __label__POS | 0.962857 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_oneof.type;
import com.apollographql.apollo.api.Assertions;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
... | __label__POS | 0.91476 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.not_all_combinations_are_needed;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custom... | __label__POS | 0.957634 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.not_all_combinations_are_needed.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
publi... | __label__POS | 0.968138 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.not_all_combinations_are_needed.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.a... | __label__POS | 0.813617 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http.post;
import com.apollocurrency.aplwallet.apl.core.http.APITag;
import com.apollocurrency.aplwallet.apl.core.http.AbstractAPIRequestHandler;
import com.apollocurrency.aplwallet.apl.core.http.HttpParameterParserUtil;
i... | __label__POS | 0.63577 |
package org.apollo.cache;
import com.google.common.base.Preconditions;
import org.apollo.cache.archive.Archive;
import java.io.Closeable;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.nio.file.Path... | __label__POS | 0.644378 |
package org.apollo.cache.archive;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apollo.util.BufferUtil;
import org.apollo.util.CompressionUtil;
/**
* Represents an archive.
*
* @author Graham
*/
public final class Archive {
/**
* Decodes the archive ... | __label__POS | 0.939145 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.suppressed_warnings;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapte... | __label__POS | 0.939564 |
package org.apollo.cache.def;
import com.google.common.base.Preconditions;
/**
* Represents a type of Npc.
*
* @author Chris Fletcher
*/
public final class NpcDefinition {
/**
* The npc definitions.
*/
private static NpcDefinition[] definitions;
/**
* Gets the total number of npc definitions.
*
* @... | __label__POS | 0.932043 |
package org.apollo.cache.def;
import java.util.HashMap;
import java.util.Map;
import com.google.common.base.Preconditions;
/**
* Represents a type of Item that may be equipped.
*
* @author Graham
*/
public final class EquipmentDefinition {
/**
* The attack id.
*/
private static final int ATTACK = 0;
/**... | __label__POS | 0.886574 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http.post;
import com.apollocurrency.aplwallet.api.dto.auth.Status2FA;
import com.apollocurrency.aplwallet.api.dto.auth.TwoFactorAuthParameters;
import com.apollocurrency.aplwallet.apl.core.http.APITag;
import com.apollocu... | __label__POS | 0.664872 |
package org.apollo.cache.decoder;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.apollo.cache.IndexedFileSystem;
import org.apollo.cache.archive.Archive;
import org.apollo.cache.def.NpcDefinition;
import org.apollo.util.BufferUtil;
/**... | __label__POS | 0.897075 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.suppressed_warnings.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Suppr... | __label__POS | 0.820566 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.suppressed_warnings.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Suppr... | __label__POS | 0.630418 |
package org.apollo.cache.map;
import org.apollo.cache.IndexedFileSystem;
import org.apollo.util.CompressionUtil;
import java.nio.ByteBuffer;
import java.io.IOException;
/**
* A decoder for the terrain data stored in {@link MapFile}s.
*
* @author Major
*/
public class MapFileDecoder {
/**
* Creates a MapFileDe... | __label__POS | 0.888785 |
package org.apollo.cache.map;
import java.util.Arrays;
import java.util.stream.Stream;
/**
* A plane of a map, which is a distinct height level.
*
* @author Major
*/
public final class MapPlane {
/**
* Returns a shallow copy of the specified 2-dimensional array.
*
* @param array The array to copy. Must no... | __label__POS | 0.896098 |
package org.apollo.cache.map;
/**
* Contains {@link MapFile}-related constants.
*
* @author Major
*/
public final class MapConstants {
/**
* The index containing the map files.
*/
public static final int MAP_INDEX = 4;
/**
* The width (and length) of a {@link MapFile} in {@link Tile}s.
*/
public stat... | __label__POS | 0.990058 |
package org.apollo.cache.map;
import org.apollo.cache.def.ItemDefinition;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* A definition for a map.
*/
public final class MapIndex {
/**
* Indicates whether or not this map is members-only.
*/
private final boolean members;
... | __label__POS | 0.750979 |
package org.apollo.cache.map;
/**
* A single tile on the map.
*
* @author Major
*/
public final class Tile {
/**
* A builder class for a Tile.
*/
public static final class Builder {
/**
* The attributes of the Tile.
*/
private int attributes;
/**
* The height of the Tile.
*/
private in... | __label__POS | 0.668687 |
package org.apollo.cache.map;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Map;
import org.apollo.cache.IndexedFileSystem;
import org.apollo.cache.archive.Archive;
import org.apollo.cache.archive.ArchiveEntry;
import org.apollo... | __label__POS | 0.841999 |
package org.apollo.cache.map;
import org.apollo.cache.IndexedFileSystem;
import org.apollo.cache.map.MapIndex;
import org.apollo.cache.map.MapConstants;
import org.apollo.cache.map.MapObject;
import org.apollo.util.BufferUtil;
import org.apollo.util.CompressionUtil;
import java.io.IOException;
import java.nio.ByteBuf... | __label__POS | 0.964344 |
package org.apollo.util;
import org.junit.Test;
/**
* Contains unit tests for {@link ThreadUtil}s.
*
* @author Major
*/
public final class ThreadUtilTests {
/**
* Tests that trying to use an illegal name throws a {@link java.lang.Thread.UncaughtExceptionHandler}.
*/
@Test(expected = NullPointerException.cl... | __label__POS | 0.751201 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragment_with_include_directive;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.880535 |
package org.apollo.util;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Contains unit tests for {@link TextUtil}s.
*
* @author Graham
*/
public class TextUtilTests {
/**
* Tests the {@link TextUtil#capitalize} method.
*/
@Test
public void testCapitalize() {
String incorrect =... | __label__POS | 0.994663 |
package org.apollo.util;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import static org.junit.Assert.assertEquals;
/**
* Contains unit tests for {@link CompressionUtil}s.
*
* @author Graham
* @author Major
*/
public final class CompressionUtilTests {
/**
* Te... | __label__POS | 0.997527 |
package org.apollo.util;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import static org.junit.Assert.assertEquals;
/**
* Contains unit ... | __label__POS | 0.962595 |
package org.apollo.util.xml;
import org.junit.Test;
import org.xml.sax.SAXException;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.StringReader;
import java.util.Set;
import static org.junit.Assert.assertEquals;
import static org.ju... | __label__POS | 0.75138 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http.post;
import com.apollocurrency.aplwallet.api.dto.auth.Status2FA;
import com.apollocurrency.aplwallet.api.dto.auth.TwoFactorAuthParameters;
import com.apollocurrency.aplwallet.apl.core.http.APITag;
import com.apollocu... | __label__POS | 0.663345 |
package org.apollo.util;
/**
* Contains name-related utility methods.
*
* @author Graham
*/
public final class NameUtil {
/**
* The name with the minimum possible value.
*/
private static final long FIRST_VALID_NAME = encodeBase37("");
/**
* The name with the maximum possible value.
*/
private static... | __label__POS | 0.981556 |
package org.apollo.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.zip.DeflaterOutputStream;
import java.util.zip.GZIPInputStream;
import java.util.zip.G... | __label__POS | 0.989252 |
package org.apollo.util;
/**
* Contains language-related utility methods.
*
* @author Graham
* @author Major
*/
public final class LanguageUtil {
/**
* Gets the indefinite article of the specified String.
*
* @param string The String.
* @return The indefinite article.
*/
public static String getIndef... | __label__POS | 0.993976 |
package org.apollo.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Contains utility methods for {@link InputStream}s and {@link OutputStream}s.
*
* @author Graham
*/
public final class StreamUtil {
/**
* Reads a String from the specified {@link InputStream}.
... | __label__POS | 0.955254 |
package org.apollo.util;
/**
* A class which contains text-related utility methods.
*
* @author Graham
*/
public final class TextUtil {
/**
* An array of characters ordered by frequency - the elements with lower indices (generally) appear more often in
* chat messages.
*/
public static final char[] FREQUE... | __label__POS | 0.989651 |
package org.apollo.util;
import io.netty.buffer.ByteBuf;
import java.nio.ByteBuffer;
/**
* A utility class which contains {@link ByteBuffer}-related utility methods.
*
* @author Graham
*/
public final class BufferUtil {
/**
* Reads a 'smart' (either a {@code byte} or {@code short} depending on the value) fro... | __label__POS | 0.996738 |
package org.apollo.util.tools;
/**
* Contains equipment name constants.
*
* @author Graham
* @author Palidino76
*/
public final class EquipmentConstants {
/**
* Amulets.
*/
public static final String[] AMULETS = { "amulet", "necklace", "Amulet of" };
/**
* Arrows.
*/
public static final String[] ARR... | __label__POS | 0.999194 |
package org.apollo.util.tools;
import java.io.FileWriter;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.Security;
import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import o... | __label__POS | 0.755663 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.interface_on_interface;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.965231 |
package org.apollo.util.security;
import org.apollo.util.NameUtil;
/**
* Holds the credentials for a player.
*
* @author Graham
*/
public final class PlayerCredentials {
/**
* The player's username encoded as a long.
*/
private final long encodedUsername;
/**
* The player's password.
*/
private Stri... | __label__POS | 0.981017 |
package org.apollo.util.xml;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.util.Stack;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sa... | __label__POS | 0.95674 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.path_vs_flat_accessors;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.962227 |
/*
* Copyright (c) 2018-2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.transaction.common;
import com.apollocurrency.aplwallet.apl.util.env.config.Chain;
import lombok.Getter;
import java.util.Objects;
/**
* @author andrew.zinchenko@gmail.com
*/
public class TxBContextImpl extends Tx... | __label__POS | 0.69371 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.710597 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.enum_field;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
impor... | __label__POS | 0.938384 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.728868 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.enum_field.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnin... | __label__POS | 0.872627 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.739071 |
package org.apollo.game.plugin.skill.runecrafting
import org.apollo.game.model.Position
enum class Altar(val entranceId: Int, val craftingId: Int, val portalId: Int, val entrance: Position, val exit: Position, val center: Position) {
AIR_ALTAR(2452, 2478, 2465, Position(2841, 4829), Position(2983, 3292), Position... | __label__POS | 0.735246 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.725887 |
package org.apollo.game.plugin.skill.runecrafting
import org.apollo.game.plugin.skill.runecrafting.Altar.*
import org.apollo.game.plugin.skill.runecrafting.Talisman.*
enum class Tiara(val id: Int, val altar: Altar, val talisman: Talisman, val configId: Int, val xp: Double) {
AIR_TIARA(5527, AIR_ALTAR, AIR_TALISMA... | __label__POS | 0.691147 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_multiple_fieldsets;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custo... | __label__POS | 0.971139 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.service.state.a... | __label__POS | 0.664839 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import com.apollocurrency.aplwallet.apl.crypto.EncryptedData;
import c... | __label__POS | 0.602749 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_multiple_fieldsets.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.... | __label__POS | 0.831217 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_multiple_fieldsets.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
publ... | __label__POS | 0.972356 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.chainid.BlockchainConfig;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.util.exception.AplExcept... | __label__POS | 0.918414 |
package org.apollo.game.plugins.area
import org.apollo.game.model.Position
import org.apollo.game.model.entity.Player
/**
* A set of actions to execute when a player enters, moves inside, or exits a specific area of the world.
*/
internal class AreaAction(val entrance: AreaListener, val inside: AreaListener, val ex... | __label__POS | 0.750986 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.list_field_clash;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;... | __label__POS | 0.949963 |
package org.apollo.game.plugin.api
import org.apollo.cache.def.ItemDefinition
import org.apollo.cache.def.NpcDefinition
import org.apollo.cache.def.ObjectDefinition
import org.apollo.game.plugin.testing.junit.ApolloTestingExtension
import org.apollo.game.plugin.testing.junit.api.annotations.ItemDefinitions
import org.... | __label__POS | 0.705424 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.service.state.TaggedDataService;
public abstract class TaggedDataPrunableLoader<T extends... | __label__POS | 0.864233 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.723009 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.hero_details_semantic_naming;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSca... | __label__POS | 0.981801 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.717632 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.service.state.ShufflingService;
import javax.inject.Inject;
import javax.inject.Singleton... | __label__POS | 0.787171 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.js... | __label__POS | 0.60004 |
require 'java'
java_import 'org.apollo.game.action.DistancedAction'
java_import 'org.apollo.game.model.Animation'
DUMMY_ID = 823
DUMMY_SIZE = 1
PUNCH_ANIMATION = Animation.new(422)
ANIMATION_PULSES = 0
LEVEL_THRESHOLD = 8
EXP_PER_HIT = 5
# A DistancedAction for attacking a training dummy.
class DummyAction < Distanc... | __label__POS | 0.822059 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.custom_scalar_type;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapter... | __label__POS | 0.9114 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.custom_scalar_type;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapter... | __label__POS | 0.953046 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.707961 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.entity.prunable.TaggedData;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import ... | __label__POS | 0.893134 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.object;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
import co... | __label__POS | 0.960773 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction.messages;
import com.apollocurrency.aplwallet.apl.core.transaction.TransactionTypes;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.json.simple.JSONObject;
import java.nio.ByteBuffer;
/**
... | __label__POS | 0.712857 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.