text
stringlengths
3.52k
24k
package ru.ps.vlcatv.utils.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.lang.reflect.Type; i...
/******************************************************************************* * Copyright 2012 University of Southern California * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
package org.elasticsearch.relay.handler; import java.net.URL; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.loggin...
/* * Copyright 2006-2021 WebPKI.org (http://webpki.org). * * 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...
/* * Copyright 2015-2021 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 com.nacid.web.handlers; import com.nacid.bl.NacidDataProvider; import com.nacid.bl.impl.Utils; import com.nacid.bl.users.User; import com.nacid.web.HandlerToGroupManager; import com.nacid.web.WebKeys; import com.nacid.web.exceptions.HandlerException; import com.nacid.web.model.common.SystemMessageWebModel; imp...
/** * Copyright (c) 2019 Team 3555 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish...
package com.aliazaz.aliSecretCameraPicture.services; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.graphics.ImageFormat; import android.hardwar...
/* Copyright 2015 The TensorFlow Authors. 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 applicable law or a...
package org.usfirst.frc.team1458.robot; import com.team1458.turtleshell2.util.Logger; import com.team1458.turtleshell2.util.PIDConstants; import com.team1458.turtleshell2.util.TurtleMaths; import com.team1458.turtleshell2.util.types.MotorValue; /** * Constants for Robot. All inner classes are defined as "static fina...
/* * 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 2014-2021 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 app...
package com.saints1899.shuffleboard.matchSim; import java.util.ArrayList; import javafx.geometry.Bounds; import javafx.scene.Node; import javafx.scene.image.ImageView; import javafx.scene.layout.Pane; import javafx.scene.shape.Rectangle; import javafx.scene.shape.Shape; public class MatchField { public class Dim...
package org.uniprot.store.spark.indexer.chebi; import static org.uniprot.store.spark.indexer.common.util.SparkUtils.getInputReleaseDirPath; import java.util.ResourceBundle; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.graphx.Edge; import org.apache.s...
/* * Copyright (c) 2005-2018 <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 conditi...
package com.hp.myidea.guidedroid; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.bluetooth.BluetoothAdapter; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import androi...
package com.xiaomi.account.openauth; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.webkit.CookieManager; import android.webkit.CookieSyncManager; import android.we...
package me.herobrinegoat.betterskyblock.managers; import me.herobrinegoat.betterskyblock.BetterSkyblock; import me.herobrinegoat.betterskyblock.Rank; import me.herobrinegoat.betterskyblock.Type; import me.herobrinegoat.betterskyblock.User; import me.herobrinegoat.betterskyblock.generators.BlockGenerator; import...
package com.ilinks.restful.login; import java.util.Map; import javax.servlet.http.HttpSession; import javax.ws.rs.*; import javax.ws.rs.core.Response; import javolution.util.FastMap; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.entity.GenericValue; import org.ofbiz.entity....
package com.jamesswafford.chess4j.search; import com.jamesswafford.chess4j.Constants; import com.jamesswafford.chess4j.board.Board; import com.jamesswafford.chess4j.board.Move; import com.jamesswafford.chess4j.movegen.MoveGenerator; import java.util.HashSet; import java.util.List; import java.util.Set; im...
/* * Copyright 2017 <NAME>, Lockswitch Sdn Bhd * * 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 l...
/* * Copyright (c) 2015, <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 conditions a...
package com.application.actify.core; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Locale; import org.joda.time.DateTime; import org.j...
/** * 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 ...
/* * Kodkod -- Copyright (c) 2005-present, <NAME> * Pardinus -- Copyright (c) 2013-present, <NAME>, INESC TEC * * 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, inc...
package com.example.hobbitus.passwordskeeper10; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; ...
package aco; import general.DoubleComparator; import general.QoSAttribute; import java.util.Arrays; import java.util.Timer; import java.util.TimerTask; /** * The entry point for the Ant Colony Optimization algorithm. * * @author <NAME> * */ public class ACO extends Thread { /** * The ants that will traver...
package com.questnr.services; import com.amazonaws.services.simpleemail.AmazonSimpleEmailService; import com.questnr.common.EmailConstants; import com.questnr.model.dto.NotificationDTO; import com.questnr.model.entities.EmailOTPSent; import com.questnr.model.entities.User; import com.questnr.responses.CommunityMetaPro...
import java.math.BigDecimal; import java.time.LocalDate; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class HumanResourcesStatisticsTest { private Manager d, m1, m2; private Worker w1, w2, w3, w4...
package lib.sticky.analysier; import android.support.annotation.NonNull; import java.util.ArrayList; import java.util.Collections; import java.util.List; import lib.sticky.bean.FullEntity; import lib.sticky.bean.IndexBean; import lib.sticky.spell.IWord2Spell; /** * Created by me_touch on 2017/7/18. ...
package carleton; import java.awt.Font; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import edu.princeton.cs.introcs.Draw; public abstract class Algorithm{ int count =0; final int[] pCpu= {90,180,360,720};//core final int [] pMem = {480000,800000,...
package com.dragon.wtudragondesign.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.os.Environme...
package com.giorgimode.spotmystatus.slack; import static com.giorgimode.spotmystatus.helpers.SpotConstants.SLACK_BOT_SCOPES; import static com.giorgimode.spotmystatus.helpers.SpotConstants.SLACK_PROFILE_SCOPES; import static com.giorgimode.spotmystatus.helpers.SpotConstants.SLACK_REDIRECT_PATH; import static com.giorg...
/* * 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 net.purnama.gui.dialog; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.TypeFa...
/* * Copyright (c) 2014, 2015, 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 socialite.parser.antlr; import gnu.trove.list.array.TIntArrayList; import gnu.trove.map.hash.TObjectIntHashMap; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import socialite.parser.Column; import socialite.parser.Const; import...
package org.aksw.simba.start; import java.io.*; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; import org.aksw.simba.quetsal.configuration.EndpointProvider2; import org.aksw.simba.quetsal.core.error.RelativeEr...
package org.interledger.jmeter.samplers; import eu.luminis.websocket.BinaryFrame; import eu.luminis.websocket.Frame; import eu.luminis.websocket.WebSocketClient; import org.apache.jmeter.samplers.SampleResult; import org.apache.jmeter.threads.JMeterContextService; import org.slf4j.Logger; import org.slf4j.LoggerFactor...
package com.diyal.activity; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Random; import android.app.Activit...
/* * Class: GeometricVarianceGammaProcess * Description: * Environment: Java * Software: SSJ * Copyright (C) 2001 <NAME> and Universite de Montreal * Organization: DIRO, Universite de Montreal * @author <NAME> * @since July 2003 * * * Licensed under the Apache License, Version 2....
package com.smartbear.readyapi4j.cucumber; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.inject.Inject; import com.smartbear.readyapi4j.assertions.Assertions; import com.smartbear.readyapi4j.assertions.DefaultResponseSLAAssertionBuilder; import com.smartbear.readyapi4...
/** * Copyright 2008 <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 * --> * * <!...
/* * 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.koma.mediacategory.video.player.widget; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.util.AttributeSet; import android.view.SurfaceHolder; i...
/* * Code by:@yinengy * Time: 11/11/2018 * * Correspond to the algorithm state on page 342-344, 353-354 * all /* comments are from the book. */ import java.io.FileNotFoundException; import java.util.LinkedList; import java.util.ListIterator; public class FordFulkersonAlgorithm { /** * main algorithm, ...
package com.qiniu.process.qiniu; import com.qiniu.common.QiniuException; import com.qiniu.http.Client; import com.qiniu.http.Response; import com.qiniu.process.Base; //import com.qiniu.storage.BucketManager; //import com.qiniu.storage.BucketManager.*; import com.qiniu.storage.Configuration; import com.qiniu.util.*; i...
package companion.support.v8.media; import java.io.File; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.ByteOrder; import android.media.AudioFormat; import android.media.AudioRecord; import companion.support.v8.util.ArraysUtils; import companion.support.v8.util.LogHelper; /** * Wav re...
/* * 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 imnotjahan.mod.danmachi.world.dimension.chunkgenerators; import com.mojang.serialization.Codec; import com.mojang.serialization.codecs.RecordCodecBuilder; import imnotjahan.mod.danmachi.init.Entities; import imnotjahan.mod.danmachi.world.CaveFloor; import net.minecraft.block.BlockState; import net.minecraft.bl...
package com.haxademic.sketch.particle; import java.util.ArrayList; import com.haxademic.core.app.AppSettings; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.draw.util.DrawUtil; import com.haxademic.core.draw.util.OpenGLUtil; import com.haxademic.core.file.FileUtil...
/* * Copyright 2008 blue media labs ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * 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")...
package com.falconrychess.logic; import com.falconrychess.controller.GameLog; public class Game { private Field field = new Field(); private Side side = Side.WHITE; private GameStatus status = GameStatus.NONE; private Figure replaceFigure = null; private GameLog gameLog = new GameLog(); publ...
package org.toba.psd.model; /****************************************************************************** * Product: iDempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistrib...
package com.avereon.xenon.workpane; import javafx.beans.property.ObjectProperty; import javafx.beans.property.ReadOnlyBooleanWrapper; import javafx.beans.property.SimpleObjectProperty; import javafx.collections.FXCollections; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; impor...
/* KVM-based Discoverable Cloudlet (KD-Cloudlet) Copyright (c) 2015 Carnegie Mellon University. All Rights Reserved. THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, IN...
package core.fingerprint; import core.document.graph.ComputedProperty; import core.fingerprint3.*; import ui.fingerprint.filters.Filter; import ui.fingerprint.payload.Endian; import ui.fingerprint.payload.Test; import javax.xml.bind.JAXBElement; import java.math.BigInteger; import java.nio.charset.StandardCharsets; i...
package com.andbase.main; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.ab.activit...
package org.pikater.web.vaadin.gui.server.components.paging; import java.util.Arrays; import org.pikater.web.vaadin.gui.server.components.anchor.Anchor; import com.vaadin.annotations.StyleSheet; import com.vaadin.data.Property; import com.vaadin.data.Property.ValueChangeEvent; import com.vaadin.event.MouseEvents; im...
package com.hst.johns.collection.modules.app.controller; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.lang.Validator; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.hst.johns.collection.common.api.CommonPage; import com.hst.johns.collection.common.api.CommonResult; i...
package com.smp.soundtouchandroid; import android.content.Context; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioRecord; import android.media.AudioTrack; import android.media.MediaRecorder; import android.os.Environment; import android.util.Log; import java.io.FileInpu...
package gov.usgs.cida.gdp.coreprocessing.analysis; import com.google.common.base.Preconditions; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Geometry; import com.vividsolutions.jts.geom.GeometryFactory; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import...
/** * ImageLoader.java * 利用线程池与软引用,开启三级缓存模式: * 根据图片路径,先在内存查找是否存在bitmap的引用;若无,查找SD卡是否存在该缓存文件;若无,开启新线程加载网络图片 * 此类用于ImageView控件图片加载 * @author liangzz * 2014-12-2 */ package com.canace.mybaby.cache.loader; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream;...
/** Copyright (c) 2010, Cisco Systems, 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, this list of conditions and t...
package com.example.rakesh.tictoc; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageButton; im...
package com.ibm.ai4code.parser.commons; import java.io.File; import java.util.ArrayList; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import java.util.Queue; impor...
// Copyright (c) 2014, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. package gndata.lib.srv; import java.io.*; ...
/* * TupleKeyCountTree.java * * This source file is part of the FoundationDB open source project * * Copyright 2015-2020 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
package zombified.game; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.JTextA...
package org.ludus.backend.games.meanpayoff.solvers.energy; import org.ludus.backend.datastructures.weights.SingleWeightFunctionInt; import org.ludus.backend.games.algorithms.GraphChecks; import org.ludus.backend.games.energy.EnergyGame; import org.ludus.backend.games.energy.solvers.SEPM; import org.ludus.backend.games...
import java.util.*; import java.io.*; import org.junit.Test; import static org.junit.Assert.*; // https://code.google.com/codejam/contest/8224486/dashboard#s=p1 // Round 1B 2015: Problem C - Hiking Deer // // Herbert the deer is going for a hike: one clockwise loop around a circular // trail, starting at degree zero....
package com.samulitfirstproject.supply365; import android.app.ProgressDialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import a...
/******************** (C) COPYRIGHT 2014 STMicroelectronics ******************** * File Name : BluetoothCommunication.java * Author : <NAME> * Version : 1.0 * Date : 1st Sep, 2014 * Description : BluetoothCommunication **************************************************...
/* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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....
package com.hcl.kandy.cpass.call; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Color; import android.hardware.Camera; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Bundle; import androidx.annotation.Nullab...
package es.ucm.fdi.iw.control; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.servlet.http.HttpSession; import or...
/* * Project Scelight * * Copyright (c) 2013 <NAME> <<EMAIL>> * * This software is the property of <NAME>. * Copying, modifying, distributing, refactoring without the author's permission * is prohibited and protected by Law. */ package hu.scelight.sc2.rep.s2prot.type; import java.util.ArrayList; ...
package com.planet.staccato.es.initializer; import com.fasterxml.jackson.annotation.JsonProperty; import com.planet.staccato.StacInitializer; import com.planet.staccato.collection.CatalogType; import com.planet.staccato.collection.CollectionMetadata; import com.planet.staccato.collection.Subcatalog; import com.planet....
package android.particles.com.retrofit.component.widget.cardSlideView; import android.content.Context; import android.database.DataSetObserver; import android.graphics.Rect; import android.particles.com.retrofit.component.util.Util; import android.util.AttributeSet; import android.util.Log; import android.util.SparseA...
package JDescriptors.fr.lip6.clustering; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; public class ThreadedKMeans implements Serializable { /** * */ private static final long serialVersionUID = -253576488350574703L; private int nbThread = 1; ...
package com.elbotecito.dao.impl; import com.elbotecito.dao.EsposaDAO; import com.elbotecito.dao.exception.LlaveDuplicadaException; import com.elbotecito.modelo.Esposa; import com.elbotecito.util.util; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.FileChan...
package com.example.performance_tracker; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button...
/* * 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. */ /** * * @author den4i_000 */ import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import ja...
/* * Copyright 2021 Couchbase, 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 mrriegel.storagenetwork.block.cable.processing; import com.google.common.collect.Lists; import mrriegel.storagenetwork.StorageNetwork; import mrriegel.storagenetwork.block.cable.ContainerCable; import mrriegel.storagenetwork.block.cable.GuiCableBase; import mrriegel.storagenetwork.block.cable.GuiCableButton; i...
package com.njnu.kai.test.expand; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.os.Build; import android.text.TextPaint; import android.util.AttributeSet; i...
package com.googlecode.blaisemath.graph.layout; /* * #%L * BlaiseGraphTheory * -- * Copyright (C) 2009 - 2021 <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 * * ht...
package com.rajeshdonepudi.screenrecorder.activities; import android.Manifest; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.graphics.Point; import android.hardwar...
/* * Copyright (c) 2007-2013 <NAME> <<EMAIL>> * Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package edu.berkeley.compbio.sequtils; import com.davidsoergel.dsutils.collections.OrderedPair; import org.apache.log4j.Logger; /** * @author <a href="mailto:<EMAIL>">...
package com.opentokreactnative; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.ImageFormat; import android.graphics.PixelFormat; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.hardware.Camera.CameraI...
package com.sixdee.wfm.common; /** * @author <NAME>[2019@sixdee|WFM|v1.0.0] */ import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Inet4Address; import java.net.InetAddress; import jav...
package org.egov.filestore.persistence.repository; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Date; ...
/* Copyright (C) 2010-2011 <NAME> AnemoneSoft.com */ package anemonesoft.gui.control; import java.awt.*; import java.io.*; import javax.swing.*; import anemonesoft.gui.*; import anemonesoft.gui.component.*; import anemonesoft.i18n.*; import anemonesoft.plot.*; // // A standard plot-d...
/* * Copyright (c) 2015-2021 Hallin Information Technology AB * * 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, co...
/* * Copyright (C) 2018 The Astarte 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 o...
package com.amrdeveloper.codeview; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.os.Handler; import android.text.Editable; import android.text.InputFilter; import android.text.Layout; import an...
/* * 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 com.example.android.lasergame; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Intersection { // Returns the intersection if one exists, null if not public static Point detect(Line l1, Line l2) { double dyline1, dxline1; double dyline2, dx...
/* * Copyright 2016 Google 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/licenses/LICENSE-2.0 * * Unless required by a...