text stringlengths 3.08k 15.2k |
|---|
package ruina.monsters.act2;
import com.megacrit.cardcrawl.actions.animations.TalkAction;
import com.megacrit.cardcrawl.actions.common.RollMoveAction;
import com.megacrit.cardcrawl.actions.common.SpawnMonsterAction;
import com.megacrit.cardcrawl.actions.common.SuicideAction;
import com.megacrit.cardcrawl.cards.DamageI... |
/* ***** BEGIN LICENSE BLOCK *****
Version: Apache 2.0/GPL 3.0/LGPL 3.0
CCT - Computational Chemistry Tools
Jamberoo - Java Molecules Editor
Copyright 2008-2015 Dr. <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 o... |
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package es.upm.fi.dia.oeg.map4rdf.server.servlet;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.action.internal;
import java.io.Serializable;
import org.hi... |
package com.xyoye.dandanplay.ui.fragment;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.net.Uri;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v... |
/*
* SOL005 - NSD Management Interface
* SOL005 - NSD Management Interface IMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it refers to and has not been approved by the ETSI NFV ISG. In case of discrepancies the published ETSI Group Specification take... |
package com.AppointmentSystem.controller;
import com.AppointmentSystem.dto.EditPatientDto;
import com.AppointmentSystem.dto.ForgotPassDto;
import com.AppointmentSystem.dto.PatientLoginDto;
import com.AppointmentSystem.dto.PatientRegDto;
import com.AppointmentSystem.model.Appointment;
import com.AppointmentSystem.servi... |
package magicbees.util;
import com.google.common.base.Strings;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
import magicbees.MagicBees;
import magicbees.api.module.*;
import magicbees.elec332.cor... |
/*
* (C) Copyright IBM Corp. 2012, 2016 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 re... |
/**
* Copyright 2019 the original author or authors.
* <p>
* Licensed to the IBESTCODE under one or more agreements.
* The IBESTCODE licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
package cn.ibestcode.easiness.sendsms.submail.provider;
import... |
package space.samatov.mmatoday.model;
import android.os.Parcel;
import android.os.Parcelable;
public class FighterStats implements Parcelable {
private long mFighterId;
private String mFirst;
private String mLast;
private String mFrom;
private String mFightsOutOf;
private String mHeight;
... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
package edu.ucla.cs.maple.fix;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import edu.ucla.cs.model.APICall;
import edu.ucla.cs.model.APISeqItem;
import edu.ucla.cs.model.CATCH;
import edu.ucla.cs.model.ControlConstruct;
public class FixGenerator {
final String inde... |
package org.gluu.casa.plugins.authnmethod.service;
import com.fasterxml.jackson.core.type.TypeReference;
import com.lochbridge.oath.otp.keyprovisioning.OTPKey;
import org.gluu.casa.core.model.PersonOTP;
import org.gluu.casa.core.pojo.OTPDevice;
import org.gluu.casa.misc.Utils;
import org.gluu.casa.plugins.authnmethod.... |
/*
* 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 NotDoom;
import NotDoom.Map.*;
import NotDoom.Renderer.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import javax.imageio.ImageIO;
import javax.swing.*;... |
/*
Derby - Class org.apache.derbyTesting.functionTests.tests.upgradeTests.UpgradeClassLoader
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 thi... |
// Date: 7/25/2014 2:47:35 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX
package com.raizunne.miscellany.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity... |
package com.example.fond.fragments;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.wi... |
/*
* Copyright Terracotta, 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 ... |
package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Font;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.s... |
package com.azheng.mycalendar;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import andro... |
package com.ethendev.wopihost.service;
import com.ethendev.wopihost.controller.WopiHostController;
import com.ethendev.wopihost.entity.FileInfo;
import com.ethendev.wopihost.entity.WopiRequestHeader;
import com.ethendev.wopihost.entity.WopiStatus;
import org.apache.tomcat.util.codec.binary.Base64;
import org.slf4j.Log... |
/*
* 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 ca.cmbs.poker.game.component.hand;
import ca.cmbs.poker.game.Game;
import ca.cmbs.poker.game.action.HandAction;
import ca.cmbs.poker.game.component.betting.BettingRounds;
import ca.cmbs.poker.game.component.betting.BlindLevel;
import ca.cmbs.poker.game.component.betting.Pot;
import ca.cmbs.poker.game.component... |
package com.oloba.core.db;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.... |
/*
* FirstAid
* Copyright (C) 2017-2020
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... |
/*
* Copyright (C) 2015 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 net.opengrabeso.glg2d;
import com.github.opengrabeso.jaagl.GL2GL3;
import net.opengrabeso.glg2d.impl.shader.GLShaderGraphics2D;
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import org.lwjgl.system.*;
import javax.swing.*;
import java.awt.*;
import java.awt.peer.ComponentPeer;
import java.nio.*;
import... |
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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 systems.rcd.enonic.datatoolbox;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.function.Supplier;
import org.apache.commons.lang.StringEscapeUtils;
... |
/*
* Copyright 2009-2016 European Molecular Biology Laboratory
*
* 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... |
/*
* Copyright 2020-2022 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 c19429514;
import ie.tudublin.Visual;
import ie.tudublin.VisualException;
public class AndrewsVisual extends Visual {
boolean[] keys = new boolean[1024];
float theta;
float speed, brightness, saturation; // Control particle attributes via frequencies
Particle[] particles = new Particle[500]; /... |
/*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2004, <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your... |
/*
* Copyright (c) 2018, <NAME> (http://github.com/slgobinath) All Rights Reserved.
*
* Gobinath 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. In addition, if you are using
* this file in your research work, yo... |
package de.wellenvogel.avnav.mdns;
import org.json.JSONException;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.InterfaceAddress;
import java.net.NetworkInterface;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.u... |
import com.google.gson.Gson;
import exceptions.ApiException;
import models.Department;
import models.DepartmentNews;
import models.GeneralNews;
import models.User;
import java.util.HashMap;
import java.util.Map;
import static spark.Spark.*;
public class App {
static int getHerokuAssignedPort() {
Process... |
package com.github.villanianalytics.unsql.extract;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Patter... |
/*
Copyright (c) 2005, Center for Computational Sciences, University of Kentucky. All rights reserved.
Developed by:
Center for Computational Sciences, University of Kentucky
http://www.ccs.uky.edu/
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated docum... |
/*
* Copyright (c) 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 a... |
package net.vi.ashrunica.client.render;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.voxelindustry.brokkgui.paint.Color;
import org.lwjgl.opengl.GL11;
public class RenderHelper
{
... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.component;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
* @author bratseth
*/
... |
package com.gzxant.common.service.message;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.gzxant.common.entity.config.SysConfig;
import com.gzxant.common.entity.message.MchuanMessage;
import com.gzxant.common.entity.message.MchuanMessageParams;
import com.gzxant.common.entity... |
/*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... |
/*
* Copyright 2019 WeBank
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
package org.dataone.client.rest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.lang.reflect.In... |
package wyf.tzz.lta;
import android.app.Activity;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.SoundPool;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.v... |
package expreal.erElements;
import simplenlg.features.*;
import simplenlg.framework.*;
import simplenlg.lexicon.Lexicon;
import simplenlg.phrasespec.NPPhraseSpec;
import simplenlg.phrasespec.PPPhraseSpec;
import simplenlg.phrasespec.SPhraseSpec;
import java.util.HashMap;
import java.util.Map;
/**
* This class exten... |
/*
* Copyright 2018 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Lisensed 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 io.compgen.cgpipe.loader;
import io.compgen.cgpipe.CGPipe;
import io.compgen.cgpipe.exceptions.ASTParseException;
import io.compgen.common.StringUtils;
import io.compgen.common.codec.Hex;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import jav... |
package frc.robot.subsystem.shooter;
import com.revrobotics.CANSparkMax;
import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.math.util.Units;
import edu.wpi.first.util.sendable.SendableBuilder;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import frc.robot.Constants;
import frc.robo... |
package kafka.admin;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.I0Itec.zkclient.ZkClient;
import org.I0Itec.zkclient.exception.ZkNodeExistsException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.fastjson.JSONArray;
import ... |
package gov.nasa.pds.tools.util;
import java.io.File;
import java.io.RandomAccessFile;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A class that validate if these image files {JPEG, PNG) files are valid.
*/
public cla... |
package de.ellpeck.actuallyadditions.common.config.values;
import de.ellpeck.actuallyadditions.common.config.ConfigCategories;
public enum ConfigStringListValues {
CONFIGURE_ITEMS(
"Configuration Items",
ConfigCategories.OTHER,
new String[] { "minecraft:redstone_torch", "minec... |
package com.inqool.oai.provider.formats;
import com.inqool.oai.provider.datasource.OaiDataSource;
import com.inqool.oai.provider.exception.CannotDisseminateFormatPmhException;
import com.inqool.oai.provider.exception.IdDoesNotExistPmhException;
import com.inqool.oai.provider.exception.NoRecordsMatchPmhException;
impor... |
package org.firstinspires.ftc.teamcode.Teleop;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.rev.RevBlinkinLedDriver;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
impo... |
package snownee.kiwi.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.DoorBlock;
import net.minecraft.block.PressurePlateBlock;
import net.minecraft.block.SaplingBlock;
import net.minecraft.block.SoundType;
import net.minecraft.block.TrapDoorBlock;
import net.m... |
package com.humanharvest.organz.controller.components;
import static com.humanharvest.organz.utilities.DurationFormatter.getFormattedDuration;
import java.time.Duration;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import javafx.geometry.Insets;
import javafx.scene.layout.Backgr... |
/*
* 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 tech.berty.gobridge.bledriver;
import android.annotation.SuppressLint;
import android.app.Application;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothManager;
import android.bluetooth.le.... |
package net.floodlightcontroller.core.test;
import java.util.ArrayList;
import java.util.List;
import net.floodlightcontroller.util.MACAddress;
import net.onrc.onos.core.packet.DHCP;
import net.onrc.onos.core.packet.DHCPOption;
import net.onrc.onos.core.packet.Ethernet;
import net.onrc.onos.core.packet.IPv4;
import n... |
// EncodePanel
// Panel for encoding messages, split off from the main function
package src;
// Swing/AWT elements
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Random; // Random rotations for encoding
// Assigning checkbox icons
import java.io.File;
import java.io.IOException;... |
/*
* Copyright (c) 2016, marlonlom
*
* 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 ... |
/*
* 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 2016 andryr
*
* 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.nts.iot.modules.system.rest;
import cn.hutool.http.HttpUtil;
import com.nts.iot.modules.miniApp.model.IllegalReport;
import com.nts.iot.modules.miniApp.model.Picture;
import com.nts.iot.modules.miniApp.service.IllegalReportService;
import com.nts.iot.modules.miniApp.service.PictureService;
import com.nts.... |
/*
* Copyright 2015-2020 <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 com.github.dabasan.jxm.bd1;
import org.joml.Matrix4f;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
/**
* Test BD1Manipulator
*
* @author Daba
*/
public class BD1ManipulatorTest {
private final String TARGET_DIR = "... |
/**
* $Id: LinkedByteBufferList.java 1831 2013-05-16 01:39:51Z shijia.wxr $
*/
package com.alibaba.rocketmq.research.rpc;
import java.nio.ByteBuffer;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 针对写优化的ByteBuffer序列
*
* @author shijia.wxr<<EMAIL>>
*/
p... |
package net.minecraft.world.item.trading;
import net.minecraft.nbt.GameProfileSerializer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.MathHelper;
import net.minecraft.world.item.ItemStack;
import org.bukkit.craftbukkit.inventory.CraftMerchantRecipe; // CraftBukkit
public class MerchantRecipe {... |
package org.ogerardin.b2b.api;
import com.google.common.collect.MoreCollectors;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.ogerardin.b2b.B2BException;
import org.ogerardin.b2b.domain.entity.BackupSet;
import org.ogerardin.b2b.domain.entity.PeerSource;
import org.ogerardin... |
/**
* 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 frc.lib.util;
import edu.wpi.first.wpilibj.Filesystem;
import edu.wpi.first.wpilibj.RobotBase;
import edu.wpi.first.wpilibj.Timer;
import frc.lib.exceptions.DirectoryNotFoundException;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.lang.reflect.Array;
import... |
/**
* Copyright (c) 2006, 2007, 2008 <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and others.
*
* This file is part of Crystal.
*
* Crystal is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Softwa... |
/**
* JHOVE2 - Next-generation architecture for format-aware characterization
*
* Copyright (c) 2009 by The Regents of the University of California,
* Ithaka Harbors, Inc., and The Board of Trustees of the Leland Stanford
* Junior University.
* All rights reserved.
*
* Redistribution and use in source a... |
package com.github.myibu.algorithm.compress;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.nio.charset.StandardCharsets;
/**
* LZF compress algorithm
* @author myibu
* Created on 2021/10/11
*/
public class LZFCompressor implements Compressor {
private static final int LZF_HSLOT_BIAS ... |
package com.zarbosoft.merman.core.display.derived;
import com.zarbosoft.merman.core.Context;
import com.zarbosoft.merman.core.display.Drawing;
import com.zarbosoft.merman.core.display.DrawingContext;
import com.zarbosoft.merman.core.syntax.style.ObboxStyle;
import com.zarbosoft.merman.core.visual.Vector;
import com.za... |
package com.nylas.examples.other;
import java.io.IOException;
import java.time.Instant;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.temporal.ChronoUnit;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import com.nylas.*;
import com.n... |
package in.dream_lab.nifi.etl.processors;
import java.io.*;
import java.sql.Timestamp;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;
import in.dream_lab.nifi.etl.processors.attributes.ExperimentAttributes;
import jdk.nashorn.internal.runtime.Property;
import org.apache.commons.io.IOUtils;
im... |
/*
* Copyright 2012 eHarmony, 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 ... |
package de.onyxbits.bureauengine.screen;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.audio.Music;
import com.badlogic.g... |
package main.java.controller;
import java.util.ArrayList;
import java.util.regex.Pattern;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import main.java.gui.EditRulePopup;
import main.java.model.CodeQualityRule;
import main.java.model.Metric;
/**
* ... |
package net.minecraft.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.PositionedSoundRecord;
import net.minecraft.client.audio.SoundHandler;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
public class Gu... |
package org.firezenk.naviganto.library;
import javax.annotation.Nonnull;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
/**
* Project: Naviganto
*
* Created by <NAME>, aka firezenk on 26/10/16.
* Copyright © <NAME> 2016
*/
public class Naviganto<C> implements INaviganto<C> {
... |
package org.zerock.controller;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.nio.file.Files;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.u... |
/**
* MIT License
* *
* Copyright (c) 2017-2018 nuls.io
* *
* 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... |
/**
* Copyright (c) 2015, <NAME>. All rights reserved.
* License terms are in the included LICENSE.txt file.
*/
package engine.rendering;
import java.io.IOException;
import engine.util.Util;
/**
* A texture storing lighting information.
*
* @author <NAME> (<EMAIL>)
*/
public class LightMap {
private final ... |
package jungle68.com.library.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Build;
import android.os.Handler;
import android.support.annotation.Nullable;
import andr... |
/*
* Copyright (C) 2018 <NAME>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the MIT License.
*/
package gui.model;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
import java.io.IOException;
import java.text.... |
/*
* Copyright 2016 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package com.checkmarx.intellij.tool.window.actions.selection;
import com.checkmarx.ast.scan.Scan;
import com.checkmarx.intellij.Bundle;
import com.checkmarx.intellij.Constants;
import com.checkmarx.intellij.Resource;
import com.checkmarx.intellij.Utils;
import com.intellij.openapi.actionSystem.AnAction;
import com.int... |
//
// Copyright (C) 2010-2011 <NAME>
// Copyright (C) 2016 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... |
/*
* Copyright (c) 2018 Project Nayuki
* https://www.nayuki.io/page/smallest-enclosing-circle
*
* Modified 2019 <NAME>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation,... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... |
package omicron.demo.retrodrawing;
import java.util.Stack;
import com.github.msx80.omicron.api.Game;
import com.github.msx80.omicron.api.Pointer;
import com.github.msx80.omicron.api.Sys;
import com.github.msx80.omicron.api.SysConfig;
import com.github.msx80.omicron.api.SysConfig.VirtualScreenMode;
import com.github.... |
/*
* [New BSD License]
* Copyright (c) 2011-2012, Brackit Project Team <<EMAIL>>
* 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 ab... |
/*
* MIT License
*
* Copyright (c) 2016 Alibaba Group
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.