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 may ... |
package com.koch.ambeth.server.rest;
/*-
* #%L
* jambeth-server-rest
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* 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.... |
/*
Copyright 2008-2011 Gephi
Authors : <NAME> <<EMAIL>>
Website : http://www.gephi.org
This file is part of Gephi.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 2011 Gephi Consortium. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Ve... |
package com.github.bradjacobs.stock.classifications.naics;
import bwj.util.excel.ExcelReader;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.bradjacobs.stock.classifications.Classification;
import com.github.bradjacobs.stock.classifications.D... |
package io.choerodon.test.manager.api.controller.v1;
import java.util.List;
import io.choerodon.core.domain.Page;
import io.choerodon.core.iam.ResourceLevel;
import io.choerodon.mybatis.pagehelper.annotation.SortDefault;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;
import io.choerodon.swagger.annotation... |
package com.yeleman.mmtkrelay;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.util.ArrayMap;
import android.util.Log;
import com.google.firebase.messaging.RemoteMessage;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObje... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2020 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
import java.lang.management.ManagementFactory;
import java.lang.management.MemoryMXBean;
import java.lang.management.PlatformManagedObject;
import java.lang.management.RuntimeMXBean;
import java.lang.reflect.Method;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.util.*... |
package tfar.customtnt.entity;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.MoverType;
import net.minecraft.entity.item.BoatEntity;
import net.minecraft.entity.player.PlayerEntity... |
package ch.andiswiss;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.*;
/**
... |
package no.nav.identpool.util;
import lombok.experimental.UtilityClass;
import no.nav.identpool.domain.Identtype;
import no.nav.identpool.domain.Kjoenn;
import no.nav.identpool.exception.UgyldigPersonidentifikatorException;
import java.time.LocalDate;
import java.util.List;
import static java.lang.Character.getNumer... |
/*
* Copyright 2018 ConsenSys AG.
*
* 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... |
/*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Created on Jul 21, 2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.profitera.rpm;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import j... |
/*
* 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 squeek.quakemovement;
import com.google.common.collect.ImmutableList;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import fi.dy.masa.malilib.config.*;
import fi.dy.masa.malilib.config.options.*;
import fi.dy.masa.malilib.hotkeys.IHotkey;
import fi.dy.masa.malilib.hotkeys.IKeybind;
imp... |
/*
* 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 co.edu.uniandes.csw.mudanzas.test.persistence;
import co.edu.uniandes.csw.mudanzas.entities.CargaEntity;
import co.edu.uniande... |
package com.jstarcraft.dip.lsh;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.math.BigInteger;
import java.util.Objects;
import com.jstarcraft.dip.color.ColorPixel;
import com.jstarcraft.dip.hash.Hash;
/**
* Calculates a hash based on gradient tracking. This hash is cheap to compute
* and... |
package com.trendmicro.skyaid.common;
import org.apache.commons.lang3.StringUtils;
/**
* Created by herbert_yin on 2016/9/9.
*/
public class ReplaceUtil {
public static void main(String[] args) {
}
protected static final String[][] PATTERN_NUM_MAPPING = new String[][]{
{"575E01", "5.75E+0... |
/**
* Copyright 2013 Neuroph Project http://neuroph.sourceforge.net
*
* 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... |
/*
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package arashrasoulzadeh.codepack;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
imp... |
/*-
*
* meanbean
*
* Copyright (C) 2010 - 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... |
/**
* 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 de.fhg.iais.roberta.testutil;
import java.io.File;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.concurrent.TimeUnit;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpResponse;
import org.apache.http.StatusLine;
import org.apache... |
package e.a.a.a.y0.k.b.f0;
import e.a.a.a.y0.a.b;
import e.a.a.a.y0.b.w;
import e.a.a.a.y0.e.y.a;
import e.a.a.a.y0.k.b.g0.f;
import e.a.a.a.y0.k.b.o;
import e.a.a.a.y0.l.m;
import kotlin.jvm.internal.DefaultConstructorMarker;
public final class c extends o implements b {
public c(e.a.a.a.y0.f.b bVar, m mVar, w w... |
//
// Copyright (C) 2019 Carbonacat
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
package com.boohee.one.ui.fragment;
import android.os.Bundle;
import android.view.View;
import com.boohee.api.RecordApi;
import com.boohee.database.UserPreference;
import com.boohee.model.RecordFood;
import com.boohee.modeldao.FoodRecordDao;
import com.boohee.one.event.AddFinishAnimEvent;
import com.boohee.one.event.... |
package com.scaleunlimited.flinkcrawler.tools;
import org.kohsuke.args4j.Option;
import com.scaleunlimited.flinkcrawler.parser.SimpleLinkExtractor;
import com.scaleunlimited.flinkcrawler.topology.CrawlTopologyBuilder;
import crawlercommons.fetcher.http.SimpleHttpFetcher;
import crawlercommons.fetcher.http.UserAgent;... |
/*
* Copyright 2017 Oursky 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 agreed to ... |
/*
Licensed to the DARPA XDATA project.
DARPA XDATA licenses this file to you under the
Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses... |
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, BELLSOFT. 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 Lice... |
package org.apache.helix.manager.zk;
/*
* 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... |
package com.github.peterlaker.nio.file.tar;
import java.util.Date;
public class TarEntry {
protected byte[] file;
protected TarHeader header;
protected boolean isDirectory;
private TarEntry() {
file = null;
header = new TarHeader();
isDirectory = false;
}
public TarEntry(byte[] file, Stri... |
package datastructures.arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
/*
* One dimensional array of triples
* - row, col, data
*
* Is able to grow
*
*
* Doesn't check if row or column is negative
*/
public class OneDSparseMatrix<T> {
private static fin... |
package ocaml.editor.actions;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ocaml.OcamlPlugin;
import ocaml.editors.OcamlEditor;
import ocaml.editors.lex.OcamllexEditor;
import ocaml.editors.yacc.OcamlyaccEditor;
impo... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package dwarforganizer.swing;
import java.awt.KeyboardFocusManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.beans.PropertyChangeEvent;
import... |
package com.serli.javaone.jaspic.module;
import com.serli.javaone.jaspic.module.service.MockAuthenticationService;
import javax.security.auth.Subject;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.UnsupportedCallbackException;
im... |
package tests.restapi.scenarios.mutual_exclusion_configuration;
import java.io.IOException;
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.AfterTest;
import org.testng.an... |
package com.mopub.volley.toolbox;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory.Options;
import android.widget.ImageView.ScaleType;
import com.mopub.volley.DefaultRetryPolicy;
import com.mopub.volley.NetworkResponse;
... |
package com.igatec.mqlsloth.cli;
import com.igatec.mqlsloth.context.ApplicationContext;
import com.igatec.mqlsloth.framework.Context;
import com.igatec.mqlsloth.framework.MatrixWriter;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.HelpFormatter;
impor... |
package com.glong.reader.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.view.MotionEvent;
import com.glong.reader.TurnStatus;
import com.glong.reader.util.DLog;
/**
* Created by Garrett on 2018/11/20.
* c... |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... |
/**
* Copyright 2007 <NAME>
*
* Licensed under the terms of the Apache Software License v2
*
* This file is part of the XSS Protect library
*/
package com.blogspot.radialmind.html;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import org.antlr.runtime.ANTLRReaderStream;
import org.... |
package uk.ac.uea.cmp.srnaworkbench.tools.lfold;
import uk.ac.uea.cmp.srnaworkbench.database.entities.Prediction_Entity;
import uk.ac.uea.cmp.srnaworkbench.io.GenomeManager;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import uk.ac.uea.cmp.srnaw... |
package serverrobot;
import java.awt.BasicStroke;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.uti... |
package net.ttddyy.dsproxy.transform;
import net.ttddyy.dsproxy.ConnectionInfo;
import net.ttddyy.dsproxy.DatabaseType;
import net.ttddyy.dsproxy.DbResourceCleaner;
import net.ttddyy.dsproxy.DatabaseTest;
import net.ttddyy.dsproxy.EnabledOnDatabase;
import net.ttddyy.dsproxy.DbTestUtils;
import net.ttddyy.dsproxy.list... |
package edu.lu.uni.serval.utils;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.jdt.core.dom.AST;
import org.eclipse.jdt.core.dom.ASTParser;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.core.dom.... |
package com.example.mindchallenge.levels;
import android.annotation.TargetApi;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatAc... |
package org.wikiot.client.device;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... |
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* 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 (c) FIRST 2008-2012. 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 minborg.piproject;
import com.pi4j.io.gpio.*;
import java.util.*;
import java.util.stream.IntStream;
import static java.util.stream.Collectors.toList;
public final class Patterns {
private static final long JIFFY_MS = 50;
private static final int REPEAT = 8;
private static final int MAX_PWM = 1... |
package com.wrbug.jsposed;
import android.text.TextUtils;
import com.wrbug.jsposed.jscall.xposed.Env;
import com.wrbug.jsposed.jscall.xposed.JsPosedBridge;
import com.wrbug.jsposedannotation.Constant;
import com.wrbug.jsposedannotation.Executable;
import com.wrbug.jsposedannotation.JavaMethod;
import org.mozilla.jav... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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.pengxh.web.imagecollector.utils;
import lombok.extern.slf4j.Slf4j;
import java.util.Arrays;
import java.util.Calendar;
/**
* 通信报文生成类
*
* @author a203
*/
@Slf4j
public class MessageHelper {
private static final int MAX_PORT = 65535;
private static final int MAX_HEART = 255;
private static... |
/*
* Data2tap.java
*
* created: 12.3.2019
* charset: UTF-8
*/
package cz.mp.zxs.tools.data2tap;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Převádí zadáná binární data na TAP soubor ve formátu pro ZX Spectrum... |
/*
* Copyright 2015 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
public class sec1 {
public static void main(String[] args) {
}
public static void exercise1(int number) {
double invert = (double) 1 / number;
String binary = Integer.toBinaryString... |
package TestScript.B2C;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.interactions.Actions;
import org.testng.ITestContext;
import org.testng.annotations.Test;
import CommonFunction.Common;
import Logger.Dailylog;
import Pages.B2CPage;
import TestScript.SuperTestClass... |
package cn.think.in.java.impl;
import java.util.concurrent.locks.ReentrantLock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cn.think.in.java.Consensus;
import cn.think.in.java.common.NodeStatus;
import cn.think.in.java.common.Peer;
import cn.think.in.java.entity.AentryParam;
import cn.think.in.ja... |
package ola.hd.longtermstorage.test.tools;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Method;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.ut... |
/*
* Copyright 2017 <NAME> <EMAIL>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package nodebase.org.nodebasewallet.ui.settings_backup_activity;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import and... |
package org.pmiops.workbench.workspaces.resources;
import org.mapstruct.CollectionMappingStrategy;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.pmiops.workbench.cohortreview.mapper.CohortReviewMapper;
import org.pmiops.workbench.cohorts.CohortMapper;
import org.pmiops.workbench.conceptset.mapp... |
import static org.junit.Assert.*;
import org.junit.Test;
public class DegreeTest {
// testing degree constructor
@Test
public void testConstructorStandard() {
int[][] gradeList = { { 1, 1, 1, 1 }, { 1, 1, 15, 15 }, { 1, 2, 3, 1 }, { 9, 9, 9, 9 }, { 15, 15, 15, 15 },
{ 5, 5, 5, 5 } };
// hard... |
package com.example.user.todo;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterVi... |
package pipeline.outoforder;
import memorysystem.LSQEntry;
import generic.Core;
import generic.Instruction;
public class ReorderBufferEntry {
private boolean isValid;
private Instruction instruction;
private int threadID;
private int operand1PhyReg1;
private int operand1PhyReg2;
private int operand2PhyReg1;
... |
package com.xiaomi.infra.galaxy.fds.network;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URLDecoder;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.Concurrent... |
package angelo.itl.arduinoairqualitymonitor.adapter.table;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.os.Vibrator;
import android.support.design.widget.Snackbar;
import android.util.TypedValue;
import andr... |
package nomowanderer;
//import com.lazy.baubles.api.BaublesAPI;
import net.minecraft.core.BlockPos;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.Item;
import net.minecraft.world.level.ChunkPos;
import net.minecraft.world.level.LevelAccessor;... |
/**
* UNCLASSIFIED
*
* Copyright 2020 Northrop Grumman Systems Corporation
*
* 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 right... |
package org.hackathon.fetchers.twitter;
import java.util.ArrayList;
import java.util.List;
import org.hackathon.fetchers.ISocialGetter;
import org.pontis.hackathon.datamodel.SocialMessage;
import org.springframework.social.twitter.api.SearchResults;
import org.springframework.social.twitter.api.Tweet;
import... |
package com.wuyinlei.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.nostra13.universalimageloader.core.Displ... |
package mediator;
import java.util.ArrayList;
import java.util.List;
import controller.CoinInfoController;
import controller.Consumable;
import controller.IConsumable;
import enums.ECandleType;
import fileio.repository.UserRepository;
import model.User;
import service.CandleChartService;
import service.CoinInfoServic... |
package org.thoughtcrime.securesms.fragments;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.util.Pair;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import and... |
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class LSDCustomTest {
@Test
public void customTest__get_X_Y() {
LSD stepper = new LSD(Direction.E);
long[] x = new long[]{
0, -1, -1, 0, 0, 1, 1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, -2... |
package jessevivanco.com.pegcitytransit.data.repositories;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.util.LongSparseArray;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import com.google.gson.reflect.TypeToken;
import com.iainconnor.ob... |
package com.kjipo.raster.flow;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.shape.Polyline;
import javafx.scene.shape.Rectangle;
import javafx.scene.transform.Affine;
import org.apache... |
package prode.Controladores;
import spark.*;
import java.util.Map;
import java.util.List;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Arrays;
import prode.*;
import prode.Utils.Consts;
import org.javalite.activejdbc.Base;
public class GeneralController {
public static Map<String, Object> ... |
package com.shenjiahuan.zookeeper;
import static org.apache.zookeeper.CreateMode.EPHEMERAL_SEQUENTIAL;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.reflect.TypeToken;
import com.shenjiahuan.log.Log;
import c... |
package com.epam.reportportal.restendpoint.http.proxy;
import com.epam.reportportal.restendpoint.http.HttpMethod;
import com.epam.reportportal.restendpoint.http.MultiPartRequest;
import com.epam.reportportal.restendpoint.http.Response;
import com.epam.reportportal.restendpoint.http.RestCommand;
import com.epam.reportp... |
/*
* Copyright 2015-2017 ISP RAS (http://www.ispras.ru)
*
* 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 ... |
/*
* (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICENSE-2.... |
package src.controller;
import src.Model.Cell;
import src.Model.Grid;
import src.View.Display;
import src.controller.Simulation.FireSimulation;
import src.controller.Simulation.ForagingAntsSimulation;
import src.controller.Simulation.GameOfLifeSimulation;
import src.controller.Simulation.SegregationSimulation;
import s... |
package breadth_first_search;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
/**
*
* @author minchoba
* 백준 1726번 : 로봇
*
* @see https://www.acmicpc.net/problem/1726
*
*/
public class Boj1726 {
private stat... |
package st.zudamue.support.android.sql;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.support.annotation.NonNull;
import java.util.List;
import st.zudamue.support.android.sql.builder.*;
import st.zudamue.support.android.sql.builder.Insert;
import st.zudamue.support.an... |
package br.fernando.ch10_threads.par03_sysnchronizing_code_thread_problems;
import java.util.HashSet;
import java.util.Set;
public class Test03 {
// =========================================================================================================================================
// Thread Deadlock
... |
/*
* 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 cn.ttplatform.wh.demo;
import cn.ttplatform.wh.cmd.*;
import cn.ttplatform.wh.cmd.factory.*;
import cn.ttplatform.wh.support.DistributableCodec;
import cn.ttplatform.wh.support.DistributableFactoryRegistry;
import cn.ttplatform.wh.support.FixedSizeLinkedBufferPool;
import cn.ttplatform.wh.support.Pool;
import ... |
/*
Copyright (C) 2008 <NAME>
This source code is release under the BSD License.
This file is part of JQuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://jquantlib.org/
JQuantLib is free software: you can redistribute it and/or modify it
under the terms of ... |
/*
* ParticleTracker.java
*
* Created on September 9, 2002, 11:16 AM
*/
package xal.model.alg;
import xal.tools.beam.PhaseMap;
import xal.tools.beam.PhaseMatrix;
import xal.tools.beam.PhaseVector;
import xal.tools.data.DataAdaptor;
import xal.tools.data.DataFormatException;
import xal.tools.data.DataTable;
impor... |
package com.focus.cos.web.util;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.security.Key;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.PrivateKey;
import java.security.PublicKey;
import j... |
package com.pontusvision.nifi.processors;
import org.apache.nifi.annotation.behavior.*;
import org.apache.nifi.annotation.documentation.CapabilityDescription;
import org.apache.nifi.annotation.documentation.Tags;
import org.apache.nifi.components.PropertyDescriptor;
import org.apache.nifi.flowfile.FlowFile;
import org... |
package com.genedev.retinalclassifierfull.Fragments.HomeTab;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import an... |
package com.flipcam.util;
import android.opengl.GLES20;
import android.util.Log;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
/**
* Created by Koushick on 12-08-2017.
*/
public class GLUtil {
public static final String TAG = "GLUtil";
static boolean VERBOSE = false;
... |
package GeneMotif.GeneMotif;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Scanner;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.... |
//
// KnobsDocument.java
// xal
//
// Created by <NAME> on 9/13/05.
// Copyright 2005 Oak Ridge National Lab. All rights reserved.
//
package xal.app.knobs;
import xal.extension.application.*;
import xal.extension.application.smf.*;
import xal.smf.*;
import xal.tools.data.*;
import xal.tools.xml.XmlDataAdaptor;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.