content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package org.apollo.net;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.SocketChannel;
import io.netty.handler.timeout.IdleStateHandler;
import org.apollo.net.codec.handshake.HandshakeDecoder;
/*... | __label__POS | 0.813463 |
// TestBase64Client.cpp : A simple xmlrpc client that returns a png file
// encoded as base64 data to the client.
//
// Usage: TestBase64Client serverHost serverPort outputfile
// Requests a png file from the specified server and saves it in outputfile.
// Link against xmlrpc lib and whatever socket libs your system ne... | __label__POS | 0.67545 |
package com.apollocurrency.aplwallet.apl.core.converter.db.smc;
import com.apollocurrency.aplwallet.api.v2.model.ContractEventDetails;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import org.jdbi.v3.core.mapper.RowMapper;
import org.jdbi.v3.core.statement.StatementContext;
import java.sql.ResultSet;
import... | __label__POS | 0.869056 |
package com.apollocurrency.aplwallet.apl.core.converter.db.smc;
import com.apollocurrency.aplwallet.apl.core.entity.state.smc.SmcContractEventEntity;
import com.apollocurrency.aplwallet.apl.smc.model.AplAddress;
import com.apollocurrency.aplwallet.apl.smc.model.AplContractEvent;
import com.apollocurrency.aplwallet.apl... | __label__POS | 0.998006 |
package com.apollocurrency.aplwallet.apl.core.converter.db.smc;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.KeyFactory;
import com.apollocurrency.aplwallet.apl.core.dao.state.mapper.VersionedDerivedEntityMapper;
import com.apollocurrency.aplwallet.apl.core.entity.state.smc.SmcContractMappingEntit... | __label__POS | 0.857882 |
package org.apollo.net.update;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.Channel;
import java.io.IOException;
import org.apollo.cache.FileDescriptor;
import org.apollo.cache.IndexedFileSystem;
import org.apollo.net.codec.update.OnDemandRequest;
import org.apollo.net.cod... | __label__POS | 0.991943 |
// HelloServer.cpp : Simple XMLRPC server example. Usage: HelloServer serverPort
//
#include "XmlRpc.h"
#include <iostream>
#include <stdlib.h>
using namespace XmlRpc;
// The server
XmlRpcServer s;
// No arguments, result is "Hello".
class Hello : public XmlRpcServerMethod
{
public:
Hello(XmlRpcServer* s) : XmlRp... | __label__POS | 0.93466 |
package com.apollocurrency.aplwallet.apl.core.converter.db.smc;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.KeyFactory;
import com.apollocurrency.aplwallet.apl.core.dao.state.mapper.VersionedDerivedEntityMapper;
import com.apollocurrency.aplwallet.apl.core.entity.state.smc.SmcContractEntity;
impo... | __label__POS | 0.973657 |
package org.apollo.net.update;
import io.netty.channel.Channel;
import java.io.IOException;
/**
* The base class for request workers.
*
* @author Graham
* @param <T> The type of request.
* @param <P> The type of provider.
*/
public abstract class RequestWorker<T, P> implements Runnable {
/**
* The update d... | __label__POS | 0.880551 |
package org.apollo.net.update;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFutureListener;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Optional;
import org.apollo.cache.IndexedFileSystem;
import org.apol... | __label__POS | 0.927061 |
package org.apollo.net.update;
import io.netty.channel.Channel;
import io.netty.handler.codec.http.HttpRequest;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.PriorityBlockingQueue;
import org.apollo.net.codec.jaggrab.JagGrabRequest;
import org... | __label__POS | 0.959302 |
package org.apollo.net.release;
import java.util.HashMap;
import java.util.Map;
import org.apollo.net.message.Message;
import org.apollo.net.meta.PacketMetaData;
import org.apollo.net.meta.PacketMetaDataGroup;
import com.google.common.base.Preconditions;
/**
* A {@link Release} is a distinct client version, e.g. {... | __label__POS | 0.846529 |
package org.apollo.net.meta;
import com.google.common.base.Preconditions;
/**
* A class containing meta data for a single type of packet.
*
* @author Graham
*/
public final class PacketMetaData {
/**
* Creates packet meta data for a fixed-length packet.
*
* @param length The length of the packet.
* @ret... | __label__POS | 0.780413 |
package org.apollo.net.meta;
import com.google.common.base.Preconditions;
/**
* A class containing a group of {@link PacketMetaData} objects.
*
* @author Graham
*/
public final class PacketMetaDataGroup {
/**
* Creates a packet meta data group from the packet length array.
*
* @param lengths The packet le... | __label__POS | 0.993003 |
package org.apollo.net.update.resource;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.apollo.cache.IndexedFileSystem;
/**
* A {@link ResourceProvider} which maps virtual resources (such as {@cod... | __label__POS | 0.945213 |
// Validator.cpp : XMLRPC server based on the compliancy test at validator.xmlrpc.com.
//
#include "XmlRpc.h"
using namespace XmlRpc;
#include <iostream>
XmlRpcServer s;
// One argument is passed, an array of structs, each with a member named curly with
// an integer value. Return the sum of those values.
class ... | __label__POS | 0.883084 |
// HelloServer.cpp : Simple XMLRPC server example. Usage: HelloServer serverPort
//
#include "XmlRpc.h"
#include <iostream>
#include <stdlib.h>
using namespace XmlRpc;
// The server
XmlRpcServer s;
// No arguments, result is "Hello".
class Hello : public XmlRpcServerMethod
{
public:
Hello(XmlRpcServer* s) : XmlRp... | __label__POS | 0.948482 |
package org.apollo.net.update.resource;
import java.io.IOException;
import java.net.URI;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.FileChannel.MapMode;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Optional;
/**
* A {@link ResourceProvider} w... | __label__POS | 0.869527 |
package org.apollo.net.codec.update;
import io.netty.buffer.ByteBuf;
import org.apollo.cache.FileDescriptor;
/**
* Represents a single 'on-demand' response.
*
* @author Graham
*/
public final class OnDemandResponse {
/**
* The chunk data.
*/
private final ByteBuf chunkData;
/**
* The chunk id.
*/
p... | __label__POS | 0.995636 |
package org.apollo.net.codec.update;
import org.apollo.cache.FileDescriptor;
/**
* Represents a single 'on-demand' request.
*
* @author Graham
*/
public final class OnDemandRequest implements Comparable<OnDemandRequest> {
/**
* An enumeration containing the different request priorities.
*/
public enum Prio... | __label__POS | 0.856912 |
package org.apollo.net.codec.login;
/**
* Holds login-related constants.
*
* @author Graham
*/
public final class LoginConstants {
/**
* Exchange data login status.
*/
public static final int STATUS_EXCHANGE_DATA = 0;
/**
* Delay for 2 seconds login status.
*/
public static final int STATUS_DELAY = 1... | __label__POS | 0.999991 |
package org.apollo.net.codec.login;
import org.apollo.util.security.IsaacRandomPair;
import org.apollo.util.security.PlayerCredentials;
/**
* Represents a login request.
*
* @author Graham
*/
public final class LoginRequest {
/**
* The archive CRCs.
*/
private final int[] archiveCrcs;
/**
* The version... | __label__POS | 0.960482 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragment_type_coercion;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSc... | __label__POS | 0.942638 |
package org.apollo.net.codec.game;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageDecoder;
import java.util.List;
import org.apollo.net.message.Message;
import org.apollo.net.release.MessageDecoder;
import org.apollo.net.release.Release;
/**
* A {@link MessageToMessage... | __label__POS | 0.926407 |
package org.apollo.net.codec.game;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.DefaultByteBufHolder;
import org.apollo.net.meta.PacketType;
/**
* Represents a single packet used in the in-game protocol.
*
* @author Graham
*/
public final class GamePacket extends DefaultByteBufHolder {
/**
* The le... | __label__POS | 0.989923 |
package org.apollo.net.codec.game;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageEncoder;
import java.util.List;
import org.apollo.net.message.Message;
import org.apollo.net.release.MessageEncoder;
import org.apollo.net.release.Release;
/**
* A {@link MessageToMessage... | __label__POS | 0.949467 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.peer.endpoint;
import com.apollocurrency.aplwallet.apl.core.peer.PeersService;
import com.apollocurrency.aplwallet.apl.util.JSON;
import org.json.simple.JSONObject;
import org.json.simple.JSONStreamAware;
/**
* Fixed resp... | __label__POS | 0.754917 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_primitive_types;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapt... | __label__POS | 0.858835 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_primitive_types.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.Str... | __label__POS | 0.898449 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_primitive_types.type;
import com.apollographql.apollo.api.CompiledArgumentDefinition;
import com.apollographql.apollo.api.ObjectType;
public class Query {
public s... | __label__POS | 0.999994 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.68914 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.84672 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state;
import java.util.Arrays;
import java.util.function.BiFunction;
public class ChangeUtils {
public static InMemoryVersionedDerivedEntityRepository.Value getChange(Object value, Object prevValue, BiFunction<O... | __label__POS | 0.976197 |
package com.apollocurrency.aplwallet.apl.core.dao.blockchain;
import com.apollocurrency.aplwallet.api.v2.model.TxReceipt;
import com.apollocurrency.aplwallet.apl.core.model.Sort;
import com.apollocurrency.aplwallet.apl.util.db.TransactionalDataSource;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.ChatInf... | __label__POS | 0.930013 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.two_heroes_with_friends;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAd... | __label__POS | 0.981226 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.833831 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.798969 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.927368 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.699995 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.case_sensitive_enum;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapte... | __label__POS | 0.93312 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.823684 |
package com.apollocurrency.aplwallet.apl.core.dao.appdata;
import com.apollocurrency.aplwallet.apl.core.converter.db.BlockIndexRowMapper;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.BlockIndex;
import com.apollocurrency.aplwallet.apl.util.annotation.DatabaseSpecificDml;
import com.apollocurrency.aplwal... | __label__POS | 0.730815 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.appdata;
import com.apollocurrency.aplwallet.apl.core.converter.db.TransactionIndexRowMapper;
import com.apollocurrency.aplwallet.apl.core.entity.appdata.TransactionIndex;
import com.apollocurrency.aplwallet.apl.util.a... | __label__POS | 0.87348 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.611422 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.case_sensitive_enum.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.618492 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.63159 |
/**
* Exchange Rates Historical REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.... | __label__POS | 0.715171 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_type;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters... | __label__POS | 0.934269 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_type.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Suppres... | __label__POS | 0.967641 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_type.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Double;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override... | __label__POS | 0.839889 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_type.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Suppres... | __label__POS | 0.775026 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* @author al
*/
public final class LongKey implements DbKey {
private final long id;
public LongKey(long id) {
... | __label__POS | 0.938438 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* @author al
*/
public final class StringKey implements DbKey {
private final String id;
StringKey(String id) {
... | __label__POS | 0.869975 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_type.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Overrid... | __label__POS | 0.616397 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* @author al
*/
public final class IntKey implements DbKey {
private final Integer id;
private IntKey(Integer id) {
... | __label__POS | 0.88267 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.Objects;
/**
* @author andrew.zinch... | __label__POS | 0.972991 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* @author al
*/
public final class LinkKey implements DbKey {
private final long idA;
private final long idB;
publi... | __label__POS | 0.971531 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_union;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
imp... | __label__POS | 0.935323 |
/*
* Copyright (c) 2018-2019. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.derived;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwallet.apl.core.entity.state.derived.DerivedEntity;
import com.apollocurrency.aplwallet.apl.util... | __label__POS | 0.918147 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_union.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdap... | __label__POS | 0.813355 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_union.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class CatFragment... | __label__POS | 0.96702 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.derived;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwallet.apl.util.db.DbClause;
import com.apollocurrency.aplwallet.apl.util.db.DbIterator;
import com.a... | __label__POS | 0.898844 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_union.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdap... | __label__POS | 0.802392 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_union.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class DogFragment... | __label__POS | 0.965836 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.account;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.CachedTable;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwallet.apl.core.entity.s... | __label__POS | 0.83981 |
/*
* Copyright © 2018-2019 Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.account;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.VersionedDeletableEntityDbTable;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwall... | __label__POS | 0.605897 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_fragment_with_inline_fragments;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.... | __label__POS | 0.855931 |
package com.apollocurrency.aplwallet.apl.core.dao.state.phasing;
import com.apollocurrency.aplwallet.apl.core.converter.db.phasing.PhasingApprovedResultMapper;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.EntityDbTable;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import ... | __label__POS | 0.663104 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_fragment_with_inline_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.ap... | __label__POS | 0.813096 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_fragment_with_inline_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Double;
import java.lang.Object;
import java.lang.Override;
... | __label__POS | 0.975905 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.shuffling;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.EntityDbTableInterface;
import com.apollocurrency.aplwallet.apl.core.dao.state.keyfactory.DbKey;
import com.apollocurrency.aplwallet.apl.... | __label__POS | 0.993287 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.enums_as_sealed;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
... | __label__POS | 0.933537 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.dao.state.shuffling;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.FullyCachedTable;
import com.apollocurrency.aplwallet.apl.core.entity.state.shuffling.Shuffling;
import com.apollocurrency.aplwallet.apl.... | __label__POS | 0.976187 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.enums_as_sealed.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressW... | __label__POS | 0.660989 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_same_type_condition;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSc... | __label__POS | 0.92978 |
package com.apollocurrency.aplwallet.apl.exchange.util;
import com.apollocurrency.aplwallet.apl.core.model.dex.DexOrder;
import com.apollocurrency.aplwallet.apl.dex.core.model.DexCurrency;
import com.apollocurrency.aplwallet.apl.dex.core.model.OrderType;
import com.apollocurrency.aplwallet.apl.util.exception.AplExcept... | __label__POS | 0.984281 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_same_type_condition.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.808862 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_same_type_condition.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public ... | __label__POS | 0.889524 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_same_type_condition.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.811993 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_same_type_condition.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public ... | __label__POS | 0.980011 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.exchange.service;
import com.apollocurrency.aplwallet.apl.core.model.dex.DexOrder;
/**
* @author Serhiy Lymar
*/
public interface IDexValidator {
/**
* currency-specific validation (Ethereum)
*
* @param... | __label__POS | 0.912036 |
package com.apollocurrency.aplwallet.apl.exchange.service.graph;
import com.apollocurrency.aplwallet.apl.core.model.dex.DexOrder;
import com.apollocurrency.aplwallet.apl.dex.core.model.DexCandlestick;
import com.apollocurrency.aplwallet.apl.dex.eth.utils.EthUtil;
import com.apollocurrency.aplwallet.apl.util.Convert2;
... | __label__POS | 0.696349 |
package com.apollocurrency.aplwallet.apl.exchange.service.graph;
import com.apollocurrency.aplwallet.api.trading.SimpleTradingEntry;
import com.apollocurrency.aplwallet.api.trading.TradingDataOutput;
import com.apollocurrency.aplwallet.apl.core.model.dex.DexOrder;
import com.apollocurrency.aplwallet.apl.dex.core.model... | __label__POS | 0.854411 |
function _roscomplete_node_transform
{
local arg opts
COMPREPLY=()
arg="${COMP_WORDS[COMP_CWORD]}"
local cword=$COMP_CWORD
for a in $(seq $((COMP_CWORD-1))); do
if [ -z "${COMP_WORDS[a]//-*}" ]; then
((cword--))
fi
done
local words=(${COMP_WORDS[@]//-*})
if [... | __label__POS | 0.708776 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSc... | __label__POS | 0.730947 |
/*
* Copyright © 2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.p2p;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import... | __label__POS | 0.952113 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import j... | __label__POS | 0.883956 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.82642 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import ... | __label__POS | 0.953502 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.81252 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import j... | __label__POS | 0.880044 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.812703 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.... | __label__POS | 0.776124 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_with_inline_fragment.fragment
import com.example.fragment_with_inline_fragment.type.Character
import kotlin.Int
import kotlin.String
import kotlin.collections.Lis... | __label__POS | 0.816424 |
/*
* Copyright © 2018 - 2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.trading;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
impor... | __label__POS | 0.990142 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.trading;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import ... | __label__POS | 0.763111 |
/*
* Copyright © 2020-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.p2p.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import java.util.List;
import java.util.StringJoiner;
import java.util.UUID;
@Getter
@JsonInclude(JsonInclude.Include.NON_NULL)
public cl... | __label__POS | 0.67004 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragment_for_non_optional_field;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.947636 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.dto.account;
import com.apollocurrency.aplwallet.api.dto.BaseDTO;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombo... | __label__POS | 0.972485 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.dto.auth;
import lombok.Getter;
import lombok.Setter;
@Getter
public class TwoFactorAuthParameters {
private final long accountId;
private final String passphrase;
private final String secretPhrase;
private fi... | __label__POS | 0.91307 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.