content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
[Closed Files] File_0=TSourceModule,'Z:\My Documents\Scripta\Books\MVVM In Delphi\Code\Chapter 2 - Step By Step\POSAppMVVM\Models\Model.Main.pas',0,1,23,46,11,0,0,, File_1=TSourceModule,'Z:\My Documents\Scripta\Books\MVVM In Delphi\Code\Chapter 2 - Step By Step\POSAppMVVM\SupportCode\Model.ProSu.InterfaceActions.pas',...
__label__POS
0.894068
import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.utils.Align; /** * Convenience class for creating custom Action objects * for use with SceneSegment and Scene classes. */ public class Scen...
__label__POS
0.888365
unit Model.Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate wri...
__label__POS
0.911232
unit Model.Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate wri...
__label__POS
0.902842
unit Model.Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate wri...
__label__POS
0.893069
unit Model.Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate wri...
__label__POS
0.883566
unit Model.Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate wri...
__label__POS
0.880066
unit Declarations; interface type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write fName; property DiscountRate: double read fDiscountRate write fDi...
__label__POS
0.880324
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.854117
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.855354
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.872122
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.864047
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Global</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <...
__label__POS
0.746221
rootProject.name = 'pivotal-certified-pro-spring-dev-exam' include '00-ps-core' include '01-ps-start-practice' include '01-ps-start-solution' include '02-ps-container-01-practice' include '02-ps-container-01-solution' include '02-ps-container-02-practice' include '02-ps-container-02-solution' include '03-ps-test-pract...
__label__POS
0.997621
import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.utils.Align; /** * Convenience class for creating custom Action objects * for use with SceneSegment and Scene classes. */ public class Scen...
__label__POS
0.888365
rootProject.name = 'pivotal-certified-pro-spring-dev-exam-02' println(' This project is a Criminal Evidence Management System proof of concept application. It is meant to be used together with the ' + '"Pivotal Certified Professional Spring Developer Exam, 2nd Edition" ' + ' published by Apress in orde...
__label__POS
0.97888
package com.ps.rest; /** * Created by iuliana.cosmina on 10/15/16. */ public class User { private String email; private String username; private Double rating; private boolean active; public User() { } public User(String username, String email, Double rating, boolean active) { ...
__label__POS
0.743272
unit Model.Interfaces; interface uses Model.Declarations, System.Generics.Collections; type IDatabaseInterface = interface ['{DDE3E13A-0EC5-4712-B068-9B510977CF71}'] function GetCustomerList: TObjectList<TCustomer>; function GetCustomerFromName(const nameStr: string): TCustomer; function GetItems: ...
__label__POS
0.686033
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.869143
package com.ps.config; import com.ps.ents.User; import com.ps.services.UserService; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DuplicateKeyException; import org.springframework.test.conte...
__label__POS
0.99129
/** * Created by MetaBlue on 6/26/16. */ $( document ).ready(function() { //Create bottom panel and tabs var panelID = "#panelBottom"; var bottomPanel = new GuiPanel(panelID, GuiPanelType.BOTTOM); var scenesTab = new GuiPanelTab("Scenes"); bottomPanel.addTab(scenesTab); var sceneContent = new ScenesCont...
__label__POS
0.89665
package com.ps.services; import com.ps.ents.User; import com.ps.repos.UserRepo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import java.util.Set; /** * Created by iuliana.cosmina on 6/3/1...
__label__POS
0.897796
unit Model.Interfaces; interface uses Model.Declarations, System.Generics.Collections, Model.ProSu.Interfaces; type IDatabaseInterface = interface ['{DDE3E13A-0EC5-4712-B068-9B510977CF71}'] function GetCustomerList: TObjectList<TCustomer>; function GetCustomerFromName(const nameStr: string): TCustomer;...
__label__POS
0.799955
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
package com.ps.repos.impl; import com.ps.ents.User; import com.ps.repos.UserRepo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowMapper; import org.springframework.stereotype.Repository; import java.sql.ResultSe...
__label__POS
0.762629
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.914765
package web; import com.ps.ents.User; import com.ps.problem.NotFoundException; import com.ps.web.UserController; import org.junit.Before; import org.junit.Test; import org.springframework.ui.ExtendedModelMap; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNot...
__label__POS
0.925261
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
package com.ps.config; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.filter.HiddenHttpMethodFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; import javax.servlet.Filter; /** * Created by iuliana.cosmina on 8/...
__label__POS
0.999831
package com.apress.cems.util; import javax.validation.constraints.NotEmpty; /** * Created by iuliana.cosmina on 3/30/15. */ public class CriteriaDto { @NotEmpty private String fieldName; @NotEmpty private String fieldValue; private Boolean exactMatch; /** * Field needed just to com...
__label__POS
0.635522
package com.ps.repo; import com.ps.base.UserType; import com.ps.config.AppConfig; import com.ps.config.TestDataConfig; import com.ps.ents.User; import com.ps.repos.UserRepo; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; i...
__label__POS
0.941344
package com.ps.repos.impl; import com.ps.base.UserType; import com.ps.ents.User; import com.ps.repos.UserRepo; import com.ps.repos.util.UserRowMapper; import com.ps.util.Pair; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccessException; import org.springframework.j...
__label__POS
0.716734
import javafx.embed.swing.JFXPanel; import javafx.application.Platform; import javafx.stage.FileChooser; import java.io.File; import com.badlogic.gdx.files.FileHandle; public class FileUtils { private static boolean finished; private static FileHandle fileHandle; private static int openDialog = 1; pri...
__label__POS
0.852103
import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.Action; import com.badlogic.gdx.scenes.scene2d.actions.Actions; import com.badlogic.gdx.utils.Align; /** * Convenience class for creating custom Action objects * for use with SceneSegment and Scene classes. */ public class Scen...
__label__POS
0.888365
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.875914
package com.apress.cems.util; import javax.validation.constraints.NotEmpty; /** * Created by iuliana.cosmina on 3/30/15. */ public class CriteriaDto { @NotEmpty private String fieldName; @NotEmpty private String fieldValue; private Boolean exactMatch; /** * Field needed just to com...
__label__POS
0.635522
package com.ps.repo.services; import com.ps.base.UserType; import com.ps.ents.Request; import com.ps.ents.Review; import com.ps.ents.User; import com.ps.repos.ReviewRepo; import com.ps.services.impl.SimpleReviewService; import org.junit.Before; import org.junit.Test; import java.util.HashSet; import java.util.Set; i...
__label__POS
0.931885
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.875914
import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.scenes.scene2d.ui.TextButton; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.Event; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.InputEvent.Type; public ...
__label__POS
0.631863
package com.ps.repo.services; import com.ps.base.RequestStatus; import com.ps.base.UserType; import com.ps.ents.Request; import com.ps.ents.User; import com.ps.repos.RequestRepo; import com.ps.services.impl.SimpleRequestService; import org.jmock.Expectations; import org.jmock.Mockery; import org.joda.time.DateTime; im...
__label__POS
0.74702
package com.ps.services.impl; import com.ps.base.RequestStatus; import com.ps.ents.Pet; import com.ps.ents.Request; import com.ps.ents.User; import com.ps.repos.RequestRepo; import com.ps.services.RequestService; import com.ps.util.Pair; import org.joda.time.DateTime; import java.util.Set; /** * Created by iuliana....
__label__POS
0.865675
package com.ps.services.impl; import com.ps.base.PetType; import com.ps.ents.Pet; import com.ps.ents.User; import com.ps.repos.PetRepo; import com.ps.services.PetService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.Set; /** * Creat...
__label__POS
0.806506
package com.ps; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import javax.sql.DataSource; import java.util.Properties; import static org.junit.Assert.as...
__label__POS
0.969692
package com.ps; import com.ps.config.*; import com.ps.repos.PetRepo; import com.ps.repos.RequestRepo; import com.ps.repos.UserRepo; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework....
__label__POS
0.813772
package com.ps.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.datasource.DriverManagerDataSource; import javax.sql.DataSource; import java.sql.SQLExcepti...
__label__POS
0.97615
package com.ps.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.ImportResource; import org.springframework.context.annotation.PropertySource; ...
__label__POS
0.919383
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
package com.ps.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.PropertySource; import org...
__label__POS
0.87601
package com.ps.services.impl; import com.ps.base.RequestStatus; import com.ps.ents.Pet; import com.ps.ents.Request; import com.ps.ents.User; import com.ps.repos.RequestRepo; import com.ps.services.RequestService; import com.ps.util.Pair; import org.joda.time.DateTime; /** * Created by iuliana.cosmina on 2/22/16. */...
__label__POS
0.950423
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
package com.ps.config; import com.mongodb.MongoClient; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.data.mongodb.MongoDbFactory; import org.springframework.data.mo...
__label__POS
0.990234
info face="Cooper Black" size=48 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=3,2,3,2 spacing=0,0 common lineHeight=62 base=45 scaleW=512 scaleH=512 pages=1 packed=0 page id=0 file="cooper.png" chars count=95 char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=45 xa...
__label__POS
0.946561
package com.apress.cems.secured.util; import javax.validation.constraints.NotEmpty; /** * Created by iuliana.cosmina on 3/30/15. */ public class CriteriaDto { @NotEmpty private String fieldName; @NotEmpty private String fieldValue; private Boolean exactMatch; /** * Field needed jus...
__label__POS
0.632275
package com.ps; import com.ps.another.quiz.AnotherQuizBean; import com.ps.cfg.Appconfig; import com.ps.quiz.QuizBean; import com.ps.sample.ComplexBean; import com.ps.sample.SimpleBean; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ConfigurableApplica...
__label__POS
0.735444
package com.ps.beans.others; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import static org.junit.Assert.assertEquals; import static org.junit.Assert.ass...
__label__POS
0.985689
package com.ps.sample; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Required; import javax.annotation.PostConstruct; /** * Created by iuliana.cosmina on 3/28/16. * Sample class used to make bean creation staged understanding easy. * This class contai...
__label__POS
0.936979
package com.ps.sample; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Required; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; /** * Created by iuliana.cosmina on 3/28/16. * Sample class used to make bean creation staged unde...
__label__POS
0.943497
unit Model.Interfaces; interface uses Model.Declarations, System.Generics.Collections; type IDatabaseInterface = interface ['{DDE3E13A-0EC5-4712-B068-9B510977CF71}'] function GetCustomerList: TObjectList<TCustomer>; function GetCustomerFromName(const nameStr: string): TCustomer; function GetItems: ...
__label__POS
0.686033
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.869143
package com.ps.services.impl; import com.ps.base.RequestStatus; import com.ps.ents.Pet; import com.ps.ents.Request; import com.ps.ents.User; import com.ps.repos.RequestRepo; import com.ps.services.RequestService; import com.ps.util.Pair; import org.joda.time.DateTime; /** * Created by iuliana.cosmina on 2/22/16. */...
__label__POS
0.950423
package com.ps.init; import com.ps.config.ServiceConfig; import com.ps.config.WebConfig; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.filter.HiddenHttpMethodFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; im...
__label__POS
0.999338
/* * File: CameraShake.js * Defines a damped simple harmonic motion to simulate camera shakie */ /*jslint node: true, vars: true, bitwise: true */ /*global gEngine, vec2, ShakePosition */ /* find out more about jslint: http://www.jslint.com/help.html */ "use strict"; /** * Defines a damped simple harmonic motion...
__label__POS
0.803081
[Closed Files] File_0=TSourceModule,'Z:\My Documents\Scripta\Books\MVVM In Delphi\Code\Chapter 4 - Step By Step\POSAppMVVMMainFormTest\Models\Model.Declarations.pas',0,1,33,1,1,0,0,, File_1=TSourceModule,'Z:\My Documents\Scripta\Books\MVVM In Delphi\Code\Chapter 3 - Step By Step\POSAppMVVM\Views\View.MainForm.pas',0,1...
__label__POS
0.83798
package com.ps.ws; import com.ps.Application; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.context.embedded.LocalServerPort; import org.springframework.boot.test.co...
__label__POS
0.773483
package com.apress.cems.practice.util; import javax.validation.constraints.NotEmpty; /** * Created by iuliana.cosmina on 3/30/15. */ public class CriteriaDto { @NotEmpty private String fieldName; @NotEmpty private String fieldValue; private Boolean exactMatch; /** * Field needed ju...
__label__POS
0.635116
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.875914
package com.ps; import org.springframework.boot.web.servlet.ServletRegistrationBean; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.io.ClassPathResource; import org.s...
__label__POS
0.707227
package com.ps; import com.ps.ws.GetUserRequest; import com.ps.ws.GetUserResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ws.server.endpoint.annotation.Endpoint; import org.springframework.ws.server.endpoint.annotation.PayloadRoot; import org.springframework.ws.server...
__label__POS
0.970044
package com.ps; import com.ps.ws.UserMessage; import com.ps.ws.UserType; import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; import java.util.HashMap; import java.util.Map; /** * Created by iuliana.cosmina on 10/16/16. */ @Component public class UserMessageRepository { prot...
__label__POS
0.977316
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.875914
package com.ps.repo; import com.ps.config.AppConfig; import com.ps.config.TestDataConfig; import com.ps.repos.UserRepo; import com.ps.ents.User; import com.ps.util.Pair; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; impor...
__label__POS
0.840284
package com.ps.repos.impl; import com.ps.base.PetType; import com.ps.ents.Pet; import com.ps.ents.User; import com.ps.repos.UserRepo; import com.ps.repos.util.UserRowMapper; import com.ps.util.Pair; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import...
__label__POS
0.762851
package com.ps.repos.impl; import com.ps.ents.User; import com.ps.repos.UserRepo; import com.ps.repos.util.UserRowMapper; import com.ps.util.Pair; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.NamedParamete...
__label__POS
0.608726
unit Model.Declarations; interface uses Model.ProSu.InterfaceActions, Model.ProSu.Interfaces; type TCustomer = class private fID: Integer; fName: string; fDiscountRate: Double; fBalance: Currency; public property ID: integer read fID write fID; property Name: string read fName write f...
__label__POS
0.875914
package com.ps.user; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.client.loadba...
__label__POS
0.952948
package com.ps.web; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.client.loadbalan...
__label__POS
0.89415
package com.ps.repo; import com.ps.base.UserType; import com.ps.config.AppConfig; import com.ps.config.TestDataConfig; import com.ps.ents.User; import com.ps.repos.UserRepo; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; i...
__label__POS
0.865784
package com.ps.services; import com.ps.config.AppConfig; import com.ps.config.TestDataConfig; import com.ps.ents.User; import com.ps.exceptions.MailSendingException; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import or...
__label__POS
0.724317
package com.ps.repos.impl; import com.ps.base.UserType; import com.ps.ents.User; import com.ps.repos.UserRepo; import com.ps.repos.util.UserRowMapper; import com.ps.util.Pair; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
__label__POS
0.638273
package com.ps.start; import org.junit.Before; 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.context.junit4.SpringRunner; import org.springframework.ui.M...
__label__POS
0.971994
package com.ps.start; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework...
__label__POS
0.987581
package com.ps.start; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.embedded...
__label__POS
0.912502
package com.ps.start; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; import javax.validation.constraints.NotNull; /** * Created by...
__label__POS
0.732053
package com.ps.client; import com.ps.start.JmxCounter; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jmx.access.MBeanProxyFactoryBean; import org.springframework.jmx.support.MBeanServerConnectionFactoryBean; import javax.man...
__label__POS
0.893973
package com.ps.util; import org.springframework.format.Formatter; import java.text.ParseException; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.Locale; /** * Created b...
__label__POS
0.951542
package com.ps.util; /** * Created by iuliana.cosmina on 2/22/16. */ public class Pair<X, Y> { protected X x; protected Y y; private Pair(X x, Y y) { this.x = x; this.y = y; } public X x() { return x; } public Y y() { return y; } public void x(X...
__label__POS
0.998879
<!-- Created by IntelliJ IDEA. User: iulianacosmina Date: 2019-07-14 Time: 11:43 --> <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}"> <head th:fragment="cemsHead(title)"> <link rel="icon" type="image/pn...
__label__POS
0.731719
package com.ps.ents; import com.ps.base.AbstractEntity; import com.ps.base.ReviewGrade; import org.hibernate.validator.constraints.NotEmpty; import javax.persistence.*; import javax.validation.constraints.Size; /** * Created by iuliana.cosmina on 2/7/16. */ @Entity @Table(name="P_REVIEW") public class Review exten...
__label__POS
0.819707
package com.ps.repo.services; import com.ps.repo.stub.*; import com.ps.repos.*; import com.ps.services.OperationsService; import com.ps.services.impl.*; /** * Created by iuliana.cosmina on 3/4/16. */ public class SimpleServiceTestBase { protected SimpleRequestService requestService; protected SimpleRespons...
__label__POS
0.999952
package com.ps.repo.services; import com.ps.base.*; import com.ps.ents.*; import com.ps.services.OperationsService; import com.ps.services.impl.SimpleOperationsService; import com.ps.util.Pair; import org.joda.time.DateTime; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertNotNull;...
__label__POS
0.681842
package com.ps.services.impl; import com.ps.base.RequestStatus; import com.ps.base.ResponseStatus; import com.ps.ents.*; import com.ps.repos.RequestRepo; import com.ps.repos.UserRepo; import com.ps.services.RequestService; import com.ps.util.Pair; import org.joda.time.DateTime; /** * Created by iuliana.cosmina on 2/...
__label__POS
0.912217
package com.ps.config.db; import com.ps.config.db.DataConfig; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.*; import org.springframework.context.support.PropertySourcesPlacehold...
__label__POS
0.824951
function LightObject(light) { this.lightRef = light; this.mSelector = new DragSelector("assets/lighticon.png", light); this.drawSelection = false; var xPos = this.lightRef.mPosition[0]; var yPos = this.lightRef.mPosition[1]; this.isVerticle = true; this.mNearControl = new ControlArm(xPos, yPos, this.lightRef....
__label__POS
0.64915
package web; import com.ps.ents.User; import com.ps.problem.NotFoundException; import com.ps.web.UserController; import org.junit.Before; import org.junit.Test; import org.springframework.ui.ExtendedModelMap; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNot...
__label__POS
0.925261
package com.ps.init; import com.ps.config.SecurityConfig; import com.ps.config.ServiceConfig; import com.ps.config.WebConfig; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.filter.HiddenHttpMethodFilter; import org.springframework.web.servlet.support.AbstractAnnotationCon...
__label__POS
0.998872
<!DOCTYPE html> <head> <title>Tutorial Code 3a</title> </head> <!--Use embedded shader code for now, in order to remove async loading complexity.--> <body onload=" var game = new MyGameScene(); gEngine.Core.initializeEngineCore('GLCanvas', game); "> <!-- the following says ther...
__label__POS
0.914607
<!DOCTYPE html> <head> <title>Tutorial Code 2c</title> </head> <!--Use embedded shader code for now, in order to remove async loading complexity.--> <body onload=" var game = new MyGameScene(); gEngine.Core.initializeEngineCore('GLCanvas', game); "> <!-- the following says ther...
__label__POS
0.91481
<!DOCTYPE html> <head> <title>Tutorial Code 3b</title> </head> <!--Use embedded shader code for now, in order to remove async loading complexity.--> <body onload=" var game = new MyGameScene(); gEngine.Core.initializeEngineCore('GLCanvas', game); "> <!-- the following says ther...
__label__POS
0.915522
<!DOCTYPE html> <head> <title>Tutorial Code 2a</title> </head> <!--Use embedded shader code for now, in order to remove async loading complexity.--> <body onload=" var game = new MyGameScene(); gEngine.Core.initializeEngineCore('GLCanvas', game); "> <!-- the following says ther...
__label__POS
0.914593