text stringlengths 3.52k 24k |
|---|
package com.example.robert.opennlptest;
import android.util.Log;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import opennlp.tools.parser.Parse;
/**
* Created by robert on 18/05/17.
* processes voice queries
*/
public class... |
package eu.cloudopting.domain;
import eu.cloudopting.events.api.entity.BaseEntity;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.Email;
import org.springframework.beans.factory.annotation.Configurable... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package environment;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import javax.swing.JFileChooser;
/**
* This class implements the Wumpus world for maximally four agents. Creating Wumpus agents is an excellent way of practicing
* (symbolic) A.I. as it requires some reasoning and ... |
/*
* Copyright 2016 ElasticBox
*
* Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or http://apache.org/licenses/LICENSE-2.0>
* or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT> , at your option.
* This file may not be copied, modified, or distributed except according to those ... |
package logic;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.PointF;
import android.graphics.Rect;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.vi... |
package com.watvision.mainapp;
import android.app.Activity;
import android.bluetooth.le.BluetoothLeScanner;
import android.content.Context;
import android.os.Handler;
import android.speech.tts.TextToSpeech;
import android.util.Log;
import android.view.Menu;
import org.opencv.android.JavaCameraView;
import ... |
package uk.mario.levels;
import uk.mario.levelelements.Platform;
import city.cs.engine.*;
import uk.mario.enemies.Brown_enemy;
import uk.mario.enemies.Cannon;
import uk.mario.enemies.Fire_rod;
import uk.mario.enemies.Static_enemy;
import uk.mario.enemies.Turtle_fly_enemy;
import uk.mario.levelelements.Coin;
import org... |
/*
* 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 m... |
package com.ibm.socialcrm.notesintegration.ui.custom;
/****************************************************************
* IBM OpenSource
*
* (C) Copyright IBM Corp. 2012
*
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
***************************************************... |
/*
* Copyright (c) 2003-2009 jMonkeyEngine
* 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, this list of ... |
package inforkids.ui.panels;
import inforkids.core.move.SingleMove;
import inforkids.ui.programming.model.CodeLineModel;
import inforkids.ui.programming.model.InstructionModel;
import inforkids.ui.programming.view.CodeLine;
import inforkids.ui.programming.view.Instruction;
import inforkids.ui.programming.view.Loop;
im... |
package de.pruefbit.kata;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* This is just another Java implementation of the Bank OCR Kata.
* You can find the kata at the Coding Dojo of Emmanuel Gaillot.<br><br>
* <ul>
* <li><a href="http://codingdojo.org/kata... |
package algorithms.priorityqueue;
/**
* Indirect binary heap. Used for O(lgn) deleteMin and O(lgn) decreaseKey.
*/
public class ReusableIndirectHeap {
private static float[] keyList;
private static int[] inList;
private static int[] outList;
private int heapSize;
private static float d... |
package burgdsim.environment;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import burgdsim.environment.buildings.Building;
import burgdsim.main.GlobalVars;
import burgdsim.main.Outputter;
import repast.simphony.random.RandomHelper;
public class Community implem... |
package ed25519.test.internal;
import java.security.NoSuchAlgorithmException;
import javax.xml.bind.DatatypeConverter;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import ed25519.application.internal.BigPoint;
i... |
/**
* 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.matrix;
import java.util.ArrayList;
import maspack.util.NumberFormat;
public class Affi... |
package mutable.util;
import static mutable.util.Lg.*;
import java.util.Arrays;
/** Mutable but reversible/unitary. Addresses are in units of 32 bits, stored in an int[].
Writes cost 64 bits each, to remember how to undo them.
<br><br>
A stackptr (sp) into the long[sp++] and which long to do next may depend on curren... |
package com.palmelf.eoffice.model.hrm;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.bu... |
/*
* 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 org.redkalex.pay;
import java.io.*;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.u... |
package com.artemis.parallel_world.client.render.entity.model;
import com.artemis.parallel_world.entity.WaterStriderEntity;
import com.google.common.collect.ImmutableList;
import net.minecraft.client.model.*;
import net.minecraft.client.render.entity.model.AnimalModel;
public class WaterStriderEntityModel<T extends W... |
package no.sysco.middleware.metrics.prometheus.jdbc;
import static java.util.Objects.requireNonNull;
import static java.util.stream.Collectors.toList;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.Clock;
import java.time.Duration;
import java.time.Instant;
impor... |
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* 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 de.wwu.ercis.scraper;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.logging.Level;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.open... |
/*
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
This software is dual-licensed to you under the Universal Permissive License
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License
2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose
either license.
Li... |
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <<EMAIL>>
* Copyright (c) contributors
*
* 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 th... |
package com.github.queued.slr4v;
import com.github.queued.slr4v.model.entity.Day;
import com.github.queued.slr4v.utils.DatasetParser;
import com.github.queued.slr4v.utils.Plot;
import java.awt.*;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.SimpleDateFormat;... |
/*
* Copyright (C) Institute of Telematics, <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... |
package com.touyan.investment.activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.AdapterView;
import android.widget.LinearLayout;
import android.w... |
/*
Copyright (c) 2016 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that
the following conditions are met:
Redistributions of source code must retain the above copyright notice, ... |
/*
* 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 ed.biodare2.backend.features.tsdata.sorting;
import ed.biodare.jobcentre2.dom.JobResults;
import ed.biodare.jobcentre2... |
package competition;
import java.text.DecimalFormat;
import nTupleTD.TDParams;
import c4.Agent;
import c4.AlphaBetaAgent;
import c4.ConnectFour;
/**
* Allows a simple Evaluation of a TD-agent Allows a quick evaluation of the
* selected TD-agent. The TD-agent will play a certain number of matches again... |
/*
* This file is part of the ONT API.
* The contents of this file are subject to the LGPL License, Version 3.0.
* Copyright (c) 2019, Avicomp Services, AO
*
* 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... |
package de.jottyfan.camporganizer.db;
import static de.jottyfan.camporganizer.db.jooq.Tables.T_PERSON;
import static de.jottyfan.camporganizer.db.jooq.Tables.T_RSS;
import java.sql.Date;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import org.apache.logging.log4j.LogManager;... |
/*
* 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 2003-2019 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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 ag... |
/*
* AsTeRICS - Assistive Technology Rapid Integration and Construction Set
*
*
* d8888 88888888888 8888888b. 8888888 .d8888b. .d8888b.
* d88888 888 888 Y88b 888 d88P Y88b d88P Y88b
* d88P888 888 888 888 888 888 888 Y88b. ... |
package com.storytron.swat.util;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.BoxLayout;
import javax.swing.DefaultList... |
package ara.kuet.musta;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.drawable.Drawable;
import android.media.AudioManager;
import android.os.Handler;
import android.text.format.Time;
import java.util.TimerTask;
public class CustomTimerTask extends TimerTask {
... |
package alluxio.worker.block;
import alluxio.exception.BlockDoesNotExistException;
import alluxio.heartbeat.HeartbeatExecutor;
import alluxio.util.IdUtils;
import alluxio.wire.FileInfo;
import com.google.common.io.Closer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.Fi... |
package com.claireshu.flickster;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.view.MenuItemCompat;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.support... |
package org.apache.commons.httpclient.auth;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.S... |
package de.kai_morich.simple_bluetooth_le_terminal.payload;
import android.util.Log;
import de.kai_morich.simple_bluetooth_le_terminal.CodeUtils;
/**
*
* | index | Length | Decription |
* |:-----... |
package edu.mcm.dao.domain.basic;
import java.util.Date;
/**
* 用户基本信息
* @author wanggang
*
*/
public class UserBasicBP {
private final long username; // 用户ID,10位数字
private final String domain_name; // 个性化域名
private final String nickname; // 用户名
private final int gender; // 性别,0--男,1--女,2--其他
private final i... |
package com.truward.metrics.json.internal.appender;
import com.truward.metrics.json.internal.cache.RecordCache;
import com.truward.metrics.time.TimeService;
import com.truward.metrics.json.settings.CompressionType;
import com.truward.metrics.json.settings.TimeBasedRollingLogSettings;
import javax.annotation.Nonnull;
... |
package org.apache.http.impl.conn.tsccm;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.annotation.ThreadSafe;
import org.apache.http.conn.ClientConnectionManager;
import org.... |
package com.oliverr.jfmt;
import com.oliverr.jfmt.formatter.Align;
import com.oliverr.jfmt.formatter.Formatter;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.text.SimpleDateFormat;
import java.util.*;
public class FormatterTest {
... |
/*
* Sibilla: a Java framework designed to support analysis of Collective
* Adaptive Systems.
*
* Copyright (C) 2020.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no... |
package us.np.moodlymod.module.modules.misc;
import me.zero.alpine.fork.listener.EventHandler;
import me.zero.alpine.fork.listener.Listener;
import net.minecraft.block.Block;
import net.minecraft.block.BlockChest;
import net.minecraft.client.gui.inventory.GuiScreenHorseInventory;
import net.minecraft.entity.Entity;
im... |
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("gb")
public class class202 {
@ObfuscatedName("q")
@ObfuscatedSignature(
descriptor = "[Ldb;"
)
class115[] field2406;
@Ob... |
package avm_multithread;
import static java.lang.Math.abs;
import java.util.ArrayList;
import java.util.List;
public class Asansor_Thread implements Runnable {
Zaman time;
private int asansor_id;
private int yolcu_sayisi;
private boolean asansor_durum;
private String asansor_mod;
... |
package com.techco.common;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import a... |
package com.hellokaton.blade.server;
import com.hellokaton.blade.annotation.Path;
import com.hellokaton.blade.asm.MethodAccess;
import com.hellokaton.blade.exception.BladeException;
import com.hellokaton.blade.exception.InternalErrorException;
import com.hellokaton.blade.exception.NotFoundException;
import com.helloka... |
package br.com.electronictimesheet.controller;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZoneId;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.LinkedList;
import java.util.List;
import org.slf4j.Log... |
// 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.subsystems;
// import java.lang.System.Logger.Level;
import com.ctre.phoenix.motorcontrol.ControlMod... |
package io.mapwize.mapwizeuicomponents.Fragments;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.GridLayout;
import android.widget.ImageView;
import android.widget.Rati... |
package tests.restapi.scenarios.experiments;
import java.io.IOException;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.wink.json4j.JSONArray;
import org.apache.wink.json4j.JSONException;
import org.apache.wink.json4j.JSONObject;
import org.testng.Assert;
import org.testng.annotations... |
/*
* Copyright 2020 <NAME>'
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package grouping;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Set;
import java.util.stream.Collectors;
import... |
package program;
import com.wrapper.spotify.SpotifyApi;
import com.wrapper.spotify.model_objects.miscellaneous.CurrentlyPlaying;
import com.wrapper.spotify.model_objects.specification.ArtistSimplified;
import com.wrapper.spotify.model_objects.specification.AudioFeatures;
import com.wrapper.spotify.model_objects.... |
/**
*
*/
package edu.berkeley.nlp.PCFGLA;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import edu.berkeley.nlp.PCFGLA.ConditionalTrainer.Options;
import edu.berkeley.nlp.util.OptionParser;
/**
* @author petrov
*
*/
public class ConditionalPipeline {
public ... |
/******************************************************************
*
* This code is for the Complaints service project.
*
*
* © 2018, Complaints Management All rights reserved.
*
*
******************************************************************/
package co.cpl.utilities;
import java.io.IOException;
import ... |
package hoon2woon2;
import org.psnbtech.BoardPanel;
import org.psnbtech.Tetris;
import org.psnbtech.TileType;
import javax.swing.*;
import java.util.HashMap;
import java.util.Random;
import javax.swing.JOptionPane;
/**
* gowoon-choi
* TODO comment
*/
public class MultiPlay {
/**
* gowoon-choi
* TOD... |
/*
* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ... |
/*
* Copyright 2015 Google Inc. 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 appli... |
/*
* PlanTransferHandler.java 12 sept. 2006
*
* Sweet Home 3D, Copyright (c) 2006 <NAME> / eTeks <<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 2 of the Licens... |
package io.renren.modules.sys.controller;
import java.text.SimpleDateFormat;
import java.util.*;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import io.renren.common.validator.ValidatorUtils;
import io.renren.modules.sys.dto.MalfunctionInfoDto;
impor... |
/*
* 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 grothagar;
import java.sql.*;
import javax.swing.*;
/**
*
* @author Tipu
*/
public class Addmember extends javax.swing.JFram... |
package com.jaeger.refreshlayout.lib;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.view.View;
/**
* ... |
/*
* Copyright 2016-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package nl.gogognome.lib.gui.beans;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.M... |
package org.jenkinsci.plugins.sma;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.*;
import hudson.tasks.BuildStepDescriptor;
import hudson.tasks.Builder;
import hudson.util.ListBoxModel;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.StaplerReq... |
package scratch.martinez.beans;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.J... |
package org.mitre.schemastore.porters.xml;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import org.mitre.schemastore.model.Alias;
import org.mitre.schemastore.model.Attribute;
import org.mitre.schemastore.model.Containment;
import org.mitre.schemas... |
package deepmehtait.com.githubissues.activity;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.nfc.Tag;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import androi... |
package tool.clients.editors;
import javafx.application.Platform;
import javafx.concurrent.Worker;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.*;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.... |
package com.example.unquote;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import andr... |
package com.guineehitmusique.com.guineehitmusic1.providers.radio.ui;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.AudioManager;
import android.os.AsyncTask;
import android.os.Bundle;
imp... |
/*
* Copyright 2016 <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 w... |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 ver... |
package com.virtusa.gto.plugins.aitest.servlet;
import com.atlassian.activeobjects.external.ActiveObjects;
import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.project.browse.BrowseContext;
import com.atlassian.jira.security.JiraAuthenticationContext;
import com.atlassian.jira.util.json.JSO... |
/*
* Copyright 2015 <NAME> and contributors.
*
* 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 2019 The MACE Authors. 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 appl... |
/*
* This software is provided "AS IS" without a warranty of any kind. You use it
* on your own risk and responsibility!!! This file is shared under BSD v3
* license. See readme.txt and BSD3 file for details.
*/
package kendzi.josm.kendzi3d.jogl.model.roof.mk.type;
import java.util.Arrays;
import java.ut... |
/*
* Copyright 2016 OPEN TONE 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 ... |
package com.bot.voice;
import com.bot.exceptions.MaxQueueSizeException;
import com.bot.utils.FormattingUtils;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
import com.sedmelluq.discord.lavaplayer.player.event.AudioEventAdapter;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
import com.sedmellu... |
/*
* Copyright 2016 <NAME> <<EMAIL>.<EMAIL> at gmail.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 req... |
/*-
* #%L
* Ellipsoid Surface Projection
* %%
* Copyright (C) 2016 - 2018 <NAME>
* %%
* 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,... |
package com.github.talent518.tetris;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.GestureDetector;
import android.view.KeyEvent... |
/*
* 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 ... |
package kb.utils;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Type;
import java.math.BigInteger;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
impo... |
package com.open.capacity.oss.utils;
import com.open.capacity.oss.md2html.toc.TocConstant;
import com.open.capacity.oss.model.CaLog;
import java.util.*;
import java.util.regex.Pattern;
/**
* 根据md文件中的#返回目录结构
*/
public class CatalogUtil {
private CatalogUtil(){}
/**
* 空白字符串
*/
public static ... |
package com.thinkbiganalytics.nifi.provenance.model;
/*-
* #%L
* thinkbig-nifi-provenance-model
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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 L... |
package com.yiliao.service.impl;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.mina.core.session.IoSession;
import org.springframework.stereotype.Service;
import com.yiliao.domain.GetOutOfLineRes;
import ... |
package co.nyzo.verifier.client;
import co.nyzo.verifier.*;
import co.nyzo.verifier.messages.TransactionResponse;
import co.nyzo.verifier.nyzoString.NyzoStringPrivateSeed;
import co.nyzo.verifier.nyzoString.NyzoStringPublicIdentifier;
import co.nyzo.verifier.util.IpUtil;
import co.nyzo.verifier.util.PrintUtil;
import ... |
package com.fang.starfang.local.task;
import android.util.Log;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
class DogLambda {
private static final String TAG = "FANG_DOG";
private enum COMMAND_CERTAIN_ENUM_UNION {
COMMAND_DESC_U... |
package com.magic.acme.assist.jpa.xtt.entity;
// Generated 2017-6-22 15:59:44 by Hibernate Tools 5.2.0.CR1
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax... |
/*-
* #%L
* A Fiji plugin that allow easy, fast and accurate detection and tracking of biological filaments.
* %%
* Copyright (C) 2016 - 2021 Fiji developers.
* %%
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
package com.camnter.newlife.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
/**
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.