text stringlengths 3.52k 24k |
|---|
package io.hyperfoil.core.handlers;
import java.io.Serializable;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.function.Function;
import io.hyperfoil.api.config.BenchmarkDefinitionException;
import io.hyperfoil.api.session.Session;
public abstract cla... |
/*
MIT License
Copyright (c) 2019. <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package de.citec.sc.learning;
import de.citec.sc.dudes.rdf.ExpressionFactory;
import de.citec.sc.dudes.rdf.RDFDUDES;
import de.citec.s... |
package com.cwg.view;
import com.cwg.util.JDBCAdapter;
import com.cwg.util.RetrieveObject;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
public class GradeGatherQueryVi... |
/*
* Artifactory is a binaries repository manager.
* Copyright (C) 2012 JFrog Ltd.
*
* Artifactory is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your o... |
package com.platformer.main;
import com.platformer.Main;
import com.platformer.supers.GameObject;
import com.platformer.supers.GamePanel;
import com.platformer.util.Format;
import com.platformer.util.JSONReader;
import com.platformer.util.JSONWriter;
import org.json.JSONException;
import org.json.JSONObject;
import j... |
package contest.ccc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class CCC_2001_Stage_2_Election_Night {
static BufferedReader br = new Buffered... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, <NAME>
*
* Project Info: https://plantuml.com
*
* If you like this project or if you fin... |
package com.tcl.old.utils;
import com.tcl.old.entity.MethodEntity;
import lombok.Getter;
import org.jgrapht.graph.DefaultDirectedGraph;
import org.jgrapht.graph.DefaultEdge;
import java.lang.reflect.InvocationTargetException;
import java.util.*;
public class GBuilder {
// 0 - none 1 - catch 2 - throw 3 - all... |
/* (c) 2014 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... |
package jason.algorithm.practice;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.PriorityQueue;
import org.junit.Test;
//http://www.programcreek.com/2013/02/longest-substring-... |
// © 2018 <NAME>
// MIT License
package RecursiveTicTacToe;
import javafx.application.Application;
import javafx.geometry.VPos;
import javafx.scene.Group;
import javafx.scene.paint.*;
import javafx.scene.text.Font;
import javafx.scene.text.TextAlignment;
import javafx.scene.transform.Affine;
import javafx.scene.Scene... |
package ohehehou.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
import java.util.ArrayList;
import... |
/******************************************************************************
* Copyright 2009-2018 Exactpro (Exactpro Systems Limited)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
/**
* Copyright (c) 2012 Perforce Software. All rights reserved.
*/
package com.perforce.p4java.server;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java... |
/*
* Copyright 2006 Webmedia Group Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* @author <NAME>
*
* @copyright 2012-2016 (c) <NAME> <markus at botten dot org>
*
* @license Copyright (c) 2012-2018, <NAME>
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redist... |
/*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.modules.myuser.entity;
import javax.validation.constraints.NotBlank;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import java.util.Date;
import com.jeesite.common.mybatis.ann... |
/*-
* Copyright (C) 2011, 2017 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
/*
* Copyright © 2011-2012 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, ... |
package com.tracelink.appsec.module.eslint.designer;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.spring... |
package edu.udel.cis.vsl.civl.library.domain;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import edu.udel.cis.vsl.civl.config.IF.CIVLConfiguration;
import edu.udel.cis.vsl.civl.dynamic.IF.SymbolicUtility;
impor... |
/* */ package com.bluefireplatform.service.impl;
/* */
/* */ import com.alibaba.fastjson.JSONObject;
/* */ import com.bluefireplatform.component.ReturnHelper;
/* */ import com.bluefireplatform.entity.*;
/* */
/* */
/* */
/* */
/* */ import com.bluefireplatform.mapper.*;
/* */... |
/*
Copyright 2019 by <NAME> and George Mason University
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package sim.engine;
import java.io.IOException;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util... |
package com.therearenotasksforus.videohostingapi.service.implementation;
import com.therearenotasksforus.videohostingapi.bucket.BucketName;
import com.therearenotasksforus.videohostingapi.filestore.FileStore;
import com.therearenotasksforus.videohostingapi.models.Channel;
import com.therearenotasksforus.videohostingap... |
package org.bajiepka.concurrency.modernjavainaction;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.junit.Before;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java... |
package com.simibubi.create.foundation.gui;
import com.simibubi.create.Create;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.AbstractGui;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecr... |
/*
BSD 3-Clause License
Copyright (c) 2019, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of condit... |
package gov.va.escreening.entity;
import gov.va.escreening.constants.AssessmentConstants;
import gov.va.escreening.dto.ae.ErrorBuilder;
import gov.va.escreening.dto.ae.ValidationDataTypeEnum;
import gov.va.escreening.exception.IllegalSystemStateException;
import java.io.Serializable;
import java.util.Date;
i... |
/**
* Copyright 2018-2020 (c) <NAME>.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law... |
package me.sahustei.kingdomwars.game.object;
import me.sahustei.kingdomwars.bukkit.ItemstackFactory;
import me.sahustei.kingdomwars.bukkit.Text;
import me.sahustei.kingdomwars.game.Main;
import me.sahustei.kingdomwars.game.RollbackHandler;
import me.sahustei.kingdomwars.game.data.DataHandler;
import me.sahustei.kingdo... |
/*
* Copyright 2021 EPAM Systems, Inc
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the Li... |
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... |
package yhack2014.artroom;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;
im... |
/******************************************************************************
* Copyright (C) 2009 <NAME> *
* Copyright (C) 2009 Idalica Corporation *
* This program is free software; you can redistribute it and/or modify it *
* und... |
package net.aquadc.fiftyshades;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RadialGradient;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphic... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... |
/*
* RecordQueryUnionPlan.java
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2015-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
/*
* Copyright 2016 <NAME>
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agre... |
package ode;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.ArrayList;
import javax.imageio.ImageIO;
import javax.swing.*;
public class Graph extends JComponent {
int unit = 50;
double x0 = 0, x = 0, y = 0, hx = 0;
double a = 0, b = 0, c = 0, d = 0, e = 0,... |
package com.webank.oracle.transaction.register;
import static com.webank.oracle.event.service.AbstractCoreService.dealWithReceipt;
import java.math.BigInteger;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import org.apache.commons.collections4.CollectionUtils;
import org.a... |
package com.scolastico.discord_exe.config;
public class ConfigDataStore {
private String discordToken = "token";
private WebServerData webServer = new WebServerData();
private MysqlData mysql = new MysqlData();
private int maxErrorCountToShutDown = 10;
private String w2gToken = "token";
private String w2g... |
package com.takipi.integrations.grafana.functions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.concurrent.Callable;
import org.joda.t... |
package won.bot.mailbot.util;
import org.apache.commons.lang.StringUtils;
import org.apache.jena.query.*;
import org.apache.jena.tdb.TDB;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.VelocityEngine;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... |
package com.treech.custom.viewstudy.view;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.BlurMaskFilter;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
imp... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2011-2020 Broad Institute, Aiden Lab
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation th... |
/*
* Copyright (c) 2020 VMware Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... |
/**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
/* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
import java.util.*;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.io.File;
import java.io.PrintWriter;
import java.io.IOException;
/**
* La machine de turing
*
* @author <NAME>
*/
public class Turing_Machine {
priva... |
package com.stc.trawl.voice.grid.cache.identification;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.stc.trawl.common.core.exception.TrawlException;
import com.stc.trawl.common.grid.cache.status.CacheCommandStatus;
import com.stc.trawl.common.grid.cache.status.ModelStatus;
import com.stc.tr... |
/*
* RHQ Management Platform
* Copyright (C) 2005-2010 Red Hat, Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2 of the License.
*
* This program i... |
/*
* Copyright 2005-2009 WSO2, Inc. http://wso2.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/* ====================================================================
* Copyright (c) 2014 Alpha Cephei Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of sou... |
//
// $Id$
package client.mail;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import ... |
/* Copyright (C) 2020 <NAME> */
package countermanager.gui;
import com.shinyhut.vernacular.client.VernacularClient;
import com.shinyhut.vernacular.client.VernacularConfig;
import static com.shinyhut.vernacular.client.rendering.ColorDepth.BPP_16_TRUE;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
impo... |
package classifier.classifiers.core;
import classifier.classifiers.interfaces.GenericClassifier;
import classifier.messagetypes.TokenizedMessage;
import java.util.*;
import java.util.stream.Collectors;
// TODO Create a Classifier base class?
/**
* KNN classification of plain text messages.
* TODO Create a Classi... |
package android.puzzletest;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.SystemClock;
import android.provider.MediaStore;
import android.s... |
package coffee.weneed.utils;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import ja... |
package sh.jay.xposed.whatsapp;
import static de.robv.android.xposed.XposedHelpers.findClass;
import static de.robv.android.xposed.XposedHelpers.findMethodBestMatch;
import java.lang.reflect.Method;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
im... |
package nl.knokko.collission;
import org.lwjgl.util.vector.Vector3f;
import nl.knokko.entity.category.ICollidingEntity;
import nl.knokko.utils.Facing;
import nl.knokko.utils.Maths;
import nl.knokko.utils.physics.Position;
public class ColliderBox extends Collider {
float minX;
float minY;
float minZ;
float m... |
package us.msu.cse.repair.ec.problems;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
imp... |
package UI;
import static UI.MenuLogin.input;
import Utils.Data;
import Utils.Tempo;
import static Utils.Utilitarios.isNumeric;
import static java.lang.System.exit;
import java.time.YearMonth;
import java.util.Calendar;
import model.AplicacaoGPSD;
import model.Disponibilidade;
/**
* @author <NAME> (1181444)
*/
publ... |
package cjohannsen;
import cjohannsen.protocol.*;
import cjohannsen.protocol.Handler;
import cjohannsen.protocol.MessageType;
import cjohannsen.protocol.Packet;
import com.fazecast.jSerialComm.SerialPort;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autow... |
package de.pfist.historicmusicnotationtraining;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.List;
import javax.sound.midi.MidiUnavailableException;
import javax.swing.SwingUtilities;
import de.pfist.historicmusicnotationtrain... |
package eu.spitfire_project.ld4s.resource.temporal_property.platform;
import java.io.Serializable;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.restlet.data.Form;
import com.hp.hpl.jena.ontology.OntClass;
import eu.spitfire_project.ld4s.lod_cloud.Contex... |
/*
Copyright 2017 <NAME> - EPFL - <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... |
package com.coding.datastructures.tree;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/***
BinarySearchTree.BstNode root = null; // Pointer to the root, this is not really the root but store the address of the root
// setting the tree as empty tree
BinaryS... |
package com.fy.client.start;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
im... |
package org.fluentjava.iwant.wsdef;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.fluentjava.iwant.api.model.Path;
import org.fluentjava.iwant.api.model.Source;
import org.fluentjava.iw... |
/*
* RDFpro - An extensible tool for building stream-oriented RDF processing libraries.
*
* Written in 2014 by <NAME> with support by <NAME>, <NAME>,
* <NAME> and <NAME>. Contact info on http://rdfpro.fbk.eu/
*
* To the extent possible under law, the authors have dedicated all copyright and related and
* neigh... |
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at... |
/*
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
... |
package com.navid.tabs;
import android.graphics.Color;
import android.graphics.Typeface;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.View;
i... |
/*---------------------------------------------------------------------------*\
This software is released under a BSD license, adapted from
<http://opensource.org/licenses/bsd-license.php>
Copyright © 2004-2012 <NAME>.
All rights reserved.
Redistribution and use in source and binary forms, with or with... |
package edu.umass.cs.gnsserver.activecode.prototype.unblocking;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Exec... |
/*
Copyright 2016-2017 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... |
package com.minecraft.softegg.listeners;
import com.griefcraft.lwc.LWC;
import com.griefcraft.model.Protection;
import com.griefcraft.scripting.event.LWCProtectionRegisterEvent;
import com.griefcraft.scripting.event.LWCProtectionRegistrationPostEvent;
import com.griefcraft.util.matchers.DoubleChestMatcher;
import com.... |
/*******************************************************************************
* Copyright (c) 2008 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... |
package uk.ac.ox.cs.gsat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.stream.Collectors;
import uk.ac.ox.cs.pdq.fol.... |
package PolyCalc;
import java.awt.*;
/**
* Title: 6.170 PS1
* Description: 6.170 Problem Set 1
* Copyright: Copyright (c) 2001
* Company: MIT
* @author <NAME>, <NAME>
* @version 1.0
*/
public class PolyGraph extends Canvas
{
Image img= null;
int imgw=-1, imgh=-1;
Color col[]= new Color[4... |
/*
* Licensed by the author of Time4J-project.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. The copyright owner
* licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* w... |
package zan.tecbot.object.entity;
import static org.lwjgl.opengl.GL11.*;
import org.lwjgl.input.Keyboard;
import org.lwjgl.util.vector.Vector2f;
import zan.game.GameCore;
import zan.game.input.InputManager;
import zan.game.object.BaseObject;
import zan.game.object.Collision;
import zan.game.object.Shape;
... |
package it.unisa.dia.gas.plaf.jpbc.mm.clt13.generators;
import it.unisa.dia.gas.jpbc.PairingParameters;
import it.unisa.dia.gas.plaf.jpbc.mm.clt13.parameters.CTL13MMSystemParameters;
import it.unisa.dia.gas.plaf.jpbc.pairing.PairingFactory;
import it.unisa.dia.gas.plaf.jpbc.pairing.parameters.MutablePairingParameters;... |
/*
* Controller for the Login Screen
*/
package controller;
import DBQueries.DBAuth;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URL;
import java.time.ZonedDateTime;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBun... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package nge.lk.mods.simplewidgets.widgets;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.GlStateMa... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package airlinereservationsystem;
import java.sql.*;
import javax.swing.JOptionPane;
/**
*
* @author Nedlog
*/
public class Profil... |
package biblemulticonverter.versification;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import ja... |
/*
* Copyright (c) 2013 <NAME>
*
* This file is part of JPMML-Evaluator
*
* JPMML-Evaluator is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option)... |
package com.delivery.java.layout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import jav... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... |
package nl.esi.metis.aisparser.impl;
import nl.esi.metis.aisparser.AISMessage19;
import nl.esi.metis.aisparser.Sixbit;
import nl.esi.metis.aisparser.UtilsDimensions30;
import nl.esi.metis.aisparser.UtilsPositioningDevice;
import nl.esi.metis.aisparser.UtilsShipType8;
import nl.esi.metis.aisparser.UtilsSpare;
import nl... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2010 Technische Universitaet Berlin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... |
package com.ad.thepool.components;
import java.util.ArrayList;
import java.util.Iterator;
import com.ad.thepool.GObject;
import com.ad.thepool.Scene;
import com.ad.thepool.objects.Portal;
import com.ad.thepool.objects.Water;
public class FontaineComponent extends Component implements Cloneable {
/**
*
*/
pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.