text
stringlengths
3.08k
15.2k
/* * Copyright (C) 2011 0xlab - http://0xlab.org/ * Copyright (C) 2010 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/l...
package org.mp.naumann.algorithms.fd.structures; import it.unimi.dsi.fastutil.objects.ObjectArrayList; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.lucene.util.OpenBitSet; import org.mp.naumann.algorithms.fd.Functiona...
package com.example.appbrinquedoopeniot_Free; import android.annotation.SuppressLint; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import java.io.InputStream; import java.io.OutputStream; import android.os.Handler; import android.os.Me...
package org.semagrow.evaluation.rxjava; import org.semagrow.plan.Plan; import org.semagrow.evaluation.QueryExecutor; import org.semagrow.plan.operators.*; import org.semagrow.selector.Site; import org.eclipse.rdf4j.common.iteration.CloseableIteration; import org.eclipse.rdf4j.model.*; import org.eclipse.rdf4j.model.i...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
package at.ac.tuwien.dsg.hcu.common.model; import java.util.ArrayList; import java.util.List; import at.ac.tuwien.dsg.hcu.common.sla.Specification; import at.ac.tuwien.dsg.hcu.common.statistics.StatisticPoints; public class Task { public enum Status { CREATED (100, "Created"), QUEUED...
package de.marenthyu.memedit.bunny; import com.sun.jna.Memory; import com.sun.jna.Pointer; import de.marenthyu.twitch.pubsub.PubSubClient; import de.marenthyu.twitch.pubsub.channelpoints.ChannelPointsRedemptionHandler; import javax.swing.*; import java.io.IOException; import static de.marenthyu.memedit.bunny.BunnyCo...
import jsocket.datagram.DatagramImpl; import java.net.*; import java.util.Arrays; import java.util.Random; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.function.Consumer; /** * This a naive implementation of TCP using a UDP * as the underlying network protocol. This * provides a simple implem...
package com.lch.util.img; import android.content.ContentResolver; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.MediaMetadataRetriever; import android.net.Uri; import android.text.TextUtils; import android.widget.ImageView; import com.lch.util.ContextUtil; import com.lch....
package com.arges.sepan.argPolygonView; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; /* PolygonView is square. Children's width and height have to be defined in xml layout. Rotation is optional. If not defined, first v...
package com.contoso; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.channels.AsynchronousFileChannel; import java.security.InvalidKeyException; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.ServletExc...
package com.googlecode.pngtastic.core; import java.io.UnsupportedEncodingException; import java.util.zip.CRC32; /** * Represents a PNG chunk * * @author rayvanderborght */ public class PngChunk { /** critical chunks */ public static final String IMAGE_HEADER = "IHDR"; public static final String PALETTE = "...
package org.robolectric.shadows; import static com.google.common.base.Preconditions.checkArgument; import android.app.usage.StorageStats; import android.app.usage.StorageStatsManager; import android.content.pm.PackageManager; import android.os.Build; import android.os.UserHandle; import android.os.storage.StorageMana...
package com.sdcm.service.impl; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.transaction.Transactional; import org.apache.commons.beanutils.BeanUtils; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; import com.sdcm.common.Abstrac...
package web.service; import java.math.BigDecimal; import java.sql.Types; import java.text.ParseException; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import com.alibaba.fastjson.JSONObject; import common.dao.JdbcService; public class ProductServic...
/** * @author jasontiller * */ package noobchain; // this file is part of the noobchain package // import needed security and utility modules: PrivateKey, PublicKey, and ArrayList import java.security.PrivateKey; import java.security.PublicKey; import java.util.ArrayList; // a Class for creating Transaction object...
package volcano.summer.screen.clickgui.sektor; import java.awt.Color; import java.util.ArrayList; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; public class Frame extends Component { public String title; private...
/* * Copyright 2012 <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...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
import org.checkerframework.common.reflection.qual.ClassBound; import org.checkerframework.common.reflection.qual.ClassVal; import org.checkerframework.common.reflection.qual.MethodVal; import org.checkerframework.common.value.qual.ArrayLen; import org.checkerframework.common.value.qual.StringVal; import java.lang.ref...
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugins.sharedpreferences; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import ...
package io.resys.hdes.client.spi; /*- * #%L * hdes-client-api * %% * Copyright (C) 2020 - 2021 Copyright 2020 ReSys 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 * * ...
/** * Copyright (C) 2018 <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...
package com.apkplug.game.speedsliding.lenovo; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.EditText; import android.widget.ListView; import android.wid...
package com.alibaba.excel.write.executor; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import com....
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/* * Copyright (C) 2009 The Guava 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/LICENSE-2.0 * * Unless required by applicable law or agre...
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_shape; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; 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...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
package org.jboss.resteasy.test.spring.inmodule; import org.jboss.logging.Logger; import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder; import org.jboss.resteasy.util.HttpResponseCodes; import org.jboss.resteasy.utils.PermissionUtil; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.a...
package com.kevalpatel2106.sample; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.provider.MediaStore; import android.util.Log; import androi...
package org.intermine.api.query.range; /* * Copyright (C) 2002-2019 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
package com.jsimmons.lrnr.controllers; import com.jsimmons.lrnr.entities.Notebook; import com.jsimmons.lrnr.entities.Page; import com.jsimmons.lrnr.services.NotebookService; import com.jsimmons.lrnr.services.PageService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory....
package edu.iastate.metnet.metaomgraph.ui; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Point; import java.awt.Polygon; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame;...
package com.ggbwallet.token.web.Service; import com.ggbwallet.token.entity.SalesOrderMalformed; import com.ggbwallet.token.tools.Numeric; import com.ggbwallet.token.tools.ParseMagicLink; import org.web3j.crypto.ECKeyPair; import org.web3j.crypto.Sign; import java.math.BigInteger; import java.util.ArrayList; import jav...
/* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...