text stringlengths 3.08k 15.2k |
|---|
package frames;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import s... |
package com.mapr.udntest;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.Properties;
public class MaprStreamsMock {
protected String topic = "/streams/media-delivery.log:condu... |
package com.example.walkinclinic;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import java.util.ArrayList;
import java.util.List;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import... |
package com.mongodb.socialite.feed;
import static com.mongodb.socialite.util.MongoDBQueryHelpers.findBy;
import static com.mongodb.socialite.util.MongoDBQueryHelpers.limitArray;
import static com.mongodb.socialite.util.MongoDBQueryHelpers.pushToCappedArray;
import static com.mongodb.socialite.util.MongoDBQueryHelpers.... |
package io.nutz.nutzsite;
import com.alibaba.fastjson.JSON;
import io.nutz.nutzsite.common.base.Globals;
import io.nutz.nutzsite.common.manager.AsyncManager;
import io.nutz.nutzsite.common.mvc.MyActionChainMaker;
import io.nutz.nutzsite.common.utils.ShiroUtils;
import io.nutz.nutzsite.common.utils.TreeUtils;
import io... |
package se.redsharp.politescraper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.openqa.selenium.WebDriver;
import java.security.SecureRandom;
import java.util.Optional;
import java.util.Random;
public final class PoliteScraper {
/**
* Time rela... |
package com.moonymango.snare.physics;
import com.moonymango.snare.ui.scene3D.BaseCamera;
import com.moonymango.snare.util.MatrixAF;
public class SimpleCylinderBoundingVolume extends BaseSimpleBoundingVolume {
private AxisOrientation mOrientation = AxisOrientation.Y;
private float mRadius = 1;
private flo... |
/*
*
*/
package se.brewingsystem.android.ui;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.widget.BaseAdapter;
import android.... |
package com.chatapp.adapters;
/**
* Created by Arun on 04-11-2017.
*/
import android.app.Activity;
import android.content.ContentUris;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.provider.ContactsContract;
import android.view.LayoutInflater;
impo... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package com.mobileapp;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.Pending... |
package distributedsystems.uno.model.game;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import distributedsystems.uno.exception.NextPlayerNotFoundException;
import distributedsystems.uno.mod... |
package joshie.harvest.core.base.gui;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.input.Keyboard;
import java.io.IOException;
import java.util.ArrayList;
... |
package com.eddy.data.models.entities;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Objects;
import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.I... |
package com.freshdigitable.ohlplayer.model;
import android.content.Context;
import androidx.annotation.NonNull;
import com.freshdigitable.ohlplayer.model.ImpulseResponse.CHANNEL;
import com.freshdigitable.ohlplayer.model.ImpulseResponse.DIRECTION;
import com.freshdigitable.ohlplayer.model.ImpulseResponse.SAMPLING_FRE... |
/*
*
* Copyright (C) 2020 iQIYI (www.iqiyi.com)
*
* 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 ... |
package us.ihmc.ekf.filter.sensor.implementations;
import java.util.ArrayList;
import java.util.List;
import org.ejml.data.DMatrix1Row;
import org.ejml.data.DMatrixRMaj;
import org.ejml.dense.row.CommonOps_DDRM;
import us.ihmc.ekf.filter.FilterTools;
import us.ihmc.ekf.filter.RobotState;
import us.ihmc.ekf.filter.se... |
package com.bazl.dna.lims.core.utils;
import java.math.BigDecimal;
public class DataFormat {
static String CHN_NUMBER[] = {"零", "一", "二", "三", "四", "五", "六", "七", "八", "九"};
static String CHN_UNIT[] = {"", "十", "百", "千"}; //权位
static String CHN_UNIT_SECTION[] = {"", "万", "亿", "万亿"}; //节权位
/**
* 将doub... |
/*
* The MIT License
*
* Copyright (c) 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, copy, modi... |
/* Copyright 2016 <NAME>.s.
*
* 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 w... |
/*
* Copyright (c) 2022, <NAME>
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.eintosti.buildsystem.config;
import com.cryptomorin.xseries.XMaterial;
import com.eintosti.buildsystem.BuildSy... |
package befaster.solutions.SUM;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import org.junit.Before;
import org.junit.Test;
import befaster.solutions.CHK.CheckoutSolution;
public class CheckoutSolutionTest {
private CheckoutSolution checkout;
@Before
... |
/*
* Copyright (C) 2017 kkkkan
*
* 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 artyomd.project3;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.v4.view.GestureDetectorCompat;
import android.util.AttributeSet;
import android.view.GestureDetector;
import and... |
/*
* 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 4th Line GmbH, Switzerland
*
* The contents of this file are subject to the terms of either the GNU
* Lesser General Public License Version 2 or later ("LGPL") or the
* Common Development and Distribution License Version 1 or later
* ("CDDL") (collectively, the "License"). You may not use ... |
package uk.ac.kent.cs.kmf.quality;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import uk.ac.kent.cs.kmf.quality.metrics.Metric;
import uk.ac.kent.cs.kmf.util.ILog;
import uk.ac.kent.cs.kmf.util.OutputStreamLog;
import uk.ac.ukc.cs.kmf.kmfstudio.uml.Foundatio... |
package mktgbi.algorithm.util;
import mktgbi.dataio.Config;
import mktgbi.dataio.DataBin;
import java.util.logging.Logger;
import mktgbi.util.IllegalConfigException;
import org.rosuda.JRI.*;
/**
* The configuration to call R from Java
*
* 1) In R, run install.packages("rJava")
*
* 2) Set Environment variabl... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2019 <<EMAIL>>
*
* 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 u... |
/*
* $Id$
*/
/*
Copyright (c) 2000-2016 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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... |
/*
// Licensed to <NAME> under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// <NAME> licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except in
/... |
/*
* Copyright (C) 2015, SONATA-NFV, NEC
* ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
* Neither the name of the SONATA-NFV and NEC nor the names of
* its contributors may be used to endorse or promote products ... |
package webcrypt.math;
/**
* CODE BY <NAME>. Non-commercial use only!!!!
*/
import java.math.*;
import java.security.*;
public class ModMatrix {
//A ModMatrix is a 2D array of BigIntegers
BigInteger[][] array;
//Number of columns/rows recorded here
int numRows, numCols;
//The modulus of ... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, <NAME>
*
* Project Info: https://plantuml.com
*
* If you like this project or if you fin... |
package fr.mercury.combattag.utils.commands;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandMap;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginCommand;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukki... |
package com.hedera.hashgraph.identity.hcs.example.appnet.vc;
import com.google.common.hash.Hashing;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.hedera.hashgraph.identity.hcs.did.HcsDidRootKey;
import com.hedera.hashgraph.identity.utils.JsonUtils;
impor... |
/*
// This software is subject to the terms of the Eclipse Public License v1.0
// Agreement, available at the following URL:
// http://www.eclipse.org/legal/epl-v10.html.
// You must accept the terms of that agreement to use this software.
//
// Copyright (C) 2001-2005 <NAME>
// Copyright (C) 2004-2005 TONBELLER AG
// ... |
package us.icter.dirigentes;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.design.widget.FloatingActionButton;
import android.support.v... |
package ch.epfl.dlab.quootstrap;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.regex.Matcher;
/**
* This class defines a pattern used for representing regular expressions.
* In this context, a valid regular e... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
package burp;
import java.io.PrintWriter;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class BurpExtender implements IBurpExtender, IScannerCheck, IScannerInsertionPoin... |
package com.lancewu.imagepicker.util;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.pro... |
/*
* Copyright 2017 OICR
*
* 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 com.cyfxr.common.utils;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.math.RoundingMode;
... |
package com.netuitive.dropwizard.metrics;
import java.net.SocketException;
import java.util.Map;
import java.util.SortedMap;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.math.NumberUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.codahale.metrics.Counter;
import com... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package edu.wpi.first.math.geometry;
import edu.wpi.first.math.Matrix;
import edu.wpi.first.math.Nat;
/** A helper cla... |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... |
package seedu.delino.storage.order;
import static seedu.delino.model.parcel.parcelattributes.TimeStamp.NO_CHECK_FOR_TIMESTAMP_BEFORE_NOW;
import java.util.logging.Logger;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import seedu.delino.commons.core.LogsC... |
/*
* Copyright 2006-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package ru.xlv.config;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.internal.Primitives;
import java.io.*;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.re... |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... |
package aggressor.bridges;
import aggressor.AggressorClient;
import common.AddressList;
import common.CommonUtils;
import common.PowerShellUtils;
import common.RangeList;
import cortana.Cortana;
import dialog.DialogUtils;
import encoders.Base64;
import java.awt.event.ActionEvent;
import java.io.File;
import java.util.... |
/**
* 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 co.airy.core.sources.google;
import co.airy.avro.communication.Channel;
import co.airy.avro.communication.ChannelConnectionState;
import co.airy.avro.communication.DeliveryState;
import co.airy.avro.communication.Message;
import co.airy.avro.communication.Metadata;
import co.airy.kafka.schema.application.Appli... |
package razerdp.demo.base;
import android.text.TextUtils;
import android.util.Pair;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import io.reactivex.functions.Consumer;
import razerdp.demo.app.AppContext;
import razerdp.demo.base.interfaces.ExtSimpleCallback;
import razerdp.demo.utils.Fi... |
package io.github.opencubicchunks.cubicchunks.network;
import static io.github.opencubicchunks.cubicchunks.utils.Coords.cubeToSection;
import io.github.opencubicchunks.cubicchunks.chunk.IClientCubeProvider;
import io.github.opencubicchunks.cubicchunks.chunk.IBigCube;
import io.github.opencubicchunks.cubicchunks.chunk... |
/*******************************************************************************
* Copyright 2014-2021 <NAME> and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* h... |
package me.realized.tokenmanager.util.config;
import com.google.common.collect.LinkedListMultimap;
import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
... |
/*
* Copyright (c) 2001, <NAME>.
*
* This is part of SkunkDAV, a WebDAV client. See http://skunkdav.sourceforge.net/
* for the latest version.
*
* SkunkDAV 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 S... |
/*
* Copyright 2018 GoDataDriven B.V.
*
* 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 agre... |
package datawave.webservice.results.edgedictionary;
import java.io.IOException;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.b... |
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.lang.Math;
public class SearchTabu {
// Definir les villes
private static int nbVilles = 14;
public static... |
package com.lassi.presentation.cameraview.video;
import android.media.MediaFormat;
import android.media.MediaMuxer;
import android.os.Build;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import com.lassi.presentation.cameraview.utils.CameraLogger;
i... |
package com.cateringpartner.cyhb.mine;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.widget.GridLayoutManager;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflat... |
/*
* Copyright (C) 2015 Apptik Project
* Copyright (C) 2012 Square, 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
*
* Unle... |
package support;
import com.mysql.management.MysqldResource;
import com.mysql.management.MysqldResourceI;
import org.codehaus.plexus.util.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.SmartLifecycle;
import java.io.*;
import java.sql.*;
import java.util.HashMap... |
/****************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The ASF licenses this... |
/*
* Copyright (c) 2018-2019, BEPAL
* 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 condi... |
package cz.tomkren.utils;
import net.fishtron.utils.Checker;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
/**
* Vector čísel pro vektorový operace na číslech..
*/
public class Vec {
public static void main... |
/*
* Copyright 2014 8Kdata Technology
*
* 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 agre... |
package com.mmohamedali.self;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.util.Log;
import android.v... |
package com.geecommerce.guiwidgets.controller;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.core.Context;
import com... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package es.tid.bgp.bgp4Peer.bgp4session;
import es.tid.bgp.bgp4.messages.BGP4Message;
import es.tid.bgp.bgp4.messages.BGP4MessageTypes;
import es.tid.bgp.bgp4.messages.BGP4Update;
import es.tid.bgp.bgp4Peer.peer.BGP4Exception;
import es.tid.bgp.bgp4Peer.updateTEDB.UpdateDispatcher;
import org.slf4j.LoggerFactory;
imp... |
package np.tdfishers.model;
import java.util.List;
import java.util.Set;
import java.util.stream.Stream;
import java.util.stream.IntStream;
import sim.engine.SimState;
import sim.field.grid.DoubleGrid2D;
import sim.field.grid.SparseGrid2D;
import sim.util.Int2D;
import sim.util.MutableInt2D;
import static java.util.s... |
package com.techjar.ledcm.hardware.animation;
import com.flowpowered.noise.module.source.Perlin;
import com.techjar.ledcm.LEDCubeManager;
import com.techjar.ledcm.util.MathHelper;
import com.techjar.ledcm.util.Timer;
import com.techjar.ledcm.util.Util;
import com.techjar.ledcm.util.math.Vector3;
import java.util.Rand... |
package org.nypl.simplified.downloader.core;
import com.io7m.jfunctional.Option;
import com.io7m.jfunctional.OptionType;
import com.io7m.jfunctional.Unit;
import com.io7m.jnull.NullCheck;
import org.nypl.simplified.http.core.HTTPAuthType;
import org.nypl.simplified.http.core.HTTPRedirectFollower;
import org.nypl.simpl... |
package mrl_2021.extaction.clear;
import adf.agent.info.AgentInfo;
import adf.agent.info.ScenarioInfo;
import adf.agent.info.WorldInfo;
import mrl_2021.util.Util;
import mrl_2021.world.MrlWorldHelper;
import mrl_2021.world.entity.MrlRoad;
import mrl_2021.world.entity.Path;
import mrl_2021.world.helper.RoadHelper;
imp... |
package com.cyc.cat.common.url;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* URLString provides a very simple, structured representation of a URL.
* All portions of the URL remain editable.
*
* @author nwinant
*/
public class URLString implements Serializable {
// ... |
package org.zstack.portal.apimediator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.zstack.core.Platform;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.cloudbus.CloudBusCallBack;
import org.zstack.co... |
package tv.dotstart.mc.icbm.common.entity.explosives.gravity;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.datasync.DataParameter... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2010-2011,2015,2017-2018,2020 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... |
package sim.util;
import java.util.Arrays;
import java.util.stream.IntStream;
public class DoublePoint extends NdPoint {
private static final long serialVersionUID = 1L;
public final double[] c;
public DoublePoint(final double c[]) {
super(c.length);
this.c = Arrays.copyOf(c, nd);
}
public DoublePoint(fin... |
package hr.fer.zemris.java.raytracer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Consumer;
import hr.fer.zemris.java.raytracer.model.GraphicalObject;
import hr.fer.zemris.java.raytracer.model.LightSource;
import hr.fer.zemris.java.raytracer.model.Point3D;
imp... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.masterdb.engine.stats;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.time.Instant;... |
/*
* Copyright (c) 2020 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.repo.cache.global;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.schema.... |
package io.deephaven.client.impl;
import io.deephaven.qst.array.Array;
import io.deephaven.qst.array.BooleanArray;
import io.deephaven.qst.array.ByteArray;
import io.deephaven.qst.array.CharArray;
import io.deephaven.qst.array.DoubleArray;
import io.deephaven.qst.array.FloatArray;
import io.deephaven.qst.array.Generic... |
package com.pabferir.application;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
/**
* Implements an application that
* extracts mRNA sequences out of a given input.
... |
package com.outsystems.latency;
import android.app.Activity;
import android.content.Context;
import android.opengl.Visibility;
import android.os.Handler;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Transform... |
package trees.synchronization;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
/**
* Helper class which allows methods to be executed in an asynchronous mode.
* The result of these methods are made available through a {@link MonitorListener MonitorListener}.<p>
*
* If a brea... |
package org.jpokemon.pmapi.item;
import java.util.HashMap;
import org.jpokemon.pmapi.JPokemonError;
/**
* Defines a basic item. This class provides the most basic attributes that all
* items in a Pokémon game are likely to share. To create your own items, you
* have two options: (1) extend this class, or (2) mak... |
/*
* Copyright 2014, The Sporting Exchange Limited
* Copyright 2015, <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
*
* Un... |
package com.ifactory.press.db.solr.processor;
import java.io.IOException;
import java.util.List;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.NumericDocValues;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.search.TopDocs;
import ... |
/*
* Copyright (c) 2020 <NAME>
*/
package ma.vi.esql.parser.expression;
import ma.vi.esql.database.Structure;
import ma.vi.esql.function.Function;
import ma.vi.esql.parser.Context;
import ma.vi.esql.parser.Esql;
import ma.vi.esql.parser.Macro;
import ma.vi.esql.parser.query.Order;
import ma.vi.esql.type.Type;
impor... |
package net.zomis.minesweeper.analyze;
import net.zomis.minesweeper.analyze.listener.RuleListener;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
/**
* A constraint of a number of fields or {@link FieldGroup}s that should have a sum within a specific range... |
/*
* Copyright 2016 The CHOReVOLUTION 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 applicable l... |
package com.mbcdev.folkets;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
... |
/*******************************************************************************
* Copyright (c) 2017 <NAME> and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is availab... |
package com.harlie.radiotheater.radiomysterytheater.utils;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.TypedArray;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.RatingBar;
import android.widget.TextView;
... |
package magpie.optimization.algorithms;
import java.util.List;
import magpie.optimization.BaseOptimizer;
import java.util.TreeSet;
import magpie.data.BaseEntry;
import magpie.data.Dataset;
import magpie.models.BaseModel;
import magpie.models.regression.CompositeRegression;
/**
* An active learning scheme ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.