text
stringlengths
7.32k
45.1k
package db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Vector; import java.sql.*; import bo.*; /** * Class intended to virtualize * the Population_T database table. * * @author <NAME> */ publ...
/* * Copyright (c) 2021. <NAME>. All Rights Reserved. */ package sc.lang; import sc.layer.Layer; import sc.parser.*; import java.util.Arrays; import java.util.HashSet; import java.util.Set; /** * Implements the parser for the schtml format. This specific file defines the HTML grammar, built on top of the * te...
package com.chaquo.python; import java.lang.String; /** See test_basics.py */ public class TestBasics { private final static double EPSILON = 1E-6; public boolean methodParamsZBCSIJFD(boolean x1, byte x2, char x3, short x4, int x5, long x6, float x7, double x8) { ...
/* * Copyright (C) 2014 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 org.openon.aannodoc.utils; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import or...
import java.awt.*; import java.awt.Font; import java.awt.event.*; import java.awt.geom.*; import javax.swing.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; import java.util.*; /* This is the actual game loop Functionality: KeyListener --> boolean[] keys, boolean[] isDoublePress...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 * *...
package com.blakebr0.pickletweaks.init; import com.blakebr0.cucumber.item.BaseItem; import com.blakebr0.pickletweaks.PickleTweaks; import com.blakebr0.pickletweaks.feature.item.CoalPieceItem; import com.blakebr0.pickletweaks.feature.item.DiamondAppleItem; import com.blakebr0.pickletweaks.feature.item.EmeraldAppleItem;...
package colonygame.resources; import colonygame.Main; import java.io.File; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; impo...
/* * ReactPhysics3D physics library, http://code.google.com/p/reactphysics3d/ * Copyright (c) 2010-2013 <NAME> * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from the * use of this software. * * Permission is ...
/* * 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 benchmark; import com.saemann.gulli.core.control.Controller; import com.saemann.gulli.core.control.listener.SimulationActionAd...
/* * Copyright 2020 <NAME> and White Magic Software, Ltd. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright * noti...
package org.riverock.gwt.client.commons; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.rpc.InvocationException; import com.google.gwt.user.client.ui.*; import org.riverock.gwt.client.excep...
package org.sristi.sristi; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; im...
package org.arendelle.android; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import an...
package net.osmand.plus.views; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.Paint.Cap; import android.graphics.Paint.Join; import android.graphics.Paint.Style; import android.gr...
/* * Copyright 2011 JBoss 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 ...
package com.chain.test.day03; import java.io.ByteArrayOutputStream; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; /** * 哈夫曼编码实现压缩/解压缩(主要用于ASCII文本,也可...
package com.weisser.quote.portfolio.cla; // TODO Remove all IO classes. Create an interface that you can implement as a user. public class Simplex { /** * A debug file handle. */ public Output output; // In the book it was a Visual Basic Dialog Box displayed to the user. boolean allowDegen...
/* Copyright (c) 2000-2003 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, including without limitat...
/* * The MIT License * * Copyright 2020 <NAME>/<EMAIL> * * 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, m...
package com.berpic.core.domain.util; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import javax.imageio.ImageIO; import com.berpic.core.domain.util.gif.AnimatedGifEncoder; import com.berpic.core.domain.util.gif.GifDecoder; import or...
package com.tokelon.toktales.android.render.opengl; import java.nio.FloatBuffer; import java.util.List; import javax.inject.Inject; import javax.inject.Provider; import org.joml.Matrix4f; import org.joml.Vector2f; import org.joml.Vector3f; import com.tokelon.toktales.core.engine.log.ILogger; import com.tokelon.tokt...
package edu.uiuc.zenvisage.data.roaringdb.executor; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; imp...
/* Copyright (c) 2008-2010 <NAME> & <NAME> We release this software open source under an MIT license (see below). If this software was useful for your scientific work, please cite our paper(s) listed on http://gnw.sourceforge.net. Permission is hereby granted, free of charge, to any person obtaining a copy of this so...
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-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 * *...
import javafx.scene.canvas.Canvas; import java.io.IOException; import java.util.Collections; import java.util.HashMap; import java.util.InputMismatchException; import java.util.Random; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import jav...
/****************************************************************************** * Product: iDempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
package swim.core.network.test; import java.util.LinkedList; import java.util.Random; import java.util.Vector; import swim.core.network.Demand; import swim.core.network.FlowModel; import swim.core.network.PowerModel; import swim.core.network.PowerModel.PowerLevel; import swim.core.network.UWSensorNetwork; ...
import javax.swing.*; import java.awt.*; import java.awt.event.InputEvent; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.ArrayList; import java.util.Collections; /** * Игра пятнашки (15-puzzle), созданная на основе JFrame и двумерного массива JBu...
package com.facebook.internal; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Handler; import android.os.Looper; import com.facebook.internal.WorkQueue; import java.io.InputStream; import java.util.HashMap; import java.ut...
package com.erith.commontools.security.encryption.algorithm.pgp; import org.bouncycastle.asn1.*; import org.bouncycastle.asn1.misc.MiscObjectIdentifiers; import org.bouncycastle.asn1.misc.NetscapeCertType; import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.asn1.x500.X500NameBuilder; import org.bouncyc...
package imj2.tools; import static java.awt.Color.GREEN; import static java.awt.Color.RED; import static java.awt.Color.YELLOW; import static java.lang.Math.abs; import static java.lang.Math.max; import static java.lang.Math.min; import static multij.swing.SwingTools.show; import static multij.tools.Tools.debugPrint; i...
package tv.niuwa.live.own; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.FrameLayout; import android.wid...
package com.kerbless.kerb.adapters; import android.content.Context; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.os.SystemClock; import android.support.design.widget.Snackbar; import android.support.v4.content....
package complexMobs.mob.lothicKnight.action; import org.bukkit.entity.ArmorStand; import org.bukkit.util.Vector; import complexMobs.mob.LothricKnight; import complexMobs.object.Action; import complexMobs.object.Part; public class LeftSlash extends Action<LothricKnight> { public LeftSlash() { setReturnTick(25); ...
package org.apache.lucene.facet.search; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import org.apache.lucene.analysis.MockAnalyzer; import org.apache.lucen...
/* * This file is part of adventure, licensed under the MIT License. * * Copyright (c) 2017-2022 KyoriPowered * * 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, inc...
/* * MIT License * * Copyright (c) 2005-2021 by <NAME>, Aigents® * * 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 u...
package com.github.xpenatan.gdx.backends.teavm; import org.teavm.backend.c.CTarget; import org.teavm.backend.c.generate.CNameProvider; import org.teavm.backend.javascript.JavaScriptTarget; import org.teavm.backend.wasm.WasmTarget; import org.teavm.backend.wasm.render.WasmBinaryVersion; import org.teavm.cache.*; import...
/* * P4Java - java integration with Perforce SCM * Copyright (C) 2007-, <NAME>, Tek42 * * 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; either * version 2.1 of the License, or (at...
/* * 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 ...
/* * 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 ...
/* * 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 2016-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 tpa.graphics.render; import org.lwjgl.opengl.*; import tpa.graphics.geometry.Attribute; import tpa.graphics.geometry.Mesh; import tpa.graphics.shader.ShaderProgram; import tpa.graphics.shader.Uniform; import tpa.graphics.texture.Framebuffer; import tpa.graphics.texture.Texture; import tpa.joml.*; import tpa.ut...
// Copyright (C) 2011-2012 CRS4. // // This file is part of Hadoop-BAM. // // 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...
/* * 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-2.0 * * Unless required by app...
/* * 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) 1998-2020 <NAME> and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.internal.iosp.hdf5; import ucar.unidata.io.RandomAccessFile; import ucar.unidata.util.SpecialMathFunction; import java.io.IOException; import java.util.ArrayLis...
// Copyright 2015 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.omnibox; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animatio...
/* ### * IP: GHIDRA * * 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...
/* * 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 de.adihubba.javafx.jfx3d; import java.awt.BorderLayout; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.geometry.Point3D; import javafx.scene.DepthTest; import javafx.scene...
/* * Copyright (c) 2013-2015 Massachusetts Institute of Technology * * 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 us...
/******************************************************************************* * Copyright (C) 2014, International Business Machines Corporation * All Rights Reserved *******************************************************************************/ package com.ibm.streamsx.hdfs; import java.io.BufferedReader; imp...
/* (C) Copyright 2013-2016 The RISCOSS Project Consortium 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...
/** * Copyright (C) 2015 the original author or authors. * <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 requir...
package com.semmle.js.parser; import ch.qos.logback.classic.Level; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonParser; import com.google.gson.JsonPrimitive; import com.semmle.js.parser.JSP...
package org.wikipedia.dataclient; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.gson.JsonElement; import org.wikipedia.captcha.Captcha; import org.wikipedia.dataclient.mwapi.CreateAccountResponse; import org.wikipedia.dataclient.mwapi.MwPostResponse; import org.wikipedia....
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package net.runelite.client.rsb.gui; import net.runelite.client.rsb.botLauncher.RuneLite; import net.runelite.client.rsb.internal.ScriptHandler; import net.runelite.client.rsb.internal.listener.ScriptListener; import net.runelite.client.rsb.script.Script; import net.runelite.client.rsb.service.FileScriptSource; import...
import java.io.*; import java.net.*; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.Scanner; import javax.imageio.ImageIO; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import java.awt.Color; import java.awt.image.BufferedImage; /** * This class is part of a part of a demonst...
package com.breadwallet; import android.app.Activity; import android.app.ActivityManager; import android.app.Application; import android.app.KeyguardManager; import android.arch.lifecycle.Lifecycle; import android.arch.lifecycle.ProcessLifecycleOwner; import android.content.Context; import android.content.IntentFilter...
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * 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.heimdall.controller.role; import java.security.Principal; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.springframework.security.access.annotation.Secured; import org.springframework.stereotype.Controller; import org.springframework.transa...
package edu.harvard.iq.dataverse.api; import edu.harvard.iq.dataverse.*; import edu.harvard.iq.dataverse.api.imports.ImportGenericServiceBean; import edu.harvard.iq.dataverse.authorization.AuthenticationProvider; import edu.harvard.iq.dataverse.authorization.Permission; import edu.harvard.iq.dataverse.authorization.ex...
/* * Copyright 2004,2005 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 ap...
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Catalina.java,v 1.48 2002/05/23 17:22:37 glenn Exp $ * $Revision: 1.48 $ * $Date: 2002/05/23 17:22:37 $ * * ==================================================================== * * The Apache Software License, Version 1.1 ...
package edu.mayo.mprc.chem; /** * MERCURY6 is a version of MERCURY5 that omitts outputing flanking * zeros in the ouput file. * <p/> * MERCURY5 is a version of MERCURY2 using (mostly) double percision. * instead of floating point arithmatic. It gives more accurate * intensity values than MERCURY2. * <p/> * MER...
/* * Copyright (c) 2015 <NAME> <karl at jformdesigner dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright * no...
/* * 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 ...
/* * JBoss, Home of Professional Open Source. * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 com.devstepbcn.wifi; import com.facebook.react.uimanager.*; import com.facebook.react.bridge.*; import com.facebook.systrace.Systrace; import com.facebook.systrace.SystraceMessage; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactRootView; import com.facebook.react.modules.core.De...
/* * 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 writing,...
/** * */ package gov.nih.nci.ui; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.F...
package com.teamproject.plastikproject.plastik.activity; import android.Manifest; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.pm.PackageManager; import android.location.Address; import android.location.Geo...
/* * This file is part of the PSL software. * Copyright 2011-2015 University of Maryland * Copyright 2013-2018 The Regents of the University of California * * 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...
/** * 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...
/*! ****************************************************************************** * * Hop : The Hop Orchestration Platform * * http://www.project-hop.org * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
/**************************************************************** * 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...
package io.github.daanipuui.swing.inflater.calculator; import io.github.daanipuui.swing.inflater.xml.ComponentLoader; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JLabel; import ...
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
package com.masopust.ondra.java.gui.mainLayout; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.ResourceBundle; import com.masopust.ondra.java.gui.Main; import com.masopust.ondra.java.tcpCommunication....
/* * 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 lecho.lib.hellocharts.samples; import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.con...
package com.example.work.spotifystreamerstage1; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarActivity; import android.util.Log; i...
package com.mobitexoft.widgets; import java.util.List; import java.util.Locale; import java.util.Vector; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.util.AttributeSet; imp...
// @@@ START COPYRIGHT @@@ // // 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...
/* * The MIT License * * Copyright 2017 <NAME>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
package com.anji.captcha.util; /** * @author : luoleiming * @date :Created in 2020/10/20 * @description: //TODO */ import com.anji.captcha.service.impl.BlockPuzzleCaptchaServiceImpl; import com.anji.captcha.util.dto.VerifyImage; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.imageio.I...
/* * Copyright (c) 2009, 2015, 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 ...
/* * 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) 1997, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright 2011 <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 wri...
package ohi.andre.consolelauncher.tuils; import android.annotation.TargetApi; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.MemoryInfo; import android.app.admin.DevicePolicyManager; import android.content.ActivityNotFoundException; import android.content.ClipData; ...
/* * 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) Lawrence Livermore National Security, LLC and other VisIt // Project developers. See the top-level LICENSE file for dates and other // details. No copyright assignment is required to contribute to VisIt. package llnl.visit.operators; import llnl.visit.AttributeSubject; import llnl.visit.Communicati...
/* * The MIT License * * Copyright 2018 <NAME> & <NAME>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...