content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package write.your.own.jvm.instruction.load; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.instruction.Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.ArrayObject; /** * <a href="https://docs.oracle.com/javase/specs/jvms/se7/ht...
__label__POS
0.996222
package write.your.own.jvm.instruction.load; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.instruction.Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.ArrayObject; /** * <a href="https://docs.oracle.com/javase/specs/jvms/se7/ht...
__label__POS
0.996343
package write.your.own.jvm.instruction.load; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.instruction.Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.ArrayObject; import write.your.own.jvm.runtimedata.heap.MyObject; /** * <a h...
__label__POS
0.995921
### 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
package write.your.own.jvm.instruction.load; import write.your.own.jvm.instruction.CodeReader; import write.your.own.jvm.instruction.base.Operand1Instruction; import write.your.own.jvm.runtimedata.StackFrame; /** * iload * index * <p> * The index is an unsigned byte that must be an index into the local variable a...
__label__POS
0.942802
package write.your.own.jvm.instruction.comparison; import write.your.own.jvm.instruction.CodeReader; import write.your.own.jvm.instruction.base.Operand1Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyObject; /** * <a href="https://docs.oracle.com/javase/spe...
__label__POS
0.996174
package write.your.own.jvm.instruction.comparison; import write.your.own.jvm.instruction.CodeReader; import write.your.own.jvm.instruction.base.Operand1Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyObject; /** * <a href="https://docs.oracle.com/javase/spe...
__label__POS
0.996222
struct HighlightBackground { static func light(_ theme: HighlightTheme) -> String { switch theme { case .a11y: return "#fefefe" case .atomOne: return "#fafafa" case .classic: return "#f5f5f5" case .edge: return "#fafafa" case .github: return "#fff" case .googl...
__label__POS
0.852391
package write.your.own.jvm.instruction.constant; import write.your.own.jvm.classfile.constantpool.ConstantInfo; import write.your.own.jvm.exception.NotImplementedException; import write.your.own.jvm.instruction.CodeReader; import write.your.own.jvm.instruction.base.Operand1Instruction; import write.your.own.jvm.runtim...
__label__POS
0.773818
package write.your.own.jvm.instruction.constant; import write.your.own.jvm.classfile.constantpool.ConstantInfo; import write.your.own.jvm.exception.NotImplementedException; import write.your.own.jvm.instruction.CodeReader; import write.your.own.jvm.instruction.base.Operand1Instruction; import write.your.own.jvm.runtim...
__label__POS
0.898556
package com.bookstore.service; import com.bookstore.repository.AuthorRepository; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class BookstoreService { private final AuthorRepository authorRepository; pu...
__label__POS
0.973201
package write.your.own.jvm.instruction.reserved; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.instruction.Instruction; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyMethod; import write.your.own.jvm.vnative.NativeMethod; import write.you...
__label__POS
0.792517
// // OCMockito - MKTOngoingStubbing.h // Copyright 2014 Jonathan M. Reid. See LICENSE.txt // // Created by: Jon Reid, http://qualitycoding.org/ // Source: https://github.com/jonreid/OCMockito // #import <Foundation/Foundation.h> #import "MKTPrimitiveArgumentMatching.h" @class MKTInvocationContainer; /** Metho...
__label__POS
0.849705
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.classfile.MemberInfo; import write.your.own.jvm.classfile.attribute.CodeAttribute; import write.your.own.jvm.classfile.attribute.LineNumberTableAttribute; import java.util.List; public class MyMethod extends ClassMember { byte[] parameterAnn...
__label__POS
0.8585
package com.apress.springrecipes.reactive.court; import org.springframework.stereotype.Service; import reactor.core.publisher.Flux; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; @Service public class InMemoryReservationService implements ReservationService { public static final S...
__label__POS
0.997653
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.classfile.MemberInfo; import write.your.own.jvm.classfile.attribute.ConstantValueAttribute; import write.your.own.jvm.instruction.reference.ClassNameHelper; public class MyField extends ClassMember { /** * 只有 static final 修饰的 field 才会有值 ...
__label__POS
0.979101
From: https://github.com/APSL/docker-thumbor/issues/12#issuecomment-191765018 By @bf: https://github.com/bf For AWS Beanstalk you need to create a `Dockerun.aws.json` file with the following contents. Create a new Beanstalk environment and simply upload the JSON file. ``` { "AWSEBDockerrunVersion": "1", "Image":...
__label__POS
0.931756
package write.your.own.jvm.runtimedata.heap; public class AccessFlag { public static final int ACC_PUBLIC = 0x0001;// class field method public static final int ACC_PRIVATE = 0x0002;// field method public static final int ACC_PROTECTED = 0x0004;// field method public static final int ACC_STATIC = 0x00...
__label__POS
1.00001
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.classfile.ClassFile; import write.your.own.jvm.classfile.attribute.AttributeInfo; import write.your.own.jvm.classfile.attribute.BootstrapMethodsAttribute; import write.your.own.jvm.instruction.reference.ClassNameHelper; import write.your.own.jvm.ru...
__label__POS
0.83207
package com.bookstore; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import com.bookstore.service.BookstoreService; import org.springframework...
__label__POS
0.761823
# 文档 Quick 能够帮助你验证你的 Swift 和 Objective-C 程序的行为。然而,能提高你的测试技巧的不仅仅是了解如何使用 Quick。下面这些指南能够帮助你更有效地写测试 —— 不仅是和 Quick 相关的,更包括 XCTest 还有其他的测试框架。 每份指南都有一个主题。如果你对单元测试完全陌生,建议你按照从上往下的顺序阅读。 - **[在项目中添加测试](SettingUpYourXcodeProject.md)**:如果你遇到在项目中构建测试的问题,请阅读这份指南。 - **[编写高效的 XCTest 测试: Arrange,Act 和 Assert](ArrangeActAssert.md)**:阅...
__label__POS
0.994765
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.classfile.MemberInfo; public class ClassMember { protected int accessFlag; protected String name; protected String descriptor; protected MyClass myClass; // todo: parse or generate ??? String signature; byte[] annotati...
__label__POS
0.718345
package write.your.own.jvm.runtimedata.heap; import java.util.Arrays; public class ArrayObject extends MyObject { // 用 Object[] 有点浪费,因为 int[] 也可以用 Object 接受 // 懒得改了 // this type should be MyObject[] private Object[] array; public ArrayObject(MyClass myClass, int count) { super(myClass); ...
__label__POS
0.944664
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.util.StringUtil; import java.util.ArrayList; import java.util.List; public class MethodDescriptorParser { private String raw; private int offset; public MethodDescriptor parse(Stri...
__label__POS
0.765261
package write.your.own.jvm.runtimedata.heap; import write.your.own.jvm.classfile.attribute.CodeAttribute; import write.your.own.jvm.runtimedata.heap.constants.ClassRef; import write.your.own.jvm.runtimedata.heap.constants.ConstantPool; public class ExceptionTable { private final ExceptionHandler[] handlers; ...
__label__POS
0.988081
package write.your.own.jvm.runtimedata.heap.constants; import write.your.own.jvm.runtimedata.heap.MyClass; public class SymRef { /** * 字段存放符号引用所在的运行时常量池指针, * 这样就可以通过符号引用访问到运行时常量池, * 进一步又可以访问到类数据。 */ protected ConstantPool constantPool; /** * 存放类的完全限定名 */ protected Strin...
__label__POS
0.998221
package write.your.own.jvm.runtimedata.heap.constants; import write.your.own.jvm.classfile.constantpool.ConstantMemberRefInfo; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyField; public class FieldRef extends MemberRef { private MyField myField; public Fie...
__label__POS
0.686477
package write.your.own.jvm.runtimedata.heap.constants; import write.your.own.jvm.classfile.constantpool.ConstantMemberRefInfo; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyMethod; public class MethodRef extends Mem...
__label__POS
0.873737
package write.your.own.jvm.runtimedata.heap.constants; import write.your.own.jvm.classfile.ClassFile; import write.your.own.jvm.classfile.constantpool.*; import write.your.own.jvm.runtimedata.heap.MyClass; /** * 运行时常量池 */ public class ConstantPool { private final MyClass myClass; private final Constant[] co...
__label__POS
0.817318
package write.your.own.jvm.runtimedata.heap.constants; import write.your.own.jvm.classfile.constantpool.ConstantMemberRefInfo; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyMethod; public class InterfaceMethodRef ex...
__label__POS
0.795245
package write.your.own.jvm.vnative.sun.reflect; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your.own.jvm.vnative.NativeMethod; import write.your.own.jvm.vnative.NativeRegistry; public class NRef...
__label__POS
0.987376
package write.your.own.jvm.vnative.sun.misc; import write.your.own.jvm.instruction.base.InvokeMethod; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyClassLoader; import write.your.own.jvm.runtimedata.heap.MyMethod; impo...
__label__POS
0.988323
package write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.runtimedata.MyString; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your.own.jvm.runtimedata.heap.StringPool; import write.yo...
__label__POS
0.985173
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.task.AsyncTaskExecutor; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.web...
__label__POS
0.984391
package com.apress.springrecipes.court.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servle...
__label__POS
0.619345
package write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyClassLoader; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your.own.jvm.vnative.EmptyNativeMethod; import ...
__label__POS
0.805353
package write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.vnative.NativeMethod; import write.your.own.jvm.vnative.NativeRegistry; public class NDouble { public static void init() { NativeRegistry.getInstance().registerNativeMethod( ...
__label__POS
0.992745
package write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.runtimedata.MyThread; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyMethod; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your...
__label__POS
0.976223
package write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.instruction.base.InvokeMethod; import write.your.own.jvm.runtimedata.*; import write.your.own.jvm.runtimedata.heap.*; import write.your.own.jvm.vnative.EmptyNativeMethod; import write.your.own.jv...
__label__POS
0.821098
<!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 write.your.own.jvm.vnative.java.lang; import write.your.own.jvm.exception.MyJvmException; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyClass; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your.own.jvm.vnative.EmptyNativeMethod; import write....
__label__POS
0.790422
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import com.bookstore.entity.Book; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class BookstoreService { private f...
__label__POS
0.865815
package write.your.own.jvm.vnative.java.io; import write.your.own.jvm.runtimedata.LocalVariableTable; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.ArrayObject; import write.your.own.jvm.vnative.EmptyNativeMethod; import write.your.own.jvm.vnative.NativeMethod; import wri...
__label__POS
0.921032
package write.your.own.jvm.vnative.java.security; import write.your.own.jvm.instruction.base.InvokeMethod; import write.your.own.jvm.runtimedata.StackFrame; import write.your.own.jvm.runtimedata.heap.MyMethod; import write.your.own.jvm.runtimedata.heap.MyObject; import write.your.own.jvm.vnative.NativeMethod; import w...
__label__POS
0.976433
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 Book impl...
__label__POS
0.639872
package ethereumj.crypto; import ethereumj.util.ByteUtil; import java.math.BigInteger; import org.junit.Test; import org.spongycastle.util.encoders.Hex; import static org.junit.Assert.*; public class ECKeyTest { @Test public void normalizeKey() { assertEquals(Hex.toHexString(ByteUtil.bigIntegerToBytes(new BigI...
__label__POS
0.999801
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.905218
<!doctype html> <title>CodeMirror: Reporting Bugs</title> <meta charset="utf-8"/> <link rel=stylesheet href="docs.css"> <div id=nav> <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="manual.html">Manual</a> <li>...
__label__POS
0.747365
# Laravel Blade Directives [![Latest Version on Packagist](https://img.shields.io/packagist/v/appstract/laravel-blade-directives.svg?style=flat-square)](https://packagist.org/packages/appstract/laravel-blade-directives) [![Total Downloads](https://img.shields.io/packagist/dt/appstract/laravel-blade-directives.svg?styl...
__label__POS
0.767463
<?php namespace Appstract\BladeDirectives\Test\App\Providers; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * ...
__label__POS
0.618118
package ethereumj.util; import java.math.BigInteger; public class BIUtil { /** * @param value - not null * * @return true - if the param is zero */ public static boolean isZero(BigInteger value) { return value.compareTo(BigInteger.ZERO) == 0; } /** * @param valueA - not null * @param v...
__label__POS
0.999545
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.task.AsyncTaskExecutor; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.web...
__label__POS
0.983708
<!doctype html> <title>CodeMirror: Real-world Uses</title> <meta charset="utf-8"/> <link rel=stylesheet href="docs.css"> <div id=nav> <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="manual.html">Manual</a> <li...
__label__POS
0.979815
package com.appspa.update.entity; import android.os.Parcel; import android.os.Parcelable; import androidx.annotation.ColorInt; import androidx.annotation.DrawableRes; /** * 版本更新提示器参数信息 * * @author treexi * @since 2018/11/19 上午9:44 */ public class PromptEntity implements Parcelable { /** * 主题颜色 */...
__label__POS
0.621742
<!doctype html> <title>CodeMirror: Language Modes</title> <meta charset="utf-8"/> <link rel=stylesheet href="../doc/docs.css"> <div id=nav> <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../doc/logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="../doc/manual.html...
__label__POS
0.999942
package ethereumj.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.math.BigInteger; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.spongycastle.util.encoders.Hex; public class ByteUtil { public static final byte[] E...
__label__POS
0.952195
package com.apress.springrecipes.court.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servle...
__label__POS
0.619345
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.885234
package ethereumj.util; import java.lang.reflect.Array; import java.math.BigInteger; import java.security.SecureRandom; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.regex.Pattern; import org.spongycastle.util.enc...
__label__POS
0.983984
// // OCMockito - MKTOngoingStubbing.h // Copyright 2014 Jonathan M. Reid. See LICENSE.txt // // Created by: Jon Reid, http://qualitycoding.org/ // Source: https://github.com/jonreid/OCMockito // #import <Foundation/Foundation.h> #import "MKTPrimitiveArgumentMatching.h" @class MKTInvocationContainer; /** Metho...
__label__POS
0.849705
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.913052
package ethereumj.crypto; import ethereumj.crypto.cryptohash.Keccak256; import ethereumj.crypto.cryptohash.Keccak512; import ethereumj.util.RLP; import ethereumj.util.Utils; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Random; import o...
__label__POS
0.97045
package ethereumj.config; import java.math.BigInteger; /** * Describes different constants specific for a blockchain * * Created by Anton Nashatyrev on 25.02.2016. */ public class Constants { private static final int MAXIMUM_EXTRA_DATA_SIZE = 32; private static final int MIN_GAS_LIMIT = 125000; private stat...
__label__POS
0.990849
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.987201
package ethereumj.crypto.jce; import java.io.IOException; import java.security.AlgorithmParameters; import java.security.NoSuchAlgorithmException; import java.security.spec.ECGenParameterSpec; import java.security.spec.ECParameterSpec; import java.security.spec.InvalidParameterSpecException; public final class ECAlgo...
__label__POS
0.785694
using System.Linq; using SportsStore.Models; using Xunit; namespace SportsStore.Tests { public class CartTests { [Fact] public void Can_Add_New_Lines() { // Arrange - create some test products Product p1 = new Product { ProductID = 1, Name = "P1" }; Product p...
__label__POS
0.638653
package ethereumj.crypto.jce; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Provider; public final class ECKeyFactory { public static final String ALGORITHM = "EC"; private static final String algorithmAssertion...
__label__POS
0.885283
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer; impor...
__label__POS
0.991504
package ethereumj.crypto.jce; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Provider; import java.security.Signature; public final class ECSignatureFactory { public static final String RAW_ALGORITHM = "NONEwithECDSA"; private static final Strin...
__label__POS
0.859937
package com.apsl.versionnumber; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.Callback; import android.content.pm.ApplicationInfo; import android.content.pm.PackageM...
__label__POS
0.951128
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.733622
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Razor.TagHelpers; using Moq; using SportsStore.Infrastructure; using SportsStore.Models.ViewModels; using Xunit; namespace SportsStore.Tests { public ...
__label__POS
0.898823
package com.appspa.update.utils; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.res.AssetFileDescriptor; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.p...
__label__POS
0.99722
package com.apress.springrecipes.court.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servle...
__label__POS
0.619345
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using SportsStore.Models.ViewModels; using System.Collections.Generic; namespace SportsStore.Infrastructure { ...
__label__POS
0.670637
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/ // Copyright 2015 hamcrest.org. See LICENSE.txt #import <OCHamcrest/HCAllOf.h> #import <OCHamcrest/HCAnyOf.h> #import <OCHamcrest/HCAssertThat.h> #import <OCHamcrest/HCConformsToProtocol.h> #import <OCHamcrest/HCDescribedAs.h> #import <OCHamcrest/HCEvery.h> ...
__label__POS
0.966762
package com.bds.microraidenj; import com.asf.microraidenj.eth.ChannelBlockObtainer; import com.asf.microraidenj.exception.TransactionNotFoundException; import com.asf.microraidenj.type.ByteArray; import io.reactivex.Observable; import io.reactivex.Single; import java.math.BigInteger; import java.util.concurrent.TimeUn...
__label__POS
0.848344
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.978639
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/ // Copyright 2017 hamcrest.org. See LICENSE.txt #import <OCHamcrest/HCAllOf.h> #import <OCHamcrest/HCAnyOf.h> #import <OCHamcrest/HCArgumentCaptor.h> #import <OCHamcrest/HCAssertThat.h> #import <OCHamcrest/HCConformsToProtocol.h> #import <OCHamcrest/HCDescri...
__label__POS
0.961426
<?php namespace Appstract\Meta; trait Metable { /** * Get all meta. * * @return object */ public function getAllMeta() { return collect($this->meta()->pluck('value', 'key')); } /** * Has meta. * * @param string $key * @return bool */ publi...
__label__POS
0.996597
package com.appspa.update.proxy.impl; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.appspa.update.entity.UpdateEntity; import com.appspa.update.service.OnFileDownloadListener; import com.appspa.update._AppSpace; import com.appspa.update.proxy.IPrompterProxy; import com.appspa.upd...
__label__POS
0.822224
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
__label__POS
0.6327
<?php namespace Appstract\Opcache; use Illuminate\Support\ServiceProvider; class OpcacheServiceProvider extends ServiceProvider { /** * Bootstrap the application services. */ public function boot() { if ($this->app->runningInConsole()) { $this->commands([ Com...
__label__POS
0.785899
package com.asf.appcoins.sdk.ads; import android.app.Application; import android.content.pm.PackageManager; /** * Created by Joao Raimundo on 01-03-2018. */ /** The interface for the Advertisement sdk */ public interface AppCoinsAds { int NETWORK_MAIN = 1; int NETWORK_ROPSTEN = 3; /** * Method that star...
__label__POS
0.917192
<?php namespace Appstract\Opcache\Commands; use Appstract\Opcache\CreatesRequest; use Illuminate\Console\Command; class Config extends Command { use CreatesRequest; /** * The console command name. * * @var string */ protected $signature = 'opcache:config'; /** * The console...
__label__POS
0.607408
package com.asf.appcoins.sdk.ads; import android.content.Context; import com.asf.appcoins.sdk.ads.poa.PoAServiceConnector; import com.asf.appcoins.sdk.ads.poa.PoAServiceConnectorImpl; import static com.asf.appcoins.sdk.ads.AppCoinsAds.NETWORK_MAIN; import static com.asf.appcoins.sdk.ads.AppCoinsAds.NETWORK_ROPSTEN; ...
__label__POS
0.981006
public final class com/appstractive/jwt/signatures/HMACKt { public static final fun hs256 (Lcom/appstractive/jwt/Signer;Lkotlin/jvm/functions/Function1;)V public static final fun hs256 (Lcom/appstractive/jwt/Verifier;Lkotlin/jvm/functions/Function1;)V public static final fun hs384 (Lcom/appstractive/jwt/Signer;Lkotl...
__label__POS
0.999671
public final class com/appstractive/jwt/signatures/HMACKt { public static final fun hs256 (Lcom/appstractive/jwt/Signer;Lkotlin/jvm/functions/Function1;)V public static final fun hs256 (Lcom/appstractive/jwt/Verifier;Lkotlin/jvm/functions/Function1;)V public static final fun hs384 (Lcom/appstractive/jwt/Signer;Lkotl...
__label__POS
0.999671
<?php namespace Appstract\Opcache\Http\Middleware; use Closure; use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Support\Facades\Crypt as Crypt; use Symfony\Component\HttpKernel\Exception\HttpException; /** * Class Request. */ class Request { /** * Handle incoming request. * ...
__label__POS
0.915803
<?php namespace Appstract\Opcache\Http\Controllers; use Appstract\Opcache\OpcacheFacade as OPcache; use Illuminate\Http\Request; use Illuminate\Routing\Controller as BaseController; /** * Class OpcacheController. */ class OpcacheController extends BaseController { /** * Clear the OPcache. * * @r...
__label__POS
0.987509
package com.asf.appcoins.sdk.ads.poa; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import net.grandcentrix.tray.AppPreferences; import static com.asf.appcoins.sdk.ads.poa.PoAServiceConnector.PARAM_WALLET_PACKAGE_NAME; import static com.asf.appcoins.sdk...
__label__POS
0.961151
public final class com/appstractive/jwt/Algorithm : java/lang/Enum { public static final field ES256 Lcom/appstractive/jwt/Algorithm; public static final field ES384 Lcom/appstractive/jwt/Algorithm; public static final field ES512 Lcom/appstractive/jwt/Algorithm; public static final field HS256 Lcom/appstractive/jw...
__label__POS
0.998846
public final class com/appstractive/jwt/Algorithm : java/lang/Enum { public static final field ES256 Lcom/appstractive/jwt/Algorithm; public static final field ES384 Lcom/appstractive/jwt/Algorithm; public static final field ES512 Lcom/appstractive/jwt/Algorithm; public static final field HS256 Lcom/appstractive/jw...
__label__POS
0.998846
package com.asf.appcoins.sdk.ads.poa.campaign; import android.support.annotation.NonNull; import io.reactivex.Single; import java.math.BigInteger; import java.util.List; public class BdsCampaignService implements CampaignService { private final String packageName; private final int versionCode; private final Ca...
__label__POS
0.989072
package com.apress.springrecipes.reactive.court; import org.springframework.stereotype.Service; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.time.LocalDate; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Objects; @Service public cla...
__label__POS
0.969135
/*! * Datepicker for Bootstrap * * Copyright 2012 Stefan Petre * Improvements by Andrew Rowls * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * */ .datepicker { padding: 4px; border-radius: 4px; direction: ltr; /*.dow { border-top: 1px solid #ddd !important; }*/ ...
__label__POS
0.992568
package com.asf.appcoins.sdk.iab; import android.app.Activity; import android.content.Intent; import com.asf.appcoins.sdk.core.transaction.Transaction.Status; import com.asf.appcoins.sdk.iab.entity.SKU; import com.asf.appcoins.sdk.iab.exception.ConsumeFailedException; import com.asf.appcoins.sdk.iab.payment.PaymentDet...
__label__POS
0.60022
package com.apress.springrecipes.reactive.court; import org.springframework.stereotype.Component; import reactor.core.publisher.Flux; import javax.annotation.PostConstruct; import java.time.LocalDate; import java.util.Arrays; import java.util.List; import java.util.Random; @Component public class RandomDataInitializ...
__label__POS
0.790564
public final class com/appstractive/jwt/signatures/PKCS1Kt { public static final fun rs256 (Lcom/appstractive/jwt/Signer;Lkotlin/jvm/functions/Function1;)V public static final fun rs256 (Lcom/appstractive/jwt/Verifier;Lkotlin/jvm/functions/Function1;)V public static final fun rs384 (Lcom/appstractive/jwt/Signer;Lkot...
__label__POS
0.99992
public final class com/appstractive/jwt/signatures/PKCS1Kt { public static final fun rs256 (Lcom/appstractive/jwt/Signer;Lkotlin/jvm/functions/Function1;)V public static final fun rs256 (Lcom/appstractive/jwt/Verifier;Lkotlin/jvm/functions/Function1;)V public static final fun rs384 (Lcom/appstractive/jwt/Signer;Lkot...
__label__POS
0.99992