text stringlengths 3.52k 24k |
|---|
package macbury.forge.shaders.utils;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.graphics.g3d.Renderable;
import com.badlogic.gdx.graphics.g3d.utils.RenderContext;
import com.badlogic.gdx.graphics.glutils.ShaderProgram;
import ... |
// Copyright (c) 2009, 2013 <NAME>.
// This is free software; for terms and warranty disclaimer see ../../COPYING.
package kawa.lang;
import gnu.expr.*;
import gnu.mapping.Symbol;
import gnu.lists.*;
import gnu.text.SourceLocator;
/**
* Helper method and implementation classes for SyntaxForm.
* @author <NAME>
*/
... |
package group92.spectrangle.network;
import group92.spectrangle.Game;
import group92.spectrangle.board.Tile;
import group92.spectrangle.exceptions.IllegalNameException;
import group92.spectrangle.exceptions.MoveException;
import group92.spectrangle.players.ClientPlayer;
import group92.spectrangle.players.ComputerPlaye... |
package com.meida.controller;
import com.jfinal.aop.Before;
import com.jfinal.aop.Clear;
import com.jfinal.kit.PathKit;
import com.jfinal.plugin.activerecord.tx.Tx;
import com.jfinal.upload.UploadFile;
import com.meida.enumerate.ExceptionEnum;
import com.meida.exception.BusinessException;
import com.meida.interceptor.... |
package studio.elnino.com.cameditor;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.gr... |
/*
* Copyright (c) 2018 HELIOS Software GmbH
* 30827 Garbsen (Hannover) Germany
* Licensed under the Apache License, Version 2.0
*/
package de.radioshuttle.net;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.util.Base6... |
/*******************************************************************************
* Copyright (c) 2003-2008, <NAME>, All rights reserved.
* Copyright (c) 2017, <NAME>, All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
/*
* Copyright (c) 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 con... |
/**************************************************************************************
Copyright 2015 Applied Research Associates, 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.ap... |
package icbm.classic.content.blast;
import icbm.classic.api.NBTConstants;
import icbm.classic.lib.transform.region.Cube;
import icbm.classic.lib.transform.vector.Pos;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entit... |
package com.zx.user.massage.entity;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.sl... |
package graphics.epi;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android... |
/**
* @author <NAME>
*
* Clases para pintar gr�ficas
*/
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.font.FontRenderContext;
import java.awt.font.TextLayout;
import java.awt.g... |
/**
* MMN 14 solutions - Complexity & Recursion
*
* @author <NAME>
* @version 2020a
*/
public class Ex14
{
/* Exercise 1 */
/**
* Returns how much substrings of string s are
* with the char c at beginning, end and middle.
*
* Complexity: Time O(n), Space O(1) (all vars are constants, o... |
package uk.ac.liv.proteoidviewer.tabs;
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTe... |
/*
* ExactSTORM.java
* Copyright (C) 2013 Aristotle University of Thessaloniki, Greece
* @author <NAME>, <NAME>, <NAME>, <NAME>, <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 co... |
package org.jenkinsci.plugins.rigor.optimization.builder;
import com.cloudbees.plugins.credentials.CredentialsMatchers;
import com.cloudbees.plugins.credentials.CredentialsProvider;
import com.cloudbees.plugins.credentials.common.StandardCredentials;
import com.cloudbees.plugins.credentials.common.StandardListBoxModel... |
package cn.qssq666.robot.utils;
import android.content.Context;
import androidx.core.util.Pair;
import android.text.TextUtils;
import android.util.Log;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import cn.... |
package io.github.cyrilschumacher;
import io.github.cyrilschumacher.data.DataElement;
import io.github.cyrilschumacher.data.codec.DataTypeCodecRegistry;
import io.github.cyrilschumacher.data.dump.DumpWriter;
import io.github.cyrilschumacher.data.dump.TransactorDumpWriter;
import java.io.ByteArrayOutputStream;
import ... |
// Copyright (c) 2010 Mixon/Hill, Inc. All rights reserved.
package wde.qchs.algo;
import wde.metadata.ISensor;
import wde.obs.IObs;
import wde.qchs.Stage24Precip;
import wde.util.Config;
import wde.util.ConfigSvc;
import wde.util.MathUtil;
import wde.util.threads.ThreadPool;
import java.io.FileWriter;
import java.te... |
/*
* Copyright (C) 2014 Intel Corporation
* All rights reserved.
*/
package test.attestation;
import com.intel.dcsg.cpg.crypto.RandomUtil;
import com.intel.dcsg.cpg.crypto.Sha1Digest;
import com.intel.dcsg.cpg.io.ByteArray;
import com.intel.dcsg.cpg.io.UUID;
import com.intel.dcsg.cpg.net.IPv4Address;
imp... |
// Copyright 2019 Google 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 agreed to in ... |
import java.io.*;
import java.net.*;
import java.util.*;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
public class Streamer{
public final static int MAX_PORT = 9999;
public final static int MAX_NUM_MESS = 9999;
public final static int SIZE_DIFF_MESS = Message.MSG_TYPE_SIZE + Message.... |
package state;
import java.util.ArrayList;
import java.util.List;
public class Country {
private List<State> stateList;
private Country(){
this.makeliste();
}
private static Country INSTANCE = new Country();
public static Country getInstance() {
if (INSTANCE == null) {
... |
/*===========================================================================
Copyright (C) 2013 by the Okapi Framework contributors
-----------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in com... |
/*
* 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 org.redkalex.mq.kafka;
import java.time.Duration;
import java.util.*;
import java.util.concurrent.*;
import java.uti... |
/*
* 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 org.md2k.autosense.antradio.connection;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.os.Bin... |
/*
* Decompiled with CFR 0.150.
*/
package net.minecraft.block;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.BlockBush;
import net.minecraft.block.BlockFarmland;
import net.minecraft.block.IGrowable;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.... |
package ch.unibas.dmi.dbis.vrem.importer;
import ch.unibas.dmi.dbis.vrem.config.Config;
import ch.unibas.dmi.dbis.vrem.database.codec.VREMCodecProvider;
import ch.unibas.dmi.dbis.vrem.database.dao.VREMWriter;
import ch.unibas.dmi.dbis.vrem.io.readers.CSVHReader;
import ch.unibas.dmi.dbis.vrem.model.Vector3f;
import ch... |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <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>
* Un... |
/**********************************************************************
Copyright (c) 2011 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
Un... |
package com.stanley.fastmhd;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.Text... |
package ru.yan0kom.ssrs.back;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URLDecoder;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.h... |
package textgen;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
import java.util.Random;
/**
* An implementation of the MTG interface that uses a list of lists.
* @author UC San Diego Intermediate Programming MOOC team
*/
public class MarkovTextGeneratorLoL implemen... |
/*
* Copyright (C) 2014-2016 AnAurelian. All rights reserved.
* https://anaurelian.com
*/
package com.tecdrop.milliontaps;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
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 may ... |
//
// Data Value Object (DVO) for specimen
//
package org.nachc.tools.omop.yaorma.dvo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Date;
import org.yaorma.dvo.Dvo;
public class SpecimenDvo implements Dvo {
//
// tableName
//
public static final String TABLE_NAME = "s... |
/*
* Copyright 2007 Penn State 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 or agreed to... |
package net.sf.l2j.gameserver.handler.admincommandhandlers;
import java.text.SimpleDateFormat;
import java.util.StringTokenizer;
import net.sf.l2j.commons.lang.StringUtil;
import net.sf.l2j.gameserver.data.manager.ClanHallManager;
import net.sf.l2j.gameserver.data.sql.ClanTable;
import net.sf.l2j.gameserver.handler.... |
package com.apifan.other;
import freemarker.template.Configuration;
import freemarker.template.Template;
import java.io.*;
import java.sql.*;
import java.util.*;
/**
* 数据表元数据导出工具
*
* @author yin
*/
public class TableExporter {
private static final String MYSQL_URL = "jdbc:mysql://%s:%s/%s?useUnicode=true&aut... |
/* ===========================================================
* AFreeChart : a free chart library for Android(tm) platform.
* (based on JFreeChart and JCommon)
* ===========================================================
*
* (C) Copyright 2010, by ICOMSYSTECH Co.,Ltd.
* (C) Copyright 2000-2009, by ... |
package chapter5.section1;
import edu.princeton.cs.algs4.StdOut;
import util.ArrayUtil;
/**
* Created by <NAME> on 15/01/18.
*/
public class Exercise24_RightmostCharacterAccessed {
public class MostSignificantDigitRightmostCharacter {
private int alphabetSize = 256; // Extended ASCII characters; radix... |
// ***************************************************************************
//
// Copyright (c) 2000 - 2019, Lawrence Livermore National Security, LLC
// Produced at the Lawrence Livermore National Laboratory
// LLNL-CODE-442911
// All rights reserved.
//
// This file is part of VisIt. For details, see https://vis... |
package com.stardust.autojs.runtime.api;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.media.Image;
import android.os.Build... |
/**
* Copyright 2017
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* 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 3 of the License, or
... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package org.literacyapp.chat;
import android.Manifest;
import android.app.Activity;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.... |
/***************************************************************************
* Copyright 2020 ForgeRock AS
*
* 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... |
package vn.edu.tlu.hatrang.autoRWRMTN.internal.task;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.... |
package tw.edu.pu.s1081735.eatfruit;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.BitmapFactory;
import android.media.MediaPlayer;
import android.os.Bundle;
imp... |
package com.pizzashack.client.web;
import com.pizzashack.client.dto.Order;
import com.pizzashack.client.dto.Pizza;
import com.pizzashack.client.dto.Token;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
impor... |
/*******************************************************************************
* The MIT License
*
* Copyright (c) 2019 knokko
*
* 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 with... |
/*
* Copyright 2013 Netflix, 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 ... |
package net.csibio.propro.algorithm.irt;
import lombok.extern.slf4j.Slf4j;
import net.csibio.propro.algorithm.extract.Extractor;
import net.csibio.propro.algorithm.fitter.LinearFitter;
import net.csibio.propro.algorithm.peak.PeakPicker;
import net.csibio.propro.algorithm.score.scorer.IrtScorer;
import net.csibio.propr... |
package universim.main;
import universim.abstractClasses.Star;
import universim.abstractClasses.SubTrabant;
import universim.abstractClasses.Trabant;
import universim.generalClasses.*;
import universim.threads.*;
import universim.ui.*;
public class Main implements Runnable{
protected int refreshrate;
// protected in... |
package org.sparkbit.jsonrpc.autogen;
/**
* DO NOT EDIT THIS FILE!
*
* Generated by Barrister Idl2Java: https://github.com/coopernurse/barrister-java
*
* Generated at: Mon Feb 16 20:56:11 PST 2015
*/
public class JSONRPCUnspentTransactionOutput implements com.bitmechanic.barrister.BStruct {
public static... |
package projects.music.classes.abstracts;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.tree.ParseTreeWalker;
import javafx.geometry.Point2D;
import kernel.tools.Frac... |
/**
* Copyright 2011 <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 writi... |
package com.evolveum.midpoint.web.page.self.component;
import com.evolveum.midpoint.gui.api.util.WebComponentUtil;
import com.evolveum.midpoint.security.api.AuthorizationConstants;
import com.evolveum.midpoint.web.component.util.SimplePanel;
import com.evolveum.midpoint.web.page.admin.resources.PageResources;
import c... |
/*******************************************************************************
* Copyright (c) 2013 The University of Reading
* 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. Redis... |
package com.scs.multiplayerplatformer.graphics.mobs;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import ssmith.android.compatibility.Canvas;
import ssmith.android.lib2d.Camera;
import ssmith.android.lib2d.MyPointF;
import ssmith.android.lib2d.shapes.AbstractRectangle;
import com.scs.multiplayerp... |
/**
* ********************************************************************************
* Copyright (c) 2011, Monnet 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: *
* Redistributions ... |
package com.engine.biomine.query;
import java.io.IOException;
import java.util.*;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.impl.CloudSolrClient;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apac... |
/*
* Copyright 2017 Tony.lau 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 a... |
package com.github.msu.sdk.request.financial;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.github.msu.sdk.authentication.Authentication;
import com.github.msu.sdk.request.base.ApiRequest;
import com.github.msu.sdk.request.enumerated.ApiAction;
import co... |
package com.datonicgroup.narrate.app.ui.entries;
import android.app.ActivityOptions;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Message;
import android.support.annotation... |
/*
* 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 ed.biordm.sbol.service;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java... |
package hu.kazocsaba.durationformat;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
/**
* {@code DurationFormat} instances provide formatting for time durations. Some example output:
* <pre>
* 13 s 499 μs
* 93 m 6 s 486 ms</pre>
* The output consists of fields which corresp... |
// CheckStyle: start generated
package com.oracle.truffle.js.nodes.intl;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.Introspection;
import com.oracle.truffle.api.dsl... |
package org.jdraft.pattern;
import com.github.javaparser.ast.NodeList;
import com.github.javaparser.ast.expr.Expression;
import com.github.javaparser.ast.expr.MethodCallExpr;
import com.github.javaparser.ast.type.Type;
import org.jdraft.*;
import org.jdraft.walk.Walk;
import junit.framework.TestCase;
import java.io.I... |
package thundr.redstonerepository.items.tools.gelidenderium;
import cofh.core.init.CoreProps;
import cofh.core.util.RayTracer;
import cofh.core.util.helpers.StringHelper;
import cofh.redstonearsenal.item.tool.ItemPickaxeFlux;
import com.google.common.collect.ImmutableList;
import net.minecraft.block.Block;
import net.... |
package eu.asterics.mw.model.deployment.impl;
import java.awt.Point;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import eu.as... |
package org.kestell.photoboothcontrol;
/*
* Copyright (C) 2015 Creativa77 SRL and others
*
* 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
*
* Un... |
/**
* 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 csu.model.object.csuZoneEntity;
import java.awt.Point;
import java.awt.Polygon;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import rescuecore2... |
package com.stupidtree.hita.fragments.main;
import android.annotation.SuppressLint;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import andro... |
package functionalsql;
import functionalsql.functions.*;
import java.lang.reflect.Constructor;
import java.util.*;
import java.util.regex.Pattern;
/**
* Functional sql compiler.
*/
public class FunctionalSQLCompiler {
public static final String ERR_EXPECT_A_FUNCTION_CALL = "Expect a function call instead of (... |
/*
* Copyright (c) 2015 <NAME>
* See LICENSE.txt for license details
*/
package com.stevenlr.waffle.graphics;
import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Composite;
import java.awt.CompositeContext;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingH... |
/*
* Copyright 2013-2017 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 requi... |
/*******************************************************************************
* Copyright 2013
* TU Darmstadt, FG Sprachtechnologie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
package org.firstinspires.ftc.teamcode.official;
/*
Official Wright Angles 2019-2020 Class
This class contains vuforia code
*/
import com.qualcomm.robotcore.hardware.HardwareMap;
import org.firstinspires.ftc.robotcore.external.ClassFactory;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import org.fi... |
package org.opentosca.container.core.impl.plan;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import javax.xml.namespace.QName;
import org.opentosca.container.core.common.SystemException;
import org.opentosca.container.core.common.UserException;
import ... |
/*
* Created on 14.03.2005
*/
package org.i3xx.util.rna.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.i3xx.util.rna.core.IBrick;
import org.i3xx.util.rna.core.IBrickData;
import org.i3xx.util.rna.core.IProxy;
import org.i3xx.util.rna... |
/********************************************************************************************
*
* ComboCommandLineWindow.java
*
* Description: Mimic a simple command line window -- type commands directly to execute them.
* For now we still just use a combo box for the input -- later we'll do a version
* ... |
/**************************************************************************
* Copyright (c) 2001 by <NAME>. All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permi... |
package com.shikhir.lsh.untrimmed.forest;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections... |
package induction;
import java.util.ArrayList;
import java.util.Random;
import domain.*;
/*
* Lookahead heuristic calculation
* - searches space for complete (or as close to complete as possible) definitions
*
*/
public class Heuristic {
String heuristic;
Domain domain;
int maxClauseL... |
package com.qiniu.pili.droid.streaming.demo.activity;
import android.app.Activity;
import android.content.Intent;
import android.hardware.Camera;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import androi... |
package com.sgcharts.bcrecommender;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.CharMatcher;
import com.google.common.base.Joiner;
import... |
/*
* Copyright (C) 2014-2016 LinkedIn Corp. 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... |
/* Team 6217
The Fellowship
2016 - 2017 Velocity Vortex Robot Code */
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hardware.Ser... |
package org.bc.crypto.engines;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.math.BigInteger;
import org.bc.crypto.BasicAgreement;
import org.bc.crypto.BufferedBlockCipher;
import org.bc.crypto.CipherParameters;
import org.bc.crypto.DerivationFunction;
import org.bc.crypto.EphemeralKeyPa... |
package utils;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import com.qualcomm.robotcore.util.Range;
i... |
package mcjty.immcraft.blocks.bundle;
import mcjty.immcraft.ImmersiveCraft;
import mcjty.immcraft.api.util.Vector;
import mcjty.immcraft.cables.CableSectionRender;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.*;
import net.minecra... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
/*
* 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 ... |
// This file is part of the Xantippe XML database.
//
// Copyright 2008 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0... |
package com.id.drapp;
import android.app.ProgressDialog;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support... |
package cz.tacr.elza.bulkaction.generator.multiple;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Objects;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.Validate;
import org.springframework.context.annotation.Scope;
import org.springframew... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.