text stringlengths 3.52k 24k |
|---|
package es.uniovi.imovil.fcrtrainer;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import andro... |
package com.eimhub.barcodescanner.zxing.sample;
//import android.content.Intent;
//import android.os.AsyncTask;
import android.os.Bundle;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
//import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import andro... |
package de.tum.ei.lkn.eces.topologies.networktopologies;
import de.tum.ei.lkn.eces.graph.Edge;
import de.tum.ei.lkn.eces.graph.Node;
import de.tum.ei.lkn.eces.network.*;
import de.tum.ei.lkn.eces.network.util.NetworkInterface;
import de.tum.ei.lkn.eces.topologies.NetworkTopology;
import org.javatuples.Pair;
import ja... |
package dscoshpe.drnick;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.ArrayList;
import java.util.Date;
import java.util.Enumeration;
import jav... |
/*********************************************************************************
*File: Maze.java
*Author: <NAME>
* e-mail: onur.ozuduru { at } gmail.com
* github: github.com/onurozuduru
* twitter: twitter.com/OnurOzuduru
*
*License: The MIT License (MIT)
*
* Copyright (c) 2016 <NAME>
* Permission is hereby... |
/*******************************************************************************
* Copyright: (c) 2013 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained i... |
/*
* Copyright (c) 2020, <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.apache.org... |
package com.elead.card.views;
/**
* Created by Administrator on 2016/11/11 0011.
* 运营统计页环形图
*/
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.os.Handl... |
package net.teamfruit.emojicord.emoji;
import java.io.File;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import com.google.common.collect.ListMultimap;
import com.google.common.... |
/*
* Copyright (C) 2018 <NAME> <<EMAIL>>
*
* 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... |
package io.github.htools.lib;
import java.io.PrintStream;
import java.util.Formatter;
import static io.github.htools.lib.Const.NULLINT;
/**
* Supports making C-like printf() statements, using a format string that
* contains % format specifiers (e.g. %d, %s, %5.2f), with the arguments
* that are to take their pla... |
package jp.chang.myclinic.reception.tracker;
import jp.chang.myclinic.client.Service;
import jp.chang.myclinic.dto.*;
import jp.chang.myclinic.reception.tracker.model.*;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.conc... |
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.After;
import org.junit.Test;
import java.io.*;
import java.lang.reflect.*;
import java.util.*;
/**
* Tests project 3 as specified by:
* http://web.cse.ohio-state.edu/cse1223/currentsem/projects/CSE1223Project03.html
*
* This test file ve... |
package me.htrewrite.client.module.modules.movement;
import me.htrewrite.client.event.custom.CustomEvent;
import me.htrewrite.client.event.custom.networkmanager.NetworkPacketEvent;
import me.htrewrite.client.event.custom.player.PlayerTravelEvent;
import me.htrewrite.client.module.Module;
import me.htrewrite.client.mod... |
/*
* NOTICE
* This software was produced for the office of the Director of National Intelligence (ODNI)
* Intelligence Advanced Research Projects Activity (IARPA) ICArUS program,
* BAA number IARPA-BAA-10-04, under contract 2009-0917826-016, and is subject
* to the Rights in Data-General Clause 52.227-14, Alt. ... |
import org.apache.hadoop.fs.Path;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.had... |
package jloputility;
// Clip.java
// <NAME>, <EMAIL>, July 2016
/* Office Clipboard support functions:
* use the system clipboard
* set/get text
-- uses my TextTransferable class
* get/set a BufferedImage
-- uses my ImageTransferable class
* store a file on the cli... |
import java.util.*;
import java.util.Scanner;
import java.io.*;
class Process /*implements Comparable<Process>*/
{
int arr_t, bur_t, comp_t, tat, wait_t, flag, bur_t2, st_t;
int pro_id;
public Process(int pro_id , int arr_t, int bur_t){
this.pro_id = pro_id;
this.arr_t = arr_t;
this.bur_t = bur_t;
this.fla... |
package org.gradle;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedSelectorException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import ... |
/* ==================================================================
* Created [2009-09-27] by Jon.King
* ==================================================================
* TSS
* ==================================================================
* mailTo:<EMAIL>
* Copyright (c) boubei.<EMAIL>, 2015-201... |
/*
* Copyright (c) 2013-2018, Bingo.Chen (<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 ... |
/*
Copyright (c) 2008-2011 <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, publish, distribute, sub... |
package positions;
import data.*;
import singletonHelpers.BinanceInfo;
import singletonHelpers.TelegramMessenger;
import strategies.DCAStrategy;
import strategies.ExitStrategy;
import strategies.nutral.NutralExit;
import utils.Utils;
import com.binance.client.SyncRequestClient;
import com.binance.client.model.enums.*;
... |
import javax.swing.*;
import java.io.File;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.io.IOException;
import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.KeyEvent;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
imp... |
package evaluator;
import importer.SCMapImporter;
import importer.SaveImporter;
import map.*;
import util.ArgumentParser;
import util.FileUtils;
import util.Vector3f;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;... |
import java.io.File;
import java.io.IOException;
import java.awt.Color;
import java.awt.Point;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
import java.awt.image.WritableRaster;
import javax.imageio.ImageIO;
import java.util.Arrays;
import java.util.Stack;
import java.util.HashSet;
import ... |
/*
* Copyright 2018 <NAME> <www.android.geek.nz>.
*
* 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.midtrans.java;
import com.midtrans.Config;
import com.midtrans.Midtrans;
import com.midtrans.httpclient.IrisApi;
import com.midtrans.httpclient.error.MidtransError;
import com.midtrans.java.mockupdata.DataMockup;
import org.json.JSONArray;
import org.json.JSONObject;
import org.junit.jupiter.api.*;
import... |
package co.adhoclabs.ironcushion;
import java.io.File;
/**
* The parsed and validated command line arguments.
*
* @author <NAME> (<EMAIL>)
*/
public class ParsedArguments {
/**
* The address of the database.
*/
public final String databaseAddress;
/**
* The name of the database.
*/
public final Strin... |
package base_RayTracer.scene;
import java.util.concurrent.ThreadLocalRandom;
import base_JavaProjTools_IRender.base_Render_Interface.IRenderInterface;
import base_RayTracer.myColor;
import base_RayTracer.myRay;
import base_RayTracer.rayHit;
import base_RayTracer.scene.geometry.myGeomBase;
import base_Math_Objects.vec... |
package com.chaoip.ipproxy.service;
import com.chaoip.ipproxy.controller.dto.ChargeDto;
import com.chaoip.ipproxy.controller.dto.ProductOrderDto;
import com.chaoip.ipproxy.repository.ProductOrderDetailRepository;
import com.chaoip.ipproxy.repository.ProductOrderRepository;
import com.chaoip.ipproxy.repository.entity.*... |
// Contains details of an entire program (i.e., function).
package frangel.model;
import java.util.*;
import frangel.Settings;
import frangel.SynthesisTask;
import frangel.model.expression.Expression;
import frangel.model.generator.ExpressionGenerator;
import frangel.model.generator.StatementGenerator;
im... |
/*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
*/
package org.apache.tomcat.util.net.jsse;
import java.io.*;
import java.net.*;
import java.util.Vector;
import java.security.KeyStore;
import java.security.Security;
import java.security.SecureRandom;
import javax.net.ServerSocketFactory;
imp... |
package dev.sgora.mesheditor.services.mesh.generation;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import dev.sgora.mesheditor.model.geom.Mesh;
import dev.sgora.mesheditor.model.geom.Point;
import dev.sgora.mesheditor.model.project.CanvasData;
import io.github.stasgora.observetree.SettableObse... |
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("w")
public class class23 extends class14 {
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = 1984998217
)
int field181;
... |
package com.google.allenday.genomics.core.io;
import com.google.allenday.genomics.core.processing.SamToolsService;
import com.google.allenday.genomics.core.utils.TimeUtils;
import htsjdk.samtools.SAMRecord;
import htsjdk.samtools.fastq.FastqEncoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java... |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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 (c) 1998, 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... |
/*
* Copyright 2016 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
* applicable law or agr... |
package cn.aezo.shadingjdbc.jdbc;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import javax.sql.DataSource;
import org.apache.commons.dbcp.... |
package com.soebes.emulators.cpu8085;
/*
* 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 Licens... |
/************************************************************************
* Class to represent a collection of MusicItem objects (CDs and Tracks).
* This class has two related purposes. First, it is used to represent
* the user's complete collection of CDs; in this case, it will contain
* CD objects only. Second,... |
/*
* The MIT License
*
* Copyright 2015 <NAME> - <EMAIL>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... |
package tvclockserver.layout;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.fxml.Initializable;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.layout.Background;
import javafx.scene.layou... |
package f4g.com.opennebula;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Opt... |
/*
* Copyright (c) 2021 IBA Group, a.s. All rights reserved.
*
* 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 unde... |
package com.sanbot.capaBot;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.util.Xml;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.T... |
package com.mapsindoors.stdapp.positionprovider.ciscoDna;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.wifi.WifiManager;
import android.os.Handler;
import android.text.format.Formatter;
import android.util.Log;
import androidx.annotation.No... |
/**
*
* @author <NAME>, <NAME>, <NAME>
*/
package server;
import client.Client;
import client.ClientImplementation;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.server.Unic... |
package com.weilian.phonelive;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Build.VERSION;
import android.os.Parcelable;
import com.amap.api.location.... |
package csironi.ggp.course.experiments.tournaments.singleprocess;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.ThreadContext;
import org.ggp.base.player.GamePlayer;
import o... |
/*
* PROJECT: NyARToolkit
* --------------------------------------------------------------------------------
* This work is based on the original ARToolKit developed by
* <NAME>
* <NAME>
* HITLab, University of Washington, Seattle
* http://www.hitl.washington.edu/artoolkit/
*
* The NyARToolkit ... |
package br.com.agm.gravador.capture;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.os.Environment;
import android.util.Log;
publ... |
//MIT License
//
//Copyright (c) 2018 <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 com.undead_pixels.dungeon_bots.scene.entities;
import java.awt.geom.Point2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map.Entry;
import com.undead_pixels.dungeon_bots.scene.*;
import com.undead_pixels.dungeon_bots.sce... |
package util.math;
/*
* Mathlib : A C Library of Special Functions
* Copyright (C) 1998 <NAME>
* Copyright (C) 2000-2 the R Development Core Team
*
* 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
* th... |
/*
*******************************************************************
*
* Copyright 2018 Intel Corporation.
*
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
/*******************************************************************************
* Copyright (c) 2005, 2015 IBM Corporation 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... |
package com.supalle.tools.code.beanwrapper;
import com.supalle.tools.code.LineList;
import java.beans.PropertyDescriptor;
import java.util.List;
public class BeanWrapperCodeBuilder {
private static final String WRAPPER_PACKAGE = BeanWrapperCodeBuilder.class.getPackage().getName();
public static BeanWrappe... |
package com.example.geocomment;
import java.util.Calendar;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.graphics.Bitmap;
import ... |
package org.votesmart.api;
import com.lordjoe.voter.votesmart.GoogleDatabase;
import org.votesmart.data.ErrorBase;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.transform.stream.StreamSource;
import java.... |
/*
* 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... |
/*
* 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 de.uros.citlab.module.htr;
import com.achteck.misc.log.Logger;
import com.achteck.misc.types.ParamAnnotation;
import com.achte... |
package com.nchroniaris.ASC.client.database;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.nchroniaris.ASC.client.core.ASCProperties;
import com.nchroniaris.ASC.client.exception.DatabaseNotFoundException;
import com.nchroniaris.ASC.client.model.Event;
import com.nchroniaris.ASC.cl... |
package net.voxelindustry.voidheart.common.content.portalframe;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.log4j.Log4j2;
import net.minecraft.block.BlockState;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.entity.Entity;
import net.minecraft.nbt.Nb... |
package xyz.igorgee.imagecreator3d;
import android.Manifest;
import android.app.Activity;
import android.app.Fragment;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import androi... |
import sigil.*;
import javax.sound.midi.*;
import java.io.*;
import java.util.*;
/**
* Simple MIDI synthesizer, implementing the SynthContoller interface
*
* @author <NAME>
*/
public class MIDISynth extends Thread implements SynthController, Runnable
{
//Java MIDI settings
public static final String soundB... |
package results;
import de.derivo.sparqldlapi.exceptions.QueryEngineException;
import de.derivo.sparqldlapi.exceptions.QueryParserException;
import org.apache.commons.io.FileUtils;
import org.json.CDL;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.semanticweb.owlapi.m... |
package com.amos.server;
import android.Manifest;
import android.app.Activity;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.Se... |
package com.worthcare.ultravoicecompanion;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.speech.RecognitionListener;
import android.speech.RecognizerIntent;
import android.speec... |
/* AlgThread.java */
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class AlgThread extends Thread {
int capacity = 7;
static String[] dataSets = {"Queue Capacity 7", "Queue Capacity 15",
"Queue Capacity 31"};
AlgAnimFrame frame;
DrawingPanel drawingPanel;
... |
package com.communote.server.core.image.type;
import java.util.Date;
import java.util.HashSet;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.context.SecurityContext;
import com.communote.server.... |
/*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2020 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... |
/*
* Copyright 2004 Outerthought bvba and Schaubroeck nv
*
* 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... |
/*
* Copyright 2011, 2012:
* <NAME> (tobifleig[AT]googlemail[DOT]com)
* <NAME> (mekhar[AT]gmx[DOT]de)
* <NAME> (johanneskattinger[AT]gmx[DOT]de
*
* - All rights reserved -
*
* 13ducks PROPRIETARY/CONFIDENTIAL - do not distribute
*/
package de._13ducks.spacebatz.server.network;
import de._13ducks.spacebatz.... |
/***
*
* This is the Super class for all other classes except the Driver.
* It defines the context of what we will analyze/ parse.
* Contains fields like the objectName, line, lineNumber, ifOrElse flag.
* Contains Regular Expressions for various patterns and tokens in the context.
*
*/
import java.io.Buff... |
package systems;
import components.*;
import core.*;
import entities.*;
public class InitEntities extends System_ {
public InitEntities() {
new Flowers( 6.0, 6.0, 0.0, "pink" );
new Flowers( 1.0, 10.0, 0.0, "white" );
new Flowers( 3.0, 5.0, 0.0, "white" );
Entity ground = new Entity();
Animat... |
/*******************************************************************************
* Watchr
* ------
* Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
* Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains
* certain rights in this software.
************... |
package amazon;
import java.util.*;
/*
You have a map that marks the location of a treasure island. Some of the map area has jagged rocks and dangerous reefs. Other areas are safe to sail in.
There are other explorers trying to find the treasure. So you must figure out a shortest route to the treasure island.
Assume ... |
/*
* Copyright (c) 2014. <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 edu.mit.mitmobile2.maps;
import java.util.ArrayList;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
//import android.util.Log;
import edu.mit.mitmobi... |
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("fj")
public class class161 {
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(II)Les;",
garbageValue = "-1661347291"
)
@Export("KitDefinition_get")
public ... |
package com.ocaml.ide.console;
import com.intellij.navigation.ItemPresentation;
import com.intellij.openapi.util.Pair;
import com.ocaml.OCamlBaseTest;
import com.ocaml.ide.console.debug.OCamlREPLOutputParser;
import com.ocaml.ide.console.debug.groups.TreeElementGroupKind;
import com.ocaml.ide.console.debug.groups.elem... |
/**
* Copyright 2015-2018 <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... |
package DNSFMigration;
import javax.ws.rs.core.MediaType;
import com.sun.jersey.api.client.*;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
import java.text.Normalizer;
import java.net.URL;
im... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
/*-
* #%L
* Genome Damage and Stability Centre SMLM ImageJ Plugins
*
* Software for single molecule localisation microscopy (SMLM)
* %%
* Copyright (C) 2011 - 2020 <NAME>
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* pub... |
/**
* @file XListView.java
* @package me.maxwin.view
* @create Mar 18, 2012 6:28:41 PM
* @author Maxwin
* @description An ListView support (a) Pull down to refresh, (b) Pull up to load more.
* Implement IXListViewListener, and see stopRefresh() / stopLoadMore().
*/
package com.vcredit.view.xListView;
import an... |
package com.plato.util.html;
import java.util.LinkedList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static com.plato.util.html.Attribute.ATTR_DELIMIT;
import static com.plato.util.html.Attribute.ATTR_REGEX;
import static com.plato.util.html.ClassAttribute.CLASS_DELI... |
package graph;
import util.Config;
/**
* This class reads all the input parameters that are needed for the graph generator.
* Unspecified parameters are given default values.
* Edit the propertiesFile string to use a different properties file.
* <p>
* class Constants : constants but no methods.
* clas... |
/*
* 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")... |
package sicpplus.java.linear;
import static java.lang.Double.NEGATIVE_INFINITY;
import static java.lang.Double.POSITIVE_INFINITY;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Map;
import java.util.function.Supplier;
import org.apache.commons.rng.UniformRandomProvider;
import com.carrots... |
package edu.pdx.cs410J.grader;
import com.google.common.annotations.VisibleForTesting;
import org.w3c.dom.Document;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.mail.*;
import javax.mail.internet.*;
import javax.mail.util.ByteArrayDataSource;
import javax.xml.transform.Transfo... |
package com.ydxiaoyuan.ifood.api.message;
import java.util.List;
/**
* Created by <EMAIL> on 16-9-9.
*/
public class APPComments {
/**
* success : true
* message :
* messageList : null
* messageList1 : null
* messageList2 : null
* messageList3 : null
* messageList4 : null
* messageList5 :... |
/**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
package test.gpergrossi.util;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Random;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import com.gpergrossi.util.data.Tuple2;
import com.gpergrossi.util.geom.ranges.Di... |
/**
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package malva.java.lang;
import java.nio.charset.Charset;
import java.util.Locale;
import java.util.regex.PatternSyntaxException;
import malva.TestCase;
public class StringTest extends TestCase {
public static void testNewInstance() throws Exception {
assertEquals("", new String());
assertEquals("å", new S... |
/*
* Copyright (C) 2013 <NAME>.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package com.engdev.blockdiagramdetector;
import android.app.Activity;
import and... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.