content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package com.apptentive.android.sdk.partners.apptimize; import androidx.annotation.Nullable; import com.apptentive.android.sdk.ApptentiveLog; import com.apptentive.android.sdk.ApptentiveLogTag; import com.apptentive.android.sdk.util.Invocation; import com.apptentive.android.sdk.util.RuntimeUtils; import com.apptentive...
__label__POS
0.855962
package tech.apter.junit.jupiter.robolectric.internal.plugins import org.robolectric.annotation.GetInstallerPackageNameMode import org.robolectric.plugins.GetInstallerPackageNameModeConfigurer import tech.apter.junit.jupiter.robolectric.internal.extensions.isNonStaticInnerClass internal class JUnit5GetInstallerPackag...
__label__POS
0.914942
package com.apress.springrecipes.bank; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; public class InMemoryAccountDaoTests { private static final String EXISTING_ACCOUNT_NO = "123...
__label__POS
0.745315
package com.apress.springrecipes.bank; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class InMemoryAccountDao implements AccountDao { private Map<String, Account> accounts = new ConcurrentHashMap<>(); public boolean accountExists(String accountNo) { return accounts.cont...
__label__POS
0.810289
package com.apress.springrecipes.bank; import java.util.Objects; public class Account { private final String accountNo; private double balance; /** * Default constructor because JPA demands it. */ private Account() { this(null, 0.0d); } public Account(String accountNo, dou...
__label__POS
0.944079
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org....
__label__POS
0.680765
package com.bookstore.controller; import com.bookstore.entity.Author; import com.bookstore.service.BookstoreService; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.Pa...
__label__POS
0.962261
### 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 com.apress.springrecipes.bank; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class InMemoryAccountDaoTests { private static final S...
__label__POS
0.635803
package com.apress.springrecipes.bank; import static org.junit.Assert.assertEquals; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class AccountServiceTests { private static final String TEST_ACCOUNT_NO = "1234"; private Acc...
__label__POS
0.916443
package com.bookstore.service; import com.bookstore.entity.Author; import java.util.List; import java.util.Map; import static java.util.stream.Collectors.toList; import javax.annotation.PostConstruct; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.simple.SimpleJdbcCall; import ...
__label__POS
0.618075
/* * Copyright (c) 2016, Apptentive, Inc. All Rights Reserved. * Please refer to the LICENSE file for the terms and conditions * under which redistribution and use of this file is permitted. */ package com.apptentive.android.sdk.module.engagement.logic; import com.apptentive.android.sdk.Apptentive; import com.app...
__label__POS
0.716436
package com.apress.springrecipes.bank.web; import static org.junit.Assert.assertEquals; import org.mockito.Mockito; import org.springframework.ui.ModelMap; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.apress.springrecipes.bank.AccountService; public class DepositControl...
__label__POS
0.840592
package com.apress.springrecipes.bank; import java.util.Collections; import java.util.HashMap; import java.util.Map; public class InMemoryAccountDao implements AccountDao { private Map<String, Account> accounts; public InMemoryAccountDao() { accounts = Collections.synchronizedMap(new HashMap<String,...
__label__POS
0.654529
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.978863
#include <convert.h> #include <libyuv.h> #include <libyuv/convert_from.h> #include <libyuv/scale.h> extern "C" { int __I420ToARGB(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_argb, int dst_stride_argb, int width, int height) {...
__label__POS
0.99702
package com.apress.springrecipes.bank; import java.util.Objects; public class Account { private final String accountNo; private double balance; /** * Default constructor because JPA demands it. */ private Account() { this(null, 0.0d); } public Account(String accountNo, dou...
__label__POS
0.944079
package com.apress.springrecipes.bank.config; import javax.sql.DataSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import org.spr...
__label__POS
0.68374
<!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_74) on Wed Oct 12 12:22:04 CEST 2016 --> <title>Index (roxy-rxjava2 API)</title> <meta name="date" content="2016-10-12"> <link rel="stylesheet"...
__label__POS
0.795636
package com.bookstore.repository; import com.bookstore.entity.Author; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; im...
__label__POS
0.768881
#ifndef CONVERT_H_ #define CONVERT_H_ #ifdef __cplusplus extern "C" { #endif #include <libyuv/basic_types.h> enum __FilterMode { __kFilterNone = 0, // Point sample; Fastest. __kFilterBilinear = 1, // Faster than box, but lower quality scaling down. __kFilterBox = 2 // Highest quality. }; int __I420ToARGB(...
__label__POS
0.944697
/* * Copyright (c) 2016, Apptentive, Inc. All Rights Reserved. * Please refer to the LICENSE file for the terms and conditions * under which redistribution and use of this file is permitted. */ package com.apptentive.android.sdk.module.engagement.interaction.model; import android.content.Context; import android.c...
__label__POS
0.968507
/** * Created with JetBrains PhpStorm. * User: xuheng * Date: 12-9-26 * Time: 下午1:06 * To change this template use File | Settings | File Templates. */ /** * tab点击处理事件 * @param tabHeads * @param tabBodys * @param obj */ function clickHandler( tabHeads,tabBodys,obj ) { //head样式更改 for ( var k = 0, len ...
__label__POS
0.806039
package com.ffmpegtest; import java.io.File; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Environment; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.Menu; ...
__label__POS
0.666549
package com.ffmpegtest.adapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.ffmpegtest.R; import com.ffmpegtest.adapter.VideoItem; import java.util.ArrayList; import java.util.List; import ...
__label__POS
0.737517
/** * Created with JetBrains PhpStorm. * User: xuheng * Date: 12-9-26 * Time: 下午12:29 * To change this template use File | Settings | File Templates. */ //清空上次查选的痕迹 editor.firstForSR = 0; editor.currentRangeForSR = null; //给tab注册切换事件 /** * tab点击处理事件 * @param tabHeads * @param tabBodys * @param obj */ functi...
__label__POS
0.838263
package com.bookstore.dao; import java.sql.PreparedStatement; import java.sql.Statement; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.support.GeneratedKeyHolder; import org.springframework.jdbc.support.KeyHolder; import org.springframework.stereotype.Repository; import org.springf...
__label__POS
0.697118
<!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.bank; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; public class InMemoryAccountDaoTests { private static final String EXISTING_ACCOUNT_NO = "123...
__label__POS
0.745315
package io.apptik.comm.jus.examples.volley; import android.content.Context; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.toolbox.ImageLoader; import com.android.volley.toolbox.Volley; public class VolleyHelper { private static VolleyHelper mInstance; private ...
__label__POS
0.981684
package io.apptik.comm.jus.examples.volley; import android.content.Context; import android.graphics.Bitmap; import android.support.v4.util.LruCache; import android.util.DisplayMetrics; import com.android.volley.toolbox.ImageLoader; /** * Created by Vincent on 4/17/2016. */ public class LruBitmapCache extends LruCa...
__label__POS
0.923225
package com.apress.springrecipes.bank; import java.util.Collections; import java.util.HashMap; import java.util.Map; public class InMemoryAccountDao implements AccountDao { private Map<String, Account> accounts; public InMemoryAccountDao() { accounts = Collections.synchronizedMap(new HashMap<String,...
__label__POS
0.654529
package com.apress.springrecipes.bank; import java.util.Objects; public class Account { private final String accountNo; private double balance; /** * Default constructor because JPA demands it. */ private Account() { this(null, 0.0d); } public Account(String accountNo, dou...
__label__POS
0.944079
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.converter.Converters; import io.apptik.comm.jus.ht...
__label__POS
0.89575
package io.apptik.comm.jus.examples; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestListener; import io.apptik.comm.jus.request.StringRequest; public class Requests { private Requests() { } // http://validate.jsontest.com/?json={'key':'value'} // http://echo.jsontest.com/key/v...
__label__POS
0.999922
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.converter.Converters; import io.apptik.comm.jus.ht...
__label__POS
0.989184
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.converter.Converters; import io.apptik.comm.jus.ht...
__label__POS
0.751044
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestListener; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.example...
__label__POS
0.998566
package com.apress.springrecipes.bank; import static org.junit.Assert.assertEquals; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframewor...
__label__POS
0.605377
package com.apress.springrecipes.bank; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; public class InMemoryAccountDaoTests { private static final String EXISTING_ACCOUNT_NO = "123...
__label__POS
0.745315
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.Request; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.converter.Converters; import io.apptik.comm.jus.ht...
__label__POS
0.74797
package io.apptik.comm.jus.examples; import java.io.File; import java.util.Collections; import java.util.HashSet; import java.util.Set; import io.apptik.comm.jus.Jus; import io.apptik.comm.jus.RequestQueue; import io.apptik.comm.jus.converter.BasicConverterFactory; import io.apptik.comm.jus.retro.RetroProxy; import ...
__label__POS
0.997714
package com.apress.springrecipes.bank.web; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.springframework.ui.ModelMap; import com.apress.springrecipes.bank.AccountService; public class DepositControllerTests { private static f...
__label__POS
0.938043
package com.bookstore; import com.bookstore.dto.AuthorDto; 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.springfr...
__label__POS
0.926244
package com.apress.springrecipes.bank; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class InMemoryAccountDao implements AccountDao { private Map<String, Account> accounts = new ConcurrentHashMap<>(); public boolean accountExists(String accountNo) { return accounts.cont...
__label__POS
0.810289
<!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:28:36 CET 2017 --> <title>All Classes (jus-java 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="sty...
__label__POS
0.976206
package com.apress.springrecipes.bank; import java.util.Objects; public class Account { private final String accountNo; private double balance; /** * Default constructor because JPA demands it. */ private Account() { this(null, 0.0d); } public Account(String accountNo, dou...
__label__POS
0.944079
import { CallExpression, Expression, isCallExpression, MemberExpression, } from '@babel/types'; function getCalleeStack(expression: Expression, calleeStack: string[]): void { if (expression.type === 'Identifier') { calleeStack.push(expression.name); } else if (expression.type === 'MemberExpression') ...
__label__POS
0.952048
/* * Copyright © Appus Studio LLC 2009 - 2015 */ package com.appus.splash.view; import android.content.Context; import android.util.AttributeSet; import android.widget.ImageView; /** * Created by igor.malytsky on 9/10/15. */ public class ResizeCallbackImageView extends ImageView { public interface OnSizeCha...
__label__POS
0.885449
<!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:28:36 CET 2017 --> <title>Overview List (jus-java 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="s...
__label__POS
0.619589
<!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:28:36 CET 2017 --> <title>All Classes (jus-java 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="sty...
__label__POS
0.959057
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Cities.Infrastructure.TagHelpers; using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; namespace Cities.Tests { public class TagHelperTests { [Fact] public void TestTagHelper() { // Arrange ...
__label__POS
0.983187
using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; namespace Cities.Infrastructure.TagHelpers { [HtmlTargetElement("div", Attributes = "title")] public class ContentWrapperTagHelper : TagHelper { public bool IncludeHeader { get; set; } = true; public bool ...
__label__POS
0.675535
using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; namespace Cities.Infrastructure.TagHelpers { [HtmlTargetElement("label", Attributes = "helper-for")] [HtmlTargetElement("input", Attributes = "helper-for")] public class LabelAndInputTagHelper : TagHelper { ...
__label__POS
0.824988
#include "common.h" #include "structs.h" const u8 Dir_Menu_Max_Data[10][7] = { { 1, 1, 1, 3, 1, 3, 2 }, { 1, 1, 3, 1, 1, 2, 0 }, { 1, 1, 1, 1, 1, 1, 2 }, { 1, 1, 1, 2, 0, 0, 0 }, { 1, 1, 1, 1, 2, 0, 0 }, { 1, 1, 1, 3, 2, 0, 0 }, { 1, 1, 1, 1, ...
__label__POS
0.748834
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.950352
import Ember from 'ember'; export default Ember.Route.extend({ title() { let stack = this.modelFor('stack'); return `${stack.get('handle')} Certificates`; }, model() { let stack = this.modelFor('stack'); return stack.get('certificates'); }, setupController(controller, model) { let stack...
__label__POS
0.952016
# http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/07/hey-scripting-guy-how-can-i-change-my-desktop-monitor-resolution-via-windows-powershell.aspx Function Set-ScreenResolution { param ( [Parameter(Mandatory=$true, Position = 0)] [int] $Width, [Parameter(Mandatory=$true, Position...
__label__POS
0.658564
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.connection.JmsTransactionManager; impo...
__label__POS
0.827982
package com.bookstore; import com.bookstore.service.BookstoreService; import com.vladmihalcea.concurrent.aop.OptimisticConcurrencyControlAspect; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.springframework.boot.ApplicationRunner; i...
__label__POS
0.795906
// // Created by Matthew Smith on 10/30/17. // #import "MapAnnotation.h" #import "UIColor+Extensions.h" #import "MarkerIcon.h" @implementation MapAnnotation { } - (instancetype) initWithDictionary:(NSDictionary *)dictionary { self = [super init]; if (self) { self.identifier = dictionary[@"id"]; ...
__label__POS
0.652844
import Foundation /// A Nimble matcher that succeeds when the actual value is greater than the expected value. public func beGreaterThan<T: Comparable>(_ expectedValue: T?) -> NonNilMatcherFunc<T> { return NonNilMatcherFunc { actualExpression, failureMessage in failureMessage.postfixMessage = "be greater ...
__label__POS
0.641693
<!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:30:17 CET 2017 --> <title>All Classes (jus-android 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="...
__label__POS
0.918705
package com.apress.springrecipes.post; import java.util.Locale; import java.util.Random; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import com.apress.springrecipes.post.config.FrontOfficeConfiguration; public class FrontDe...
__label__POS
0.999852
export interface IAppType { type: string; title: string; pubType: string; icon: string; description: string; } export const webAppTypes: IAppType[] = [ { type: 'web-mpa', title: 'MPA', pubType: 'web', icon: 'https://gw.alicdn.com/tfs/TB1Qx3Feq61gK0jSZFlXXXDKFXa-200-200.svg', description...
__label__POS
0.689941
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.connection.JmsTransactionManager; impo...
__label__POS
0.827982
<!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_74) on Wed Oct 12 12:22:21 CEST 2016 --> <title>io.apptik.rhub (rxHub API)</title> <meta name="date" content="2016-10-12"> <link rel="styleshee...
__label__POS
0.763426
<!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:30:17 CET 2017 --> <title>All Classes (jus-android 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="...
__label__POS
0.895099
package com.apptreesoftware.mapview import com.google.android.gms.maps.model.LatLng open class MapPolygon(val identifier: String, val points: ArrayList<LatLng>, val holes: ArrayList<Hole>, val strokeWidth: Float, val fillColor: Int, val strokeColor: Int, val jointType: Int) { companion objec...
__label__POS
0.916218
package com.apptreesoftware.mapview import android.Manifest import android.annotation.SuppressLint import android.content.pm.PackageManager import android.content.res.AssetFileDescriptor import android.graphics.Bitmap import android.graphics.BitmapFactory import android.os.Bundle import android.support.v4.app.Activity...
__label__POS
0.612089
package com.apptreesoftware.mapview import android.graphics.Color import com.google.android.gms.maps.model.LatLng open class MapAnnotation(val identifier: String, val title: String, val coordinate: LatLng, val rotation: Double, val icon: MarkerIcon?, val color: Int, val draggable: Boolean) { ...
__label__POS
0.946226
package com.apptreesoftware.mapview import android.graphics.Color import android.util.Log import com.google.android.gms.maps.model.JointType import com.google.android.gms.maps.model.LatLng open class MapPolyline(val identifier: String, val points: ArrayList<LatLng>, val width: Float, val color:...
__label__POS
0.973141
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.core.JmsTemplate; import com.apress.s...
__label__POS
0.983015
package com.app; import com.app.service.CategoryService; import com.app.dto.CategoryDto; import java.util.List; import java.util.logging.Logger; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; imp...
__label__POS
0.953282
package com.app.service; import com.app.dao.Dao; import com.app.dto.CategoryDto; import com.app.entity.BottomCategory; import com.app.entity.MiddleCategory; import com.app.entity.TopCategory; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transac...
__label__POS
0.943986
import Foundation /// A Nimble matcher that succeeds when the actual value is less than /// or equal to the expected value. public func beLessThanOrEqualTo<T: Comparable>(_ expectedValue: T?) -> NonNilMatcherFunc<T> { return NonNilMatcherFunc { actualExpression, failureMessage in failureMessage.postfixMess...
__label__POS
0.67079
import Foundation /// A Nimble matcher that succeeds when the actual value is less than the expected value. public func beLessThan<T: Comparable>(_ expectedValue: T?) -> NonNilMatcherFunc<T> { return NonNilMatcherFunc { actualExpression, failureMessage in failureMessage.postfixMessage = "be less than <\(st...
__label__POS
0.652344
package com.app.dao; import com.app.dto.CategoryDto; import java.io.Serializable; import java.util.List; import java.util.Objects; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.stereotype.Repository; import org.springfram...
__label__POS
0.888
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import javax.jms.Queue; import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.command.ActiveMQQueue; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configurat...
__label__POS
0.89117
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.6172
<!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:30:15 CET 2017 --> <title>All Classes (rx-jus 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="style...
__label__POS
0.701024
<!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_74) on Wed Oct 12 12:22:21 CEST 2016 --> <title>io.apptik.roxy (rxHub API)</title> <meta name="date" content="2016-10-12"> <link rel="styleshee...
__label__POS
0.756718
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.997397
package kubernetes import ( "errors" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/intstr" "github.com/appvia/tako/pkg/tako/config" ) func LivenessProbeToV1Probe(lp config.LivenessProbe) (*v1.Probe, error) { lp.SuccessThreshold = config.DefaultProbeSuccessThreshold return v1probe(lp.Type, lp.ProbeConf...
__label__POS
0.848513
<!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:30:15 CET 2017 --> <title>All Classes (rx-jus 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="style...
__label__POS
0.690213
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.connection.JmsTransactionManager; impo...
__label__POS
0.827982
<!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_74) on Wed Oct 12 12:22:21 CEST 2016 --> <title>io.apptik.rhub.shield (rxHub API)</title> <meta name="date" content="2016-10-12"> <link rel="st...
__label__POS
0.616487
package com.bookstore.wrapper; import com.bookstore.dto.BookDto; import com.bookstore.entity.Book; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.data.util.Streamable; public class Books implements Streamable<Book> { private ...
__label__POS
0.808008
RSpec.describe Krane::Report::RiskRule::Query::RuleSelector do describe '#selectors' do subject { described_class.new(attrs) } context 'for resource specific rules' do context 'with apiGroups specified' do let(:attrs) do { apiGroups: ['g1', 'g2'], resources...
__label__POS
0.649272
package com.apress.springrecipes.post; import javax.jms.JMSException; import javax.jms.MapMessage; import javax.jms.Message; import javax.jms.Session; import org.springframework.jms.support.converter.MessageConversionException; import org.springframework.jms.support.converter.MessageConverter; public class MailMessa...
__label__POS
0.841674
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.connection.JmsTransactionManager; impo...
__label__POS
0.644171
package com.bookstore; import com.bookstore.auditor.AuditorAwareImpl; import com.bookstore.service.BookstoreService; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cont...
__label__POS
0.923259
package com.bookstore.service; import com.bookstore.repository.AuthorRepository; import com.bookstore.entity.Author; import com.bookstore.entity.Book; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class BookstoreS...
__label__POS
0.850958
#include "common.h" const u8 Ex_Menu_Max_Data[4][8] = { { 5, 6, 6, 3, 1, 1, 0, 0 }, { 2, 2, 10, 10, 16, 16, 3, 0 }, { 4, 4, 3, 3, 0, 0, 0, 0 }, { 1, 1, 1, 1, 1, 1, 0, 0 } }; const u8 Ex_Account_Data[4] = { 0, 8, 16, 24 }; const u8 Ex_Page_Data[4] = { 7, 7, 4, 6 }; s8* Ex_Letter_Data[4][7][17] = { { {...
__label__POS
0.780164
package com.bookstore.entity; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Entity public class Book extends BaseEntity<String> implements Serializable { private static final long serialV...
__label__POS
0.658829
<!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:31:02 CET 2017 --> <title>Index (jus-okhttp3 0.6.9 API)</title> <meta name="date" content="2017-01-10"> <link rel="styles...
__label__POS
0.622915
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.core.JmsTemplate; import com.apress.s...
__label__POS
0.981848
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","...
__label__POS
0.999779
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","...
__label__POS
0.999863
package com.apress.springrecipes.post.config; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jms.annotation.EnableJms; import org.sprin...
__label__POS
0.816884