text
stringlengths
7.32k
45.1k
/* * Copyright 2014 The LolDevs team (https://github.com/loldevs) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * 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 Wael; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; //import java.util.D...
package fv.ayurchr.dbobjects.hibernate; import java.util.Date; import fv.ayurchr.commons.HibernateSession; import static fv.ayurchr.commons.security.util.DAOUtility.getIncidenceObject; public class Incidence { public static final String CENTITY = "CINCIDENCE"; public static final String ENTITY = "INCIDENCE"...
package arekkuusu.enderskills.client.gui.widgets; import arekkuusu.enderskills.api.capability.Capabilities; import arekkuusu.enderskills.api.capability.SkilledEntityCapability; import arekkuusu.enderskills.api.capability.data.SkillInfo; import arekkuusu.enderskills.client.gui.GuiScreenSkillAdvancements; import arekkuu...
package org.firstinspires.ftc.teamcode; import android.graphics.Color; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.robot...
/* SPDX-License-Identifier: Apache-2.0 */ package org.odpi.openmetadata.virtualdataconnector.igc.connectors.eventmapper; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.kafka.clients.consumer.Consumer; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.clients.consum...
// author: 2564916J package utils; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import akka.actor.ActorRef; import commands.BasicCommands; import structures.GameState; import structures.basic.ActionEvent; import structures.basic.EffectAnimation; import stru...
package pokecube.core.client.render.entity; import java.awt.Color; import java.util.Random; import javax.vecmath.Vector3f; import org.lwjgl.opengl.GL11; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.client.renderer.GlStateManager; i...
package at.petrak.hexcasting.api.circle; import at.petrak.hexcasting.api.misc.FrozenColorizer; import at.petrak.hexcasting.api.misc.ManaConstants; import at.petrak.hexcasting.api.mod.HexApiItems; import at.petrak.hexcasting.api.mod.HexApiSounds; import at.petrak.hexcasting.api.mod.HexConfig; import at.petrak.hexcastin...
package net.arctics.clonk.index; import static java.util.Arrays.stream; import static java.util.function.Function.identity; import static net.arctics.clonk.util.ArrayUtil.indexOfItemSatisfying; import static net.arctics.clonk.util.ArrayUtil.iterable; import static net.arctics.clonk.util.StringUtil.blockString; import ...
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.worker.art.container.rmi; import madgik.exareme.common.art.ContainerSessionID; import madgik.exareme.common.art.PlanSessionID; import madgik.exareme.common.art.entity.EntityName; import madgik.exareme.common.optimizer.OperatorCategory; import madgik...
package utilities; import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import j...
package com.caju.uheer.app.activities; import android.accounts.Account; import android.accounts.AccountManager; import android.graphics.Color; import android.net.wifi.WifiManager; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.support.design.widget.FloatingActionButton...
package com.google.android.exoplayer2.extractor.mp3; import com.google.android.exoplayer2.C1379C; import com.google.android.exoplayer2.Format; import com.google.android.exoplayer2.ParserException; import com.google.android.exoplayer2.drm.DrmInitData; import com.google.android.exoplayer2.extractor.Extractor; import com...
package org.opendocumentformat.tester.validator; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.io.Writer; i...
package ch.epfl.bbp.uima.jsre; import static ch.epfl.bbp.uima.BlueCasUtil.getHeaderDocId; import static ch.epfl.bbp.uima.BlueUima.PARAM_ANNOTATION_CLASS; import static ch.epfl.bbp.uima.typesystem.TypeSystem.BRAINREGION_DICT; import static ch.epfl.bbp.uima.typesystem.TypeSystem.BRAIN_REGION; import static ch.epfl.bbp.u...
/* * ********************************************************************* * Copyright (c) 2010 <NAME> and Universidade do Minho. * 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 t...
import java.util.ArrayList; import java.util.TreeSet; import java.util.Comparator; import java.util.Collections; import java.util.AbstractCollection; import javax.imageio.ImageIO; import java.io.File; import java.io.IOException; import java.awt.Graphics; import java.awt.Image; import java.awt.image.Buff...
/* GENERATED SOURCE. DO NOT MODIFY. */ // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 1996-2016, International Business Machines Corporation and ...
package it.sephiroth.android.library.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.animation.TypeEvaluator; import android.animation.ValueAnimator; import android.annotation.TargetApi; import android.content.Context;...
package org.rx.io; import com.alibaba.fastjson.JSONObject; import com.google.common.collect.AbstractSequentialIterator; import com.google.common.hash.BloomFilter; import com.google.common.hash.Funnels; import lombok.*; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.IteratorUtils; import org.r...
/****************************************************************************** Copyright 2017 Digital Proteomics, 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 http://www....
package com.sqy.kingdb; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import com.sqy.kingdb.annotion.KingTable; import...
package org.gbif.occurrence.common; import com.google.common.collect.ImmutableMap; import org.gbif.api.model.occurrence.Occurrence; import org.gbif.api.vocabulary.Extension; import org.gbif.dwc.terms.DcTerm; import org.gbif.dwc.terms.DwcTerm; import org.gbif.dwc.terms.GadmTerm; import org.gbif.dwc.terms.GbifInternalTe...
package com.coolioasjulio.influence.web; import com.coolioasjulio.influence.Action; import com.coolioasjulio.influence.Card; import com.coolioasjulio.influence.Game; import com.coolioasjulio.influence.Player; import com.google.gson.Gson; import java.io.IOException; import java.util.*; import java.util.concurrent.Exec...
package fun.txy.btc; import fun.txy.utils.MyByte; public class BtcOperation extends BtcBaseData { private final byte code; private final byte[] data; private BtcOperation(byte code, byte[] data) { this.code = code; this.data = data; } public byte getCode() { return code; } public byte[] ...
package com.cambodia.od4d.wastewaterleakagetracker.activities; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.content.ContentValues; import android.content.Context; import android.content.DialogInterface; import android.conte...
/* * Copyright (c) Open Source Strategies, Inc. * * Opentaps is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Opentap...
/* * Copyright (c) 2017, 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 file is part of AvatarMod. AvatarMod is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AvatarMod is distributed in...
package SNAct1.monsters; import SNAct1.SNAct1Mod; import SNAct1.powers.DreadStormPower; import SNAct1.powers.SoulChargePower; import SNAct1.powers.WhiffPunisherPower; import com.badlogic.gdx.graphics.Color; import com.megacrit.cardcrawl.actions.animations.AnimateFastAttackAction; import com.megacrit.cardcrawl.actions....
package com.ibm.nmon.gui.report; import org.slf4j.Logger; import java.util.BitSet; import java.util.List; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTabbedPane; import javax.swing.SwingUtilities; import ...
package models.hibernateModels; import play.db.jpa.JPAApi; import play.db.*; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.LockModeType; import javax.persistence.TypedQuery; import org.hibernate.Session; import org.hibernate.transform.ResultTransformer; import enums.Gen...
package main.java.model.gbXML; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.jdom2.Element; import org.jdom2.Namespace; import main.java.api.EnergyPlusDataAPI; import main.java.model.idf.IDFFileObject; import main.java.model.idf.IDFObject; public class EnvelopeTranslator { ...
import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; import java.io.*; import java.util.Arrays; public class RobonautEyeTester { public static byte[] toBytes(int[] arr) { byte[] ret = new byte[arr.length * 4]; for (int i = 0, j ...
/* * Copyright (C) 2017 Samsung Electronics Co., 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...
package com.google.android.libraries.motionphotoreader; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.MediaCodec; import android.media.MediaExtractor; import android.media.MediaFormat; import android.os.Build; import android.os.Bundle; import android.os.Handler; import and...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("hk") @Implements("TextureProvider") public class TextureProvider implements TextureLoad...
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
package SOM_GeometryProj_PKG.geom_ObjExamples; import java.util.TreeMap; import java.util.concurrent.ThreadLocalRandom; import SOM_GeometryProj_PKG.geom_SOM_Mapping.mapManagers.Geom_2DLineMapMgr; import base_JavaProjTools_IRender.base_Render_Interface.IRenderInterface; import base_Math_Objects.MyMathUtils; import bas...
package com.elastisys.autoscaler.core.autoscaler.factory; import static com.elastisys.scale.commons.json.JsonUtils.parseJsonFile; import static com.elastisys.scale.commons.json.JsonUtils.toObject; import static com.elastisys.scale.commons.util.precond.Preconditions.checkArgument; import static com.elastisys.scale.comm...
package com.google.android.gms.ads.internal; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Point; import android.graphics.Rect; import android.os.Bundle; import android.os.RemoteException; import android.text.TextUtils; import android.view.Window; ...
package org.apache.hadoop.hdfs; import java.io.IOException; import java.io.FileNotFoundException; import java.net.URI; import java.net.URISyntaxException; import java.util.concurrent.atomic.AtomicInteger; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.ContentSummary; import org.apache.hadoop...
package com.antest1.gotobrowser; import android.content.Context; import android.content.res.AssetManager; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.Bu...
package BloodBankManagementSystem; import ProjBack.ConnectionProvider; import java.sql.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.swing.JOptionPane; import java.sql.Statement; import java.text.SimpleDateFormat; import java.u...
package com.teamgannon.trips.transits; import com.teamgannon.trips.config.application.TripsContext; import com.teamgannon.trips.config.application.model.SerialFont; import com.teamgannon.trips.dialogs.routing.RouteDialog; import com.teamgannon.trips.graphics.entities.RouteDescriptor; import com.teamgannon.trips.graphi...
package com.fuser; import com.fuser.config.ParserConfig; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.regex.Pattern; import org.junit.Test; import com.tekai.Expression; import com.tekai.Parser; public class ParserTest { @Test public void justAnAtom() {...
package net.floodlightcontroller.elephantcontrolswitch; import net.floodlightcontroller.core.FloodlightContext; import net.floodlightcontroller.core.IFloodlightProviderService; import net.floodlightcontroller.core.IOFMessageListener; import net.floodlightcontroller.core.IOFSwitch; import net.floodlightcontroller.core....
package com.yang.bletest; import android.Manifest; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import andro...
package jama2; import java.io.Serializable; import static jama2.util.Maths.eps; import static jama2.util.Maths.hypot; import static java.lang.Math.max; import static java.lang.Math.min; import static java.lang.Math.abs; import static java.lang.Math.sqrt; /** * Singular Value Decomposition. * <P> * For an m-by-n m...
package com.example.test.Activity; import android.Manifest; import android.content.ContentUris; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.database.Cursor; import android.graphics.Bitmap; impo...
/******************************************************************************* * Copyright (c) 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 * * http://...
/* Technology Exponent Common Utilities For Java (TECUJ) Copyright (C) 2003,2004 <NAME> www.tek271.com This file is part of TECUJ. TECUJ 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; version 2. TECUJ ...
package com.github.javahello.erm.generator.mybatisplus.config; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; import com.baomidou.mybatisplus.core.toolkit.StringPool; import com.baomidou.mybatisplus.core.toolkit.StringUtils; import com.baomidou.mybatisp...
package theProdigy.cards.abstracts; import basemod.abstracts.CustomCard; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.evacipated.cardcrawl.mod.stslib.patches.HitboxRightClick; import com.megacrit.cardcrawl.cards.Ab...
/* * 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 se.librate.SocialNetwork; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory...
package edu.stanford.nlp.pipeline; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintStream; ...
package p005cm.aptoide.p006pt.billing.networking; import org.jacoco.agent.p025rt.internal_8ff85ea.Offline; import p005cm.aptoide.p006pt.billing.BillingIdManager; import p005cm.aptoide.p006pt.billing.transaction.TransactionFactory; /* renamed from: cm.aptoide.pt.billing.networking.TransactionMapperV3 */ public class T...
package com.example.paarthbhasin.finalmobileapp; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.Typeface; import android.graphics.drawable.Draw...
package com.xin; import java.util.List; import java.util.Random; /** * Created by xiaoxin on 17-8-21. */ public class Algorithm { public static void main(String... args) { int[] a = {9, 8, 7, 9, 5, 4, 3, 9, 1, 0}; int[] b = {49, 38, 65, 97, 176, 213, 227, 49, 78, 34, 12, 164, 11, 18, 1}; ...
package com.dj.zk.manager.service.impl; import java.io.IOException; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.r...
// Otter Game // Main game screen // By <NAME> and <NAME> package com.game.otter.game; import java.util.ArrayList; import java.util.Random; import com.badlogic.gdx.Application.ApplicationType; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.InputAdapter; import com...
package io.github.lujian213.simulator.util; import static io.github.lujian213.simulator.SimSimulatorConstants.*; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import jav...
package org.narrative.network.shared.interceptors; import org.narrative.common.core.services.interceptors.BypassHtmlDisable; import org.narrative.common.core.services.interceptors.SubPropertySettable; import org.narrative.common.util.IPBeanUtil; import org.narrative.common.util.IPStringUtil; import org.narrative.commo...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.Servo; import com.qual...
package com.cjburkey.claimchunk.config; import com.cjburkey.claimchunk.Utils; import com.cjburkey.claimchunk.config.access.Accesses; import com.cjburkey.claimchunk.config.access.BlockAccess; import com.cjburkey.claimchunk.config.access.EntityAccess; import com.cjburkey.claimchunk.config.ccconfig.CCConfig; import com.c...
/** * 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...
/* * RHQ Management Platform * Copyright (C) 2005-2011 Red Hat, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation version 2 of the License. * * This program i...
/* * Copyright 2022 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 applica...
/* * Copyright 2017 <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 wr...
package com.communote.server.core.bootstrap; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import org.quartz.InterruptableJob; import org.quartz.JobDetail; import org.quartz.JobExecutionContext; import org.quartz.Scheduler; imp...
package symjava.examples; import static symjava.math.SymMath.dot; import static symjava.math.SymMath.grad; import static symjava.symbolic.Symbol.*; import java.util.HashMap; import java.util.List; import java.util.Map; import Jama.Matrix; import symjava.domains.Domain; import symjava.examples.fem.Element; import sym...
package org.opengis.cite.iso19136; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.logging.Level; import javax.ws.rs.core.MediaType; import javax.xml.namespace.QName; import javax.xml.transform...
/* * Copyright 2012 <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...
/* Gets language designations and links from a Wikipedia article @(#) $Id: WikipediaHelper.java 657 2011-03-17 07:56:38Z gfis $ 2017-05-28: javadoc 1.8 2016-01-18: Javadoc links corrected; URIReader moved to org.teherba.common 2012-09-15: extracted from org.teherba.numword.SpellerFactory */ /* * Copyr...
/*! ****************************************************************************** * * Hop : The Hop Orchestration Platform * * Copyright (C) 2002-2018 by <NAME> : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Vers...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
package extraction.network; import extraction.AdjacencyMatrix; import extraction.Label; import extraction.Label.*; import extraction.network.Behaviour.*; import utility.Pair; import java.util.*; public class Network extends NetworkASTNode { public HashMap<String, ProcessTerm> processes; //Map from process n...
package cucumber.eclipse.steps.jdt; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import org.eclipse...
package net.sf.jabref.gui.externalfiles; import java.awt.BorderLayout; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.Optional; import javax.swing.BoxLayout; import javax.swing.ButtonGroup; imp...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.fyp.hongqiaoservice.query.train; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; impor...
/* * Copyright 2018, Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.crdgenerator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annot...
package com.alibaba.datax.plugin.reader.ossreader.util; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.util.Configuration; import com.alibaba.datax.plugin.reader.ossreader.OssInputStream; import com.alibaba.datax.plugin.unstructuredstorage.reader.Key; import com.alibaba.datax...
// Copyright 2010-2014, Google 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 condit...
package org.firstinspires.ftc.teamcode.oldCode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.TouchSensor; import org.firstinspires.ftc.teamcode.api.DcMotorX; import org.firstinspires.ftc.teamcode.api.Drivetrain; im...
/* * Copyright (C) 2018 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 ...
/** * Copyright ${license.git.copyrightYears} 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/LICEN...
package javafx.scene.paint; import java.util.List; /** * <p>The {@code LinearGradient} class fills a shape * with a linear color gradient pattern. The user may specify two or * more gradient colors, and this Paint will provide an interpolation * between each color.</p> * * <p> * The application provides an arr...
// ModuleInit.java /* * Copyright (c) 2008, Gennady & <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,...
/** * 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 © 2010-2020 Nokia * * 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 ...
/* * 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 ...
/* * DeepImageJ * * https://deepimagej.github.io/deepimagej/ * * Conditions of use: You are free to use this software for research or educational purposes. * In addition, we expect you to include adequate citations and acknowledgments whenever you * present or publish results that are based on it. * ...
package com.bazaarvoice.emopoller.metrics; import com.bazaarvoice.emopoller.util.JsonUtil; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; i...
/* * Copyright 2012-2014 MarkLogic Corporation * * 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...
/** * Copyright (c) 2008 - 2012 10gen, Inc. <http://10gen.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...
package com.vondear.rxui.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PointF; import android.graphics.Rect; import android.util.AttributeSe...
/* * Copyright 2018 ESOL. * * 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 wr...
/** * 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...