content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package com.ds.avare.utils; import net.sf.jweather.metar.Metar; import net.sf.jweather.metar.MetarParser; import net.sf.jweather.metar.SkyCondition; import java.util.ArrayList; /** * Created by zkhan on 12/12/15. */ public class MetarFlightCategory { public static String getFlightCategory(String stationId, S...
__label__POS
0.930382
function ls(a){ var x={}; for(i in *a){ try{ x[i] = (*a)[i]; } catch(e){} } return x; } NSLog_ = dlsym(RTLD_DEFAULT, "NSLog") NSLog = function() { var types = 'v', args = [], count = arguments.length; for (var i = 0; i != count; ++i) { types += '@'; args.push(arguments[i]); } new Functor(NSLog_, types).apply(null, arg...
__label__POS
0.637884
package helper import ( "fmt" gosundheit "github.com/AppsFlyer/go-sundheit" ) type CheckWaiter struct { completedChan chan string } func NewCheckWaiter() *CheckWaiter { return &CheckWaiter{ completedChan: make(chan string), } } func (c *CheckWaiter) OnCheckRegistered(_ string, _ gosundheit.Result) {} func ...
__label__POS
0.893809
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.Data; ...
__label__POS
0.671745
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 DataBindi...
__label__POS
0.774372
package com.bookstore; import com.bookstore.ds1.BookService; import com.bookstore.ds2.AuthorService; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.B...
__label__POS
0.991812
package com.apress.springrecipes.court.service; import com.apress.springrecipes.court.domain.PeriodicReservation; 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....
__label__POS
0.645964
package com.ds.avare.utils; import com.ds.avare.weather.WindsAloft; import java.util.Locale; /** * @author pasniak */ public class WindsAloftHelper { /** * Wind decoder: public interface * @param wa * @param upToAltitude * @return HTML fragment with a table containing decoded Winds Aloft ...
__label__POS
0.951953
using System.Linq; using Filters.Infrastructure; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Filters; using Moq; using Xunit; namespace Tests { public class FilterTests { [Fact] public void TestHttps...
__label__POS
0.992097
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 Filters.Infrastructure; namespace Filters { public class S...
__label__POS
0.982383
#if __has_include("AppMetricaNetwork.h") #import "AMAGenericRequest.h" #import "AMAHTTPRequestor.h" #import "AMAHTTPRequestsFactory.h" #import "AMAHTTPSessionProvider.h" #import "AMAHostExchangeRequestProcessor.h" #import "AMAHostExchangeResponseValidating.h" #import "AMANetworkSessionProvi...
__label__POS
0.977219
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Globalization; using System.Windows.Data; using StoreDatabase; namespace DataBinding { public class NoBlankProductRule : ValidationRule { public override ValidationResult V...
__label__POS
0.961752
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Filters.Infrastructure { public class ViewResultDetailsAttribute : ResultFilt...
__label__POS
0.732668
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
using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; namespace Filters.Infrastructure { public class TimeFilter : IAsyncActionFilter, IAsyncResultFilter { private ConcurrentQueue<double> actionTimes = new C...
__label__POS
0.863691
// FINAL package com.apress.springrecipes.court.web; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class MeasurementInterceptor implements HandlerInte...
__label__POS
0.936169
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.99811
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.983723
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.prospring5.ch16.init; import com.apress.prospring5.ch16.config.DataServiceConfig; import com.apress.prospring5.ch16.config.SecurityConfig; import com.apress.prospring5.ch16.config.WebConfig; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.filter.HiddenHt...
__label__POS
0.761745
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.appsecco.vyapi.misc; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.appsecco.vyapi.contacts.Contact; public class ContactDBHandler extends SQLiteOpenHelper { private static fin...
__label__POS
0.986059
package com.appsecco.vyapi.contacts; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import java.util.List; public class ContactViewModel extends AndroidViewModel { priv...
__label__POS
0.629
package com.appsecco.vyapi.contacts; import android.content.Context; import android.os.AsyncTask; import androidx.annotation.NonNull; import androidx.room.Database; import androidx.room.Room; import androidx.room.RoomDatabase; import androidx.sqlite.db.SupportSQLiteDatabase; @Database(entities = {Contact.class}, ver...
__label__POS
0.933473
package com.appsecco.vyapi.contacts; import android.app.Application; import android.os.AsyncTask; import androidx.lifecycle.LiveData; import java.util.List; public class ContactRepository { private ContactDAO contactDAO; private LiveData<List<Contact>> allContacts; private Contact singleContact; p...
__label__POS
0.851083
package com.appsecco.vyapi.provider; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; public class CaptureImageFileProvider extends ContentProvider { private static final String AUTHORITY = "co...
__label__POS
0.815707
package com.appsecco.vyapi.provider; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; import com.appsecco.vyapi.misc.ContactDBHandler; public clas...
__label__POS
0.884449
package com.apress.prospring5.ch16.services; import com.apress.prospring5.ch16.entities.Singer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; import java.util...
__label__POS
0.894958
<?php /* *------------------------------------------------------------------------------------------ MySQL Library Built on the technologies developed and maintained by April-Child.com Copyright (c)2007 Petr Krontorad, April-Child.com. Author: Petr Krontorad, petr@krontorad.com All rights reserved. *-------...
__label__POS
0.912788
<?php /* *------------------------------------------------------------------------------------------ Pg Library Built on the technologies developed and maintained by April-Child.com Copyright (c)2007 Petr Krontorad, April-Child.com. Author: Petr Krontorad, petr@krontorad.com All rights reserved. *----------...
__label__POS
0.969708
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.prospring5.ch16.repos; import com.apress.prospring5.ch16.entities.Singer; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.annotation.Dir...
__label__POS
0.840449
(ns mate-clj.core) (def ^:private ^:const arrow-str "=>") (defn- println-macro [threaded result] `(println (quote ~threaded) ~arrow-str ~result)) (defmacro d-> [x & forms] (loop [x x, forms forms, macro-expansion (list)] (if forms (let [form (first forms) threaded (if (seq? form) ...
__label__POS
0.786614
/* 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.785463
#include "pch.h" #include <kf/DoubleLinkedList.h> using namespace kf; struct TestNode { int value = 0; DoubleLinkedListEntry entry; explicit TestNode(int v) : value(v) { } }; using List = DoubleLinkedList<TestNode, &TestNode::entry>; using Iterator = DoubleLinkedListIterator<TestNode, &TestN...
__label__POS
0.973728
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.apress.prospring5.ch16.services; import com.apress.prospring5.ch16.entities.Singer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; import java.util...
__label__POS
0.894958
package com.bookstore.service; import com.bookstore.dto.AuthorDto; import com.bookstore.entity.Author; import com.bookstore.repository.AuthorRepository; import com.bookstore.view.AuthorView; import com.bookstore.view.AuthorViewDto; import java.util.List; import org.springframework.stereotype.Service; @Service public ...
__label__POS
0.793655
#include "pch.h" #include <kf/ScopeExit.h> SCENARIO("SCOPE_EXIT macro") { GIVEN("A block of code with SCOPE_EXIT") { WHEN("The block is executed") { int value = 0; { SCOPE_EXIT{ value++; }; THEN("Scoped function doesn't execute until sco...
__label__POS
0.712976
#include "pch.h" #include <kf/Base64.h> #include <string_view> SCENARIO("Base64::decodeLen") { WHEN("Encoded string is empty") { THEN("Decode length is 0") { REQUIRE(kf::Base64::decodeLen(L"") == 0); } } WHEN("Encoded string is VA==") { THEN("Decode leng...
__label__POS
0.621901
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Collections.ObjectModel; using System.Windows.Shell; using System.IO; using System.Reflection; namespace JumpListApplicationTask { public class Startup { [STAThread] public static void Main(str...
__label__POS
0.945541
package com.apress.springrecipes.court.web; import com.apress.springrecipes.court.config.CourtConfiguration; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; import javax.servlet.ServletContainerInitializer; import javax.se...
__label__POS
0.990131
using System; using System.Collections.Generic; using System.Text; using System.Windows; using Microsoft.Win32; namespace Windows { public class WindowPositionHelper { public static string RegPath = @"Software\MyApp\"; public static void SaveSize(Window win) { // Cr...
__label__POS
0.654079
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 Microsoft.Win3...
__label__POS
0.714525
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.task.AsyncTaskExecutor; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.web...
__label__POS
0.98383
package com.ds.avare.weather; import net.sf.jweather.metar.Metar; import net.sf.jweather.metar.MetarParser; import net.sf.jweather.metar.SkyCondition; import java.util.ArrayList; /** * Created by zkhan on 12/12/15. */ public class MetarFlightCategory { public static String getFlightCategory(String stationId,...
__label__POS
0.930731
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.builder; import com.bookstore.builder.Condition.LogicalOperatorType; import com.bookstore.builder.Condition.OperationType; import java.util.ArrayList; import java.util.List; import org.springframework.data.jpa.domain.Specification; public class SpecificationBuilder<T> { private final List<C...
__label__POS
0.991691
#pragma once #include "USimpleString.h" #include "ASimpleString.h" #include <span> #include <array> namespace kf { using namespace std; //////////////////////////////////////////////////////////////////////////// // The Hex class provides functionality to encode binary data into hexadecimal string represe...
__label__POS
0.811722
package com.bookstore.builder; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import org.springframework.data.jpa.domain.Specification; public class SpecificationChunk<T> implement...
__label__POS
0.935811
import React, { Component } from 'react'; import theme from './_DropdownAutosuggest.scss'; import Autosuggest from 'react-autosuggest'; import PropTypes from 'prop-types'; const countriesList = [ {name: 'United States', code: 'US'}, {name: 'Afghanistan', code: 'AF'}, {name: 'Åland Islands', code: 'AX'}, {name:...
__label__POS
0.749873
/*** * Excerpted from "OpenGL ES for Android", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any purpose. * Visit...
__label__POS
0.701377
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; using System.Windows.Shell; using System.IO; namespace Windows7_TaskBar { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : A...
__label__POS
0.647072
library appsflyer_sdk; import 'dart:convert'; import 'dart:core'; import 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:json_annotation/json_annotation.dart'; import 'src/callbacks.dart'; part 'src/appsflyer_constants.dart'; part 'src/appsflyer_invite_lin...
__label__POS
0.999593
/*** * Excerpted from "OpenGL ES for Android", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any purpose. * Visit...
__label__POS
0.633868
package com.main; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.suppor...
__label__POS
0.999981
package com.apress.springrecipes.court.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servle...
__label__POS
0.619345
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Text; using System.Windows.Forms; using Be.HexEditor.Properties; namespace Be.HexEditor { public partial class RecentFileHandler : Component { publi...
__label__POS
0.637442
package pronto; import clojure.lang.*; import java.util.*; /** * Code taken from Clojure, see https://github.com/clojure/clojure/blob/b1b88dd25373a86e41310a525a21b497799dbbf2/src/jvm/clojure/lang/APersistentMap.java */ public class PersistentMapHelpers { public static String toString(IPersistentMap map) { ...
__label__POS
0.899851
package pronto; import clojure.lang.RT; import clojure.lang.*; import com.google.protobuf.LazyStringArrayList; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; public class ProntoVector extends APersistentVector implements IObj, IEditableCollection, IReduce,...
__label__POS
0.924651
class Playground::EntranceController < Playground::BaseController before_filter :authorize, :except => [:login, :register] layout "playground/root" def index end def login session[:application_id] = nil if request.post? application = Www::Application.authenticate(params[:name], params[:passw...
__label__POS
0.974684
package pronto; import clojure.lang.ArityException; import clojure.lang.Compiler; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class Utils { public interface PairXf { Object transformKey(Object key); Object transformVal(Object val); } public static Ob...
__label__POS
0.995876
package com.apress.springrecipes.court.config; import com.apress.springrecipes.court.web.ExtensionInterceptor; import com.apress.springrecipes.court.web.MeasurementInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.co...
__label__POS
0.601565
package com.appsflyer.onelink.appsflyeronelinkbasicapp; import android.os.Bundle; import com.appsflyer.adrevenue.AppsFlyerAdRevenue; import com.appsflyer.adrevenue.adnetworks.AppsFlyerAdNetworkEventType; import com.appsflyer.adrevenue.adnetworks.generic.MediationNetwork; import com.appsflyer.adrevenue.adnetworks.gene...
__label__POS
0.96207
package com.appsflyer.onelink.appsflyeronelinkbasicapp; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import androidx.appcompat.app.AppCompatActivity; import static com.appsflyer.onelink.appsflyeronelinkbasicapp.AppsflyerBasicApp.LOG_TAG; public class Mai...
__label__POS
0.683082
package com.appsflyer.onelink.appsflyeronelinkbasicapp; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.widget.TextView; import java.util.Map; import java.util.SortedSet; import java.util.TreeSet; public class ConversionDat...
__label__POS
0.910264
/****************************************************************************** Copyright 2017-2019 typed_python Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://ww...
__label__POS
0.999696
using System; using System.Collections.Generic; using System.Text; using System.Globalization; namespace Be.HexEditor { static class Util { public static string GetDisplayBytes(long size) { const long multi = 1024; long kb = multi; long mb = kb*multi; ...
__label__POS
0.609024
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.652548
package com.apress.springrecipes.court.config; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ResourceBundleMessageSource; import org.springframework.web.servle...
__label__POS
0.619345
using System; using System.Windows.Forms; using System.Threading; using System.Globalization; using Be.HexEditor.Properties; namespace Be.HexEditor { class Program { public const string SOFTWARENAME = "Be.HexEditor"; public static FormHexEditor FormHexEditor; [STAThread()] sta...
__label__POS
0.989088
package com.appsflyer.appsflyersdk; public final class AppsFlyerConstants { final static String PLUGIN_VERSION = "6.17.5"; final static String AF_APP_INVITE_ONE_LINK = "appInviteOneLink"; final static String AF_HOST_PREFIX = "hostPrefix"; final static String AF_HOST_NAME = "hostName"; final static ...
__label__POS
0.877256
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import...
__label__POS
0.824242
package com.sromku.polygon; /** * Line is defined by starting point and ending point on 2D dimension.<br> * * @author Roman Kushnarenko (sromku@gmail.com) */ public class Line { private final Point _start; private final Point _end; private float _a = Float.NaN; private float _b = Float.NaN; private boolean _...
__label__POS
0.769778
package com.sromku.polygon; import java.util.ArrayList; import java.util.List; /** * The 2D polygon. <br> * * @see {@link Builder} * @author Roman Kushnarenko (sromku@gmail.com) */ public class Polygon { private final BoundingBox _boundingBox; private final List<Line> _sides; private Polygon(List<Line> side...
__label__POS
0.69842
/* jWeather(TM) is a Java library for parsing raw weather data Copyright (C) 2004 David Castro This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your op...
__label__POS
0.987325
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.926515
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.675285
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
#include "initial_sfm.h" using namespace std; using namespace Eigen; void GlobalSFM::triangulatePoint(const Eigen::Matrix<double, 3, 4> &Pose0, const Eigen::Matrix<double, 3, 4> &Pose1, const Vector2d &point0, const Vector2d &point1, ...
__label__POS
0.703579
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
#include "ProcessHelper.h" #include "debug.h" ProcessHelperHolder::~ProcessHelperHolder() { ASSERT(mProcessHelperList.empty()); } ProcessHelperList& ProcessHelperHolder::AquireList() { m_Lock.LockRead(); return mProcessHelperList; } VOID ProcessHelperHolder::ReleaseList() { m_Lock.UnlockRead(); } BO...
__label__POS
0.719288
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.984757
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; @Service public class BookstoreService { private final AuthorRepository authorRepository; ...
__label__POS
0.654451
#import <Foundation/Foundation.h> #import "AMAErrorRepresentable.h" @class AMAErrorModel; @protocol AMAStringTruncating; @class AMAPluginErrorDetails; @protocol AMADictionaryTruncating; @interface AMAErrorModelFactory : NSObject + (instancetype)sharedInstance; - (instancetype)initWithDomainTruncator:(id<AMAString...
__label__POS
0.611704
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.823481
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.989947
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
__label__POS
0.638155
<?php /** * \AppserverIo\Appserver\Core\ServerNodeConfiguration * * 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 Zelger...
__label__POS
0.892598
/* * Copied from Avare code * To make exe, use gcj --main=Cycle Cycle.java -o Cycle */ import java.util.Calendar; import java.util.GregorianCalendar; import java.util.TimeZone; public class Cycle { /* * */ private static final int getFirstDate(int year) { // Date for first cycle every ...
__label__POS
0.8206
package com.apress.springrecipes.social; import javax.servlet.Filter; import org.springframework.web.filter.DelegatingFilterProxy; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; import com.apress.springrecipes.social.config.SecurityConfig; import com.apress.sprin...
__label__POS
0.99975
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
/* *********************************************** * Author : kingthy * Email : kingthy@gmail.com * Description : TagFactory * * ***********************************************/ using System; using System.Collections.Generic; using System.Text; namespace VTemplate.Engine { /// <summary> /// 标签工厂 ...
__label__POS
0.758797
package com.apress.springrecipes.social.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.social.connect.ConnectionFactoryLocator; import org.springframework.social.connect.ConnectionRepository; import org.springframework...
__label__POS
0.771862
#import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN NS_SWIFT_NAME(StackTraceElement) @interface AMAStackTraceElement : NSObject /** Name of the class/interface/symbol (depending on the plugin you are using) where the error occurred. The maximum length is 100 characters. If the value exceeds the limit, AppM...
__label__POS
0.861441
package com.apress.springrecipes.social.security; import org.springframework.dao.DataAccessException; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException...
__label__POS
0.911999
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using VTemplate.Engine; namespace Atlass.Framework.Generate { public class RenderDocumentCache { private static ConcurrentDictionary<int, TemplateDocument> _douments; static RenderDocumentCa...
__label__POS
0.930741
#nullable enable using System.Collections; using System.Collections.Generic; using System; using UnityEngine; [System.Serializable] public class InAppPurchaseValidationResult : EventArgs { public bool success; public ProductPurchase? productPurchase; public ValidationFailureData? failureData; public s...
__label__POS
0.999479
using System; using System.Collections.Generic; namespace AppsFlyerSDK { public enum AFSDKValidateAndLogStatus { AFSDKValidateAndLogStatusSuccess, AFSDKValidateAndLogStatusFailure, AFSDKValidateAndLogStatusError } /// <summary> // /// </summary> public class AFSDK...
__label__POS
0.782049
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Autofac.Extensions.DependencyInjection; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Seri...
__label__POS
0.983198