text
stringlengths
7.32k
45.1k
package com.vungle.warren.download; import android.app.NotificationChannel; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.ConnectivityManager.NetworkCallback; import android.net.Network; import android.n...
package Models.JeffreyModels.DeterministicGame; import Framework.GridsAndAgents.AgentGrid2D; import Framework.GridsAndAgents.AgentSQ2Dunstackable; import Framework.Gui.GridVisWindow; import Framework.Tools.Binomial; import Framework.Tools.FileIO; import Framework.Gui.GifMaker; import java.util.Random; import static...
package org.coreasm.eclipse.editors.errors; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.coreasm.eclipse.editors.ASMDocument; import org.coreasm.eclipse.edit...
package ch.bfh.btx8108.trinkster; import android.Manifest; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; impo...
/* * Copyright (C) 2008 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 edu.buffalo.cse.cse486586.groupmessenger2; import android.app.Activity; import android.content.ContentValues; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.telephony.TelephonyManager; import android.text....
package org.gbif.nameparser; import org.gbif.api.model.checklistbank.ParsedName; import org.gbif.api.vocabulary.Rank; import org.gbif.utils.file.FileUtils; import org.gbif.utils.rs.RsGbifOrg; import java.io.IOException; import java.io.InputStream; import java.util.Set; import java.util.TreeSet; import java.util.concu...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * /* * Informational Notice: * This software was developed under contract funded by the National Library of Medicine, which is part of the National Institutes of Health, * an agency of the Department of Health and Human Services, United States Government. * * The license of this software is an open-source...
package org.black_ixx.bossshop.core; import org.black_ixx.bossshop.BossShop; import org.black_ixx.bossshop.core.conditions.BSCondition; import org.black_ixx.bossshop.core.prices.BSPriceType; import org.black_ixx.bossshop.core.rewards.BSRewardType; import org.black_ixx.bossshop.events.BSPlayerPurchaseEvent; import org....
/* * Copyright 2014 "" daiv * * 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 ...
/* * This code is from 'Open Diablo Editor' version 2.x, authored by <NAME> and other contributors. * * See README.md for full contributor list. * * This code is tri-licensed, under the CC0, MIT and Apache 2.0 licenses (i.e. pick one of the three licenses). * * Careful attribution is strongly preferred, though n...
/* * Copyright (c) 2014. Pokevian 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...
package com.app.afrifarm.views; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Matrix; import androi...
/* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
package eu.fbk.knowledgestore.datastore; import java.io.IOException; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; i...
package fi.nls.oskari.printout.input.layers; import com.vividsolutions.jts.geom.GeometryFactory; import com.vividsolutions.jts.io.ParseException; import com.vividsolutions.jts.io.WKTReader; import fi.nls.oskari.printout.config.ConfigValue; import fi.nls.oskari.printout.input.layers.LayerDefinition.Style; import fi.nls...
package com.twitterStatReporter; import org.json.JSONArray; import org.json.JSONObject; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.HashMap; import java.util.concurrent.BlockingQueue; import java.util.concurrent....
package umontreal.iro.lecuyer.contactcenters.ctmc.splitmerge; import java.util.ArrayList; import java.util.List; import umontreal.iro.lecuyer.contactcenters.ctmc.CallCenterCTMC; import umontreal.iro.lecuyer.contactcenters.ctmc.CallCenterCounters; import umontreal.iro.lecuyer.contactcenters.ctmc.RateChangeInfo; import...
/********************************************************************************* * TotalCross Software Development Kit * * Copyright (C) 2000-2012 SuperWaba Ltda. * * All Rights Reserved ...
/* -*- mode: Java; c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/ /* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
package moose.com.ac; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.annota...
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-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 * *...
package tool.clients.menus; import java.io.PrintStream; import java.util.Hashtable; import java.util.concurrent.CountDownLatch; //import org.eclipse.swt.SWT; //import org.eclipse.swt.events.SelectionEvent; //import org.eclipse.swt.events.SelectionListener; //import org.eclipse.swt.widgets.Display; //import org.eclips...
package com.ptoceti.osgi.pi.impl; /* * #%L * ********************************************************************** * ORGANIZATION : ptoceti * PROJECT : Pi * FILENAME : WireHandler.java * * This file is part of the Ptoceti project. More information about * this project can be found here: http://www.ptoceti.co...
// Copyright (c) 2019 by Audere // // Use of this source code is governed by an MIT-style license that // can be found in the LICENSE file distributed with this file. package host.exp.exponent; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.graphi...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * #%L * SCIFIO library for reading and converting scientific file formats. * %% * Copyright (C) 2011 - 2020 SCIFIO developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of so...
package net.rdrei.android.dirchooser; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.DialogFragment; import android.app.Fragment; import android.content.DialogInterface; import android.content.res.Resources; import android.content.res.TypedArray;...
import java.io.File; 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("fh") @Implements("JagexCache") public class JagexCache { @Obfusca...
package knf.kuma.pojos; import android.text.TextUtils; import androidx.annotation.Keep; import androidx.annotation.NonNull; import androidx.core.graphics.drawable.IconCompat; import androidx.room.ColumnInfo; import androidx.room.Embedded; import androidx.room.Entity; import androidx.room.Ignore; import androidx.room....
//<NAME> import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class main_code extends JFrame { protected JFrame main_frame=this; protected double[] high_scores=new double[3]; protected int score=0; protected int question_index=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...
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
// Copyright 2019 FRC Team 3476 Code Orange package frc.subsystem; import com.kauailabs.navx.frc.AHRS; import com.revrobotics.CANSparkMax; import com.revrobotics.CANSparkMax.IdleMode; import com.revrobotics.CANSparkMaxLowLevel.MotorType; import com.revrobotics.CANSparkMaxLowLevel.PeriodicFrame; import com.revrobotics...
/** * Copyright 2020 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 applic...
/* * Copyright (c) 2008-2015, Hazelcast, 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 ...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * MIT License * * Copyright (c) 2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, merg...
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("ba") @Implements("Message") public class Message extends DualNode { @ObfuscatedName("b...
/* * 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 ...
/* * LY (ly framework) * This program is a generic framework. * Support: Please, contact the Author on http://www.smartfeeling.org. * Copyright (C) 2014 <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
/* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
/* * Copyright (c) 2016 <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 agree...
package com.dropbox.core.android; import java.security.SecureRandom; import java.util.List; import java.util.Locale; import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.DialogInterface; import android.con...
package uk.ac.ebi.atlas.experimentpage.json.opentargets; import com.google.auto.value.AutoValue; import com.google.common.collect.ImmutableMap; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import org.apache.commons.lang3.StringUtils; import org.apache.commo...
package com.tundralabs.fluttertts; import android.content.Context; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.speech.tts.TextToSpeech; import android.speech.tts.UtteranceProgressListener; import android.speech.tts.Voice; import android.util.Lo...
package nl.inl.blacklab.server.requesthandlers; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutionException; import javax.servlet.http.HttpServletRequest; import nl.inl.blacklab.searches...
/** * 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...
/** * 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 m...
package se.lu.nateko.edca; import se.lu.nateko.edca.BackboneSvc.SvcAccessor; import se.lu.nateko.edca.svc.GeoHelper; import se.lu.nateko.edca.svc.GeographyLayer; import se.lu.nateko.edca.svc.LocalSQLDBhelper; import android.app.AlertDialog; import android.app.ListActivity; import android.content.ComponentName; import ...
/* * MegaMek - Copyright (C) 2000,2001,2002,2003,2004 <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * an...
/******************************************************************************* * Copyright (c) 2015-2019 * * 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 w...
/* * WPCleaner: A tool to help on Wikipedia maintenance tasks. * Copyright (C) 2013 <NAME> * * See README.txt file for licensing information. */ package org.wikipediacleaner.api.constants; import java.awt.ComponentOrientation; import java.util.ArrayList; import java.util.Collections; import java....
/* * 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 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.folio.okapi.util; import io.vertx.core.Future; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.logging....
/* Copyright (c) 2020, <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 and the followi...
/* * Copyright 2015 <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 writ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package org.ayo.list.pinned; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.Region; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager...
/* * 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) 2013 - 2020 <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 agree...
package HeuristicaDistanciaManhattan; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Objects; /** * * @author ns */ public class BuscaGulosa { public BuscaGulosa() { } public static void main(String[] args) { Puzzle ...
/* * * Copyright (c) 2007, 2011, Oracle and/or its affiliates. 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 * ...
/* * Copyright (C) 2010-2021 The Project Lombok Authors. * * 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, ...
package frc.robot.util.coprocessortable; import java.util.ArrayList; import java.util.Objects; import edu.wpi.first.math.geometry.Pose2d; import edu.wpi.first.math.geometry.Rotation2d; import edu.wpi.first.math.kinematics.ChassisSpeeds; import edu.wpi.first.networktables.EntryListenerFlags; import edu.wpi.first.netwo...
package com.project.convertedCode.globalNamespace.namespaces.Illuminate.namespaces.Routing.classes; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.project.convertedCode.globalNamespace.namespaces.Illuminate.namespaces.Support.classes.Arr; import com.runtimeconverter.runtime.nativeFunctio...
package mfdevelopement.eggmanager.activities; import android.app.AlertDialog; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.widget.EditText; impor...
/* * 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 * "Lic...
package com.github.yellowstonegames.world; import com.badlogic.gdx.*; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.g2d.S...
/** * Edge.java * * Copyright 2014-2016 <NAME> <<EMAIL>>. 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, * ...
/* * Copyright 2010 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 org.greencubes.launcher; import java.awt.AWTEvent; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.event.WindowEvent; import java.io.BufferedReader; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java....
/* * @(#)PlineVertex.java * Copyright © 2021 The authors and contributors of JHotDraw. MIT License. */ package org.jhotdraw8.geom.contour; import org.jhotdraw8.annotation.NonNull; import org.jhotdraw8.collection.OrderedPair; import org.jhotdraw8.geom.AABB; import org.jhotdraw8.geom.Geom; import org.jhotdraw8.geom....
package net.minecraft.world.level.block; import net.minecraft.core.BlockPosition; import net.minecraft.core.EnumDirection; import net.minecraft.network.chat.ChatMessage; import net.minecraft.network.chat.IChatBaseComponent; import net.minecraft.stats.StatisticList; import net.minecraft.world.EnumHand; import net.minec...
/* 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.smeanox.games.aj3.screen; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import...
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
/* * Copyright 2014 - 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 applicab...
/* * (c) Copyright <NAME>, Germany. Contact: <EMAIL>. * * Created on 21.07.2019 */ package net.finmath.montecarlo.interestrate.models.covariance; import java.util.Map; import net.finmath.montecarlo.RandomVariableFactory; import net.finmath.stochastic.RandomVariable; import net.finmath.stochastic.Scalar; import ne...
/* * © Copyright 2016-2020 Micro Focus or one of its affiliates. * 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...
/* * 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 ...
/* * Copyright 2020 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 ...
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
package ehacks.mod.modulesystem.classes; import ehacks.api.module.Module; import ehacks.mod.wrapper.ModuleCategory; import ehacks.mod.wrapper.Wrapper; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.c...
package net.minecraft.advancements; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonSyntaxException; import java.util.Arrays; import java.util.Ite...
package cn.mcmod.ppot.pot.cookingpot; import cn.mcmod.ppot.pot.IStove; import cn.mcmod.ppot.recipe.BasicPotRecipe; import cn.mcmod.ppot.recipe.IPotRecipe; import cn.mcmod_mmf.mmlib.util.RecipesUtil; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.Entit...
package main.java.tcu.physics.gbc; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt...
package com.typemapper.postgres; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.sql.Connection; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; ...
/* * Copyright 2013 LinkedIn, 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 cslab.ntua.gr.algorithms; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Stack; import gurobi.*; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons....
/* * Copyright 2000-2019 <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 ...
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003,2004 University of Maryland * * 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, o...
package org.firstinspires.ftc.teamcode.Hardware; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.ColorSensor; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.Range; import static java.lang.Thread.sleep; /** * Created by aagrockst...
package org.cryptimeleon.predenc.kem; import org.cryptimeleon.craco.common.attributes.Attribute; import org.cryptimeleon.craco.common.attributes.SetOfAttributes; import org.cryptimeleon.craco.common.attributes.StringAttribute; import org.cryptimeleon.craco.common.policies.Policy; import org.cryptimeleon.craco.common.p...
// generates and handles the colorpicker in the SettingsPanel import javax.swing.JLayeredPane; import javax.swing.JPanel; import javax.swing.JSlider; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.BorderFactory; import javax.swing.e...
/* * 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 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package src; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.ObjectInputStream...