text stringlengths 3.52k 24k |
|---|
package tonyg.example.com.bleledremote.ble;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattDescriptor;
import android.bluetooth.BluetoothGattSer... |
package gui;
import javafx.collections.transformation.FilteredList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.geometry.VPos;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyValueFactory;
import jav... |
/*
* Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-CI 蓝鲸持续集成平台 is licensed under the MIT license.
*
* A copy of the MIT License is included in this file.
*
*
* Terms of the MIT... |
package com.govu.httpserver;
import com.govu.Govu;
import com.govu.application.WebApplication;
import com.govu.engine.render.Renderer;
import com.govu.engine.render.exception.ControllerNotFoundException;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessF... |
package com.google.android.gms.games.internal.game;
import android.os.Parcel;
import com.google.android.gms.games.Game;
import com.google.android.gms.games.GameEntity;
import com.google.android.gms.games.internal.GamesDowngradeableSafeParcel;
import com.google.android.gms.games.snapshot.SnapshotMetadata;
import com.go... |
package com.stackify.api.common.mask;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.Test;
/**
* @author <NAME>
*/
@Slf4j
public class MaskerTest {
@Test
public void maskCreditCards() {
Masker masker = new Masker();
masker.addMask(Masker.MASK_CREDITCARD);
... |
package org.spiderwiz.core;
import java.io.IOException;
import java.util.UUID;
import org.spiderwiz.zutils.ZConfig;
import org.spiderwiz.zutils.ZDate;
import org.spiderwiz.zutils.ZDictionary;
import org.spiderwiz.zutils.ZUtilities;
/**
*
* @author @author zvil
*/
class MyConfig extends ZConfig{
public static ... |
package de.hsesslingen.swb.xmlParser;
import de.hsesslingen.swb.DataStorage;
import de.hsesslingen.swb.Storage.LastProject;
import de.hsesslingen.swb.diagram.*;
import org.jdom2.Attribute;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.output.Format;
import org.jdom2.output.XMLOutputter;
import... |
/*
* Copyright (C) 2019 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 agree... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
/*
* NiFi Rest Api
* The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ... |
package io.pivotal.pa;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.n... |
/*-
* -\-\-
* Spydra
* --
* Copyright (C) 2016 - 2018 Spotify AB
* --
* 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
*
* Unles... |
/*
* Copyright (c) 1998-2021 <NAME> and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.nc2.dataset;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableList;
import javax.annotation.Nullable;
import javax.ann... |
package com.google.jepsenonspanner.verifier.knossos;
import com.google.common.annotations.VisibleForTesting;
import com.google.jepsenonspanner.client.Record;
import com.google.jepsenonspanner.operation.OpRepresentation;
import us.bpsm.edn.Keyword;
import java.util.ArrayList;
import java.util.Collections;
import java.... |
package org.klesun.deep_assoc_completion.completion_providers;
import com.intellij.codeInsight.completion.*;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.codeInsight.lookup.LookupElementBuilder;
import com.intellij.codeInsight.lookup.LookupElementPresentation;
import com.intellij.openapi.p... |
/*
* Copyright (c) 2011-2022 PrimeFaces Extensions
*
* 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, mod... |
/* $Id$ */
package sor_grid;
/**
* SOR.java
* Successive over relaxation
* SUN RMI version implementing a red-black SOR, based on earlier Orca source.
* with cluster optimization, and split phase optimization, reusing a thread
* each Wide-Area send. (All switchable)
*
* @author <NAME>
* @author <NAME>
* @aut... |
package org.fastfed4j.test.evaluator.metadata;
import org.fastfed4j.core.metadata.Metadata;
import org.fastfed4j.core.util.ReflectionUtils;
import org.fastfed4j.test.evaluator.Operation;
import org.junit.Assert;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.*;
... |
/* $Id$
*
* Tab Spacing = 4
*
* Copyright (c) 2002-2004, <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:
*
* Redistributions of source code must retain the above copyright notice,... |
/*
* USE - UML based specification environment
* Copyright (C) 1999-2004 <NAME>, University of Bremen
*
* 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 2 of the
* License, ... |
package org.hit.android.haim.texasholdem.server;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.hit.android.haim.texasholdem.server.model.service.GameService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBoo... |
package org.datanucleus.store.scalaris.query;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.datanucleus.ClassLoaderResolver;
import org.datanucleus.ExecutionContext;
import org.datanucleus.exceptions.NucleusUserException;
im... |
package net.futureclient.client;
import net.minecraft.entity.Entity;
import net.minecraft.entity.boss.EntityDragon;
import net.minecraft.entity.boss.EntityWither;
import net.minecraft.entity.item.EntityBoat;
import net.minecraft.entity.item.EntityEnderCrystal;
import net.minecraft.entity.item.EntityEnderEye;
import ne... |
package edu.umass.cs.gnsclient.client.singletests.failingtests;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.After;
import org.junit.runner.JUnitCore;
import org.junit.runner.Resul... |
/**
* 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"); yo... |
/****************************************************************
* 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 ... |
/*
* The MIT License (MIT)
*
* 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,... |
package com.nanyang.app.load.register;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.nanyang.app.R;
import com.... |
package sk.homisolutions.shotbox.snem.simplecamera.gopro;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.HttpVersion;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.conn.params.ConnManagerParams;
import org.apache.http.conn.scheme.PlainSocketFac... |
/*
* 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 ... |
// Copyright 2017 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
// Generated code from Butter Knife. Do not modify!
package com.justwayward.reader.ui.activity;
import android.support.annotation.CallSuper;
import android.support.annotation.UiThread;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.Relati... |
/*
* Copyright (c) 2012, 2015 <NAME>, <EMAIL>.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*/
package fi.iki.tsnorri... |
package org.aepscolombia.platform.controllers;
import com.opensymphony.xwork2.ActionContext;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import org.aepscolombia.platform.models.dao.LogEntitiesDao;
import or... |
package org.smartregister.gizi.utils;
import org.smartregister.commonregistry.AllCommonsRepository;
import org.smartregister.domain.form.FormSubmission;
import org.smartregister.repository.DetailsRepository;
import org.smartregister.service.formsubmissionhandler.FormSubmissionHandler;
import util.formula.Support;
imp... |
/* © 2013-2015 Deuterium Labs Limited */
package com.deuteriumlabs.dendrite.view;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import javax.servlet.jsp.PageContext;
import com.deuteriumlabs.dendrite.model.PageId;
import com.deuteriumlabs.dendrite.model.StoryBeginning;
import com.deuter... |
/*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2016 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... |
package mage.server.util;
import mage.server.util.config.*;
import mage.utils.FluentBuilder;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.RandomUtils;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.TestFactory;
imp... |
package com.example.alann.fyp;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.... |
import java.util.*;
import java.util.stream.Collectors;
public class StreamTest {
public static void main(String[] args) {
List<Integer> intList = Arrays.asList(7, 6, 9, 4, 11, 6);
List<Person> personList = initPersonList();
List<String> strList = Arrays.asList("adnm", "admmt", "pot", "xba... |
/**
* The $ gesture recognizers (Java version)
*
* Copyright (c) 2018, <NAME>. All rights reserved.
*
* based on the $Q Super-Quick Recognizer (C# version) found at
* http://depts.washington.edu/madlab/proj/dollar/qdollar.html
* whose original header follows:
*
* The $Q Point-Cloud Recognizer (.NET Framework C... |
/**
* 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 org.jfree.chart.plot.dial;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Stroke;
import java.awt.geom.Arc2D;
import java.awt.geom.Arc2D.Double;
import java.awt.geom.GeneralPath;
import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
i... |
// Copyright (c) 2015, Intel Corporation
// 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. Redistributions of source code must retain the above copyright
// notice, this list of cond... |
package vg.civcraft.mc.prisonpearl;
import java.util.List;
import vg.civcraft.mc.civmodcore.annotations.CivConfig;
import vg.civcraft.mc.civmodcore.annotations.CivConfigType;
public class PrisonPearlConfig {
@CivConfig(name = "prison.reset_bed", def = "false", type = CivConfigType.Bool)
public static boolean isPr... |
/*
* Copyright 2009 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package com.github.joergschwabe;
/*-
* #%L
* Axiom Pinpointing Experiments
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2017 - 2018 Live Ontologies 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... |
package com.poliveira.apps.materialtests;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.widget.Toolbar;
import android.text.Editable;
import android.text.TextWatcher;
impo... |
/**
* Copyright (C) 2013 <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 ... |
package edu.ucsf.lava.crms.webflow.builder;
import static edu.ucsf.lava.core.controller.BaseGroupComponentHandler.GROUP_MAPPING;
import static edu.ucsf.lava.core.controller.BaseEntityComponentHandler.CONFIRM_LOGIC;
import java.util.ArrayList;
import java.util.List;
import org.springframework.binding.mapping.Attribut... |
package cz.muni.crocs.appletstore.action;
import apdu4j.HexUtils;
import apdu4j.ResponseAPDU;
import cz.muni.crocs.appletstore.Config;
import cz.muni.crocs.appletstore.SendAPDUDialogWindow;
import cz.muni.crocs.appletstore.card.*;
import cz.muni.crocs.appletstore.ui.HtmlText;
import cz.muni.crocs.appletstore.ui.Notice... |
/*******************************************************************************
* Copyright (c) 2012 <NAME>.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://ww... |
package com.kasteca.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.provider.OpenableColumns;
import... |
package com.mit.color.wallpaper;
import com.mit.color.wallpaper.R;
import com.mit.color.wallpaper.util.SystemUiHider;
import android.R.bool;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.WallpaperManager;
import android.content.Intent;
import android.graphics.Bitmap;
import andr... |
package org.tzi.use.gui.views.selection.classselection;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import javax.swing.AbstractAction;
import javax.swing.JMenu;
impo... |
// Copyright 2019 Alpha Cephei 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 agree... |
/*
* This file is part of AntMonitor <https://athinagroup.eng.uci.edu/projects/antmonitor/>.
* Copyright (C) 2018 <NAME> and the UCI Networking Group
* <https://athinagroup.eng.uci.edu>, University of California, Irvine.
*
* AntMonitor is free software: you can redistribute it and/or modify
* it under the te... |
/*
* Copyright (C) 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package org.wso2.carbon.is.migration.service.v5120.migrator;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wso2.carbon.base.MultitenantConstants;
import org.wso2.carbon.identity.application.common.I... |
/*
* Copyright © 2019 <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... |
/*
* This software is distributed under the Creative Commons Attribution 4.0
* International license. See LICENSE.TXT in the main directory of this
* repository for more information.
*/
package wptools.lib;
import org.apache.commons.cli.CommandLine;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.... |
/*
* Copyright 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 applica... |
/*
* Copyright 2019 <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 agreed to in writing, ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package water.api;
import dontweave.gson.*;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import water.*;
import water.util.Log;
import water.util.TimelineSnapshot;
public class IOStatus extends Request {
private static final String HISTOGRAM = "histogram";
public... |
package com.sk.learn.gen.tree;
import com.google.common.base.MoreObjects;
import com.google.common.collect.*;
import com.sk.learn.domain.FeatureVector;
import com.sk.learn.domain.InputSample;
import com.sk.learn.gen.FeatureLearner;
import org.apache.commons.math3.exception.MaxCountExceededException;
import org.apache... |
package com.isystk.sample.web.common.deploy;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.... |
package org.bocogop.shared.model;
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE;
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.PUBLIC_ONLY;
import java.time.ZoneId;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import ... |
package view;
import java.io.File;
import java.io.FilenameFilter;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import java.util.ResourceBundle;
import java.util.function.Consumer;
import controller.D... |
// Copyright 2008 <NAME> <<EMAIL>>
//
// This software may be used and distributed according to the terms
// of the Genyris License, in the file "LICENSE", incorporated herein by reference.
//
package org.genyris.test.interp;
import java.io.StringWriter;
import junit.framework.TestCase;
import org.genyris.core.Bignu... |
package it.units.malelab.jgea.core.listener;
import it.units.malelab.jgea.core.Individual;
import it.units.malelab.jgea.core.evolver.Event;
import it.units.malelab.jgea.core.evolver.Event;
import it.units.malelab.jgea.core.evolver.Evolver;
import it.units.malelab.jgea.core.util.Misc;
import it.units.malelab.jgea.core.... |
package com.louis.test.n100.string;
import org.junit.Test;
import java.util.*;
import static org.junit.Assert.assertEquals;
public class StringSolution {
@Test
public void test() {
System.out.println(lengthOfLastWord(""));
}
public String minWindow(String s, String t) {
Map<Charact... |
package org.systemsbiology.xtandem.testing;
import org.systemsbiology.xtandem.*;
import org.systemsbiology.xtandem.ionization.*;
import org.systemsbiology.xtandem.peptide.*;
import org.systemsbiology.xtandem.scoring.*;
import java.util.*;
/**
* org.systemsbiology.xtandem.testing.TheoreticalScoring
* class for scor... |
package com.hdh.lifeup;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.hdh.lifeup.base.BaseDTO;
import com.hdh.lifeup.model.domain.TeamMemberRecordDO;
import com.hdh... |
package jigglyslimes.model;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import jigglyslimes.math.MathUtil;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.vector.Matrix3f;
import net.minecraft.util.math.vector.Matrix4f;
import net.minecraft.u... |
package user_interaction_component;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.*;
import javax.swing.Timer;
import reasoner_component.Constraint;
import reasoner_component.ConstraintSet;
import reasoner_component.Recommender;
import rule_explorer_com... |
package fr.inria.anhalytics.commons.utilities;
import fr.inria.anhalytics.commons.exceptions.BinaryNotAvailableException;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import jav... |
package com.example.experimentify;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import androi... |
/*
* Copyright (c) 2020-2021 <EMAIL> jweb.cc.
*
* 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 thredds.server.ncSubset.dataservice;
import java.util.ArrayList;
import java.util.List;
import ucar.ma2.Array;
import ucar.ma2.ArrayDouble;
import ucar.ma2.ArrayObject;
import ucar.ma2.DataType;
import ucar.ma2.StructureData;
import ucar.ma2.StructureDataW;
import ucar.ma2.StructureMembers;
import... |
/**************************************************************************
* File name : HighResolutionTime.java
*
* This file is part a SCJ Level 0 and Level 1 implementation,
* based on SCJ Draft, Version 0.94 25 June 2013.
*
* It is free software: you can redistribute it and/or modify
* it under the terms... |
/*
* Copyright 2015-2017 GenerallyCloud.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
*
* Unless required by applicabl... |
/**
* 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"); yo... |
/*
* LensKit, an open-source toolkit for recommender systems.
* Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md)
* Copyright 2010-2014 Regents of the University of Minnesota
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentati... |
/*
* Copyright 2020-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this artifact or file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... |
package cd4017be.automation.TileEntity;
import net.minecraft.util.EnumHand;
import net.minecraft.util.ITickable;
import java.util.ArrayList;
import cd4017be.automation.Objects;
import cd4017be.lib.ModTileEntity;
import cd4017be.lib.MovedBlock;
import cd4017be.lib.util.Utils;
import cd4017be.lib.util.Vec3;
import net... |
/*
*
* * Copyright 2015 <NAME>
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * Unless required by appl... |
package edu.scripps.yates.annotations.uniprot;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
impor... |
package com.me.gmall.realtime.app.dwm;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.me.gmall.realtime.app.func.DimAsyncFunction;
import com.me.gmall.realtime.bean.OrderDetail;
import com.me.gmall.realtime.bean.OrderInfo;
import com.me.gmall.realtime.bean.OrderWide;
import com.m... |
package com.open.device.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.github.pagehelper.PageInfo;
import com.google.common.collect.Maps;
import com.open.capacity.common.util.DateUtils;
i... |
import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Rectangle;
public class Player extends GameObject {
public static final int MAX_METER = 100;
public static final int ATTACK_THRESHOLD = 25;
public static final float DEFAULT_METER_RATE = 0.5f... |
package org.java.epcGS1coder.gdti;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.BitSet;
import org.apache.commons.lang3.StringUtils;
/**
* The Global Document Type Identifier EPC scheme is used to assign a unique identity to a specific
* document, such as land registration papers, an in... |
/*
* Copyright (c) 2011, 2012, 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 ... |
package project.dheeraj.hackcovid_19.Fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.text.Editable;
import android.text.InputFilter;
import android.text.Spanned;
import an... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissio... |
package yokwe.stock.us.nasdaq;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import yokwe.stock.us.nasdaq.api.API;
import yokwe.stock.us.nasdaq.api.AssetClass;
import yokwe.stock.us.nasdaq.api.Divi... |
package nl.cwi.dis.physiofashion;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.sup... |
package com.wallpaper.moive.ui;
import android.annotation.TargetApi;
import android.content.BroadcastReceiver;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.MediaScannerC... |
package geometry.geom3d;
import geometry.collections.Ring;
import geometry.geom2d.Point2D;
import geometry.geom2d.Polygon;
import geometry.geom2d.algorithm.OffsetOperator;
import geometry.geom2d.algorithm.Triangulator;
import geometry.math.AngleUtil;
import java.util.logging.Logger;
public class PolygonEx... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.