text stringlengths 3.52k 24k |
|---|
/*
* MIT License
*
* Copyright (c) 2020-2021 Mediatheken DLNA Bridge Authors.
*
* 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 ri... |
/*
* Copyright <2021> Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or i... |
package com.ipd.jmq.server.broker.offset;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.ipd.jmq.common.cluster.Broker;
import com.ipd.jmq.common.cluster.BrokerGroup;
import com.ipd.jmq.common.cluster.OffsetItem;
import com.ipd.jmq.common.exception.JMQCode;
import com.ipd.jmq.c... |
package algorithms.imageProcessing.features;
import algorithms.imageProcessing.GreyscaleImage;
import algorithms.imageProcessing.ImageExt;
import algorithms.imageProcessing.ImageIOHelper;
import algorithms.imageProcessing.ImageProcessor;
import algorithms.imageProcessing.transform.TransformationParameters;
import algo... |
package com.toxicmania.toxicmania.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.su... |
package com.yxkang.android.wechathongbao;
import android.accessibilityservice.AccessibilityService;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.SharedPreferences;
import android.graphics.Rect;
import android.os.Parcelable;
import android.preference.PreferenceManager;
impor... |
/**
* 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.guanglun.atouch.Bluetooth;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothManager;
import android.bluetooth.Blue... |
package jp.co.thcomp.test;
import android.content.Context;
import jp.co.thcomp.reincarnation.ReincarnationHelper;
/**
* Created by H_Tatsuguchi on 2016/11/20.
*/
public class RootA {
public enum Type{
Type1,
Type2,
Type3,
Type4;
}
@ReincarnationHelper... |
/*******************************************************************************
* Copyright 2013-2017 Esri
*
* 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.or... |
package COTS_Morph_PKG.map.quad;
import java.util.ArrayList;
import java.util.TreeMap;
import COTS_Morph_PKG.map.base.baseMap;
import COTS_Morph_PKG.map.quad.base.baseQuadMap;
import COTS_Morph_PKG.mapManager.mapPairManager;
import COTS_Morph_PKG.transformer.spiral.COTS_Transformer;
import COTS_Morph_PKG.ui.base.COTS... |
package io.sisu.nng;
import io.sisu.nng.aio.Aio;
import io.sisu.nng.aio.Context;
import io.sisu.nng.bench.ClientRunnable;
import io.sisu.nng.reqrep.Rep0Socket;
import io.sisu.nng.reqrep.Req0Socket;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.ByteBuffer;... |
/*
* Copyright 2008-2013 Exigen Insurance Solutions, Inc. All Rights Reserved.
*
*/
package com.exigeninsurance.x4j.analytic.xlsx.transform.pdf;
import java.awt.Color;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.uti... |
package src;
import src.WorldItems.*;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
public class World extends JPanel
{
//multiples of 32, which is wall size
... |
package io.hasura.shivam.chitchat.activities;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatA... |
package com.example.wenhaibo.vister.translate;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Button;
import android.widget.EditText;
import... |
/*-
* #%L
* Testing of HTTP Server
* %%
* Copyright (C) 2005 - 2020 <NAME>
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
package com.inmobi.commons.core.p222e;
import com.inmobi.commons.core.configs.C10639a;
import java.util.Iterator;
import org.json.JSONException;
import org.json.JSONObject;
/* renamed from: com.inmobi.commons.core.e.d */
/* compiled from: TelemetryConfig */
class C10666d extends C10639a {
/* renamed from: j */
... |
package trofers.common.block.entity;
import net.minecraft.ResourceLocationException;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.Tag;
import net.minecraft.network.Connection;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.Translatab... |
package uff.dew.partixevp;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.... |
/*******************************************************************************
* Copyright 2011, 2012 <NAME>.
* Copyright 2013 Naver Business Platform Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... |
package org.osgi.impl.service.upnp.cp.description;
import java.net.URL;
import org.osgi.framework.BundleContext;
public class RootDevice {
private String urn;
private String urlbase;
private int major;
private int minor;
private String deviceType;
private String friendlyName;
private String ma... |
package org.openprovenance.prov.core.json.serialization;
import org.openprovenance.prov.vanilla.QualifiedSpecializationOf;
import org.openprovenance.prov.model.*;
import org.openprovenance.prov.model.extension.QualifiedAlternateOf;
import org.openprovenance.prov.model.extension.QualifiedHadMember;
import java.util.Ha... |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
/*
* Copyright (c) 2017. <NAME>
*/
package org.jacis.store;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Supplier;
import org.jacis.JacisAp... |
/*
* Copyright (c) Numerical Method Inc.
* http://www.numericalmethod.com/
*
* THIS SOFTWARE IS LICENSED, NOT SOLD.
*
* YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE.
* IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE,
* DO NOT USE THIS SOFTWARE.
*
* THE SOFTWARE IS PROVIDE... |
package de.fraunhofer.iosb.svs.sae.workflowmanager.bpmn;
import de.fraunhofer.iosb.svs.sae.workflowmanager.bpmn.nodes.Connector;
import de.fraunhofer.iosb.svs.sae.workflowmanager.model.*;
import com.google.common.collect.Iterables;
import org.jgrapht.graph.DefaultEdge;
import org.jgrapht.graph.DirectedAcyclicGraph;
i... |
package org.webswing.toolkit;
import org.webswing.Constants;
import org.webswing.toolkit.util.WebPrintDialog;
import javax.print.DocFlavor;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.attribute.AttributeSet;
import javax.print.attribute.HashPrintRequestAttributeSet;
impo... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
// Generated by OABuilder
package com.oreillyauto.remodel.model.oa.search;
import javax.xml.bind.annotation.*;
import java.util.logging.*;
import com.oreillyauto.remodel.model.oa.*;
import com.oreillyauto.remodel.model.oa.propertypath.*;
import com.viaoa.annotation.*;
import com.viaoa.object.*;
import com.viaoa.hub.*... |
package com.sbxcloud.android.sbxcloudsdk.net.model;
import android.graphics.Point;
import android.util.Log;
import com.sbxcloud.android.sbxcloudsdk.net.ApiManager;
import com.sbxcloud.java.sbxcloudsdk.callback.SbxArrayResponse;
import com.sbxcloud.java.sbxcloudsdk.query.SbxModelHelper;
import com.sbxcloud.java.sbxclo... |
/*
* Simple Applet to auto-load URL
*
*/
import java.net.URL;
import java.net.MalformedURLException;
import java.lang.*;
import java.applet.*;
import java.awt.*;
/**
* An applet that can be used to auto-load an URL. Main purpose is to
* provide a way to auto-load an URL, with Java-enabled features, ... |
package controller;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import org.json.simple.JSONObject;
import org.json.simple.parser.ParseException;
import org.springframework.stereotype.Control... |
package zamtrax.components;
import org.lwjgl.BufferUtils;
import zamtrax.*;
import zamtrax.rendering.Filter;
import zamtrax.resources.Shader;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import stati... |
package com.commontime.plugin;
import android.content.Context;
import android.content.res.AssetManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.text.TextUtils;
import android.ut... |
package cn.edu.fudan.mmdb.hbase.isax.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cn.edu.fudan.mmdb.timeseries.TPoint;
import cn.edu.fudan.mmdb.timeseries.TSException;
import cn.... |
package de.julielab.jcore.pipeline.builder.base.main;
import com.fasterxml.jackson.annotation.JsonIgnore;
import de.julielab.java.utilities.UriUtilities;
import de.julielab.jcore.pipeline.builder.base.configurations.PipelineBuilderConstants.Descriptor;
import de.julielab.jcore.pipeline.builder.base.configurations.Pipe... |
/*
* Copyright 2003-2022 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.eventshop.eventshoplinux.akka.query;
import akka.actor.ActorRef;
import akka.actor.Props;
import akka.camel.CamelMessage;
import akka.camel.javaapi.UntypedConsumerActor;
import akka.japi.Creator;
import akka.pattern.Patterns;
import akka.util.Timeout;
import com.eventshop.eventshoplinux.DAO.query.QueryList... |
/**
* 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... |
/*
* The MIT License
*
* Copyright 2018 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
package giis.demo.descuento.it;
import org.junit.*;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
import java.time.Duration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.s... |
/**
* Copyright 2010 <NAME> and <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... |
package org.endeavourhealth.core.database.rdbms.datasharingmanager.models;
import javax.persistence.*;
import java.sql.Date;
@NamedStoredProcedureQueries({
@NamedStoredProcedureQuery(
name = "getDataSharingSummaryStatistics",
procedureName = "getDataSharingSummaryStatistics"
... |
package io.semla.datasource;
import io.semla.model.Column;
import io.semla.model.EntityModel;
import io.semla.util.Singleton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.persistence.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.*;
import java.util.*;
import ja... |
/*
* Copyright 2017 <NAME> & Dohme Corp. a subsidiary of Merck & Co.,
* Inc., Kenilworth, NJ, USA.
*
* 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/licens... |
package com.felhr.serialportexample.Controller;
import android.util.Log;
import com.felhr.serialportexample.Controller.DatenObjekte;
import com.felhr.serialportexample.Controller.UsbService;
import java.util.zip.CRC32;
import java.util.zip.Checksum;
public class JobUpdate {
private static byte[] jobupdate = new by... |
// Copyright 2021 Technology & Strategy / ICube, GNU Public License.
package preprocessing;
/**
* The project contains the implementation of MUSE algorithm for the purpose
* of multimodal route planning. The project requires a dataset available at:
* https://doi.org/10.5281/zenodo.5276749
*
* MUSE has been sum... |
/*
Copyright 2017 Red Hat, 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 in writing, software
dis... |
/**
* Copyright © 2010-2012 Atilika Inc. All rights reserved.
*
* Atilika Inc. 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. A copy of the License is distributed with this work in the
* LICENSE.txt file. You... |
package com.example.android.popularmovies_project.Data;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.net.Uri;
import android.provider.BaseColumns;
/**
* Defines table and column names for the favourite database.
*/
public class FavouriteContract {
// The authority,... |
package imgzip.mainwindow;
import imgzip.alertwindow.AlertWindow;
import javafx.geometry.Insets;
import javafx.scene.control.*;
import javafx.scene.control.Button;
import javafx.scene.control.MenuItem;
import javafx.scene.effect.DropShadow;
import javafx.scene.image.Image;
import javafx.scene.layout.BorderPane;
impo... |
package com.perfma.xlab.xpocket.rumtime.spi.impl;
import com.perfma.xlab.xpocket.classloader.XPocketPluginClassLoader;
import com.perfma.xlab.xpocket.framework.spi.impl.DefaultCommandContext;
import com.perfma.xlab.xpocket.framework.spi.impl.DefaultPluginContext;
import com.perfma.xlab.xpocket.plugin.context.Framework... |
package cn.wj.mobilesafe;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import net.tsz.afinal.FinalHttp;
import net.tsz.afinal.http.AjaxCallBack;
import net.tsz.afinal.http.HttpHandler;
impor... |
/*
* [The "BSD license"]
* Copyright (c) 2002-2011, <NAME>, <NAME>, <NAME>
* Copyright (c) 2002-2011, Monash University
* 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. Re... |
package com.lk.web.controller.system;
import com.lk.common.constant.UserConstants;
import com.lk.common.core.controller.BaseController;
import com.lk.common.core.domain.JSTree;
import com.lk.common.core.domain.LayResult;
import com.lk.common.core.domain.entity.SysMenu;
import com.lk.common.core.domain.entity.SysRole;
... |
/**
* Licensed to MKS Group under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* MKS Group licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* exce... |
package me.ele.jarch.athena.scheduler;
import com.github.mpjct.jmpjct.util.ErrorCode;
import me.ele.jarch.athena.allinone.DBRole;
import me.ele.jarch.athena.constant.Metrics;
import me.ele.jarch.athena.netty.SqlSessionContext;
import me.ele.jarch.athena.util.AthenaConfig;
import me.ele.jarch.athena.util.MulBlockingQue... |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* 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 ... |
import java.awt.color.ProfileDataException;
import java.util.ArrayList;
import java.util.List;
import java.util.PrimitiveIterator;
public class Assignment02_20180808060
/**
* @author <NAME>
* @since 4.4.20
* 20180808060
*/
{
//CUSTOM EXCEPTIONS
// InvalidPriceException 1
class Invali... |
package org.rmatil.sync.core.messaging.fileexchange.offer;
import net.engio.mbassy.bus.MBassador;
import org.rmatil.sync.core.eventbus.IBusEvent;
import org.rmatil.sync.core.eventbus.IgnoreBusEvent;
import org.rmatil.sync.core.init.client.ILocalStateResponseCallback;
import org.rmatil.sync.core.messaging.StatusCode;
i... |
/*
* Copyright 2016 The Sem 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 agr... |
/*
* /*
* * Copyright (C) <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
* *
* *... |
package seedu.address.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DISH;
import static seedu.address.lo... |
package jrc;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableMap;
import io.github.cbadenes.crosslingual.data.ResultReport;
import io.github.cbadenes.crosslingual.io.ParallelExecutor;
import io.github.cbadenes.crosslingual.io.SolrClient;
import org.apache.commons.math3.stat.descriptive... |
package com.cssrc.orient.hdfsService.business;
import com.cssrc.orient.hdfsService.hdfs.HdfsApi;
import com.cssrc.orient.hdfsService.model.FileOperationVO;
import com.cssrc.orient.hdfsService.model.FileVO;
import com.cssrc.orient.hdfsService.model.entity.CwmFilePO;
import com.cssrc.orient.hdfsService.model.repository... |
/*
* This file is part of the ONT API.
* The contents of this file are subject to the LGPL License, Version 3.0.
* Copyright (c) 2018, Avicomp Services, AO
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software... |
package edu.rice.cs.hpcdata.db.version4;
import java.io.IOException;
import java.io.PrintStream;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.FileChannel.MapMode;
import java.util.ArrayList;
import java.util.List;
/************************... |
// Copyright 2009 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 in ... |
/*
* jabsorb - a Java to JavaScript Advanced Object Request Broker
* http://www.jabsorb.org
*
* Copyright 2007-2008 The jabsorb team
*
* based on original code from
* JSON-RPC-Client, a Java client extension to JSON-RPC-Java
* (C) Copyright CodeBistro 2007, <NAME> <sasha at codebistro dot com>
*
* Licensed un... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 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... |
package utils.expressions;
import structures.generics.MapOf;
import java.util.HashMap;
/**
* <b>Expression</b><br>
* Represents an evaluable arithmetic expression.
*/
public class Expression {
// All possible operations
public static final String LT = "<", LEQ = "<=", GT = ">", GEQ = ">=", EQ = "=", NEQ... |
package com.fewwind.mydesign.test.fragment;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.Fragment;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
impo... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.cobi.kgg.business.entity;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import org.... |
/*
Copyright 2020 NEC Solution Innovators, 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 in writin... |
package ru.codeunited.ipfs;
import com.netflix.ribbon.RibbonRequest;
import io.netty.buffer.ByteBuf;
import org.junit.Test;
import org.junit.jupiter.api.DisplayName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.observers.TestSubscriber;
import java.io.ByteArrayInputStream;
import java.io.FileInp... |
/*
* The MIT License
*
* Copyright 2015 <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,... |
package com.cts.etf.flows;
import co.paralleluniverse.fibers.Suspendable;
import com.cts.etf.CreateEtfRequest;
import com.cts.etf.ExchangeTradedFund;
import com.cts.etf.SecurityBasket;
import com.cts.etf.contracts.CreateEtfRequestContract;
import com.cts.vault.VaultManager;
import com.google.common.collect.ImmutableLi... |
package fi.riista.integration.lupahallinta.club;
import com.google.common.base.MoreObjects;
import fi.riista.feature.common.entity.GeoLocation;
import fi.riista.feature.gis.hta.GISHirvitalousalue;
import fi.riista.feature.huntingclub.HuntingClub;
import fi.riista.feature.organization.address.Address;
import fi.riista.... |
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;
public class KamiSolver {
static class BitVector {
int len;
int[] bits;
public BitVector(int len) {
this.len = len;
bits = new int[(len+31) / 32];
}
... |
package org.apache.xerces.impl.dv.xs;
import org.apache.xerces.impl.dv.XSFacets;
import org.apache.xerces.impl.dv.XSSimpleType;
import org.apache.xerces.util.SymbolHash;
public class FullDVFactory extends BaseDVFactory {
static final String URI_SCHEMAFORSCHEMA = "http://www.w3.org/2001/XMLSchema";
static Symbo... |
/*
* @(#)$Id$
*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2001-2003 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. Redi... |
package eu.jangos.realm.network.packet.server.character;
import eu.jangos.realm.controller.characters.ItemInstanceService;
import eu.jangos.realm.controller.factory.ItemServiceFactory;
import eu.jangos.realm.controller.world.ItemService;
import eu.jangos.realm.enums.characters.GenderEnum;
import eu.jangos.realm.enums.... |
package org.ieatta;
import android.app.Activity;
import android.app.Application;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.location.Location;
import android.support.annotation.ColorInt;
import android.support.annotation.IntRange;
impo... |
package algorithms.imageProcessing;
import algorithms.misc.Complex;
import algorithms.misc.MiscMath;
import java.util.Arrays;
/**
* adapted from
* http://www.peterkovesi.com/matlabfns/FrequencyFilt/perfft2.m
*
* The following comments are directly from the kovesi perfft2.m
* which was written for matlab.
*
... |
package com.jamonapi.proxy;
import com.jamonapi.BasicTimingMonitor;
import com.jamonapi.Monitor;
import com.jamonapi.MonitorComposite;
import com.jamonapi.MonitorFactory;
import com.jamonapi.utils.Misc;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.sql.*;
import java.util.*;
import java... |
package com.jfinalshop.api.controller;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import com.jfinal... |
package org.riverock.portlet.manager.indexer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.portlet.PortletRequest;
import org.apache.log4j.Logger;
import org.riverock.interfaces.portal.bean.CatalogItem;
import org.rivero... |
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2019 Nordix Foundation.
* ================================================================================
* Licensed under the Apache Lice... |
package info.openmods.calc.types.multi;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.google.common.collect.Sets.SetView;
import com.google.common.reflect.TypeToken;
import info.openmo... |
package net.minestom.server.collision;
import net.minestom.server.coordinate.Point;
import net.minestom.server.coordinate.Pos;
import net.minestom.server.coordinate.Vec;
import net.minestom.server.entity.Entity;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import java.util.*;
... |
package hr.fer.zemris.java.fractals;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Scanner;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import ja... |
/*
* Copyright (c) 2002-2003, The Joust Project
* 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... |
package com.example.doun.chapter14rtti;
import android.app.Instrumentation;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import com.example.doun.chapter14rtti.coffee.Coffee;
import com.example.doun.chapter14rtti.coffee.CoffeeGenerator;
import com.example.doun.cha... |
package com.gpaddy.hungdh.util;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.media.ExifInterface;
import android.os.AsyncTask;
import androidx.annotation.NonNull;
import android.uti... |
package com.aadimator.android.popularmovies.fragments;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.preference.Pre... |
package ion.framework.changelog;
import java.lang.reflect.Type;
import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.S... |
/*
* The MIT License
*
* Copyright 2019 Wang.
*
* 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, me... |
/**
* BaseStub.java
*
* Copyright 2014 the original author or authors.
*
* We 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/LIC... |
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URLConnection;
import javax.net.ssl.HttpsURLConnection;
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("cd")
public class class101 extends Url... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.