text stringlengths 9.3k 48.9k |
|---|
package bartMachine;
import gnu.trove.list.array.TDoubleArrayList;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import OpenSourceExt... |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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:/... |
/*
* Copyright (c) 2012, 2020, 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 ... |
/*
* 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 ... |
/*
* 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 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.pveplands.treasurehunting;
import com.wurmonline.server.FailedException;
import com.wurmonline.server.Items;
import com.wurmonline.server.creatures.Creature;
import com.wurmonline.server.items.AdvancedCreationEntry;
import com.wurmonline.server.items.CreationEntry;
import com.wurmonline.server.items... |
/*
* Licensed to <NAME> (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Author licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this ... |
/*
* Copyright (C) 2007 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... |
package org.voovan.tools;
import org.voovan.db.CallType;
import org.voovan.db.DataBaseType;
import org.voovan.tools.json.JSON;
import org.voovan.tools.log.Logger;
import org.voovan.tools.reflect.TReflect;
import org.voovan.tools.security.THash;
import javax.sql.DataSource;
import java.lang.reflect.Method;
import java... |
/*
* Copyright 2020 Haulmont.
*
* 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) 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package nachos.userprog;
import nachos.machine.*;
import nachos.threads.*;
import nachos.userprog.*;
import java.io.EOFException;
import java.util.*;
import java.lang.Math.*;
/**
* Encapsulates the state of a user process that is not contained in its
* user thread (or threads). This includes its address translatio... |
/* $Id: XmiReaderImpl.java 19798 2011-12-12 17:07:41Z linus $
*****************************************************************************
* Copyright (c) 2005,2011 Contributors - see below
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public... |
/**
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package astro.tool.box.module;
import static astro.tool.box.function.NumericFunctions.*;
import static astro.tool.box.function.PhotometricFunctions.*;
import static astro.tool.box.module.ModuleHelper.*;
import static astro.tool.box.module.tab.SettingsTab.*;
import astro.tool.box.container.BatchResult;
import as... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright 2006, 2007 Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* yo... |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... |
/*
*
* Copyright (c) 2018 Xilinx, Inc.
* All rights reserved.
*
* Author: <NAME>, Xilinx Research Labs.
*
* This file is part of RapidWright.
*
* 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 t... |
package edu.uw.zookeeper.safari.frontend;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.Reject... |
/*
* 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 network;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import ... |
package com.miicaa.home.ui.matter;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONObject;
import android.content.Context;
import android.os.AsyncTask;
import android.text.format.DateUtils;
import android.util.Log;
import android.view.LayoutInflater;
import androi... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2020, <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:
*
* 1. Redistributions of source code must retain the above copyright notice, this... |
package b.j.a.c.b0.a0;
import b.j.a.b.l;
import b.j.a.c.b0.i;
import b.j.a.c.b0.s;
import b.j.a.c.d;
import b.j.a.c.f;
import b.j.a.c.f0.c;
import b.j.a.c.g;
import b.j.a.c.h;
import b.j.a.c.i0.n;
import b.j.a.c.j;
import b.j.a.c.j0.t;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHas... |
/**
* Copyright (c) 2011, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
/*
* 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) <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:
*
* o Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... |
package com.irontechspace.dynamicdq.executor.query;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.irontechspace.dynamicdq.configurator.query.QueryConfigService;
import com.irontechspace.dynamicdq.configurator.query.model.QueryField;
import com.irontechspace.dynamicdq.configurator.query.model.Qu... |
package com.antest1.gotobrowser.Browser;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.AssetManager;
import android.net.Uri;
import android.os.Handler;
import android.util.Log;
import android.webkit.CookieManager;
import android.webkit.WebResourceResponse;
import an... |
/* Copyright (c) 2013 RelayRides
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, di... |
/*
* Copyright 2013 mpowers
*
* 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 wr... |
/**
* 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 org.radargun.reporting.html;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent... |
import org.junit.Test;
import java.lang.reflect.Field;
import java.util.concurrent.ThreadLocalRandom;
import static org.junit.Assert.*;
public class BinNodeCustomTest {
private AbstractBinNode<String> emptyTree() {
return new BinNode<>(null, null, null);
}
private AbstractBinNode<S... |
package com.github.czyzby.noise4j.map.generator.room.dungeon;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.github.czyzby.noise4j.array.Int2dArray;
im... |
package com.youmu.lotterydrawresult.bean;
import java.util.ArrayList;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import android.os.Parcel;
public class GameDetail implements Parcelable{
private static final String FIELD_OU_ODDS = "ou_odds";
privat... |
package definitions;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.apache.maven.surefire.shared.utils.StringUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.Dimension;
import org.seleniumhq.jetty9.util.... |
/*
* Copyright (C) 2020 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... |
package theinterpreter;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Stack;
/**
* The ParseIt java class, modified to suit the needs of TheInterpreter.
* For the instructor's convenience, new and... |
/**
*
*/
package com.graphql_java_generator.client;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
import java.util.conc... |
package org.squiddev.plethora.gameplay.minecart;
import com.mojang.authlib.GameProfile;
import com.mojang.blaze3d.platform.GlStateManager;
import dan200.computercraft.ComputerCraft;
import dan200.computercraft.api.peripheral.IPeripheral;
import dan200.computercraft.core.computer.ComputerSide;
import dan200.computercra... |
/*
* Copyright 2008 biaoping.yin
*
* 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 l... |
/*
* 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 za.co.bruynhuis.ld45.game;
import com.bruynhuis.galago.app.Base3DApplication;
import com.bruynhuis.galago.control.RotationCont... |
package com.toparchy.platform.ui;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.enterprise.inject.Produces;
import javax.faces.bean.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
... |
package com.toby.mymaterialdemo.model;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.List;
/**
* Description:
* 作者:hyr on 2016/9/9 15:59
* 邮箱:<EMAIL>
*/
public class BaiSiResult extends BaseResult {
/**
* count : 4492
* np : 1473397825
*... |
package de.ubt.ai7.csv_validator.csv.tabularOutline.internal;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
impo... |
/*
* Copyright © 2016 <NAME>, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package ads.neeraj2608.mst.common;
import ads.neeraj2608.types.common.AdjListNode;
import ads.neeraj2608.types.common.Edge;
import ads.neeraj2608.types.common.Graph;
import java.util.HashSet;
import static ads.neeraj2608.mst.common.Controller.DEBUG;
/**
* Class that generates a random, unconnected, undirected grap... |
package org.illaydevel.sql4es;
import java.io.IOException;
import java.io.StringReader;
import java.sql.Array;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
impo... |
package org.silentsoft.csscolor4j;
import java.math.BigDecimal;
import java.util.Objects;
public class Color {
private int red;
private int green;
private int blue;
private double cyan;
private double magenta;
private double yellow;
private double black;
private double hue;
priv... |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... |
package com.duy.calculator.view;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.Rect;
import android.os... |
/*********************************************************************
* B e n c h I T - Performance Measurement for Scientific Applications BIGKernelTree.java Author:
* <NAME> Last change by: $Author: rschoene $ $Revision: 1.8 $ $Date: 2006/12/06 06:50:59 $
**********************************************************... |
/*
* $Id: Plan2Docx.java,v 1.31 2010/12/30 19:33:23 pjfsilva Exp $
*
* Copyright (c) Critical Software S.A., All Rights Reserved.
* (www.criticalsoftware.com)
*
* This software is the proprietary information of Critical Software S.A.
* Use is subject to license terms.
*
* Last changed on $Date: 2010/12/30 19:... |
package jec;
import java.nio.ByteBuffer;
public class Galois {
private static final int NONE = 10;
private static final int TABLE = 11;
private static final int SHIFT = 12;
private static final int LOGS = 13;
private static final int SPLITW8 = 14;
private static int[] multType = { NONE,
/* 1 */TABLE,
/* 2 */... |
package com.huawei.hms.audioeditor.demo;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.media.AudioFormat;
import android.os.Bundle;
import android.os.Environment;
import android.text.TextUtils;
import android.util.Log;
... |
package com.humio.jitrex;
import com.humio.jitrex.jvm.JavaClassRegexStub;
import com.humio.jitrex.jvm.Sample;
import com.humio.jitrex.jvm.Sample2;
import com.humio.jitrex.tree.CharSet;
import com.humio.jitrex.util.Regex;
import com.humio.util.jint.util.CompilerException;
import org.junit.Assert;
import org.junit.Ignor... |
package net.java.sip.communicator.impl.protocol.sip;
import ch.imvs.sdes4j.srtp.SrtpCryptoAttribute;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import javax.sd... |
/*
* Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
*
* License for BK-BASE 蓝鲸基础平台:
* ----------------------------------------------... |
/******************************************************************************
* This research was sponsored by the U.S. Army Research Laboratory and the
* U.K. Ministry of Defence under the Biennial Program Plane 2013 (BPP13),
* Project 6, Task 3: Collaborative Intelligence Analysis.
* The U.S. and U.K. Governmen... |
/**
*
*/
package outputter.search;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.L... |
/*
Copyright 2021 EWS Solutions
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 com.github.k0kubun.jjvm.classfile;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
// https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html
public cla... |
// Generated by OABuilder
package com.cdi.model.oa;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Logger;
import com.cdi.model.oa.filter.CustomerActiveFilter;
import com.viaoa.annotation.OACalculatedProperty;
import com.viaoa.annotation.OAClass;
import com.viaoa.annotation.OAColumn... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013-2016 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
package org.dnacronym.hygene.ui.graph;
import com.google.common.collect.Sets;
import com.google.common.eventbus.Subscribe;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleBooleanProperty;
import j... |
/*-
* #%L
* Genome Damage and Stability Centre ImageJ Core Package
*
* Contains code used by:
*
* GDSC ImageJ Plugins - Microscopy image analysis
*
* GDSC SMLM ImageJ Plugins - Single molecule localisation microscopy (SMLM)
* %%
* Copyright (C) 2011 - 2022 <NAME>
* %%
* This program is free software: you ca... |
/*
* RDG1.java
* Copyright (C) 2000 <NAME>.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
... |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php
*
* Unless r... |
/*
* Copyright (C) 2014 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
/*
Copyright 2012 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
package org.atlasapi.content;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.atlasapi.entity.Identified;
import org.atlasapi.entity.Person;
import org.atlasapi.hashing.Hashable;
import org.atlasapi.media.entity.Publisher;
import org.atlasapi.meta.annotations.FieldName;
import com.me... |
package io.gomint.proxy.inventory;
import lombok.Getter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author geNAZt
* @version 1.0
*/
public enum MaterialMagicNumbers {
// CHECKSTYLE:OFF
AIR( 0, "minecraft:air" ),
STONE( 1, "minecraft:stone" ),
GRASS_BLOCK( 2, "minecraft:grass_b... |
package org.openplacereviews.opendb.service;
import static org.openplacereviews.opendb.ops.de.ColumnDef.IndexType.GIN;
import static org.openplacereviews.opendb.ops.de.ColumnDef.IndexType.GIST;
import static org.openplacereviews.opendb.ops.de.ColumnDef.IndexType.INDEXED;
import static org.openplacereviews.opendb.ops.... |
package club.towr5291.Concepts;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.util.ElapsedTime;
import java.text.SimpleDateFormat;
import java.util.Date;
import ja... |
package io.renren.modules.sys.controller;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import ... |
package org.swtk.common.dict.iso639.generated;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.swtk.common.dict.dto.iso639.Language;
import org.swtk.common.dict.dto.iso639.adapter.LanguageAdapter;
import org.swtk.common.dict.iso639.utils.Iso639Utils;
/** * AUTO-GENERATED *... |
/*
* SphericalSrc.java
*
* Created on 08 July 2008, 16:52
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package hemisphere;
/***********************************************************************\
* spherical.java (Spherical Triangle Demo Applet), by <NA... |
/*******************************************************************************
* Copyright (c) <2013>, California Institute of Technology ("Caltech").
* U.S. Government sponsorship acknowledged.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are... |
package com.example.Eric_app;
import android.util.Log;
import java.util.ArrayList;
import java.util.Collections;
import static java.lang.Math.pow;
import static java.lang.Math.sqrt;
public class TrussCaculation1 {
public static boolean Toastcheck =true;
public static void truss(){
ArrayLi... |
/**
* Copyright 2014 JogAmp Community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* co... |
/*
* 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... |
/**
* Mars Simulation Project
* TabPanelWeather.java
* @version 3.1.0 2017-02-14
* @author <NAME>
*/
package org.mars_sim.msp.ui.swing.unit_window.structure;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Imag... |
package tipl.tools;
import tipl.formats.TImg;
import tipl.util.*;
import java.util.Date;
/** Performs voronoi dilation on objects into a mask and shrinks based on usage */
public class kVoronoiShrink extends kVoronoi {
@TIPLPluginManager.PluginInfo(pluginType = "kVoronoi",
desc="Full memory kvoronoi tesselation,... |
package salsa.corpora.xmlparser;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import salsa.corpora.elements.Action;
import salsa.corpora.elements.Annotation;
import salsa.corpora.elements.Author;
import salsa.corpora.elements.Body;
import salsa.c... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.federation;
import com.google.common.collect.ImmutableList;
import com.google.inject.Inject;
import com.yahoo.collections.Pair;
import com.yahoo.component.ComponentId;
import ... |
/*
* Copyright 2019 Equipment & Tool Institute
*/
package org.etools.j1939_84.ui;
import static org.etools.j1939_84.J1939_84.isAutoMode;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp 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/LICE... |
/*
* 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 2009 The Apache Software Foundation
*
* 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 ... |
/*
* Copyright (c) 1997 - 2016
* Actelion Pharmaceuticals Ltd.
* Gewerbestrasse 16
* CH-4123 Allschwil, Switzerland
*
* 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 sour... |
package org.jabref.model.entry.identifier;
import java.util.Optional;
import java.util.stream.Stream;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import static org.juni... |
package org.cocos2d.opengl;
import static javax.microedition.khronos.opengles.GL10.GL_CLAMP_TO_EDGE;
import static javax.microedition.khronos.opengles.GL10.GL_FLOAT;
import static javax.microedition.khronos.opengles.GL10.GL_LINEAR;
import static javax.microedition.khronos.opengles.GL10.GL_NEAREST;
import static javax.... |
/*
* 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 ... |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 <NAME>
* 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... |
/*
* Copyright 2019 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/***
* Excerpted from "Language Implementation Patterns",
* published by The Pragmatic Bookshelf.
* Copyrights apply to this code. It may not be used to create training material,
* courses, books, articles, and the like. Contact us if you are in doubt.
* We make no guarantees that this code is fit for any purpose... |
package com.rs.game.player.dialogues.impl;
import java.util.LinkedList;
import java.util.List;
import com.rs.game.item.Item;
import com.rs.game.player.Player;
import com.rs.game.player.Skills;
import com.rs.game.player.actions.Action;
import com.rs.game.player.content.SkillsDialogue;
import com.rs.game.player.content... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.