content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL04[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.992849 |
package cm.aptoide.pt.table;
import android.util.Pair;
import java.util.HashSet;
import java.util.Set;
/**
* Created on 13/10/2016.
*/
/**
* This table uses not the installed but the updates table since it is done like this in V7
*/
public class ExcludedTable implements Table {
public static final ColumnDefin... | __label__POS | 0.999959 |
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 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL00[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.990556 |
package cm.aptoide.pt.editorial;
import org.junit.Assert;
import org.junit.Test;
import static cm.aptoide.pt.editorial.ViewsFormatter.formatNumberOfViews;
public class ViewsFormatterTest {
@Test public void correctFormatTest() {
String oneDigit = "1";
String twoDigit = "12";
String threeDigit = "123";... | __label__POS | 0.996498 |
package com.apress.springrecipes.replicator.config;
import java.io.File;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.apress.springrecipes.replicator.FileCopier;
import com.apress... | __label__POS | 0.719061 |
package com.apress.springrecipes.replicator.config;
import java.util.Collections;
import org.quartz.JobDetail;
import org.quartz.Trigger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
impo... | __label__POS | 0.698615 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL14[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.995179 |
package cm.aptoide.pt.editorialList;
import cm.aptoide.accountmanager.Account;
import cm.aptoide.accountmanager.AptoideAccountManager;
import cm.aptoide.pt.UserFeedbackAnalytics;
import cm.aptoide.pt.bonus.BonusAppcModel;
import cm.aptoide.pt.crashreports.CrashReport;
import cm.aptoide.pt.home.bundles.base.HomeEvent;
... | __label__POS | 0.630135 |
package com.bookstore;
import com.bookstore.service.BookstoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.spri... | __label__POS | 0.984023 |
package cm.aptoide.pt.search;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SearchHostProviderTest {
@Test public void getSearchHost_toolBoxDisabled_aptoideHttpScheme() {
SearchHostProvider searchHostProvider =
new SearchHostProvider(false, "http", "buzz.aptoide.com:... | __label__POS | 0.998913 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL02[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.99416 |
package cm.aptoide.pt.downloads;
import cm.aptoide.pt.aab.Split;
import cm.aptoide.pt.dataprovider.model.v7.Obb;
import cm.aptoide.pt.download.AppValidationAnalytics;
import cm.aptoide.pt.download.AppValidator;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import or... | __label__POS | 0.835687 |
#import "NS(Attributed)String+Geometrics.h"
int gNSStringGeometricsTypesetterBehavior = NSTypesetterLatestBehavior ;
@implementation NSAttributedString (Geometrics)
#pragma mark Measure Attributed String
- (NSSize)sizeForWidth:(float)width
height:(float)height {
NSSize answer = NSZeroSize ;
if ([self len... | __label__POS | 0.92708 |
package com.bookstore.service;
import com.bookstore.entity.AuthorList;
import com.bookstore.entity.AuthorSet;
import com.bookstore.entity.BookList;
import com.bookstore.entity.BookSet;
import com.bookstore.repository.AuthorListRepository;
import org.springframework.stereotype.Service;
import org.springframework.transa... | __label__POS | 0.889842 |
package cm.aptoide.pt.downloads;
import cm.aptoide.pt.download.FileDownloadManager;
import cm.aptoide.pt.download.FileDownloadTask;
import com.liulishuo.filedownloader.BaseDownloadTask;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import rx.observers.T... | __label__POS | 0.604781 |
package com.bookstore.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
@Entity
public class BookLi... | __label__POS | 0.692292 |
package com.bookstore.entity;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
@Entity
public class BookSet i... | __label__POS | 0.638041 |
package com.apress.springrecipes.weather;
import java.util.List;
import org.springframework.ws.server.endpoint.annotation.Endpoint;
import org.springframework.ws.server.endpoint.annotation.PayloadRoot;
import org.springframework.ws.server.endpoint.annotation.RequestPayload;
import org.springframework.ws.server.endpoi... | __label__POS | 0.957665 |
dn: ou=people,o=aptomiOrg
changetype: add
objectclass: organizationalUnit
objectclass: top
ou: people
dn: cn=Alice,ou=people,o=aptomiOrg
changetype: add
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Alice
description: Alice (Developer/Service Consumer)
sn: Alice
... | __label__POS | 0.886734 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Tue Jan 10 20:29:27 CET 2017 -->
<title>io.apptik.comm.jus.retro.http (retro-jus 0.6.9 API)</title>
<meta name="date" content="2017-01-... | __label__POS | 0.860484 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL05[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.991325 |
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 |
package com.bookstore.service;
import com.bookstore.entity.Author;
import com.bookstore.entity.Book;
import com.bookstore.repository.AuthorRepository;
import com.bookstore.repository.BookRepository;
import org.springframework.stereotype.Service;
@Service
public class BookstoreService {
private final AuthorReposi... | __label__POS | 0.965746 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL06[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.939139 |
package cm.aptoide.pt.file;
import cm.aptoide.pt.dataprovider.cache.L2Cache;
import cm.aptoide.pt.downloadmanager.AptoideDownloadManager;
import cm.aptoide.pt.utils.FileUtils;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import rx.Completable;
import rx.Observable;
import rx.observers.Te... | __label__POS | 0.818339 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL16[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.940981 |
### Examples
It's our goal to create a wide variety of example of how Tether
can be used. Here's what we have so far, please send a PR with
any examples you might create.
#### Beginner
- [simple](../../examples/simple): A simple example to get you started
- [out-of-bounds](../../examples/out-of-bounds): How to hide... | __label__POS | 0.941365 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_SE[208] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 19,
.attr = 1,
.vol = 105,
.pan =... | __label__POS | 0.96077 |
package com.apress.springrecipes.weather.config;
import java.net.MalformedURLException;
import java.net.URL;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;
import org.springframework.remoting.jax... | __label__POS | 0.900631 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL09[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.992998 |
package cm.aptoide.pt.navigation;
import cm.aptoide.accountmanager.Account;
import cm.aptoide.accountmanager.AptoideAccountManager;
import cm.aptoide.pt.R;
import cm.aptoide.pt.presenter.View;
import cm.aptoide.pt.store.view.my.MyStoresFragment;
import cm.aptoide.pt.store.view.my.MyStoresNavigator;
import cm.aptoide.p... | __label__POS | 0.673466 |
package cm.aptoide.pt.home;
import cm.aptoide.pt.dataprovider.model.v7.Event;
import cm.aptoide.pt.home.bundles.BundleDataSource;
import cm.aptoide.pt.home.bundles.BundlesRepository;
import cm.aptoide.pt.home.bundles.HomeBundlesModel;
import cm.aptoide.pt.home.bundles.base.AppBundle;
import cm.aptoide.pt.home.bundles.... | __label__POS | 0.8667 |
package cm.aptoide.pt.home;
import cm.aptoide.accountmanager.Account;
import cm.aptoide.accountmanager.AptoideAccountManager;
import cm.aptoide.pt.crashreports.CrashReport;
import cm.aptoide.pt.presenter.View;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotation... | __label__POS | 0.613598 |
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.603793 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL03[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.995207 |
<template>
<div>
{{prefix}}<img style="height: 20px; margin-right: 5px" :src="imagePath" :title="kindComputed"/>{{caption}}
</div>
</template>
<script>
export default {
props: ['obj', 'kind', 'prefix'],
computed: {
kindComputed () {
if (this.kind != null) {
return this.kind
}
... | __label__POS | 0.664165 |
package com.apress.springrecipes.replicator.config;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jmx.export.MBea... | __label__POS | 0.914937 |
package cm.aptoide.pt.notification;
import androidx.annotation.NonNull;
import cm.aptoide.accountmanager.AptoideAccountManager;
import cm.aptoide.pt.crashreports.CrashReport;
import cm.aptoide.pt.database.RoomNotificationPersistence;
import cm.aptoide.pt.database.room.RoomNotification;
import java.util.ArrayList;
impo... | __label__POS | 0.740599 |
package cm.aptoide.pt.abtesting;
import java.util.HashMap;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
public class AbTestCacheValidatorTest {
private AbTestCacheValidator cacheValidator;
@Before public void setUpAbTestCacheValidatorTest() {
HashMap<String, ExperimentModel... | __label__POS | 0.92796 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL01[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.994164 |
package com.bookstore.repository.impl;
import java.util.List;
import java.util.Objects;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sli... | __label__POS | 0.693798 |
package com.apress.springrecipes.replicator;
import javax.mail.internet.MimeMessage;
import org.springframework.core.io.ClassPathResource;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.MimeMessageHelper;
import org.... | __label__POS | 0.922845 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL08[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.976411 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL11[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.991365 |
package com.bookstore.service;
import java.util.ArrayList;
import java.util.List;
import com.bookstore.entity.Author;
import com.bookstore.entity.Book;
import com.bookstore.repository.AuthorRepository;
import org.springframework.stereotype.Service;
@Service
public class BookstoreService {
private final AuthorRep... | __label__POS | 0.940474 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL10[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 120,
... | __label__POS | 0.989064 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL07[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.994154 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL19[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 100,
... | __label__POS | 0.991008 |
#include "common.h"
#include "structs.h"
SoundEvent TSB_PL18[65] = { { .cmd = 1,
.flags = 35,
.prog = 0,
.note = 60,
.attr = 1,
.vol = 90,
... | __label__POS | 0.989813 |
#!/usr/bin/env bash
set -e
encode_name() {
local name="$1"
local result="test_"
if [[ ! "$name" =~ [^[:alnum:]\ _-] ]]; then
name="${name//_/-5f}"
name="${name//-/-2d}"
name="${name// /_}"
result+="$name"
else
local length="${#name}"
local char i
for ((i=0; i<length; i++)); do
... | __label__POS | 0.927846 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script>
<scri... | __label__POS | 0.977552 |
package com.apress.springrecipes.weather.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;
import org.springframework.oxm.castor.CastorMarshaller;
import org.springframework.ws.client.core.WebSe... | __label__POS | 0.638166 |
package com.bookstore;
import com.bookstore.service.InventoryService;
import com.bookstore.entity.Inventory;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.anno... | __label__POS | 0.926103 |
package com.apress.springrecipes.weather.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;
import org.springframework.ws.config.annot... | __label__POS | 0.962983 |
package com.apress.springrecipes.replicator.config;
import java.util.Collections;
import org.quartz.JobDetail;
import org.quartz.Trigger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
impo... | __label__POS | 0.801713 |
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 OAuthProvider(val value: String) {
@SerializedName("amazon")
AMAZON("amazon"),
@SerializedName("apple")
APPLE("apple"),
@SerializedName("auth0")
AUTH0("auth0"),
@SerializedName("authentik")
AUTHENTIK... | __label__POS | 0.78015 |
package com.bookstore;
import java.util.List;
import com.bookstore.service.BookstoreService;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
imp... | __label__POS | 0.727185 |
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.603793 |
package com.bookstore;
import com.bookstore.service.BookstoreService;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
pu... | __label__POS | 0.979093 |
const os = require('os');
const fs = require("fs");
const _path = require("path");
const process = require("process");
const JSONbig = require("json-bigint")({ storeAsString: false });
const KeysVars = new Set(["key", "value"]);
const KeysSite = new Set(["path", "$id", "name", "enabled", "logging", "timeout", "framewo... | __label__POS | 0.775477 |
/**
* 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 |
/// Appwrite Models
library appwrite.models;
import 'enums.dart' as enums;
part 'src/models/model.dart';
part 'src/models/row_list.dart';
part 'src/models/document_list.dart';
part 'src/models/session_list.dart';
part 'src/models/identity_list.dart';
part 'src/models/log_list.dart';
part 'src/models/file_list.dart';
... | __label__POS | 1.00001 |
package com.bookstore.service;
import com.bookstore.entity.Author;
import com.bookstore.entity.Book;
import com.bookstore.repository.AuthorRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class BookstoreService {
private f... | __label__POS | 0.661532 |
/// Appwrite Enums
library dart_appwrite.enums;
part 'src/enums/authenticator_type.dart';
part 'src/enums/authentication_factor.dart';
part 'src/enums/o_auth_provider.dart';
part 'src/enums/browser.dart';
part 'src/enums/credit_card.dart';
part 'src/enums/flag.dart';
part 'src/enums/relationship_type.dart';
part 'src/... | __label__POS | 1.00001 |
/// Appwrite Models
library dart_appwrite.models;
import 'enums.dart' as enums;
part 'src/models/model.dart';
part 'src/models/row_list.dart';
part 'src/models/document_list.dart';
part 'src/models/table_list.dart';
part 'src/models/collection_list.dart';
part 'src/models/database_list.dart';
part 'src/models/index_l... | __label__POS | 1.00001 |
package util
import (
"reflect"
"sort"
)
// CountElements returns the number of elements in the structure, processing it recursively
// It adds up number elements in underlying maps and slices/arrays
func CountElements(m interface{}) int {
result := 0
if m == nil {
return result
}
v := reflect.ValueOf(m)
sw... | __label__POS | 0.998047 |
package event
import (
"strings"
"github.com/sirupsen/logrus"
)
// LogVerifier is a mock logger and a unit test helper for verifying event log messages
type LogVerifier struct {
expectedMessage string
isError bool
cnt int
}
// NewLogVerifier creates a new LogVerifier which searches for a gi... | __label__POS | 0.82247 |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Appwrite
{
public class Query
{
[JsonPropertyName("method")]
public string Method { get; set; } = string.Empty;
[JsonPropertyN... | __label__POS | 0.660022 |
using System;
namespace Appwrite
{
public static class ID
{
// Generate an hex ID based on timestamp
// Recreated from https://www.php.net/manual/en/function.uniqid.php
private static string HexTimestamp()
{
var now = DateTime.UtcNow;
var epoch = (now - n... | __label__POS | 0.659143 |
package cm.aptoide.pt.view.wizard;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import cm.aptoide.pt.R;
import cm.aptoide.pt.account.view.LoginSignUpFragment;
import cm.aptoide.pt.themes.StoreTheme;
import cm.aptoide.pt.themes.ThemeManager;
import static cm.aptoide.pt.view.fragment.NavigationTrack... | __label__POS | 0.904172 |
using System;
namespace Appwrite.Enums
{
public class CreditCard : IEnum
{
public string Value { get; private set; }
public CreditCard(string value)
{
Value = value;
}
public static CreditCard AmericanExpress => new CreditCard("amex");
public static... | __label__POS | 0.99837 |
using System;
namespace Appwrite.Enums
{
public class Runtime : IEnum
{
public string Value { get; private set; }
public Runtime(string value)
{
Value = value;
}
public static Runtime Node145 => new Runtime("node-14.5");
public static Runtime Node16... | __label__POS | 0.99888 |
using System;
namespace Appwrite.Enums
{
public class PasswordHash : IEnum
{
public string Value { get; private set; }
public PasswordHash(string value)
{
Value = value;
}
public static PasswordHash Sha1 => new PasswordHash("sha1");
public static Pa... | __label__POS | 0.998085 |
using System;
namespace Appwrite.Enums
{
public class Browser : IEnum
{
public string Value { get; private set; }
public Browser(string value)
{
Value = value;
}
public static Browser AvantBrowser => new Browser("aa");
public static Browser AndroidW... | __label__POS | 0.998386 |
import Foundation
enum QueryValue: Codable {
case string(String)
case int(Int)
case double(Double)
case bool(Bool)
case query(Query)
case array([QueryValue]) // for nested arrays
init(from decoder: Decoder) throws {
let container = try decoder.singleValueContainer()
if l... | __label__POS | 0.886766 |
using System;
namespace Appwrite.Enums
{
public class OAuthProvider : IEnum
{
public string Value { get; private set; }
public OAuthProvider(string value)
{
Value = value;
}
public static OAuthProvider Amazon => new OAuthProvider("amazon");
public s... | __label__POS | 0.9989 |
using System;
namespace Appwrite.Enums
{
public class BuildRuntime : IEnum
{
public string Value { get; private set; }
public BuildRuntime(string value)
{
Value = value;
}
public static BuildRuntime Node145 => new BuildRuntime("node-14.5");
public s... | __label__POS | 0.999355 |
using System;
namespace Appwrite.Enums
{
public class Name : IEnum
{
public string Value { get; private set; }
public Name(string value)
{
Value = value;
}
public static Name V1Database => new Name("v1-database");
public static Name V1Deletes => new... | __label__POS | 0.999759 |
using System;
namespace Appwrite.Enums
{
public class Flag : IEnum
{
public string Value { get; private set; }
public Flag(string value)
{
Value = value;
}
public static Flag Afghanistan => new Flag("af");
public static Flag Angola => new Flag("ao")... | __label__POS | 0.99744 |
using System;
namespace Appwrite.Enums
{
public class Framework : IEnum
{
public string Value { get; private set; }
public Framework(string value)
{
Value = value;
}
public static Framework Analog => new Framework("analog");
public static Framework ... | __label__POS | 0.992428 |
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 ExecutionList
{
[JsonPropertyName("total")]
public long Total { get; private set; }
[JsonProp... | __label__POS | 0.960187 |
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 FrameworkList
{
[JsonPropertyName("total")]
public long Total { get; private set; }
[JsonProp... | __label__POS | 0.951171 |
package cm.aptoide.pt;
import android.content.Intent;
import android.os.Bundle;
import cm.aptoide.pt.notification.NotificationSyncScheduler;
import cm.aptoide.pt.presenter.View;
import cm.aptoide.pt.view.ActivityModule;
import cm.aptoide.pt.view.BaseActivity;
import cm.aptoide.pt.view.BaseFragment;
import cm.aptoide.p... | __label__POS | 0.942104 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on May 11, 2005
... | __label__POS | 0.844829 |
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 ResourceToken
{
[JsonPropertyName("$id")]
public string Id { get; private set; }
[JsonPropert... | __label__POS | 0.684769 |
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 MessageList
{
[JsonPropertyName("total")]
public long Total { get; private set; }
[JsonProper... | __label__POS | 0.942785 |
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 SessionList
{
[JsonPropertyName("total")]
public long Total { get; private set; }
[JsonProper... | __label__POS | 0.951111 |
package cm.aptoide.pt;
import android.accounts.AccountManager;
import android.content.ContentResolver;
import android.content.SharedPreferences;
import android.provider.Settings;
import androidx.annotation.WorkerThread;
import cm.aptoide.accountmanager.Account;
import cm.aptoide.accountmanager.AccountException;
import... | __label__POS | 0.893587 |
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 TransactionList
{
[JsonPropertyName("total")]
public long Total { get; private set; }
[JsonPr... | __label__POS | 0.957069 |
package query
import (
"encoding/json"
)
func toArray(val interface{}) []interface{} {
switch v := val.(type) {
case nil:
return nil
case []interface{}:
return v
default:
return []interface{}{val}
}
}
type queryOptions struct {
Method string
Attribute *string
Values *[]interface{}
}
func parseQ... | __label__POS | 0.915877 |
package cm.aptoide.pt;
import androidx.test.espresso.NoMatchingViewException;
import androidx.test.espresso.contrib.DrawerActions;
import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.action.ViewActions.click;
import static androidx.test.espresso.assertion.ViewAssertions.matches;... | __label__POS | 0.928899 |
import 'package:dart_appwrite/models.dart';
import 'package:test/test.dart';
void main() {
group('Identity', () {
test('model', () {
final model = Identity(
$id: '5e5ea5c16897e',
$createdAt: '2020-10-15T06:38:00.000+00:00',
$updatedAt: '2020-10-15T06:38:00.000+00:00',
userId... | __label__POS | 0.665122 |
package cm.aptoide.pt.table;
import android.util.Pair;
import java.util.HashSet;
import java.util.Set;
/**
* Created on 13/10/2016.
*/
public class ScheduledTable implements Table {
public static final ColumnDefinition package_name = new ColumnDefinition("package_name");
public static final ColumnDefinition n... | __label__POS | 1.000003 |
import 'package:dart_appwrite/models.dart';
import 'package:test/test.dart';
void main() {
group('ResourceToken', () {
test('model', () {
final model = ResourceToken(
$id: 'bb8ea5c16897e',
$createdAt: '2020-10-15T06:38:00.000+00:00',
resourceId: '5e5ea5c168bb8:5e5ea5c168bb8',
... | __label__POS | 0.619751 |
package cm.aptoide.pt.table;
import android.util.Pair;
import java.util.HashSet;
import java.util.Set;
/**
* Created on 13/10/2016.
*/
/**
* This table uses not the installed but the updates table since it is done like this in V7
*/
public class ExcludedTable implements Table {
public static final ColumnDefin... | __label__POS | 0.999959 |
package com.bookstore.profiler;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.transaction.support.TransactionSynchronizationAdapter;
import org.sp... | __label__POS | 0.645228 |
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 AlgoScrypt
{
[JsonPropertyName("type")]
public string Type { get; private set; }
[JsonPropert... | __label__POS | 0.913621 |
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 AlgoScryptModified
{
[JsonPropertyName("type")]
public string Type { get; private set; }
[Jso... | __label__POS | 0.820438 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.