text stringlengths 3.08k 15.2k |
|---|
package com.pject.sources.parsing;
import com.google.common.collect.Lists;
import com.pject.helpers.LogFormatHelper;
import com.pject.helpers.StatsHelper;
import com.pject.sources.Source;
import com.pject.sources.helpers.LinkShortenerHelper;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.c... |
/*******************************************************************************
* Copyright 2006 - 2012 Vienna University of Technology,
* Department of Software Technology and Interactive Systems, IFS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... |
package nano.service.security;
import nano.service.security.modal.TokenDTO;
import nano.service.nano.AppConfig;
import nano.service.nano.entity.NanoToken;
import nano.service.nano.entity.NanoUser;
import nano.service.nano.repository.TokenRepository;
import nano.service.util.JsonPathModule;
import nano.service.util.Use... |
package de.kp.works.core.chart;
/*
* Copyright (c) 2019 Dr. Krusche & Partner PartG. 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/lice... |
package it.simone36050.network;
import java.nio.charset.StandardCharsets;
import java.util.LinkedList;
import java.util.NoSuchElementException;
public class ByteBuf {
private LinkedList<Byte> buf = new LinkedList<Byte>();
public byte readByte() {
try {
return buf.removeFirst();
} catch (NoSu... |
package life.qbic.projectbrowser.samplegraph;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.stream.Collectors;
import javax.xml.bind.JAXBException;
import com.vaadin.d... |
/*******************************************************************************
* Copyright 2019 <NAME> (i-net software)
*
* 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://w... |
/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
... |
package crackingthecode;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.List;
import javax.annotation.Nullable;
public final class Chapter3StacksAndQueues {
/*
* 3.1 - Describe how you could use a single array to implement three stacks.
*/
// n - si... |
package com.github.dabasan.xops.bd1;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import co... |
package uk.ac.cam.cl.bravo.preprocessing;
import javafx.util.Pair;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.HashSet;
public class EdgeRemoval {
public static Pair<BufferedImage,HashSet<Point2D>> edgeRemoval(BufferedImage srcFile, BufferedImage inputFil... |
/**
* (c) Copyright 2018, 2019 IBM Corporation
* 1 New Orchard Road,
* Armonk, New York, 10504-1722
* United States
* +1 914 499 1900
* support: <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 obta... |
/*
* Copyright 2013 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 applic... |
package com.clevoice.asr.models;
import com.alibaba.fastjson.JSON;
import com.iflytek.msp.cpdb.lfasr.client.LfasrClient;
import com.iflytek.msp.cpdb.lfasr.client.LfasrClientImp;
import com.iflytek.msp.cpdb.lfasr.exception.LfasrException;
import com.iflytek.msp.cpdb.lfasr.model.LfasrType;
import com.iflytek.msp.cpdb.lf... |
package org.jasperreportssample;
import java.lang.Runnable;
import javax.swing.JPanel;
import javax.swing.JOptionPane;
import java.awt.event.ActionEvent;
import java.io.File;
import java.io.FileNotFoundException;
import java.sql.Connection;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperrepo... |
package neqsim.thermodynamicOperations.flashOps.saturationOps;
/*
* TPflash.java
*
* Created on 27. september 2001, 09:43
*/
import neqsim.dataPresentation.JFreeChart.graph2b;
import neqsim.thermo.ThermodynamicConstantsInterface;
import static neqsim.thermo.ThermodynamicConstantsInterface.R;
import neqsim.thermo.... |
package ProjectBank;
import java.sql.*;
import java.util.Scanner;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import java.util.*;
public class Registration {
public void newReg (String query,String id){
try{
Class.forName("com.mysql.jdbc.Drive... |
package com.diamondq.common.config.core;
import com.diamondq.common.config.spi.ConfigNode;
import com.diamondq.common.config.spi.ConfigProp;
import com.diamondq.common.config.spi.NodeType;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Optiona... |
package aQute.bnd.mavenplugin;
import java.io.*;
import java.util.*;
import org.apache.maven.artifact.*;
import org.apache.maven.execution.*;
import org.apache.maven.model.*;
import org.apache.maven.plugin.*;
import org.apache.maven.plugins.annotations.*;
import org.apache.maven.plugins.annotations.Mojo;
import org.... |
package org.JMathStudio.MathToolkit.StatisticalTools.Regression;
import org.JMathStudio.DataStructure.Cell.Cell;
import org.JMathStudio.DataStructure.Vector.Vector;
import org.JMathStudio.Exceptions.BugEncounterException;
import org.JMathStudio.Exceptions.IllegalArgumentException;
import org.JMathStudio.MathToolkit.Ma... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package pers.missionlee.webmagic.spider.sankaku.info;
import com.alibaba.fastjson.JSON;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.FileFilter;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.*;
/**
... |
package view;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.layout.*;
import javafx.stage.Stage;
import model.exceptions.UnableToSaveFileExcep... |
/*
* Copyright (c) 2008-2016, GigaSpaces Technologies, 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
*
* Un... |
/*
* Copyright (c) 2014, <NAME> <<EMAIL>>
* 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... |
package net.just_s.ctpmod;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.just_s.ctpmod.config.ConfigParser;
import net.just_s.ctpmod.config.Point;
import net.just_s.ctpmod.util.ReconnectThread;
import net.minecraft.client.gui.screen.*;
im... |
/**
* Der Wettlauf unterteilt sich in den Start, das eigentliche Rennen und die Auswertung. Zu Beginn gehen die Läufer an den Start,
* d. h. den angetretenen Läufern wird eine Bahn zugewiesen. Danach findet das eigentliche Rennen statt, bei dem den Startern eine
* Zufallszahl als Zeit zugewiesen wird. Anschließend ... |
package mil.dds.anet.database;
import java.util.List;
import java.util.Map;
import org.joda.time.DateTime;
import org.skife.jdbi.v2.GeneratedKeys;
import org.skife.jdbi.v2.Handle;
import org.skife.jdbi.v2.Query;
import org.skife.jdbi.v2.sqlobject.customizers.RegisterMapper;
import mil.dds.anet.AnetObjectEngine;
impo... |
/*
* Open Source Physics software is free software as described near the bottom of this code file.
*
* For additional information and documentation on Open Source Physics please see:
* <http://www.opensourcephysics.org/>
*/
package org.opensourcephysics.display3d.core;
import org.opensourcephysics.control... |
package francis.kylintest.modules;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.StringTokenizer;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
i... |
package mobi.newsound.network;
import com.google.gson.*;
import javafx.application.Platform;
import mobi.newsound.model.Assignment;
import mobi.newsound.model.Participant;
import mobi.newsound.model.Submission;
import okhttp3.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import ... |
/*
* 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 ... |
/*
* 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
* distribut... |
package org.lpw.clivia.module;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.lpw.clivia.page.Pagination;
import org.lpw.photon.freemarker.Freemarker;
import org.lpw.photon.util.Context;
import org.lpw.photon.util.Io;
import org.lpw.photon.util.Json;
import org.lpw.photon.uti... |
package org.metaborg.spoofax.core.stratego;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.annotation.Nullable;
import org.apache.commons.vfs2.FileObject;
import org.metaborg.... |
package org.github.yippee.notifytools.service;
import android.Manifest;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.pm.PackageManag... |
/**
* 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 net.badbird5907.lightning;
import lombok.Getter;
import net.badbird5907.lightning.annotation.EventHandler;
import net.badbird5907.lightning.event.Cancellable;
import net.badbird5907.lightning.event.Event;
import net.badbird5907.lightning.internal.EventInfo;
import net.badbird5907.lightning.internal.IEventBus;
... |
/*
* Copyright 2018-2021 WebPKI.org (http://webpki.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package ro.pub.acs.traffic.collector;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.util.*;
import java.text.SimpleDateFormat;
import com.mysql.jdbc.Statement;
class ConnectionThread extends Thread {
Socket socket;
boolean debug;
DBManager db;
public static final String... |
// Copyright 2014 takahashikzn
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... |
/**
* *********************************************************************
* Copyright (c) 2016: <NAME>ica Nucleare (INFN) -
* INDIGO-DataCloud
*
* See http://www.infn.it and and http://www.consorzio-cometa.it for details on
* the copyright holders.
*
* Licensed under the Apache License, Version 2.0 (the "Lice... |
/*
* Copyright 2021 EPAM Systems, Inc
*
* 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 not use this file except in compliance
* with the License. You may obtain a copy of the Li... |
/**
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* dist... |
/*
* This file is part of the Crawl RSS - Heritrix 3 add-on module
*
* Licensed to the National and Univeristy Library of Iceland (NULI) by one or
* more individual contributors.
*
* The NULI licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this fi... |
/*
* Copyright (c) 2021 Huawei Device Co., 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... |
package com.navismart.navismart.view.marina;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.ViewModelProviders;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.te... |
/*
* Copyright 2012-present Facebook, 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... |
package com.example.schemainfer.protogen.javaudf;
import com.example.schemainfer.protogen.domain.ProtoLine;
import com.example.schemainfer.protogen.functions.ConcatLineFunction;
import com.example.schemainfer.protogen.utils.CommonUtils;
import com.example.schemainfer.protogen.utils.SchemaInferConfig;
import org.apache... |
package fun.play.alog.search;
import org.apache.commons.lang.RandomStringUtils;
import org.junit.Assert;
public class RBTree<K extends Comparable<K>, V> {
class Node{//144B
K key;
V val;
int color;
Node left;
Node right;
int size;
public Node(K key,V val,int size, int color) {
this.key = key;
... |
/*
* Open Advancement Question Answering (OAQA) Project Copyright 2016 Carnegie Mellon University
*
* 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/LICENS... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (c) 2009-2011 <EMAIL>
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation th... |
package io.gameoftrades.student44.StedenTourAlgoritmeImpl;
import io.gameoftrades.debug.Debuggable;
import io.gameoftrades.debug.Debugger;
import io.gameoftrades.model.Handelaar;
import io.gameoftrades.model.algoritme.SnelstePadAlgoritme;
import io.gameoftrades.model.algoritme.StedenTourAlgoritme;
import io.gameoftrad... |
package icfpc2021.strategy;
import icfpc2021.ScoringUtils;
import icfpc2021.actions.Action;
import icfpc2021.actions.MoveVertexToGridAction;
import icfpc2021.geom.GridDirection;
import icfpc2021.model.Edge;
import icfpc2021.model.Figure;
import icfpc2021.model.LambdaMan;
import icfpc2021.model.Vertex;
import icfpc2021... |
/*
Copyright 2020 Twitter, Inc.
SPDX-License-Identifier: Apache-2.0
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 ... |
package com.github.kostasdrakonakis;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Build;
import android.preference.Preference;
import android.support.annotation.ColorRes;
import android.support.annotation.NonNull;
import android.support.v4.cont... |
package com.andedit.arcubit.world;
import static com.andedit.arcubit.world.World.world;
import static com.badlogic.gdx.math.MathUtils.random;
import static com.andedit.arcubit.options.Options.peaceful;
import com.andedit.arcubit.blocks.Block;
import com.andedit.arcubit.blocks.Blocks;
import com.andedit.arcubit.blocks... |
package org.firstinspires.ftc.teamcode.tests;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hardware.DcMotor;
impo... |
package info.iconmaster.minethecrafting.items;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.gson.Gson;
import com.google.gson.JsonObject... |
package com.ngdesk.nodes;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpRe... |
package fr.philippedeoliveira.filters;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.springframework.context.support.MessageSourceAccessor;
import org.springframework.dao.DataAccessException;
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 Controlador;
import DespliegueEntrega.IEntregas;
import DespliegueReserva.IReservas;
import DespliegueUsuario.IUsua... |
/*
* $Id$
*/
/*
Copyright (c) 2017 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including... |
package uk.co.neuralcubes.neuralates.sphero;
import android.content.Context;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.util.Log;
import com.google.common.collect.Lists;
import com.orbotix.ConvenienceRobot;
import com.orbotix.DualStackDiscoveryAgent;
import com.orbotix.comman... |
package com.pepper.project.system.user.controller;
import com.alibaba.fastjson.JSONObject;
import com.pepper.common.constant.GenConstants;
import com.pepper.common.constant.SMSCodeEnum;
import com.pepper.common.utils.StringUtils;
import com.pepper.common.utils.security.ShiroUtils;
import com.pepper.framework.web.contr... |
package banditopazzo.imu_tracker.tracking.trackingBoard;
import android.content.Context;
import android.graphics.*;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import banditopazzo.imu_tracker.R;
import banditopazzo.imu_tracker.tracking.accelerometer.UpgradableSurface;
i... |
// 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... |
/*
* 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.cobbzilla.util.telephony;
import org.cobbzilla.wizard.telephony.SmsUtil;
import org.junit.Test;
import static org.junit.Assert.*;
public class SmsUtilTest {
private int len(String s) { return s == null ? 0 : s.length(); }
public static final String[][] TEST_SHORTNAME = {
/* 0 5 ... |
/*
* MIT License
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... |
package com.example.gridimagesearch.gridimagesearch.activities;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.MenuItemCompat;
... |
/*
* 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 2016-present trivago GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.a... |
package com.nuchwezi.dnaphistrion;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
/**
* @auth... |
package com.sintef_energy.ubisolar.database.energy;
import android.content.ContentValues;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
import android.provider.BaseColumns;
import com.sintef_energy.ubisolar.model.Residence;
/**
* Created by <NAME> on 02.05.2014.
*/
public c... |
package com.fasterxml.jackson.databind.cfg;
import com.fasterxml.jackson.databind.util.ClassUtil;
/**
* Configurable handler used to select aspects of selecting
* constructor to use as "Creator" for POJOs.
* Defines the API for handlers, a pre-defined set of standard instances
* and methods for constructing alter... |
package led.viewers;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.lang.reflect.InvocationTargetException;
import java... |
package eu.fbk.fm.alignments.scorer.text;
import com.google.common.base.Stopwatch;
import com.google.common.util.concurrent.AtomicDouble;
import eu.fbk.utils.lsa.BOW;
import eu.fbk.utils.math.DenseVector;
import eu.fbk.utils.math.Vector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOExcept... |
package edu.kit.cockpit.valuationserver.test.performance;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URL;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.ut... |
/*
* Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Indoqa licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
package com.bbn.akbc.neolearnit.observations.pattern;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.bbn.bue.common.symbols.Symbol;
import com.bbn.akbc.neolearnit.common.targets.Target;
import com.bbn.akbc.neolearnit.observations.pattern.restriction.Restr... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2015, 2016 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software Foundation,
* version 2 of the Licens... |
/**
* Copyright (C) 2014 OpenTravel Alliance (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.example.android.miwok;
/**
* Created by aziz on 11/9/18.
*/
import android.app.Activity;
import android.content.Context;
import android.media.AudioAttributes;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.support.annotation.NonNull;
import android.support.annotation.N... |
package com.wemall.manage.admin.tools;
import com.wemall.core.tools.CommUtil;
import com.wemall.foundation.domain.*;
import com.wemall.foundation.service.*;
import org.nutz.json.Json;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.*;
/... |
package fun.brou.VictoryDance.Dance;
import fun.brou.VictoryDance.Main;
import net.citizensnpcs.api.CitizensAPI;
import net.citizensnpcs.api.npc.NPC;
import net.citizensnpcs.api.npc.NPCRegistry;
import net.jaxonbrown.guardianBeam.beam.Beam;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukk... |
/**
* 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 net.sourceforge.kolmafia.request;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import net.java.dev.spellcast.utilities.LockableListModel;
import net.sourceforge.kolmafia.AdventureResult;
import net.sourceforge.kolmafia.AdventureResult.AdventureLongCountResult;
import net.sourcefo... |
package frc.robot.subsystems;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import com.revrobotics.CANSparkMax;
import com.revrobotics.SparkMaxPIDController;
import com.revrobotics.CANSparkMax.IdleMode;
import com.re... |
package org.cuieney.videolife.common.danmu.client;
import android.util.Log;
import org.cuieney.videolife.common.danmu.msg.DyMessage;
import org.cuieney.videolife.common.danmu.msg.MsgView;
import org.cuieney.videolife.common.danmu.utils.KeepAlive;
import org.cuieney.videolife.common.danmu.utils.KeepGetMsg;
import jav... |
package aima.gui.fx.applications.logic;
import aima.core.logic.fol.kb.data.Literal;
import aima.core.logic.planning.*;
import aima.core.search.framework.QueueBasedSearch;
import aima.core.search.framework.qsearch.GraphSearch;
import aima.core.search.uninformed.BreadthFirstSearch;
import aima.core.search.uninformed.Uni... |
/*
* Copyright 2016 MIR@MU Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.nathan818.polus.server.connection.handler;
import com.google.common.collect.Iterables;
import com.nathan818.polus.api.connection.DisconnectReason;
import com.nathan818.polus.api.game.Game;
import com.nathan818.polus.api.game.options.ChatLanguage;
import com.nathan818.polus.api.game.options.GameMap;
import ... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import ru.stqa.pft.addressbook.model.ContactData;
import ru.stqa.pft.addressbook.model.Contacts;
import java.util.List;
public class ContactHelper extends HelperBas... |
import java.util.Random;
import java.util.concurrent.ConcurrentHashMap;
/**
* Requests:
* An object oriented request based networking protocol
* suitable for almost all networking applications
*/
public class Requests {
/**
* An interface used for callbacks for when an `error` or `return` is received
... |
package cordova.plugin.arcface;
import android.Manifest;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.Log;
import com.arcsoft.face.ActiveFileInfo;
import com.arcsoft.face.ErrorInfo;
import com.arcsoft.face.FaceEngine;
import com.arcsoft.face.FaceFeature;
import com.arcsoft.face.... |
package sss.utils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import sss.utils.structures.LuceneConfigs;
import sss.utils.structures.ReferencesConfigs;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.xpath.XPath;
import... |
package com.simple.mrchip.app;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.support.v4.app.Frag... |
package com.rambilight.core;
import com.rambilight.core.preferences.Preferences;
import com.rambilight.core.api.Global;
import com.rambilight.core.api.Light.LightHandler;
import com.rambilight.core.api.Platform;
import com.rambilight.core.api.ui.MessageBox;
import com.rambilight.plugins.Module;
import com.rambilight.p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.