content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Phone { [JsonPropertyName("code")] public string Code { get; private set; } [JsonPropertyName...
__label__POS
0.921665
package cm.aptoide.pt.table; /** * Created on 14/10/2016. */ public class ColumnDefinition<T> { private final boolean isPrimaryKey; private final boolean autoIncrement; private final String name; private final boolean isUnique; private final OnConflictStrategy onConflictStrategy; private T defaultValu...
__label__POS
0.937333
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class ResourceTokenList { [JsonPropertyName("total")] public long Total { get; private set; } [Json...
__label__POS
0.927954
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Specification { [JsonPropertyName("memory")] public long Memory { get; private set; } [JsonPr...
__label__POS
0.749742
package visualization import ( "testing" "github.com/Aptomi/aptomi/pkg/engine/resolve" "github.com/Aptomi/aptomi/pkg/event" "github.com/Aptomi/aptomi/pkg/lang" "github.com/Aptomi/aptomi/pkg/lang/builder" "github.com/Aptomi/aptomi/pkg/util" "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) f...
__label__POS
0.604564
package cm.aptoide.pt.view; import android.content.Intent; import android.net.Uri; import androidx.appcompat.app.AppCompatActivity; import cm.aptoide.pt.account.view.ImagePickerNavigator; import cm.aptoide.pt.navigator.ActivityNavigator; import cm.aptoide.pt.notification.NotificationSyncScheduler; import cm.aptoide.pt...
__label__POS
0.983868
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class ColumnIndexList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPr...
__label__POS
0.947056
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using DependencyInjection.Infrastructure; using DependencyInjection.M...
__label__POS
0.965221
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class MembershipList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPro...
__label__POS
0.960421
package cm.aptoide.pt.view; import android.os.Bundle; import androidx.fragment.app.Fragment; import cm.aptoide.pt.account.view.ImageInfoProvider; import cm.aptoide.pt.account.view.ImageValidator; import cm.aptoide.pt.account.view.exception.InvalidImageException; import java.util.ArrayList; import java.util.List; impor...
__label__POS
0.652852
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Team { [JsonPropertyName("$id")] public string Id { get; private set; } [JsonPropertyName("$c...
__label__POS
0.7778
package aptos import ( "encoding/base64" "io" "strings" "testing" "github.com/aptos-labs/aptos-go-sdk/bcs" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func decodeB64(x string) ([]byte, error) { reader := strings.NewReader(x) dec := base64.NewDecoder(base64.StdEncoding, reade...
__label__POS
0.734826
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class CountryList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProper...
__label__POS
0.953305
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Token { [JsonPropertyName("$id")] public string Id { get; private set; } [JsonPropertyName("$...
__label__POS
0.688732
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class CurrencyList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.953618
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Currency { [JsonPropertyName("symbol")] public string Symbol { get; private set; } [JsonPrope...
__label__POS
0.675357
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class LocaleCodeList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPro...
__label__POS
0.964803
using PollyDemos.OutputHelpers; namespace PollyDemos.Helpers; public abstract class DemoBase { protected int TotalRequests; protected int EventualSuccesses; protected int EventualFailures; protected int Retries; // In the case of WPF the stdIn is redirected. protected static bool ShouldTermin...
__label__POS
0.698675
namespace PollyDemos.Helpers; public abstract class ConcurrencyLimiterDemoBase : DemoBase { // Track the number of 'good' and 'faulting' requests made, succeeded and failed. // At any time, requests pending = made - succeeded - failed. protected int GoodRequestsMade; protected int GoodRequestsSucceeded...
__label__POS
0.888524
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class DocumentList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.94296
package retry import ( "fmt" "time" ) // Func is the function to retry returning true if it's successfully completed type Func = func() bool // Do retries provided function until maxTime is reached, using provided interval as a delay and returning true if it's successfully completed func Do(maxTime time.Duration, ...
__label__POS
0.901514
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class IdentityList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.954665
package com.apress.springrecipes.replicator; import java.io.File; import java.io.IOException; import org.springframework.scheduling.annotation.Scheduled; public class FileReplicatorImpl implements FileReplicator { private String srcDir; private String destDir; private FileCopier fileCopier; ...
__label__POS
0.657458
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class TeamList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyN...
__label__POS
0.95016
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class CollectionList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPro...
__label__POS
0.978337
part of '../../enums.dart'; enum OAuthProvider { amazon(value: 'amazon'), apple(value: 'apple'), auth0(value: 'auth0'), authentik(value: 'authentik'), autodesk(value: 'autodesk'), bitbucket(value: 'bitbucket'), bitly(value: 'bitly'), box(value: 'box'), dailymotion(value: 'dailymotion'), discord(val...
__label__POS
0.777053
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class FunctionList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.90672
using System.IO; using Appwrite.Extensions; namespace Appwrite.Models { public class InputFile { public string Path { get; set; } = string.Empty; public string Filename { get; set; } = string.Empty; public string MimeType { get; set; } = string.Empty; public string SourceType { ...
__label__POS
0.627653
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Transaction { [JsonPropertyName("$id")] public string Id { get; private set; } [JsonPropertyN...
__label__POS
0.722295
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class VariableList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.955584
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class RuntimeList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProper...
__label__POS
0.954846
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class SiteList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyN...
__label__POS
0.952104
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class TargetList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropert...
__label__POS
0.956329
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class IndexList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProperty...
__label__POS
0.944204
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class HealthTime { [JsonPropertyName("remoteTime")] public long RemoteTime { get; private set; } [J...
__label__POS
0.978058
package io.appwrite.enums import com.google.gson.annotations.SerializedName enum class CreditCard(val value: String) { @SerializedName("amex") AMERICAN_EXPRESS("amex"), @SerializedName("argencard") ARGENCARD("argencard"), @SerializedName("cabal") CABAL("cabal"), @SerializedName("cencosud")...
__label__POS
0.922642
package io.appwrite.enums import com.google.gson.annotations.SerializedName enum class Runtime(val value: String) { @SerializedName("node-14.5") NODE_14_5("node-14.5"), @SerializedName("node-16.0") NODE_16_0("node-16.0"), @SerializedName("node-18.0") NODE_18_0("node-18.0"), @SerializedName...
__label__POS
0.687216
package io.appwrite.enums import com.google.gson.annotations.SerializedName enum class BuildRuntime(val value: String) { @SerializedName("node-14.5") NODE_14_5("node-14.5"), @SerializedName("node-16.0") NODE_16_0("node-16.0"), @SerializedName("node-18.0") NODE_18_0("node-18.0"), @Serialize...
__label__POS
0.68551
package io.appwrite.enums import com.google.gson.annotations.SerializedName enum class OAuthProvider(val value: String) { @SerializedName("amazon") AMAZON("amazon"), @SerializedName("apple") APPLE("apple"), @SerializedName("auth0") AUTH0("auth0"), @SerializedName("authentik") AUTHENTIK...
__label__POS
0.78015
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class RowList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyNa...
__label__POS
0.954777
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class AlgoArgon2 { [JsonPropertyName("type")] public string Type { get; private set; } [JsonPropert...
__label__POS
0.915797
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Topic { [JsonPropertyName("$id")] public string Id { get; private set; } [JsonPropertyName("$...
__label__POS
0.76361
import Foundation fileprivate let DEFAULT_MIME_TYPE = "application/octet-stream" fileprivate let mimeTypes = [ "md": "text/markdown", "html": "text/html", "htm": "text/html", "shtml": "text/html", "css": "text/css", "xml": "text/xml", "gif": "image/gif", "jpeg": "image/jpeg", "jpg"...
__label__POS
0.715934
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class LanguageList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.951808
package com.apress.springrecipes.weather.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.ws.client.core.WebServiceTemplate; import com.apress.springrecipes.weather.WeatherService; import com.apress.springrecipes.weathe...
__label__POS
0.856748
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class HealthStatus { [JsonPropertyName("name")] public string Name { get; private set; } [JsonPrope...
__label__POS
0.902952
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class FileList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyN...
__label__POS
0.929484
/** * Helper class to generate role strings for `Permission`. */ export class Role { /** * Grants access to anyone. * * This includes authenticated and unauthenticated users. * * @returns {string} */ public static any(): string { return 'any' } /** * Gran...
__label__POS
0.912114
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class UserList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyN...
__label__POS
0.923541
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class SubscriberList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPro...
__label__POS
0.958517
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class DeploymentList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPro...
__label__POS
0.952699
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class TableList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProperty...
__label__POS
0.976354
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class LogList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropertyNa...
__label__POS
0.955945
part of '../../enums.dart'; enum BuildRuntime { node145(value: 'node-14.5'), node160(value: 'node-16.0'), node180(value: 'node-18.0'), node190(value: 'node-19.0'), node200(value: 'node-20.0'), node210(value: 'node-21.0'), node22(value: 'node-22'), php80(value: 'php-8.0'), php81(value: 'php-8.1'), p...
__label__POS
0.767422
part of '../../enums.dart'; enum Runtime { node145(value: 'node-14.5'), node160(value: 'node-16.0'), node180(value: 'node-18.0'), node190(value: 'node-19.0'), node200(value: 'node-20.0'), node210(value: 'node-21.0'), node22(value: 'node-22'), php80(value: 'php-8.0'), php81(value: 'php-8.1'), php82(...
__label__POS
0.763233
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class BucketList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropert...
__label__POS
0.950297
package com.apress.springrecipes.replicator.config; import java.io.File; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.apress.springrecipes....
__label__POS
0.696518
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class TopicList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProperty...
__label__POS
0.95884
part of '../../enums.dart'; enum OAuthProvider { amazon(value: 'amazon'), apple(value: 'apple'), auth0(value: 'auth0'), authentik(value: 'authentik'), autodesk(value: 'autodesk'), bitbucket(value: 'bitbucket'), bitly(value: 'bitly'), box(value: 'box'), dailymotion(value: 'dailymotion'), discord(val...
__label__POS
0.777053
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class SpecificationList { [JsonPropertyName("total")] public long Total { get; private set; } [Json...
__label__POS
0.955505
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class HealthCertificate { [JsonPropertyName("name")] public string Name { get; private set; } [Json...
__label__POS
0.764669
// nolint: goconst package diff import ( "fmt" "testing" "github.com/Aptomi/aptomi/pkg/engine/apply/action" "github.com/Aptomi/aptomi/pkg/engine/apply/action/component" "github.com/Aptomi/aptomi/pkg/engine/resolve" "github.com/Aptomi/aptomi/pkg/event" "github.com/Aptomi/aptomi/pkg/lang" "github.com/Aptomi/apt...
__label__POS
0.680457
package io.apptik.jus.demoapp; import android.content.Context; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import io.apptik.comm.jus.AndroidJus; import io.apptik.comm.jus.Converter; import io.apptik.comm.jus.JusLog; import io.apptik.comm.jus.NetworkRequest; impo...
__label__POS
0.722903
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class AttributeList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProp...
__label__POS
0.958918
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class ProviderList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.958444
package io.apptik.jus.demoapp.api; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.retro.http.GET; import io.apptik.comm.jus.retro.http.Headers; import io.apptik.comm.jus.retro.http.Query; import io.apptik.comm.jus.retro.http.Tag; import io.apptik.json.JsonArray; import io.apptik.json.JsonObject; //api ...
__label__POS
0.842663
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class ContinentList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProp...
__label__POS
0.953946
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class ColumnList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPropert...
__label__POS
0.974958
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/suslik/InRelease Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/suslik/InRelease Retrying 0 http://repo.aptly.info/system-tests/archive.debia...
__label__POS
0.927406
<a id="0x1_aptos_hash"></a> # Module `0x1::aptos_hash` Cryptographic hashes: - Keccak-256: see https://keccak.team/keccak.html In addition, SHA2-256 and SHA3-256 are available in <code>std::hash</code>. Note that SHA3-256 is a variant of Keccak: it is NOT the same as Keccak-256. Non-cryptograhic hashes: - SipHash:...
__label__POS
0.84358
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Language { [JsonPropertyName("name")] public string Name { get; private set; } [JsonPropertyN...
__label__POS
0.847679
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class PhoneList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonProperty...
__label__POS
0.960455
package util import ( "encoding/hex" "fmt" "math" "math/big" "strconv" "strings" "golang.org/x/crypto/sha3" ) // Sha3256Hash hashes the input bytes using SHA3-256 func Sha3256Hash(bytes [][]byte) []byte { hasher := sha3.New256() for _, b := range bytes { hasher.Write(b) } return hasher.Sum([]byte{}) } ...
__label__POS
0.92733
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class MfaChallenge { [JsonPropertyName("$id")] public string Id { get; private set; } [JsonProperty...
__label__POS
0.897358
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class FrameworkAdapter { [JsonPropertyName("key")] public string Key { get; private set; } [JsonPro...
__label__POS
0.845598
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class Framework { [JsonPropertyName("key")] public string Key { get; private set; } [JsonPropertyNa...
__label__POS
0.744384
using System; using System.Linq; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Appwrite.Enums; namespace Appwrite.Models { public class DatabaseList { [JsonPropertyName("total")] public long Total { get; private set; } [JsonPrope...
__label__POS
0.954016
using System; using System.Collections; using System.Collections.Generic; using System.Text.Json; namespace Appwrite.Extensions { public static class Extensions { public static string ToJson(this Dictionary<string, object?> dict) { return JsonSerializer.Serialize(dict, Client.Seria...
__label__POS
0.62551
package io.apptik.comm.jus.okhttp3; import org.junit.Rule; import org.junit.Test; import java.io.IOException; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.toolbox.ByteArrayPool; import okhttp3.mockwebserver.MockResponse; import okhttp3.mockwebserver.MockWebServer; import static org.mockito.Mockito....
__label__POS
0.905066
/** * Helper class to generate role strings for `Permission`. */ export class Role { /** * Grants access to anyone. * * This includes authenticated and unauthenticated users. * * @returns {string} */ public static any(): string { return 'any' } /** * Gran...
__label__POS
0.912114
using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; namespace Appwrite.Converters { public class ObjectToInferredTypesConverter : JsonConverter<object> { public override object Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOp...
__label__POS
0.978272
package io.apptik.comm.jus.okhttp3; import java.io.IOException; import io.apptik.comm.jus.Request; import okhttp3.Interceptor; import okhttp3.Response; public abstract class AbstractMarkerInterceptor implements Interceptor { public static final String OKHTTP3_INTERCEPT = "okhttp3-intercept"; public static fi...
__label__POS
0.9921
Downloading: ${url}dists/hardy/Release Downloading & parsing package files... Downloading: ${url}dists/hardy/main/binary-amd64/Packages.bz2 Error (retrying): HTTP code 404 while fetching ${url}dists/hardy/main/binary-amd64/Packages.bz2 Retrying 0 ${url}dists/hardy/main/binary-amd64/Packages.bz2... Download Error: ${url...
__label__POS
0.613179
using Appwrite; using System; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace StorageCleaner { class Program { static async Task Main(string[] args) { var client = new Client(); client .SetEndPoint(Envi...
__label__POS
0.775258
package com.sample.boundary; import com.sample.model.Player; import java.util.Arrays; import java.util.List; import java.util.Random; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Prod...
__label__POS
0.653525
using System; using System.Net.Http; using System.Threading.Tasks; using System.Text.Json; namespace GenerateGiphyGif { class Program { static async Task Main(string[] args) { var giphyApiKey = Environment.GetEnvironmentVariable("GIPHY_API_KEY"); var keyword = Environme...
__label__POS
0.66135
package com.apress.springrecipes.sequence; import java.util.concurrent.atomic.AtomicInteger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; public class SequenceGenerator { @Autowired @Qualifier("datePrefixGenerator") private ...
__label__POS
0.65078
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Appwrite.Models; using Appwrite.Enums; namespace Appwrite.Services { public class Graphql : Service { public Graphql(Client client) : base(client) { } /// <para> /// ...
__label__POS
0.886877
require 'net/http' require 'uri' require 'json' require 'mime/types' require_relative 'appwrite/client' require_relative 'appwrite/service' require_relative 'appwrite/exception' require_relative 'appwrite/input_file' require_relative 'appwrite/query' require_relative 'appwrite/permission' require_relative 'appwrite/ro...
__label__POS
0.697743
<a id="0x1_fixed_point64"></a> # Module `0x1::fixed_point64` Defines a fixed-point numeric type with a 64-bit integer part and a 64-bit fractional part. - [Struct `FixedPoint64`](#0x1_fixed_point64_FixedPoint64) - [Constants](#@Constants_0) - [Function `sub`](#0x1_fixed_point64_sub) - [Function `add`](#0x1_fix...
__label__POS
0.719237
using System; using Newtonsoft.Json; using Twilio; using Twilio.Rest.Api.V2010.Account; using Twilio.Types; namespace SendSMS { public class Program { public static void Main(string[] args) { try { string requestBody = Environment.GetEnvironmentVariable(...
__label__POS
0.955845
require 'json' module Appwrite class Query def initialize(method, attribute = nil, values = nil) @method = method @attribute = attribute if values != nil if values.is_a?(Array) @values = values else ...
__label__POS
0.999604
using SpeedTest; using SpeedTest.Models; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Threading.Tasks; namespace GetInternetSpeed { class Program { private static SpeedTestClient client; private static Settings set...
__label__POS
0.903122
package com.apress.springrecipes.shop; import org.springframework.context.annotation.AnnotationConfigApplicationContext; public class Main { public static void main(String[] args) throws Exception { AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(); context.g...
__label__POS
0.996419
package com.apress.springrecipes.shop; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.Date; public class Cashier { private String fileName; private String path; private BufferedWriter wr...
__label__POS
0.698967
<?php namespace Appwrite; class Client { const METHOD_GET = 'GET'; const METHOD_POST = 'POST'; const METHOD_PUT = 'PUT'; const METHOD_PATCH = 'PATCH'; const METHOD_DELETE = 'DELETE'; const METHOD_HEAD = 'HEAD'; const METHOD_OPTIONS = 'OPTIONS'; const METHOD_CONNECT = 'CONNECT'; con...
__label__POS
0.6614
#[test_only] /// This is a test only module specifically for holding tests, it will not be compiled into a published module module deploy_addr::min_heap_u64_tests { use deploy_addr::min_heap_u64; #[test] /// Tests various sucessful heap operations fun test_heap_creation() { let inputs = vector[...
__label__POS
0.641395
/** * Helper class to generate role strings for `Permission`. */ export class Role { /** * Grants access to anyone. * * This includes authenticated and unauthenticated users. * * @returns {string} */ public static any(): string { return 'any' } /** * Gran...
__label__POS
0.912114
using System; using System.Threading.Tasks; using System.Collections.Generic; using RestSharp; using Newtonsoft.Json.Linq; namespace send_message_bird_sms { class Program { static async Task Main(string[] args) { //MessageBird API access token var token = Environment.Ge...
__label__POS
0.747873
<?php namespace Appwrite; class Query implements \JsonSerializable { protected string $method; protected ?string $attribute; protected ?array $values; public function __construct(string $method, ?string $attribute = null, $values = null) { $this->method = $method; $this->attribute...
__label__POS
0.999909