text stringlengths 3.08k 15.2k |
|---|
package client;
import globalDefinition.RespondTimeDefinition;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.concurrent.CountDownLatch;
import utils.IOUtils... |
package spreadsheet.export;
import java.awt.Color;
import java.awt.Component;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.JFil... |
package personal.huangzq.lettcode.practice;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @ClassName Majiang
* @Description TODO
* @Author huangzq
* @Mailbox <EMAIL>
* @Date 2020/4/11 11:31
* @Version 1.0
*/
public class Majiang {
static final int MAN = 0;
static fin... |
package com.kinancity.mail;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
import java.util.regex.Pattern;
import com.kinancity.mail.mailchanger.*;
im... |
package com.meg7.soas.ui;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.view.MenuItem;
import android.view... |
package com.shamlatech.activity.parent;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.sup... |
/*
* Copyright © 2016-2017 spypunk <<EMAIL>>
*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
package spypunk.snake.ui.view;
import static spyp... |
/*
* Swift Parallel Scripting Language (http://swift-lang.org)
* Code from Java CoG Kit Project (see notice below) with modifications.
*
* Copyright 2005-2014 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
package com.bestchoice.bo;
import java.util.*;
import java.util.Map.Entry;
import com.bestchoice.model.MckpReturn;
import com.bestchoice.model.PriceReview;
import com.bestchoice.model.Products;
import com.bestchoice.optimization.MckpAtmostOne;
import com.bestchoice.optimization.MckpExactlyOne;
import com.best... |
package l3q;
import java.util.ArrayList;
import java.util.List;
import l3q.Data.EgoVehicle;
import l3q.Data.Positioning;
import l3q.Data.Objects;
class Indicators
{
static int calculateTORs(EgoVehicle egoVehicleData)
{
int answer = 0;
byte prev = -1;
if (egoVehicleData.TOR == null) return 0;
for (byte b... |
/*
* Purview Catalog Service REST API Document
* Purview Catalog Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. This swagger defin... |
package ar.edu.unc.famaf.redditreader.backend;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import java.io.ByteArrayOutputStream;
import java.net.MalformedURLException;
impor... |
package com.redfirelab.android.wpmobileapp;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.app.NavUtils;
import android.support.v4.app.ShareCompat;
import an... |
package com.eaway.appcrawler.common;
import android.support.test.InstrumentationRegistry;
import android.support.test.uiautomator.Configurator;
import android.support.test.uiautomator.UiDevice;
import android.support.test.uiautomator.UiObject;
import android.support.test.uiautomator.UiObjectNotFoundException;
... |
package com.tcl.utils;
import com.tcl.entity.*;
import org.eclipse.jdt.core.dom.*;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
public class JdtUtils {
@Nonnull
public static SimpleMethodSignature bindingToSimpleMethod(@Nonnull IMethodBinding binding) {
Objec... |
package androidx.paging;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.DiffUtil;
import androidx.recyclerview.widget.DiffUtil.Callback;
import androidx.recyclerview.widget.DiffUtil.DiffResult;
import androidx.recyclerview.widget.DiffUtil.ItemCallbac... |
package dkstatus.world;
import dkstatus.Utils;
import org.joda.time.DateTime;
/**
*
* @author Johny
*/
public class MarchingArmy implements IValidable, Comparable<MarchingArmy> {
private boolean valid;
private boolean activeAnnounce;
private final int commandId;
private final CommandType... |
/**
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
* =======================================================... |
package net.theelder.plugins.Spleef.handlers;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import me.excelsiorvfx.ExcelsiorBase.config.Config;
import net.theelder.plugins.Spleef.Arena;
import net.theelder.plugins.Spleef.Main;
import org.bukkit.Bukkit;
... |
package adapter;
import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import com.hustunique.myapplication.R;
imp... |
package seamshop.action;
import static com.opensymphony.xwork2.Action.INPUT;
import static seamshop.action.CartAction.RESULT_REDIRECT_ITEMS;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.anno... |
/********************************************************************************
* Copyright (c) 2021 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0, o... |
package at.petrak.hexcasting.common.recipe.ingredient;
import at.petrak.hexcasting.xplat.IXplatAbstractions;
import com.google.gson.JsonObject;
import net.minecraft.ChatFormatting;
import net.minecraft.core.Registry;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.network.chat.Component;
import net.... |
/*
* Copyright 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package gameMechanics;
import java.util.UUID;
import gameBoard.Board;
import gameMechanics.JsonImport;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import org.json.simple.*;
public class Biotic {
private static HashMap<Biotic,int[]> BIOTICS_INGAME = new HashMap<Biotic,int[]>(... |
// Project: AHA Smart Energy Explorer
// Contributor(s): M.A.Tucker
// Origination: JUL 2015
// Copyright 2015 Adaptive Handy Apps, LLC. All Rights Reserved.
package com.adaptivehandyapps.ahasee.espi;
import android.util.Log;
import android.util.Xml;
import com.adaptivehandyapps.ahasee.FileUtils;
import com.adaptive... |
package com.maven.entity;
import java.util.Date;
public class BettingEibc {
private String transid;
private String playername;
private String transactiontime;
private String matchid;
private String leagueid;
private String leaguename;
private String sporttype;
private String awa... |
/*
* 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 edu.virginia.cs.main;
import edu.virginia.cs.model.GenerateCoverQuery;
import edu.virginia.cs.model.LanguageModel;
import edu.... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
package com.ruoyi.web.controller.busi;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.system.domain.BusiScore;
import com.ruoyi.system.service.IBusiPraiseService;
import com.ruoyi.system.service.IBusiScoreService;
import io.swagger.annotations.Api;
import io.s... |
package org.soya.antlr.util;
import org.soya.ast.expr.DateTimeExpression;
import org.soya.ast.expr.Expression;
import soya.lang.TimeDuration;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
/**
* User: dt_flys
* Date: 13-11-3
*/
public class DateTimeUtil {
public static void pars... |
/*
* $
*
* Copyright (C) 2004, Cladonia Ltd. All rights reserved.
*
* This software is the proprietary information of Cladonia Ltd.
* Use is subject to license terms.
*/
package com.cladonia.xngreditor;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
im... |
/*
#
# Copyright 2013 The Trustees of Indiana University
#
# 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 de.mpg.mpdl.inge.pubman.web.util.handler;
import java.io.File;
import java.io.FileWriter;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Stack;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
public class GenreHandler extends ShortContentHandler {
private FileWriter... |
package tools;
import java.util.ArrayList;
import java.util.List;
/**
* Stores information about the classes, namely accessible fields and functions(vtable)
*/
public class ClassInfo {
String cname; // name of class
String pname; // name of parent class(if present... |
/*
* KIELER - Kiel Integrated Environment for Layout Eclipse RichClient
*
* http://www.informatik.uni-kiel.de/rtsys/kieler/
*
* Copyright 2010 by
* + Christian-Albrechts-University of Kiel
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
*
* This code is provided under the t... |
/*
Copyright (c) Microsoft Open Technologies, Inc.
All Rights Reserved
See License.txt in the project root for license information.
*/
package microsoft.aspnet.signalr.client.transport;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.*;
import com.google.gson.Gson;
import mi... |
/*
* Copyright (c) 2014ff <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the fol... |
/*
* 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 seedu.address.model.customGoal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.Objects;
/**
* Represents a custom goal which is to be displayed on the dashboard.
*/
public class CustomGoal {
private static final String TIME_FORMAT = "... |
package me.shouheng.em.sample;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import android.vi... |
/*
* 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 ma... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package erina.core;
import greenfoot.Actor;
import greenfoot.Color;
import greenfoot.GreenfootImage;
import java.util.List;
/**
* An actor class that can display a scoreboard, using Greenfoot's
* UserInfo class.
* <p>
* You typically use this by including some code into the world for when your game ends:
*
* ... |
package com.englishtown.vertx.cassandra.binarystore.impl;
import com.englishtown.vertx.cassandra.binarystore.*;
import com.google.common.primitives.Ints;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import javax.inject.Inject;
import java.util.Arrays;
import java.util.UUID;
/**
*... |
/**
* 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 com.oreilly.rxjava.ch4;
import org.apache.commons.lang3.tuple.Pair;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.Observable;
import rx.schedulers.Schedulers;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import... |
package lyons.tools;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import lyons.dao.GoodsDao;
import lyons.db.DbClose;
import lyons.db.DbConn;
import lyons.entity.Goods;
import lyons.entity.SalesMan;
/**
* 查询&&打印 函... |
/*
* Copyright 2001-2014 Aspose Pty Ltd. All Rights Reserved.
*
* This file is part of Aspose.Words. The source code in this file
* is only intended as a supplement to the documentation, and is provided
* "as is", without warranty of any kind, either expressed or implied.
*/
package programmingwithdocu... |
package com.pushpal.googleplayclone.adapters;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.LinearLayoutManage... |
package fung.lyricspotter;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.os.StrictMode;
import android.os.SystemClock;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import android.text.meth... |
/*
* Copyright (c) Australian Institute of Marine Science, 2021.
* @author <NAME> <<EMAIL>>
*/
package au.gov.aims.ereefs.bean.ncanimate;
import au.gov.aims.ereefs.database.manager.ncanimate.ConfigPartManager;
import au.gov.aims.json.JSONWrapperObject;
import org.json.JSONObject;
/**
* NcAnimate position bean par... |
package com.example.tt;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.... |
package io.syslogic.sqlite.activity;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.net.http.SslError;
import android.os.Bundle;
import android.util.Log;
import android.webkit.SslErrorHandler;
import android.webkit.WebResourceError;
import android.webkit.WebResourceRequest... |
package me.benjozork.opengui.serialization.loaders.skin;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.HashMap;
import me.benjozork.opengui.OpenGUI;
import me.benjozork.opengui.re... |
package de.biovoxxel.toolbox;
import java.awt.AWTEvent;
import java.awt.Checkbox;
import ij.IJ;
import ij.ImageJ;
import ij.ImagePlus;
import ij.Prefs;
import ij.WindowManager;
import ij.gui.DialogListener;
import ij.gui.GenericDialog;
import ij.plugin.ImageCalculator;
import ij.plugin.filter.ExtendedP... |
package com.cypher.breadmote;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
import android.content.IntentFilter;
import android.os.Handler;
import android.os.Looper;
import java.io.IOException;
import java... |
/*
* Copyright (c) 2014-2018 North Concepts 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 applicab... |
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package eyesimo.processor.segmentators;
import java.util.Vector;
import eyesimo.util.AnalystColors;
public class EdgesFinder implements AnalystColors {
private int width;
private int height;
private i... |
package com.navercorp.pinpoint.web.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.navercorp.pinpoint.common.util.TransactionId;
import com.navercorp.pinpoint.web.calltree.span.CallTreeIterator;
import com.navercorp.pinpoint.web.filter.Filter;
import com.navercorp.pinpoint.web.filter.FilterB... |
package me.jamespan.tech.smartcrop.core;
import com.google.common.collect.Maps;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import me.jamespan.tech.smartcrop.domain.*;
import java.awt.image.BufferedImage;
import java.util.List;
import java.util.Map;
import java.util.Stack;
/**
*
* @author ... |
/*
* Copyright (c) 2015 <NAME>
* This file is part of Project Ethercis
*
* 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 requ... |
package com.musicutility.component;
import com.musicutility.persistence.model.MusicPlayerSetting;
import com.musicutility.persistence.model.MusicPlayerState;
import com.musicutility.persistence.repo.MusicPlayerRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.sound.sampled.*;
import ja... |
package controller.supervisor;
import controller.Main;
import javafx.fxml.FXML;
import javafx.scene.control.*;
import oracle.jdbc.OracleTypes;
import org.springframework.jdbc.core.JdbcTemplate;
import utils.JDBCUtils;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.Date;
imp... |
package com.itgacl.magic4j.libcommon.component.storage.service.impl;
import cn.hutool.core.util.StrUtil;
import com.itgacl.magic4j.libcommon.component.storage.bean.UploadResult;
import com.itgacl.magic4j.libcommon.component.storage.enums.StorageTypeEnum;
import com.itgacl.magic4j.libcommon.util.FileUtil;
import com.it... |
/*
* 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 u... |
/**
* Copyright (c) Microsoft Corporation
* <p>
* All rights reserved.
* <p>
* MIT License
* <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 l... |
package gov.loc.repository.bagger;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTo... |
package com.fbu.instagrom.activities;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.FileProvider;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.gr... |
/*
* This file is part of lettar, licensed under the MIT License (MIT).
*
* Copyright (c) <NAME> <https://techshroom.com>
* 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"), to deal
... |
/*
* Copyright (C) 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.jfilter.components;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jfilter.converter.SerializationConfig;
import com.jfilter.mapper.FilterObjectMapper;
import com.jfilter.mapper.FilterXmlMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.M... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">dobo</a> All rights reserved.
*/
package com.dobo.modules.cst.entity.check;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import com.... |
package org.egzi.algo;
import org.egzi.algo.funcs.Func;
import org.egzi.math.DenseVector;
import org.egzi.model.VectorConfig;
import org.egzi.ui.PlotContainer;
import java.util.Random;
public abstract class IterationMethod {
protected PlotContainer plot;
protected Configuration config;
//Calculated valu... |
package com.fr.here.util;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Environment;
import android.support.design.widget.Snackbar;
import android.view.View;
import android.webkit.Javascri... |
package com.intel.realsense.capture;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.Handler;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.appcompat.app.AppCompatActivi... |
/*
* 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 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 writ... |
package algs.model.tests.interval;
import java.util.ArrayList;
import java.util.Collection;
import junit.framework.TestCase;
import org.junit.Test;
import algs.model.IInterval;
import algs.model.interval.DiscreteInterval;
import algs.model.interval.SegmentTree;
import algs.model.interval.StoredIntervalsNode;
import... |
/*
* Licensed to ElasticSearch and <NAME> under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. ElasticSearch licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not... |
package net.snowflake.client.jdbc;
import static net.snowflake.client.AbstractDriverIT.getConnection;
import static org.junit.Assert.assertEquals;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import net.snowflake.client.ca... |
package com.sedmelluq.discord.lavaplayer.source.youtube;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.tools.JsonBrowser;
import com.sedmelluq.discord.lavaplayer.tools.Units;
import com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools;
import com.sedmellu... |
package org.elasticsearch.index.mapper.geo;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.FieldType;
import org.apache.lucene.index.FieldInfo;
import org.elasticsearch.ElasticSearchIllegalArgumentException;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.geo.GeoJSO... |
package com.jayfella.easing;
public class Easings {
public enum Function {
Back,
Bounce,
Circ,
Cubic,
Elastic,
Expo,
Linear,
Quad,
Quart,
Quint,
Sine;
/**
* Ease IN
* @param t Time: The duration of t... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2013 INRIA, France Telecom
* 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... |
package no.cantara.jau.mjauu;
import no.cantara.cs.client.ConfigServiceAdminClient;
import no.cantara.cs.dto.Client;
import no.cantara.jau.mjauu.util.UnZip;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.Properties;
import static no.cantara.... |
package cytargetlinker.conversion;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.HashMa... |
// Copyright 2014 The Bazel Authors. 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 appl... |
package io.virtdata.processors;
import io.virtdata.annotations.*;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.lang.model.util.Elements;
import javax.lang.model.util.Types;
import javax.tools.Diagnostic;
import java.util.*;
import java.ut... |
package com.duprasville.limiters.util.karytree;
/*
* Models a K-ary tree of H height with a perfect-tree capacity of N nodes, where
* - each node is identified by n = 0..N-1
* - the root of the tree is a single node n = 0
* - nodes have K children c[0..K-1]
* - nodes are numbered breadth-first
* - each... |
package foundation.icon.iconex.token.swap;
import android.content.Context;
import android.content.Intent;
import android.graphics.Paint;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;... |
/**
* 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 com.baidu.ueditor;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import com.ali... |
/*
* Copyright 2014 - learnNcode (<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 ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version
* 2.0 (the "License"); you may not ... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* JCudaVec - Vector operations for JCuda
* http://www.jcuda.org
*
* Copyright (c) 2013-2015 <NAME> - http://www.jcuda.org
*
* 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 Softwar... |
package org.spongycastle.est.jcajce;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.UnrecoverableKeyException;
import java.security.ce... |
/* Copyright 2017 Esri
*
* 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,... |
/*
* Copyright (c) 1997, 2011, 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.