content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atlass.Framework.ViewModels.YmlConfigs { public class RedisConfigDto { /// <summary> /// 是否启用 /// </summary> public bool Enable { get; set; } = true; ...
__label__POS
0.629033
// package danielliang.fundamentals.loops; import java.util.Scanner; public class CountUpperCaseLetter { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { System.out.println("\nEnter a String (or enter 'exit' to quit): "); while (true) { ...
__label__POS
0.999289
// package DanielLiang.fundamentals.V; import java.util.Scanner; public class CountVowelsAndConsonants { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { while (true) { System.out.print("\nEnter a String: "); S...
__label__POS
0.999869
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 DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class GuessBirthday { public static void main(String[] args) { String set1 = " 1 3 5 7\n" + " 9 11 13 15\n" + "17 19 21 23\n" + ...
__label__POS
0.929384
<!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 DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class OrderThreeCities { public static void main(String[] args) { Scanner input = new Scanner(System.in); // Prompt user to enter three cities System.out.print("Enter t...
__label__POS
0.983783
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class PhoneKeypad { public static void main(String[] args) { // Create a Scanner to receive input from the user Scanner input = new Scanner(System.in); // Prompt the use...
__label__POS
0.882128
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class ASCIItoCharacter { public static void main(String[] args) { // Create a Scanner to receive input from the user Scanner input = new Scanner(System.in); // Prompt th...
__label__POS
0.997936
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class VowelOrConsonant { public static void main(String[] args) { // Create a Scanner to receive input from the user Scanner input = new Scanner(System.in); // Prompt th...
__label__POS
0.997671
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class CheckISBN10 { public static void main(String[] args) { // Create a Scanner Scanner input = new Scanner(System.in); // Prompt the user to enter the first 9 digits ...
__label__POS
0.995056
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; import java.time.YearMonth; public class DaysOfMonths { public static void main(String[] args) { Scanner input = new Scanner(System.in); // Prompt user to enter a year System....
__label__POS
0.914144
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // Website: http://www.freesql.net // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------------------------------------------...
__label__POS
0.646035
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // Website: http://www.freesql.net // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------------------------------------------...
__label__POS
0.828801
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // Website: http://www.freesql.net // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------------------------------------------...
__label__POS
0.791081
package com.bookstore.service; import com.bookstore.entity.AuthorBad; import com.bookstore.entity.AuthorGood; import com.bookstore.repository.AuthorBadRepository; import org.springframework.stereotype.Service; import com.bookstore.repository.AuthorGoodRepository; @Service public class BookstoreService { private ...
__label__POS
0.914799
describe Appsignal::GarbageCollection do describe ".profiler" do before do # Unset the internal memoized variable to avoid state leaking described_class.clear_profiler! end context "when GC instrumentation is disabled" do it "returns the NilProfiler" do expect(described_class.pr...
__label__POS
0.64729
package com.apress.springrecipes.social.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.ViewResolver; import org.springframework.web.servlet.confi...
__label__POS
0.750524
package com.apress.springrecipes.social.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.social.connect.Connection; import org.springframework.social.connect.ConnectionRepository; import org.springframework.social.twitter.api.Twitter; import org.springframework.stereotype....
__label__POS
0.626954
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class GreatCircleDistance { public static void main(String[] args) { // Constants final double EARTH_RADIUS = 6371.01; // Radius of Earth in kilometers // Create a Scan...
__label__POS
0.913508
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class StudentMajorStatus { public static void main(String[] args) { Scanner input = new Scanner(System.in); // Prompt the user to enter two characters System.out.print(...
__label__POS
0.945661
package DanielLiang.FundamentalOfProgramming.MathematicalFunctionsCharacterAndStrings; import java.util.Scanner; public class ComputeChange { public static void main(String[] args) { // Create a Scanner Scanner input = new Scanner(System.in); // Receive the amount as a string Sys...
__label__POS
0.989186
import java.util.HashSet; import java.util.Random; import java.util.Set; public class UniqueTokenGenerator { private static final int TOKEN_LENGTH = 8; private static final long TOTAL_TOKENS = 20L; // 20 billion public static void main(String[] args) { Set<String> generatedTokens = new HashSet<>()...
__label__POS
0.958091
public class MultiplicationTable { public static void main(String[] args) { // Print the title of the multiplication table System.out.println(" Multiplication Table."); // Display the number title System.out.print(" "); for (int j = 1; j <= 7; j++) ...
__label__POS
0.998928
import java.util.*; public class Sentinel { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { int sum = 0; int data = 1; // Continuously prompt the user for data until 0 is entered while (data != 0) { Sys...
__label__POS
0.998124
// RANDOM CHARACTERS INTEGERS, SMALL LETTERS AND CAPITAL LETTERS. import java.util.Random; public class CombinedRandomCharacterGenerator { // Method to generate a random lowercase letter public static char getRandomLowerCaseLetter() { Random rand = new Random(); return (char) ('a' + rand.next...
__label__POS
0.840939
import java.util.Scanner; import java.util.InputMismatchException; public class Calendar { @SuppressWarnings("resource") public static void main(String[] args) { Scanner input = new Scanner(System.in); while (true) { int year = 0; int month = 0; try { ...
__label__POS
0.649325
class MockPresentHook < Appsignal::Hooks::Hook def dependencies_present? true end def install MockPresentHook.call_something end def self.call_something end end class MockNotPresentHook < Appsignal::Hooks::Hook def dependencies_present? false end def install MockNotPresentHook.call...
__label__POS
0.655923
import java.util.Scanner; public class DayOfWeekCalculator { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { System.out.print("Enter year (e.g., 2012): "); int year = input.nextInt(); System.out.print("Enter month (1-12): "); ...
__label__POS
0.700304
public class MethodOverloadingCircelArea { // Constant for the value of PI static final double PI = 3.14; // Method to calculate the area of a circle static double calculateArea(double radius){ return PI * radius * radius; // Area = π * r^2 } // Method to calculate the area of a rectan...
__label__POS
0.990107
describe("extract_package_name", { it("returns the package name intact when using only the package name", { expect_equal(extract_package_name("shiny"), "shiny") }) it("returns the package name intact when using the package name and version", { expect_equal(extract_package_name("shiny@1.6.0"), "shiny") ...
__label__POS
0.879148
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
import java.util.*; public class NthTermsInArithmenticSequences { public static void main(String[] args) { // Creating a Scanner object to store user input Scanner input = new Scanner(System.in); // User prompts for the first term and common difference System.out.print("What is th...
__label__POS
0.925387
import java.util.Scanner; public class NaturalNumber { public static void main(String[] args) { // Open a scanner for user input try (Scanner input = new Scanner(System.in)) { // Prompt the user for the initial and final numbers System.out.println("Find even, odd, or prime ...
__label__POS
0.981427
import java.util.Scanner; public class FibonacciFinder { @SuppressWarnings("resource") public static void main(String[] args) { Scanner input = new Scanner(System.in); // Prompt user for the starting and ending positions System.out.print("Enter the starting position: "); int s...
__label__POS
0.996728
if DependencyHelper.grape_present? require "appsignal/rack/grape_middleware" describe Appsignal::Rack::GrapeMiddleware do let(:app) do Class.new(::Grape::API) do format :json post :ping do { :message => "Hello world!" } end end end let(:api_endpoint) { app....
__label__POS
0.722327
local awful = require("awful") local bling = require("modules.bling") awful.layout.layouts = { awful.layout.suit.tile, ...
__label__POS
0.99462
public class FutureTuition { public static void main(String[] args) { // Print a message indicating the purpose of the program System.out.println("Future tuition."); // Initialize the initial tuition and year variables double tuition = 10000; // Initial tuition int year = 0...
__label__POS
0.998088
import java.util.Scanner; public class FibonacciSequenceGenerator { public static void main(String[] args) { // Print The start of Fibonacci sequence generation System.out.println("Generating Fibonacci Sequence in Java"); // Initialize variables for the Fibonacci sequence int prev...
__label__POS
0.917725
import java.util.Scanner; public class LeapYear { public static void main(String[] args){ try (Scanner input = new Scanner(System.in)) { System.out.print("Enter a year: "); int year = input.nextInt(); // Check if the year is a leap year boolean...
__label__POS
0.99948
package com.bookstore; import com.bookstore.entity.Author; 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.annotat...
__label__POS
0.910377
box::use( config, glue[glue], logger[ log_info, log_debug, log_error, log_warn, log_threshold, log_layout, layout_glue_colors ], ) box::use( api/handlers/insert, api/handlers/read_data, api/logic/setup[data_storage], ) # Setup # logger log_threshold(config$get("log_level")) log_layout(layout_gl...
__label__POS
0.678717
import java.util.Scanner; public class Addition { public static void main(String[] args) { // Create a Scanner object to read user input try (Scanner input = new Scanner(System.in)) { // Continuously generate addition questions // until the user provides the correct answer ...
__label__POS
0.999286
import java.util.Scanner; public class PrimeNumberFinder { // Method to check if a number is prime public static boolean isPrime(int number) { if (number < 2) { return false; } if (number == 2) { return true; } // Iterate from 2...
__label__POS
0.997711
import java.util.*; public class GuessNumber { public static void main(String[] args){ // Generate a random number between 0 and 100 int number = (int)(Math.random() * 100); int attempts = 0; int max_attempts = 5; // Maximum number of attempts allowed System.out.println("G...
__label__POS
0.999191
import java.util.*; public class Counter { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { // Create a scanner object for user input int count, sum = 0, number; // Loop to prompt the user to enter numbers for (count = 0; count < ...
__label__POS
0.995457
using Atlass.Framework.Models; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Atlass.Framework.AppService.CmsSet { public class SiteAppService { private readonly IFreeSql Sqldb; public SiteAppServic...
__label__POS
0.796934
import java.util.Scanner; public class PascalTriangle { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { System.out.print("Enter the number of rows for Pascal's triangle: "); int numRows = input.nextInt(); // Calculate the number ...
__label__POS
0.99671
.. highlight:: c++ .. default-domain:: cpp .. _chapter-gradient_tutorial: ================================== General Unconstrained Minimization ================================== While much of Ceres Solver is devoted to solving non-linear least squares problems, internally it contains a solver that can solve genera...
__label__POS
0.77771
require "rake" describe Appsignal::Hooks::RakeHook do let(:helper) { Appsignal::Integrations::RakeIntegrationHelper } let(:task) { Rake::Task.new("task:name", Rake::Application.new) } let(:arguments) { Rake::TaskArguments.new(["foo"], ["bar"]) } let(:options) { {} } before do start_agent(:options => opti...
__label__POS
0.651965
import java.util.Scanner; import java.util.InputMismatchException; public class GCDMethod { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { // Prompt the user to enter the first integer System.out.print("First integer: "); int ini...
__label__POS
0.997816
package com.bookstore.specs; import com.bookstore.entity.Author; import java.util.List; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Expression; import javax.persistence.criteria.JoinType; import javax.persistence.criteria.Predica...
__label__POS
0.987769
package com.bookstore.specs; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.JoinType; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import org.springframework.data.jpa.domain.Specification; pu...
__label__POS
0.716216
import java.util.Scanner; public class FibonacciNumberCalculator { public static void main(String[] args) { // Create a Scanner object to read user input Scanner input = new Scanner(System.in); // Prompt the user to enter the position of the Fibonacci number to find System.out.pri...
__label__POS
0.996614
import java.util.Scanner; public class Subtraction { public static void main(String[] args) { // Number of questions to ask the user final int NUMBER_OF_QUESTIONS = 5; // Counters to track correct answers and total questions asked int correctCount = 0; int count = 0; ...
__label__POS
0.997658
using Atlass.Framework.Common; using Atlass.Framework.Enum; using Atlass.Framework.Models.Cms; using Atlass.Framework.ViewModels.Common; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace Atlass.Framework.A...
__label__POS
0.665271
import java.util.*; public class GCD { public static void main(String[] args) { // Create a scanner object to read user input Scanner inputScanner = new Scanner(System.in); // Prompt the user to enter the number of numbers System.out.print("Enter the number of numbers: "); ...
__label__POS
0.999558
describe Appsignal::Hooks::ActionMailerHook do if DependencyHelper.action_mailer_present? && DependencyHelper.rails_version >= Gem::Version.new("4.0.0") context "with ActionMailer" do require "action_mailer" class UserMailer < ActionMailer::Base default :from => "test@example.com" ...
__label__POS
0.762194
using Atlass.Framework.Models; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace Atlass.Framework.AppService.CmsSet { public class UploadSetAppService { private readonly IFreeSql Sqldb; public UploadSetAppService(IServi...
__label__POS
0.878051
package labs.lab_04; import java.util.Scanner; public class IntegerOperations { public static void main(String[] args) { // user prompts try (Scanner input = new Scanner(System.in)) { System.out.print("Enter a number: "); double first = input.nextDouble(); Sy...
__label__POS
0.877264
package labs.lab_04; import java.util.Scanner; public class ArithmeticUserInput { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { // user prompts System.out.print("Enter a number: "); double first = input.nextDouble(); ...
__label__POS
0.815242
package labs.lab_01; public class MarksCalculator { public static void main(String[] args) { // Predefined marks for 5 subjects int subject1Marks = 85; int subject2Marks = 90; int subject3Marks = 75; int subject4Marks = 80; int subject5Marks = 95; // Calcula...
__label__POS
0.972157
using Atlass.Framework.Common; using Atlass.Framework.Models; using Atlass.Framework.ViewModels.Common; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Atlass.Framework.AppService.Work { public class AddressBookAppServ...
__label__POS
0.795842
# Java Practical Lab session 01 This repository contains Java programs for the Practical Lab session 01. ## Files 1. [Circle Area And Circumference](CircleAreaAndCircumference.java): Program to calculate the area and circumference of a circle. 2. [Simple Interest calculator](SimpleInterestCalculator.java): Program ...
__label__POS
0.813979
package labs.lab_01; import java.util.Scanner; public class ArithmeticOperationsInput { public static void main(String[] args) { // Create a Scanner object Scanner scanner = new Scanner(System.in); // Prompt the user to input two numbers System.out.print("Enter the first number: ...
__label__POS
0.988854
using Atlass.Framework.Common; using Atlass.Framework.Models.Admin; using Atlass.Framework.ViewModels.Common; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Atlass.Framework.AppService.SystemApp { public class EasyLog...
__label__POS
0.858713
package labs.lab_02; import java.util.Scanner; public class BiggestNumbers { public static void main(String[] args) { try (Scanner input = new Scanner(System.in)) { // user prompt System.out.println("Enter Three numbers Separated with space: "); System.out.print("Enter...
__label__POS
0.738287
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.999475
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.996508
package com.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CalculationService; import com.apress.springrecipes.caching.PlainCalculationService; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.ehcach...
__label__POS
0.671043
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.CachePut; 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. ...
__label__POS
0.932736
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.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.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.774774
describe Appsignal::Utils::IntegrationLogger do let(:formatter) { nil } let(:logger) do Appsignal::Utils::IntegrationMemoryLogger.new.tap do |l| l.formatter = formatter if formatter end end describe "#add" do it "adds a log message with the severity" do logger.add(:DEBUG, "debug message...
__label__POS
0.778627
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Senparc.NeuChar.Context; using Senparc.NeuChar.Entities; using Senparc.Weixin.MP.Entities; using Senparc.Weixin.MP.Entities.Request; using Senparc.Weixin.MP.MessageContexts; using Senparc.Weixin.MP.MessageHandlers; ...
__label__POS
0.728251
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Senparc.NeuChar.Context; using Senparc.NeuChar.Entities; using Senparc.Weixin.MP.Entities; using Senparc.Weixin.MP.Entities.Request; using Senparc.Weixin.MP.MessageHandlers; using Atlass.Framework.We...
__label__POS
0.827989
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.CachePut; 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. ...
__label__POS
0.93282
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
Pose Graph 2D ---------------- The Simultaneous Localization and Mapping (SLAM) problem consists of building a map of an unknown environment while simultaneously localizing against this map. The main difficulty of this problem stems from not having any additional external aiding information such as GPS. SLAM has been ...
__label__POS
0.951008
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.CachePut; 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. ...
__label__POS
0.931036
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
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Atlass.Framework.AppService.CmsSet; using Atlass.Framework.Cache; using Atlass.Framework.Common; using Atlass.Framework.Core.Base; using Atlass.Framework.Models; using Atlass.Framework.ViewModels; using Microsoft.Asp...
__label__POS
0.60523
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.966577
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Atlass.Framework.AppService.CmsSet; using Atlass.Framework.Cache; using Atlass.Framework.Core.Base; using Atlass.Framework.Models; using Atlass.Framework.ViewModels; using Microsoft.AspNetCore.Mvc; using Microsoft.Ex...
__label__POS
0.911451
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.807563
package com.bookstore.entity; import java.io.Serializable; import java.util.Objects; import javax.persistence.Column; import javax.persistence.Embeddable; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; @Embeddable public class AuthorId implements Serializable { private static final long...
__label__POS
0.971706
package com.bookstore.entity; 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 Publisher implements Serializable { private static final long s...
__label__POS
0.871975
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; 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.958013
package com.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CalculationService; import com.apress.springrecipes.caching.PlainCachingCalculationService; import org.springframework.cache.CacheManager; import org.springframework.cache.ehcache.EhCacheCacheManager; import org.springframework.ca...
__label__POS
0.924027
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.apress.springrecipes.caching.config; import com.apress.springrecipes.caching.CalculationService; import com.apress.springrecipes.caching.PlainCalculationService; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.ehcach...
__label__POS
0.881566
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Atlass.Framework.AppService; using Atlass.Framework.AppService.SystemApp; using Atlass.Framework.Common; using Atlass.Framework.Core.Base; using Atlass.Framework.Core.Web; using Atlass.Framework.ViewModels; using Atl...
__label__POS
0.778525
package com.bookstore; import com.bookstore.entity.Author; 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.SpringBo...
__label__POS
0.859359
<?php /** * \AppserverIo\Appserver\Core\Utilities\Runlevels * * 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 <tw@ap...
__label__POS
0.780024
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