text stringlengths 7.32k 45.1k |
|---|
package zan.lib.input;
import java.util.ArrayList;
import org.lwjgl.LWJGLException;
import org.lwjgl.input.Cursor;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
public class InputManager {
public static final int IM_CHAR_NONE = '\0';
public static final int IM_KEY_NONE ... |
package de.tu_darmstadt.gdi1.pacman.core;
import java.awt.Point;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Random;
import org.newdawn.slick.Music;
import org.newdawn.slick.SlickException;
import de.tu_darmstadt.gdi1.pacman.exceptions.LevelException;
import de.tu_darmstadt.gdi1... |
/*
* 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.ants.common.system.query;
import com.alibaba.fastjson.JSON;
import com.ants.common.utils.oConvertUtils;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.beanutils.PropertyUtils;
import java.beans.PropertyDescriptor;
import java... |
package thredds.catalog;
import net.jcip.annotations.ThreadSafe;
import org.slf4j.Logger;
import thredds.featurecollection.FeatureCollectionConfig;
import thredds.featurecollection.FeatureCollectionType;
import thredds.inventory.CollectionUpdateType;
import ucar.nc2.constants.FeatureType;
import ucar.nc2.dataset.Netcd... |
// Code generated by Wire protocol buffer compiler, do not edit.
// Source file: beer.proto at 196:1
package beer.hapibrew.beerxml2proto.proto;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import com.squareup.wire.AndroidMessage;
import com.squareup.wire.FieldEncoding;
import com.squareup.... |
/*
* 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 io.github.dhobern.coldp;
import io.github.dhobern.coldp.TreeRenderProperties.ContextType;
import io.github.dhobern.coldp.TreeR... |
package lia.Monitor.GUIs;
import java.util.HashMap;
import java.util.Iterator;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
/**
* A central registry for all the measurement units. Units can be asigned to
* specific parameters/functions or to some regexp that match some set of
* p... |
package com.thutyh.geology_helper11;
import android.Manifest;
import android.content.ContentValues;
import android.content.Context;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.hardware.Sensor;
import android.hardware.SensorEven... |
/** ToBinary.java
*AUTHOR: <NAME>
*DATE: 2020-04-28
*VERSION: 0.6.0
*@update: feature with the number of times occurs in total document > 1% number of observations can be selected
*GOAL: clean the file,count the word, add negation not_ tag and count the word again
* Select features by intersection wordcount and di... |
/*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* or in ... |
package tr.geotagging.resolution.lieberman;
import tr.TaggedWord;
import tr.Toponym;
import tr.geonames.GeoNamesEntry;
import tr.geonames.GeoNamesRepository;
import tr.util.StringUtil;
import tr.util.nlp.TaggedWordUtil;
import tr.util.geo.GeoCoordinate;
import tr.util.geo.GeoUtil;
import com.google.common.collect.Hash... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.cobi.util.math;
import cern.jet.stat.Gamma;
import cern.jet.stat.Probability;
/*
function [Pvalue TX np]=myfisher22(varargin)
%P=MYFISHER22(X)- Fisher's Exact Probability Test.
%Fisher's exact test of 2x... |
package org.xdef.impl.xml;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
/** Input stream used in SAX parser.
* @author <NAME>
*/
public class XInputStream extends InputStream {
private final InputStream _in;
private int _hdrIndex;
private int _len;
private final ... |
package edacc.configurator.aac.racing;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import edacc.api.API;
import edacc.api.costfunctions.CostFunction;
import edacc.configurator.a... |
/*
PerlinNoise.java Copyright (C) 2003 <NAME>
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 di... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.batch;
import java.io.IOException;
import java.sql.SQLException;
import java.ut... |
package com.metarhia.metacom.activities.chat;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
i... |
/* Class for the file system structure of Triumph-Adler VS20 and BSM100
@(#) $Id: Main.java 820 2011-11-07 21:59:07Z gfis $
2017-05-29: javadoc 1.8
2013-11-07, <NAME>: copied from BaseSystem
*/
/*
* Copyright 2013 Dr. <NAME> <punctum at punctum dot kom>
*
* Licensed under the Apache License, Version 2.0... |
/*
* 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 Gaficos;
import java.io.IOException;
import java.util.ArrayList;
/**
*
* @author Hugo_Carvalho
*/
public class CapturadorD... |
package hudson.plugins.spotinst.common;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by ohadmuchnik on 26/05/2016.
*/
public enum AwsInstanceTypeEnum {
T1Micro("t1.micro", 1),
M1Small("m1.small", 1),
M1Medium("m1.medium", 2),
M1Large("m1.large", 4),
M1Xlarge("m1.xl... |
/*
* Copyright 2000-2010 JetBrains s.r.o.
*
* 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 agre... |
package design.aem.transport;
import com.adobe.granite.crypto.CryptoException;
import com.adobe.granite.crypto.CryptoSupport;
import com.day.cq.replication.*;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.lang3.CharEncoding;
i... |
/*
* Copyright 2012-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package overhaul;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Random;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import javax.imageio.ImageIO;
public class ReactorPart impleme... |
package com.example.covid_19tracker;
import android.os.Bundle;
import android.view.MenuItem;
import com.blogspot.atifsoftwares.animatoolib.Animatoo;
import com.example.covid_19tracker.Adapter.FaqAdapter;
import java.util.ArrayList;
import java.util.List;
import androidx.appcompat.app.AppCompatActivity;
import andro... |
/**
* 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 org.firstinspires.ftc.teamcode;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.*;
import org.opencv.imgproc.*;
import org.openftc.easyopencv.OpenCvPipeline;
import static org.firstinspires.ftc.teamcode.Constants.FILTER_MIN_X;
import static org.firstinspires.ftc.teamcode.Constants.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 not use this f... |
/*
* Copyright © 2017-2020 Ocado (Ocava)
*
* 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 a... |
/*
* 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 stream.vis.data;
import stream.vis.net.*;
import stream.vis.util.FatalException;
import stream.vis.util.NonFatalException;
import stream.vis.util.Error;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.net.Socket;
import java.io.*;
public class Cli... |
package android.taobao.atlas.framework.bundlestorage;
import android.content.res.AssetManager;
import android.os.Build;
import android.taobao.atlas.bundleInfo.BundleInfoList;
import android.taobao.atlas.framework.Framework;
import android.taobao.atlas.hack.AtlasHacks;
import android.taobao.atlas.log.Logger;
import and... |
package com.example.david.myapplication;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.v4.content.ContextCompat;
im... |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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 a... |
/**
*
* PixelFlow | Copyright (C) 2016 <NAME> - http://thomasdiewald.com
*
* A Processing/Java library for high performance GPU-Computing (GLSL).
* MIT License: https://opensource.org/licenses/MIT
*
*/
package com.thomasdiewald.pixelflow.java.dwgl;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
... |
package eem209as.smartunlock;
import android.Manifest;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import a... |
/*
* Copyright 2021 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... |
/*
* Copyright (c) 2019 <NAME>, <NAME>, IIT Madras.
* This file is a part of the project IMOP, licensed under the MIT license.
* See LICENSE.md for the full text of the license.
*
* The above notice shall be included in all copies or substantial
* portions of this file.
*/
package imop.lib.analysis.solver;
imp... |
/*
* Copyright (C) 1999-2011 University of Connecticut Health Center
*
* Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
*/
package cbi... |
package rc.bored;
import java.util.*;
import java.text.*;
public class ConversionHelper {
public static ArrayList<ArrayList<String>> convert(ArrayList<String[]> csvData, boolean diagSwitch){
final String oz = "oz";
final String lb = "lb";
final String gal = "gal";
final String qt = "qt";
final String ... |
/*
* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.javafx.font;
import com.sun.javafx.font.FontFileReader.Buffer;
/*
* A tt font has a ... |
/*
// This software is subject to the terms of the Eclipse Public License v1.0
// Agreement, available at the following URL:
// http://www.eclipse.org/legal/epl-v10.html.
// You must accept the terms of that agreement to use this software.
//
// Copyright (C) 2003-2005 <NAME>
// Copyright (C) 2005-2012 Pentaho
// All R... |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* 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... |
/*
* Copyright 2018 <NAME> <<EMAIL>>.
* See LICENSE for licensing details.
*/
package uk.org.dataforce.libs.signalr;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jac... |
package libms.views.admin;
import libms.model.DataAPI;
import libms.model.Response;
import libms.model.orm.Book;
import libms.model.orm.BookInfo;
import libms.views.Colors;
import libms.views.DefaultBtn;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.aw... |
/*
* 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) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package lia.Monitor.Filters;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.rmi.RemoteException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.StringTokenizer;
import java.util.Vect... |
package com.scs.splitscreenchaos.entities.creatures;
import com.jme3.asset.TextureKey;
import com.jme3.bounding.BoundingBox;
import com.jme3.material.Material;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.Spatial.CullHint;
import com.jme3.scene.shape.Sphere;
import com.jme3.text... |
package barsan.opengl.resources;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.InputMismatchException;
import java.util.List;
import java.util.Scann... |
/*
* The MIT License (MIT) Copyright © 2013 <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... |
package io.github.mivek.parser;
import java.util.MissingResourceException;
import java.util.logging.Logger;
import java.util.regex.Pattern;
import io.github.mivek.internationalization.Messages;
import io.github.mivek.utils.Regex;
/**
* @author mivek
*/
public final class RemarkParser {
/** The ins... |
/*
* 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) 2010-2013 <NAME> http://www.dyn4j.org/
* 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 n... |
/**
*
*/
package PaAlgorithms;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import PaEnums.PaTriple;
/**
* The class for implementation of the Harris/Stephens filter
* @author <NAME>
*
*/
public class PaAlgoCorners {
/**
*
*/
public PaAlgoCorners() {
}
... |
package org.jmlspecs.openjml.strongarm.transforms;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.jmlspecs.annotation.NonNull;
import org.jmlspecs.openjml.JmlOption;
import org.jmlspecs.openjml.JmlPretty;
import org.jml... |
package com.darcher.crawljax.experiments;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.CrawljaxRunner;
import com.crawljax.core.configuration.*;
import com.crawljax.core.state.Identification;
import com.crawljax.forms.FormInput;
import com.crawljax.forms.InputValue;
import com.darcher.crawljax... |
/*
* Copyright (C) 2016 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 com.yw.car.activity.shop;
import android.Manifest;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle... |
package mekanism.common.block;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;
import java.util.function.Consumer;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import mekanism.api.DataHandlerUtils;
import mekanism.api.MekanismAPI;
import mekanism... |
package gov.nsa.ia.gen;
import java.util.*;
import java.util.logging.*;
import gov.nsa.ia.drbg.*;
import gov.nsa.ia.util.*;
/**
* The CharacterSet class represents a character list from which
* a password could be created. Callers can then ask for a string
* of any length, composed of characters chosen uniforml... |
/*
* 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 org.openstreetmap.atlas.checks.validation.tag;
import org.openstreetmap.atlas.geography.atlas.Atlas;
import org.openstreetmap.atlas.utilities.testing.CoreTestRule;
import org.openstreetmap.atlas.utilities.testing.TestAtlas;
import org.openstreetmap.atlas.utilities.testing.TestAtlas.Edge;
import org.openstreetm... |
/*
* Copyright (C) 2015 <NAME>. All rights reserved.
*/
package org.jsimpledb.schema;
import com.google.common.base.Preconditions;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.... |
package com.ouweihao.community.controller;
import com.alibaba.fastjson.JSONObject;
import com.ouweihao.community.entity.*;
import com.ouweihao.community.event.EventProducer;
import com.ouweihao.community.service.*;
import com.ouweihao.community.util.CommunityConstant;
import com.ouweihao.community.util.CommunityUtil;
... |
/*
* Copyright 2005 The Summer Boot Framework Project
*
* The Summer Boot Framework 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 copy of the License at:
*
* https://www.apach... |
/**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As ... |
package vswitch.stack;
import vfd.IPPort;
import vfd.IPv4;
import vfd.IPv6;
import vpacket.*;
import vproxybase.util.ByteArray;
import vproxybase.util.Consts;
import vproxybase.util.Logger;
import vpacket.conntrack.tcp.*;
import vswitch.Table;
import java.util.Collections;
import java.util.List;
public class L4 {
... |
package org.ovirt.engine.core.bll.scheduling.arem;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import org.ovirt.engine.core.com... |
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* File name : BrobInt.java
* Purpose : Learning exercise to implement arbitrarily large numbers and their operations
* @author : <NAME>
* Date : 2017-04-04
* Description: @see <a href='http:... |
package factorio.calculator;
import java.io.IOException;
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.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import... |
package tokyo.nakanaka.buildVoxCore.particleGui;
import tokyo.nakanaka.buildVoxCore.math.transformation.AffineTransformation3d;
import tokyo.nakanaka.buildVoxCore.math.LineSegment3d;
import tokyo.nakanaka.buildVoxCore.math.vector.Vector3d;
import tokyo.nakanaka.buildVoxCore.math.region3d.Parallelepiped;
import java.u... |
package dev.viandox.ffm.mixin;
import com.mojang.blaze3d.systems.RenderSystem;
import dev.viandox.ffm.*;
import dev.viandox.ffm.config.Config;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.gui.hud.InGameHud;
import net.minecraft.client.render.*;... |
/*
* web: org.nrg.xnat.restlet.resources.ScriptTriggerResource
* XNAT http://www.xnat.org
* Copyright (c) 2005-2017, Washington University School of Medicine and Howard Hughes Medical Institute
* All Rights Reserved
*
* Released under the Simplified BSD.
*/
package org.nrg.xnat.restlet.resources;
import java.i... |
/*-
* ============LICENSE_START=======================================================
* ONAP : CCSDK.apps
* ================================================================================
* Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
* =====================================================... |
/*
* Copyright (c) 2002-2009 <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:
*
* o Redistributions of source code must retain the above copyright notice,
* this list of con... |
package com.wb.nextgenlibrary.fragment;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import andr... |
package com.github.anilople.javajvm.instructions;
import com.github.anilople.javajvm.instructions.comparisons.*;
import com.github.anilople.javajvm.instructions.comparisons.ifinstructions.*;
import com.github.anilople.javajvm.instructions.constants.*;
import com.github.anilople.javajvm.instructions.control.*;
import c... |
package com.bergerkiller.bukkit.common.entity;
import com.bergerkiller.bukkit.common.Common;
import com.bergerkiller.bukkit.common.Logging;
import com.bergerkiller.bukkit.common.collections.ClassMap;
import com.bergerkiller.bukkit.common.controller.DefaultEntityController;
import com.bergerkiller.bukkit.common.convers... |
/*
* Copyright 2019 Equipment & Tool Institute
*/
package org.etools.j1939_84.modules;
import static org.etools.j1939_84.J1939_84.NL;
import static org.etools.j1939_84.bus.j1939.J1939.GLOBAL_ADDR;
import static org.etools.j1939_84.controllers.ResultsListener.NOOP;
import static org.junit.Assert.assertEquals;
import ... |
package org.zalando.typemapper.postgres;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.sql.Types;
import java.util.*;
import javax.persistence.Column;... |
package com.company;
import javax.sound.midi.Soundbank;
import java.io.*;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class WheelTest {
private static double interval = 0.05;
//tilt = -0.006;
public static double xBias, yBias; //标准图形与测量图形最高点的距离
public static... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* 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 darkhunter.engine;
import darkhunter.objects.Light;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics2D;... |
package idealflatmate.appmanager;
import com.codeborne.selenide.Condition;
import static com.codeborne.selenide.Condition.*;
import static com.codeborne.selenide.Selectors.*;
import static com.codeborne.selenide.Selenide.*;
public class VerificationHelper {
public void verificationUserNameOnHomePage(String n... |
package com.swisscom.cloud.sb.broker.services.bosh.client;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.ImmutableMap;
import com.swisscom.cloud.sb.broker.error.ServiceBrokerException;
import com.swisscom.cloud.sb.broker.services.bo... |
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2001-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 of ... |
package uk.org.llgc.annotation.store;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.net.URL;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import com.github.jsonldjava.utils.JsonUtils;
import com.github.jsonldjava... |
/*
* This software was developed by employees of the National Institute of Standards and Technology (NIST), an agency of the Federal Government
* and is being made available as a public service. Pursuant to title 17 United States Code Section 105, works of NIST employees are not
* subject to copyright protection in ... |
package com.securionpay;
import com.securionpay.connection.Connection;
import com.securionpay.connection.HttpClientConnection;
import com.securionpay.connection.Response;
import com.securionpay.enums.FileUploadPurpose;
import com.securionpay.exception.SecurionPayException;
import com.securionpay.exception.SignExceptio... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... |
package com.ms.silverking.net.async;
import java.io.IOException;
import java.net.ConnectException;
import java.net.InetSocketAddress;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import j... |
package com.blazemeter.jmeter.rte.sampler.gui;
import com.blazemeter.jmeter.rte.sampler.CoordInputRowGUI;
import com.blazemeter.jmeter.rte.sampler.InputTestElement;
import com.blazemeter.jmeter.rte.sampler.Inputs;
import com.blazemeter.jmeter.rte.sampler.LabelInputRowGUI;
import com.blazemeter.jmeter.rte.sampler... |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* 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... |
/*
* Assignment1.java
*
* Created on September 9, 2002, 12:05 PM
* Copyright(c) 1993-2019 Crisis in Perspective, Inc.
* 618 NW 12th Avenue
* Portland, OR 97209
* www.crisisinperspecive.com
*
* This program is free software; you can redistribu... |
/*******************************************************************************
* Copyright [2022] [IBM]
*
* 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/... |
/**
*
*/
package com.someguyssoftware.treasure2.generator.chest;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import com.someguyssoftware.gottschcore.block.AbstractModContainerBlock;
import com.someguyssoftware.gottschcore.generator.GeneratorResult... |
// Copyright (c) 2020-2022 ginlo.net GmbH
package eu.ginlo_apps.ginlo.controller;
import android.content.Context;
import android.content.Intent;
import org.jitsi.meet.sdk.JitsiMeetConferenceOptions;
import org.jitsi.meet.sdk.JitsiMeetUserInfo;
import java.net.MalformedURLException;
import java.net.URL;
import java.... |
/*
Derby - Class org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceSerializationTest
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.
T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.