content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:57 11/23/2018 // Design Name: // Module Name: dm // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.983991
/* * This file is generated by jOOQ. */ package com.apress.demo.jooq.domain; import com.apress.demo.jooq.domain.tables.Comments; import com.apress.demo.jooq.domain.tables.Posts; import com.apress.demo.jooq.domain.tables.records.CommentsRecord; import com.apress.demo.jooq.domain.tables.records.PostsRecord; import ja...
__label__POS
0.950872
using System.Runtime.InteropServices; using NUnit.Framework; namespace DotNetDesignPatternDemos.Behavioral.TemplateMethod { namespace Coding.Exercise { public class Creature { public int Attack, Health; public Creature(int attack, int health) { Attack = attack; Health = ...
__label__POS
0.882283
/* * This file is generated by jOOQ. */ package com.apress.demo.jooq.domain; import com.apress.demo.jooq.domain.tables.Comments; import com.apress.demo.jooq.domain.tables.Posts; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Catalog; ...
__label__POS
0.959903
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.Acyclic { public interface IVisitor<TVisitable> { void Visit(TVisitable obj); } public interface IVisitor {} // marker interface public abstract class ...
__label__POS
0.797603
package aqario.fowlplay.common.entity.ai.brain.sensor; import aqario.fowlplay.common.entity.BirdEntity; import aqario.fowlplay.core.FowlPlaySensorType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.ai.brain.LivingTargetCache; import net.minecraft.entity.ai.brain.MemoryModuleType; import net.min...
__label__POS
0.929025
/* * This file is generated by jOOQ. */ package com.apress.demo.jooq.domain.tables; import com.apress.demo.jooq.domain.Keys; import com.apress.demo.jooq.domain.Public; import com.apress.demo.jooq.domain.tables.records.CommentsRecord; import java.sql.Timestamp; import java.util.Arrays; import java.util.List; import...
__label__POS
0.661872
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.ReflectiveExtension { using DictType = Dictionary<Type, Action<Expression, StringBuilder>>; public abstract class Expression { } public class DoubleExpressi...
__label__POS
0.960411
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:13:22 11/23/2018 // Design Name: // Module Name: npc // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.664167
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.Dynamic { public abstract class Expression { } public class DoubleExpression : Expression { public double Value; public DoubleExpression(double valu...
__label__POS
0.990312
#include <cstdio> #include <stack> #include <vector> #include <array> #include <iostream> using namespace std; #include <boost/algorithm/string.hpp> void stack_and_vector() { stack<int, vector<int>> s; s.push(123); int x = s.top(); s.pop(); } class String { string s; public: String(const string& s) : s{s...
__label__POS
0.974188
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.FlyingBirdEntity; import aqario.fowlplay.common.entity.ai.pathing.FlightTargeting; import aqario.fowlplay.common.util.MemoryList; import com.mojang.datafixers.util.Pair; import net.minecraft.entity.ai.brain.Brain; import net.mine...
__label__POS
0.840089
using System; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.Intrusive { public abstract class Expression { // adding a new operation public abstract void Print(StringBuilder sb); } public class DoubleExpression : Expression { private double...
__label__POS
0.900317
/* * This file is generated by jOOQ. */ package com.apress.demo.jooq.domain.tables.records; import com.apress.demo.jooq.domain.tables.Comments; import java.sql.Timestamp; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record6; import org.jooq.Row6; import org.jo...
__label__POS
0.765675
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:53:56 11/24/2018 // Design Name: // Module Name: controller // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
__label__POS
0.753453
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import aqario.fowlplay.common.util.MemoryList; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.FuzzyTargeting; import net.minecraft.entity.ai.brain.MemoryModuleType; import net.minecraft.entity.ai.b...
__label__POS
0.865076
/* * This file is generated by jOOQ. */ package com.apress.demo.jooq.domain.tables.records; import com.apress.demo.jooq.domain.tables.Posts; import java.sql.Timestamp; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record4; import org.jooq.Row4; import org.jooq....
__label__POS
0.665873
/** * */ package com.apress.demo.entities; import java.sql.Timestamp; /** * @author Siva * */ public class Comment { private Integer id; private Integer postId; private String name; private String email; private String content; private Timestamp createdOn; public Comment() { } ...
__label__POS
0.811733
/** * */ package com.apress.demo.entities; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; /** * @author Siva * */ public class Post { private Integer id; private String title; private String content; private Timestamp createdOn; private List<Comment> comments =...
__label__POS
0.824042
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.Reflective { using DictType = Dictionary<Type, Action<Expression, StringBuilder>>; public abstract class Expression { } public class DoubleExpression : Exp...
__label__POS
0.942334
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import aqario.fowlplay.common.util.MemoryList; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.SpawnGroup; import net.minecraft.entity.ai.brain.EntityLookT...
__label__POS
0.949364
/*************************************************************************** begin : Wed Nov 28 2018 copyright : (C) 2019 by Martin Preuss email : martin@libchipcard.de *************************************************************************** * This file is part of the project "AqBanking". ...
__label__POS
0.990028
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:30:22 11/23/2018 // Design Name: // Module Name: WB // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.963491
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import aqario.fowlplay.common.util.MemoryList; import aqario.fowlplay.core.FowlPlayMemoryModuleType; import net.minecraft.entity.ai.brain.EntityLookTarget; import net.minecraft.entity.ai.brain.MemoryModuleType; import...
__label__POS
0.96393
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.FlyingBirdEntity; import aqario.fowlplay.common.util.MemoryList; import net.minecraft.entity.ai.brain.MemoryModuleType; /** * A collection of tasks that control the flying behavior of birds. */ public class FlightTasks { p...
__label__POS
0.998488
/** * */ package com.apress.demo.services; /** * @author Siva * */ import static com.apress.demo.jooq.domain.tables.Posts.POSTS; import static com.apress.demo.jooq.domain.tables.Comments.COMMENTS; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import org.jooq.DSLContext; import...
__label__POS
0.647656
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace DotNetDesignPatternDemos.Behavioral.Visitor.Classic { public abstract class Expression { public abstract void Accept(IExpressionVisitor visitor); } public class DoubleExpression : Expression { ...
__label__POS
0.882138
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import com.mojang.datafixers.util.Pair; import net.minecraft.entity.ai.brain.Brain; import net.minecraft.entity.ai.brain.MemoryModuleState; import net.minecraft.entity.ai.brain.MemoryModuleType; import net.minecraft.s...
__label__POS
0.929481
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.PenguinEntity; import aqario.fowlplay.common.util.MemoryList; import net.minecraft.entity.ai.brain.MemoryModuleType; /** * A collection of tasks that control the sliding behavior of penguins. */ public class SlideTasks { p...
__label__POS
0.998006
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.PigeonEntity; import aqario.fowlplay.common.entity.ai.brain.TeleportTarget; import aqario.fowlplay.common.util.MemoryList; import aqario.fowlplay.core.FowlPlayMemoryModuleType; import com.mojang.datafixers.util.Pair; import net.m...
__label__POS
0.954104
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using Stateless; using static System.Console; namespace DesignPatterns.Behavioral.State.Stateless { public enum Health { NonReproductive, Pregnant, Reproductive } public enum Activity { ...
__label__POS
0.848267
<!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
"use strict"; var powerupjs = (function (powerupjs) { function GameStateManager_Singleton() { this._gameStates = []; this._currentGameState = null; } GameStateManager_Singleton.prototype.add = function (gamestate) { this._gameStates.push(gamestate); this._currentGameState ...
__label__POS
0.95018
using NUnit.Framework; namespace DotNetDesignPatternDemos.Behavioral.State { namespace Coding.Exercise { public class CombinationLock { private readonly int[] combination; public CombinationLock(int [] combination) { this.combination = combination; Reset(); } ...
__label__POS
0.683021
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace DotNetDesignPatternDemos.Behavioral.State.Handmade { public enum State { OffHook, Connecting, Connected, OnHold, OnHook } public enum Trigger { CallDialed, HungUp, ...
__label__POS
0.930332
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:21:31 11/23/2018 // Design Name: // Module Name: EX // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.951514
using System; using System.Text; namespace DotNetDesignPatternDemos.Behavioral.State { enum State { Locked, Failed, Unlocked } public class SwitchBasedDemo { static void Main(string[] args) { string code = "1234"; var state = State.Locked; var entry = new StringBuilder...
__label__POS
0.940488
#include <iostream> #include <fstream> #include <string> #include <vector> #include <boost/lexical_cast.hpp> using namespace std; struct Journal { string title; vector<string> entries; explicit Journal(const string& title) : title{title} { } void add(const string& entry); // persistence is a separ...
__label__POS
0.858097
using System; using System.Activities.Statements; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotNetDesignPatternDemos.Behavioral.State.Classic { public class Switch { public State State = new OffState(); public void On() { State.On(this...
__label__POS
0.947791
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:27:06 11/23/2018 // Design Name: // Module Name: MEM // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.94849
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import aqario.fowlplay.common.util.MemoryList; import aqario.fowlplay.core.FowlPlayMemoryModuleType; import com.mojang.datafixers.util.Pair; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.brain.Bra...
__label__POS
0.989636
#include <string> #include <iostream> #include <functional> using namespace std; class MailService { class Email { public: string from, to, subject, body; }; public: class EmailBuilder{ Email& email; public: explicit EmailBuilder(Email &email) : email(email) {} EmailBuilder& from(string from...
__label__POS
0.989445
#include <iostream> #include <string> #include <vector> #include <tuple> using namespace std; // A. High-level modules should not depend on low-level modules. // Both should depend on abstractions. // B. Abstractions should not depend on details. // Details should depend on abstractions. enum class Relationsh...
__label__POS
0.743703
#pragma once #include <iostream> #include <fstream> #include <string> #include <map> #include <boost/lexical_cast.hpp> #include <vector> class Database { public: virtual int get_population(const std::string& name) = 0; }; class SingletonDatabase : public Database { SingletonDatabase() { std::cout << "Initia...
__label__POS
0.984205
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:02:24 11/23/2018 // Design Name: // Module Name: grf // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.79872
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.BirdEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.FuzzyTargeting; import net.minecraft.entity.ai.NoPenaltySolidTargeting; import net.minecraft.entity.ai.brain.MemoryModuleType; import net.minecraft.en...
__label__POS
0.610327
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>DOM Scripting: Web Design with JavaScript and the Document Object Model</title> <link rel="stylesheet" type="text/css" media="screen" href="styles/basic.css" /> </head> <body> <div id="container"> <div...
__label__POS
0.978835
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:56:51 11/23/2018 // Design Name: // Module Name: ID // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.603928
package aqario.fowlplay.common.entity.ai.brain.task; import aqario.fowlplay.common.entity.PigeonEntity; import aqario.fowlplay.common.entity.ai.brain.TeleportTarget; import aqario.fowlplay.common.util.MemoryList; import aqario.fowlplay.core.FowlPlayMemoryModuleType; import net.minecraft.entity.ai.brain.EntityLookTarge...
__label__POS
0.918306
#include <string> #include <iostream> #include <functional> using namespace std; class PersonBuilder; class Person { public: string name, position; }; class PersonBuilder { protected: Person person; public: [[nodiscard]] Person build() const { return person; } }; //class PersonInfoBuilder : public Perso...
__label__POS
0.998356
// Objects in a program should be replaceable with instances of their subtypes // w/o altering the correctness of the program #include <iostream> class Rectangle { protected: int width, height; public: Rectangle(const int width, const int height) : width{width}, height{height} { } int get_width() const { r...
__label__POS
0.730649
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:34 11/24/2018 // Design Name: // Module Name: forward_mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: /...
__label__POS
0.998473
/* * Copyright (c) 2016. * Modified on 19/05/2016. */ package cm.aptoide.pt.utils; import android.util.Base64; import java.security.SecureRandom; import java.util.Arrays; import java.util.UUID; import java.util.concurrent.atomic.AtomicLong; /** * Created on 19/05/16. */ public final class IdUtils { private s...
__label__POS
0.978648
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:31:53 11/23/2018 // Design Name: // Module Name: mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.675673
import numpy class SumTree: write = 0 def __init__(self, capacity): self.capacity = capacity self.tree = numpy.zeros( 2*capacity - 1 ) self.data = numpy.zeros( capacity, dtype=object ) def _propagate(self, idx, change): parent = (idx - 1) // 2 self.tree[parent] +=...
__label__POS
0.759386
/* * Copyright (c) 2016. * Modified on 04/08/2016. */ package cm.aptoide.pt.utils; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.content.pm.A...
__label__POS
0.740185
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:13:10 11/30/2018 // Design Name: // Module Name: Mult_Div // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // /...
__label__POS
0.693174
#pragma once #include "Material.h" #include "SolidWall.h" enum class WallType { basic, main, partition }; class WallFactory { static std::vector<std::weak_ptr<Wall>> walls; public: static std::shared_ptr<SolidWall> create_main(Point2D start, Point2D end, int elevation, int height) { if (elevation < 0...
__label__POS
0.956026
#pragma once #include "Point2D.h" class Wall { Point2D start, end; int elevation; int height; //public: protected: Wall(const Point2D start, const Point2D end, const int elevation, const int height) : start{start}, end{end}, elevation{elevation}, height{height} { } // but now you ...
__label__POS
0.667697
/* * Copyright (c) 2016. * Modified on 28/04/2016. */ package cm.aptoide.pt.utils; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.os.Build; import dalvik.system.DexFile; import java.io.Fil...
__label__POS
0.725064
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:57 11/23/2018 // Design Name: // Module Name: dm // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.983991
"use strict"; function Level(levelIndex, id) { powerupjs.GameObjectList.call(this, id); this._levelIndex = levelIndex; this._waterdrops = new powerupjs.GameObjectList(ID.layer_objects); this._enemies = new powerupjs.GameObjectList(ID.layer_objects); this._quitButton = new powerupjs.Button(sprites....
__label__POS
0.830181
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 22:40:05 12/12/2018 // Design Name: // Module Name: DEV1 // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Re...
__label__POS
0.73065
package cm.aptoide.pt.actions; import rx.Observable; import rx.Subscriber; /** * Created by diogoloureiro on 09/09/16. */ public class RequestDownloadAccessOnSubscribe implements Observable.OnSubscribe<Void> { private final PermissionService permissionRequest; private final boolean allowDownloadOnMobileData; ...
__label__POS
0.984696
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:13:22 11/23/2018 // Design Name: // Module Name: npc // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.664167
"use strict"; function PlayingState() { powerupjs.IGameLoopObject.call(this); this.currentLevelIndex = -1; this.levels = []; this.loadLevelsStatus(); this.loadLevels(); } PlayingState.prototype = Object.create(powerupjs.IGameLoopObject.prototype); Object.defineProperty(PlayingState.prototype, "...
__label__POS
0.826897
"use strict"; function TitleMenuState(layer) { powerupjs.GameObjectList.call(this, layer); // the title screen var titleScreen = new powerupjs.SpriteGameObject(sprites.background_title, ID.layer_background); this.add(titleScreen); // add a play button this.playButton = new powerupjs.Button(sp...
__label__POS
0.905293
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:53:56 11/24/2018 // Design Name: // Module Name: controller // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
__label__POS
0.753453
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Jay Skript And The Domsters</title> <script src="scripts/modernizr-1.6.min.js"></script> <link rel="stylesheet" media="screen" href="styles/basic.css" /> </head> <body> <header> <img src="images/logo.gif" alt="Jay Skript and the Domst...
__label__POS
0.661777
"use strict"; function LevelMenuState(layer) { powerupjs.GameObjectList.call(this, layer); this.background = new powerupjs.SpriteGameObject(sprites.levelselect, ID.layer_background); this.add(this.background); this.back = new powerupjs.Button(sprites.button_back, ID.layer_overlays); this.back.pos...
__label__POS
0.713346
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 22:05:26 12/12/2018 // Design Name: // Module Name: DEV0 // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Re...
__label__POS
0.733526
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:30:22 11/23/2018 // Design Name: // Module Name: WB // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.963491
"use strict"; function GameOverState() { powerupjs.GameObjectList.call(this); this.playingState = powerupjs.GameStateManager.get(ID.game_state_playing); this.overlay = new powerupjs.SpriteGameObject(sprites.overlay_gameover, ID.layer_overlays); this.overlay.position = this.overlay.screenCenter; thi...
__label__POS
0.741539
"use strict"; function LevelFinishedState() { powerupjs.GameObjectList.call(this); this.playingState = powerupjs.GameStateManager.get(ID.game_state_playing); this.overlay = new powerupjs.SpriteGameObject(sprites.overlay_welldone, ID.layer_overlays); this.overlay.position = this.overlay.screenCenter; ...
__label__POS
0.735515
package cm.aptoide.pt.utils.q; import android.app.ActivityManager; import android.app.UiModeManager; import android.content.res.Configuration; import android.content.res.Resources; import android.util.Base64; import android.view.WindowManager; import static cm.aptoide.pt.utils.AptoideUtils.ScreenU; import static cm.a...
__label__POS
0.989342
/* * Copyright (c) 2016. * Modified on 25/08/2016. */ package cm.aptoide.pt.utils.design; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.os.Build; import android.view.View; import android.widget.Toast; import androidx.annotation.NonNull; import andr...
__label__POS
0.875933
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:21:31 11/23/2018 // Design Name: // Module Name: EX // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.951514
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:27:06 11/23/2018 // Design Name: // Module Name: MEM // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.9476
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:02:24 11/23/2018 // Design Name: // Module Name: grf // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.79872
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:56:51 11/23/2018 // Design Name: // Module Name: ID // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.603928
"use strict"; function GameStateManager_Singleton() { this._gameStates = []; this._currentGameState = null; } GameStateManager_Singleton.prototype.add = function (gamestate) { this._gameStates.push(gamestate); this._currentGameState = gamestate; return this._gameStates.length - 1; }; GameStateMan...
__label__POS
0.978519
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:34 11/24/2018 // Design Name: // Module Name: forward_mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: /...
__label__POS
0.997984
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:31:53 11/23/2018 // Design Name: // Module Name: mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.675673
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System.Reflection; namespace ConfiguringApps { publi...
__label__POS
0.981651
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:13:10 11/30/2018 // Design Name: // Module Name: Mult_Div // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // /...
__label__POS
0.693174
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:57 11/23/2018 // Design Name: // Module Name: dm // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.983991
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 22:40:05 12/12/2018 // Design Name: // Module Name: DEV1 // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Re...
__label__POS
0.73065
package com.apress.jhblog.security; import org.junit.Test; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.co...
__label__POS
0.852798
"use strict"; function handleTouchStart(evt) { evt.preventDefault(); var touches = evt.changedTouches; for (var i = 0; i < touches.length; i++) { Touch._touches.push(touches[i]); Touch._touchPresses.push(true); } } function handleTouchMove(evt) { evt.preventDefault(); var touch...
__label__POS
0.626629
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:13:22 11/23/2018 // Design Name: // Module Name: npc // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.664167
package com.apress.jhblog.security.jwt; import com.apress.jhblog.security.AuthoritiesConstants; import io.github.jhipster.config.JHipsterProperties; import org.junit.Before; import org.junit.Test; import org.springframework.http.HttpStatus; import org.springframework.mock.web.MockFilterChain; import org.springframewor...
__label__POS
0.768851
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:53:56 11/24/2018 // Design Name: // Module Name: controller // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
__label__POS
0.753453
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 22:05:26 12/12/2018 // Design Name: // Module Name: DEV0 // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Re...
__label__POS
0.733526
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:30:22 11/23/2018 // Design Name: // Module Name: WB // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.963491
package com.apress.jhblog.web.rest; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import org.hamcrest.Description; import org.hamcrest.TypeSafeDiagnosingMatcher; import org.springframework.http.Media...
__label__POS
0.725004
"use strict"; GameObjectList.prototype = Object.create(GameObject.prototype); function GameObjectList(layer, id) { GameObject.call(this, layer, id); this._gameObjects = []; } Object.defineProperty(GameObjectList.prototype, "length", { get: function () { return this._gameObjects.length; } });...
__label__POS
0.918857
"use strict"; function PairList(nrPairs, layer, id) { SpriteGameObject.call(this, sprites.frame_goal, layer, id); this._pairs = []; for (var i = 0; i < nrPairs; i++) this._pairs.push(7); this._pairSprite = new SpriteGameObject(sprites.penguin_pairs); this._pairSprite.parent = this; } PairLi...
__label__POS
0.648391
"use strict"; function PlayingState() { IGameLoopObject.call(this); this.currentLevelIndex = -1; this.levels = []; this.loadLevelsStatus(); this.loadLevels(); } PlayingState.prototype = Object.create(IGameLoopObject.prototype); Object.defineProperty(PlayingState.prototype, "currentLevel", { ...
__label__POS
0.809163
"use strict"; function TitleMenuState(layer) { GameObjectList.call(this, layer); var background = new SpriteGameObject(sprites.background_title, ID.layer_background); this.add(background); this.playButton = new Button(sprites.button_play, ID.layer_overlays); this.playButton.position = new Vector2...
__label__POS
0.79567
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:21:31 11/23/2018 // Design Name: // Module Name: EX // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.951514