text
stringlengths
3.52k
24k
package com.mopub.common; import android.app.Activity; import android.content.Context; import android.os.Handler; import android.os.Looper; import com.mopub.common.ExternalViewabilitySessionManager.ViewabilityVendor; import com.mopub.common.logging.MoPubLog; import com.mopub.common.logging.MoPubLog.SdkLogEvent; import...
/* * Copyright 2000-2010 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 com.knight.arch.ui.fragment; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.widget.SwipeRefreshL...
package net.minecraft.world.inventory; import com.mojang.datafixers.util.Pair; import net.minecraft.resources.MinecraftKey; import net.minecraft.world.IInventory; import net.minecraft.world.entity.EntityInsentient; import net.minecraft.world.entity.EnumItemSlot; import net.minecraft.world.entity.player.AutoRecipeStack...
package repast.simphony.visualization.editor.gis; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Dimension; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JSplitP...
package org.ncbo.resource_access_tools.resource.arrayexpress; import org.ncbo.resource_access_tools.enumeration.ResourceType; import org.ncbo.resource_access_tools.populate.Element; import org.ncbo.resource_access_tools.populate.Element.BadElementStructureException; import org.ncbo.resource_access_tools.populate.Struc...
package de.tu_darmstadt.stg.mudetect.aug.builder; import de.tu_darmstadt.stg.mudetect.aug.model.APIUsageExample; import de.tu_darmstadt.stg.mudetect.aug.model.Edge; import de.tu_darmstadt.stg.mudetect.aug.model.Location; import de.tu_darmstadt.stg.mudetect.aug.model.Node; import de.tu_darmstadt.stg.mudetect.aug.model....
package pro.usura.usuraknob; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; import android.os.Parcela...
package pinacolada.effects; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.MathUtils; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.helpers.ImageMaster; import eatyourbeets.effects.EYBEffect; import extendedu...
/* * * * Copyright 2015 <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 appl...
/* * This file is part of the ONT API. * The contents of this file are subject to the LGPL License, Version 3.0. * Copyright (c) 2019, Avicomp Services, AO * * 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...
package cellsociety.View; import java.io.IOException; import java.util.*; import cellsociety.Controller.*; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.control.Alert; import javafx.scene.c...
package telomemore.java; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; /** * * Telomemore entry point * * @author <NAME> * */ public class Main { public static void printHelp() { System.out.println("================ Telomemore =================...
package org.firstinspires.ftc.teamcode.tasks; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.robotcore.util.ElapsedTime; import java.tex...
package github.bewantbe.audio_analyzer_for_android; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.util.Log; import static java.lang.Math.ceil; import static java.lang.Math.floor; /** * Ploting functions * Usage: * Initialize and set axis, gridLabel...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
/* * Copyright (c) 2019 <NAME>. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * and Eclipse Distribution License v. 1.0 which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse...
package org.mvel2.tests.core; import java.lang.reflect.Array; import java.util.HashMap; import java.util.Map; import org.junit.Test; import org.mvel2.MVEL; import org.mvel2.ParserContext; import static org.junit.Assert.*; import static org.mvel2.tests.core.StaticMethodImportTests.MatcherAssert.assertThat; import sta...
/******************************************************************************** * This file is part of the API for NCL Authoring - aNa. * * Copyright (c) 2011, MidiaCom Lab (www.midiacom.uff.br) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification,...
/* * SlipGestureDetector.java * Android-Charts * * Created by limc on 2014. * * Copyright 2011 limc.cn 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 * * htt...
/* * Javolution - Java(TM) Solution for Real-Time and Embedded Systems * Copyright (C) 2012 - Javolution (http://javolution.org/) * All rights reserved. * * Permission to use, copy, modify, and distribute this software is * freely granted, provided that this notice is preserved. */ package org.javolution.contex...
/** * Copyright 2021 <NAME>. 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 applicable...
/* Derby - Class CallableStatementTestSetup 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 L...
/* * 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 org.fmi.aq.enfuser.core.gaussian.puff.nesting; import java.util.ArrayList; import java.util.Collections; import java....
package org.hisp.dhis.validation; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
// $ANTLR 3.2 Sep 23, 2009 12:02:23 Company.g 2011-05-04 01:08:48 package org.softlang.parser; import org.softlang.company.*; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; public...
package com.example.domotique.Activities; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.ImageView; import com.example.domotique.R; import com.squareup.picasso.Picasso; import java.io.FileInputStream; import java.io.FileNotFoundException; imp...
package com.zpj.blur; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.os.SystemClock; import android.renderscript.Allocation; import android.renderscript.Element; i...
package sk.tuke.gamedev.iddqd.tukequest.screens; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.graphics.GL20; import com.badlog...
/* * 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...
/* * 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 virtual; import com.swirlds.common.io.SerializableDataInputStream; import com.swirlds.common.io.SerializableDataOutputStream; import com.swirlds.virtualmap.VirtualValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util....
package fdse.microservice.service; import edu.fudan.common.util.JsonUtils; import edu.fudan.common.util.Response; import edu.fudan.common.util.ConsistencyCheckedCache; import fdse.microservice.entity.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowir...
/* * Copyright (c) 2005-2018 Flamingo / Substance <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: * * o Redistributions of source code must retain the above copyright notice, * ...
package javaanpr.analysis; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import ij.ImagePlus; import ij.process.ImageProcessor; public class EightConnectedComponent { private BufferedImage srcImg; private WritableRaster srcRaster; private final int height, width; priva...
package com.github.anthonywww.assignment12; public class Assignment12 { public static void main(String[] args) { // * ----------------- Problem 1 ---------------------- System.out.println("\n1)-------------------"); for (int i = 0; i < 10; i++) { double x = Math.random(); System.out.println(x); } S...
package com.lvmoney.frame.authentication.oauth2.center.utils; import org.apache.commons.lang3.StringUtils; /** * @describe: 检测密码强度 * <p> * refer * https://github.com/venshine/PasswordUtil * <p> * <p> * Level(级别) * 0-3 : [easy] * 4-6 : [medium] * 7-9 : [strong] * 10-12 : [very strong] * >12 : [extremely s...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/** * */ package com.tpgen.gen; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.sql.*; import java.util.*; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity....
package org.to2mbn.jmccc.mcdownloader.download.io; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.Proxy; import java.net.URLConnection; import java.nio.ByteBuffer; import java.util.Collections; import java.util.Objects; import java.util.Set; import java.util....
/* * Copyright (c) 2013, Intel Corporation. * All rights reserved. * * The contents of this file are released under the BSD license, you may not use this file except in compliance with the License. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
package ky.someone.mods.interactio; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonSyntaxException; import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; import it.unimi.dsi.fa...
/* * The MIT License * Copyright (c) 2020- Nordic Institute for Interoperability Solutions (NIIS) * Copyright (c) 2019 Estonian Information System Authority (RIA) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2016-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.humanbacon.minesweeper; import java.util.LinkedList; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import java.util.Scanner; public class ClassicGame { //mark public static final int UNMARKED = 0; public static final int FLAG = 1; public static final int QUESTION =...
package multiscratch; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Inet4Address; import java.net.InetSocketAddress; import java.net.URL; import java.net.URLConnection; import java.net.UnknownHostException; import java.util.Has...
package com.example.p2p.utils; import android.annotation.TargetApi; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Environment; import android.provider.D...
/** * 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 com.asiainfo.clazz; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; /** * * @Description: 解析class文件在加载后的各个常量池项 * * @author zq * @date 2017年10月16日 下午4:32:12 * Copyrigh...
package org.metawatch.manager.weather; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.apache.http.Ht...
/* * Licensed by the author of Time4J-project. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. The copyright owner * licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance * w...
// Copyright 2018 Google 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 agreed to in ...
package org.elfwerks.meta; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; import java.io.StringReader; import java.util.Da...
package org.sj.iot.dao.impl; import org.sj.iot.dao.IRedisDAO; import org.sj.iot.util.Constants; import org.sj.iot.util.Tools; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.spr...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
package com.qlk.util.tool; import java.io.UnsupportedEncodingException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Locale; import android.content.Context; import android.text.format.Formatter; public class DataConvert { public static byte[] longToByte(long number...
package net.minecraft; import com.mojang.bridge.game.GameVersion; import com.mojang.brigadier.exceptions.CommandSyntaxException; import io.netty.util.ResourceLeakDetector; import io.netty.util.ResourceLeakDetector.Level; import java.time.Duration; import javax.annotation.Nullable; import net.minecraft.commands.Brigadi...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
/* * Copyright 2018 <NAME> (<EMAIL>). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package com.networknt.rpc.router; import com.fasterxml.jackson.core.type.TypeReference; import com.networknt.config.Config; import com.networknt.config.JsonMapper; import com.networknt.handler.LightHttpHandler; import com.networknt.httpstring.AttachmentConstants; import com.networknt.httpstring.HttpStringConstants; im...
/* * Copyright © 2016 <NAME>, 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 i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package erp.mbps.data; import erp.data.SDataConstants; import erp.lib.SLibConstants; import erp.lib.SLibUtilities; import java.sql.CallableStatement; import java.sql.ResultSet; /** * * @author <NAME> */ public clas...
/** * Copyright (c) 2008-2015 Geode Systems LLC * This Software is licensed under the Geode Systems RAMADDA License available in the source distribution in the file * ramadda_license.txt. The above copyright notice shall be included in all copies or substantial portions of the Software. */ package nom.tam....
// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2020-2021 MariaDB Corporation Ab package org.mariadb.r2dbc.codec.list; import io.netty.buffer.ByteBuf; import java.math.BigInteger; import java.nio.charset.StandardCharsets; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.EnumSet; im...
package net.shrimpworks.unreal.archive.mirror; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.time.LocalDate; import java.util.Collections; import java.util.Deque; import java.util.concurrent.ConcurrentLinkedDeque; import java.util.concurrent....
/* Copyright 2018 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
/* * Copyright (c) 2017 <NAME> <<EMAIL>> * 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 limitation the rights to * use, ...
package com.ggstar.example; import com.ggstar.ctrmodel.InnerProductNNCtrModel; import com.ggstar.features.FeatureEngineering; import com.ggstar.serving.jpmml.load.JavaModelServer; import com.ggstar.util.Scala2JavaConverter; import ml.combust.mleap.core.types.StructField; import ml.combust.mleap.core.types.StructType; ...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.dnd; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Key; import com.intellij.util.ReflectionUtil; import com.intellij.ut...
/* * Copyright © 2019, 2020, 2021 <NAME> * * This file is part of Kwik, an implementation of the QUIC protocol in Java. * * Kwik 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 3 o...
package org.azi.socks.proxy; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.util.Ar...
package artisynth.demos.fem; import java.awt.Color; import artisynth.core.femmodels.FemModel.SurfaceRender; import artisynth.core.gui.ControlPanel; import artisynth.core.materials.LinearMaterial; import artisynth.core.materials.NeoHookeanMaterial; import artisynth.core.mechmodels.MechModel; import artisynth.core.mode...
package com.bom.game.entity; import java.util.ArrayList; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector2; import com.bom.game.ai.AStarMap; import com.bom.game.ai.AStartPathFinding; import com.bom.game.entity.Enemy.Balloom; import com.bom.game.entity.Enemy.EnemyBase; import com.b...
package com.ewgvip.buyer.android.fragment; import android.app.Fragment; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.text.Editable; import android.text.TextWa...
package net.sytes.jaraya.action.message; import com.pengrad.telegrambot.TelegramBot; import com.pengrad.telegrambot.model.request.ParseMode; import com.pengrad.telegrambot.request.*; import com.pengrad.telegrambot.response.SendResponse; import lombok.extern.slf4j.Slf4j; import net.sytes.jaraya.action.message.button.Pl...
/* * 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 cn.android.browser; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection;...
/* * Copyright (c) 2017, 2018, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of...
package sorting; import java.io.File; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.util.Scanner; import edu.princeton.cs.algs4.In; import edu.princeton.cs.algs4.IndexMinPQ; import edu.princeton.cs.algs4.MinPQ; import edu.p...
/* -*- mode: Java; c-basic-offset: 2; indent-tabs-mode: nil; coding: utf-8-unix -*- * * Copyright © 2017 MicroBean. * * 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....
/* * 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 2017 Black Duck Software, 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 ...
package com.vtoken.application.model; import androidx.databinding.BaseObservable; import androidx.databinding.Bindable; import androidx.databinding.ObservableBoolean; import android.text.TextUtils; import android.view.View; import com.vtoken.application.ApplicationLoader; import com.vtoken.application.BR; import com.v...
package co.eightyfourthousand.readingroom.server; import java.util.ArrayList; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpSession; import org.eightyfourthousand.pdf.tei2pdf; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; ...
// Copyright (C) 2019 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 applicable ...
/* * 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...
package org.rajawali3d.vuforia; import android.app.Activity; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.DisplayMetrics...
/* * Copyright 2019 Google 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 agreed to ...
package iot; import application.pollution.PollutionGrid; import application.pollution.PollutionMonitor; import application.routing.AStarRouter; import application.routing.RoutingApplication; import application.routing.heuristic.SimplePollutionHeuristic; import gui.MainGUI; import iot.mqtt.MQTTClientFactory; import iot...
package de.buw.tmdt.plasma.services.sas.core.model.syntaxmodel; import de.buw.tmdt.plasma.services.sas.core.model.Traversable; import de.buw.tmdt.plasma.services.sas.core.model.exception.SchemaAnalysisException; import de.buw.tmdt.plasma.services.sas.core.model.semanticmodel.EntityConcept; import de.buw.tmdt.plasma.se...
/* * Copyright (c) 2019 <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, merge, publish, *...
/* * (C) Copyright 2017 <NAME> (http://bluberrie.io/). * * 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...
/* * 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.team1458.turtleshell2.sensor; import java.util.TimerTask; import com.team1458.turtleshell2.util.TurtleMaths; import com.team1458.turtleshell2.util.TurtleMaths.RangeShifter; import com.team1458.turtleshell2.util.types.Angle; import com.team1458.turtleshell2.util.types.Rate; import com.team1458.turtleshell2...
package com.mxgraph.swing.handler; import com.mxgraph.swing.mxGraphComponent; import com.mxgraph.swing.util.mxGraphTransferable; import com.mxgraph.util.mxCellRenderer; import com.mxgraph.util.mxPoint; import com.mxgraph.util.mxRectangle; import com.mxgraph.view.mxGraph; import java.awt.Color; import java.awt.Point; i...
package com.salesforce.perfeng.uiperf.imageoptimization.utils; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Toolkit; import java.awt.color.ColorSpace; import java.awt.image.BufferedImage; import java.awt.image.ColorConvertOp; import java.awt.image.PixelGrabber; import java.io.File; import java.io...
package ui; import java.util.ArrayList; import java.util.List; import dao.KlijentDAO; import model.Klijent; import model.Vozilo; import utils.PomocnaKlasa; public class KlijentUI { /**** ATRIBUTI KLASE ****/ public static ArrayList<Klijent> sviKlijenti = new ArrayList<Klijent>(); public static void meniKlijentU...
package com.github.charlemaznable.core.net; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.tuple.Pair; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLSocketFactory; import java.io.ByteArrayOutputStream; import java.io.DataO...
package org.jetbrains.uncrustify.util; import com.intellij.execution.ExecutionException; import com.intellij.execution.process.CapturingProcessAdapter; import com.intellij.execution.process.ProcessEvent; import com.intellij.lang.Language; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.proje...