text stringlengths 7.32k 45.1k |
|---|
/*
* Copyright (C) 2020 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... |
/*
* Copyright 2003 by <NAME>.
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (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.mozilla.org/MPL/
*
* Software distributed under the License i... |
package org.jitsi.gov.nist.javax.sip.message;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.jitsi.gov.nist.core.InternalErrorHandl... |
package com.weiit.web.admin.ump.controller;
import com.github.binarywang.wxpay.bean.order.WxPayNativeOrderResult;
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.github.pagehelper.PageHelper;
import com.weiit.core.entity... |
package ijaux.quad;
import static java.lang.Math.*;
/*
Courtesy to Prof. <NAME>
Library for computation of special functions
and numerical integration
The code is based in mostly on
* http://www.kurims.kyoto-u.ac.jp/~ooura/intde.html
for the tanh-sinh (double exponential) method
*
* Bi... |
package com.dinodevs.pacecalendarwidget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import androi... |
/*
* 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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... |
/**
* Copyright 2014 Kakao Corp.
*
* Redistribution and modification in source or binary forms are not permitted without specific prior written permission.
*
* 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 co... |
package g.a;
import e.v.f;
import g.a.a.l;
import g.a.a.q;
import g.a.a.s;
import g.a.a.t;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
import java.util.concurrent.locks.LockSupport;
public abstract class n0 extends o0 {
/* renamed from: l reason: collision with root package name */
publi... |
package frc.robot;
import java.util.HashMap;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/*
* This class holds 4 SwerveDrive objects which each correspond to one of the swerve drives on the robot
*
*/
public class SwerveDriveTrain extends DriveTrain {
private boolean gyroDrive = false;
... |
/*
* Copyright 2015 jshook
* 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... |
/*
* RED5 Open Source Media Server - https://github.com/Red5/ Copyright 2006-2016 by respective authors (see below). 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://ww... |
/*
* Copyright 2002-2021 Barcelona Supercomputing Center (www.bsc.es)
*
* 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
*
* Unl... |
package be.sanderl.chip8emu;
public class Chip8Emulator {
private static final byte INSTRUCTION_SIZE = 2;
public static final byte NATIVE_SCREEN_WIDTH = 64;
public static final byte NATIVE_SCREEN_HEIGHT = 32;
private static final char[] FONT_SET = new char[] {
0xF0, 0x90, 0x90, 0x90, 0xF0,... |
package edu.harvard.iq.dataverse.persistence.dataset;
import edu.harvard.iq.dataverse.common.BundleUtil;
import edu.harvard.iq.dataverse.persistence.JpaEntity;
import edu.harvard.iq.dataverse.persistence.dataverse.DataverseFacet;
import edu.harvard.iq.dataverse.persistence.dataverse.DataverseFieldTypeInputLevel;
impor... |
/**
* Originally from https://github.com/yahoo/FEL
* Licensed under the terms of the Apache License 2.0. See LICENSE file at the project root for terms.
**/
package com.scienceminer.nerd.embeddings;
import it.unimi.dsi.logging.ProgressLogger;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import ja... |
package nl.knokko.multiserver.plugin;
import java.io.File;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.loggi... |
/*
* 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 boa.datagen.forges.github;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Hash... |
/******************************************************************
* File: Registry.java
* Created by: <NAME>
* Created on: 26 Jan 2013
*
* (c) Copyright 2013, Epimorphics Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
/*
* 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 n... |
package edu.ttu.krlab.alm;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
//import org.antlr.v4.runtime.Ba... |
package com.heaven7.java.api.test.callsite;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandleProxies;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.invoke.SwitchPoint;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
i... |
/*
* CWS, Cryptographic Web Store - open source Cryptographic Storage system.
* Copyright (C) 2016-2021, JavaDog.io
* mailto: cws AT JavaDog DOT io
*
* CWS is free software; you can redistribute it and/or modify it under the
* terms of the Apache License, as published by the Apache Software Foundation.
*
* CWS ... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, <NAME>
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
package hu.webarticum.treeprinter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TraditionalTreePrinter extends AbstractTreePrinter {
public static final Aligner DEFAULT_ALIGNER = new DefaultAligner();
public static... |
package cz.gopay.api.v3.model.common;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
/**
*
* @author <NAME> | <EMAIL>
* @author pvalenta //FIXME - refactoring az prejdeme na JAVA 7 - tato verze to jiz podporuje
* 3numeric ISO cody a 2 ALPHA cody v Locale
*
*/
public enum Countr... |
package mrmc.chart;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.io.BufferedWriter;
import java.io.File;
import java.... |
package cloud.agileframework.sql;
import com.alibaba.druid.sql.SQLUtils;
import com.alibaba.druid.sql.ast.SQLExpr;
import com.alibaba.druid.sql.ast.SQLObject;
import com.alibaba.druid.sql.ast.SQLOrderBy;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.ast.expr.SQLBetweenExpr;
import com.ali... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Rect;
import andro... |
package com.sumtotalsystems.sumtotal7.sumtotalbo;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PermissionName.
*
* <p>The following schema fragment specifies the expected content contained within this c... |
/*
* Copyright (C) 2011-2014 <NAME> (<EMAIL>),
* University of South Florida (<EMAIL>), and individual contributors.
*
* 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://ww... |
package cal.bkup.impls;
import cal.bkup.types.BackupReport;
import cal.bkup.types.Sha256AndSize;
import cal.bkup.types.StorageCostModel;
import cal.bkup.types.SystemId;
import cal.prim.fs.HardLink;
import cal.prim.fs.SymLink;
import cal.prim.storage.ConsistentBlob;
import com.google.common.collect.ImmutableList;
impor... |
/**
* Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT)
* 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 source code must retain the above copyri... |
package se.cbb.jprime.apps.dltrs;
import java.util.Map;
import se.cbb.jprime.apps.dltrs.ReconciliationHelper;
import se.cbb.jprime.io.SampleLogDouble;
import se.cbb.jprime.math.Continuous1DPDDependent;
import se.cbb.jprime.math.LogDouble;
import se.cbb.jprime.mcmc.ChangeInfo;
import se.cbb.jprime.mcmc.Dependent;
impo... |
package sg.ncl.service.analytics.logic;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONObject;
import org.springframework.beans.factory.anno... |
package com.bluemapleit.frydata.meta;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.stereotype.Component;
@Component
public class MetaData {
public static final String FILE_NAME = "file_name";
public static final String NA = "NA";
public static final String FRY_DATA_SHEET="FRY ... |
/*
* Copyright 2017 StreamSets Inc.
*
* 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... |
package net.haesleinhuepf.clijx.assistant.scriptgenerator;
import ij.IJ;
import ij.ImageJ;
import ij.ImagePlus;
import ij.process.FloatProcessor;
import net.haesleinhuepf.clij.clearcl.ClearCL;
import net.haesleinhuepf.clij.clearcl.ClearCLBuffer;
import net.haesleinhuepf.clij.macro.CLIJMacroPlugin;
import net.haesleinh... |
package cbit.vcell.client.desktop.biomodel;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event... |
package m00nl1ght.gwent.card;
import m00nl1ght.gwent.Loader;
import m00nl1ght.gwent.card.Cards.CardBase;
import m00nl1ght.gwent.card.Cards.Loyality;
import m00nl1ght.gwent.game.StateGame;
import m00nl1ght.gwent.game.common.CardDeployTask;
import m00nl1ght.gwent.game.common.CardLocation;
import m00nl1ght.gwent.game.com... |
package com.matt.forgehax.mods;
import com.matt.forgehax.util.command.Setting;
import com.matt.forgehax.events.RenderEvent;
import com.matt.forgehax.util.entity.EntityUtils;
import com.matt.forgehax.util.mod.Category;
import com.matt.forgehax.util.mod.ToggleMod;
import com.matt.forgehax.util.mod.loader.RegisterMod;
im... |
package module;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.event.MouseAdapter;
import java.awt.eve... |
package b.o;
import android.location.Location;
import android.os.Looper;
import androidx.annotation.NonNull;
import b.l.a.c.f.g.d0;
import b.o.i2;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.location.LocationRequest;
import java.util.Objects;
public class p extends c0 {
... |
/* 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... |
package com.avos.avoscloud;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import junit.framework.TestCase;
import com.avos.avoscloud.data.Armor;
import com.avos.avoscloud.data.Player;... |
package com.lvds2000.uoft_timetable;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import andr... |
/*
* The MIT License
*
* Copyright 2016 Focused Ultrasound Foundation.
*
* 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
*... |
package edu.iastate.metnet.metaomgraph;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Arrays;
import java.util.Random;
import javax.swing.JOptionPane;
import org.apache.commons.math3.random.RandomGenerator;
import org.apache.commons.math3.random.Ran... |
package com.example.zoxy.mqttclient;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.AudioFormat;
import andr... |
package api.tests;
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.lessThan;
import static io.restassured.module.jsv.JsonSchemaValidator.matchesJsonSchemaInClasspath;
import java.util.Arrays;
import java.util.Date;
import java.ut... |
/*
* Copyright 2012 The lApache Software Foundation.
*
* 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 applic... |
/*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2020 the original authors 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 ma... |
package org.ossim.oms.apps;
import joms.oms.ossimInit;
import joms.oms.ossimImageHandler;
import joms.oms.ossimImageHandlerRegistry;
import joms.oms.ossimImageWriterFactoryRegistry;
import joms.oms.ossimImageSourceFactoryRegistry;
import joms.oms.ossimImageSource;
import joms.oms.ossimString;
import joms.oms.ossimDpt;... |
package com.stylefeng.gunSelf.modular.blog.controller;
import com.alibaba.druid.support.json.JSONUtils;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.stylefeng.gunSelf.core.base.controller.... |
/*
* Copyright (c) 2019. www.hoprxi.com 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... |
/*
* Copyright (C) 2008 Google Inc.
*
* 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.ZFFramework.Android.ZFUIKit_impl;
import com.ZFFramework.Android.NativeUtil.ZFAndroidLog;
import android.graphics.Camera;
import android.graphics.Matrix;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.A... |
package udc.doctor.controllers;
import javafx.beans.property.SimpleStringProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.Tab... |
package cc.twittertools.scripts;
import java.io.IOException;
import java.io.PrintStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import org.apache.commons.io.Cha... |
/*
* Copyright 2013 University of Southern California
*
* 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 requir... |
/**
* Copyright 2017 TerraMeta Software, Inc.
*
* 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 ap... |
package com.skjolberg.mifare.desfiretooltest;
import static com.github.skjolber.desfire.libfreefare.MifareDesfire.*;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.con... |
/*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE USE OF... |
/*
* 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 (c) 1999-2005 The Institute for Genomic Research (TIGR).
* Copyright (c) 2005-2008, the Dana-Farber Cancer Institute (DFCI),
* J. Craig Venter Institute (JCVI) and the University of Washington.
* All rights reserved.
... |
/*
* This file is released under terms of BSD license
* See LICENSE file for more information
* @author clementval
*/
package claw.wani.transformation.ll.loop;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Co... |
/***
*
* Import der Edit-TS aus WIKIPEDIA und Ablage
* im HBase-Cache sowie laden des lokalen Cache zum Testen.
*
***/
package m3.wikipedia.corpus.extractor.edits;
import org.apache.hadoopts.chart.simple.MultiBarChart;
import com.thoughtworks.xstream.XStream;
import org.apache.hadoopts.data.series.MRT;
import ... |
/*
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software distributed under th... |
/*
* Copyright 2019 <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 wri... |
package com.ale.aoe2.stratega;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.design.widget... |
package com.hacknife.skinswitcher.compiler;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.NodeList;
import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
import com.github.javaparser.ast.body.Parameter;
import com.github.javaparser.ast.expr.AnnotationExpr;
import com.g... |
/*
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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 c... |
/*
* Copyright 2011 - 2013 NTB University of Applied Sciences in Technology
* Buchs, Switzerland, http://www.ntb.ch/inf
*
* 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
*
* h... |
/***
* Copyright (c) 1995-2009 Cycorp Inc.
*
* 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 appl... |
package interpreter.tree;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import renderable.RenderableBlock;
import bayoubot.core.BayouBot;
import bayoubot.core.Pin;
import bayoubot.core.PinMode;
import bayoubot.core.PinState;
import code... |
/******************************************************************************
* NOTICE *
* *
* This software (or technical data) was produced for the U.S. Government *
... |
/**
* Copyright (c) 2009-2013, <NAME>, <EMAIL>
* All rights reserved.
*
* This software is licensed to you under the Apache License, Version 2.0
* (the "License"); You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and binary f... |
/**
* 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... |
package com.example.main;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.*;
import java.net.*;
import javax.swing.*;
public class Socket10 extends JFrame implements Runnable, ActionList... |
package gbemu.core.memory;
import gbemu.core.Flags;
import gbemu.core.GameBoy;
import gbemu.core.cartridge.Cartridge;
import gbemu.core.ppu.LCDMode;
import gbemu.extension.debug.Debugger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class MMU {
public static final int P1 ... |
package net.modificationstation.stationapi.api.client.texture;
import com.google.common.base.Charsets;
import it.unimi.dsi.fastutil.ints.Int2IntMap;
import it.unimi.dsi.fastutil.ints.Int2IntMaps;
import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;... |
package com.lzhlyle.klotski.solver;
import java.util.*;
public class QuickSolver4Blog {
// 开局棋盘
private int[] standard;
// 确定开局,以横刀立马为例
private QuickSolver4Blog() {
standard = new int[10];
standard[0] = 0b0110_0110_0000_0000_0000; // Square 大方块曹操
standard[1] = 0b00... |
/*
* Copyright (C) 2012 Intel Corporation
* All rights reserved.
*/
package test.io;
import com.intel.mtwilson.ApacheHttpClient;
import com.intel.mtwilson.ApiClient;
import com.intel.mtwilson.api.*;
import com.intel.mtwilson.HtmlErrorParser;
import com.intel.mtwilson.MultivaluedMapImpl;
import com.intel.... |
package com.ece4564.group11.workout.fragments;
/**
* Planner Fragment class. User can select their workout body parts and create
* their own workout plan
*/
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
... |
package bg.coinche.game;
import bg.coinche.MainApp;
import bg.coinche.gfx.Assets;
import bg.coinche.gfx.Board;
import bg.coinche.gfx.LeftRightPane;
import bg.coinche.gfx.TopBottomPane;
import bg.coinche.lang.Language;
import bg.coinche.popup.MyAlert;
import javafx.animation.AnimationTimer;
import javafx.application.Pl... |
/*
* Created on Apr 16, 2007
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package biomight.body;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import javax.naming.InitialCont... |
package cn.threefishes.cloudrepository.entity;
import java.math.BigDecimal;
import java.util.Date;
public class GoodsCommon {
private Integer commonId;
private BigDecimal appPrice0;
private BigDecimal appPrice1;
private BigDecimal appPrice2;
private Integer appUsable;
private Integer area... |
package io.craigmiller160.stockmarket.stock;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.net.Unknown... |
package me.hero.onepop.onepopclient.manager;
import com.google.common.reflect.TypeToken;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.JsonPrimitive;
import java.io.Buffer... |
/*
* Copyright 2011 <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... |
package us.ihmc.simulationconstructionset.physics.engine.featherstone;
import org.ejml.data.DMatrix;
import us.ihmc.euclid.matrix.Matrix3D;
import us.ihmc.euclid.matrix.RotationMatrix;
import us.ihmc.euclid.tuple3D.Vector3D;
import us.ihmc.simulationconstructionset.SpatialVector;
/**
* Title: Simulation Constructio... |
package skeleton_analysis;
import aux.Stat;
import conn.Find_Connected_Regions;
import detection2d.CritpointRegion;
import ij.IJ;
import ij.ImagePlus;
import ij.Macro;
import ij.Prefs;
import ij.gui.GenericDialog;
import ij.gui.Line;
import ij.gui.OvalRoi;
import ij.gui.Overlay;
import ij.io.OpenDialog;
import ij.plug... |
package org.fairsharing.owl2neo;
import openllet.owlapi.OpenlletReasonerFactory;
import org.apache.commons.cli.*;
import org.apache.commons.io.FileUtils;
import org.neo4j.graphdb.*;
import org.neo4j.graphdb.index.UniqueFactory;
import org.neo4j.graphdb.factory.GraphDatabaseFactory;
import org.semanticweb.HermiT.Reason... |
package gomoku;
import javax.swing.*;
import gomoku.Point;
import java.awt.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseEvent;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
/* Gomoku-chess board*/
public class C... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.... |
/**
* Copyright 2013-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 ... |
package umontreal.iro.lecuyer.contactcenters.ctmc;
import java.util.EnumMap;
import java.util.Map;
import cern.colt.matrix.DoubleMatrix2D;
import cern.colt.matrix.impl.DenseDoubleMatrix2D;
import umontreal.iro.lecuyer.contactcenters.app.ContactCenterEval;
import umontreal.iro.lecuyer.contactcenters.app.PerformanceMe... |
package seng2200;
import java.util.ArrayList;
import java.util.Map;
import java.util.Scanner;
import java.lang.Thread;
import java.util.Map.Entry;
import static java.lang.System.in;
import static java.lang.System.out;
import static java.lang.System.err;
import static java.lang.String.format;
import static java.lang.Th... |
package se.cbb.jprime.prm;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import se.cbb.jprime.math.LogDouble;
/**
* For a discrete child PRM attribute and a set of discrete parent attributes, computes and stores counts
* of all entit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.