content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package com.apollocurrency.aplwallet.api.dto.utils;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
public class JacksonUtil {
public static LinkedH... | __label__POS | 0.993564 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.dto.info;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
@JsonIgnoreProperties(ignoreUnknown = true)
@NoArgsConstructor
@Data... | __label__POS | 0.999501 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_inline_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScala... | __label__POS | 0.936844 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.api.dto.info;
import com.apollocurrency.aplwallet.api.dto.BaseDTO;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.N... | __label__POS | 0.996882 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_inline_fragment.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lan... | __label__POS | 0.774944 |
package com.apollocurrency.aplwallet.apl.util;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
*
* @author al
*/
public class ModWatcherTest {
public ModWatcherTest() {
}
/**
* Test of howLate method, of class ModWatcher.
*/
@Test
... | __label__POS | 0.999208 |
/*
* Copyright (c) 2018-2019. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.util;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue... | __label__POS | 0.937331 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.companion;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
import... | __label__POS | 0.965405 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.service;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.L... | __label__POS | 0.964516 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.monomorphic;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
impo... | __label__POS | 0.955858 |
package com.apollocurrency.aplwallet.apl.util.cert;
import com.apollocurrency.aplwallet.apl.crypto.cert.ApolloCertificate;
import com.apollocurrency.aplwallet.apl.crypto.cert.ApolloCertificateException;
import com.apollocurrency.aplwallet.apl.crypto.cert.AuthorityID;
import com.apollocurrency.aplwallet.apl.crypto.cert... | __label__POS | 0.744576 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.db;
import com.apollocurrency.aplwallet.apl.util.injectable.DbProperties;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
/**
* @author silaev-firstbridge on 1/8/2020
*/
class DataSourceWra... | __label__POS | 0.901821 |
package weed
import (
"testing"
"github.com/google/go-cmp/cmp"
)
func testEq(a, b []string) bool {
if len(a) != len(b) {
return false
}
for i := range a {
if a[i] != b[i] {
return false
}
}
return true
}
func TestDiff(t *testing.T) {
tests := []struct {
current []string
desired []string
want ... | __label__POS | 0.944314 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util;
import java.util.ArrayList;
import java.util.List;
public class EMA {
private final List<Double> values = new ArrayList<>();
private final List<Double> emas = new ArrayList<>();
private final int emaPeriod;
... | __label__POS | 0.957161 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_type_condition;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSc... | __label__POS | 0.93983 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_type_condition.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Double;
import java.lang.Object;
import java.lang.Override;
import j... | __label__POS | 0.909642 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;... | __label__POS | 0.87537 |
/*
* Copyright (c) 2018-2019. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
public class ThreadUtils {
p... | __label__POS | 0.987478 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_type_condition.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.813368 |
/*
* Copyright © 2013-2016 The Nxt Core Developers.
* Copyright © 2016-2017 Jelurida IP B.V.
*
* See the LICENSE.txt file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with Jelurida B.V.,
* no part of the Nxt software, in... | __label__POS | 0.999343 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_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.939891 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragments_with_type_condition.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api... | __label__POS | 0.814259 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import java.util.Arrays;
public class DoubleByteArrayTuple {
private final byte[] first;
private final byte[] second;
public DoubleByteArrayTuple(byte[] fi... | __label__POS | 0.952091 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datab... | __label__POS | 0.950491 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util;
import org.slf4j.Logger;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileV... | __label__POS | 0.758406 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.ws;
import java.io.Closeable;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.WebSocket;
import java.net.http.WebSocket.Listener;
/**
* JDK-11 and above WebSocket client without any external dependen... | __label__POS | 0.761617 |
/*
*
* Copyright © 2018-2019 Apollo Foundation
*
*/
package com.apollocurrency.aplwallet.apl.util.builder;
import com.apollocurrency.aplwallet.api.dto.BaseDTO;
import com.apollocurrency.aplwallet.api.response.ResponseBase;
import com.apollocurrency.aplwallet.api.response.ResponseDone;
import com.apollocurrency.a... | __label__POS | 0.78043 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.mutation_create_review;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.936513 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.util.rlp;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collector;
/**
* Wrapper to collect values i... | __label__POS | 0.836083 |
/*
* Copyright (c) 2020-2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.util.rlp;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
import java.math.BigInteger;
import java.util.List;
import java.util.function.Function;
im... | __label__POS | 0.896081 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.exception;
/**
* Exception with dedicated mapper {@link RestParameterExceptionMapper}, can be thrown directly from REST endpoint
*
* @author isegodin
*/
public class RestParameterException extends RuntimeException {
... | __label__POS | 0.97431 |
/*
*
* Copyright © 2018-2019 Apollo Foundation
*
*/
package com.apollocurrency.aplwallet.apl.util.exception;
import java.text.FieldPosition;
import java.text.MessageFormat;
import java.util.Locale;
public class Messages {
private static final Locale LOCALE = Locale.ROOT;
private static Locale getLocal... | __label__POS | 0.995531 |
/*
* Copyright © 2013-2016 The Nxt Core Developers.
* Copyright © 2016-2017 Jelurida IP B.V.
*
* See the LICENSE.txt file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with Jelurida B.V.,
* no part of the Nxt software, in... | __label__POS | 0.751671 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.mutation_create_review.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Su... | __label__POS | 0.967307 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.mutation_create_review.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Double;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Ove... | __label__POS | 0.839236 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.mutation_create_review.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.Su... | __label__POS | 0.773464 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.mutation_create_review.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Ov... | __label__POS | 0.616037 |
/*
* Copyright (c) 2018-2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.util.io;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Objects;
/**
* @author andrew.zinchenko@gmail.com
*/
@Slf4j
... | __label__POS | 0.957048 |
/*
* Copyright © 2013-2016 The Nxt Core Developers.
* Copyright © 2016-2017 Jelurida IP B.V.
*
* See the LICENSE.txt file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with Jelurida B.V.,
* no part of the Nxt software, in... | __label__POS | 0.759518 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.task;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
/**
* This class consists exclusively of static methods that operate on {@link Task} or {@link E... | __label__POS | 0.649344 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.task;
import java.util.concurrent.ExecutorService;
/**
* An {@link ExecutorService} that provides methods to execute the background tasks.
* TaskExecutorService can additionally suspend or resume the general thread execu... | __label__POS | 0.709483 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.db;
import com.apollocurrency.aplwallet.apl.db.updater.DBUpdater;
import com.apollocurrency.aplwallet.apl.util.injectable.DbProperties;
import com.apollocurrency.aplwallet.apl.util.injectable.PropertiesHolder;
public cla... | __label__POS | 0.767639 |
package com.apollocurrency.aplwallet.apl.util.db;
import org.slf4j.Logger;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import static org.slf4j.LoggerFactory.getLogger;
public class DbStatementWrapper extends FilteredStatement {
private static final Logger log = getLogger(... | __label__POS | 0.647542 |
/**
******************************************************************************
* @file syscalls.c
* @author Auto-generated by STM32CubeIDE
* @brief STM32CubeIDE Minimal System calls file
*
* For more information about which c-functions
* need which of these lowlevel function... | __label__POS | 0.619878 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.... | __label__POS | 0.916641 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.db;
import org.slf4j.Logger;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import static org.slf4j.LoggerFactory.getLogger;
public class DbPreparedStatementWrapper extends ... | __label__POS | 0.741248 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.ap... | __label__POS | 0.81096 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import com.example.named_fragment_inside_inline_fragment.type.Episode;
import... | __label__POS | 0.944205 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.ap... | __label__POS | 0.811011 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.db;
import com.apollocurrency.aplwallet.apl.util.injectable.DbProperties;
import io.firstbridge.process.db.DbControl;
import io.firstbridge.process.impl.MariaDbControl;
import io.firstbridge.process.impl.MariaDbRunParams;
... | __label__POS | 0.955525 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
... | __label__POS | 0.946542 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.db;
import com.apollocurrency.aplwallet.apl.db.updater.DBUpdater;
import com.apollocurrency.aplwallet.apl.db.updater.MigrationParams;
import com.apollocurrency.aplwallet.apl.util.injectable.DbProperties;
import com.apollo... | __label__POS | 0.862702 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.named_fragment_inside_inline_fragment.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
impo... | __label__POS | 0.775877 |
package com.apollocurrency.aplwallet.apl.util.cdi.transaction;
import org.jdbi.v3.core.Handle;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/**
* Separates DAO from JDBI, gives possibility to inject DAO object into service.
*/
public class JdbiTransac... | __label__POS | 0.927938 |
/*
* Copyright © 2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.supervisor.client.impl;
import com.apollocurrency.aplwallet.apl.util.supervisor.client.SvRequestHandler;
import com.apollocurrency.aplwallet.apl.util.supervisor.msg.SvBusMessage;
import com.apollocurrency.aplwallet.apl.util.supe... | __label__POS | 0.743563 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fieldset_with_multiple_super;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSca... | __label__POS | 0.94941 |
/*
* Copyright © 2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.supervisor.client.impl;
import com.apollocurrency.aplwallet.apl.util.supervisor.msg.SvBusResponse;
import lombok.extern.slf4j.Slf4j;
import java.net.SocketTimeoutException;
import java.util.concurrent.CountDownLatch;
import jav... | __label__POS | 0.803712 |
/*
* Copyright © 2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.supervisor.client.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
/**
* Path specification as in JAX-RS example: /messages/{id}/{code} ... | __label__POS | 0.994276 |
/*
* Copyright © 2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.util.supervisor.client.impl;
import com.apollocurrency.aplwallet.apl.util.supervisor.client.ConnectionStatus;
import com.apollocurrency.aplwallet.apl.util.supervisor.client.MessageDispatcher;
import com.apollocurrency.aplwallet.apl.u... | __label__POS | 0.634084 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_spread_with_nested_fields;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Cus... | __label__POS | 0.934623 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_spread_with_nested_fields.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apoll... | __label__POS | 0.813972 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_spread_with_nested_fields.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
im... | __label__POS | 0.990517 |
package com.apollocurrency.aplwallet.vault.util;
import com.apollocurrency.aplwallet.apl.crypto.Crypto;
import com.apollocurrency.aplwallet.vault.model.AplWalletKey;
import com.apollocurrency.aplwallet.vault.model.ApolloFbWallet;
import com.apollocurrency.aplwallet.vault.model.EthWalletKey;
import lombok.extern.slf4j.... | __label__POS | 0.895217 |
/*
* Copyright © 2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.vault.util;
import com.apollocurrency.aplwallet.vault.model.ApolloFbWallet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.nio.file.Path;
import... | __label__POS | 0.915351 |
package com.apollocurrency.aplwallet.vault.service;
import com.apollocurrency.aplwallet.vault.model.EthWalletKey;
import com.apollocurrency.aplwallet.vault.model.KMSResponseStatus;
import com.apollocurrency.aplwallet.vault.model.UserKeyStore;
import com.apollocurrency.aplwallet.vault.model.WalletKeysInfo;
import java... | __label__POS | 0.939743 |
/*
* Copyright © 2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.vault.model;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import com.apollocurrency.aplwallet.apl.util.Convert2;
import com.apollocurrency.aplwallet.apl.util.StringUtils;
import org.json.simple.JSONObject;
import java.util.A... | __label__POS | 0.684045 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.fragment_spread_with_nested_fields.fragment
import com.example.fragment_spread_with_nested_fields.type.Character
import kotlin.Int
import kotlin.String
import kotlin.colle... | __label__POS | 0.75597 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.vault.model;
import java.util.Arrays;
import java.util.Objects;
public class TwoFactorAuthEntity implements Cloneable {
private long account;
private byte[] secret;
private boolean confirmed;
public TwoFactorAuthEntity... | __label__POS | 0.826385 |
/*
* Copyright © 2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.vault.model;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import io.firstbridge.cryptolib.container.DataRecord;
import io.firstbridge.cryptolib.container.FbWallet;
import io.firstbridge.cryptolib.container.KeyRecord;
import i... | __label__POS | 0.763879 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.vault.model;
import java.util.Arrays;
import java.util.Objects;
public class SecretBytesDetails {
private byte[] secretBytes;
private KMSResponseStatus extractStatus;
public SecretBytesDetails(byte[] secretBytes, KMSRespo... | __label__POS | 0.970892 |
/*
* Copyright © 2018-2021 Apollo Foundation.
*/
package com.apollocurrency.aplwallet.vault.rest.converter;
import com.apollocurrency.aplwallet.api.dto.WalletDTO;
import com.apollocurrency.aplwallet.api.dto.account.CurrenciesWalletsDTO;
import com.apollocurrency.aplwallet.api.dto.account.CurrencyWalletsDTO;
import ... | __label__POS | 0.653029 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.merged_include;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
i... | __label__POS | 0.947627 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_variable_and_argument;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Cus... | __label__POS | 0.885536 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater;
import com.apollocurrency.aplwallet.apl.core.model.Block;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.signature.Signature;
import com.apollocurrency.aplw... | __label__POS | 0.858876 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_variable_and_argument.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import ... | __label__POS | 0.776075 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.simple_inline_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.924004 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater;
import org.slf4j.Logger;
import javax.enterprise.inject.Vetoed;
import java.io.InputStream;
import java.util.Properties;
import static org.slf4j.LoggerFactory.getLogger;
@Vetoed
public class UpdaterConstants {
// Pla... | __label__POS | 0.998076 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
im... | __label__POS | 0.91271 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
im... | __label__POS | 0.934984 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
im... | __label__POS | 0.951297 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater.downloader;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.nio.file.Files;
import java.nio.file.... | __label__POS | 0.650899 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater.core;
import com.apollocurrency.aplwallet.apl.udpater.intfce.Level;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateData;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateInfo;
import com.apollocurre... | __label__POS | 0.858621 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater.core;
import com.apollocurrency.aplwallet.apl.udpater.intfce.Level;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateData;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateInfo;
import com.apollocurre... | __label__POS | 0.991135 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater.pdu;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateInfo;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdaterMediator;
import com.apollocurrency.aplwallet.apl.util.env.dirprovider.DirProvider;
import... | __label__POS | 0.878184 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.updater.pdu;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdateInfo;
import com.apollocurrency.aplwallet.apl.udpater.intfce.UpdaterMediator;
import java.io.IOException;
import java.nio.file.Path;
public class UnixPlatfo... | __label__POS | 0.892311 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.81123 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class HumanFragm... | __label__POS | 0.965398 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class CatFragmen... | __label__POS | 0.967293 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class DroidFragm... | __label__POS | 0.965534 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.806637 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.813922 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.805828 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.data_builders.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class DogFragmen... | __label__POS | 0.966119 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.vm;
import com.apollocurrency.smc.contract.fuel.ConstantFuelCalculator;
import com.apollocurrency.smc.contract.fuel.FuelCalculator;
import com.apollocurrency.smc.contract.fuel.MemCostFuelCalculator;
import com.apollocurrency... | __label__POS | 0.938612 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.vm;
import com.apollocurrency.smc.contract.fuel.FreeOperationPrice;
import com.apollocurrency.smc.contract.fuel.FuelCalculator;
import com.apollocurrency.smc.contract.fuel.MemCostFuelCalculator;
import com.apollocurrency.smc... | __label__POS | 0.656285 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.service;
import com.apollocurrency.aplwallet.api.v2.model.ContractEventDetails;
import com.apollocurrency.aplwallet.apl.smc.model.AplContractEvent;
import com.apollocurrency.smc.data.expr.Term;
import com.apollocurrency.smc.... | __label__POS | 0.870637 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.service;
import com.apollocurrency.smc.data.type.Address;
import com.apollocurrency.smc.data.type.Key;
/**
* @author andrew.zinchenko@gmail.com
*/
public interface SmcContractStorageService {
/**
* Save the ser... | __label__POS | 0.904278 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.ws.subscription;
import com.apollocurrency.aplwallet.apl.smc.ws.SmcEventSocket;
import com.apollocurrency.smc.data.type.Address;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import java.util.Collection;
import ja... | __label__POS | 0.614829 |
/*
* Copyright (c) 2021. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.smc.ws.subscription;
import com.apollocurrency.aplwallet.apl.smc.ws.SmcEventSocket;
import com.apollocurrency.aplwallet.apl.smc.ws.converter.RequestToSubscriptionConverter;
import com.apollocurrency.aplwallet.apl.smc.ws.dto.SmcE... | __label__POS | 0.682385 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.decapitalized_fields;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapt... | __label__POS | 0.953716 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.