text stringlengths 3.52k 24k |
|---|
/*-
* Copyright (c) 2012-2020 Red Hat, 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 o... |
/**
* 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 agreed to in wri... |
/*
* Copyright (c) 2010-2017 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.prism.util;
import com.evolveum.midpoint.prism.*;
import com.evolveum.midpoint.util.DebugDumpable;... |
package com.sree.textbytes.readabilityBUNDLE.extractor;
import com.sree.textbytes.StringHelpers.StopWords;
import com.sree.textbytes.StringHelpers.WordStats;
import com.sree.textbytes.readabilityBUNDLE.AddSiblings;
import com.sree.textbytes.readabilityBUNDLE.Article;
import com.sree.textbytes.readabilityBUNDLE.Pattern... |
/*******************************************************************************
* Copyright (C) 2017, <NAME>, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistribution... |
/*
* This file is part of ClassGraph.
*
* Author: <NAME>
*
* Hosted at: https://github.com/classgraph/classgraph
*
* --
*
* The MIT License (MIT)
*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation f... |
/*
* 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) 1999-2005 The Institute for Genomic Research (TIGR).
* Copyright (c) 2005-2008, the Dana-Farber Cancer Institute (DFCI),
* J. Craig Venter Institute (JCVI) and the University of Washington.
* All rights reserved.
... |
package lt.marius.converter.chartview;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Paint;
import com.j256.ormlite.dao.RuntimeExceptionDao;
import com.j256.ormlite.stmt.QueryBuilder;
import com.j256.ormlite.stmt.Where;
import java.sql.SQLException;
import java.util.ArrayList... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.barberia66Server.bean.specificImplementation;
import com.google.gson.annotations.Expose;
import java.sql.Connectio... |
package frc.robot.Subsystem.drive;
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import frc.io.hdw_io.IO;
import frc.util.PIDXController;
/**
* This is the super class for Drv_Auto & Drv_Teleop.
* <p>Handles common variables & methods.
* <p>All co... |
import ij.CompositeImage;
import ij.IJ;
import ij.ImagePlus;
import ij.WindowManager;
import ij.measure.Calibration;
import ij.process.ImageProcessor;
import ij.process.LUT;
import imagescience.image.Image;
import imagescience.utility.I5DResource;
import imagescience.utility.ImageScience;
import java.awt.image.ColorMod... |
package org.wwarn.surveyor.client.mvp.view.table;
/*
* #%L
* SurveyorCore
* %%
* Copyright (C) 2013 - 2014 University of Oxford
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of sou... |
package JavaFXUI.BoardTile.BoardTileControllers;
import JavaFXUI.Model;
import bottom.Player;
import bottom.Slot;
import bottom.Unit;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx... |
package be.uliege.uce.smartgps.utilities;
import android.app.Application;
import android.os.CountDownTimer;
import android.util.Log;
import com.android.volley.Cache;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Network;
import com.android.volley.Request;
import com.android.volley.RequestQue... |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* 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 ... |
/*
* Copyright 2002 <NAME>. All rights reserved.
* Use is subject to license terms.
*/
package info.joriki.awt.image.jpeg;
import java.io.IOException;
import java.io.OutputStream;
import java.io.DataOutputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import info.joriki.io.Writ... |
/*
* Copyright 2016 Crown Copyright
*
* 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... |
package com.filemanager;
import android.content.Context;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
import com.filemanager.files.FileHolder;
import com.filemanager.view.ViewHolder;
import java.io.File;
import jav... |
package ch.protonmail.vladyslavbond.quizzing.web;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Set;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Me... |
package me.kkuai.kuailian.service.socket;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Timer;
import j... |
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
public class ring_A2_Q1 {
/*
Written by <NAME> on 9/25/2017 for CSCI4450 Intro to AI
Problem:
In class, we discussed about the 8 queens problem, where the objective is to place 8 queens on a chess board so that no two queens can attack e... |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2018 by <NAME> : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
*... |
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
PdePreprocessor - wrapper for default ANTLR-generated parser
Part of the Wiring project - http://wiring.org.co
Copyright (c) 2004-05 <NAME>
Processing version Copyright (c) 2004-05 <NAME> and <NAME>
Copyright (c) 2001-04 Massachusetts Ins... |
package com.ubsoft.framework.core.conf;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
imp... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2011, 2012, 2013, 2014, 2016 Synacor, Inc.
*
* 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,
* versi... |
/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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 requir... |
/**
* Changed as a support library compatible DialogFragment
*/
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
package it.unipi.iot.irrigationsystem;
import it.unipi.iot.irrigationsystem.automation.AutomaticIrrigationSystem;
import it.unipi.iot.irrigationsystem.enumerate.Bound;
import it.unipi.iot.irrigationsystem.mqtt.MQTTNetworkHandler;
import it.unipi.iot.irrigationsystem.mqtt.aquifer.AquiferCollector;
import it.unipi.iot.i... |
/*
* Copyright © 2015 <NAME> (<EMAIL>)
*
* 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... |
/**
* Copyright 2017-2021 O2 Czech Republic, a.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 ... |
/*
* Copyright (C) 2015 STFC
* 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, soft... |
package com.zhuang.Daily.twoone.December;
import java.util.*;
/**
* @Classname Solution002
* @Description 2021.12.8-2021.12.15每日一题
* @Date 2021/12/8 20:26
* @Author by dell
*/
public class Solution002 {
public static void main(String[] args) {
//String[] board = {"XOX", "O O", "XOX"};
//valid... |
package com.lingtuan.firefly.custom;
import android.graphics.*;
import android.graphics.Bitmap.Config;
import android.graphics.PorterDuff.Mode;
/**
* Photo fillet processing
*/
public class BitmapFillet {
/**
* Upper left corner
*/
public static final int LEFT_TOP = 1047120;
/**
* The uppe... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.configuration;
import android.content.*;
import android.database.Cursor;
import android.database.sqlite.*;
import net.java.sip.communi... |
package tester;
import tester.annotations.*;
import java.util.*;
import java.lang.reflect.*;
import java.lang.annotation.*;
import org.junit.runner.*;
public class ReadReplace {
public static Method[] getMethodsSorted(final Class cls) {
final Method[] methods = cls.getMethods();
Arrays.sort(methods, new Compara... |
/*
* MIT License
* Copyright (c) 2021 元末
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
package com.ubergeek42.WeechatAndroid.utils;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Contex... |
package com.joymain.jecs.pd.dao.hibernate;
import java.util.List;
import java.math.BigDecimal;
import com.joymain.jecs.dao.hibernate.BaseDaoHibernate;
import com.joymain.jecs.pd.model.PdAdjustStock;
import com.joymain.jecs.pd.dao.PdAdjustStockDao;
import com.joymain.jecs.util.data.CommonRecord;
import com.joymain.jec... |
package uk.ac.uea.cmp.srnaworkbench;
import uk.ac.uea.cmp.srnaworkbench.tools.ToolManager;
import javax.swing.*;
import java.awt.*;
import java.beans.*;
/**
* An extension of WDesktopPane that supports often used MDI functionality. This
* class also handles setting scroll bars for when windows move too far to the ... |
/*
* 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 n... |
package org.vorthmann.zome.app.impl;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.vecmath.Quat4f;
import javax.vecmath.Vector3f;
import com.vzome.core.alg... |
import java.util.ArrayList;
import java.util.Scanner;
public class Legends extends Game{
//Main class for running legends game
public static void main(String[] args) { startGame(); }
public static void startGame() {
Scanner scan= new Scanner(System.in);
ArrayList<Monsters> spawnedMonsters;... |
package cn.ezandroid.ezfilter.demo;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.hardware.Camera;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.OrientationEventListener;
impo... |
package ask.helloworld.company;
import java.io.*;
import java.util.*;
public class Tutorial
{
// HelloWorld2?�� 객체 ?���?�? ?��?��?��?�� +Cal method(class ?��경우?�� ?��?��)�?
// static ?��?��?���? ?��?��?��?��로서, ?��립적?���? 객체 ?��?��?�� �??��?��진다.
// 1. 로컬�??�� --------------------------> Stack 메모�? ???��
// ... |
/*
* Copyright (c) 2020. <NAME>.
* Licensed under the Apache license. Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package com.ringosham.threads.imports.download;
import com.ringosham.Global;
import com.ringosham.controller.MainScreen;
import com.ringosham.locale.Localizer;
import com.ringosham.obj... |
package ir.htsc.security;
/**
* Created by me-sharifi on 7/12/2017.
*/
//https://tools.ietf.org/id/draft-mraihi-totp-timebased-06.html#RFC2104
import ir.htsc.AppConstants;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.lang.reflect.UndeclaredThrowableException;
import java.math.BigInt... |
package codeondroid.codeondroid;
import android.app.AlertDialog;
import android.content.ContentResolver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory... |
/*
* Copyright (C) 2019 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 es.ucm.fdi.moodcalendar.customView;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.anno... |
package net.minecraft.world.level.block.piston;
import java.util.Iterator;
import java.util.List;
import net.minecraft.core.BlockPosition;
import net.minecraft.core.EnumDirection;
import net.minecraft.nbt.GameProfileSerializer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.level.EntityPlayer;
im... |
package burp.ui.model;
import burp.action.Commons;
import burp.action.IntArraySlice;
import burp.ui.entry.IndexedLinkedHashMap;
import burp.ui.entry.FioraLineEntry;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.AbstractTableModel;
import java.io.Serial... |
package service;
public enum StateLocations {
Alabama("Alabama", "AL", -86.791130, 32.806671, 1),
Alaska("Alaska", "AK", -152.404419, 61.370716, 2),
Arizona("Arizona", "AZ", -111.431221, 33.729759, 4),
Arkansas("Arkansas", "AR", -92.373123, 34.969704, 5),
California("California", "CA", -119.681564, 36.1162... |
package com.m3.skinnyrest;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.lang.annotation.Annotation;
import java.net.URI;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.... |
package svenhjol.strange.module.scrolls.populator;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Registry;
import net.minecraft.network.chat.TranslatableComponent;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.server.level.ServerPla... |
package com.dwj.coolweather;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.a... |
/*
* AIBot by AlienIdeology
*
* WebScraper
* Jsoup web scraping for lyrics and IMDb informations
*/
package org.alienideology.aibot.utility;
import org.alienideology.aibot.constants.Emoji;
import net.dv8tion.jda.core.EmbedBuilder;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.... |
/*
* Copyright (C) 2016 Red Hat, 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 agre... |
/*
* Copyright (c) 2017 CA. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
*/
package com.ca.mas.core.storage.sharedstorage;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.c... |
package com.lifesense.ble.p003a;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import com.facebook.appevents.AppEventsConstants;
import com.lifesense.ble.bean.C2248h;
import com.lifesense.ble.bean.DeviceTypeConstants;
import com.lifesense.ble.commom.C2256b;
import humanize.util.Constants... |
package resources;
import java.io.File;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
/**... |
package io.emeraldpay.polkaj.apiws;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.emeraldpay.polkaj.api.*;
import io.emeraldpay.polkaj.json.jackson.PolkadotModule;
import java.net.URI;
import jav... |
/**
* Copyright (C) 2014-2021 <NAME> (www.helger.com)
* philip[at]helger[dot]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... |
package dan200.billund.client.gui;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import dan200.billund.Billund;
import dan200.billund.shared.data.BillundSet;
import dan200.billund.shared.network.PacketHandler;
import dan200.billund.shared.network.message.OrderMessage;
im... |
/*******************************************************************************
* Copyright (c) 2018 Microsoft Research. All rights reserved.
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "S... |
package com.errand.team5.errand;
import android.content.BroadcastReceiver;
import android.content.ContentProviderClient;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.location.Lo... |
/*
* Copyright 2010 Outerthought bvba
*
* 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.gbozza.android.gigagal.entities;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils... |
package controllers;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import javax.servlet.ServletC... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
package com.vesoft.nebula.importer;
import com.google.common.base.Charsets;
import com.google.common.base.Joiner;
impor... |
/*
* Copyright (c) 2021 TownyAdvanced
*
* 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 la... |
package change4epml;
import ontology.IdWorker;
import org.sklse.processRegister.db.dto.*;
import org.sklse.processRegister.processGraph.*;
import org.sklse.processRegister.util.DocumentTypeRecognizer.DocumentType;
import org.utils.JsonUtil;
import java.util.*;
public class ProcessGraphTemp {
private... |
/*
* Copyright (C) 2010-2022 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.provisioning.impl.resources;
import static com.evolveum.midpoint.schema.GetOperationOptions.create... |
/**
* pims-web org.pimslims.presentation.plateExperiment PlateUtilsTest.java
*
* @author <NAME>
* @date 26 Jan 2010
*
* Protein Information Management System
* @version: 3.2
*
* Copyright (c) 2010 <NAME> The copyright holder has licenced the STFC to redistribute this
* s... |
//
// $Id: BackendFileSystemImpl.java 893 2007-07-19 19:43:20Z swalker $
//
package edu.gemini.auxfile.server.file;
import edu.gemini.auxfile.api.AuxFile;
import edu.gemini.auxfile.api.AuxFileException;
import edu.gemini.auxfile.server.AuxFileChunk;
import edu.gemini.auxfile.server.AuxFileServer;
import edu.gemini.sh... |
package com.bina.varsim.fastqLiftover.types;
import com.bina.varsim.fastqLiftover.readers.MapFileReader;
import com.bina.varsim.types.ChrString;
import com.bina.varsim.types.ReadMapBlock;
import com.bina.varsim.types.ReadMapRecord;
import htsjdk.tribble.annotation.Strand;
import org.apache.log4j.Logger;
import java.i... |
package com.djs.learn.objdetails;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
/**
* Object analyzer. Does analysis of state of an object. Will recursively ana... |
/**
The MIT License (MIT)
Copyright (c) 2019, <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, modify, merge, pub... |
package world.maryt.spellbind;
import com.google.gson.*;
import net.minecraft.client.resources.JsonReloadListener;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.profiler.IProfiler;
import net.minecraft.resources.IReso... |
package io.github.sleepingraven.note.demo;
import org.junit.Test;
import io.github.sleepingraven.util.ac.ArrayUtil;
import java.util.Arrays;
/**
* 递归练习
* <p>
* <ol>
* <li>
* 求数组元素累加和,使用二分法<p>
* 输入 { 2, 5, 3, 9, 12, 7 }<p>
* 输出 38
* </li>
* <li>
* 求组合数<p>
* ... |
/**
* <p>Title: KafkaMessageReceiverPool.java</p>
* <p>Description: KafkaMessageReceiverPool</p>
* <p>Package: org.darkphoenixs.kafka.pool</p>
* <p>Company: www.github.com/DarkPhoenixs</p>
* <p>Copyright: Dark Phoenixs (Open-Source Organization)</p>
*/
package org.darkphoenixs.kafka.pool;
import java.io.IOExcept... |
/*
* Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
*
* License for BK-BASE 蓝鲸基础平台:
* ----------------------------------------------... |
package com.Utility.IgniteUtl;
import com.Utility.DownloadUtility.FileSplitterFetch;
import com.Utility.DownloadUtility.SiteFileFetch;
import com.Utility.DownloadUtility.Utility;
import org.apache.ignite.*;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.cluster.ClusterGroup;
import org.apache.ignit... |
/* Copyright (c) 2019 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/*
* 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 2017-present Open Networking 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 appli... |
package us.centile.permissions.profile;
import us.centile.permissions.*;
import us.centile.permissions.grant.*;
import org.bukkit.entity.*;
import org.bukkit.permissions.*;
import org.bukkit.plugin.*;
import us.centile.permissions.rank.*;
import org.bukkit.scheduler.*;
import org.bson.*;
import org.bukkit.*;
import co... |
/*****************************************************************************
*
* 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 th... |
/*
* Copyright 2018 Amazon.com, Inc. or its affiliates. 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 without limitation the right... |
package com.linkedpipes.plugin.loader.scp;
import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelExec;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.Session;
import com.linkedpipes.etl.executor.api.v1.LpException;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... |
package app;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... |
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package com.example.photo;
import org.springframework.stereotype.Component;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import software.amazon.awssdk.auth.credentials.EnvironmentVa... |
package scratch.kevin.ucerf3.inversion;
import java.awt.Color;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.... |
package org.nem.nis.pox.poi;
import org.nem.core.math.*;
import org.nem.core.model.Address;
import org.nem.core.model.primitive.BlockHeight;
import org.nem.core.utils.FormatUtils;
import org.nem.nis.harvesting.CanHarvestPredicate;
import org.nem.nis.pox.poi.graph.*;
import org.nem.nis.state.*;
import java.util.*;
imp... |
package hu.progtech.cd2t100.formal;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.io.InputStream;
import java.io.IOException;
import java.util.Optional;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.u... |
/*
* 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 admin;
import java.io.*;
import com.mysql.cj.jdbc.Driver;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/Ma... |
package net.ssehub.kernel_haven.incremental.util;
import java.io.File;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import net.ssehub.kernel_haven.code_model.CodeElement;
import net.ssehub.kernel_haven.code_model.SourceFile;
import n... |
/* This file is part of VoltDB.
* Copyright (C) 2008-2020 VoltDB Inc.
*
* 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... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Vers... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.