text stringlengths 3.08k 15.2k |
|---|
package openmods.igw.prefab.integration;
import com.google.common.base.Preconditions;
import igwmod.api.WikiRegistry;
import igwmod.gui.tabs.IWikiTab;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import openmods.igw.api.OpenModsIGWApi;
import... |
package Util;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.LayoutManager;
import static java.lang.Integer.parseInt;
import java.util.Calendar;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JInternalFrame;
import ... |
package minecraftbyexample.mbe06_redstone.output_only;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyInteger;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block... |
/*
* Copyright (c) 2009, Sun Microsystems, Inc.
*
* 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, thi... |
package org.egc.gis.test;
import org.egc.gis.data.service.CoverageService;
import org.egc.gis.data.topography.DemTypesEnum;
import org.egc.gis.data.topography.OpenTopography;
import org.junit.Test;
import java.io.IOException;
/**
* @author houzhiwei
* @date 2020/11/26 18:51
*/
public class SpatialDataTest {
/... |
package com.scloudic.rabbitframework.jbatis.builder;
import java.io.InputStream;
import java.io.Reader;
import java.util.List;
import java.util.Properties;
import javax.sql.DataSource;
import com.scloudic.rabbitframework.jbatis.dataaccess.DataSourceBean;
import com.scloudic.rabbitframework.jbatis.dataaccess.Environm... |
package com.communote.server.web.fe.portal.blog.helper;
import org.codehaus.jackson.node.ArrayNode;
import org.codehaus.jackson.node.JsonNodeFactory;
import org.codehaus.jackson.node.ObjectNode;
import com.communote.common.util.PageableList;
import com.communote.server.api.core.user.UserData;
import com.commu... |
package com.njackson.upload;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Looper;
import android.util.Log;
import android.widget.Toast;
import com.njackson.R;
import com.njackson.analytics.IAnalytics;
import com.njackson.application.PebbleBik... |
/*
* Copyright 2008-2009 the original 赵永春(<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 applica... |
package by.epam.brest.dao.jdbc;
import by.epam.brest.dao.TrainDao;
import by.epam.brest.dao.jdbc.exception.*;
import by.epam.brest.model.Train;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.dao.support.DataAccessUtils;
imp... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.u... |
package me.acidviper.viperuhc.scoreboard;
import assemble.AssembleAdapter;
import lombok.Getter;
import lombok.Setter;
import me.acidviper.viperuhc.attribute.MatchAttribute;
import me.acidviper.viperuhc.manager.UHCManager;
import me.acidviper.viperuhc.player.UHCPlayer;
import me.acidviper.viperuhc.scenario.Scenario;
i... |
package br.com.centralit.citcorpore.metainfo.bean;
import java.util.Collection;
import java.util.Map;
import br.com.citframework.dto.IDto;
public class DinamicViewsDTO implements IDto {
private static final long serialVersionUID = -843622611996605689L;
private Integer idVisao;
private Integer idVisaoEd... |
/*
* Copyright 2020 Couchbase, 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 ... |
/*
* Copyright 2012 FrostVoid Software
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
package com.atn010.lockeddownlauncher;
import android.annotation.TargetApi;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundl... |
package net.alloyggp.tournament.internal.spec;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import javax.annotation.concurrent.Immutable;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
imp... |
package io.leonard;
import static ch.poole.openinghoursparser.RuleModifier.Modifier.CLOSED;
import static ch.poole.openinghoursparser.RuleModifier.Modifier.OFF;
import static ch.poole.openinghoursparser.RuleModifier.Modifier.OPEN;
import static ch.poole.openinghoursparser.RuleModifier.Modifier.UNKNOWN;
import ch.pool... |
package com.rft.dto;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class UserUpdateDto {
private long id;
@Size(min=0, max=50)
private String title;
@NotNull
@Size(min=1, max=255)
private String firstname;
@NotNull
@Size(min=1, max=255)
... |
/*
* 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 multiplicacionmatrices;
import java.util.ArrayList;
import java.util.Scanner;
/**
* @author sdelaot
*/
public class Probado... |
package top.hserver.core.server.util;
import top.hserver.core.interfaces.HttpRequest;
import java.net.*;
import java.util.Enumeration;
/**
* @author hxm
*/
public class IpUtil {
private static final String LOCAL_IP = "127.0.0.1";
public static String getIpAddr(HttpRequest request) {
if (request ... |
package com.general.trees;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Stack;
public class BinaryTree {
private BinaryTreeNode root;
/**
* @return the root
*/
public BinaryTreeNode getRoot() {
return... |
package com.antvr.antvrsdk.sensor.model;
public class GyroBiasEstimator {
private static final float GYRO_SMOOTHING_FACTOR = 0.01f;
private static final float ACC_SMOOTHING_FACTOR = 0.1f;
private static final Vector3d UP_VECTOR;
private static final float MIN_ACCEL_DOT_WITH_UP;
private static final... |
/*
* Copyright (c) 2014, <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, t... |
package bsoelch.noret.lang.expression;
import bsoelch.noret.ProgramContext;
import bsoelch.noret.SyntaxError;
import bsoelch.noret.TypeError;
import bsoelch.noret.lang.*;
import java.util.ArrayList;
import java.util.function.Supplier;
public class BinOp implements Expression {
public final Expression ... |
/*
* 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 n... |
package tconstruct.smeltery.model;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack... |
package org.noear.sponge.admin.controller.track;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.annotation.Controller;
import org.noear.solon.core.handle.ModelAndView;
import org.noear.solon.auth.annotation.AuthPermissions;
import org.noear.sponge.admin.dso.TagChecker;
import org.noear.sponge.admin.... |
/*
* 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 ... |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
... |
package com.vaavud.vaavudSDK.core.location;
import android.content.Context;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.util.Log;
import ... |
package com.example.androidthings.myproject;
import com.google.android.things.pio.Gpio;
/**
* Template for IDD Fall 2017 HW2 (text entry device)
* Created by bjoern on 9/5/17.
*/
public class HW2BigBurron extends SimplePicoPro {
int row = 9;
int column = 9;
int cha_z = 0;
int cha_sp = 0;
// boo... |
package org.toast;
import java.awt.Color;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.SocketException;
import java.net.URL... |
/*
* Copyright (c) 2020, <NAME> <EMAIL>
*
* 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 conditions and the followi... |
package models.entity;
import com.avaje.ebean.Model;
import com.avaje.ebean.annotation.PrivateOwned;
import com.avaje.ebean.annotation.UpdatedTimestamp;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import models.entity.Recruiter.RecruiterProfi... |
package com.mitchej123.hodgepodge.core.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import org.lwjgl.Sys;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.nbt.NBTTag... |
package xyz.ttnaarashi.mc.autoUpdate;
import com.google.gson.GsonBuilder;
import lombok.Getter;
import lombok.val;
import lombok.var;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.ModCon... |
import java.io.IOException;
import java.util.Random;
/**
* Created by armenstepanians on 2017-08-05.
*/
public class Cells implements CellsInterface {
private static final String ANSI_RESET = "\u001B[0m";
private static final String ANSI_BLACK = "\u001B[30m";
private static final String ANSI_RED = "\u00... |
/*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... |
package com.example.wxc.memo;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import andr... |
package icu.jnet.whatsjava.whatsapp;
import java.awt.image.BufferedImage;
import java.time.Instant;
import icu.jnet.whatsjava.constants.Presence;
import icu.jnet.whatsjava.constants.RequestType;
import icu.jnet.whatsjava.constants.WAFlag;
import icu.jnet.whatsjava.constants.WAMetric;
import icu.jnet.whatsjava.encrypt... |
/*
* Copyright 2015 ArcBees 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 ... |
/*
* Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED
* 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 n... |
package ue03;
// import javax.management.openmbean.OpenDataException;
// import java.util.*;
public class Liste<T> {
protected Link<T> anfang;
protected Link<T> ende;
public Liste() {
// Leere Liste: alle Zeiger sind null (Standardwerte)
}
// Einfachster Fall und gleichzeitig Sonderfall... |
/*
* 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 ... |
import com.github.diegopacheco.bouncycastle.openpgp.rsa.GenerateRSAKey;
import org.bouncycastle.bcpg.ArmoredOutputStream;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.openpgp.*;
import org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor;
import org.bouncycastle.openpgp.operator... |
package com.hojune.facebook.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
i... |
/* $Id: SingleImplementationFixer.java,v 1.1 2007-07-20 09:34:16 ramiro Exp $
*
* ProGuard -- shrinking, optimization, and obfuscation of Java class files.
*
* Copyright (c) 2002-2007 <NAME> (<EMAIL>)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General... |
package ds.server;
import one.xio.AsioVisitor.Impl;
import one.xio.MimeType;
import rxf.server.ActionBuilder;
import rxf.server.PreRead;
import rxf.server.Rfc822HeaderState;
import rxf.server.Rfc822HeaderState.HttpRequest;
import rxf.server.driver.CouchMetaDriver;
import javax.net.ssl.HttpsURLConnection;
i... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package net.lecousin.framework.concurrent.util;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Queue;
import java.util.function.BiConsumer;
import java.util.function.Function;
import net.lecousin.framework.concurrent.async.AsyncSupplier;
/**
* Consume data until end is detected.<br/>
*... |
package org.noear.weed;
import org.noear.weed.annotation.Sql;
import org.noear.weed.cache.ICacheServiceEx;
import org.noear.weed.utils.StringUtils;
import org.noear.weed.wrap.MethodWrap;
import java.lang.reflect.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
class MapperInvoke... |
/**************************************************************
*
* 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 y... |
package com.github.glusk2.sprouts.core.snapshots;
import java.util.Arrays;
import java.util.LinkedList;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRend... |
/*
Copyright (c) 2021, <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:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... |
package cinema.model.persistence.dao.rdbClasses;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import cinema.model.Movie;
import cinema.model... |
package cn.jmessage.api.resource;
import cn.jiguang.common.ServiceHelper;
import cn.jiguang.common.utils.Preconditions;
import cn.jiguang.common.connection.HttpProxy;
import cn.jiguang.common.resp.APIConnectionException;
import cn.jiguang.common.resp.APIRequestException;
import cn.jiguang.common.resp.ResponseWrapper;
... |
/*******************************************************************************
* Copyright (c) 2014 eBay 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
*
* ... |
package me.jakerg.rougelike;
import java.awt.Color;
import asciiPanel.AsciiPanel;
import edu.southwestern.parameters.Parameters;
/**
* Enumerator to model our tiles with a character representation and a color
* @author gutierr8
*
*/
public enum Tile {
// Refer to Code Page 437 for the number representation of th... |
/**
* 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... |
/*
LeastSquaresFit -- a class within the Cellular Automaton Explorer.
Copyright (C) 2005 <NAME> (http://academic.regis.edu/dbahr/)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either ... |
package com.company;
import javax.crypto.*;
import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
import java.security.*;
public class Cliente {
private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final int PUERTO = 5000;
pr... |
/******************************************************************************
* Copyright 2009-2018 Exactpro (Exactpro Systems 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
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
package com.mojang.datafixers;
import com.mojang.datafixers.schemas.Schema;
import com.mojang.datafixers.types.DynamicOps;
import com.mojang.datafixers.types.Type;
import org.apache.logging.log4j.LogManager;
import org.apac... |
/*
* Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... |
/**
* 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... |
import java.io.*;
import java.util.Scanner;
import java.nio.ByteBuffer;
import javax.imageio.ImageIO;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.awt.image.WritableRaster;
import java.awt.image.DataBufferByte;
// Simple java script allowing hiding or revealing data in image files usin... |
/*
* Zynaptic Relay CBOR library - An RFC7049 based data serialisation library.
*
* Copyright (c) 2015-2019, Zynaptic 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
*
* htt... |
package com.ning.compress.lzf;
import java.io.*;
import java.util.Arrays;
import org.testng.Assert;
import org.testng.annotations.Test;
import com.ning.compress.BaseForTests;
import com.ning.compress.lzf.LZFChunk;
import com.ning.compress.lzf.impl.UnsafeChunkDecoder;
import com.ning.compress.lzf.impl.VanillaChunkDec... |
package androidx.appcompat.app;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MenuInflater;
import android.view.View;
import andro... |
package com.clark.fblog.bean;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
/**
* 新闻列表
* http://wcf.open.cnblogs.com/news/hot/2
*/
public cl... |
package org.ros.tf2.insert_benchmark;
import android.app.Activity;
import android.os.Bundle;
import android.os.AsyncTask;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.List;
... |
package li.ruoshi.playground.view;
/**
* Created by ruoshili on 5/6/15.
*/
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import andro... |
package myLuceneApp;
//tested for lucene 7.7.3 and jdk13
import org.apache.lucene.document.*;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
i... |
/*
* Copyright 2013 MachineLinking S.r.l.
*
* 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... |
// Copyright 2020 <NAME>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, so... |
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package graph;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import static org.junit.jupiter.api.Assertions.*;
class AppTest {
@Test void appHasAGreeting() {
App classUn... |
package grafioschtrader.connector.instrument.onvista;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
impor... |
/*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package hr.fer.zemris.java.hw06.demo4;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* Class demonstrates usage of the {@link Stream} ... |
package ru.r2cloud.jradio.tubix20;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import ru.r2cloud.jradio.Beacon;
import ru.r2cloud.jradio.crc.Crc16Ccitt;
import ... |
/*
* MIT License
*
* Copyright (c) 2021 Overrun Organization
*
* 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, c... |
/**
* Copyright 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.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
package com.baymax.android.pagingrecyclerview;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.ObservableInt;
import andro... |
package com.secret;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.io.UnsupportedEncodingException;
import java.... |
/*
* Copyright 2013 <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 writin... |
package dev.vmix.jmxutils;
import java.io.IOException;
import java.io.PrintStream;
import java.security.Permission;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.ListIterator;
import java.util.function.Predicate;
import java.util.regex.Pattern;
import javax.management.Ob... |
package com.bamless.chromiumsweupdater.views;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.graphics.BitmapFactory;
import android.os.IBin... |
package com.github.onsdigital.brian.readers;
import com.github.davidcarboni.cryptolite.Crypto;
import com.github.onsdigital.brian.async.Processor;
import com.github.onsdigital.brian.data.DataFuture;
import com.github.onsdigital.brian.data.TimeSeriesDataSet;
import com.github.onsdigital.brian.data.TimeSeriesObject;
imp... |
/*******************************************************************************
* Copyright 2018 AppDynamics LLC
*
* 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.ap... |
package mat.dao.search;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.text.MessageFormat;
import java.util.List;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import org.hibernate.Session;
impo... |
package com.midounoo.midounoo.Base;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import com.facebook.AccessToken;
import com.facebook.CallbackManager;
import com.facebook.FacebookCallback;
import... |
package eu.liveandgov.wp1.sensor_miner;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import com.google.inject.Inject;
impo... |
/*
* Copyright 2020 The Federal Authorities of the Swiss Confederation
*
* 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 re... |
package com.lumaserv.netbox.apis;
import com.lumaserv.netbox.NetBoxAPIException;
import com.lumaserv.netbox.NetBoxClient;
import com.lumaserv.netbox.model.circuits.*;
import com.lumaserv.netbox.model.circuits.writable.WritableCircuit;
import com.lumaserv.netbox.model.circuits.writable.WritableCircuitTermination;
impor... |
package com.zafu.waterquality.utils;
import android.text.TextUtils;
import android.util.Log;
import com.google.gson.Gson;
import com.zafu.waterquality.db.City;
import com.zafu.waterquality.db.County;
import com.zafu.waterquality.db.Province;
import com.zafu.waterquality.global.GlobalConstants;
import com.zafu.waterqu... |
package com.joeracosta.library.Map;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import com.joeracosta.library.BackPr... |
/**
* Copyright 2015 YA LLC
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agr... |
/* Copyright (c) 2020 OpenJAX
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distr... |
/* -------------------------------------------------------------------
* Copyright (c) 2006 <NAME> / Icegreen Technologies. All Rights Reserved.
* This software is released under the LGPL which is available at http://www.gnu.org/copyleft/lesser.html
* This file has been modified by the copyright holder. Original ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.