text stringlengths 3.52k 24k |
|---|
/*
* TaskUnifier
* Copyright (c) 2013, <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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*******************************************************************************
* Copyright (c) 2013-2016 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... |
/**
* Copyright 2015 <NAME>
*
* The JLibs authors license this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
/*
* Copyright 2014 AgentTroll
*
* 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... |
/*
* Copyright (C) 2014 <NAME>. All rights reserved.
*
* $Id$
*/
package org.jsimpledb;
import com.google.common.reflect.TypeToken;
import java.util.ArrayList;
import org.jsimpledb.core.CoreIndex;
import org.jsimpledb.core.CoreIndex2;
import org.jsimpledb.core.CoreIndex3;
import org.jsimpledb.core.CoreIndex4;
... |
/*
* Copyright (C) 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* Copyright (c) 2019. Fidelius 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package org.keedio.storm.bolt.filterkey;
import info.ganglia.gmetric4j.gmetric.GMetric;
import org.keedio.storm.bolt.filterkey.metrics.MetricsController;
import org.keedio.storm.bolt.filterkey.metrics.MetricsEvent;
import org.keedio.storm.bolt.filterkey.metrics.SimpleMetric;
import org.keedio.storm.bolt.filterkey.ser... |
/*
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
* Copyright (c) 2017 <NAME>
*
* This software may be modified and distributed under the terms of the MIT licens... |
package com.miscitems.MiscItemsAndBlocks.TileEntity.Machines;
import MiscUtils.TileEntity.TileEntityInvBase;
import MiscUtils.Utils.StackUtils;
import com.miscitems.MiscItemsAndBlocks.Item.Electric.ModItemDataChip;
import com.miscitems.MiscItemsAndBlocks.Main.ModItems;
import cpw.mods.fml.common.FMLCommonHandler;
impo... |
package com.kioea.www.photoutil.photoprocess;
/**
*
* @author:Administrator
* @time:2015-12-28 下午03:23:52
* @version:
*/
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import com.kioea.... |
/*
* 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 app... |
/*
* Copyright 2018, Yahoo Inc.
* Licensed under the terms of the Apache License, Version 2.0.
* See the LICENSE file associated with the project for terms.
*/
package com.yahoo.bullet.dsl.converter;
import com.google.gson.Gson;
import com.google.gson.stream.JsonReader;
import com.yahoo.bullet.common.BulletConf... |
/*
* Copyright (c) 2010, 2018, 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 ... |
/*
* Copyright (C) 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 app... |
package mit.cadlab.dome3.gui.objectmodel.project.run;
import edu.oswego.cs.dl.util.concurrent.misc.SwingWorker;
import mit.cadlab.dome3.gui.fileSystem.DomeFile;
import mit.cadlab.dome3.gui.guiutils.waitcursor.StatusWindow;
import mit.cadlab.dome3.gui.menu.MenuManager;
import mit.cadlab.dome3.gui.mode.ModeContext... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.fs4;
import com.yahoo.compress.IntegerCompressor;
import com.yahoo.io.GrowableByteBuffer;
import com.yahoo.prelude.query.Item;
import com.yahoo.search.Query;
import com.yahoo.search.... |
package com.qx.gulimall.elasticsearch;
import com.alibaba.fastjson.JSON;
import com.google.errorprone.annotations.Var;
import com.qx.gulimall.elasticsearch.config.ElasticSearchConfig;
import lombok.Data;
import org.apache.http.HttpRequest;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.ac... |
/**
* Copyright (C) 2010-2012 <NAME> <<EMAIL>>
*
* All rights reserved. Licensed under the OSI BSD License.
*
* http://www.opensource.org/licenses/bsd-license.php
*/
package it.case_01;
import static org.mockito.Mockito.*;
import java.io.File;
import java.util.Map;
import org.apache.maven.wagon.TransferFailedE... |
/**
* Copyright (c) ObjectFabric Inc. All rights reserved.
*
* This file is part of ObjectFabric (objectfabric.com).
*
* ObjectFabric is licensed under the Apache License, Version 2.0, the terms
* of which may be found at http://www.apache.org/licenses/LICENSE-2.0.html.
*
* This file is provided AS IS w... |
package com.aliyun.openservices.odps.console.output.state;
import java.io.PrintStream;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.fusesource.jansi.Ansi;
impo... |
package blueduck.jellyfishing.client.entity.model;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.model.*;
import net.minecraft.client.render.entity.model.BipedEntityModel;
import net.minecraft.client.render.entity.model.EntityModelPartNames;
import net.minecraft.enti... |
package org.lared.desinventar.dbase;
import java.sql.*;
import java.io.*;
import org.lared.desinventar.dbase.*;
/**
* Class to handle Foxpro V2 memo fields.
*
* @since 2.01
*/
public class FOXPRO2MemoHandler extends MemoHandler
{
/**
* Standard field naming the FoxPro V2 database.
* This field must be present in ... |
/**
* CInvoiceDao.java 2010/04/15
*/
package com.ycsoft.business.dao.core.print;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;
import com.ycsoft.beans.core.fee.CFee;
import com.ycsoft.beans.core.print.CInvoice;
import com.ycsoft.business.dt... |
package xworker.libdgx.engine.world2d.mario;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import org.xmeta.util.UtilData;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogi... |
/**
* @Copyright (c) 成都大学信息科学与技术学院
* 服务外包与创意大赛
*/
package cn.cdu.edu.TQC.bems.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.crypto.Mac;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.w... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/// \file Exemplo_N2_Jogl_Eclipse.java
/// \brief Exemplo_N2_Jogl_Eclipse: desenha uma linha na diagonal.
/// \version $Revision: 1.0 $
/// \author <NAME>.
/// \date 03/05/13.
/// Obs.: variaveis globais foram usadas por questoes didaticas mas nao sao recomendas para aplicacoes reais.
import javax.media.opengl.DebugGL... |
package org.code4everything.wetool.plugin.ftp.client;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.exceptions.ExceptionUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.ArrayUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import javafx.scene.contro... |
package com.mrdougz.main;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
impor... |
/*
* MIT License
*
* Copyright (c) 2018 g4s8
*
* 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, mer... |
package org.multibit.viewsystem.commandline.rxtx;
import gnu.io.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import java.util.Vector;
/**
* Used to simplify communication over a Serial port. Using the RXTX-library
* (rxtx.qbang.org), one conn... |
package ga.tour.optimized;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import... |
/*
* Units of Measurement Reference Implementation
* Copyright (c) 2005-2019, Units of Measurement project.
*
* 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 sou... |
package translation.readers.csreaders;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import constraint.Constraint;
import constraint.ConstraintXMLParser;
import service.BasicService;
import service.Const... |
package gwt.material.design.demo.client.application.components.forms.textfields;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2016 GwtMaterialDesign
* %%
* 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... |
import java.io.FileNotFoundException;
import java.io.IOException;
import java.time.Duration;
import java.time.Instant;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import InvertedIndex.*;
import CSV.*;
... |
/*******************************************************************************
* Copyright (c) 2007, 2014 Wind River 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 distrib... |
/*
* Copyright (c) 2014, jasper
* 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... |
/**
* Copyright 2021 Green Filing, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
package org.joget.hyperledger;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.hyperledger.fabric.sdk.Channel;
import org.hyperledger.fabric.sdk.HFClient;
import org.hyperledger.fabric_ca.sdk.HFCAClient;
import org.joget.app... |
package cn.huangdayu.almanac.dto;
import cn.huangdayu.almanac.exception.AlmanacException;
import cn.huangdayu.almanac.utils.AreaUtils;
import cn.huangdayu.almanac.utils.ConstantsUtils;
import cn.huangdayu.almanac.utils.DateTimeUtils;
import cn.huangdayu.almanac.utils.JulianCalendarUtils;
import java.time.Instant;
imp... |
/*
* #!
* Ontopia Engine
* #-
* Copyright (C) 2001 - 2013 The Ontopia 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... |
package com.ifocus.papple.activity;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget... |
package net.sourceforge.ondex.parser.gramene;
import static net.sourceforge.ondex.parser.gramene.ArgumentNames.PARSE_LITERATURE_ARG;
import static net.sourceforge.ondex.parser.gramene.ArgumentNames.PARSE_LITERATURE_ARG_DESC;
import java.io.File;
import net.sourceforge.ondex.InvalidPluginArgumentException;
import net... |
package com.festp.jukebox;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BookMeta;
import com.festp.Pair;
import com.festp.utils.UtilsType;
public cla... |
/* */ package edu.drexel.cis.dragon.ml.seqmodel.feature;
/* */
/* */ import edu.drexel.cis.dragon.ml.seqmodel.data.BasicToken;
/* */ import edu.drexel.cis.dragon.ml.seqmodel.data.DataSequence;
/* */ import java.io.BufferedReader;
/* */ import java.io.FileReader;
/* */ import java.io.I... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2016-2021 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
/**
* 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 main.evolution.ga.encoding;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.math3.util.Pair;
import main.encodings.IImage... |
package info.hubbitus;
import com.sun.codemodel.JAnnotatable;
import com.sun.codemodel.JAnnotationUse;
import com.sun.codemodel.JExpression;
import com.sun.codemodel.JFieldVar;
import com.sun.codemodel.util.JavadocEscapeWriter;
import com.sun.tools.xjc.Options;
import com.sun.tools.xjc.Plugin;
import com.sun.tools.xjc... |
package us.kbase.userandjobstate.test.userstate;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import java.io.StringReader;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import ja... |
package org.nd4j.imports;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.nd4j.autodiff.execution.NativeGraphExecutioner;
import org.nd4... |
package com.example.transaction.controller;
import com.example.transaction.dto.account.AccountInfo;
import com.example.transaction.pojo.Account;
import com.example.transaction.pojo.Estimate;
import com.example.transaction.service.AccountService;
import com.example.transaction.util.jsonParamResolver.handler.RequestJson... |
package com.palyrobotics.frc2018.auto;
import com.palyrobotics.frc2018.auto.AutoFMS.Side;
import com.palyrobotics.frc2018.auto.AutoModeBase.*;
import com.palyrobotics.frc2018.auto.modes.*;
import com.palyrobotics.frc2018.util.logger.Logger;
import org.json.simple.JSONArray;
import java.io.File;
import java.l... |
package com.example.android.sunshine.app;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.text.format.Time;
import ... |
/*
* #!
* Ontopia Engine
* #-
* Copyright (C) 2001 - 2013 The Ontopia 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... |
package com.bootdo.kinder.dao.oracle;
import com.bootdo.kinder.entity.StudentInfoVO;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import ... |
package codepath.com.simpletodo20;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.LayoutInflater;
import and... |
package misc;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
impo... |
/*
* Copyright 2008-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... |
package com.palmaactiva.jaminas.lib;
import com.palmaactiva.jaminas.lib.models.JuegoMinasSerializable;
import com.palmaactiva.jaminas.ui.events.DisparadorEventosCasilla;
import com.palmaactiva.jaminas.ui.events.EventoCasilla;
import com.palmaactiva.jaminas.ui.events.GestorEventosCasilla;
import java.util.ArrayList;
im... |
package com.hangulo.spotifystreamer;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.Edi... |
////////////////////////////////////////////////////////////////////////
/*
File: FullScreenWindow.java
Author: <NAME>
Date: 2007/07/20
CoastWatch Software Library and Utilities
Copyright (c) 2007 National Oceanic and Atmospheric Administration
All rights reserved.
Developed by: CoastWatch / Oce... |
package jadx.core.dex.visitors;
import java.util.Iterator;
import java.util.List;
import jadx.core.dex.attributes.AFlag;
import jadx.core.dex.instructions.ArithNode;
import jadx.core.dex.instructions.ArithOp;
import jadx.core.dex.instructions.InsnType;
import jadx.core.dex.instructions.args.InsnArg;
import jadx.core.... |
import java.io.*;
import java.util.*;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.HttpClientBuilder;
public class Bittrex {
public static final String ORDER_LIMIT = "LIMIT", ORDER_MARKET = "MARKET";
... |
package com.github.phoswald.ratpack.demo.service;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.Instant;
import java.time.LocalD... |
package com.friday.plandial;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.VibrationEffect;
import android.os.Vibrator;
import android.view.KeyEvent;
import android.view.MotionEvent;
import a... |
/* --------------------------------------------------------------------
*
* The MIT License
*
* Copyright (C) 2019 <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 res... |
package com.xiaoyuzhuanqian.mvp.ui.fragment;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.suppor... |
package com.yixin.tinode.db.tinode;
import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Build;
import android.provider.BaseColumns;
import android.util.Log;
import com.yixin.tinode.app.M... |
package com.vegaasen.lib.ioc.radio.adapter.fsapi;
import com.vegaasen.http.rest.handler.Restinator;
import com.vegaasen.http.rest.model.Scheme;
import com.vegaasen.http.rest.model.http.Header;
import com.vegaasen.http.rest.model.http.Param;
import com.vegaasen.http.rest.model.http.Response;
import com.vegaasen.http.re... |
package com.ern.api.impl.navigation;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import androidx.annotation.CallSuper;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat... |
/*
* (c) 2018-2020 <NAME>
* This code is licensed under MIT license (see LICENSE.txt for details)
*/
package pasa.cbentley.framework.drawx.src4.ctx;
import java.util.Random;
import pasa.cbentley.byteobjects.src4.core.ByteObject;
import pasa.cbentley.byteobjects.src4.ctx.ABOCtx;
import pasa.cbentley.byteo... |
package Components;
import android.app.Activity;
import android.content.ClipData;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.util.Log;
import android.util.TypedValue;
import android.view.DragEvent;
import android.view.MotionEvent;
im... |
package com.github.dee1024.wechatgame.tools;
import java.io.*;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
/**
* 配置文件工具类
*
* @author Dee1024 <<EMAIL>>
* @version 1.0
* @description
* @date 2018/1/3
* @since 1.0
*/
public abstract class SettingToolkit {
private static Dou... |
package com.example.jebo.eindproject;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
imp... |
package com.asframe.thread;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.Lock;
import java.util.concurr... |
package com.dtnguy.camerachathead;
/**
* Created by dtngu_000 on 2/17/2017.
*/
import android.graphics.Point;
import android.graphics.RectF;
import android.support.annotation.NonNull;
public class GLRoundedGeometry {
// The key points of the geometry
private float[] mLeftTop = new float[2];
private ... |
/*
* The MIT License
* Copyright (c) 2020- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2019 Estonian Information System Authority (RIA)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
package com.ngrok.definitions;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.Optional;
/**
* A cl... |
package de.delphi.phi.data;
import de.delphi.phi.PhiAccessException;
import de.delphi.phi.PhiException;
import de.delphi.phi.PhiStructureException;
import de.delphi.phi.PhiTypeException;
import org.junit.Test;
import static de.delphi.phi.Polyfill.assertThrows;
import static org.junit.Assert.*;
public class PhiCollec... |
// Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
package main.commands.dontopendeadinside;
import com.inamik.text.tables.Cell;
import com.inamik.text.tables.GridTable;
import com.inamik.text.tables.grid.Border;
import main.Aspect;
import main.Command;
import main.utility.LangUtil;
import main.utility.TableUtil;
import main.utility.Visuals;
import main.utility.metaut... |
/*
* Copyright 2013-2017 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 applicable law ... |
/*
* 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 com.beans;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.SimpleDateFormat;
import jav... |
package com.jatin.producttracker.ui;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
im... |
package com.corentin.Views;
import com.corentin.Controllers.BattleshipController;
import com.corentin.Models.Boat;
import com.corentin.Models.Grid;
import com.corentin.Models.Position2D;
import com.corentin.Utils.NotifyType;
import com.corentin.Utils.Observable;
import com.corentin.Utils.Observer;
import javafx.animat... |
/**
* Copyright 2017 <NAME> and <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... |
/*
* Copyright (C) 2016 University of Freiburg.
*
* 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 com.codepath.apps.restclienttemplate.models;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.text.style.Foregrou... |
/**
* $Id$
*
* Open source software.
* Author: <NAME>, Cove Software, LLC
*
* $Log$
* Revision 1.2 2015/03/19 17:56:53 mmaloney
* If lock is taken, continue to spawn maintenance thread to check for file changes.
*
* Revision 1.1.1.1 2014/05/19 15:28:59 mmaloney
* OPENDCS 6.0 Initial Checkin
*
* Revis... |
package edu.columbia.psl.cc.analysis;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.TreeMap;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.ut... |
package edu.umass.cs.jfoley.coop.build;
import ciir.jfoley.chai.IntMath;
import ciir.jfoley.chai.io.Directory;
import ciir.jfoley.chai.io.IO;
import ciir.jfoley.chai.math.StreamingStats;
import ciir.jfoley.chai.string.StrUtil;
import ciir.jfoley.chai.time.Debouncer;
import edu.umass.cs.ciir.waltz.IdMaps;
import edu.um... |
package de.tucottbus.kt.dlabpro;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Observable;
import java.util.Observer;
import de.tucottbus.kt.dlabpro.recognizer.Re... |
package net.minecraft.client.particle;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
@SideOnly(Side.CLIENT)
public class EntityFireworkSparkFX extends EntityFX
{... |
package com.sap.cloud.rest.api.client;
import static com.sap.cloud.rest.api.client.utils.ValidateArgument.isNotEmptyOrNull;
import static com.sap.cloud.rest.api.client.utils.ValidateArgument.isNotNull;
import static java.text.MessageFormat.format;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStr... |
package cn.diyai.url.encoding;
import junit.framework.Assert;
import junit.framework.TestCase;
import java.io.*;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
/**
* Created by diyai on 2018/5/21.
*/
public... |
package com.handsomexi.homework.fragment;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.