text
stringlengths
3.52k
24k
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. package org.rocksdb; p...
/** * The MIT License * * Copyright (c) 2018, <NAME> (<EMAIL>) * * 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 * t...
/* Utilities used to manipulate classes Copyright (c) 2003-2014 The Regents of the University of California. All rights reserved. Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, p...
/** * Copyright 2016-2021 The Reaktivity Project * * The Reaktivity Project 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...
package edu.umro.util; /* * Copyright 2012 Regents of the University of Michigan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
/* * Copyright 2013 The GDG Frisbee 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 applicable...
package BtreeSuggestron; import javafx.application.Application; import javafx.concurrent.Task; import javafx.fxml.FXMLLoader; import javafx.geometry.Pos; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.Scene.*; import javafx.scene.control.Button; import javafx.scene.control.Hyperlink; impor...
import java.io.*; import java.util.*; public class PNG2XML { private static File[] images; private static String dir; private static StringBuilder icon; private static StringBuilder drawable; private static StringBuilder appfilter; private static StringBuilder iconlist; private static Strin...
/* * 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 NapakalakiGame; import java.util.*; import GUI.Dice; /** * * @author danibolanos & jomabose */ public class Player { st...
package com.engine.biomine.docparsing.literature; import com.engine.biomine.common.doc.*; import com.engine.biomine.common.IOUtil; import com.google.common.collect.Lists; import java.io.BufferedInputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; import org.w3c.dom.Node; i...
/* * 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 2010 - 2019 <NAME>. 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...
package org.telegram.ui.Components; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics...
package edu.tsinghua.paratrooper.ui; import java.awt.*; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.io.IOException; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; import javax.swing.*; import com.google.gson.Gson; import com.google.gson.JsonObject; ...
package net; import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper; import java.awt.Color; import java.util.Iterator; import java.util.List; import java.util.function.Predicate; import net.Fc; import net.H3; import net.UW; import net.XD; import net.Xt; import net.a6_; import net.aBk; import net.aEo; im...
package io.recode.decompile.impl; import io.recode.RuntimeTypeResolver; import io.recode.classfile.ByteCode; import io.recode.classfile.LineNumberTable; import io.recode.classfile.Method; import io.recode.decompile.*; import io.recode.model.*; import io.recode.model.impl.DefaultModelFactory; import io.recode.util.*; ...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.Servo; import org.firstinspires.ftc.robotcore.external.navigation.AxesReference; import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder; import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit; import org.firstins...
package wildfire.wildfire.grabby.grabber; import java.awt.Color; import java.awt.Point; import java.util.Arrays; import rlbot.cppinterop.RLBotDll; import rlbot.gamestate.BallState; import rlbot.gamestate.CarState; import rlbot.gamestate.GameState; import rlbot.gamestate.PhysicsState; import rlbot.manager.BotLoopRende...
/************************************************************************** * Developed by Language Technologies Institute, Carnegie Mellon University * Written by <NAME> (rcwang#cs,cmu,edu) **************************************************************************/ package com.rcwang.seal.eval; import java.i...
package com.motondon.imagedownloader_intentservice; import android.app.Activity; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Bitmap; import android.graphics.drawa...
package org.drools.reteoo; /* * Copyright 2005 JBoss 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 re...
import org.apache.spark.sql.Dataset; import org.apache.spark.sql.RelationalGroupedDataset; import org.apache.spark.sql.Row; import org.apache.spark.sql.SparkSession; import java.text.MessageFormat; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import static org.ap...
package mit.cadlab.dome3.integrationwizards.patternmatching.integration; import mit.cadlab.dome3.integrationwizards.templatecreation.ProjectTemplateManagement.ProjectTemplate; import mit.cadlab.dome3.integrationwizards.templatecreation.ProjectTemplateManagement.MappedModels; import mit.cadlab.dome3.integrationwiza...
package kemet.ai; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import org.apache.commons.lang3.tuple.MutablePair; import org.apache.commons.lang3.tuple.Pair; import org.deeplearning4j.nn.graph.ComputationGra...
package com.jstarcraft.core.storage.berkeley.migration; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.jstarcraft.core.utility.ClassUtility; import com.sleepycat.persist.model.EntityModel; import com.sleepycat.persist...
package week.of.awesome.game; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.math.Interpolation; import com.badlogic.gdx.math.Matrix4; import com.badlogic.gd...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
package es.ucm.fdi.model.SimObj; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import es.ucm.fdi.ini.IniSection; import es.ucm.fdi.model.simulation.SimulationException; /** * Clase que representa una intersección inteligente, que modifica * la duración del semáf...
/*- * * Collect and print Web statistics from common log format data * read from the standard input. * * Copyright 2004-2013 <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 *...
package com.atlassian.plugin.connect.modules.beans; import com.atlassian.json.schema.annotation.CommonSchemaAttributes; import com.atlassian.json.schema.annotation.Required; import com.atlassian.json.schema.annotation.StringSchemaAttributes; import com.atlassian.plugin.connect.modules.beans.builder.ConnectAddonBeanBui...
package com.calebtrevino.tallystacker; import com.calebtrevino.tallystacker.controllers.factories.DefaultFactory; import com.calebtrevino.tallystacker.controllers.sources.espn_scrappers.exceptions.ExpectedElementNotFound; import com.calebtrevino.tallystacker.controllers.sources.vegas_scrappers.NFL_Spread; import com.c...
/* ** ** Copyright 2007, 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 appl...
package etf.openpgp.bb170011dku170228d; import org.bouncycastle.bcpg.ArmoredOutputStream; import org.bouncycastle.bcpg.HashAlgorithmTags; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.openpgp.*; import org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor; import org.bouncycastle...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package ibm; // Import Apache Commons ODE stuff import org.apache.commons.math3.ode.FirstOrderDifferentialEquations; public class RelaxationODE implements FirstOrderDifferentialEquations { Model model; public int NStep, NAnchorBreak, NAnchorForm, NStickBreak, NStickForm, NFilBreak; public RelaxationODE(Model mod...
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.Collections; import java.util.TreeSet; import java.util.Vector; public class DuplicateFinder { static Vector<String> duplicates = new Vector<>(); static JProgressBar progressBar; static JProgressBar progressBar2; s...
package perryplaysmc.dynamicgui.item.utils; import perryplaysmc.dynamicgui.item.XMaterial; import perryplaysmc.dynamicgui.utils.Version; import dev.perryplaysmc.dynamicguiplugin.PluginMain; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import java.io.File; import java.io...
package com.song.sojob.xiami; import com.song.sojob.common.HttpUtil; import org.apache.commons.io.FileUtils; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.slf4j.Lo...
package com.astoev.cave.survey.activity.main; import android.location.Location; import android.location.LocationProvider; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentTrans...
package InfrastructureManager.Modules.AdvantEDGE.Output; import InfrastructureManager.ModuleManagement.ImmutablePlatformModule; import InfrastructureManager.ModuleManagement.PlatformOutput; import InfrastructureManager.Modules.AdvantEDGE.AdvantEdgeModuleObject; import InfrastructureManager.Modules.AdvantEDGE.Exception...
package sidh; /************************************************************************************************** * * Implements classes for Montgomery curves and points on the curve over GF(p) and GF(p^2). * There are three classes for points on the curve: over Fp in both projective and affine * coordinates and ...
/* * Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * * 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.o...
/* * The MIT License * * Copyright (c) 2017, CloudBees, Inc. * * 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, c...
/* * Copyright 2014 <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 wri...
package de.uni_stuttgart.visus.etfuse.gui.surface; import java.awt.AlphaComposite; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Composite; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.geom.AffineTransform; import java.awt.geom.El...
/* * <NAME>, MSC * */ package gov.nih.nci.evs.gobp.extract; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.Properties; import java.util.Set; import java.util.Vector;...
package com.cxy.baseboot2.parser.html; import java.io.IOException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import ...
/******************************************************************************* * Copyright 2012-2019 <NAME> and contributors * * 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 sim.util; import java.util.*; import java.util.stream.*; public class QuadTree { int depth = 0; QTNode root; List<Integer> availIds; Map<Integer, QTNode> allNodes; // Shape of field and the maximum number of partitions it can hold public QuadTree(final IntHyperRect shape, final int np) { final int d...
/* * Copyright (C) 2005-2007 <NAME> <<EMAIL>> * * This file is part of jaramiko. * * 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 ...
package com.google.vrtoolkit.cardboard.sensors.internal; public class Matrix3x3d { public double[] m = new double[9]; public Matrix3x3d() { } public Matrix3x3d(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) { this.m[0] = m00; this.m[1] = m01; ...
/* * Copyright (c) 2008-2011 EMC Corporation * All Rights Reserved */ package com.emc.storageos.db.client.model; import java.net.URI; import com.emc.storageos.db.client.util.NullColumnValueGetter; import com.emc.storageos.model.valid.EnumType; /** * Storage port data object, represents a port of storage device...
/* * The MIT License * * Copyright (c) 2016, <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, modi...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot; import com.revrobotics.CANEncoder; import com.revrobotics.CANPIDController; import com.revrobotics.C...
/* * The MIT License * * Copyright 2020 by <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...
/* * 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: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions...
/* * Borderblocks * Copyright (C) 2018 SilentChaos512 * * 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 version 3 * of the License. * * This library is distributed in the hope tha...
package com.mrh0.gbemu.sound; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.SourceDataLine; import javax.sound.sampled.AudioSystem; import com.mrh0.gbemu.Emulator; import com.mrh0.gbemu.Globals; import com.mrh0.gbemu.sound.channels.AbstractSoun...
package seoyuki.yuza; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.PixelFormat; import android.hardware.Camera; import android.os.Build; import android.os.Bundle; import android.os....
/* * Copyright (c) 2020 <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, merge, publish, di...
package com.mythawk.yixing; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import androidx.core.content.FileProvider; import android.Manifest; import android....
package TankGame; import TankGame.GameObject.Movable.Projectile; import TankGame.GameObject.Movable.Tank; import TankGame.GameObject.Unmovable.BreakableWall; import TankGame.GameObject.Unmovable.PowerUp; import TankGame.GameObject.Unmovable.Wall; import java.awt.Color; import java.awt.Dimension; import java.awt.Font;...
/* * @(#)MapFunction.java 1.4 01/30/03 * * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistribution of source code must retain the ...
package AppV1.modele.Personnages; import AppV1.modele.Environnement; import AppV1.modele.Items.Armes.Armes; import AppV1.modele.Items.CleFinale; import AppV1.modele.Items.FragmentCle; import AppV1.modele.Items.Items; import AppV1.modele.Items.PotionVie; import AppV1.modele.Magasin; import AppV1.vue.Utils.Terrain; impo...
import static kiss.API.*; class App { void testHi() { String name = "Alice"; try (Close in = inProvide(name)) { try (Close out = outExpect("Hi, " + name + ".")) { hi(); } } } void hi() { String name = readLine(); println("Hi, "...
package gr.iti.mklab.sm.retrievers.impl; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.log4j.Logger; import com.restfb.Connection; import com.restfb.DefaultFacebookClient; import com.restfb.FacebookClient; import com.restfb.Parameter; import com.restfb.exception.Facebook...
/* * ============LICENSE_START====================================================================== * Copyright (C) 2018 NOKIA Intellectual Property, 2018 Nordix Foundation. All rights reserved. * =============================================================================================== * Licensed under the A...
package warehouses; import java.util.Iterator; import java.lang.Iterable; import java.util.ConcurrentModificationException; import java.util.NoSuchElementException; public class OrbicularRelatedTilt<T> implements Iterable<T> { private class ListingsInstantiation implements Iterator<T> { private boolean earlyUse...
// Copyright (C) 2008 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 t...
package edu.teco.automata.generator.transformer; import java.util.ArrayList; import java.util.Iterator; import org.eclipse.emf.common.util.BasicEList; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.emf.ecore.EAttribute; i...
/** * Copyright (C) 2011 Inqwell Ltd * * You may distribute under the terms of the Artistic License, as specified in * the README file. */ /* * $Archive: /src/com/inqwell/any/ListenTo.java $ * $Author: sanderst $ * $Revision: 1.6 $ * $Date: 2011-04-07 22:18:20 $ */ package com.inqwell.any; import com.inqwel...
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * ...
/* * This Java source file was generated by the Gradle 'init' task. */ package me.suhyuk.junit; import me.suhyuk.junit.tags.FastTest; import org.junit.jupiter.api.*; import org.junit.jupiter.api.condition.*; import org.junit.jupiter.api.extension.ParameterContext; import org.junit.jupiter.params.ParameterizedTest; i...
/* * Copyright 2010 Outerthought bvba * * 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 agre...
/** * 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...
package joshua.decoder.segment_file; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import joshua.corpus.Vocabulary; import joshua.deco...
package theGhastModding.meshingTest.sky.celestials; import java.awt.image.BufferedImage; import java.io.File; import javax.imageio.ImageIO; import org.joml.Vector3f; import theGhastModding.meshingTest.resources.BaseModel; import theGhastModding.meshingTest.resources.Loader; import theGhastModding.meshingTest.resour...
/* * Copyright (C) 2014 The Retro Band - Open source smart band 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...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
package com.heaven7.android.glew.app.render; import android.app.Activity; import android.content.Context; import android.opengl.GLES20; import android.opengl.Matrix; import com.heaven7.android.glew.app.IGLRender; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.nio.ByteBuffer; import jav...
package com.haskforce.codeInsight; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; import com.haskforce.HaskellLanguage; import com.haskforce.codeInsight.HaskellCompletionCacheLoader.Cache; import com.haskforce.codeInsight.HaskellCompletionCacheLoader.LookupElementWrapper; import c...
/* * Copyright 2018-2019 Prebid.org, 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 ...
package sp.senac.entidades; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import java.util.List; import javax.persistence.Column; import javax.persistence.ColumnResult; import javax.persistence.ConstructorResult; import javax.persistence.Entity; import javax.persistence.GeneratedValu...
package login; import java.sql.SQLException; import database.DBConnect; import dialogs.ErrorMessage; import dialogs.SuccessMessage; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Cursor; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scen...
import java.security.Principal; import java.security.cert.Certificate; import javax.net.ssl.SSLPeerUnverifiedException; import javax.net.ssl.SSLSession; import javax.net.ssl.SSLSessionContext; import javax.security.cert.X509Certificate; import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedName; imp...
/* * Copyright (C) 2009 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 net.mcft.copy.betterstorage.container; import invtweaks.api.container.ChestContainer; import net.mcft.copy.betterstorage.client.gui.GuiBetterStorage; import net.mcft.copy.betterstorage.inventory.InventoryTileEntity; import net.mcft.copy.betterstorage.utils.StackUtils; import net.minecraft.entity.player.EntityP...
/* ****************************************************************************** * Copyright 2014 <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/li...
/* * MIT License * * Copyright 2017 Broad Institute * * 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, modi...
package com.hkamran.hoones.server; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.websocket.ClientEndpoint; import javax.websocket.OnClose; import javax.websocket.OnError; import javax.websocket.OnMessage; import javax.websoc...
/* * 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 school_managment_system; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import ...
package achilles.frontend.query.server.sqldb; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; import weibo4j.model.Status;...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/L...
package opennlp.tools.parse_thicket; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import edu.mit.jverbnet....
/* Copyright 2013 <NAME> <EMAIL> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.Iterator; import java.util.Map; import java.util.TreeSet; public class CreatingFilesForStructure { public static void cre...
package com.android.milkapp2.Activity; import android.annotation.TargetApi; import android.app.Activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bu...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.fasterxml.jackson.databind.node; import java.io.*; import java.math.BigDecimal; import java.util.*; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.*; /** * This unit test suite tries to verify that ObjectMapper * can properly parse JSON and bind contents into appropriate * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package main.redanda; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamR...