text stringlengths 3.08k 15.2k |
|---|
/*
* 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.efix.util.parse;
import org.junit.Test;
import static org.efix.util.TestUtil.arrayOf;
import static org.efix.util.TestUtil.generateLong;
public class LongParserTest extends AbstractParserTest {
protected static final Verifier<Long> VERIFIER = Long::parseLong;
protected static final Parser<Long> ... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package Structures;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.*;
import JDBCUtils.JdbcUtil;
import Structures.pairModel;
public class graphModel {
public static String tr... |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... |
package com.github.jesg.dither;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
import java.util.Random;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Semaphore;
import java.util.concurrent.T... |
package view;
/*-
* #%L
* Hangman Solver
* %%
* 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/LI... |
package com.jwetherell.algorithms.data_structures.test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import com.jwetherell.algorithms.data_structures.FenwickTree;
import com.jwetherell.algorithms.data_str... |
package com.learn.shuip.yayashop.http;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.learn.shuip.yayashop.system.ShopApplication;
import com.squareup.okhttp.Cache;
import com.squareup.okhttp.Cache... |
/*
* Copyright © 2014-2016 <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... |
package com.merker.common.util.app;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.apache.poi.hssf.us... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package org.jenkinsci.plugins.microsoft;
import java.util.Calendar;
import java.util.UUID;
import org.apache.commons.lang.StringUtils;
import org.jenk... |
/**
* 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.henrik.gdxFramework.core;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.*;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics... |
/*
* 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 nyoicard;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URLEncoder;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
impor... |
package com.challengeandresponse.eventlogger;
import java.io.*;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
/**
* logs server events.
*
* A goal of this logger is to make it easy to write a very simple appended
* log file. The constructor will throw an exception if the log file cannot be ... |
package gsan.distribution.gsan_api.run.representative;
import java.io.*;
import java.util.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.rcaller.datatypes.DataFrame;
import com.github.rcaller.rstuff.RCaller;
import com.github.rcaller.rstuff.RCode;
import gsan.distribution.gsan_api.rea... |
package me.jasonclement.c196.ui;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import and... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* 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 l... |
package com.example.sapozone;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.androidnetworking.AndroidNetworking;
import com.androidnetworking.error.ANError;
import com.androidnetworking.interfaces.JSONArrayRequestListener;
import com.androidnetworking.in... |
package com.oxygenxml.gim;
import java.io.StringReader;
import java.net.URL;
import java.util.List;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import junit.framework.TestCase;
import net.sf.saxon.Configuration;
import net.sf.saxon.Control... |
package com.example.kevin.zhihulightread.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.internal.NavigationMenu;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.s... |
package com.github.schuettec.world;
import static com.github.schuettec.world.Collisions.detectCollision;
import static com.github.schuettec.world.skills.Skill.asSkill;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import com.github.schuettec.math.Point;
... |
/**
*
* 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
* "Licen... |
/* This file is part of Dynamic Surroundings, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* 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, ... |
/*
* Copyright (c) 2016-2019 Threema GmbH
*
* Licensed under the Apache License, Version 2.0, <see LICENSE-APACHE file>
* or the MIT license <see LICENSE-MIT file>, at your option. This file may not be
* copied, modified, or distributed except according to those terms.
*/
package org.saltyrtc.tasks.webrtc.tests.... |
/*
*
* * Copyright (C) 2018 VSCT
* *
* * 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... |
package umlcheker;
import java.util.*;
import java.util.List;
import javax.rmi.ssl.SslRMIClientSocketFactory;
import java.util.ArrayList;
import java.awt.*;
import java.awt.geom.Point2D;
import com.change_vision.jude.api.inf.project.ProjectAccessor;
import com.change_vision.jude.api.inf.AstahAPI;
import com.change_... |
/**
* Copyright (C) 2010-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... |
package com.github.kalabasa.freeformgesturedetector;
import android.content.Context;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.util.SparseArray;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.View;
import android.view.ViewConfiguratio... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package be.ugent.maf.cellmissy.gui.plate;
import be.ugent.maf.cellmissy.entity.Algorithm;
import be.ugent.maf.cellmissy.entity.Experiment;
import be.ugent.maf.cellmissy.entity.ImagingType;
import be.ugent.maf.cellmissy.... |
package net.reichholf.repola.retroidtoolbox;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import net.reichholf.repola.retroidtoolbox.PServiceBridgeV2;
import net.reichholf.repola.retroidtoolbox.PreprocessingActivity;
import java.io.InputStream;
import java.util.Arra... |
package com.silence.robot.model;
import java.io.Serializable;
import java.util.Date;
/**
* t_log_file
* @author
*/
public class TLogFile implements Serializable {
/**
* 物理主键
*/
private String id;
/**
* 日志时间
*/
private Date dateTime;
/**
* 系统名称
*/
private Str... |
package com.netflix.zuul.rxnetty;
import io.netty.buffer.ByteBuf;
import io.reactivex.netty.channel.Connection;
import io.reactivex.netty.client.ConnectionProvider;
import io.reactivex.netty.client.Host;
import io.reactivex.netty.client.HostConnector;
import io.reactivex.netty.client.loadbalancer.HostHolder;
import io... |
package com.yalantis.ucrop.view.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import androidx.annotation.ColorInt;
import androidx.core.con... |
package info.crlog.poseidon.terminal;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;
import info.crlog.poseidon.console.PoseidonCommand;
import info.crlog.poseidon.console.PoseidonConsole;
import info.crlog.poseidon.e... |
package org.rcsb.mmtf.geometric;
import java.io.Serializable;
import javax.vecmath.Matrix4d;
import javax.vecmath.Point3d;
import org.biojava.nbio.structure.symmetry.geometry.SuperPosition;
/**
* This class minimizes the mean absolute deviation between two pre-aligned sets of
* 3D points, a, and b. It transform... |
package init;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.ForkJoinTask;
import java.util.concurrent.RecursiveTask;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
/**
* Created ... |
package com.davidehrmann.nodejava.packagemanager;
import com.davidehrmann.nodejava.DependencyUtil;
import com.davidehrmann.nodejava.packagemanager.repository.npm.NpmRegistryEntry;
import org.apache.commons.compress.archivers.ArchiveEntry;
import org.apache.commons.compress.archivers.ArchiveException;
import org.... |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... |
package com.github.farisshi.translator.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.github.farisshi.translator.*;
import com.github.farisshi.translator.model.Definition;
import com.github.farisshi.translator.model.Pair;
import com.github.farisshi.translator.model.Synonym;
i... |
package com.codename1.camerakit;
import com.codename1.camerakit.impl.CameraCallbacks;
import com.codename1.camerakit.impl.CameraNativeAccess;
import com.codename1.system.NativeLookup;
import com.codename1.ui.PeerComponent;
import static com.codename1.ui.CN.*;
import com.codename1.ui.Display;
import java.util.ArrayList... |
package eu.kyotoproject.main;
import eu.kyotoproject.kaf.*;
import eu.kyotoproject.util.Util;
import org.apache.tools.bzip2.CBZip2InputStream;
import java.io.*;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.zip.GZIPInputStream;
/**
* Created with Int... |
/**
* personium.io
* Copyright 2018 FUJITSU LIMITED
*
* 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... |
/*
* 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 tools.wztosql;
import client.inventory.MapleInventoryType;
import constants.GameConstants;
import constants.ServerConfig;
impo... |
package com.quickserverlab.quickcached.load;
import java.io.IOException;
import java.util.Random;
import java.util.logging.*;
import com.quickserverlab.quickcached.client.*;
/**
*
* @author <NAME>
*/
public class LoadTest {
private int count;
private String name;
private String hostList;
private int timeout... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.ci.sojharo.aco;
import java.util.ArrayList;
import java.util.Random;
import com.gaurav.tree.NodeNotFoundException;
import com.gaurav.tree.Tree;
import com.iba.edu.ci.State;
public class Ant{
int antId;
ArrayList<State> tour;
Tree<State> treeSearchSpace;
char mySign;
... |
/**
* 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 ... |
package mit.cadlab.dome3.gui.guiutils.waitcursor;
/**
* Created by IntelliJ IDEA.
* User: caoq
* Date: Jan 16, 2004
* Time: 5:41:56 PM
* To change this template use Options | File Templates.
*
* we can use Robot to capture the desktop
image, and then open a Window (or JWindow) and draw the captured
... |
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2002 The Apache Software Foundation. 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... |
/**
* JWave - Java implementation of wavelet transform algorithms
*
* Copyright 2008-2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... |
/*
Copyright [2016] [<NAME>]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribut... |
package com.github.JHXSMatthew.Commands;
import java.sql.SQLException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.github.JHXSMatthew.Core;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bun... |
/**
* Write a description of class QuakeSortInPlace here.
*
* @author <NAME>
* @version 3/20/2018
*/
import java.util.*;
import edu.duke.*;
public class QuakeSortInPlace {
String source = "src\\data\\earthQuakeDataWeekDec6sample1.atom";
//String source = "src\\data\\nov20quakedatasmall.atom";
//St... |
/*
* Copyright (c) 2005, 2010, 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-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
* ... |
package com.simpleerp;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentSender;
import android.content.pm.PackageManager;
import android.os.Bundle;
im... |
package com.gankcorner.MainPage;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.V... |
/*
* SquirtPollcheck.java
* Copyright 2008, 2009, 2010, 2011, 2012, 2013 Fiji Systems Inc.
* This file is part of the FIJI VM Software licensed under the FIJI PUBLIC
* LICENSE Version 3 or any later version. A copy of the FIJI PUBLIC LICENSE is
* available at fivm/LEGAL and can also be found at
* http://www.fiji... |
package com.alin.commonlibrary.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import co... |
package com.ad.thepool.components;
import com.ad.thepool.wrapper.GraphicsWrapper;
public class LightComponent extends Component implements Cloneable {
/**
*
*/
private static final long serialVersionUID = -8577239390098038575L;
public static final int COMP_NAME = 40;
public static final int MODE_NO = 0;
p... |
package com.panni.mymusicplayer2.view.adapters;
import android.content.Context;
import android.graphics.Typeface;
import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.AppCompatTextView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import ... |
/*
* ! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by <NAME> : http://www.pentaho.com
*
* ******************************************************************************
*
* Licensed under the Apache License, Version ... |
package cellsociety;
import cellsociety.cells.Cell;
import java.util.ArrayList;
import java.util.Random;
public class Model {
public static final String COUNT_STRING = "count";
public static final String PROB_STRING = "probability";
public static final int[] X_STEPS_TWELVE_NEIGHBORS = {0, 0, 1, -1, 1, 1, -1, ... |
package seedu.address.logic.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ANSWER;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_QUEST... |
import ij.*;
import ij.process.*;
import ij.gui.*;
import java.awt.*;
import java.awt.image.*;
import ij.plugin.*;
public class Composite_Image implements PlugIn {
public void run(String arg) {
IJ.run("Duplicate...", "title=temp duplicate");
ImagePlus imp = IJ.getImage();
imp.hide();
if (!(imp.getBitDepth()=... |
/*
* Copyright (C) 2006-2020 Talend Inc. - www.talend.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... |
package anomaly.experiment.controller.objects;
import anomaly.experiment.controller.requests.RequestSender;
import org.json.JSONObject;
import java.security.InvalidParameterException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.logging.Level;
import... |
package com.github.steadiestllama.xfm2gui.layouts;
/*
This file is part of XFM2GUI
Copyright 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 l... |
package suskun.nn;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
public class FuncTest {
public static void generateNN() throws IOException {
FeedForwardNetwork network = FeedForwardNetwork.loadFromTextFile(
new F... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
package trie;
import utils.StreamResources;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
public class Trie {
private... |
/*
* Copyright (c) 2018, <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, this
* list of conditions and... |
package org.touchhome.bundle.zigbee.converter.impl;
import com.zsmartsystems.zigbee.CommandResult;
import com.zsmartsystems.zigbee.ZigBeeEndpoint;
import com.zsmartsystems.zigbee.zcl.*;
import com.zsmartsystems.zigbee.zcl.clusters.ZclIasZoneCluster;
import com.zsmartsystems.zigbee.zcl.clusters.iaszone.ZoneStatusChange... |
/*
* Copyright (c) 2017 SAP SE or an SAP affiliate company. All rights reserved.
* This file is licensed under the Apache Software License, v. 2 except as noted
* otherwise in the LICENSE file at the root of the repository.
*/
package com.sap.jma.test.app;
import static com.sap.jma.test.app.App.Mode.DIRECT_ALLOCA... |
package org.mym.plog.formatter.util;
import android.text.TextUtils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.mym.plog.BuildConfig;
import java.lang.reflect.Field;
import java.util.AbstractCollection;
import java.util.AbstractList;
import java.util.AbstractMap;
... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2009-2015 FoundationDB, LLC
*
* 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... |
package com.benrcarvergmail.colorclicker;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.... |
/*
* Copyright 2013 Centro de Investigación en Tecnoloxías da Información (CITIUS),
* University of Santiago de Compostela (USC) http://citius.usc.es.
*
* 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 t... |
package net.sourceforge.jaad.aac.error;
import net.sourceforge.jaad.aac.AACException;
import net.sourceforge.jaad.aac.syntax.IBitStream;
/**
* This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
* under the Public Domain license. Code changes provided by the JCodec project
* are distr... |
package graph2xml;
import org.broadinstitute.sting.queue.engine.FunctionEdge;
import org.broadinstitute.sting.queue.engine.QNode;
import javax.xml.stream.*;
import java.io.*;
//import java.util.Iterator;
import java.util.ArrayList;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import scala.col... |
package com.nano.candy.interpreter.i2.runtime;
import com.nano.candy.interpreter.i2.builtin.CandyObject;
import com.nano.candy.interpreter.i2.builtin.type.PrototypeFunction;
import com.nano.candy.interpreter.i2.runtime.chunk.Chunk;
import com.nano.candy.interpreter.i2.runtime.chunk.ConstantPool;
import com.nano.candy.i... |
package org.nhindirect.stagent.cert.impl;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.security.cert.X509Certificate;
import java.util.Collection;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Set;
import javax.... |
/*
* Copyright 2002,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 requi... |
package org.yeastrc.proxl.xml.xlinkx.reader;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.yeastrc.proxl.xml.xlinkx.constants.DBConstants;
import org.yeastrc.proxl.xml.xlinkx.objects.Linker;
import org.yeastrc.p... |
package modulo.logic;
import static modulo.commons.core.Messages.MESSAGE_INVALID_DELETE_INDEX;
import static modulo.commons.core.Messages.MESSAGE_SHOWING_MODULES;
import static modulo.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import static modulo.logic.commands.CommandTestUtil.CODE_DESC_CS2103;
import static modu... |
package com.hushedbytesoftware.fireworks;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.Vi... |
package org.ihtsdo.termserver.scripting.fixes.qi;
import java.io.IOException;
import java.util.*;
import java.util.stream.Collectors;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.ihtsdo.otf.rest.client.terminologyserver.pojo.*;
import org.ihtsdo.otf.utils.StringUtils;
import org.ihtsdo.otf.exce... |
/*
* Copyright 2015, Imtech Traffic & Infra
* Copyright 2015, aVineas IT Consulting
*
* 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... |
/*
* Copyright 2017 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package com.mesut.otapp;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AlertDialog.Builder;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
im... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.eventhubs;
import com.azure.core.amqp.implementation.AmqpReceiveLink;
import com.azure.core.amqp.implementation.MessageSerializer;
import com.azure.core.util.logging.ClientLogger;
import com.azu... |
package com.getui.logful.server.parse;
import com.getui.logful.server.GlobalReference;
import com.getui.logful.server.ServerProperties;
import com.getui.logful.server.entity.Layout;
import com.getui.logful.server.entity.LayoutItem;
import com.getui.logful.server.entity.LogMessage;
import com.getui.logful.server.mongod... |
package view.codingwolves;
import controller.codingwolves.FileIndex;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javaf... |
package mobi.omegacentauri.raspberryjammod;
// TODO: getHeight() should check block queue
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.lang.reflect.Method;
i... |
/*******************************************************************************
* Copyright 2013-2019 alladin-IT GmbH
* Copyright 2014-2016 SPECURE 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 o... |
package com.github.xerragnaroek.jikai.util.pagi;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import java.util.function.IntConsumer;
import com.github.xerragnaro... |
package edu.cmu.sphinx.linguist.allphone;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import edu.cmu.sphinx.linguist.Linguist;
import edu.cmu.sphinx.linguist.SearchGraph;
import edu.cmu.sphinx.linguist.acoustic.AcousticModel;
import edu.cmu.sphinx.lingu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.