text
stringlengths
3.52k
24k
package com.github.eratle.copying; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util....
package com.xeiam.xchange.streaming.websocket.drafts; import java.math.BigInteger; import java.nio.ByteBuffer; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Random; import com.xeiam....
/******************************************************************************* * Copyright (c) 2015-2016, WSO2.Telco Inc. (http://www.wso2telco.com) * * All Rights Reserved. WSO2.Telco Inc. licences this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
package com.spring.controller; import com.spring.dao.DingdanMapper; import com.spring.entity.Dingdan; import com.spring.service.DingdanService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping;...
package xyz.upperlevel.uppercore.gui; import lombok.Getter; import lombok.Setter; import net.milkbowl.vault.economy.Economy; import net.milkbowl.vault.economy.EconomyResponse; import org.bukkit.entity.Player; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.inventory.ItemStack; import org.bukki...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This program 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) any la...
/* * Copyright (c) 2016 <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, distrib...
package com.opsvision.monitoring.monitors; import org.apache.log4j.Logger; import org.quartz.DisallowConcurrentExecution; import org.quartz.JobDataMap; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.quartz.PersistJobDataAfterExecution; import org.snmp4j.event.ResponseEvent; ...
/** * This code shows how to create a custom datapagequery. * For example getting Record Instances is a datapagequery provided by BMC. * A datapagequery will ensure data will be fetched and returned in a standardized way * and can be used to modify data before sending it to the UI or another service. * * It will ...
/* * Copyright (c) 2002-2003, The Joust Project * 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, t...
package edu.brown.cs.burlap.vfa; import burlap.behavior.functionapproximation.ParametricFunction; import burlap.behavior.valuefunction.QProvider; import burlap.behavior.valuefunction.QValue; import burlap.mdp.core.action.Action; import burlap.mdp.core.state.State; import burlap.mdp.singleagent.environment.EnvironmentO...
package ro.ubbcluj.cs.dl; import org.deeplearning4j.datasets.iterator.impl.ListDataSetIterator; import org.deeplearning4j.eval.Evaluation; import org.deeplearning4j.nn.api.OptimizationAlgorithm; import org.deeplearning4j.nn.conf.LearningRatePolicy; import org.deeplearning4j.nn.conf.MultiLayerConfiguration; import org....
package com.mrbysco.miab.client.models.knuckles; import com.google.common.collect.ImmutableList; import com.mrbysco.miab.entity.memes.KnucklesEntity; import net.minecraft.client.renderer.entity.model.SegmentedModel; import net.minecraft.client.renderer.model.ModelRenderer; public class KnucklesTankModel<T extends Knu...
package cn.gmssl.security.util; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.math.BigInteger; import java.util.Arrays; public final class ObjectIdentifier implements Serializable { private byte[] encoding = null; privat...
/* * 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 cn.hanbell.oa.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Basic; import javax.persist...
package com.yjl.distributed.mq.config.common.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collecti...
package dev.antoineraulin.numerama; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.PointF; import android.net.Uri; import android.support.design.widget.NavigationView; import android.support.design.widget.Snackbar; import android.support...
package de.sharknoon.siedlervoncatan.spielfeld; import de.sharknoon.siedlervoncatan.enums.Hafen; import de.sharknoon.siedlervoncatan.enums.Landschaft; import de.sharknoon.siedlervoncatan.utility.Position; import javafx.collections.FXCollections; import javafx.collections.MapChangeListener; import javafx.collections.Ob...
// // Copyright (c) 2008-2011, <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, publis...
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * 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...
/* * Project Scelight * * Copyright (c) 2013 <NAME> <<EMAIL>> * * This software is the property of <NAME>. * Copying, modifying, distributing, refactoring without the author's permission * is prohibited and protected by Law. */ package hu.scelight.gui.page.multirepanalyzer; import hu.scelight.gui....
package top.alertcode.adelina.framework.base.entity; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.HashMap; import java.util.List; import java.util.Map; /** * 排序字段参考类:AppEmployeeRoleMenuRelationDto * 依据用户id升序排序,则column=user.id、asc=true * 依据员工id升序排序,则column=employee.id、asc=tr...
package com.github.nhirakawa.hyperbeam; import static com.github.nhirakawa.hyperbeam.util.MathUtils.rand; import com.codahale.metrics.Timer; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.nhirakawa.hyperbeam.camera.Camera; import com.github.nhirakawa.hyperbeam.color.Rgb; import com.github.nhira...
/* * 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 i...
/* * Copyright (c) 2014-2019 University of Ulm * * 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...
package com.btofindr.adapter; import android.content.DialogInterface; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.util.Log; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap...
package sslServer; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.math.BigInteger; import java.net.Socket; import java.nio.channels.SocketChannel...
import ChatApp.*; import org.omg.CosNaming.*; import org.omg.CosNaming.NamingContextPackage.*; import org.omg.CORBA.*; import org.omg.PortableServer.*; import org.omg.PortableServer.POA; import java.util.*; import java.util.regex.Pattern; class ServerInterfaceImpl extends ServerInterfacePOA { // lista p...
/* * The MIT License * * Copyright 2017 Treamwork - Team software development - Los Andes University * * 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, inclu...
package se.alipsa.renjin.client.datautils; import org.renjin.primitives.Types; import org.renjin.primitives.sequence.IntSequence; import org.renjin.sexp.*; import java.text.NumberFormat; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.annotation.Nonnull; /** * Simple transforma...
package game; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.Random; import ja...
package se.lth.cs.srl.corpus; import static com.emotibot.srl.format.Constants.TAB_PATTERN; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import mate.is2.data.SentenceData09; import mate.is2.io.CONLL...
// Copyright (c) 2013 <NAME> and DeepSe group. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package core; import java.io.StringReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import parsers.module.Par...
/* Copyright 2018 <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 writing, software distributed ...
package canstr.android.ui.fileselector; /* * Copyright (c) 2017. <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 copy...
package frc.robot.commands.shooter; import edu.wpi.first.math.controller.PIDController; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.devices.Lemonlight; import frc.robot.devices.Lemonlight.LEDModes; import frc.robot.subsystems.Conveyor; import frc.robo...
/*- * Copyright 2015 Crimson Hexagon * * 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...
/* * Tencent is pleased to support the open source community by making Angel available. * * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. 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 ma...
package org.extratrees; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Random; import org.extratrees.AbstractTrees.CutResult; import org.extratrees.data.Matrix; import org.junit.Test; public class FactorTests { @Test public void testGini() { double[] co...
package com.katjes.city.objects.people; import java.text.DecimalFormat; // LatheShape3D.java // <NAME>, July 2003, <EMAIL> /* * A LatheCurve is rotated around the y-axis to make a shape. Its appearance is set to a colour or a texture. The * texture is wrapped around the shape and stretched to its max height. The r...
/* * Copyright 2020 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 "license" ...
/* * Copyright (C) 2017 <NAME>, Institute of Computer Science, Department Operating Systems * * 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, either version 3 of the License, or (at your optio...
/* Class11_Sub45_Sub15 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ final class Class11_Sub45_Sub15 extends Class11_Sub45 { static int anInt9361; static int anInt9362; int anInt9363; static int anInt9364 = 0; static int anInt9365; String aString9366; int anInt9367; static int anInt9368; int ...
/* * 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 ...
package APL.types; import APL.errors.DomainError; import APL.types.arrs.SingleItemArr; import java.util.Locale; public class Num extends Primitive { public static final Num NEGINF = new Num(Double.NEGATIVE_INFINITY); public static final Num POSINF = new Num(Double.POSITIVE_INFINITY); public static final lon...
package online.zhaopei.myproject.domain.ecssent; import java.util.Date; import online.zhaopei.myproject.domain.BaseDomain; public class VeHead extends BaseDomain { /** * serialVersionUID */ private static final long serialVersionUID = 5457328877850080019L; private String veId; private String veNo; pri...
/* Part of the NETLab Hub, which is part of the NETLab Toolkit project - http://netlabtoolkit.org Copyright (c) 2010-2013 <NAME> NETLab Hub 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, either version 3 of the...
package com.lioncorp.client.thrift; import java.lang.reflect.Proxy; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.function.Function; import java.util.str...
/****************************************************************************** * * 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 ...
package com.xinhua.esmonitor; import java.io.FileOutputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; import java.sql.Connection; import java.sql.SQLFeatureNotSupportedException; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; ...
/** * Copyright © 2016 <NAME> (<EMAIL>) * * 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 ...
/* * Copyright 2006-2018 Micro Focus International plc. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.autonomy.aci.client.transport.impl; import com.autonomy.aci.client.services.AciConstants; import com.autonomy.aci.client.transpor...
package org.insightcentre.uld.naisc.blocking; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import java.net.URI; import java.net.URISyntaxException; import java.util.AbstractCollection; import java.util.Collection; import java.util.Iterator; import ja...
package org.brailleblaster.perspectives.braille.spellcheck; import org.brailleblaster.localization.LocaleHandler; import org.brailleblaster.util.Notify; import org.eclipse.swt.SWT; import org.eclipse.swt.events.FocusEvent; import org.eclipse.swt.events.FocusListener; import org.eclipse.swt.events.SelectionAdapt...
/** * <h1>Houghton Mayfield Lab 1 - Wegougem Parking Garage</h1> * <p> * This is a program which allows for a parking garage to create receipts for parking, and keep * track of total daily sales. * </p> * @author <NAME> * @version 1.1 * @since 2020-09-16 */ public class Lab1ParkingGarage { ...
package megamu.mesh; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import processing.core.PApplet; import shapecore.BoundingBox; /** * * I never got the clever part of this running correctly. * It was going to use fracti...
package interfacePanel.panel; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import...
package com.bs.lk.newoamvptest.widget; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguratio...
/* * 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 use...
/* * Copyright by <NAME>, <NAME> * * Research Group Applied Systems Biology - Head: Prof. Dr. <NAME> * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI) * Ado...
/* * Copyright (C) 2014 <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 writin...
/** * Copyright 2015-2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourie...
package zenododb; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.file.Files; import java.nio.file....
package com.skt.thingplug.androidthings; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.os.Message; import android.util.Base64; i...
package org.nocoder.commons.mybatispage; import org.apache.ibatis.executor.parameter.ParameterHandler; import org.apache.ibatis.executor.statement.RoutingStatementHandler; import org.apache.ibatis.executor.statement.StatementHandler; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.MappedSta...
/** * Copyright (c) 2012, University of Konstanz, Distributed Systems Group * 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 copyr...
package com.hkm.slider.SliderTypes; import android.animation.LayoutTransition; import android.app.Activity; import android.graphics.RectF; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.annotation.DrawableRes; import android.support.annotati...
/* * Copyright 2018 - 2021 Swiss Federal Institute of Technology Lausanne (EPFL) * * 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. * * U...
/* * Team 4909, Bionics * Billerica Memorial High School * * Copyright: * 2021 Bionics * * License: * MIT: https://opensource.org/licenses/MIT * See the LICENSE file in the project's top-level directory for details. */ package frc.bionic.swerve; import java.util.Map; import edu.wpi.first.networktables...
package io.renren.common.utils; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.params.HttpMethodParams...
package com.codepath.todoapp; import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.speech.RecognizerIntent; import android.support.design.widget.Floa...
package ua.com.kerriline.location.mail; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.common.base.Splitter; import com.google.common.base.Splitter....
/* * 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 ai.socket; import ai.core.AI; import ai.core.AIWithComputationBudget; import ai.core.ParameterSpecification; import java.io.Bu...
package org.apache.jackrabbit.oak.plugins.document; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.*; imp...
package br.com.zuq.getsignature; import android.content.Context; import android.content.ContextWrapper; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import android.os.Environmen...
package co.nyzo.verifier; import co.nyzo.verifier.messages.NewVerifierVote; import co.nyzo.verifier.util.*; import java.nio.ByteBuffer; import java.util.*; public class NewVerifierQueueManager { private static final long maximumIpValueInterval = 16L; // The wait time for the lottery is 30 days. public ...
//--------------------------------------------------------------------------------------- // Copyright (c) 2001-2019 by PDFTron Systems Inc. All Rights Reserved. // Consult legal.txt regarding legal and license information. //--------------------------------------------------------------------------------------- packa...
import match.Betting; import match.Match; import server.Server; import user.User; import utils.Pair; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.Standar...
package optimization; import java.io.File; import java.io.FileWriter; import java.io.PrintWriter; import java.util.List; import java.util.Map; import chemkin_model.AbstractCKPackager; import chemkin_model.CKPackager; import chemkin_model.ExtractModelValuesPackagerDecorator; import optimization.levenberg.NBMTHost; i...
package com.interdataworking.mm.alg; import java.util.*; import com.interdataworking.*; import org.w3c.rdf.model.*; import org.w3c.rdf.util.*; public class StringMatcher implements UntypedGateway { static final double UNEQUAL_STRING_MATCH_PENALTY = 0.5; // 1.0: no penalty, 0: ignore completely static final doubl...
/* PersistProcessor.java * * Created on Feb 17, 2005 * * Copyright (C) 2007 Internet Archive. * * This file is part of the Heritrix web crawler (crawler.archive.org). * * Heritrix is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by *...
package com.yilian.mall.ui; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.text.Selection; import android.text.TextUtils; import android.text.TextWatcher; import a...
package com.dt.module.base.service.impl; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.alibaba.fastjson.JSONArray; import com.dt.core.common.base.BaseService; import com.dt.core.common.base.R; import com.dt.core.dao.Rcd; import com.dt.core.d...
package net.beaconradar.details; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.annotation.Nullable; import com.hannesdorfmann.mosby.mvp.MvpBasePresent...
import GameEngine.GameEngine; import controlP5.*; import processing.core.PApplet; import java.util.Arrays; public class Sudoku extends PApplet { GameEngine gameEngine; GUISettings s; ControlP5 gui; Button checkBtn; Button solveBtn; Button resetBtn; Button newBtn; Textlabel statusBar; ...
/* * (C) Copyright IBM Corp. 2021. * * 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 w...
package com.grouleff.pumpcontrol; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.SocketTimeoutException; public class Packet implements Cloneable { // Layout: Much like a GeniTelegram, except for field 2,3. // 0: 0x27, 0x26, 0x24 [SAME AS Geni] // 1: len of res...
/* class Window * * Copyright (C) 2001-2003 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later vers...
package edu.umass.cs.gigapaxos.paxosutil; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.junit.Test; import edu.umass.cs.gigapaxos.paxospackets.PValuePacket; import edu.umass.cs.gigapaxos.paxospackets.PrepareRe...
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/** * @verified * - https://atcoder.jp/contests/practice2/tasks/practice2_e * - http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_6_B */ class MinCostFlow { private static final class InternalWeightedCapEdge { final int to, rev; long cap; final long cost; InternalWeigh...
package com.ford.svl.connectedwiper; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Set; import java.util.UUID; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.C...
/** * 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...
/* * Conditions Of Use * * This software was developed by employees of the National Institute of * Standards and Technology (NIST), an agency of the Federal Government. * Pursuant to title 15 Untied States Code Section 105, works of NIST * employees are not subject to copyright protection in the United States ...
package com.Da_Technomancer.crossroads.tileentities.rotary; import com.Da_Technomancer.crossroads.API.Capabilities; import com.Da_Technomancer.crossroads.API.IInfoTE; import com.Da_Technomancer.crossroads.API.MiscUtil; import com.Da_Technomancer.crossroads.API.packets.CRPackets; import com.Da_Technomancer.crossroads.A...
package view.view_component; import commands.CommandInitializer; import commands.GenericCommand; import controller.Controller; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; imp...
/* * Copyright (c) 2010 WiYun Inc. * Author: luma(<EMAIL>) * * For all entities this program is free software; you can redistribute * it and/or modify it under the terms of the 'WiEngine' license with * the additional provision that 'WiEngine' must be credited in a manner * that can be be observed by end users, ...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
package net.messagevortex.asn1; // ************************************************************************************ // * Copyright (c) 2018 <NAME> (<EMAIL>) // * // * Permission is hereby granted, free of charge, to any person obtaining a copy // * of this software and associated documentation files (the "Software...