text
stringlengths
9.3k
48.9k
/* * Copyright 2014-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 w...
/** * 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) 2015 <NAME> (<EMAIL>). * Contains some code from Elasticsearch (http://www.elastic.co) * * 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...
/* * 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 libcomm.layer.rfc1006; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import libcomm.exception.CommErrorType; import libcomm.exception.CommunicationException; import libcomm.message.rfc1006.CcTsdu; import libcomm.message.rfc1006.CrTsdu; import libcomm.message.rfc1006.DataTsdu; ...
import java.util.*; import java.io.*; import java.net.*; import java.math.*; import java.security.*; import java.security.spec.*; import static java.nio.charset.StandardCharsets.UTF_8; public class CryptoBlockChain { // (c) 2018 dmitrynizh. MIT License. static class Block { String hash; int ht, state, nonce; Block p...
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
/** * The OWASP CSRFGuard Project, BSD License * <NAME> (<EMAIL>), Copyright (c) 2011 * 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...
package com.infoedge.jrandomizer.providers; /** * Created by gagandeep on 31/7/16. */ public class UsernameProvider extends Provider<String[]> { private UsernameProvider(Class<String[]> clazz) { super(clazz); } @Override public String[] provide() { if (mLoadedData == null) { ...
/******************************************************************************* * Copyright (c) 2013-2017 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanying ...
/* * Copyright (c) 1997 - 2016 * Actelion Pharmaceuticals Ltd. * Gewerbestrasse 16 * CH-4123 Allschwil, Switzerland * * 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 sour...
/** * Mars Simulation Project * TabPanelActivity.java * @version 3.1.0 2017-01-19 * @author <NAME> */ package org.mars_sim.msp.ui.swing.unit_window.person; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridLayout; import java.awt.Insets; import java.awt.event.Act...
/***************************************************************************************** * COPYRIGHT (c), 2007, RAYTHEON COMPANY * ALL RIGHTS RESERVED, An Unpublished Work * * RAYTHEON PROPRIETARY * If the end user is not the U.S. Government or any agency thereof, use * or disclosure of data contained in this s...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sybx.syPersonUpdate.entity; import com.thinkgem.jeesite.common.persistence.DataEntity; import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField; import o...
package bitflow4j.steps.query; import bitflow4j.Header; import bitflow4j.MockContext; import bitflow4j.Sample; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import java.io.IOException; import java.util.Date; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.ju...
/* Copyright 2015 Novartis Institutes for Biomedical Research 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 ...
/* * Copyright (C) 2012 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...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
package com.app.legend.picmaster.utils; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import androi...
package live.teekamsuthar.mutify; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.app.Dialog; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; impo...
package com.bluescreenstudios.android.flagger; import java.util.ArrayList; import java.util.Collections; /** * Singleton class that stores the questions & their IDs, flags & their IDs, * and an array that maps a question ID to its corresponding flag ID. */ @SuppressWarnings("WeakerAccess") public class QuestionDat...
/* * This represents a reader thread in the simulator which keeps on reading from EMUTHREADS. */ package emulatorinterface; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.HashMap; import java.util.TreeMap; import java.util.Vector; import main.ArchitecturalComponent; import main.Main; ...
/* * PropXYXY_Test.java * * Created on July 24, 2007, 10:15 PM * * $Id: PropXYXY_Test.java,v 1.1.1.1 2010/04/08 20:38:00 jeremy Exp $ */ package org.lcsim.recon.tracking.trfxyp; import junit.framework.TestCase; import org.lcsim.recon.tracking.spacegeom.SpacePath; import org.lcsim.recon.tracking.spacegeom.SpaceP...
package sorcer.pml.modeling; import groovy.lang.Closure; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sorcer.test.ProjectContext; import org.sorcer.test.SorcerTestRunner; import sorcer.arithmetic.provider.impl.Adder...
/* * 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...
/* * Au D. Xuong's VietJie's Javascript input algorithm * (http://www.vovisoft.com/unicode/utilities/vietjie/defaultvconso2.asp) * modified and ported to Java by <NAME>. * * This program code serves as an example of an implementation of VietKey's API * as prescribed in http://vietpad.sourceforge.net/doc/. */ pa...
/* * Copyright 2020 Scalyr 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...
import java.awt.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import...
// ********************************************************************** // // <copyright> // // BBN Technologies // 10 Moulton Street // Cambridge, MA 02138 // (617) 873-8000 // // Copyright (C) BBNT Solutions LLC. All rights reserved. // // </copyright> // ***************************************************...
package com.besome.sketch.projects; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; ...
/* * @(#)BreadCrumbUI.java * * $Date: 2015-05-31 03:44:02 +0200 (So, 31 Mai 2015) $ * * Copyright (c) 2014 by <NAME>. * All rights reserved. * * The copyright of this software is owned by <NAME>. * You may not use, copy or modify this software, except in * accordance with the license agreement you entered ...
package com.daizhirui.bletemperature; import android.bluetooth.BluetoothGattCharacteristic; import android.util.Log; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import java.util.List; import java.util.UUID; /** * GattStandard provides some methods that can parse a UUID and r...
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use t...
/* * Copyright 2005 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package io.github.htools.search; import io.github.htools.io.Datafile; import io.github.htools.io.buffer.BufferReaderWriter; import io.github.htools.io.struct.StructuredTextXML; import io.github.htools.lib.Log; import java.io.IOException; /** * * @author <NAME> */ public class XMLfile extends StructuredTextXML { ...
/** * Orignal work: Copyright 2015 www.seleniumtests.com * Modified work: Copyright 2016 www.infotel.com * Copyright 2017-2019 B.Hecquet * * 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...
package output.util; import java.util.*; import java.io.*; public class AvailabilityPrune { protected LinkedHashMap<String, ArrayList<Integer>> templateValueCounts; protected LinkedHashMap<Integer, LinkedHashMap<String, ArrayList<Double>>> userTemplateValues; // <userID <Feature : values>> static LinkedHashMap<St...
package com.wj.base.util; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.BitmapShader; import android.graph...
package fr.uem.efluid.services; import fr.uem.efluid.model.entities.*; import fr.uem.efluid.model.metas.ManagedModelDescription; import fr.uem.efluid.model.repositories.*; import fr.uem.efluid.services.types.*; import fr.uem.efluid.tools.diff.CommitIndexComparator; import fr.uem.efluid.tools.exports.CommitExporter; im...
package com.chenxi.cebim.adapter; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AlertDialog; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerVie...
/* * Apache HTTPD & NGINX Access log parsing made easy * Copyright (C) 2011-2018 <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 e.a.a.a.y0.m; import e.a.a.a.y0.b.a1.c; import e.a.a.a.y0.b.a1.h; import e.a.a.a.y0.b.r0; import e.a.a.a.y0.j.y.i; import e.t.g; import e.x.c.i; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import kotlin.jvm.internal.DefaultConstructorMarker; public f...
/* * Copyright 2007-2016 <NAME> * * This file is part of TopThreads, a JConsole plugin to analyse CPU-usage per thread. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this di...
package org.apache.xalan.xsltc.trax; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import java.net.URL; import java.net.URLConnection; import java.net.UnknownServiceException; impo...
package skeletons3D; // SkelsManager.java // <NAME>, October 2011, <EMAIL> /* Manages the 3D skeletons in the scene. SkelsManager sets up 7 'observers' (listeners) so that when a new user is detected in the scene, a standard pose for that user is detected, the user skeleton is calibrated in the pose, a...
package jankovicsandras.imagetracer; import java.util.ArrayList; import java.util.HashMap; import jankovicsandras.imagetracer.ImageTracer.ImageData; import jankovicsandras.imagetracer.ImageTracer.IndexedImage; public class VectorizingUtils { //////////////////////////////////////////////////////////// // //...
package com.infi.myparkingapp_client; import android.app.AlarmManager; import android.app.Dialog; import android.app.PendingIntent; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.res.ColorStateList; import android.graphics.Color; import...
/* * Copyright (C) 2016 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...
package com.openxu.cview.xmstock20201030; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.Path; 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 hex.ensemble; import hex.*; import hex.genmodel.utils.DistributionFamily; import hex.glm.GLMModel; import hex.tree.drf.DRFModel; import water.*; import water.exceptions.H2OIllegalArgumentException; import water.fvec.Frame; import water.udf.CFuncRef; import water.util.Log; import water.util.MRUtils; import wate...
/** * Copyright (c) 2003-2019 The Apereo Foundation * * Licensed under the Educational Community 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://opensource.org/licenses/ecl2 * * Unless requ...
/* * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.android.testutils; /* * Copyright (C) 2011 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-...
/* Copyright (C) 2005-2012, by the President and Fellows of Harvard College. 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 Unle...
/** * 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...
/** * Code to recreate the results in the paper * @article{hills14shapelet, title={Classification of time series by shapelet transformation}, author={<NAME> and <NAME> and <NAME> and <NAME> and <NAME>}, journal={Data Mining and Knowledge Discovery}, volume={28}, issue={4}, pages={851--881}, y...
/*_########################################################################## _## _## Copyright (C) 2011-2015 Pcap4J.org _## _########################################################################## */ package org.pcap4j.packet.namednumber; import java.util.HashMap; import java.util.Map; /** * IP Number...
/* * 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 ...
/* * @(#)file CascadingService.java * @(#)author Sun Microsystems, Inc. * @(#)version 1.10 * @(#)lastedit 07/03/08 * @(#)build @BUILD_TAG_PLACEHOLDER@ * * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved. * * The c...
/* * 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 ...
/* * The MIT License (MIT) * * Copyright (c) 2010 Technische Universitaet Berlin * * 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 t...
package com.horowitz.tm; import java.awt.AWTException; import java.awt.Color; import java.awt.MouseInfo; import java.awt.Point; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.io.File; ...
//Copyright 2008 <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, s...
/* * 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...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
package abra.cadabra; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import abra.CompareToReference2; import abra.Feature; import abra.Logger; import abra.Pair; import abra.SAMRecordUtils; import htsjdk.samtools.Cigar; import htsjdk.samtoo...
/* * The MIT License * * Copyright (c) 2010-2017 The Broad Institute * * 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 * t...
package hex.rulefit; import hex.*; import hex.genmodel.utils.DistributionFamily; import hex.glm.GLM; import hex.glm.GLMModel; import hex.tree.SharedTree; import hex.tree.SharedTreeModel; import hex.tree.TreeStats; import hex.tree.drf.DRF; import hex.tree.drf.DRFModel; import hex.tree.gbm.GBM; import hex.tree.gbm.GBMMo...
/* * Copyright 2004-2021 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.lealone.examples.h2webconsole.web.deprecated; import java.io.StringReader; import java.math.BigDecimal; import java.nio.charset.Standard...
/* * 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 se.kth.karamel.common.util; import org.apache.log4j.Logger; import org.jclouds.aws.domain.Region; import org.jclouds.ec2.domai...
package com.god.mediastore.fagment; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.BitmapFactory; import android....
/** * @author <NAME> * Matéria 4724 - Engenharia de Software 3 * 4º ADS - Noite * Iniciado em 07/05/2016 */ package controller; import java.awt.Color; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentEvent; import java.awt.event.Co...
/* "Gladiator" * (C) 1984 SNK */ /* * ported to v0.56 * using automatic conversion tool v0.01 */ package mame056.drivers; import static arcadeflex056.fucPtr.*; import common.ptr.UBytePtr; import static mame056.common.*; import static mame056.commonH.*; import static mame056.cpuexec.*; import st...
package com.shamlatech.school_management; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Vibrator;...
/* * Copyright (C) 2018 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ package owt.sample.conference; import static android.content.pm.PackageManager.PERMISSION_GRANTED; import static org.webrtc.PeerConnection.ContinualGatheringPolicy.GATHER_CONTINUALLY; import static owt.base.MediaCodecs.AudioCodec.O...
/************************************************************* Copyright 2018-2019 eBay Inc. Author/Developer: <NAME> Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. ******************************************************...
package miage.unice.fr; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.util.Arrays; import java.util.HashMap; import java...
/* * 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 ma...
/***************************************************************************** * Copyright (c) <NAME>, Monash Uni & UQ, All rights reserved. * * * * Redistribution and use in source and binary forms, with or without * * modific...
/* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * ProtocolLib - Bukkit server library that allows access to the Minecraft protocol. * Copyright (C) 2012 <NAME> * * 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 version 2 of *...
package irmaANALYSIS; import java.util.ArrayList; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.p...
/** * personium.io * Copyright 2014 FUJITSU 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* @(#)QuickTimeWriter.java * Copyright © 2017 <NAME>, Switzerland. MIT License. */ package org.monte.media.quicktime; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.nio.ByteOrder; import javax.imageio.stream.ImageOutputStream; import or...
/** * com.mckoi.database.V1MasterTableDataSource 01 Sep 2002 * * Mckoi SQL Database ( http://www.mckoi.com/database ) * Copyright (C) 2000-2018 Diehl and Associates, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
package br.com.alexromanelli.android.jogodedamas.dinamica.ia; import android.os.AsyncTask; import android.os.Handler; import android.util.Log; import android.widget.Toast; import br.com.alexromanelli.android.jogodedamas.MainActivity; import br.com.alexromanelli.android.jogodedamas.dinamica.*; import br.com.alexromanel...
/* * @(#)BasicThumbnail.java * * $Date: 2014-03-13 09:15:48 +0100 (Do, 13 Mär 2014) $ * * Copyright (c) 2012 by <NAME>. * All rights reserved. * * The copyright of this software is owned by <NAME>. * You may not use, copy or modify this software, except in * accordance with the license agreement you entere...
package rajawali; import java.nio.IntBuffer; import java.nio.ShortBuffer; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import rajawali.bounds.BoundingBox; import rajawali.lights.ALight; import rajawali.materials.AMaterial; import ra...
/* Part of the Androrat project - https://github.com/RobinDavid/androrat Copyright (c) 2012 <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3. This library is dist...
package com.prosperday.mydracma.app_Tool; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; ...
// Copyright (c) 2012 Cloudera, 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 required by applica...
package com.mopub.volley.toolbox; import android.os.SystemClock; import android.text.TextUtils; import com.mopub.volley.Cache; import com.mopub.volley.Cache.Entry; import com.mopub.volley.Header; import com.mopub.volley.VolleyLog; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io....
package treeDS; import java.util.*; import treeDS.BST.DiaPair; public class BinaryTree { public static final int GLOBALSPACE = 5; public static void main(String[] args) { Scanner sc = new Scanner(System.in); BST bt = new BST(); boolean flag = true; int inorder[]; int preorder[]; int postorder[]; whi...
/* * Copyright 2013 BiasedBit * * 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...
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 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 Software Fo...
/* * 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) 2015 Spotify AB. * * 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,...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
package fl.wearable.autosport; import android.Manifest; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.pm.PackageManag...