text
stringlengths
3.52k
24k
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
package tactician; /** * This class is a transposition table that memoizes positions already visited. This way if we * encounter the same position through a different series of moves through the depth-first search, * we can retrieve the results of the calculations from the previous encounter. A key concept is * th...
package hudson.plugins.tfs; import com.cloudbees.plugins.credentials.CredentialsMatcher; import com.cloudbees.plugins.credentials.CredentialsMatchers; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.common.StandardListBoxModel; import com.cloudbees.plugins.c...
package com.subrosa.api.servlet; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.Formatter; import java.util.List; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfi...
package arez.persist.processor; import arez.processor.ArezProcessor; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.processing.Processor; import javax.tools.JavaFileObject; import org.realityforge.proton.qa.AbstractProcessorTest; imp...
package org.usfirst.frc.team555.robot; import com.kauailabs.navx.frc.AHRS; import com.ni.vision.VisionException; import edu.wpi.first.wpilibj.CameraServer; import edu.wpi.first.wpilibj.Compressor; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.Itera...
package com.wwwjf.wcommonlibrary.utils; import android.annotation.TargetApi; import android.app.Activity; import android.app.AppOpsManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Binder; import android.os.Build;...
package jungle68.com.library.core; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import android.util.AttributeSet; import android.view.View;...
package nl.knokko.rpg.gui; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Point; import java.awt.event.KeyEvent; import java.io.File; import java.util.ArrayList; import nl.knokko.rpg.main.Game; import nl.knokko.rpg.utils.Resources; import nl.knokko.rpg.utils.Resources.LoadFile;...
package com.blevinstein.net; import static com.blevinstein.net.Util.chain; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; import com.google.common.base.Converter; import com.google.common.base.Objects; import com.google.common.collect....
package mara.mybox.controller; import java.util.ArrayList; import java.util.Optional; import java.util.Timer; import java.util.TimerTask; import javafx.application.Platform; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.Button; import...
/* * 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")...
package com.rewayaat.loader.KamilAlZiyarat; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.rewayaat.config.ESClientProvider; import com.rewayaat.core.data.HadithObject; import com.rewayaat.loader.LoaderUtil; import org.apache.pdfbox.pdmodel.PDD...
/* * Copyright (c) 2004 <NAME>. All rights reserved. * This code is from the book Java Examples in a Nutshell, 3nd Edition. * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied. * You may study, use, and modify it for any non-commercial purpose, * including teaching and use in open-source proj...
/* * $Id$ */ /* Copyright (c) 2000-2011 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,...
/* * Copyright (C) 2017 CenturyLink, 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 applicab...
/** * 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) 2018, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one...
package com.xuexiang.xupdatedemo; import android.annotation.SuppressLint; import android.app.Activity; import android.app.DownloadManager; import android.content.ContentResolver; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.BitmapFactory...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
/* * 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") + yo...
/* * Copyright 2017 OICR * * 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...
package com.ospn.osnsdk; import android.annotation.SuppressLint; import android.content.pm.PackageManager; import android.os.Environment; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.nio.charset.Charset; im...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
// Copyright 2018 The Chromium 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 org.chromium.chrome.browser.autofill_assistant; import android.accounts.Account; import android.content.Context; import android.os.Build; import ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.develnext.jphp.zend.ext.standard; import php.runtime.Memory; import php.runtime.env.Environment; import php.runtime.ext.support.compile.FunctionsContainer; import php.runtime.memory.LongMemory; import php.runtime.memory.StringMemory; import java.math.BigDecimal; import java.math.BigInteger; import java.ma...
/*Copyright 2017 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
package com.jesen.cod.jetpackvideo.ui.publish; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.arch.core.executor.ArchTaskExecutor; import androidx.camera.core.CameraInfoUnavailableExcep...
/* * 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...
/* * Decompiled with CFR 0.150. * * Could not load the following classes: * net.runelite.mapping.Export * net.runelite.mapping.ObfuscatedGetter * net.runelite.mapping.ObfuscatedName * net.runelite.mapping.ObfuscatedSignature */ import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedGette...
/* * 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...
package com.leagoo.vendingmachine.upgrade; import android.app.Activity; import android.app.IntentService; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Handler; import and...
package it.unive.lisa.program.cfg.statement.call; import it.unive.lisa.analysis.AbstractState; import it.unive.lisa.analysis.AnalysisState; import it.unive.lisa.analysis.SemanticException; import it.unive.lisa.analysis.StatementStore; import it.unive.lisa.analysis.heap.HeapDomain; import it.unive.lisa.analysis.lattice...
package com.example.demo; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.ArrayList; import c...
// Copyright 2006, 2007, 2008 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
/* * Copyright 2012 University of Chicago * * 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 a...
package com.zacharee1.systemuituner.activities; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.res.Resources; import android.net.Uri; import android.provider.Settings; import android.support.annotation...
/* JAI-Ext - OpenSource Java Advanced Image Extensions Library * http://www.geo-solutions.it/ * Copyright 2014 GeoSolutions * 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...
/* * (c) Copyright 2018 Palantir Technologies 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 ...
package springconfiguration; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.cloud.context.config.annotation.RefreshScope; import java.util.UUID; @ConfigurationProperties("program") @PropertySource("c...
/* * Copyright © 2017-2021 Ocado (Ocava) * * 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 a...
package com.weiaibenpao.demo.chislim.video; import android.annotation.TargetApi; import android.app.Activity; import android.media.MediaPlayer; import android.os.AsyncTask; import android.os.Build; import android.os.Environment; import android.util.Log; import android.util.TypedValue; import android.view.KeyEvent; imp...
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild import io.kaitai.struct.ByteBufferKaitaiStream; import io.kaitai.struct.KaitaiStruct; import io.kaitai.struct.KaitaiStream; import java.io.IOException; import java.nio.charset.Charset; /** * The binary format consist...
/** * * Copyright (c) Microsoft and contributors. 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 r...
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.util.ArrayList; import java.util.List; import javax.swing.*; import javax.swing.border.Border; public final class MainPanel extends JPanel { private final JPanel panel = new JPanel(); ...
package com.hcl.kandy.cpass.groupChat; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.material.floatingactionbutton.FloatingActionButton; import androidx.fragment.app.Fragment; i...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 <NAME> <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.cpa.validvars; import static com.google.common.ba...
/** * Copyright 2013 JogAmp Community. 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 * co...
/* * Copyright [2017] Wikimedia 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 applicable law or...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
package com.tencent.qcloud.ugckit.module.upload.impl; import android.content.Context; import android.text.TextUtils; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util...
package me.davikawasaki.routineapp.userroutineapp; import android.app.Activity; import android.content.Intent; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.ArrayAdapter; ...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package com.devonfw.tools.ide.configurator; import java.io.File; import java.util.Properties; import java.util.function.Supplier; import com.devonfw.tools.ide.configurator.merge.DirectoryMerger; import com.devonfw.tools.ide.configurator.merge.PropertiesMerger; import com.devonfw.tools.ide.configurator.resolve.Variabl...
package com.eterno.joshspy.app; import androidx.appcompat.app.AppCompatActivity; import android.annotation.SuppressLint; import android.app.usage.UsageEvents; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Bundle;...
package com.lanking.uxb.zycon.base.value; import java.io.Serializable; import java.util.Date; import java.util.List; import com.google.common.collect.Lists; import com.lanking.cloud.domain.common.resource.question.ChoiceFormat; import com.lanking.cloud.domain.common.resource.question.Question; import com.lan...
package megamu.mesh; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import processing.core.PApplet; import quickhull3d.QuickHull3D; import shapecore.Circle; import shapecore.pt; import shape...
package com.company; import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws FileNotFoundException { // 1. devuelveStringDelReves("Hola"); // 2, String[] nuevoArray02 = new String[]{"0","1","2","3","4"}; returnValuesOfArray...
/* * Copyright 2018 VetsEZ Inc, Sagebits 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
package com.example.amelia.elidmx; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.support.v4.app.NavUtils; import android.support.v4.content.LocalBroadcastManager; import android.support.v7.app.ActionBarActivity; import ...
/* * 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")...
/* * Copyright (c) 2015 Regents of the University of Minnesota. * * 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 requ...
/* * The MIT License (MIT) * * Copyright (c) 2016-2022 <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, ...
package com.systelab.seed.user; import com.systelab.seed.RESTResourceTest; import com.systelab.seed.allergy.entity.Allergy; import com.systelab.seed.patient.entity.Patient; import com.systelab.seed.user.entity.User; import com.systelab.seed.user.entity.UserRole; import com.systelab.seed.user.entity.UsersPage; import c...
package com.example.sig.lianjiang.utils; import android.content.Context; import android.content.Intent; import android.graphics.Rect; import android.text.Html; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.Linear...
package cn.zjy.patchupdate; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Environment; import android.text.TextUtils; import android.uti...
package com.oltpbenchmark.benchmarks.smallbank.validation; import java.util.Comparator; import com.oltpbenchmark.benchmarks.smallbank.SmallBankConstants; public class LogRecord implements Comparable<LogRecord> { private String id; private String actionName; private long startTime; private long endTime; private ...
package com.haxademic.demo.draw.particle; import java.util.ArrayList; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.app.config.AppSettings; import com.haxademic.core.app.config.Config; import com.haxademic.core.draw.color.EasingColor; import com.haxademic.core.dr...
/******************************************************************************* * ============LICENSE_START======================================================================== * ONAP : ccsdk feature sdnr wt * ================================================================================================= * Co...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
package net.robinfriedli.jxp.persist; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicInteger; import org.testng.annotations.*; import com.google.common.collect.Lists; import net.robinfriedli.exec.Mode; import net.r...
package com.continuum.nova.gui; import com.continuum.nova.NovaNative; import com.continuum.nova.NovaRenderer; import com.continuum.nova.input.Mouse; import com.sun.jna.Memory; import com.sun.jna.Native; import glm.mat._4.Mat4; import glm.vec._4.Vec4; import net.minecraft.client.Minecraft; import net.minecraft.client.g...
/* Class59 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.jagex; import java.util.Iterator; class Class59 implements Iterator { int anInt754; Class58 this$0; public static int anInt755; public Object next() { return (this$0.anInterface13Array750[(anInt754 += 2146313801) * 1199221753...
package net.qiujuer.library.planck.internal.section; import android.os.SystemClock; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import net.qiujuer.library.planck.PlanckSource; import net.qiujuer.library.planck.data.DataProvider; import net.qiujuer.library.planck.data.StreamF...
package nl.knokko.rpg.gui; import java.awt.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.PrintWriter; import java.lang.reflect.Field; import java.util.ArrayList; import nl.knokko.rpg.main.Game; import nl.knokko.rpg.utils.Resources; import nl.knokko.rpg.utils.SpecialText; public class Gu...
/* * 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 hierarchy.ranges; import hierarchy.NodeStats; import java.util.ArrayList; import java.util.HashMap; import java.util.List; imp...
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
package app.vanir.net.dns; import java.net.InetAddress; import java.net.ProtocolException; import java.net.UnknownHostException; import java.nio.BufferUnderflowException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.security.cert.Certificate; public class DnsPa...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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://...
package com.ibm.si.jaql.rest; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Properties; import java.util.regex.Pattern; import java.util.regex.Matcher; import org.apache.commons.httpclient.HttpStatus; import org.apache.logging.log4...
/* * Copyright 2015 JBoss, by 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 ...
package com.noxlogic.joindin; /* * Displays all talks from specified event. */ import java.sql.Timestamp; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.Context; import android.content.Intent; import android.g...
package mission.behaviour; import java.util.ArrayList; import java.util.List; import mission.Board; import mission.behaviour.MechAttack.Volley; import mission.boss.BuilderBaseBoss; import mission.gameobject.Component; import mission.gameobject.Enemy; import mission.gameobject.Mech; import mission.gameobject.Player; i...
/* * @(#)NormalizerDataReader.java 1.7 06/02/01 * * Portions Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* ******************************************************************************* * (C) Copyright IBM Corp. 1996-2005 - All...
package com.compomics.mslims.util.fileio.mergefiles; import org.apache.log4j.Logger; import com.compomics.mslims.util.fileio.MascotGenericFile; import com.compomics.mascotdatfile.util.mascot.Query; import java.io.File; import java.io.IOException; import java.io.BufferedReader; import java.io.FileReader; import java....
/* * @author <NAME> */ package package; 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.util.HashMap; import java.util.Map; import java.util.NavigableSet; import java.util.Scanner;...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 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. * You may obtain a copy of the License at * * http://www.apache.or...
/* * Copyright 2009 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.wdy.sensor.utils; import android.annotation.SuppressLint; import android.hardware.Sensor; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.o...
package com.example.android.pets.data; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; import android.util.Log; imp...
/** * 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 * distribu...
package de.idyl.crypto.zip.impl; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.ZipException; import de.idyl.crypto.zip.AesZipFileDecrypter; /** * Wrapper for the central directory entry (CDE) of one file. * At the end of the ZIP file one CDE can b...
package org.jsengine.v8.base; import org.jsengine.Globals; // src/base/cpu.h:32 public final class CPU { char vendor_[] = new char[13]; private int stepping_; private int model_; private int ext_model_; private int family_; private int ext_family_; private int type_; private int implementer_; p...
/* * [The "BSD license"] * Copyright (c) 2012 <NAME> * Copyright (c) 2012 <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 retai...
/* * @(#)TextAreaFigure.java 2.0.1 2006-02-27 * * Copyright (c) 1996-2006 by the original authors of JHotDraw * and all its contributors ("JHotDraw.org") * All rights reserved. * * This software is the confidential and proprietary information of * JHotDraw.org ("Confidential Information"). You shall not discl...
/* * 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.Innospectra.NanoScan; import android.app.ActionBar; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.os.Handler; import android.support.v4.conte...
package com.mastercoder.rutas_mcturistic.Georeferencia; import android.Manifest; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.os.AsyncTask; import android.support.annotation.NonNu...
/* * Copyright 2012-2018 Chronicle Map Contributors * * 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 applicab...