text
stringlengths
7.32k
45.1k
package utils; import cc.funkemunky.api.utils.exceptions.Validate; import cc.funkemunky.api.utils.types.*; import cc.funkemunky.api.utils.world.CollisionBox; import cc.funkemunky.api.utils.world.types.NoCollisionBox; import cc.funkemunky.api.utils.world.types.SimpleCollisionBox; import org.bukkit.World; import org.buk...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
package org.stanford.ravel.rrt.model; import org.jetbrains.annotations.Nullable; import org.stanford.ravel.rrt.Context; import org.stanford.ravel.rrt.DispatcherAPI; import org.stanford.ravel.rrt.RavelPacket; import org.stanford.ravel.rrt.events.RunnableEvent; import org.stanford.ravel.rrt.tiers.Endpoint; import org.st...
package com.maloop.jobtacker; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import j...
package org.broadinstitute.hellbender.tools.picard.sam; import htsjdk.samtools.*; import htsjdk.samtools.fastq.FastqRecord; import htsjdk.samtools.fastq.FastqWriter; import htsjdk.samtools.fastq.FastqWriterFactory; import htsjdk.samtools.util.*; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.L...
package fr.slaynash.communication.rudp; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; ...
/** * Copyright 2014 Microsoft Open Technologies 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 applica...
package kr.co.jmsmart.bingo.view.com.viewModel; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattS...
/* * Copyright 2020 Global Biodiversity Information Facility (GBIF) * * 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 requ...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.Servo; import com....
package cn.jeeweb.modules.htglold.controller; import cn.jeeweb.core.common.controller.BaseCRUDController; import cn.jeeweb.core.model.PageJson; import cn.jeeweb.core.query.data.Queryable; import cn.jeeweb.core.query.wrapper.EntityWrapper; import cn.jeeweb.core.security.shiro.authz.annotation.RequiresPathPermission; im...
package com.melon.mybatis.generator.core; import com.melon.mybatis.generator.common.PipeConsumer; import com.melon.mybatis.generator.common.PipeLine; import com.melon.mybatis.generator.common.PipeProducer; import com.melon.mybatis.generator.config.*; import com.melon.mybatis.generator.entity.*; import com.melon.mybati...
import javafx.animation.TranslateTransition; import edu.galileo.boxing.Player; import javafx.application.Application; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.ge...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Synacor, Inc. * * 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 Softw...
package owltools.panther; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3...
package io.swagger.parser; import io.swagger.parser.util.RemoteUrl; import com.wordnik.swagger.models.*; import com.wordnik.swagger.models.auth.*; import com.wordnik.swagger.models.Model; import com.wordnik.swagger.models.Operation; import com.wordnik.swagger.models.parameters.*; import com.wordnik.swagger.models.par...
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
// Copyright 2018 The Feed Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
package edu.berkeley.biocode.photoMatcher; import com.intellij.uiDesigner.core.GridConstraints; import com.intellij.uiDesigner.core.GridLayoutManager; import edu.berkeley.biocode.bioValidator.mainPage; import edu.berkeley.biocode.utils.CopyFile; import edu.berkeley.biocode.utils.directoryChooser; import edu.berkeley.b...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
package edu.stanford.futuredata.macrobase.analysis.summary.fpg; import edu.stanford.futuredata.macrobase.analysis.summary.Explanation; import edu.stanford.futuredata.macrobase.analysis.summary.fpg.result.FPGAttributeSet; import edu.stanford.futuredata.macrobase.analysis.summary.fpg.result.FPGItemsetResult; import edu....
/* ==================================================================== 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 Y...
/* * Copyright (C) 2018 Seoul National University * * 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...
package com.mini_mo.viewpager.ReadAndWrite; import android.Manifest; import android.annotation.SuppressLint; import android.app.admin.DeviceAdminReceiver; import android.content.ClipData; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.dat...
package com.smeanox.games.aj1.world; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.utils.StringBuilder; import com.smeanox.games.aj1.Consts; import com.smeanox.games.aj1.audio.FoodNarrator; import ...
/** ------------------------------------------------------------------------- * Copyright 2013-2015 EMC Corporation. All rights reserved. ---------------------------------------------------------------------------- */ package emc.captiva.mobile.sdksampleapp; import java.io.ByteArrayInputStream; import java....
/** * Copyright 2005 <NAME>. * * This file is part of the Cordys SAP Connector. * * 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/LICENS...
/* * Swift Parallel Scripting Language (http://swift-lang.org) * Code from Java CoG Kit Project (see notice below) with modifications. * * Copyright 2005-2014 University of Chicago * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
/* * Copyright 2014 gitblit.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* Copyright 2018 The Trustees of University of Arizona 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 applica...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
package daikon.inv; import daikon.*; import utilMDE.*; import java.util.logging.Logger; import java.util.logging.Level; import java.util.*; // Note that this Invariant is used in a *very* different way from // the same-named on in V2. In V2, this is just for printing. In V3, // this does all the canonicalizing, e...
/* * Copyright 2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by appl...
/* * 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 to in ...
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Random; import java.util.Scanner; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JL...
package de.incentergy.iso11783.part10.geotools; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util...
package org.firstinspires.ftc.teamcode; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmo...
/* * This file is part of the HyperGraphDB source distribution. This is copyrighted * software. For permitted uses, licensing options and redistribution, please see * the LicensingInformation file at the root level of the distribution. * * Copyright (c) 2005-2010 <NAME>, Inc. All rights reserved. */ pack...
import java.io.IOException; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fl") @Implements("WorldMapCacheName") public class WorldMapCacheName { @ObfuscatedName("f") @Obfuscated...
package editor; import com.clarkparsia.empire.annotation.InvalidRdfException; import com.clarkparsia.empire.annotation.RdfGenerator; import com.complexible.common.openrdf.model.ExtGraph; import com.complexible.common.openrdf.model.Graphs; import org.drools.owl.conyard.ConstructionYardImpl; import org.drools.owl.conyar...
package com.kasteca.activityTest; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Gravity; import android.widget.TextView; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.OnFailureListener; import com.google.android.gms....
package eu.slipo.workbench.rpc.jobs; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Co...
/** * Amazon Kinesis Scaling Utility * * Copyright 2014, Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.services.kinesis.scaling; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazo...
/* * Copyright (c) 2010 SimpleServer authors (see CONTRIBUTORS) * * 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, ...
package io.teak.sdk; import java.math.BigInteger; import java.net.URL; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.Locale; import java.util.Map; import java.util.Random; import java.util.UUID; import java.util.concurrent.ScheduledExecuto...
package frc.robot.subsystems; import com.ctre.phoenix.motorcontrol.ControlMode; import com.ctre.phoenix.motorcontrol.can.WPI_TalonFX; import com.ctre.phoenix.sensors.CANCoder; import org.json.JSONArray; import org.json.JSONObject; import edu.wpi.first.wpilibj.geometry.Pose2d; import edu.wpi.first.wpilibj.geometry.Ro...
/* JavaTrie: Performance critical prefix trie helper routines * * Used by Tries.scala. */ package tarski; import com.intellij.util.SmartList; import utility.JavaUtils; import tarski.Scores.*; import tarski.JavaScores.*; import java.util.ArrayList; import java.util.List; public class JavaTrie { // A trie's stru...
package com.jbatista.batatinha.v2; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gd...
/** * Copyright 2014 * SMEdit https://github.com/StarMade/SMEdit * SMTools https://github.com/StarMade/SMTools * * 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....
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; /** * ...
package lia.Monitor.modules; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Observ...
/* * 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.brankomikusic.conversation_salons_app_v2_1.backgroundtasks; import android.content.Context; import android.util.Log; import com.brankomikusic.conversation_salons_app_v2_1.MainActivity; import com.brankomikusic.conversation_salons_app_v2_1.networking.RetrofitHtmHandler; import com.brankomikusic.conversation...
package com.example.moodbook.ui.home; import android.Manifest; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.Matrix; import android.loca...
package com.dozenx.game.engine.item.bean; import cola.machine.game.myblocks.block.BlockParseUtil; import cola.machine.game.myblocks.engine.Constants; import cola.machine.game.myblocks.manager.TextureManager; import cola.machine.game.myblocks.math.Vector3i; import cola.machine.game.myblocks.model.base.BaseBlock; import...
package com.onevgo.springmvc.handlers; import com.onevgo.springmvc.crud.dao.EmployeeDao; import com.onevgo.springmvc.crud.entities.Employee; import com.onevgo.springmvc.entities.User; import com.onevgo.springmvc.exceptions.UserNameNotMatchPasswordException; import org.springframework.beans.factory.annotation.Autowired...
package stevekung.mods.moreplanets.client.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; public class ModelSpaceWarpPad extends ModelBase { private final ModelRenderer base1; private final ModelRenderer base2; private final ModelRenderer base3; pri...
package project_peter_client; import com.mysql.jdbc.PreparedStatement; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; import j...
/* * Copyright 2017 JessYan * * 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 ...
/** * Copyright (C) 2015 <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...
/* © 2018 by Intellectual Reserve, Inc. All rights reserved. */ package com.sonicbase.accept.bench; import com.fasterxml.jackson.databind.ObjectMapper; import com.sonicbase.client.DatabaseClient; import com.sonicbase.common.ComObject; import com.sonicbase.common.Config; import com.sonicbase.common.DatabaseCommon; impo...
/* * 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 com.gwtjs.icustom.kindeditor.controller; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import ...
/*- * #%L * CSBDeep: CNNs for image restoration of fluorescence microscopy. * %% * Copyright (C) 2017 - 2018 <NAME>, <NAME>, <NAME> * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of s...
package io.jitstatic.auth; import static io.jitstatic.JitStaticConstants.REFS_HEADS_SECRETS; /*- * #%L * jitstatic * %% * Copyright (C) 2017 - 2019 H.Hegardt * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
/* * 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 com.github.somprasongd.edc.util; import java.math.RoundingMode; import java.text.DecimalFormat; import java.util.Arra...
/* * 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 org.aiwolf.ui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.URL; import java.util.ArrayList; import java.util.List; import javax.swing.BoxLayout; import javax...
package it.unisa.petra.core; import it.unisa.petra.core.batterystats.BatteryStatsParser; import it.unisa.petra.core.batterystats.EnergyInfo; import it.unisa.petra.core.exceptions.ADBNotFoundException; import it.unisa.petra.core.exceptions.AppNameCannotBeExtractedException; import it.unisa.petra.core.exceptions.NoDevic...
package bishakh.psync; import com.google.gson.Gson; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** * The Controller module : Core module that takes care * of the role based and devic...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ package vnmr.bo; import java.awt.*; import java.beans.*; import java.util.*...
import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Polygon; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; //The class representing each tile on the hexagonal map public class Hextile { private int q, r, x, y...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
package org.ofbiz.quzouwx; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import java.util.HashMap; import java.util.Iterator; import java.util.List; import j...
//////////////////////////////////////////////////////////////////////////////// // Copyright by <NAME> (C) 2011 All Rights Reserved. // Copyright (c) 2017 mzhg // // 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 cop...
package rs.lukaj.upisstats.scraper.download; import com.google.gson.*; import com.google.gson.reflect.TypeToken; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; import rs.lukaj.upisstats.scraper.Main; import rs.lukaj.upisstats.scraper.utils.StringTokenizer; import java.io.*;...
package com.yuzhyn.hidoc.app.application.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.yuzhyn.hidoc.app.aarg.R; import com.yuzhyn.hidoc.app.applicat...
package com.linkedin.dagli.math.distribution; import com.linkedin.dagli.util.invariant.Arguments; import it.unimi.dsi.fastutil.Size64; import it.unimi.dsi.fastutil.objects.Object2DoubleOpenHashMap; import java.io.Serializable; import java.util.HashMap; import java.util.Iterator; import java.util.Objects; import java.u...
package com.itranswarp.wxapi; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.security.GeneralSecurityException; import java.util.Arrays; import java.util.Base64; import java.util.Map; import javax.crypto.Cipher; impor...
/* * Copyright (c) 1999, 2007 Sun Microsystems, Inc. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * -Redistributions of source code must retain the above copyright notice, * t...
// Copyright 2015-2016 Stanford University // // 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 ...
package net.minecraft.server; import java.util.Iterator; import java.util.List; public class EntityFishingHook extends Entity { private static final DataWatcherObject<Integer> b = DataWatcher.a(EntityFishingHook.class, DataWatcherRegistry.b); private boolean isInGround; private int d; public EntityHu...
package io.jenkins.plugins.websub.subscriber; import com.google.api.client.http.GenericUrl; import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpMediaType; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestFactory; import com.google.api.client.h...
/*#################### IMPORTS ####################*/ package org.firstinspires.ftc.teamcode.opModes; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import...
package timboe.vev.enums; import java.util.Map; import java.util.Random; import timboe.vev.Param; import timboe.vev.Util; import timboe.vev.entity.Tile; import static timboe.vev.enums.Colour.kGREEN; import static timboe.vev.enums.Colour.kRED; public enum TileType { // Main types - assigned to the Til...
/** * Copyright (c) 2013-2014 Oculus Info Inc. * http://www.oculusinfo.com/ * * Released under the MIT License. * * 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, ...
package us.brevis.graphics; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.lang.Math; import sc.iview.vector.Vector3; /** * derived from code by: * @a...
package asl.msplot; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.ev...
package test.vetjobs.oa; import com.viaoa.object.*; import com.viaoa.hub.*; import com.viaoa.annotation.*; import com.viaoa.util.OADate; @OAClass( shortName = "job", displayName = "Job" ) @OATable( indexes = { @OAIndex(name = "JobState", columns = {@OAIndexColumn(name = "State")}), @OA...
package mse.alg.ex3.PicsiSWT.imageprocessing; import mse.alg.ex3.JTS.*; import mse.alg.ex3.PicsiSWT.main.PicsiSWT; import mse.alg.ex3.PicsiSWT.utils.Parallel; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.ImageData; import org.eclipse.swt.graphics.PaletteData; import org.eclipse.swt.graphics....
/* * 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 ...
/******************************************************************************* * This software is provided as a supplement to the authors' textbooks on digital * image processing published by Springer-Verlag in various languages and editions. * Permission to use and distribute this software is granted under the B...
package controller; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.swing.JComboBox; import javax.swing.JOptionPane; import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.table.DefaultTableModel; import model.NhanKhau; im...
package clockworks.robot; import com.qualcomm.hardware.rev.Rev2mDistanceSensor; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.DistanceSensor; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore....
package SensorwebObject.Rpc; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Serializable; import java.util.Enumeration; import java.util.Vector; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.w3c.do...
package Main; import Util.Connector; import Util.SQLBuilder; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.layout.AnchorPane...
/* * Copyright (c) 2020 <NAME> (https://www.dariolucia.eu) * * 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 require...
/*----------------------------------------------------------------------------- - This is a part of AndroidVideoLib. - - To see the authors, look at Github for contributors of this file. - - - ...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import com.revrobotics.CANSparkMax; import edu.wpi.first.networktables.NetworkTable; imp...
package eu.slipo.workbench.rpc.service; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.nio.ByteBuffer; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.u...