content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
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.caching; import com.apress.springrecipes.caching.config.CalculationConfiguration; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationConte...
__label__POS
0.99967
module DependencyHelper module_function def macos? RbConfig::CONFIG["host_os"].include?("darwin") end def ruby_version Gem::Version.new(RUBY_VERSION) end def ruby_3_1_or_newer? ruby_version >= Gem::Version.new("3.1.0") end def ruby_3_2_or_newer? ruby_version >= Gem::Version.new("3.2....
__label__POS
0.999957
package com.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CalculationService; import com.apress.springrecipes.caching.PlainCachingCalculationService; import org.springframework.cache.ehcache.EhCacheFactoryBean; import org.springframework.cache.ehcache.EhCacheManagerFactoryBean; import or...
__label__POS
0.954191
package com.bookstore; import com.bookstore.entity.Author; import java.util.List; import com.bookstore.service.BookstoreService; import java.util.Arrays; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplica...
__label__POS
0.978531
package com.apress.springrecipes.caching; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.util.StopWatch; import com.apress.springr...
__label__POS
0.833454
package com.apress.springrecipes.caching; import org.springframework.cache.annotation.Cacheable; import java.util.HashMap; import java.util.Map; import java.util.UUID; /** * Created by marten on 18-08-14. */ public class MapBasedCustomerRepository implements CustomerRepository { private final Map<Long, Custom...
__label__POS
0.962573
package com.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CustomerRepository; import com.apress.springrecipes.caching.MapBasedCustomerRepository; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.ehc...
__label__POS
0.885044
package com.apress.springrecipes.caching; import com.apress.springrecipes.caching.config.CustomerConfiguration; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationContext;...
__label__POS
0.832668
package com.apress.springrecipes.caching; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CachePut; import org.springframework.cache.annotation.Cacheable; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.UUID; /** * Cre...
__label__POS
0.931373
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.982513
package com.apress.springrecipes.caching; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.util.StopWatch; import com.apress.springr...
__label__POS
0.910975
package com.apress.springrecipes.caching; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; import java.util.HashMap; import java.util.Map; import java.util.UUID; /** * Created by marten on 18-08-14. */ public class MapBasedCustomerRepository implements ...
__label__POS
0.948179
# frozen_string_literal: true module Appsignal # @!visibility private module Loaders class << self def loaders @loaders ||= {} end def instances @instances ||= {} end def register(name, klass) loaders[name.to_sym] = klass end def registered?(...
__label__POS
0.672583
package com.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CustomerRepository; import com.apress.springrecipes.caching.MapBasedCustomerRepository; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.ehc...
__label__POS
0.885044
<?php /** * \AppserverIo\Appserver\Core\Api\Node\ConnectionHandlersNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author ...
__label__POS
0.718558
package com.apress.springrecipes.caching; import com.apress.springrecipes.caching.config.CalculationConfiguration; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationConte...
__label__POS
0.99967
<?php /** * \AppserverIo\Appserver\Core\Api\Node\ParamsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Bernhard Wic...
__label__POS
0.771774
<?php /** * \AppserverIo\Appserver\Core\Api\Node\SecurityConstraintNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author...
__label__POS
0.650316
package com.apress.springrecipes.caching; import com.apress.springrecipes.caching.config.CalculationConfiguration; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationConte...
__label__POS
0.99967
package com.bookstore.multipleids; import java.io.Serializable; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.hibernate.MultiIdentifierLoadAccess; import org.hibernate.Session; import org.springframework.stereotype.Repository; import org.springfr...
__label__POS
0.926646
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.995256
<?php /** * AppserverIo\Appserver\Core\Api\Node\AccessesNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Johann Zelg...
__label__POS
0.633421
# frozen_string_literal: true module Appsignal class Hooks # @!visibility private class SidekiqHook < Appsignal::Hooks::Hook register :sidekiq def self.version_5_1_or_higher? @version_5_1_or_higher ||= if dependencies_present? Gem::Version.new(::Sidekiq::VERSION) >=...
__label__POS
0.987887
<?php /** * AppserverIo\Appserver\Core\Api\Node\AnalyticsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Bernhard W...
__label__POS
0.794137
package com.app; import com.app.repository.NumberRepository; import java.io.PrintWriter; 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; i...
__label__POS
0.944657
package com.pdftron.pdftronsignapp import android.graphics.Color import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.pdftron.pdftronsignapp.data.User import kotlinx.android.synthetic.main.bottom_bar_view_holder.view.* cl...
__label__POS
0.654502
package com.pdftron.pdftronsignapp.util import com.google.firebase.auth.ktx.auth import com.google.firebase.ktx.Firebase import com.pdftron.common.PDFNetException import com.pdftron.pdf.Annot import com.pdftron.pdf.Field import com.pdftron.pdf.PDFDoc import com.pdftron.pdf.annots.SignatureWidget import com.pdftron.pdf...
__label__POS
0.700369
package com.bookstore.service; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import static com.bookstore.service.AuthorSpecs.isAgeGt45; import javax.persistence.LockModeType; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Slice; import...
__label__POS
0.788966
# frozen_string_literal: true module Appsignal class CLI class Diagnose class Utils def self.username_for_uid(uid) passwd_struct = Etc.getpwuid(uid) return unless passwd_struct passwd_struct.name rescue ArgumentError # rubocop:disable Lint/SuppressedException ...
__label__POS
0.782615
<?php /** * \AppserverIo\Appserver\Core\Api\Node\RewriteMapsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Johann ...
__label__POS
0.678705
<?php /** * \AppserverIo\Appserver\Core\Api\Node\WebResourceCollectionNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @aut...
__label__POS
0.940771
package com.example; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactRootView; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * renderi...
__label__POS
0.88839
package com.app; import java.io.Serializable; import java.util.Objects; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class IdManBook implements Serializable { private static final long serialVersionUID = 1L; @Id private Long id; private String title; private Stri...
__label__POS
0.835526
<?php /** * \AppserverIo\Appserver\Core\Api\Node\VirtualHostNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim...
__label__POS
0.997962
<?php /** * AppserverIo\Appserver\Core\Api\Node\ConnectorsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Bernhard ...
__label__POS
0.728149
### 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.app; import java.io.Serializable; import java.util.Objects; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class IdBook implements Serializable { private static final long serialVersionUID ...
__label__POS
0.919818
package com.app; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class IdGenBook implements Serializable { private static final long serialVersionUID = 1L; @Id @Gen...
__label__POS
0.693874
package com.example.newarchitecture.modules; import com.facebook.jni.HybridData; import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackageTurboModuleManagerDelegate; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.soloader.SoLoader; import java.util.List; /** * Clas...
__label__POS
0.619004
<?php /** * \AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim Wagn...
__label__POS
0.995801
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
package com.pdftron.android.tutorial.customui.custom; import android.content.Context; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import androidx.annotation.NonNull; import com.pdftron.pdf.controls.PdfViewCtrlTabFragment2; import com.pdftron.pdf.controls.PdfViewCtrlTabHos...
__label__POS
0.954866
package com.pdftron.reactnative; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.pdftron.reactnative.modules.DocumentViewModule; import com.pdftron.reactnative.mo...
__label__POS
0.981778
package com.bookstore.service; import com.bookstore.projection.AuthorNameBookTitle; import com.bookstore.repository.AuthorRepository; import com.bookstore.repository.BookRepository; import java.util.List; import org.springframework.stereotype.Service; @Service public class BookstoreService { private final Author...
__label__POS
0.860335
package com.pdftron.android.tutorial.customui.custom; import android.content.Context; import androidx.annotation.NonNull; import com.pdftron.android.tutorial.customui.MainActivity; import com.pdftron.pdf.controls.PdfViewCtrlTabHostFragment2; import com.pdftron.pdf.widget.toolbar.component.DefaultToolbars; /** * Del...
__label__POS
0.664597
package com.pdftron.reactnative.viewmanagers; import com.facebook.react.uimanager.ThemedReactContext; import com.facebook.react.uimanager.ViewGroupManager; import com.facebook.react.uimanager.annotations.ReactProp; import com.pdftron.reactnative.views.PDFViewCtrlView; import javax.annotation.Nonnull; public class PD...
__label__POS
0.994613
package com.pdftron.reactnative.utils; public final class Constants { // EVENTS public static final String ON_NAV_BUTTON_PRESSED = "onLeadingNavButtonPressed"; public static final String ON_DOCUMENT_LOADED = "onDocumentLoaded"; public static final String ON_PAGE_CHANGED = "onPageChanged"; public st...
__label__POS
1.000009
package com.app; import com.app.repository.NumberRepository; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; imp...
__label__POS
0.99813
package com.bookstore.config; import net.ttddyy.dsproxy.listener.logging.SLF4JLogLevel; import net.ttddyy.dsproxy.support.ProxyDataSourceBuilder; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; import org.springframework.aop.framework.ProxyFactory; import org.spri...
__label__POS
0.862802
<!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.court.feeds; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.view.feed.AbstractAtomFeedView; import com.rometools.rome...
__label__POS
0.618514
package com.apress.springrecipes.court.feeds; import java.util.Date; import java.util.concurrent.atomic.AtomicInteger; public class TournamentContent { private static final AtomicInteger idCounter = new AtomicInteger(); private final String author; private final Date publicationDate; private final St...
__label__POS
0.970062
package com.bookstore.service; import com.bookstore.repository.BookRepository; import com.bookstore.repository.AuthorRepository; import com.bookstore.entity.Author; import com.bookstore.entity.Book; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Servic...
__label__POS
0.794218
package com.apress.springrecipes.court.feeds; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.view.feed.AbstractRssFeedView; import com.rometools.rome....
__label__POS
0.779851
<?php /** * \AppserverIo\Appserver\Core\Api\Node\ManagerNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim Wag...
__label__POS
0.781834
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
package com.bookstore.service; import com.bookstore.entity.Book; import com.bookstore.repository.BookNaturalRepository; import com.bookstore.repository.BookRepository; import java.util.Optional; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service pu...
__label__POS
0.713143
package com.apress.springrecipes.court.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.an...
__label__POS
0.841466
<?php /** * \AppserverIo\Appserver\Core\Api\Node\EnvironmentVariablesNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author ...
__label__POS
0.846746
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
package com.bookstore; import com.bookstore.service.ShoppingCartService; import com.bookstore.dto.ShoppingCartDto; import java.util.List; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org...
__label__POS
0.734234
package com.bookstore.entity; import java.io.Serializable; import javax.persistence.Embeddable; @Embeddable public class Book implements Serializable { private static final long serialVersionUID = 1L; private String title; private String isbn; private String genre; private int price; pu...
__label__POS
0.72628
package com.pdftron.standardpdfviewer; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import com.pdftron.pdf.PDFViewCtrl; import com.pdftron.pdf.config.ViewerConfig; import com.pdftron.pdf.controls.DocumentActivity; public class MainA...
__label__POS
0.666063
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
<?php /** * \AppserverIo\Appserver\Core\Api\Node\CertificatesNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Johann...
__label__POS
0.733939
package com.apress.springrecipes.court.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import com.apress.springrecipes.court.domain.Members; import ...
__label__POS
0.624567
<?php /** * AppserverIo\Appserver\Core\Api\Node\AuthenticationsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Bern...
__label__POS
0.875214
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using ApiControllers.Models; using Microsoft.Net.Http.Headers; names...
__label__POS
0.941469
var greyStyles = [ { featureType: "all", stylers: [ {saturation: '-55'}, {hue: '#555ff00'}, {gamma: '0.90'}, ] }, { featureType: 'road.highway', rules: [ {hue: -80}, {saturation: -40}, {lightness: 8.8} ] } ]; var map; var city = new google.maps.LatLng(32.08781,34.7821...
__label__POS
0.692236
using System.Collections.Generic; namespace ApiControllers.Models { public class MemoryRepository : IRepository { private Dictionary<int, Reservation> items; public MemoryRepository() { items = new Dictionary<int, Reservation>(); new List<Reservation> { ne...
__label__POS
0.717275
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
<?php /** * \AppserverIo\Appserver\Core\Api\Node\LocationsNodeTrait * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim Wagne...
__label__POS
0.657769
if(typeof Object.create!=="function"){ Object.create=function(o){ function F(){ }; F.prototype=o; return new F(); }; } var ua={toString:function(){ return navigator.userAgent; },test:function(s){ return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1; }}; ua.version=(ua.toString().toLowerCase().match(/[\s\S]+...
__label__POS
0.999868
using Microsoft.AspNetCore.Mvc; using ApiControllers.Models; namespace ApiControllers.Controllers { [Route("api/[controller]")] public class ContentController : Controller { [HttpGet("string")] public string GetString() => "This is a string response"; [HttpGet("object/{format?}")] ...
__label__POS
0.935865
import 'dart:io' show HttpClient, HttpOverrides, SecurityContext; import 'dart:math' show Random; import 'package:appspector/src/http/client.dart'; class AppSpectorHttpOverrides extends HttpOverrides { final Random _random = new Random(); @override HttpClient createHttpClient(SecurityContext? context) { re...
__label__POS
0.775747
<?php /** * \AppserverIo\Appserver\Core\Api\Node\WebAppNodeInterface * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim Wagn...
__label__POS
0.964407
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using ApiControllers.Models; using Microsoft.AspNetCore.JsonPatch; namespace ApiControllers.Controllers { [Route("api/[controller]")] public class ReservationController : Controller { private IRepository repository; public Res...
__label__POS
0.922684
package com.bookstore; import com.bookstore.entity.Book; import com.bookstore.service.BookstoreService; import java.util.List; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springfram...
__label__POS
0.992093
package com.pdftron.pdftronflutter; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.view.MenuItem; import androidx.annotation.DrawableRes; import androidx.annotation.NonNull; import androidx.annot...
__label__POS
0.689535
package com.pdftron.pdftronflutter.nativeviews; import static com.pdftron.pdftronflutter.helpers.PluginUtils.REFLOW_ORIENTATION_HORIZONTAL; import static com.pdftron.pdftronflutter.helpers.PluginUtils.REFLOW_ORIENTATION_VERTICAL; import androidx.annotation.NonNull; import com.pdftron.pdf.controls.PdfViewCtrlTabFragm...
__label__POS
0.794557
<?php /** * \AppserverIo\Appserver\Core\Api\Node\DatasourcesNode * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * PHP version 5 * * @author Tim Wagner <...
__label__POS
0.772313
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; /** * Created by marten on 16-06-14. */ @Service class InMemoryMemberService i...
__label__POS
0.977949
package com.apress.springrecipes.court.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import or...
__label__POS
0.613745
package com.bookstore; import com.bookstore.entity.Author; import java.util.List; import com.bookstore.service.BookstoreService; import java.util.Arrays; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplica...
__label__POS
0.978531
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
package com.appspector.flutter; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import io.flutter.embedding.engine.plugins.FlutterPlugin; import io.flutter.plugin.common.PluginRegistry.Registrar; import static com.appspector.flutter.MainAppSpectorHandler.internalRegister; /** * AppSpectorPl...
__label__POS
0.937379
package com.appspector.flutter.screenshot; import com.appspector.flutter.RequestSender; import com.appspector.sdk.monitors.screenshot.ScreenshotCallback; import com.appspector.sdk.monitors.screenshot.ScreenshotFactory; import java.util.HashMap; public class FlutterScreenshotFactory implements ScreenshotFactory { ...
__label__POS
0.961189
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
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fi...
__label__POS
0.944737
package com.apress.springrecipes.court.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import or...
__label__POS
0.613745
declare namespace llvm { class APInt { public constructor(numBits: number, value: number, isSigned?: boolean); } class APFloat { public constructor(value: number); } namespace LLVMConstants { const DEBUG_METADATA_VERSION: number; } namespace dwarf { namespa...
__label__POS
0.702284
package com.apress.springrecipes.court.service; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements MemberService { private fin...
__label__POS
0.944737
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
package com.apress.springrecipes.court.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import or...
__label__POS
0.613745
package com.bookstore.service; import com.bookstore.projection.AuthorNameBookTitle; import com.bookstore.repository.AuthorRepository; import com.bookstore.repository.BookRepository; import java.util.List; import org.springframework.stereotype.Service; @Service public class BookstoreService { private final Author...
__label__POS
0.955359
package com.bookstore.repository; import java.util.List; import com.bookstore.entity.Author; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactio...
__label__POS
0.638616
package com.bookstore.repository; import java.util.List; import com.bookstore.entity.Book; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactiona...
__label__POS
0.663836
package com.apress.springrecipes.court.service; import java.util.Collection; import java.util.HashMap; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.stereotype.Service; import com.apress.springrecipes.court.domain.Member; @Service class InMemoryMemberService implements Mem...
__label__POS
0.921237
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.997323