text
stringlengths
9.3k
48.9k
package wde.ws; import java.io.IOException; import java.sql.Array; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.uti...
package events.lastHero; import l2f.commons.threading.RunnableImpl; import l2f.gameserver.listener.actor.OnDeathListener; import l2f.gameserver.listener.actor.player.OnPlayerExitListener; import l2f.gameserver.listener.actor.player.OnTeleportListener; import l2f.gameserver.listener.zone.OnZoneEnterLeaveListener; impor...
/* * Copyright 2008-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/******************************************************************************* * Copyright (c) 2005, 2015 BEA Systems, Inc. and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, a...
package com.sferadev.qpair.egg; import android.animation.TimeAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Outline; import and...
package org.contentmine.pdf2svg2; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Paint; import java.awt.Stroke; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.IOExce...
/** * 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 and the extra * conditions for OpenLR. (see openlr-license.txt) * <p> * This program is distributed in the hope...
/******************************************************************************* * Copyright 2016 by the Department of Computer Science (University of Genova and University of Oxford) * * This file is part of LogMapC an extension of LogMap matcher for conservativity principle. * * LogMapC is free software:...
/* * 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 main; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollec...
package com.calculator.aa.ui; import com.calculator.aa.Main; import com.calculator.aa.calc.Calc; import com.calculator.aa.calc.DoublePoint; import com.calculator.aa.calc.Portfolio; import javax.swing.*; import javax.swing.event.PopupMenuEvent; import javax.swing.event.PopupMenuListener; import java.awt.*; import java...
/* Class305 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ final class Class305 { private int anInt4095 = 0; Class236_Sub8 aClass236_Sub8_4096; static OutgoingPacket aClass370_4097; static int anInt4098; private Class163_Sub3 aClass163_Sub3_4099; static int anInt4100; private Class299 aClass299_...
package com.auto.iwat; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.CopyOption; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file...
/* The MIT License (MIT) Copyright (c) 2018, <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, publi...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.features.start_surface; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.a...
// // GitFlowEpicUpdateMojo.java // // Copyright (C) 2018 // GEBIT Solutions GmbH, // Berlin, Duesseldorf, Stuttgart (Germany) // All rights reserved. // package de.gebit.build.maven.plugin.gitflow; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Objects; import org....
package org.brunel.build.element; import org.brunel.build.InteractionDetails; import org.brunel.build.LabelBuilder; import org.brunel.build.ScaleBuilder; import org.brunel.build.ScalePurpose; import org.brunel.build.info.ChartCoordinates; import org.brunel.build.info.ChartStructure; import org.brunel.build.info.Elemen...
package org.cryptocoinpartners.util; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import j...
package tf.gpx.edit.algorithms; import java.util.logging.Level; import java.util.logging.Logger; import me.himanshusoni.gpxparser.modal.Waypoint; import org.apache.commons.math3.util.FastMath; import tf.gpx.edit.items.GPXWaypoint; /** * Basic functions to calculate distances, angles, bearings, areas on a globe Dist...
package com.xpl.mobilemedia1.activity; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.media.AudioMan...
package com.uteamtec.heartcool.views; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.os.IBinder; i...
package com.itextpdf.text.pdf.codec.wmf; import com.itextpdf.text.BaseColor; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Image; import com.itextpdf.text.error_messages.MessageLocalization; import com.itextpdf.text.pdf.BaseField; import com.itextpdf.text.pdf.BaseFont; import com.itextpdf.text.p...
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.ir.optimize.staticizer; import com.android.tools.r8.graph.AppView; import co...
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
package com.ctrip.hermes.metaserver.fulltest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputS...
/* * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved. */ package ordt.extract.model; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.regex.Match...
package genepi.mitolib.bam; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.net.MalformedURLException; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Collections; import java...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.articulate.sigma.nlg; import com.articulate.sigma.*; import com.articulate.sigma.utils.StringUtil; import edu.stanford.nlp.ling.CoreLabel; import java.io.*; import java.util.*; /** * Utilities and variables used by LanguageFormatter and other NLG classes. */ public class NLGUtils implements Serializabl...
/* * Copyright (c) 2020. Red Hat, Inc. and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, so...
/* The MIT License (MIT) Copyright (c) 2013 marceldurchholz - <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 to use, copy, mo...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This program 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 la...
/* * Copyright (C) 2016 The Edgar * * 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 gremlin.characters; import basemod.abstracts.CustomPlayer; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.math.MathUtils; import com.esotericsoftware.spine.AnimationState; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.mega...
/* According to apache license This is fork of christocracy cordova-plugin-background-geolocation plugin https://github.com/christocracy/cordova-plugin-background-geolocation Differences to original version: 1. location is not persisted to db anymore, but broadcasted using intents instead */ package com.tenforwardc...
package com.inmobi.ads; import android.content.ContentValues; import com.inmobi.ads.InMobiAdRequest.MonetizationContext; import com.inmobi.commons.core.p221d.C10656b; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import p005cm.aptoide.p006pt.BuildConfig; /* renamed from: com...
/******************************************************************************* * 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 ...
import java.text.DecimalFormat; import java.util.Scanner; import java.util.Random; import java.io.*; import java.util.*; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOExce...
/* 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 use ...
package com.dv.superracyfutbol3000; import jig.Collision; import jig.Shape; import jig.Vector; import org.newdawn.slick.geom.Ellipse; import org.newdawn.slick.geom.Rectangle; import java.util.ArrayList; import static com.dv.superracyfutbol3000.SuperRacyFutbol3000.isWallDebug; public abstract class CollidesHelper {...
/* * Copyright (c) 2021. MachineMuse, Lehjr * 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 * lis...
/** * 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 uk.co.jakelee.blacksmithslots.helper; import android.content.Intent; import android.graphics.PorterDuff; import android.os.Handler; import android.support.v4.content.ContextCompat; import android.util.DisplayMetrics; import android.util.Log; import android.util.Pair; import android.view.LayoutInflater; import ...
/* ****************************************************************************** * The MIT License * Copyright (c) 2012 <NAME> * lib-scripty * * 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 S...
/* * Copyright © 2019 The GWT Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License. * * Terms of the BSD 3-Clause License: * -------------------------------------------------------------------- * 1. Redistributions of source code must retain the above copyright notice, ...
package android.support.v4.app; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.Build.VERSION; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Parcelable; import android.support.v4.app.ActivityC...
package com.isfootball.branching; /** * Created by <NAME> on 11.02.2015. */ import com.isfootball.model.BetKey; import com.isfootball.model.EventKey; import com.isfootball.parser.BetType; import com.isfootball.parser.Teams; import java.util.*; public class Scheme7 extends BaseSchemeUniformOnly { //full s...
package play.mvc; import jregex.Matcher; import jregex.Pattern; import jregex.REFlags; import org.apache.commons.lang.StringUtils; import play.Logger; import play.Play; import play.Play.Mode; import play.exceptions.NoRouteFoundException; import play.mvc.results.NotFound; import play.mvc.results.RenderStatic; import pl...
package org.jcvi.ometa.utils; import au.com.bytecode.opencsv.CSVReader; import org.apache.commons.io.IOUtils; import org.apache.poi.hssf.usermodel.DVConstraint; import org.apache.poi.hssf.usermodel.HSSFDataValidation; import org.apache.poi.hssf.usermodel.HSSFDateUtil; import org.apache.poi.hssf.usermodel.HSSFWorkbook;...
/*-----------------------------------------------------------------------+ | org.conqat.engine.index.incubator | | $Id: AbapDefUseHeuristic.java 51545 2015-01-19 09:35:28Z streitel $ | ...
package algorithmsAndDataStructures; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Field; import java.time.Duration; import java.time.LocalTime; import java.time.format.DateTimeFormatter; import java.util.ArrayDeque; import java.util...
package com.ojcoleman.ahni.experiments.objectrecognition; import java.awt.*; import java.awt.geom.*; import java.awt.image.BufferedImage; import java.awt.image.Raster; import java.awt.RenderingHints; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java...
package gov.usgs.volcanoes.vdx.in; import cern.colt.matrix.DoubleFactory2D; import cern.colt.matrix.DoubleMatrix2D; import gov.usgs.volcanoes.core.configfile.ConfigFile; import gov.usgs.volcanoes.core.data.GenericDataMatrix; import gov.usgs.volcanoes.core.legacy.Arguments; import gov.usgs.volcanoes.core.time....
package com.mj.utils.fragment.cp; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.annotation.RequiresApi; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import an...
package com.orvdroid.gui.activities; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; im...
package com.java110.common.bmo.workflow.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import com.java110.common.bmo.workflow.IQueryWorkFlowFirstStaffBMO; import com.java110....
package ru.ifmo.genetics.tools.rf.task; import org.apache.log4j.Logger; import ru.ifmo.genetics.dna.*; import ru.ifmo.genetics.dna.kmers.ImmutableBigKmer; import ru.ifmo.genetics.dna.kmers.ShallowBigKmer; import ru.ifmo.genetics.io.Sink; import ru.ifmo.genetics.io.formats.Illumina; import ru.ifmo.genetics.stat...
/** * Copyright (C) 2014 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 required by applicable law or agree...
package org.opencyc.util; import java.util.*; import java.io.StringWriter; import java.io.BufferedWriter; import java.io.PrintWriter; import java.util.regex.*; import java.security.InvalidParameterException; /** * Provides <tt>String</tt> utilities not otherwise provided by Violin Strings. All methods * are static...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
/****************************************************************************** * Spine Runtimes Software License * Version 2.3 * <p> * Copyright (c) 2013-2015, Esoteric Software * All rights reserved. * <p> * You are granted a perpetual, non-exclusive, non-sublicensable and * non-transferable license to use, i...
/* * 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 model; import controller.ServerViewController; import java.util.ArrayList; import java.util.Random; import model.Utils.CardTy...
package org.webswing.toolkit.util; import org.webswing.Constants; import org.webswing.dispatch.WebPaintDispatcher; import org.webswing.model.c2s.KeyboardEventMsgIn; import org.webswing.model.c2s.KeyboardEventMsgIn.KeyEventType; import org.webswing.model.c2s.MouseEventMsgIn; import org.webswing.model.s2c.AppFrameMsgOut...
/* Copyright 2015 Intel 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 or agreed to in writing, so...
import javax.crypto.*; import javax.crypto.spec.SecretKeySpec; import java.io.*; import java.math.BigInteger; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.security.*; import java.security.interfaces.RSAPrivateKey; import java.util.ArrayList; import java.util.Da...
/* * Copyright (C) 2010 <NAME> http://javaflacencoder.sourceforge.net/ * All Rights Reserved. * * 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...
/* * Copyright 2018-present Facebook, 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...
package com.dtolabs.rundeck.plugin.overthere; import com.dtolabs.rundeck.core.common.Framework; import com.dtolabs.rundeck.core.common.INodeEntry; import com.dtolabs.rundeck.core.dispatcher.DataContextUtils; import com.dtolabs.rundeck.core.execution.ExecutionContext; import com.dtolabs.rundeck.core.plugins.configurati...
/* * @(#)RubiksCuboctahedronGeom3D.java * CubeTwister. Copyright © 2020 <NAME>, Switzerland. MIT License. */ package ch.randelshofer.rubik.cube3d; import ch.randelshofer.geom3d.Shape3D; import ch.randelshofer.rubik.CubeAttributes; import ch.randelshofer.rubik.CubeKind; import ch.randelshofer.rubik.DefaultCubeAttrib...
/** * Copyright (c) 2017 Dell Inc., or its subsidiaries. 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 */ pac...
package org.openplacereviews.opendb.api; import static org.openplacereviews.opendb.ops.OpObject.F_CHANGE; import static org.openplacereviews.opendb.ops.OpObject.F_CURRENT; import static org.openplacereviews.opendb.ops.OpObject.F_ID; import java.io.IOException; import java.io.InputStreamReader; import java.net.Malform...
/* * Copyright (C) 2018 <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 a...
package com.syakeapps.tsn.endpoint.application; import java.io.IOException; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.time.Instant; import java.time.ZoneId; import java.time.format.DateTim...
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/8.0.38 * Generated at: 2017-03-16 17:58:05 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
/**************************************************************** * 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...
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package org.postgresql.core.v3; import org.postgresql.PGProperty; import org.postgresql.core.ConnectionFactory; import org.postgresql.core.PGSt...
/* * Copyright 2015 Red Hat, Inc. and/or 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...
/* * Copyright 2006 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 2013 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 i...
package brooklyn.networking.vclouddirector.nat; import static com.google.common.base.Preconditions.checkNotNull; import java.net.InetAddress; import java.net.URI; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.Tim...
/* * 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 n...
package com.easyfitness; import android.app.Activity; import android.os.Bundle; import android.text.format.DateUtils; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.AdapterView; im...
package bz.rxla.audioplayer; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; i...
/* * This file is part of Mixin, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
/* * 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...
/* * 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...
/* * 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 (c) 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
package scratch.UCERF3.inversion; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.Thread.UncaughtExceptionHandler; import java.util.ArrayList; import...
package com.earnix.eo.gui.correlation; import javax.swing.BorderFactory; import javax.swing.JPanel; import javax.swing.JToolTip; import javax.swing.ToolTipManager; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics...
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, an...
package org.ovirt.engine.ui.uicommonweb.models.storage; import static org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.messages; import java.util.logging.Logger; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.ActionType; import org.ovirt.engine.core.co...
package com.techhuntdevelopers.audio_trimmer; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.util.HashMap; /** * CheapAAC is a CheapSoundFile implementation for AAC (Advanced Audio * Codec) encoded sound files. It supports files with an...
import java.util.*; import java.util.concurrent.ThreadLocalRandom; import java.util.stream.IntStream; import org.junit.Test; import static org.junit.Assert.*; // LC004: https://leetcode.com/problems/median-of-two-sorted-arrays/ // Find the median of the two sorted arrays. The overall run time complexity // should b...
package org.lcsim.recon.cat; import java.util.ArrayList; import java.util.List; import org.lcsim.event.CalorimeterHit; import org.lcsim.event.Cluster; import org.lcsim.event.EventHeader; import org.lcsim.geometry.IDDecoder; import org.lcsim.recon.cat.util.Const; import org.lcsim.util.Driver; import org.lcsim.util.aid...
/* * Copyright (C) 2009 Jayway AB * Copyright (C) 2007-2008 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
import java.util.List; import java.util.Arrays; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Random; import java.util.Stack; import java.util.Collections; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; public cla...
package io.rong.imkit.feature.location; import android.Manifest; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.conte...
package com.gymnast.view.hotinfoactivity.activity; import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; ...