text stringlengths 3.08k 15.2k |
|---|
/*
Copyright 2015 Novartis Institutes for Biomedical Research
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 ... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Random;
class StartGameSingle {
// int[y][x]
private static int[][] gameField = new int[3][3];
private static int turn = 0;
private static boolean isFinished = false;
private static int wi... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... |
/**
* Copyright 2016-2017 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... |
package com.qi.projetohoroscopo;
public class Horoscopo {
private String nome;
private int dia;
private int mes;
private int ano;
private int diaNascimento;
private int mesNascimento;
private int anoNascimento;
public String getNome() {
return nome;
}
public void setN... |
package io.hyperfoil.tools.horreum.api;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
impor... |
package com.oxchains.rmsuser.service;
import com.oxchains.rmsuser.common.RestResp;
import com.oxchains.rmsuser.common.RestRespPage;
import com.oxchains.rmsuser.dao.ResourceRepo;
import com.oxchains.rmsuser.dao.RoleResourceRepo;
import com.oxchains.rmsuser.dao.UserResourceRepo;
import com.oxchains.rmsuser.dao.UserRoleR... |
package com.corochann.androidtvapptutorial.data;
import android.content.Context;
import android.content.res.Resources;
import android.net.Uri;
import android.util.Log;
import com.corochann.androidtvapptutorial.model.Movie;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import ... |
/*
* Copyright © 2015 <NAME>, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/***************************************************************************
* MIT License *
* Copyright (c) 2018 <NAME> *
* *
* Permission is h... |
/*
* 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 ma... |
/**
* 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 com.wbq.mqclient.util.zk;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.LinkedBlockingDeque;
impo... |
/*
* 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 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 to in writi... |
/*
* 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 attendanceautomation.GUI.Controller;
import attendanceautomation.BE.Classes;
import attendanceautomation.BE.Student;
import at... |
package org.sidoh.reactor_simulator.simulator;
import java.util.List;
import com.google.common.collect.BiMap;
import com.google.common.collect.Lists;
import erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityReactorControlRod;
import erogenousbeef.bigreactors.common.multiblock.tileentity.TileEntityReact... |
package com.saicone.itemmatcher.placeholder;
import com.saicone.itemmatcher.IMatcher;
import com.saicone.itemmatcher.IMatcherBuilder;
import com.saicone.itemmatcher.util.Utils;
import me.clip.placeholderapi.PlaceholderAPI;
import me.clip.placeholderapi.expansion.Cacheable;
import me.clip.placeholderapi.expansion.Confi... |
package com.fksm.log;
import com.typesafe.config.Config;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.*;
/**
* Created by Administrator on 2016/4/25 0025.
*/
public class SimulationDataUtil {
... |
package instamap.francoj11.instamap;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
import android.support.v4.app.FragmentActivity;
import android.os.Bund... |
package com.hz.tgb.test.pdf;
import org.apache.pdfbox.multipdf.PDFMergerUtility;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDDocumentInformation;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.PDPageContentStream;
import org.apache.pdfbox.pdmodel.font.PDTy... |
package com.ioannina.ieeesb.ieee_sb_tree;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.drawable.AnimationDrawable;
import android.media.MediaPlayer;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCo... |
/*
* Copyright (c) 2021 The Hydra authors
*
* 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, p... |
/*
* Copyright 2001-2014 Aspose Pty Ltd. All Rights Reserved.
*
* This file is part of Aspose.Words. The source code in this file
* is only intended as a supplement to the documentation, and is provided
* "as is", without warranty of any kind, either expressed or implied.
*/
package loadingandsaving.loadi... |
package com.github.hexeditor;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry... |
/* */ package com.hundsun.eclp.biz.service.common.impl;
/* */
/* */ import com.caucho.hessian.client.HessianProxyFactory;
/* */ import com.hundsun.eclp.biz.dao.sys.EclpSubSystemRegisterDAO;
/* */ import com.hundsun.eclp.biz.domain.sys.SubSystem;
/* */ import com.hundsun.eclp.biz.domain.sys... |
package com.soauth.core.utils;
import com.google.common.collect.Maps;
import net.sf.cglib.beans.BeanCopier;
import net.sf.cglib.core.Converter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
impor... |
/*
Modified BSD License
====================
Copyright (c) 2015, CoNWeT Lab., Universidad Politecnica Madrid
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 ... |
/**
* This work was created by participants in the DataONE project, and is
* jointly copyrighted by participating institutions in DataONE. For
* more information on DataONE, see our web site at http://dataone.org.
*
* Copyright ${year}
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you... |
package io.github.kavahub.learnjava.common.collection;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.List;
import java.util.Map;
import com.google.common.base.Function;
import ... |
/**
* Copyright (C) 2014 OpenTravel Alliance (<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 a... |
/*
* 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 lk.gov.health.procedure.bean;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import... |
package cn.jiguang.f;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build.VERSION;
import cn.jiguang.c.a.a;
import cn.jiguang.d.d;
import java.util.List;
final class l
implements Runnable
{
private static final String[] z;
static
{
... |
package org.raml.vocabularies;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.LinkedHashMap;
import java.util.Map;
import org.raml.dialects... |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package mara.mybox.data;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.LinkedHashMap;
import java.util.Map;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.embed.swing.SwingFXUtils;
import javafx.scene.Node;
import javafx.scene.image.Image;
import javafx.scene.image.Image... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands.Climber.Sequences;
import com.revrobotics.CANSparkMax.IdleMode;
import edu.wpi.first.wpilib... |
import java.util.*;
public class OpdrachtB2
{
public static void main(String[] args)
{
RoundPath path = new RoundPath();
path.execute();
}
}
class RoundPath {
boolean[][] grid;
int gridWidth = 24;
int gridHeight = 25;
List<Path> paths;
public void execute() {
grid = new boolean[gridWidth][grid... |
package init;
import java.io.File;
import java.util.ResourceBundle;
import javax.xml.parsers.ParserConfigurationException;
import SpreadingFire.SpreadingFireBuilder;
import SpreadingFire.SpreadingFireControls;
import Sugarscape.SugarscapeBuilder;
import Sugarscape.SugarscapeControls;
import WaTor.WaTorBuilder;
impor... |
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
import static java.awt.Color.*;
public class Tex... |
/*
* Copyright 2019 kiwipeach(<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 a... |
/*
* Copyright 2002-2014 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 by ap... |
package patrick.pramedia.wire;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v7.widget.Defau... |
/**
* Point3D.java
*
* Copyright (c) 2013-2019, F(X)yz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, thi... |
/*
* Copyright 1&1 Internet AG, https://github.com/1and1/
*
* 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 ap... |
/*
* Copyright DataStax, 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 in wri... |
/*
* MolPb204b.java
*
* Created on Dec 12, 2008
*
*
* Copyright 2006-2018 <NAME>, CIRDLES.org, and Earth-Time.org
*
* 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:... |
package com.nexosis.samples;
import com.nexosis.impl.NexosisClient;
import com.nexosis.impl.NexosisClientException;
import com.nexosis.model.*;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.LineIterator;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.t... |
/*
* Copyright 2017-2017 <NAME>, https://github.com/pponec
*
* 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 ... |
package bg.tusofia.http;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpClientResponse;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.... |
package jalview.gui.menus;
import jalview.io.*;
import jalview.datamodel.*;
import jalview.gui.popups.*;
import jalview.analysis.*;
import jalview.gui.AlignFrame;
import jalview.gui.schemes.*;
import jalview.util.*;
import jalview.gui.event.*;
import jalview.gui.*;
import jalview.analysis.*;
import java.awt.event.*;
... |
package io.compgen.ngsutils.cli.bam;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Iterator;
import io.compgen.cmdline.annotation.Command;
import io.compgen.cmdline.annotation.Exec;
import io.compgen.cmdline.annotation.Option;
import io.compgen.cmdline.annotation.UnnamedArg;
import io.... |
package com.app.latifat.parstagram;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.support.v4.content.FileProvider;
import android.s... |
package spark.hbase;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import com.cloudera.sa.spark.hbase.example.JavaHBaseBulkDeleteExample.DeleteFunction;
import com.cloudera.sa.spark.hbase.example.JavaHBaseBulkGetExample.GetFunction;
import com.cloudera.sa.spark.hbase.example.JavaHBaseB... |
/*
* Copyright 2021 The University of Manchester
*
* 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 ... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, <NAME>
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... |
package com.diozero.util;
/*
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: DiozeroScheduler.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2021 diozero
* %%
* Permi... |
/*
* Copyright (c) 2011-2013, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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.apach... |
package com.vlados.lab3.main.controllers;
import com.vlados.lab3.main.models.Validator;
import com.vlados.lab3.main.models.services.IOService;
import com.vlados.lab3.main.models.services.ShapeService;
import com.vlados.lab3.main.view.ResourceBundleKeys;
import com.vlados.lab3.main.view.RetrieveInfo;
import com.vlados.... |
package com.mobilitio.popmovies.data;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.util.Log;
imp... |
/* Woodstox XML processor
*
* Copyright (c) 2004 <NAME>, <EMAIL>
*
* Licensed under the License specified in the file LICENSE which is
* included with the source code.
* You may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* di... |
/*
* Copyright 2002-2021 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 peanutencryption.peanutencryption;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.design.widget.TextInputLayout;
import andro... |
/**
* Copyright (c) 2014, by the Authors: <NAME> (UBC)
*
* This software is freely available under a 2-clause BSD license. Please see
* the LICENSE file in the ArtiSynth distribution directory for details.
*/
package maspack.solvers;
import maspack.matrix.*;
import maspack.util.*;
import java.util.Random;
public... |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to Y... |
package services.annotation;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws... |
/*
* Copyright 2021 <NAME> (DarksideCode)
*
* 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 applicabl... |
package com.wy.model;
import com.wy.view.GamePanel;
public class StageB {
private static Battle _battle;
static EnemyTable stageB[] = { new EnemyTable(2, 0, 50F, -50F, 0),
new EnemyTable(2, 1, 340F, -50F, 1), new EnemyTable(0, 2, 80F, -50F, 2),
new EnemyTable(0, 2, 100F, -50F, 2), new EnemyTable(0... |
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
@SuppressWarnings("serial")
public class AddressBook extends JFrame implements ActionListener {
private final Color
veryLightGrey = new Color(240, 240, 240),
darkBlue = new Color(0, 0, 150),
backGroundColour = veryLightGrey,
... |
package com.omniprise.cim.model;
/*-
* #%L
* ERCOT CIM Processor
* %%
* Copyright (C) 2017 OmniPrise, 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.ap... |
/**
* 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... |
/*
* MIT License
*
* Copyright (c) 2016 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... |
package tela;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Iterator;... |
/**
* Copyright (c) 2014, Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.farmer.x.communication.connection.handler;
import com.farmer.x.communication.message.HeartBeatMessage;
import com.farmer.x.communication.node.RemoteNode;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.*;
import io.netty.handler.co... |
/*******************************************************************************
* Copyright (c) 2007, 2018 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribu... |
package fr.jblezoray.mygeneticalgo.dna.image;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferByte;
import java.util.Arrays;
import java.util.stream.IntStream;
import fr.jblezoray.mygeneticalgo.IFitness;
/**
* Uses a RMS (Root Mean Square) analysis of the histogram of the image to
* compute i... |
package com.example.liuhaoyuan.customviewdemo.view;
import android.animation.Animator;
import android.animation.ArgbEvaluator;
import android.animation.FloatEvaluator;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.support.v4.graphics.ColorUtils;
impor... |
package com.alipay.api.kms.aliyun;
import com.alipay.api.internal.util.codec.Base64;
import com.alipay.api.kms.aliyun.models.AsymmetricSignRequest;
import com.alipay.api.kms.aliyun.models.AsymmetricSignResponse;
import com.alipay.api.kms.aliyun.models.GetPublicKeyRequest;
import com.alipay.api.kms.aliyun.models.GetPub... |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package or... |
package org.rs2server.rs2.domain.service.impl.content;
import com.google.common.eventbus.Subscribe;
import com.google.inject.Inject;
import org.rs2server.rs2.content.Jewellery;
import org.rs2server.rs2.content.api.GameItemInventoryActionEvent;
import org.rs2server.rs2.content.api.GameMobDeathEvent;
import org.rs2serve... |
/*
* SonarQube Puppet Plugin
* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME> and <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 ... |
package models.util;
import controllers.businessLogic.AuthService;
import controllers.truly.TrulyService;
import dao.CandidateDAO;
import dao.JobPostDAO;
import models.entity.*;
import org.apache.commons.lang3.StringUtils;
import play.Logger;
import java.math.BigInteger;
import java.security.MessageDigest;
import jav... |
/*
* Copyright 2010 Alibaba Group Holding Limited.
* 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
*... |
import java.util.Vector;
import java.io.FileInputStream;
import java.io.*;
import java.nio.charset.Charset;
// public class SongTable implements java.util.Iterator {
// public class SongTable extends Vector<SongInformation> {
public class SongTable {
private static final String SONG_INFO_FILE = "/home/newmarch/... |
package org.directmemory.cache.test;
import java.util.Random;
import java.util.concurrent.atomic.AtomicInteger;
import org.directmemory.cache.Cache;
import org.directmemory.measures.Every;
import org.directmemory.measures.Monitor;
import org.directmemory.measures.Ram;
import org.directmemory.memory.MemoryMan... |
package com.github.theholywaffle.teamspeak3;
/*
* #%L
* TeamSpeak 3 Java API
* %%
* Copyright (C) 2014 <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 r... |
/*
* 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
* "Lic... |
package selenium.training;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.W... |
/*
* Copyright (C) 2019 theta4j project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/*
* Copyright 2013 Corpuslinguistic working group Humboldt University Berlin.
*
* 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 org.mozilla.javascript;
import static org.mozilla.javascript.RhinoHelper.RHINO;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import com.nominanuda.zen.common.Check;
import ... |
package hunteron;
import com.github.vector4wang.annotation.CssSelector;
import com.github.vector4wang.util.SelectType;
/**
* @Author: wangxc
* @GitHub: https://github.com/vector4wang
* @CSDN: http://blog.csdn.net/qqhjqs?viewmode=contents
* @BLOG: http://vector4wang.tk
* @wxid: BMHJQS
*/
public class HunteronJob... |
/*
* 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 wr... |
package net.sf.l2j.gameserver.scripting.quests;
import java.util.HashMap;
import java.util.Map;
import net.sf.l2j.gameserver.model.actor.Npc;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.scripting.Quest;
import net.sf.l2j.gameserver.scripting.QuestState;
public class Q628_Hu... |
package hex;
import hex.pca.PCA;
import hex.pca.PCAModel;
import hex.pca.PCAModelView;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import water.*;
import water.deploy.Node;
import water.deploy.NodeVM;
import water.fvec.FVecTest;
import water.fvec.Frame;
import water.fvec.NFSFileVec;
i... |
// SPEA2.java
//
// Author:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright (c) 2011 <NAME>, <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, either ... |
package pokecube.adventures.client.render;
import java.util.Map;
import java.util.UUID;
import com.google.common.collect.Maps;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer;
import net.minecraft.client.renderer.... |
package com.leer.googlemarket.ui.viewholders;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.leer.googlemarket.R;
import com.le... |
/*******************************************************************************
* 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.apac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.