content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package org.approvaltests.inline; import com.spun.util.StringUtils; import com.spun.util.io.FileUtils; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.core.ApprovalReporterWithCleanUp; import org.approvaltests.namer.StackTraceNamer; import org.lambda.functions.Function2; import org.lamb...
__label__POS
0.863401
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace Commands ...
__label__POS
0.745543
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace Commands ...
__label__POS
0.750141
package org.approvaltests.reporters; import com.spun.util.tests.TestUtils; import org.approvaltests.core.ApprovalFailureReporter; import java.awt.GraphicsEnvironment; public class ImageWebReporter implements ApprovalFailureReporter { public static final ImageWebReporter INSTANCE = new ImageWebReporter(); @Overri...
__label__POS
0.926181
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
---------------------------------------------------------------------- -- argumentos file_name_frames = arg[1] origin_directory = arg[2] destiny_directory = arg[3] origin_numstates = tonumber(arg[4]) dest_numstates = tonumber(arg[5]) espace_index = 53 ------------------------------...
__label__POS
0.689139
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 org.approvaltests.reporters; import com.spun.util.ClassUtils; import com.spun.util.MapBuilder; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.reporters.intellij.IntelliJReporter; import org.approvaltests.reporters.linux.MeldMergeReporter; import org.approvaltests.reporters.maco...
__label__POS
0.812456
package org.approvaltests.reporters; import com.spun.util.ArrayUtils; import org.approvaltests.reporters.DiffInfo.One; import java.util.List; public class DiffPrograms { private static final List<String> TEXT = GenericDiffReporter.TEXT_FILE_EXTENSIONS; private static final List<String> IMAGE =...
__label__POS
0.999893
package org.approvaltests.reporters; import com.spun.util.SystemUtils; import com.spun.util.WindowUtils; import com.spun.util.logger.SimpleLogger; import org.approvaltests.core.ApprovalFailureReporter; import java.awt.*; import java.io.File; /** * A getReporter which creates the command to accept the received * fi...
__label__POS
0.988312
package org.approvaltests.reporters; import com.spun.util.SystemUtils; import com.spun.util.ThreadUtils; import com.spun.util.io.FileUtils; import com.spun.util.logger.SimpleLogger; import org.approvaltests.core.ApprovalFailureReporter; import java.io.File; import java.text.MessageFormat; import java.util.ArrayList; ...
__label__POS
0.971316
package org.approvaltests.reporters; import com.spun.util.ObjectUtils; import java.util.ArrayList; public class MultipleExceptions extends RuntimeException { private static final long serialVersionUID = 1L; private ArrayList<Throwable> exceptions; public MultipleExceptions(ArrayList<Throwable> exceptions) ...
__label__POS
0.990156
package org.approvaltests.reporters; import com.spun.util.io.FileUtils; import org.approvaltests.Approvals; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.core.VerifyResult; import java.io.File; public class AutoApproveWhenEmptyReporter implements ReporterWithApprovalPower { privat...
__label__POS
0.99441
package org.approvaltests.reporters; import com.spun.util.StringUtils; import com.spun.util.WindowUtils; import org.approvaltests.core.ApprovalFailureReporter; import java.awt.*; /** * A getReporter which creates the command to accept the received * file as the approve file and copies it to the clipboard:<br> * <...
__label__POS
0.892363
package org.approvaltests.reporters; import com.spun.util.ArrayUtils; import java.io.File; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Objects; public class DiffInfo { private static final String[] WINDOWS_PROGRAM_FILES = loadProgramFilesPaths(); public String ...
__label__POS
0.997232
#import "AMACore.h" #import "AMAAdRevenueInfoModelValidator.h" #import "AMAAdRevenueInfoModel.h" #import "AMAAdRevenueInfoProcessingLogger.h" #import "AMAErrorsFactory.h" @interface AMAAdRevenueInfoModelValidator () @property (nonatomic, strong, readonly) AMAAdRevenueInfoProcessingLogger *logger; @end @implementat...
__label__POS
0.608085
package org.approvaltests.reporters; import com.spun.util.ObjectUtils; import com.spun.util.io.FileUtils; import org.approvaltests.core.ApprovalFailureReporter; import org.testng.Assert; import java.io.File; public class TestNgReporter implements ApprovalFailureReporter { public static final TestNgReporter INSTANC...
__label__POS
0.999946
package org.approvaltests.reporters; import com.spun.util.io.FileUtils; import com.spun.util.persistence.ExecutableCommand; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.core.ApprovalReporterWithCleanUp; import org.approvaltests.core.Options; import java.io.File; public class Execut...
__label__POS
0.808609
package org.approvaltests.reporters; import org.approvaltests.core.ApprovalFailureReporter; import org.lambda.query.Queryable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; public class MultiReporter implements ApprovalFailureReporter { private final Collection<ApprovalFailureRe...
__label__POS
0.884694
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.743066
package org.approvaltests.reporters; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.core.VerifyResult; public class FirstWorkingReporter implements ReporterWithApprovalPower { private final ApprovalFailureReporter[] reporters; private VerifyResult approvalOutcom...
__label__POS
0.989486
package org.approvaltests.reporters; import com.spun.util.SystemUtils; import com.spun.util.io.FileUtils; import com.spun.util.logger.SimpleLogger; import org.approvaltests.core.ApprovalFailureReporter; import org.approvaltests.internal.logs.LoggingUtils; import java.io.File; public class ReporterThatCreatesAnApprov...
__label__POS
0.903739
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.991674
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace ControlTe...
__label__POS
0.810469
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.MediaType; import org.springframework.web.accept.ContentNegotiationManager; import org.springframework.web.servlet.config.annot...
__label__POS
0.68565
package org.approvaltests.scrubbers; import com.spun.util.StringUtils; import org.approvaltests.core.Scrubber; import org.lambda.functions.Function1; import java.util.HashMap; import java.util.Map; import java.util.regex.Pattern; public class RegExScrubber implements Scrubber { private final Pattern ...
__label__POS
0.89858
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 org.approvaltests.combinations.pairwise; import org.lambda.query.Query; import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Objects; import java.util.Random; import java.util.Set; public class Case { private final LinkedHashMap<Strin...
__label__POS
0.976216
package org.approvaltests.combinations.pairwise; import org.lambda.query.Query; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; public class Pairwise implements Iterable<Case> { private final Lis...
__label__POS
0.949346
package org.approvaltests.combinations.pairwise; import com.spun.util.Tuple; import org.lambda.query.Counter; import org.lambda.query.Query; import org.lambda.query.Queryable; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.str...
__label__POS
0.910606
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.984721
#import "AMAAttributeUpdateNamePrefixValidator.h" #import "AMAUserProfileLogger.h" #import "AMAAttributeNameProvider.h" #import "AMAAttributeUpdate.h" @interface AMAAttributeUpdateNamePrefixValidator () @property (nonatomic, copy, readonly) NSString *forbiddenPrefix; @end @implementation AMAAttributeUpdateNamePref...
__label__POS
0.688911
package org.approvaltests.reporters.intellij; import org.approvaltests.reporters.DiffInfo; import org.approvaltests.reporters.GenericDiffReporter; import java.lang.ProcessHandle; import java.util.HashSet; import java.util.Optional; import java.util.Set; public class IntelliJReporter extends GenericDiffReporter { p...
__label__POS
0.958939
// <copyright file="TemplatePartExtensions.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System.Linq; // ReSharper disable CheckNamespace namespace Microsoft.AspNetCore.Routing.Template // ReSharper restore CheckNamespace { public st...
__label__POS
0.633595
package org.approvaltests.utils.parseinput; import com.spun.util.Tuple; import org.lambda.functions.Function1; import org.lambda.query.Queryable; public class ParseInputWith1Parameters<OUT> { private final String expected; private final ParseInput.ParseInputOptions options; private final F...
__label__POS
0.806199
package com.bookstore.controller; import com.bookstore.entity.Author; import com.bookstore.service.BookstoreService; import org.springframework.data.domain.Page; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.a...
__label__POS
0.969322
package org.approvaltests.utils.parseinput; import com.spun.util.Tuple; import org.lambda.functions.Function1; import org.lambda.functions.Function2; import org.lambda.query.Queryable; public class ParseInputWith2Parameters<IN1, IN2> { private final String expected; private final Funct...
__label__POS
0.65362
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 com.bookstore.entity; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Author implements Serializable { private static final long serialVersionUID = 1L; @I...
__label__POS
0.685725
#import "AMACustomAttributeUserProfileUpdateProvider.h" #import "AMAAttributeUpdate.h" #import "AMAUserProfileUpdate.h" #import "AMAAttributeUpdateNamePrefixValidator.h" #import "AMAAttributeUpdateNameLengthValidator.h" #import "AMAAttributeUpdateCountValidator.h" @implementation AMACustomAttributeUserProfileUpdatePr...
__label__POS
0.745705
#include "initial_sfm.h" using namespace std; using namespace Eigen; // For a point in one frame; Note: P[3*4] = K*[R|t] and Pi[1*4] // z * [u v 1]^T = P[3*4] * X[4*1]; ====> // [u v 1]^T × P * X = 0; ====> // P0 - u*P2 = 0; // P1 - v*P2 = 0; // reference: https://zhuanlan.zhihu.com/p/63179478 // Pose0,Pose1 将3D点从...
__label__POS
0.611205
package com.ds.avare.content; import android.content.ContentProvider; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.ds.avare.storage.Preferences; /** * Created by zkhan on 3/10/17. *...
__label__POS
0.995016
package com.app.chunklist; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; public class MainApplication { public static void main(String[] args) { List<Integer> list = new ArrayList<>(); for (int i = 1; i <= 1_000_000; i++) { list.add(i); ...
__label__POS
0.999774
package com.ds.avare.content; import android.content.Context; import android.database.sqlite.SQLiteDatabase; /** * Created by zkhan on 3/13/17. */ public class UserDatabaseHelper extends MainDatabaseHelper { private static final String DBNAME = "user.db"; private static final int DB_VERSION = 3; publ...
__label__POS
0.841827
package com.app.chunklist; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collector; import java.util.stream.Collectors; public final class Lists { private Lists() { throw new AssertionError(); ...
__label__POS
0.811799
package com.ds.avare.content; import android.content.ContentUris; import android.net.Uri; /** * Created by zkhan on 3/13/17. */ public class WeatherContract { public static final String AUTHORITY = "com.ds.avare.provider.weather"; public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY...
__label__POS
1.000009
package com.ds.avare.content; import android.content.ContentResolver; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkhan on 3/10/17. */ public class ProceduresProvider extends MainProvider { publ...
__label__POS
0.946642
package com.ds.avare.content; import android.content.ContentResolver; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkh...
__label__POS
0.740066
package com.ds.avare.content; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import com.ds.avare.flight.Aircraft; import com.ds.avare.flight.Checklist; import com.ds.avare.flight.WeightAndBalance; import com.ds.avare.place.Obstacle; import com.ds.avare.plan.Cifp;...
__label__POS
0.846196
// <copyright file="MetricsHttpContextExtensions.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; // ReSharper disable CheckNamespace namespace Microsoft.AspNetCore.Http // ReSharper restore CheckNamespace { public static cl...
__label__POS
0.702018
package com.ds.avare.content; import android.content.ContentResolver; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkhan on 3/10/17. */ public class ObstaclesProvider extends MainProvider { publi...
__label__POS
0.945709
package com.ds.avare.content; import android.content.ContentResolver; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkhan on 3/10/17. */ public class LocationProvider extends MainProvider { public...
__label__POS
0.989505
package com.ds.avare.content; import android.content.ContentResolver; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkhan on 3/10/17. */ public class GameTfrProvider extends MainProvider { public ...
__label__POS
0.946157
package com.ds.avare.content; import android.content.ContentResolver; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; /** * Created by zkh...
__label__POS
0.789358
package com.bookstore; import com.bookstore.projection.AuthorNameAge; 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 o...
__label__POS
0.858994
package com.ds.avare.content; import android.net.Uri; /** * Created by zkhan on 3/13/17. */ public class ProceduresContract { public static final String AUTHORITY = "com.ds.avare.provider.procedures"; public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); public static final St...
__label__POS
1.00001
package com.apress.springrecipes.court.web.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.se...
__label__POS
0.619553
#import "AMAGenericStringKeyValueStorageProvider.h" #import "AMAStringDatabaseKeyValueStorageConverter.h" #import "AMASyncKeyValueStorageDataProvider.h" #import "AMAInMemoryKeyValueStorageDataProvider.h" #import "AMAKeyValueStorage.h" #import "AMACachingKeyValueStorage.h" @interface AMAGenericStringKeyValueStoragePro...
__label__POS
0.657364
package com.ds.avare.content; import android.content.ContentUris; import android.net.Uri; /** * Created by zkhan on 3/13/17. */ public class UserContract { public static final String AUTHORITY = "com.ds.avare.provider.user"; public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); ...
__label__POS
1.000008
package com.ds.avare.content; import android.net.Uri; /** * Created by zkhan on 3/13/17. */ public class LocationContract { public static final String AUTHORITY = "com.ds.avare.provider.location"; public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); public static final String...
__label__POS
1.000009
#import <Foundation/Foundation.h> #import "AMADatabaseObjectProviderBlock.h" @protocol AMAKeyValueStorageProviding; @protocol AMADatabaseKeyValueStorageProviding; @protocol AMAKeyValueStorageConverting; @protocol AMAFileStorage; @protocol AMAKeyValueStorageDataProviding; @interface AMAKeyValueStorageProvidersFactory...
__label__POS
0.728774
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.Arrays; import org.springframework.stereotype.Service; @Service public class BookstoreService { privat...
__label__POS
0.935417
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 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.992009
<?php /** * CMB taxonomy_select_hierarchical field type * * @since 2.6.1 * * @category WordPress_Plugin * @package CMB2 * @author CMB2 team * @license GPL-2.0+ * @link https://cmb2.io */ class CMB2_Type_Taxonomy_Select_Hierarchical extends CMB2_Type_Taxonomy_Select { /** * Parent term ID whe...
__label__POS
0.658208
package com.app; import com.app.repository.NumberRepository; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.logging.Level; import java.util.logging.Logger; import javax.sql.DataSource; import org.springframework.boot.ApplicationRunner; import org.springframework.bo...
__label__POS
0.961796
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
#import <AppMetricaStorageUtils/AppMetricaStorageUtils.h> #import "AMAMigrationUtils.h" #import "AMAStorageKeys.h" #import "AMADatabaseProtocol.h" #import "AMAOptionalBool.h" #import <AppMetricaFMDB/AppMetricaFMDB.h> @implementation AMAMigrationUtils + (BOOL)addColumn:(NSString *)columnName toTable:(NSStri...
__label__POS
0.602561
package com.ds.avare.place; import android.os.AsyncTask; import com.ds.avare.StorageService; import com.ds.avare.content.LocationContentProviderHelper; import com.ds.avare.utils.Helper; /** * Created by zkhan on 1/18/17. */ public class GpsDestination extends Destination { public GpsDestination(String name)...
__label__POS
0.726932
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.991674
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; using System.Windows...
__label__POS
0.863057
package com.apress.springrecipes.court.service; import com.apress.springrecipes.court.domain.Player; import com.apress.springrecipes.court.domain.Reservation; import com.apress.springrecipes.court.domain.SportType; import org.springframework.stereotype.Service; import java.time.LocalDate; import java.util.ArrayList; ...
__label__POS
0.971257
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.813396
#import "AMACore.h" #import "AMABinaryDatabaseKeyValueStorageConverter.h" @implementation AMABinaryDatabaseKeyValueStorageConverter - (BOOL)boolForObject:(NSData *)object { if (object.length != sizeof(uint8_t)) { AMALogError(@"Invalid data for 'uint8_t': %@", object); return NO; } return ...
__label__POS
0.893813
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.obj.Book; import org.springframework.stereotype.Service; import com.bookstore.repository.AuthorRepository; @Service public class BookstoreService { private final AuthorRepository authorRepository; public BookstoreService...
__label__POS
0.762252
<?php $path_extra = dirname(dirname(dirname(__FILE__))); $path = ini_get('include_path'); $path = $path_extra . PATH_SEPARATOR . $path; ini_set('include_path', $path); /** * Require the OpenID consumer code. */ require_once "Auth/OpenID/Consumer.php"; /** * Require the "file store" module, which we'll need to sto...
__label__POS
0.792107
package com.bookstore.service; import com.bookstore.entity.AuthorDeep; import com.bookstore.entity.AuthorShallow; import com.bookstore.repository.AuthorDeepRepository; import java.io.File; import java.io.IOException; import java.nio.file.Files; import org.springframework.stereotype.Service; import org.springframework....
__label__POS
0.658359
#import "AMASyncKeyValueStorageDataProvider.h" #import "AMADatabaseProtocol.h" @interface AMASyncKeyValueStorageDataProvider () @property (nonatomic, copy, readonly) AMAKVSProviderSource providerSource; @end @implementation AMASyncKeyValueStorageDataProvider - (instancetype)initWithUnderlyingProviderSource:(AMAKV...
__label__POS
0.758396
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.991905
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
### 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.bookstore.controller; import com.bookstore.spring.dto.AuthorDto; import com.bookstore.spring.dto.SimpleAuthorDto; import com.bookstore.service.BookstoreService; import java.util.List; import java.util.Set; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annota...
__label__POS
0.880175
#import "AMAAppEnvironmentValidator.h" #import "AMAAppMetrica+Internal.h" #import "AMAInternalEventsReporter.h" #import "AMAEnvironmentLimiter.h" @interface AMAAppEnvironmentValidator () @property (nonatomic, strong, readonly) AMAInternalEventsReporter *reporter; @end @implementation AMAAppEnvironmentValidator - ...
__label__POS
0.722096
package com.bookstore.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.bookstore.spring.dto.AuthorDto; import com.bookstore.spring.dto.SimpleAuthorDto; import com.bookstore.entity.Author; import java.util.Set; ...
__label__POS
0.960148
package com.bookstore.transform.dto; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.stereotype.Component; @Component public class AuthorTransformer { public List<AuthorDto> transform(List<Object[]> rs) { final Map<Long, Autho...
__label__POS
0.992356
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 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.992933
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class BookstoreService { private final AuthorRepository authorReposi...
__label__POS
0.745294
package com.apress.springrecipes.court.service; import com.apress.springrecipes.court.domain.Player; import com.apress.springrecipes.court.domain.Reservation; import com.apress.springrecipes.court.domain.SportType; import java.util.ArrayList; import java.util.GregorianCalendar; import java.util.List; public class R...
__label__POS
0.997635
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.617358
/* Copyright (c) 2012, Apps4Av Inc. (apps4av.com) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions an...
__label__POS
0.630051
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
__label__POS
0.93719
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import java.util.logging.Logger; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transacti...
__label__POS
0.711993
<!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
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
__label__POS
0.798222
<?php /** * Miscellaneous utility values and functions for OpenID and Yadis. * * @package OpenID * @author JanRain, Inc. <openid@janrain.com> * @copyright 2005 Janrain, Inc. * @license http://www.gnu.org/copyleft/lesser.html LGPL */ function Services_Yadis_getUCSChars() { return array( arr...
__label__POS
0.797065
package com.bookstore; import com.bookstore.service.ShoppingCartService; import com.bookstore.entity.ShoppingCart; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.contex...
__label__POS
0.984966
package com.ds.avare.utils; import androidx.exifinterface.media.ExifInterface; import java.io.FileInputStream; /** * Created by zkhan on 3/14/17. */ public class PngCommentReader { public static float[] readPlate(String fileName) { ExifInterface exif; try { exif = new ExifInterf...
__label__POS
0.977479
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 com.apress.springrecipes.court.config; import com.apress.springrecipes.court.service.ReservationNotAvailableException; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.HandlerExceptionResolver; import org.spr...
__label__POS
0.864186