text stringlengths 3.08k 15.2k |
|---|
package de.jowisoftware.rpgsoundscape.player.sample.resolvers.youtubedl;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.jowisoftware.rpgsoundscape.player.sample.SampleCache;
import de.jowisoftware.rpgsoundscape.player.sample.resolvers.AbstractCaching... |
/*
* Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... |
package io.github.movementspeed.nhglib.graphics.shaders.tiled;
import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.math.Frustum;
import com.badlogic.gdx.math.Plane;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.IntArray;
public class L... |
package com.cronutils.model.time.generator;
import org.threeten.bp.DayOfWeek;
import org.threeten.bp.LocalDate;
import com.cronutils.mapper.ConstantsMapper;
import com.cronutils.mapper.WeekDay;
import com.cronutils.model.field.CronField;
import com.cronutils.model.field.CronFieldName;
import com.cronutils.mode... |
package com.changgou.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.changgou.entity.Amount;
import com.changgou.pay.pojo.Pay;
import com.changgou.service.WeixinPayService;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
... |
/*
* Copyright 2020 Rapidw
*
* 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 org.jzy3d.plot3d.primitives.axes;
import java.util.ArrayList;
import java.util.List;
import org.jzy3d.colors.Color;
import org.jzy3d.maths.BoundingBox3d;
import org.jzy3d.maths.Coord3d;
import org.jzy3d.painters.IPainter;
import org.jzy3d.painters.IPainter.Font;
import org.jzy3d.plot3d.primitives.axis.AxeAnno... |
package edu.cloudy.clustering;
import edu.cloudy.layout.WordGraph;
import edu.cloudy.nlp.Word;
import edu.cloudy.nlp.ItemPair;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
/**
* @author spupyrev
* Nov 28, 2013
*/
public... |
package componentes;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
public class Figura {
//Atributos
final private BufferedImage minoSurface;
private int[][] coordenadas;
final private Tablero tab; //para poder usar las coordenadas
private int desplazamientoX = 0;
private Dup... |
package se.mickelus.tetra.generation;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.platform.GlStateManager;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.renderer.*;
import net.minecraft.client.renderer.debug.DebugRenderer;
import net.minecraft.client.renderer.... |
// List.java
// $Id$
/*****************************************************************************
* The contents of this file are subject to the Ricoh Source Code 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 ... |
package com.codepath.apps.restclienttemplate;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import android.an... |
package io.dkgj.modules.sys.controller;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.*;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.dkgj.common.utils.*;
import io.dkgj.common.validator.Validat... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2013 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 subject... |
package brickhouse.udf.timeseries;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import junit.framework.Assert;
import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org... |
package org.solrmarc.callnum;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.regex.Matcher;
import org.junit.Before;
import org.junit.Test;
/**
* Exercise the {@code LCCallNumber} class from the command line.
* Illustrates parsing a shelf key construction.
* Useful for d... |
package de.hhu.propra16.tddt.trainer;
import de.hhu.propra16.tddt.sourcecode.SourceCode;
import de.hhu.propra16.tddt.sourcecode.SourceCodeComparator;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
im... |
package tech.tablesaw.filters;
import com.google.common.base.Stopwatch;
import com.google.common.collect.Range;
import com.google.common.collect.RangeSet;
import com.google.common.collect.TreeRangeSet;
import it.unimi.dsi.fastutil.ints.IntArrayList;
import tech.tablesaw.api.CategoryColumn;
import tech.tablesaw.api.Dat... |
package denominator.route53;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.crypto.Mac;
import 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 may ... |
/*
* Copyright (c) 2016. <NAME>
*
* Licensed under the CreativeCommons Attribution-ShareAlike
* 4.0 International License. You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
* Unless requir... |
/**
* Copyright (c) 2009 Perforce Software. All rights reserved.
*/
package com.perforce.team.ui.changelists;
import com.perforce.team.core.p4java.IP4Changelist;
import com.perforce.team.ui.P4UIUtils;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.tex... |
package umut.gourmatch;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.os.H... |
package com.platform.api;
import com.github.pagehelper.PageHelper;
import com.platform.annotation.LoginUser;
import com.platform.entity.SysPrinterUserVo;
import com.platform.entity.SysPrinterVo;
import com.platform.entity.UserVo;
import com.platform.entity.XetYqmVo;
import com.platform.printer.yly.Methods;
import com.... |
package com.aminebag.larjson.blueprint;
import com.aminebag.larjson.resource.ResourceFactory;
import com.aminebag.larjson.utils.ByteBufferUtils;
import com.aminebag.larjson.utils.TemporaryFileFactory;
import java.io.Closeable;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import j... |
/*
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
Unless required by applicable law or agreed to in writing, sof... |
/*
* Copyright 2007-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 ... |
/*
*
* PROJECT
* Name
* APS APIs
*
* Code Version
* 1.0.0
*
* Description
* Provides the APIs for the application platform services.
*
* COPYRIGHTS
* Copyright (C) 2012 by Natusoft AB All rights reserved.
*
* LICENSE
* Apache 2.0 (Open Source)
*
* Licens... |
/*
* Copyright 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the repository root.
package com.microsoft.tfs.client.eclipse.tpignore;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Inpu... |
package lsl.com.getphoneiptest.service;
import android.annotation.SuppressLint;
import android.app.Service;
import android.content.Intent;
import android.os.Environment;
import android.os.IBinder;
import android.widget.Toast;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import jav... |
/**
* Sapelli data collection platform: http://sapelli.org
*
* Copyright 2012-2016 University College London - ExCiteS group
*
* 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 com.norwand.game.utility.objects;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.utils.Disposable;
import com.norwand.game.utility.PixmapUtility;
/**
* Represents a font using textures. All of the letters are inside 8*8 Pixmap
* objects.
*/
public class BitmapFont implements Disposable {
... |
/*******************************************************************************
* Copyright 2020 Pinterest, 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.apac... |
package com.wlcb.jpower.module.config.interceptor;
import com.wlcb.jpower.module.common.utils.ClassUtil;
import com.wlcb.jpower.module.common.utils.DateUtil;
import com.wlcb.jpower.module.common.utils.ExceptionsUtil;
import com.wlcb.jpower.module.common.utils.Fc;
import com.wlcb.jpower.module.common.utils.constants.S... |
package com.example.bluetoothcontroller;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothServerSocket;
import android.bluetooth.BluetoothSocket;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log... |
package com.hewking.widget.hencoder;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
im... |
/*
* Copyright 2018-2019 <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 t... |
package blue.internal.jdbc.util;
import blue.core.dict.DictParser;
import blue.core.dict.Dictionary;
import blue.core.util.BeanUtil;
import blue.internal.jdbc.parser.CacheEntity;
import blue.internal.jdbc.parser.CacheMapper;
import blue.internal.jdbc.parser.CacheVersion;
import blue.internal.jdbc.parser.ParserCache;
i... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009 Red Hat Inc. and/or its affiliates and other
* contributors as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a full listing of
* individual contributors.
*
* This is free software; you can redistri... |
/**
* Copyright 2017 <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 w... |
package org.aldous.http;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Implements handlers for Requests a... |
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it un... |
package me.mrxbox98.advancedflags.flags;
import me.mrxbox98.advancedflags.AdvancedFlags;
import me.mrxbox98.advancedflags.LogHelper;
import me.mrxbox98.advancedflags.config.AdvancedConfig;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import java.io.IOException;
import java.util.ArrayList;
import java.... |
/*
* Copyright (c) 2020. <NAME>
*/
package com.github.kossy18.service.importer.xml;
import com.github.kossy18.service.importer.EntityInfo;
import com.github.kossy18.service.importer.Property;
import com.github.kossy18.service.importer.converters.CellConverter;
import com.github.kossy18.service.importer.converters.P... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Kneelawk
*
* 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, cop... |
package com.coin.exchange.view;
import android.content.Intent;
import android.os.Build;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.content.ContextCom... |
package ru.justnanix.wave.parser;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import ru.justnanix.wave.Wave;
import ru.justnanix.wave.utils.FindUtils;
import ru.justnanix.wave.utils.Options;
import ru.justnanix.wave.utils.ThreadUti... |
package ai.knowledge_representation.state_instance;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
impo... |
package UI;
import Client.UserActivity;
import Model.User;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class RegisterPanel extends JPanel {
public RegisterPanel(MyFrame frame) {
this.frame = frame;
W = frame.getWidth();
... |
/*
* Swift Parallel Scripting Language (http://swift-lang.org)
* Code from Java CoG Kit Project (see notice below) with modifications.
*
* Copyright 2005-2014 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
package codechicken.enderstorage.storage.item;
import codechicken.enderstorage.api.EnderStorageManager;
import codechicken.enderstorage.common.EnderStorageRecipe;
import codechicken.enderstorage.storage.liquid.EnderLiquidStorage;
import codechicken.lib.render.CCRenderState;
import cpw.mods.fml.relauncher.Side;
import ... |
package io.etrace.api.config;
import com.google.common.collect.Lists;
import io.etrace.api.consts.RoleType;
import io.etrace.api.filter.UserAuthenticationFilter;
import io.etrace.api.service.UserRoleService;
import io.etrace.api.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.s... |
/*
* Copyright 2015 lixiaobo
*
* VersionUpgrade project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/**
* 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 jng.actions.sound;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.Sound;
import org.newdawn.slick.geom.Vector2f;
import org.newdawn.slick.state.StateBasedGame;
import eea.engine.action... |
package eu.billyinc.mineralcontest;
import eu.billyinc.mineralcontest.model.MineralContestChest;
import eu.billyinc.mineralcontest.model.MineralContestPlayer;
import eu.billyinc.mineralcontest.model.MineralContestTeam;
import eu.billyinc.mineralcontest.utils.FastBoard;
import org.bukkit.Bukkit;
import org.bukkit.ChatC... |
package com.android.icore;
import android.util.Log;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/**
* 字节数组工具类
*/
public class BytesTransfer {
private final static String TAG = "ChildNode";
//java 合并两个byte数组
public static byte[] byteMerger(byte[] byte_1, byte[] byte_2) {
byte[] byte... |
package org.meteogroup.griblibrary.grib2;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import java.util.ArrayList;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.meteogroup.griblibrary.decoder.bou... |
import java.awt.Component;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Comparator;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.Obfus... |
package com.project.hellonepal;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullabl... |
package uno.controllers;
import uno.Attribute;
import uno.Deck;
import uno.cards.Card;
import uno.players.AIPlayer;
import uno.players.Player;
import uno.players.RealPlayer;
import uno.frontend.Interactions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import ja... |
/*
* Distributed under the MIT license (see LICENSE.txt or https://opensource.org/licenses/MIT).
*/
package org.wmn4j.mir.discovery;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit... |
package com.hubcap.utils;
/*
* #%L
* HubCap-Core
* %%
* Copyright (C) 2016 decoded4620
* %%
* 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 lim... |
package agents;
import platform.Log;
import utils.Pair;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Elevator extends Stepper {
/**
*
*/
private static final long serialVersionUID = -5573356049624076012L;
public static int T_DOORS = -1;
public st... |
/*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package de.rngcntr.janusbench.util;
import de.rngcntr.janusbench.backend.Connection;
import de.rngcntr.janusbench.backend.configuration.Configuration;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import org.apache.tinkerpop.gremlin... |
package net.ssehub.easy.instantiation.java.artifacts;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.Expression;
import org.eclipse.jdt.core.dom.FieldDeclaration;
import org.eclipse.jdt.core.dom.IExtendedModifier;
import org.eclipse.jdt.core... |
/* Copyright 2004-2007 <NAME>, DedaSys 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 writing, sof... |
package com.fwkj.apt;
import com.fwkj.annotation.FPermission;
import com.google.auto.service.AutoService;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeSpec;
import java.io.IOException;
import java.util.ArrayLis... |
package com.example.Net;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOE... |
package com.kodilla.sodoku;
import lombok.AccessLevel;
import lombok.Getter;
import java.util.ArrayDeque;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
@Getter(AccessLevel.PACKAGE)
final class Processor {
static final int SUDOKU_SIZE = 9;
static final int BOARD_SECTOR_SIZE = 3;
... |
/* ========================================================================
* 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 com.synstorm.SimulationModel.CellFunctionalComponents;
import com.synstorm.SimulationModel.Containers.ModelContainer;
import com.synstorm.SimulationModel.SimulationIdentifiers.ObjectIds.CellId;
import com.synstorm.SimulationModel.Synapses.Synapse;
import com.synstorm.common.Utils.Annotations.Classes.Model_v0;
... |
package Interfaces;
import Props.Participante;
import Props.Convite;
import java.util.Random;
import Utils.Utils;
import DataBase.*;
/*
Classe responsável pelo gerenciamento do banco de dados de participantes e algumas de suas,
operações que não dependem de outros gerenciadores.
*/
public class Participant... |
/*
* MIT License
*
* Copyright (c) 2018 i4one Interactive, LLC
*
* 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 us... |
package com.csvtosql.salesforce.dataworks.controller;
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.HashMap;
import java.util.List;
import java.util.M... |
package org.paasta.container.platform.api.storages.persistentVolumes;
import org.paasta.container.platform.api.common.*;
import org.paasta.container.platform.api.common.model.CommonResourcesYaml;
import org.paasta.container.platform.api.common.model.ResultStatus;
import org.paasta.container.platform.api.storages.persi... |
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.OptionBuilder;
import org.apache.commons.cli.Options;
import org.apache.kafka.clients.producer.KafkaProduc... |
package com.archyx.aureliumskills.loot;
import com.archyx.aureliumskills.AureliumSkills;
import com.archyx.aureliumskills.util.file.FileUtil;
import com.archyx.aureliumskills.util.text.TextUtil;
import org.apache.commons.lang.math.NumberUtils;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.c... |
package com.rohan.dsa.foundations.graph.sssp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/*
* Data structure to support following operations
* extractMin - O(logn)
* addToHeap - O(logn)
* containsKey - O(1)
* decreaseKey - O(logn)
* getKeyWeight - O(1)
*
... |
package com.tillchen.jstore;
import androidx.annotation.NonNull;
import androidx.appcompat.widget.Toolbar;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import and... |
/* Class303 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
final class Class303 implements Interface11 {
private Interface22[] anInterface22Array4075;
private Class163 aClass163_4076;
static int anInt4077;
static int anInt4078;
private boolean aBool4079;
static int anInt4080;
static int anInt408... |
package com.bergerkiller.bukkit.tc.properties;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.berg... |
package edu.cmu.hcii.whyline.source;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
import edu.cmu.hcii.whyline.source.JavaParser.TokenIterator;
import edu.cmu.hcii.whyline.source.Token.PairedToken;
import static edu.cmu.hcii.whyline.source.JavaParserConstants.*;
/**
*
* @author <NAME... |
/*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 <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, cop... |
package in.xnnyygn.concurrent.lock;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicStampedReference;
@SuppressWarnings("Duplicates")
public class CompositeLock {
private static final i... |
package LinkedList;
import java.util.*;
public class LinkedList {
public static Node<Integer> takeInput(){
Node<Integer> head=null,tail=null;
Scanner o=new Scanner(System.in);
int data=o.nextInt();
while(data!=-1) {
Node<Integer> newnode=new Node<Integer>(data);
if(head==null) {
head=newnode;
ta... |
package org.xmlpull.v1.builder;
import java.util.Iterator;
import org.xmlpull.v1.XmlPullParserException;
/**
* Represents
* <a href="http://www.w3.org/TR/xml-infoset/#infoitem.element">Element Information Item</a>
* except for in-scope namespaces that can be reconstructed by visiting this element parent,
* checki... |
package com.mason.seor.persistence;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
@Table(name="r2")
pu... |
package entsdksamples.soe;
/*
COPYRIGHT 2020 ESRI
TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
Unpublished material - all rights reserved under the
Copyright Laws of the United States and applicable international
laws, treaties, and conventions.
For additional information, contact:
Environmental Systems Researc... |
package com.jeffbrower.http;
public enum Status {
// 1xx Informational
CONTINUE(100),
SWITCHING_PROTOCOLS(101),
PROCESSING(102),
EARLY_HINTS(103),
CHECKPOINT(103),
REQUEST_URI_TOO_LONG(122, "Request-URI Too Long"),
// 2xx Success
OK(200, "OK"),
CREATED(201),
ACCEPTED(202),
NON_AUTHORITATIVE_IN... |
package headfuck;
import java.io.InputStream;
import java.io.OutputStream;
import headfuck.bf.BrainFuck;
import headfuck.lists.CellList;
import headfuck.lists.ShortList;
import headfuck.util.ErrorHelper;
import headfuck.util.ErrorHelper.Errors;
import headfuck.vars.Func;
import headfuck.vars.VarMap;
impor... |
/**
*
*/
package org.irods.jargon.datautils.filesampler;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import org.apache.commons.io.IOUtils;
import org.irods.jargon.core.connection.IRODSAccount;
i... |
/**************************************************************************
* Hydra: multi-headed version control system
* (originally for the alpha-Flow project)
* ==============================================
* Copyright (C) 2009-2012 by
* - <NAME> (http://www.chr15t0ph.de)
* - <NAME>
*******************... |
package cz.muni.ics.perunproxyapi.ga4gh.model.config;
import com.fasterxml.jackson.annotation.JsonAlias;
import cz.muni.ics.perunproxyapi.ga4gh.model.ClaimRepository;
import cz.muni.ics.perunproxyapi.ga4gh.model.Signer;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lomb... |
package controller;
import java.io.IOException;
import java.util.Scanner;
import java.util.*;
import model.*;
/**
*
* This Controller class manages the display format of the list of movies for the moviegoer.
* It sorts the movies based on the overall ratings or by the total sales.
*
*
*/
public class Moviegoer... |
package edu.upf.glicom.uima.babelfy;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringReader;
import java.net.URLEncoder;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.client.Client;
import javax.ws.rs.clien... |
package cz.wake.manager.perks.general;
import co.aikar.commands.BaseCommand;
import co.aikar.commands.CommandHelp;
import co.aikar.commands.annotation.CommandAlias;
import co.aikar.commands.annotation.Default;
import co.aikar.commands.annotation.Description;
import co.aikar.commands.annotation.HelpCommand;
imp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.