content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.690747 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.848107 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java8annotation;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
... | __label__POS | 0.940019 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java8annotation.type;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
import org.jetbrains.annotations.NotN... | __label__POS | 0.962359 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.955053 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.834401 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.799537 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.927726 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class P... | __label__POS | 0.880177 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.824309 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.631819 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custom... | __label__POS | 0.807957 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custom... | __label__POS | 0.812602 |
/**
* Exchange Rates Realtime 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.te... | __label__POS | 0.7161 |
/*
* Copyright © 2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.config;
import com.apollocurrency.aplwallet.apl.util.StringUtils;
import com.apollocurrency.aplwallet.apl.util.cdi.config.Property;
import com.apollocurrency.aplwallet.apl.util.injectable.PropertiesHolder;
import javax.enterpr... | __label__POS | 0.688523 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.Custom... | __label__POS | 0.815707 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.uti... | __label__POS | 0.988717 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_named_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class P... | __label__POS | 0.949341 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http;
import com.apollocurrency.aplwallet.apl.core.chainid.BlockchainConfig;
import com.apollocurrency.aplwallet.apl.core.db.DatabaseManager;
import com.apollocurrency.aplwallet.apl.core.entity.state.order.AskOrder;
import... | __label__POS | 0.837057 |
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicReference;
public class BookTest extends CoinAPISDKTest{
@Test
public void getBookMessages() throws IOException, InterruptedException {
AtomicReference<Integer> msgCount = new AtomicR... | __label__POS | 0.975433 |
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicReference;
public class ReconnectTest extends MessageInjectableCoinAPISDKTest {
@Test
public void getReconnectMessages() throws IOException, InterruptedException {
AtomicReference<Int... | __label__POS | 0.742124 |
package io.coinapi.websocket.communication;
import jakarta.websocket.CloseReason;
import org.glassfish.tyrus.client.ClientManager;
public class WebsocketReconnectHandler extends ClientManager.ReconnectHandler {
@Override
public boolean onDisconnect(CloseReason closeReason) {
System.out.println("The c... | __label__POS | 0.991716 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.antlr_tokens;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapters;
imp... | __label__POS | 0.928925 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.http;
import org.slf4j.Logger;
import java.io.IOException;
import java.util.concurrent.ThreadPoolExecutor;
import static org.slf4j.LoggerFactory.getLogger;
public class BlockEventSource implements org.eclipse.jetty.serv... | __label__POS | 0.801758 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.signature;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Multi-signature is a digital signature scheme.
*
* @author andrii.zinchenko@firstbridge.io
*/
public interface MultiSig extends ... | __label__POS | 0.937585 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragments_with_friends;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSc... | __label__POS | 0.959708 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.signature;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import lombok.Getter;
import java.util.Arrays;
import java.util.Objects;
import java.util.StringJoiner;
/**
* @author andrii.zinchenko@firstbridge.... | __label__POS | 0.901377 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.signature;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import lombok.Getter;
import java.util.Arrays;
import java.util.Objects;
import java.util.StringJoiner;
import java.util.stream.Collectors;
/**
* @... | __label__POS | 0.907766 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.inline_fragments_with_friends.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.... | __label__POS | 0.776306 |
/*
* Copyright © 2020-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.exception;
import com.apollocurrency.aplwallet.apl.util.exception.AplException;
public class ShufflerException extends AplException {
public ShufflerException(String message) {
super(message);
}
publ... | __label__POS | 0.999673 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestOrderBook3
{
[TestMethod]
public void TestOrderBook3... | __label__POS | 0.99925 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestOhlcv
{
[TestMethod]
public void TestOhlcvReceive()
... | __label__POS | 0.999553 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestTrade
{
[TestMethod]
public void TestTradesReceive()... | __label__POS | 0.999523 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.transaction;
import java.util.Objects;
public class PrunableTransaction {
private final long id;
private final TransactionType transactionType;
private final boolean prunableAttachment;
private final boole... | __label__POS | 0.935058 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestTicker
{
[TestMethod]
public void TestExchangeRateRe... | __label__POS | 0.99951 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestQuote
{
[TestMethod]
public void TestQuoteReceive()
... | __label__POS | 0.99937 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.nested_field_with_multiple_fieldsets;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.C... | __label__POS | 0.952899 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestVolume
{
[TestMethod]
public void TestVolumeReceive(... | __label__POS | 0.999488 |
/*
* Copyright (c) 2018-2020. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.transaction;
import com.apollocurrency.aplwallet.apl.core.chainid.BlockchainConfig;
import com.apollocurrency.aplwallet.apl.core.model.Transaction;
import com.apollocurrency.aplwallet.apl.core.service.blockchain.Block... | __label__POS | 0.942097 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestExchangeRate
{
[TestMethod]
public void TestExchange... | __label__POS | 0.999535 |
using CoinAPI.WebSocket.V1.DataModels;
using CoinAPI.WebSocket.V1.Testing;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Configuration;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace CoinAPI.WebSocket.... | __label__POS | 0.955405 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestOrderBook
{
[TestMethod]
public void TestOrderBookRe... | __label__POS | 0.995705 |
using CoinAPI.WebSocket.V1.DataModels;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace CoinAPI.WebSocket.V1.Tests
{
[TestClass]
public class TestChangeHello
{
[TestMethod]
public void TestTradesRec... | __label__POS | 0.96376 |
using CoinAPI.WebSocket.Stats.Console.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoinAPI.WebSocket.Stats.Console.Infrastructure
{
public class CompositeDataOutput : IDataOutput
{
List<IDataOutput> _outputs =... | __label__POS | 0.810447 |
using CoinAPI.WebSocket.Stats.Console.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoinAPI.WebSocket.Stats.Console.Infrastructure
{
public class FileDataOutput : IDataOutput
{
private string _filePath = string... | __label__POS | 0.954272 |
package com.apollocurrency.aplwallet.apl.core.transaction;
import lombok.Getter;
import java.util.HashMap;
import java.util.Map;
public class TransactionTypes {
public static final byte TYPE_PAYMENT = 0;
public static final byte TYPE_MESSAGING = 1;
public static final byte TYPE_COLORED_COINS = 2;
pub... | __label__POS | 0.937608 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapte... | __label__POS | 0.905218 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomSca... | __label__POS | 0.815276 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.root_query_fragment.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class Quer... | __label__POS | 0.980667 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.utils;
import com.apollocurrency.aplwallet.apl.crypto.Convert;
import com.apollocurrency.aplwallet.apl.crypto.EncryptedData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
imp... | __label__POS | 0.981498 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.utils;
import com.apollocurrency.aplwallet.apl.util.db.DbIterator;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.functi... | __label__POS | 0.944121 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.utils;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.DerivedTableInterface;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.MinMaxValue;
import com.apollocurrency.aplwallet.apl.core.entity.... | __label__POS | 0.800542 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.utils;
import lombok.extern.slf4j.Slf4j;
import javax.enterprise.inject.Vetoed;
import javax.management.MBeanServer;
import javax.management.ObjectName;
import java.lang.management.ManagementFactory;
@Slf4j
@Vetoed
publ... | __label__POS | 0.771229 |
package com.apollocurrency.aplwallet.apl.core.utils;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Objects;
/**
* Filters a carriage return character ('\r') from an underlying input stream.
*
* @author silaev-firstbridge
*/
public class FilterCarriageRe... | __label__POS | 0.999255 |
/*
* Copyright © 2018 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.peer;
import lombok.extern.slf4j.Slf4j;
import java.net.SocketTimeoutException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
/**
* @author al
*/
@Slf4j
public class ResponseWaiter {
... | __label__POS | 0.895756 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_android_annotations;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.ap... | __label__POS | 0.853361 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_android_annotations.type;
import androidx.annotation.NonNull;
import com.apollographql.apollo.api.Optional;
import java.lang.Integer;
import java.lang.Object;
import ... | __label__POS | 0.881449 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_android_annotations.type;
import com.apollographql.apollo.api.CompiledArgumentDefinition;
import com.apollographql.apollo.api.ObjectType;
public class Query {
publ... | __label__POS | 0.999994 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.capitalized_fields;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapter... | __label__POS | 0.968241 |
/*
* Copyright © 2018-2021 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.model;
import java.util.Arrays;
public class MandatoryTransaction extends WrappedTransaction {
private final byte[] requiredTxHash;
public MandatoryTransaction(Transaction transaction, byte[] requiredTxHash) {
... | __label__POS | 0.986429 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.model;
import com.apollocurrency.aplwallet.apl.core.app.VoteWeighting;
import com.apollocurrency.aplwallet.apl.core.entity.state.phasing.PhasingPoll;
import com.apollocurrency.aplwallet.apl.core.transaction.messages.Phasi... | __label__POS | 0.739213 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_variable_and_argument_with_generated_methods;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apoll... | __label__POS | 0.885783 |
/*
* Copyright © 2018-2020 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.model;
import com.apollocurrency.aplwallet.apl.core.entity.state.account.Account;
import com.apollocurrency.aplwallet.apl.core.signature.Credential;
import com.apollocurrency.aplwallet.apl.core.transaction.messages.Appendix... | __label__POS | 0.60586 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.input_object_variable_and_argument_with_generated_methods.type;
import com.apollographql.apollo.api.EnumType;
import java.lang.Object;
import java.lang.Override;
import ja... | __label__POS | 0.775288 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.commands;
import com.apollocurrency.aplwallet.apl.core.shard.MigrateState;
import com.apollocurrency.aplwallet.apl.core.shard.ShardConstants;
import com.apollocurrency.aplwallet.apl.core.shard.ShardEngine;
import com... | __label__POS | 0.749868 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.commands;
import com.apollocurrency.aplwallet.apl.core.shard.MigrateState;
import com.apollocurrency.aplwallet.apl.core.shard.ShardEngine;
import org.slf4j.Logger;
import java.util.Objects;
import static org.slf4j.... | __label__POS | 0.768081 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.union_inline_fragments;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAda... | __label__POS | 0.933675 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.commands;
import com.apollocurrency.aplwallet.apl.core.shard.MigrateState;
import com.apollocurrency.aplwallet.apl.core.shard.ShardConstants;
import com.apollocurrency.aplwallet.apl.core.shard.ShardEngine;
import com... | __label__POS | 0.734283 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.union_inline_fragments.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.776764 |
/*
* Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.util;
import java.util.ArrayList;
import java.... | __label__POS | 0.993326 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper;
import com.apollocurrency.aplwallet.apl.core.shard.model.ExcludeInfo;
/**
* Composes several parameters used by different operations.
*
* @author yuriy.larin
*/
public class TableOperationParams {
St... | __label__POS | 0.976477 |
/*
* Copyright © 2018-2022 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.DerivedTableInterface;
import com.apollocurrency.aplwallet.apl.core.dao.state.derived.MinMaxValue;
import com.apollocurrency.aplwallet.apl.core.d... | __label__POS | 0.857996 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper;
/**
* Factory for creation helper used for processing specified table
*
* @param <T>
* @author yuriy.larin
*/
public interface HelperFactory<T> {
/**
* Create specified helper class. There are ... | __label__POS | 0.976551 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_jetbrains_annotations;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScala... | __label__POS | 0.833531 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper;
import java.nio.file.Path;
import java.util.Map;
import java.util.function.Consumer;
/**
* Component's interface for importing table data into Db from CSV file.
* Configuration parameters are supplied in i... | __label__POS | 0.767425 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_jetbrains_annotations.type;
import com.apollographql.apollo.api.Optional;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.la... | __label__POS | 0.88097 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.java_jetbrains_annotations.type;
import com.apollographql.apollo.api.CompiledArgumentDefinition;
import com.apollographql.apollo.api.ObjectType;
public class Query {
pu... | __label__POS | 0.999994 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.model;
import com.apollocurrency.aplwallet.apl.core.model.TransactionDbInfo;
import lombok.Data;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@Da... | __label__POS | 0.871077 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.hash;
import java.security.InvalidParameterException;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.s... | __label__POS | 0.978418 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper.jdbc;
import java.util.Objects;
/**
* Class keeps sql column meta data for CSV export/import
* Header can be written in format = COLUMN_NAME(TYPE|PRECISION|SCALE)
*
* @author yuriy.larin
*/
public class ... | __label__POS | 0.634201 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScalarAdapter... | __label__POS | 0.904518 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper.csv;
import com.apollocurrency.aplwallet.apl.core.shard.helper.CsvExportData;
import java.io.Writer;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;
... | __label__POS | 0.672749 |
/*
* Copyright © 2018-2019 Apollo Foundation
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper.csv;
import java.io.IOException;
import java.io.Reader;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Class is used reading from CSV (comma separated values) file.
* Folder for stored and p... | __label__POS | 0.658363 |
/*
* Copyright (c) 2018-2019. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper.csv;
import java.util.Map;
public interface CsvEscaper {
char DEFAULT_ESCAPE_CHARACTER = '\\';
char DEFAULT_FIELD_DELIMITER = '\"';
String QUOTE = "\'";
String DOUBLE_QUOTE = QUOTE + QUOT... | __label__POS | 0.761909 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScal... | __label__POS | 0.816187 |
/*
* Copyright (c) 2018-2019. Apollo Foundation.
*/
package com.apollocurrency.aplwallet.apl.core.shard.helper.csv;
import org.apache.commons.lang3.StringUtils;
import javax.inject.Singleton;
import java.util.Base64;
import java.util.HashMap;
import java.util.Map;
@Singleton
public class CsvEscaperImpl implement... | __label__POS | 0.896514 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class Fragm... | __label__POS | 0.967494 |
import { DaikinDataParser, ResponseDict } from '../../DaikinDataParser';
import { DaikinResponseCb } from '../../DaikinACRequest';
import { FanDirection } from '../../DaikinACTypes';
export class ModelInfoResponse {
public model?: string;
public type?: string;
public pv?: number;
public cpv?: number;
... | __label__POS | 0.994627 |
import { DaikinDataParser, ResponseDict } from '../../DaikinDataParser';
import { Power, Type, Method, AdpMode } from '../../DaikinACTypes';
import { DaikinResponseCb } from '../../DaikinACRequest';
export class BasicInfoResponse {
public type?: string;
public region?: string;
public dst?: boolean;
pub... | __label__POS | 0.895041 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScal... | __label__POS | 0.807571 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class Fragm... | __label__POS | 0.962675 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public class AFrag... | __label__POS | 0.993075 |
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '$VERSION'.
//
package com.example.multiple_fragments.fragment;
import com.apollographql.apollo.api.Adapter;
import com.apollographql.apollo.api.CompiledField;
import com.apollographql.apollo.api.CustomScal... | __label__POS | 0.815584 |
local Effects = {}
function Effects.DropBuff(buff_id)
local agent_effects = PyEffects.PyEffects(Player.GetAgentID())
agent_effects:DropBuff(buff_id)
end
function Effects.GetBuffs(agent_id)
local agent_effects = PyEffects.PyEffects(agent_id)
local buff_list = agent_effects:GetBuffs()
return buff_li... | __label__POS | 0.999939 |
local Trading = {}
function Trading.merchant_instance()
return PyMerchant.PyMerchant()
end
function Trading.IsTransactionComplete()
return Trading.merchant_instance():is_transaction_complete()
end
Trading.Trader = {}
function Trading.Trader.GetQuotedItemID()
return Trading.merchant_instance():get_quoted_... | __label__POS | 1.000004 |
local ItemArray = {}
function ItemArray.CreateBagList(...)
local bags_to_check = {}
for _, bag_id in pairs({...}) do
local bag_enum = Bag(bag_id)
if bag_enum then
table.insert(bags_to_check, bag_enum)
else
Py4GW.Console.Log("CreateBagList", "Invalid bag ID: " .. ... | __label__POS | 0.998023 |
local Map = {}
function Map.map_instance()
return PyMap.PyMap()
end
function Map.IsMapReady()
return Map.map_instance().is_map_ready
end
function Map.IsOutpost()
return Map.map_instance().instance_type:GetName() == "Outpost"
end
function Map.IsExplorable()
return Map.map_instance().instance_type:Get... | __label__POS | 0.999945 |
local Inventory = {}
function Inventory.inventory_instance()
return PyInventory.PyInventory()
end
function Inventory.GetInventorySpace()
local bags_to_check = ItemArray.CreateBagList(1, 2, 3, 4)
local item_array = ItemArray.GetItemArray(bags_to_check)
local total_items = #item_array
local total_ca... | __label__POS | 0.999816 |
local Skill = {}
function Skill.skill_instance(skill_id)
return PySkill.Skill(skill_id)
end
function Skill.GetName(skill_id)
return Skill.skill_instance(skill_id).id:GetName()
end
function Skill.GetID(skill_name)
return Skill.skill_instance(skill_name).id:id()
end
function Skill.GetType(skill_id)
re... | __label__POS | 1.000009 |
import { OutputChannel } from "vscode";
import { TraceValues } from "vscode-languageclient";
import { format } from "node:util";
/**
* for errors (and other logs in debug mode) we want to print
* a stack trace showing where they were thrown. This uses an
* Error's stack trace, removes the three frames regarding
* ... | __label__POS | 0.628369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.