text
stringlengths
3.52k
24k
/* * 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 2019-present HiveMQ GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
/* * Copyright 2011 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 agreed to...
package pro.sisit.adapter; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import java.io.*; import java.nio.file.Paths; import org.junit.After; import org.junit.Before; import org.junit.Test; import pro.sisit.adapter.impl.CSVAdapter; import pro.sisit.adapter.impl.CSVAdapter...
package org.firstinspires.ftc.teamcode.opmodes; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; @TeleOp(name = "DriverFinal", group = "TeleOp") //@Disabled public...
package aQute.lib.deployer; import java.io.*; import java.util.*; import java.util.jar.*; import java.util.regex.*; import aQute.bnd.service.*; import aQute.lib.io.*; import aQute.lib.osgi.*; import aQute.libg.reporter.*; import aQute.libg.version.*; public class FileRepo implements Plugin, RepositoryPlugin, Refresh...
package gui; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import java.io.IOException; ...
/* * 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 2008 biaoping.yin * * 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 ...
package org.broadinstitute.hellbender.tools.spark.pathseq; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Output; import htsjdk.samtools.SAMSequenceRecord; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveInputStrea...
/* * Copyright (C) 2013 salesforce.com, 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 ...
package com.pearson.statsagg.metric_formats.influxdb; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author <NAME> * * WORK IN PROGRESS -- This object is intended to be compatible with the InfluxD...
/* * Copyright (C) 2011 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 (c) 2002-2010 The University of the West Indies * * Contact: <EMAIL> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at ...
package org.webcurator.core.visualization.networkmap.graph; import org.webcurator.core.visualization.networkmap.metadata.NetworkMapDomain; import java.util.ArrayList; import java.util.List; public class PhysicsGravity { private NetworkMapOptions options; private List<GraphNode> nodes; private List<GraphN...
package com.guojianyiliao.eryitianshi.page.view; import android.content.Context; import android.os.Handler; import android.os.Message; import android.support.v4.view.ViewPager; import android.text.TextPaint; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.ImageView; import a...
package mc.alk.arena.util; import mc.alk.arena.Defaults; import mc.alk.arena.controllers.PlayerController; import mc.alk.arena.controllers.plugins.TrackerController; import mc.alk.arena.objects.ArenaPlayer; import mc.alk.arena.objects.MatchParams; import mc.alk.arena.objects.WinLossDraw; import mc.alk.arena.objects.st...
package com.gracecode.android.btgps.serivce; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.Sh...
/* *********************************************************************** * _ _ _ * ( _ _ | * _ _ _ _ | | * ...
package org.cleanas2.service.net.util; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.http.util.Args; import org.boon.Str; import org.cleanas2.common.MdnMode; import org.cleanas2.common.disposition.DispositionOptions; import org.cleanas2.common.disposition.Dispos...
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.autoscale; import com.yahoo.config.provision.ClusterResources; import com.yahoo.config.provision.NodeResources; import com.yahoo.vespa.hosted.provision.Node; import com.yaho...
package org.sunbird.ruleengine.model; import java.math.BigInteger; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persiste...
/* * Copyright (c) 2003-2011, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list of condi...
package com.example.eng221.systemcontrolcardfidelity.Controller; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.database.Cursor; import android.graphics.Color; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android...
package me.violinsolo.boman.activity.prerequisite.bt; import android.bluetooth.BluetoothGatt; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Toast; import com.clj.fastble.BleManager; import com.clj.fastb...
package com.example.bobslittlefreelibrary.views; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageButton; import android.widget.ImageVie...
/* * 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) 2014-2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/**------------------------------------------------------------------- * $Id$ * Universidad de los Andes (Bogotá - Colombia) * Departamento de Ingeniería de Sistemas y Computación * * Materia: Sistemas Transaccionales * Ejercicio: VideoAndes * Autor: <NAME> - <EMAIL> * ------------------------------------------...
/**************************************************************************** * Copyright (c) 1998-2010 AOL 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.apac...
package shoot; import javax.imageio.ImageIO; import javax.swing.JFrame; import javax.swing.JPanel; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.util.Timer; import java.util.TimerTask; import java.util.Random; import java.util.Arrays; import java.awt.event.MouseAdapter; import java....
package io.hashimati.constants; import java.util.Arrays; import java.util.HashMap; import java.util.List; public class ProjectConstants { public static class LanguagesConstants{ public final static String JAVA_LANG="java", KOTLIN_LANG="kotlin", GROOVY_LANG="groovy"; ...
package gov.uspto.bulkdata.cli; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.StringReader; import java.io.Writer; import java.nio.file.Files; import java.nio.file.LinkOption; import java.nio.file.Path; import java.nio.file.Paths; import java.util.NoSuchElementException; i...
package slogo_front; import java.util.ArrayList; import java.util.Locale; import java.util.ResourceBundle; import slogo_back.Model; import view_panels.CommandHistory; import view_panels.CommandLine; import view_panels.ControlPanel; import view_panels.ToolBar; import javafx.event.ActionEvent; import javafx.event.Event...
/* * Copyright (C) 2011 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.maven.utils; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org....
package com.Innospectra.NanoScan.NanoScan; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothManager; import android.bluetooth.le.BluetoothLeScanner; import an...
/* * Copyright (c) 2003, The JUNG Authors * All rights reserved. * * This software is open-source under the BSD license; see either "license.txt" * or https://github.com/tomnelson/jungrapht-visualization/blob/master/LICENSE for a description. * */ package org.jungrapht.samples; import java.awt.BorderLayout; imp...
package mj.game; import ec.util.MersenneTwister; import gamelib.GameException; import gamelib.GameLibException; import gamelib.PrimaryScene; import gamelib.SceneController; import gamelib.graphics.SpriteSet; import gamelib.input.InputConfiguration; import gamelib.input.InputDevice; import gamelib.sound.SoundSet; impor...
/* * $Header: /home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpRequestStream.java,v 1.10 2001/07/22 20:25:07 pier Exp $ * $Revision: 1.10 $ * $Date: 2001/07/22 20:25:07 $ * * ==================================================================== * * The Apache Software L...
/* * Copyright 2015-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package org.bigdata.zczw.adapter; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.text.Spannable; import android.text.Spanned; import android.text.TextUtils; import android.text.util.Linkify; import android.util.Log; import android.view.LayoutInflater; i...
package Autonomic; import Data.Database; import Miscellaneous.Codes; import Miscellaneous.DifferentialCalendar; import Miscellaneous.StringTokens; import UI.Notifications; import UI.Search; import java.util.ArrayList; import java.util.Calendar; /** * the class which handles the autonomic parsing functions of the da...
package mekanism.client.model; import net.minecraft.client.util.math.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import javax.annotation.Nonnull; import mekanism.client.render.MekanismRenderType; import mekanism.client.render.MekanismRenderer; import mekanism.common.util.MekanismUtils; import mekanis...
package com.programmerdan.minecraft.civspy; import java.io.IOException; import java.lang.reflect.Constructor; import java.sql.SQLException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.configuration.ConfigurationSection; impor...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.netbeans.modules.portalpack.websynergy.portlets.nonjava; //import org.netbeans.modules.portalpack.portlets.ruby.util.PortletProjectUtils; import java.io.IOException; import java.util.ArrayList; import java.u...
/** AStarInference.java * * @author <NAME> * @since 1.2 * @version 1.3 * * A* search */ package iitb.CRF; import gnu.trove.TIntObjectHashMap; import gnu.trove.TIntHashSet; import iitb.AStar.AStarSearch; import iitb.AStar.State; import iitb.CRF.Viterbi.Entry; import iitb.Model.Model; import java.io.Serializa...
package com.cyc.baseclient.examples; /* * #%L * File: BaseClientOverview.java * Project: Base Client * %% * Copyright (C) 2013 - 2018 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 o...
/* * 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")...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.partyManage.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.thinkgem.jeesite.common.persistence.DataEntity; import org.hibernate.validator.con...
package org.apache.fop.util; import java.awt.Color; import java.awt.geom.AffineTransform; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Stack; public abstract class AbstractPaintingState...
/* * Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e) * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * For details, see the LICENCE.txt file location in the root directory of this * distribution or obtain ...
package com.bespectacled.modernbeta.noise; import java.util.Random; import net.minecraft.util.math.MathHelper; /* * Used for additional info: https://adrianb.io/2014/08/09/perlinnoise.html */ public class PerlinNoise { private int permutations[]; public double xOrigin; public double yOrigin; ...
package com.hausontech.hrs.bean.engine; public class ItemContentBean extends AuditBean { private long itemDefId; private long itemContentId; private String itemDefCode; private String signCharacter; // ���� private String segment1Low; private String segment1High; private String segment2Low; private String segm...
/* * Copyright (C) 2008 ZXing 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 agr...
package seedu.address.model.vendor; import static java.util.Objects.requireNonNull; import static seedu.address.commons.util.CollectionUtil.requireAllNonNull; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.LocalTime; import java.util.ArrayList; import java.util.Comparator; import java.util.H...
import java.util.Comparator; import java.util.HashMap; import java.util.Map; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("mh") public final class class362 { @ObfuscatedName("o") final Comparator field4283; ...
package com.example.yekta.myquiz; import android.content.res.ColorStateList; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Gravity; import android.view.View; import android.widget.Button; import android.w...
/** * @author <NAME> * * Copyright (C) 2019 <NAME>, QZ Industries, LLC * * LGPL 2.1 This is free software. This software and source code are released under * the "LGPL 2.1 License". A copy of this license should be distributed with * this software. http://www.gnu.org/licenses/lgpl-2.1.html */ package qz.inst...
/* * ___________ ______ _______ * / ____/__ // ____/ /_ __(_)___ ___ ___ _____ * / /_ /_ </ /_ / / / / __ `__ \/ _ \/ ___/ * / __/ ___/ / __/ / / / / / / / / / __/ / * /_/ /____/_/ /_/ /_/_/ /_/ /_/\___/_/ * * Open Source F3F timer UI and scores database * */ package...
package renan.augusto.connectusprototype; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.annotation.NonNull; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; imp...
/** * VMware Continuent Tungsten Replicator * Copyright (C) 2015 VMware, Inc. 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/licen...
/* Copyright (c) 2000-2021, Board of Trustees of Leland Stanford Jr. University 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 copyright notice,...
/** * Project Desc: * Project Name:TestExample * File Name:ExportUtil.java * Package Name:util * Date:2015-5-6上午11:38:07 * Copyright (c) 2015, zhgo116.com All Rights Reserved. * */ package util; /** * ClassName:ExportUtil <br/> * Date: 2015-5-6 上午11:38:07 <br/> * @author caosheng */ im...
package top.hcode.hoj.manager.admin.problem; import cn.hutool.core.io.FileUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugin...
/** * /** * INTER-IoT. Interoperability of IoT Platforms. * INTER-IoT is a R&D project which has received funding from the European * Union's Horizon 2020 research and innovation programme under grant * agreement No 687283. * <p> * Copyright (C) 2017-2018, by : - Università degli Studi della Calabria * <p> * <...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
package org.apache.hadoop.corona; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org....
/* * Copyright 2009-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.ewcms.yjk.sp.entity; import java.util.Date; import java.util.List; import java.util.Set; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import j...
/* * 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.navaile.enigma4k; import java.io.*; import java.util.*; import org.apache.commons.lang3.text.StrBuilder; import ...
/* * 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 swiss.sib.swissprot.handlegraph4j.simple.builders; import io.github.vgteam.handlegraph4j.gfa1.GFA1Reader; import java.io.DataO...
package skewtune.mapreduce.protocol; import java.io.DataInput; import java.io.DataInputStream; import java.io.DataOutput; import java.io.FileInputStream; import java.io.IOException; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableUtils; import org.apache.hadoop.mapred.MapOutputIndex; import ...
package au.gov.amsa.fgb.internal; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.github.davidmoten.guavamini.Lists; // NOTE: ALL other NationalLocation??? classes inheriting from this one // only exist to identify the protocol. The hex String is decoded from // here. ab...
package main.java.jugadores; import javafx.beans.property.SimpleStringProperty; import javafx.scene.image.Image; import main.java.Inicio.PantallaInicialController; import main.java.dataBase.PersonSQL; import main.java.utils.CallImages; import main.java.juego.mapas.Recursos; import main.java.juego.mapas.pelea.*; import...
/* * Copyright (c) 2011, Regents of the University of Michigan * * 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 sg.edu.ntu.sce.sands.crypto; import org.bouncycastle.crypto.DataLengthException; import org.bouncycastle.crypto.InvalidCipherTextException; import org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher; import org.bouncycastle.jce.provider.BouncyCastleProvider; import picocli.CommandLine; import picocli.C...
package edu.purdue.symmetria.crypto.cipher; import edu.purdue.symmetria.utils.MathUtils; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class RangeSymCipher extends SymCipher { /** * The first id is stored as the `offset`. Every other id is stored in `ids` as the * di...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("hb") @Implements("MusicPatchPcmStream") public class MusicPatchPcmStream extends PcmStream { @ObfuscatedName("ar") @ObfuscatedSigna...
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * * under the terms version 2 of the GNU ...
/** * * Process Editor - inubit IS Converter * * (C) 2009, 2010 inubit AG * (C) 2014 the authors * */ package com.inubit.research.ISConverter.exporter; import java.util.HashMap; import org.w3c.dom.Document; import org.w3c.dom.Element; import net.frapu.code.visualization.EdgeDocker; import net....
import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import org.opencv.calib3d.Calib3d; import org.opencv.core.Core; import org.opencv.core.CvException; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.MatOfInt; import org.opencv.core.MatOfPoint; import org...
package org.nutz.zdoc.impl; import static org.junit.Assert.assertEquals; import static org.nutz.zdoc.ZDocEleType.*; import static org.nutz.zdoc.ZDocNodeType.*; import org.junit.Before; import org.junit.Test; import org.nutz.am.AmFactory; import org.nutz.zdoc.BaseParserTest; import org.nutz.zdoc.ZDocEleType; import or...
/* * Copyright 2021 Google LLC * * 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 applicable law or agreed to ...
package engine; import engine.cake.AbstractCake; import engine.nutritionists.AbstractNutritionist; import engine.traps.AbstractTrap; import engine.weapons.Weapon; import graphics.Board; import graphics.BoardController; import graphics.Circle; import helpers.ExtMath; import log.IGLog; import sun.awt.image.ImageWatched;...
import java.util.ArrayList; import java.util.Random; import java.util.Vector; public class Ant implements Cloneable { private Vector<Integer> tabu; // private Vector<Integer> allowedCars; private float[][] distance; //private float[][] distance_cost; private float beta; private float q0...
/* * Copyright (C) 2010-2014, <NAME> and contributors * listed in the project's pom.xml file. * * This file is part of Alchemist, and is distributed under the terms of * the GNU General Public License, with a linking exception, as described * in the file LICENSE in the Alchemist distribution's top directory. */...
/* * This source is part of the * _____ ___ ____ * __ / / _ \/ _ | / __/___ _______ _ * / // / , _/ __ |/ _/_/ _ \/ __/ _ `/ * \___/_/|_/_/ |_/_/ (_)___/_/ \_, / * /___/ * repository. * * Copyright (C) 2013-2020 <NAME> (<EMAIL>) * Copyright (C) 2013 Benoit '<NAME> (<EMA...
package com.runescape.game.content.economy.shopping.impl; import com.runescape.game.world.entity.player.Player; import com.runescape.game.world.entity.player.achievements.AchievementData.AchievementType; import com.runescape.game.world.entity.player.achievements.AchievementHandler; import com.runescape.game.world.item...
package com.scatl.uestcbbs.util; import android.annotation.SuppressLint; import android.app.DownloadManager; import android.content.ActivityNotFoundException; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.content....
package com.haxademic.demo.media.audio.playback.multichannel; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.DataLine; import javax.sound.sampled.Line;...
package com.yg.zero.fileUpload.FileUploadOrDown.blockDownLoad; import com.yg.zero.fileUpload.FileUploadOrDown.FileUtility; import com.yg.zero.fileUpload.FileUploadOrDown.MD5; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; public class DownFileFetch extends Thread { private DownFileInfo...
package app; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.MouseEvent; import java.io.BufferedReader; import java.io.File; import java.i...
/* * Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved. This * code is released under a tri EPL/GPL/LGPL license. You can use it, * redistribute it and/or modify it under the terms of the: * * Eclipse Public License version 1.0 * GNU General Public License version 2 * GNU Lesser General ...
package Exercicios; /** * * @author fenia */ import java.io.*; import java.util.*; public class Ficha2 { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public void exercicio1 () throws IOException{ float soma = 0, med = 0; for (int i = 0; i <= 2...
package com.castellanos94.algorithms.multi; import java.util.ArrayList; import java.util.Iterator; import com.castellanos94.algorithms.AbstractEvolutionaryAlgorithm; import com.castellanos94.components.impl.DominanceComparator; import com.castellanos94.operators.ArchiveSelection; import com.castellanos94.operators.Re...
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the LDP4j Project: * http://www.ldp4j.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * ...
package net.impactdev.logger.listening; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.ent...