text
stringlengths
3.52k
24k
/* * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package org.myrobotlab.framework; import java.io.BufferedReader; import java.io.File; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Serializable; import java.net.URL; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.Map; im...
package openmarker.tea.templates; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; public class MathTest extends AbstractTemplateTest { @Before public void setup() { addContext("MathApplication", new MathContext()); } @Test public void testMat...
/* * Copyright 2010 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 agreed to i...
package com.crabsofts.sharenotes.Activities; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import android.os.Bundle; impo...
/* snuck - html report generator -------------------------------- Author: <NAME> <<EMAIL>> Copyright 2012 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
/* * 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 ...
/* * DudeModel.java * * You SHOULD NOT need to modify this file. However, you may learn valuable lessons * for the rest of the lab by looking at it. * * Author: <NAME> * Based on original PhysicsDemo Lab by <NAME>, 2007 * LibGDX version, 2/6/2015 */ package edu.cornell.gdiac.physics.platform; import com.badl...
package ericconnect.sitehr; import android.content.Intent; import android.content.SharedPreferences; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import...
import java.util.Arrays; import java.util.Set; import com.jogamp.opengl.GL2; public class OpenGLTimeDomainSlice { public int sliceMinX; public int sliceMaxX; public float sliceMinY; public float sliceMaxY; public SamplesGL[] glDataset; int[] fbHandle; int[] texHandle; public OpenGLTimeDomainSlice(GL2...
package com.datastax.driver.mapping; import static com.datastax.driver.core.querybuilder.QueryBuilder.bindMarker; import static com.datastax.driver.core.querybuilder.QueryBuilder.insertInto; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.L...
/** * Copyright 2014-2020 [fisco-dev] * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicable law or ag...
/** Copyright (c) 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 ...
package org.apache.lucene.codecs.lucene3x; /* * 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 Licen...
/** * Copyright 2020 Webank. * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicable law or agreed to i...
package org.evenden.proj; import java.util.Properties; /** * PROJ.4 - Cartographic Projections Library * * This web page relates to the PROJ.4 Cartographic Projections library * originally written by <NAME> then of the USGS. * * The primary version of this web page can be found at * http://www.remotes...
/** * Author: <NAME> (<EMAIL> <mailto:<EMAIL>>) * Date: 10/12/2015 * Copyright (c) 2015,2013,2012 University of Luxembourg -- Faculty of Science, * Technology and Communication FSTC * All rights reserved. * Licensed under GNU Affero General Public License 3.0; * This program is free software: you can re...
package com.epicodus.mememaker.ui; import android.content.Context; import android.content.ContextWrapper; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import and...
/** The MIT License (MIT) * Copyright (c) 2015 铭飞科技 * 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, m...
/* * Created on 28-Oct-2004 */ package org.apache.lucene.search.highlight; /* * 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 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright (C) 2015 RoboVM AB * * 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) any later version. * * This program is distribu...
package org.apache.jsp.advanced; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.eclipse.help.internal.webapp.data.*; public final class views_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { privat...
package com.github.chen0040.ml.knn.anomaly; import com.github.chen0040.ml.commons.BatchUpdateResult; import com.github.chen0040.ml.commons.IntelliContext; import com.github.chen0040.ml.commons.IntelliTuple; import com.github.chen0040.ml.commons.MLModule; import com.github.chen0040.ml.commons.anomaly.AbstractAnomalyDet...
package ru.shemplo.megaplan.xlsx; import static ru.shemplo.megaplan.network.APIConnection_dep.sendRequest; import static ru.shemplo.megaplan.updater.ConsoleAdapter.getFormattedAnswer; import static ru.shemplo.megaplan.updater.ConsoleAdapter.getVariantedAnswer; import java.io.File; import java.io.FileOutputStre...
package com.tdsata.ourapp.activity; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.text.SpannableString; import android.text.Spanned; import android.text.style.ForegroundColorSpan; import and...
/* Jackson JSON-processor. * * Copyright (c) 2007- <NAME>, <EMAIL> * Modifications Copyright (c) 2019 <NAME> */ package at.o2xfs.memory.databind.type; import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import ...
package ru.barsk.moc; import android.app.Activity; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.os.Bundle; import android.widget.*; import android.view.View.OnClickListener; import java.util.ArrayList; import android.view.inputmethod.InputMethodManager; im...
/* * 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) 2008-2011 EMC Corporation * All Rights Reserved */ package com.emc.storageos.db.client.model; import static com.emc.storageos.db.client.util.NullColumnValueGetter.isNullURI; import java.net.URI; import java.util.Collection; import java.util.List; import java.util.Map; import com.emc.storageos....
/* * 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 2018 org.LTR4L * * 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 com.yedam.web.board.view; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.PrintWriter; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; import javax.s...
/* * The University of Montana owns copyright of the designated documentation contained * within this file as part of the software product designated by Uniform Resource Identifier * UM-OpenSIMPPLLE-1.0. By copying this file the user accepts the University of Montana * Open Source License Contract pertaining to...
package tlc2; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.file.InvalidPathException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.Date; import jav...
/** * Copyright (c) 2008-2014 Ardor Labs, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <http://www.ardor3d.com/LICENSE>. */ package com.ardor3d.example.c...
package com.github.techisfun.android.utils.location; import com.google.android.gms.maps.model.LatLng; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.protocol.Bas...
/* * Copyright (C) 2018 Information Management Services, Inc. */ package com.imsweb.naaccrxml.sas; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharse...
/* * The MIT License (MIT) * <p> * Copyright (c) 2016-2017 * <p> * 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,...
package io.lindstrom.mpd.data; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import io.lindstrom.mpd.data.descriptor.Descriptor; import io.lindstrom.mpd.support.Utils; import java.time.Duration; import java.util.List; import java....
/* The MIT License (MIT) 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, publis...
package org.i3xx.util.ctree.impl; import static org.junit.Assert.*; import java.io.IOException; import org.i3xx.util.ctree.ConfNode; import org.i3xx.util.ctree.IConfNode; import org.i3xx.util.ctree.TreeBuilder; import org.i3xx.util.ctree.core.ResolverException; import org.i3xx.util.ctree.linker.Linker; im...
package com.classicharmony.speechzilla; import android.app.AlertDialog; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActiv...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
/* * 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 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Hashtable; /* * Compile: javac Board.java javac Locker.jav...
/* * Copyright (C) 2013 Intel Corporation * All rights reserved. */ package com.intel.mtwilson.util.io; import com.intel.mtwilson.util.codec.HexUtil; import java.io.Serializable; import java.math.BigInteger; import java.util.Arrays; //import org.codehaus.jackson.annotate.JsonCreator; //import org.codehau...
/* * Copyright 2008 <NAME> (Mentoring Systems 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 applicabl...
package org.visallo.web.routes.workspace; import com.google.common.base.Joiner; import com.google.inject.Inject; import com.v5analytics.webster.HandlerChain; import org.json.JSONArray; import org.vertexium.*; import org.vertexium.util.IterableUtils; import org.visallo.core.config.Configuration; import org.visallo.core...
/* Canto Compiler and Runtime Engine * * CantoServlet.java * * Copyright (c) 2018 by cantolang.org * All rights reserved. */ package canto.runtime; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; /** * Servlet for Canto * * @author <NAME> */ public class CantoSe...
package com.xiaoyi.ssm.controller.wxapp; import java.util.ArrayList; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import com.xiaoyi.ssm.model.*; import com.xiao...
package controllers; import java.text.DateFormatSymbols; import java.util.ArrayList; import java.util.List; import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import org.tdl.vireo.constant.AppPref; import org.tdl.vireo.model.AbstractOrderedModel; import org.tdl.vireo.model.Colle...
/******************************************************************************* * Copyright (c) 2005, 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...
/* * Copyright (c) 2009-2017, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
package edu.neu.madcourse.team_j_sport; import android.Manifest; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.location.Location; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button...
package stream.flarebot.flarebot.mod.modlog; import net.dv8tion.jda.core.EmbedBuilder; import net.dv8tion.jda.core.entities.User; import org.apache.commons.lang3.text.WordUtils; import stream.flarebot.flarebot.util.ColorUtils; import stream.flarebot.flarebot.util.general.FormatUtils; import stream.flarebot.flarebot.ut...
/* * This software is licensed under the Apache 2 license, quoted below. * * Copyright (c) 1999-2021, Algorithmx 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.a...
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INSTIT...
/* * (C) Copyright 2014 Kurento (http://kurento.org/) */ /* * 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 und...
package org.sunflow.math; /** * Vector versions of the standard noise functions. These are provided to * emulate standard renderman calls.This code was adapted mainly from the * mrclasses package by <NAME> * (http://sourceforge.net/projects/mrclasses/). */ public class PerlinVector { private static f...
/* ### * IP: GHIDRA * * 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 writin...
package com.azuredrop.cuteweather; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import andr...
/* Written by <NAME>, LIAFA, France * * Copyright (c) 2001 <NAME> * * Modified by <NAME>, LSV, France * * Copyright (c) 2007 <NAME> * * Ported by <NAME>, FaMAF, Argentina ...
package activity; import adapter.DownloadListAdapter; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.view.View; import android.widget.EditText; import an...
package agent.fuzzy; import agent.Action; import agent.State; import env.CueNames; import proc.grid.GridWorld; import reward.Reward; import Jama.Matrix; import action.ActionSelection; import agent.AgentInternalConstants; import agent.fuzzy.set.AFuzzySet; import agent.fuzzy.set.ATrapezoidFuzzySet; import ag...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this f...
package co.nyzo.verifier; import co.nyzo.verifier.util.LogUtil; import co.nyzo.verifier.util.PrintUtil; import java.nio.ByteBuffer; import java.util.*; public class CycleDigest implements MessageObject { // This class is a drop-in replacement for the cycle-information class with one important distinction: the c...
/* * SeekBarPreference for Android * * Copyright (C) 2016 - to infinity and beyond <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 * * http://www.apach...
package advantra.feature; import ij.IJ; import ij.ImagePlus; import ij.WindowManager; import ij.gui.GenericDialog; import ij.plugin.PlugIn; import ij.process.ImageProcessor; public class PC_Extract_ implements PlugIn { /* * THIS PLUGIN WILL EXTRACT THE PHASE CONGRUENCY VALUES * * ORIGINAL PAPER * DOI: 10....
package com.ruanyun.chezhiyi.view.ui.mine; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.text.TextUtils; import android.v...
package uk.gov.justice.hmpps.prison.executablespecification; import io.cucumber.datatable.DataTable; import io.cucumber.java.en.And; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import uk.go...
/* * Copyright (C) 2011 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 applicab...
package controllers; import annotation.*; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import models.*; import org.joda.time.DateTime; import play.Logger; import play.data.DynamicForm; import play.libs.Json; import play.mvc.*; import play.twirl.api.Html; impo...
package ca.cgjennings.apps.librivox; import static ca.cgjennings.apps.librivox.Checker.string; import ca.cgjennings.apps.librivox.LibriVoxAudioFile.Status; import java.awt.Color; import java.awt.Component; import java.awt.EventQueue; import java.awt.Font; import java.awt.GradientPaint; import java.awt.Graphics; import...
package io.github.spencerpark.jupyter.kernel.util; import com.google.common.jimfs.Configuration; import com.google.common.jimfs.Jimfs; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.nio.file.FileAlreadyExists...
package com.example.krish.medical_app.UI; /** * Created by KRISH on 08-07-2017. */ import android.content.ActivityNotFoundException; import android.content.BroadcastReceiver; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; import a...
package algs.chapter7.table1; import java.util.ArrayList; import java.util.Iterator; import algs.model.list.DoubleLinkedList; import algs.model.problems.eightpuzzle.EightPuzzleNode; import algs.model.problems.eightpuzzle.GoodEvaluator; import algs.model.searchtree.DepthTransition; import algs.model.searchtree.IMove; ...
package ca.bc.gov.hlth.hl7v2plugin.assertions; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.apache.xmlbeans.XmlObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.eviware.soapui.config.TestAssertionConfig; imp...
/* * Copyright 2013 NGDATA nv * * 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...
/* * Copyright (c) 2011, <EMAIL> * * Licensed under FreeBSD license. See README for details. */ package org.nekocode.nowplaying.components.swing; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java...
package com.revolsys.record.io.format.xbase; import java.io.IOException; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.channels.ReadableByteChannel; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.time.LocalDate; import java.u...
package api; //import com.google.gson.*; // //import java.awt.*; //import java.io.*; //import java.util.*; import gameClient.util.Point3D; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.awt.*; import java.io.FileWriter; import java.io.IOException; import java.nio.fil...
/** * Copyright 2016 SPeCS. * * 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,...
package com.cmcm.greendamexplorer.adapter; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.os.Handler; import android.os.Message; import and...
/** * Copyright (c) 2015, biezhi 王爵 (<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 applicab...
package net.minecraft.network.chat; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.mojang.brigadier.exceptions.CommandSyntaxException; import java.util.List; import java.util.Map; import java.util....
/* Copyright (c) 2003-2008, <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 following ...
/* * Copyright (c) 2015-2018 TraceTronic GmbH * 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 * li...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package de.velcommuta.denul.ui; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import an...
package io.onedev.commons.jsyntax.python; import java.util.Set; import java.util.Stack; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import com.google.common.collect.Sets; import io.onedev.commons.jsyntax.AbstractTokenizer; import io.onedev.commons.jsyntax.StringStream; public abstr...
package com.enderio.machines.common.blockentity.base; import com.enderio.api.capability.ICapacitorData; import com.enderio.api.capacitor.CapacitorKey; import com.enderio.api.energy.EnergyIOMode; import com.enderio.base.common.blockentity.sync.IntegerDataSlot; import com.enderio.base.common.blockentity.sync.SyncMode; i...
package ca.ipredict.predictor.CPT.CPTPlus; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Queue; import java.util.stream.Collectors; import ca.ipredict.database.Item;...
package me.coley.recaf; import me.coley.recaf.graph.*; import me.coley.recaf.util.struct.Pair; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.*; import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.*; /** * Tests for basic graph logic. * ...
// // ConfigurationDocument.java // xal // // Created by <NAME> on 8/28/2009. // Copyright 2009 Oak Ridge National Lab. All rights reserved. // package xal.app.pvlogger; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.util.*; import java.sql.*; import xal.extension.applicat...
/******************************************************************************* * Copyright (c) 2009 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 samsgui.dbgui; import samsgui.SamsGui; import samscore.ISamsDb; import samscore.ISamsDb.*; import samscore.ISamsDb.IMetadataDef.IAttributeDef; import javax.swing.*; import javax.swing.table.*; import javax.swing.event.*; import java.awt.event.*; import java.awt.Dimension; import java.awt.FlowLayout; import ja...
/* ###################################################################################### ## ## ## (c) 2006-2012 Cable Television Laboratories, Inc. All rights reserved. Any use ## ## of this documentation/package is subject to the terms...
package tm.nsfantom.piechart.ui; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Point; import android.graphics.Rect; import android.graphics.RectF; import android.support.annotation.NonN...