text
stringlengths
3.08k
15.2k
/*- * #%L * athena-neptune * %% * Copyright (C) 2019 Amazon Web Services * %% * 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 * *...
/******************************************************************************* * Copyright (c) 2005 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
/** * Copyright (C) 2014 - Present McLeod Moores Software Limited. All rights reserved. */ package com.opengamma.examples.simulated.loader; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Map; import ...
// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
/* * Copyright 2000-2013 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.nimbusds.jose.crypto; import java.nio.charset.Charset; import java.util.Arrays; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import junit.framework.TestCase; import com.nimbusds.jose.util.Base64URL; import com.nimbusds.jose.util.ByteUtils; import com.nimbusds.jose.util.IntegerU...
/* * 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 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 distribute...
/* * oauth2-oidc-sdk * * Copyright 2012-2016, Connect2id Ltd and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
package org.polypheny.client.db.tpcc.transactions; import java.sql.Timestamp; import java.time.Instant; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.polypheny.client.db.access.DBConnector; import org.polypheny.client.db.exceptions.TransactionAbortedException; import o...
/* * Copyright 2013 <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 ...
package com.onehao.acts.testgen.service.engine; import java.util.ArrayList; import com.onehao.acts.testgen.common.TestGenProfile; import com.onehao.acts.testgen.common.TestSet; import edu.uta.cse.fireeye.common.Parameter; import edu.uta.cse.fireeye.service.engine.BinaryTupleTree; import edu.uta.cse.fireeye....
/* * 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 com.github.lassana.recorder; import android.annotation.SuppressLint; import android.content.Context; import android.media.MediaRecorder; import android.os.AsyncTask; import java.io.File; import java.io.IOException; /** * @author <NAME> {@literal <<EMAIL>>} * @since 8/18/13 */ public class AudioRecorder { ...
package gov.usgs.wma.statistics.logic; import java.math.BigDecimal; import java.math.RoundingMode; /** * A more proper implementation of significant figures. * The BigDecimal counts 1000 as having 4 figures when it only has 1. * Also, 0.0000 is reported as 1 even though it has at least 4. * * This implementatio...
/* * 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.battlelancer.seriesguide.jobs; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.battlelancer.seriesguide.SgApp; import com.battlelancer.seriesguide.jobs.episodes.JobAction; import com.battlelancer.seriesguide.modules.ServicesComponent; impo...
package com.rs.game.item; import com.rs.cores.CoresManager; import com.rs.game.map.Region; import com.rs.game.map.World; import com.rs.game.map.WorldTile; import com.rs.game.player.Player; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.SneakyThrows; @Data @EqualsAndHashCode(callSuper=false) publi...
package com.ort.dbflute.cbean.cq.bs; import java.util.Map; import org.dbflute.cbean.*; import org.dbflute.cbean.chelper.*; import org.dbflute.cbean.coption.*; import org.dbflute.cbean.cvalue.ConditionValue; import org.dbflute.cbean.sqlclause.SqlClause; import org.dbflute.exception.IllegalConditionBeanOperationExcepti...
package de.terrestris.shoguncore.security.access; import de.terrestris.shoguncore.dao.GenericHibernateDao; import de.terrestris.shoguncore.dao.UserDao; import de.terrestris.shoguncore.model.PersistentObject; import de.terrestris.shoguncore.model.User; import de.terrestris.shoguncore.model.security.Permission; import d...
package com.tencent.tinker.loader.app; import android.annotation.TargetApi; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.res.AssetManager; import android.content.res.Configuration; import android.content.res.Resources; import android.os.SystemClo...
package prograavanzada2016.anotherworld.interfaces; import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Font; import java.awt.GridLayout; import java.awt.Image; import java.awt.MouseInfo; import java.awt.Point; import javax.swing.BoxLayout; import javax.swing.ImageIcon; impor...
import java.awt.Color; import java.awt.GradientPaint; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RadialGradientPaint; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.a...
package com.project.convertedCode.globalNamespace.namespaces.Faker.namespaces.Provider.namespaces.nl_NL.classes; import java.lang.invoke.MethodHandles; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.classes.NoConstructor; import com.runtimeconverter.runtime...
package cn.vertxup.rbac.service.view; import cn.vertxup.rbac.domain.tables.daos.SViewDao; import cn.vertxup.rbac.domain.tables.pojos.SPath; import cn.vertxup.rbac.domain.tables.pojos.SView; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.tp.ke.cv....
import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; /** * Word Break * * You are given a dictionary set dictionary that contains dictionaryCount distinct words and another string txt. * Your task is to segment the txt string in such a way that all the segments occu...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
/* * 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, softwa...
package com.zachary.shaobo.xiaoai.services; /** * Created by shaobo on 2016/12/7. */ import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic...
/* Copyright 2016-2017 Zuercher Hochschule fuer Angewandte Wissenschaften 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/LIC...
package cn.gjing.tools.excel.write.resolver.core; import cn.gjing.tools.excel.exception.ExcelResolverException; import cn.gjing.tools.excel.metadata.ExcelType; import cn.gjing.tools.excel.metadata.ExecType; import cn.gjing.tools.excel.util.ExcelUtils; import cn.gjing.tools.excel.util.ListenerChain; import cn.gjing.too...
package com.elfiky.cordova.plugin.quotesnotifications; import java.util.Calendar; import java.util.Random; import org.apache.cordova.LOG; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.koushikdutta.async.future.Fu...
/* * Copyright 2019 Arcus 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 law or agreed to ...
package krem.io.processing.connexity; import processing.core.*; //Handles the 3D camera import peasy.*; @SuppressWarnings("serial") public class Connexity extends PApplet { public static void main(String[] args) { PApplet.main(new String[] { "krem.io.processing.connexity.Connexity" }); } //Hexagon shape and d...
package org.mage.test.cards.single.soi; import mage.constants.PhaseStep; import mage.constants.Zone; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * 3BG Legendary Creature - Frog Horror Deathtouch * * At the beginning of your upkeep, sacrifice The Gitrog Monster unless you * ...
package org.yorm; import static junit.framework.TestCase.assertTrue; import java.time.Duration; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import javax.sql.DataSource; import org.junit.jupiter.api.BeforeAll; import org.junit...
package com.docdoku.hackaton.hackathon; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.speech.RecognizerIntent; import android.support.wearable.view.WatchViewStub; import android.view.View; import android.widget.Button; import androi...
package me.weyxin99.instagram.model; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.media.ExifInterface; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaSt...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.security.authc.saml; import org.elastics...
package hongwei.leetcode.playground.leetcode_java; import hongwei.leetcode.playground.common.LogJava; import hongwei.leetcode.playground.common.TreeNode; import hongwei.leetcode.playground.IQuestion; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Random; /** * Package:...
/** * Copyright (C) 2010-16 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 ...
// The MIT License (MIT) // // Copyright (c) 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, mo...
/* * Copyright (c) 2020 Nike, 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.util.*; import java.io.*; /** * Sets up and runs the experiment with the provided BanditAlgorithm. */ public class ExperimentRunner { // The algorithm we want to run the experiment with! private BanditAlgorithm algorithm; private BufferedReader[] dataReaders; private String[] dataFiles; private in...
package haxby.db.xmcs; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; import java.io.BufferedOutputS...
package com.yandex.ydb.jdbc.impl; import java.sql.SQLException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; import com...
/* * 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 net.osmand.osm.edit; import java.util.Collection; import java.util.List; import net.osmand.data.Amenity; import net.osmand.data.AmenityType; import net.osmand.data.Building; import net.osmand.data.City; import net.osmand.data.City.CityType; import net.osmand.data.LatLon; import net.osmand.data.MapObject; impo...
//============================================================================== // // Copyright (c) 2002- // Authors: // * <NAME> <<EMAIL>> (University of Oxford) // * <NAME> <<EMAIL>> (University of Oxford) // //------------------------------------------------------------------------------ // // This file is part ...
/* * Copyright 2012-2020, Institute of Cybernetics at Tallinn University of Technology * * 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...
/* 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"); y...
package us.codecraft.webmagic.processor.example; import com.alibaba.fastjson.annotation.JSONField; import com.sun.org.apache.xerces.internal.xs.StringList; import us.codecraft.webmagic.Page; import us.codecraft.webmagic.Site; import us.codecraft.webmagic.Spider; import us.codecraft.webmagic.pipeline.FilePipeline; impo...
/** * 文件名:PrizeController.java * 版本信息:1.0 * 日期:2015-5-9 * Copyright 广州点步信息科技 * 版权所有 */ package com.dbumama.market.web.admin.prize.controller; import java.util.ArrayList; import java.util.List; import com.dbumama.market.model.Prize; import com.dbumama.market.model.PrizeType; import com.dbumama.market.service.api...
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
package ir.htsc.rest.listener; import com.tangosol.net.*; import ir.htsc.cache.listener.TOTPKeyCacheListener; import ir.htsc.log.Loggable; import ir.htsc.AppConstants; import ir.htsc.security.UUIDGenerator; import org.apache.log4j.Logger; import org.apache.log4j.xml.DOMConfigurator; import javax.annotation.Resource; ...
// 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 applicable law or agreed to in writi...
/* * Copyright (C) 2008-2009, Google Inc. * Copyright (C) 2009, <NAME> <<EMAIL>> * Copyright (C) 2012, Research In Motion Limited * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials are made available * under the terms of the Eclipse Distribution Li...
package com.example.calculator; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { private Button num1; private Bu...
package net.minecraft.test; import com.google.common.base.Stopwatch; import com.google.common.collect.Lists; import it.unimi.dsi.fastutil.objects.Object2LongMap; import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap; import it.unimi.dsi.fastutil.objects.ObjectIterator; import it.unimi.dsi.fastutil.objects.Object...
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.instrumentation; import java.io.PrintStream; import java.lang.reflect.InvocationHandler; import java.text.MessageFormat; import java.util.logging.Level; import org.object...
package com.sponberg.fluid.layout; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.HashMap; import lombok.Getter; import lombok.Setter; import lombok.ToString; import com.sponberg.fluid.GlobalState; import com.sponberg.fluid.util.Ke...
/** * The MIT License * Copyright (c) 2018 Estonian Information System Authority (RIA), * Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) * Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) * * Permission is hereby grante...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot; import com.revrobotics.ColorSensorV3; import com.revrobotics.ColorSensorV3.RawColor; import com.revr...
package org.nakedobjects.plugins.dnd.viewer.builder; import org.apache.log4j.Logger; import org.nakedobjects.metamodel.adapter.NakedObject; import org.nakedobjects.metamodel.commons.ensure.Assert; import org.nakedobjects.metamodel.commons.exceptions.UnknownTypeException; import org.nakedobjects.metamodel.commons.filte...
package pack; import java.util.ArrayList; public class MinimaxAlgorithm { private TranspositionTable transpositionTable; private Gamefield internalGamefield; private boolean considerDepthInScoreCalculation = false; /** * Constructor of the AgentMiniMax class that creates a new instance and builds * the trans...
package com.frameworkset.common.poolman.sql; import java.io.Serializable; import com.frameworkset.orm.adapter.DB; /** * * * <p>Title: ForeignKeyMetaData.java</p> * * <p>Description: </p> * * <p> * bboss workgroup * </p> * <p> * Copyright (c) 2007 * </p> * * @Date 2009-6-1 下午08:58:51 * @author biaop...
/* * Copyright 2004 - 2012 <NAME> and contributors * 2016 - 2020 <NAME> and contributors * * This file is part of JODConverter - Java OpenDocument Converter. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
package io.opensphere.core.pipeline.renderer.buffered; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.util.Collection; import java.util.Collections; import java.util.List; import io.opensphere.core.geometry.AbstractGeometry; import io.opensphere.core.geometry.PointGeometry; import io.o...
package com.lift.daemon; import com.lift.common.AppConfig; import com.lift.common.CommonUtility; import com.lift.common.Logger; import com.lift.common.ServerConsumer; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.Unkn...
/* DefaultPersistenceDelegate.java Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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, or (a...
package com.demo.audiowudemo.mixutils16; import android.annotation.SuppressLint; import android.media.MediaCodec; import android.media.MediaCodec.BufferInfo; import android.media.MediaCodecInfo; import android.media.MediaFormat; import java.io.FileInputStream; import java.io.FileNotFoundException; import ja...
// Copyright 2020 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.content.browser.accessibility; import java.util.Calendar; import java.util.HashMap; import java.util.Map; import java.util.Set; /**...
package com.example.android.miwok; import android.annotation.TargetApi; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Build; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBar; import android...
/* * Copyright 2020 webtau maintainers * Copyright 2019 TWO SIGMA OPEN SOURCE, 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 * *...
/* * Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms of...
/* * Copyright 2014 sonaive.com. 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 appli...
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
package sge.bounds; import org.junit.Assert; import org.junit.Test; import sge.bounds.Circle; import sge.bounds.Rectangle; import sge.math.Vector2; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Test Axis Aligned Bounding Bo...
/******************************************************************************* * PathVisio, a tool for data visualization and analysis using biological pathways * Copyright 2006-2021 BiGCaT Bioinformatics, WikiPathways * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this fi...
/* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.salesforce.dynamodbv2.mt.mappers.sharedtable; import com.amazonaws.service...
/* * Copyright (c) 2018 the original author(s). 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 re...
package com.mommoo.flat.border; import com.mommoo.flat.button.FlatButton; import com.mommoo.util.FastGaussianBlur; import com.mommoo.util.ScreenManager; import javax.swing.border.AbstractBorder; import javax.swing.border.Border; import java.awt.*; import java.awt.geom.RoundRectangle2D; import java.awt.image.Buffered...
package xdean.codecov; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util...
package com.contrastsecurity.sarif.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.auto.value.AutoValue; import java.util.List; import java.util.Map; import org.jetbrains.annotations.Nullable; /** Describes a single run of an analysis tool, and contains the reported output of that run. ...
package com.scrapper.mine; import com.com.entity.mine.Blog; import com.com.entity.mine.Item; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util...
/* * Copyright 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 * * Unless required by applicable law or agreed to in wr...
package gov.va.vinci.leo.cr; /* * #%L * Leo Client * %% * Copyright (C) 2010 - 2017 Department of Veterans Affairs * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
package ch14; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; import java.util.Iterator; import java.util.Vector; public class ChatServer3 { ServerSocket server; Vector<ClientThread3> vc; int port = 8003; ChatMgr3 ...
package lego.ev3.core; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Dictionary; import java.util.Hashtable; /** * see https://legoev3.codeplex.com/SourceControl/latest#Lego.Ev3.Core/Brick.cs */ /// <summary> /// Main EV3 brick interface /// </summary> public class Brick implements ICommu...
/* LanguageTool, a natural language style checker * Copyright (C) 2013 <NAME> (http://www.danielnaber.de) * * 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 t...
/* * 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 pasaran.api; import naef.NaefTefService; import naef.mvo.*; import naef.mvo.eth.EthLag; import naef.mvo.eth.EthLagIf; import naef.mvo.eth.EthPort; import naef.mvo.ip.IpIf; import naef.mvo.vlan.VlanIf; import pasaran.pojo.PasaranLinkPOJO; import pasaran.pojo.PasaranPOJO; import pasaran.util.MvoUtil; import pas...
/* Copyright 2001,2003 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 applica...
/** * Copyright © 2016-2022 The Thingsboard 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 applicab...
package org.hva.cityrunner.plus; import org.hva.cityrunner.data.QuadPoint; import org.hva.cityrunner.data.QuadRect; import org.hva.cityrunner.util.MapUtils; public class RotatedTileBox { private float leftTileX; private float topTileY; private float tileWidth; private float tileHeight; private float rotate; priv...
package uk.ac.ebi.quickgo.rest.search.solr; import uk.ac.ebi.quickgo.rest.search.query.*; import com.google.common.base.Preconditions; import java.util.Set; import java.util.StringJoiner; import java.util.stream.Collectors; import org.slf4j.Logger; import static org.slf4j.LoggerFactory.getLogger; import static uk.ac...
package edu.cmu.lti.util.run; import java.util.Map; import edu.cmu.lti.algorithm.container.MapDD; import edu.cmu.lti.algorithm.container.MapSX; import edu.cmu.lti.algorithm.container.VectorX; import edu.cmu.lti.algorithm.container.VectorD; import edu.cmu.lti.algorithm.container.VectorI; import edu.cmu.lti.algorithm.c...
package tech.maslov.rgenerator.generator.services; import com.github.mustachejava.DefaultMustacheFactory; import com.github.mustachejava.Mustache; import com.github.mustachejava.MustacheFactory; import com.mongodb.gridfs.GridFSDBFile; import com.mongodb.gridfs.GridFSFile; import com.ub.core.file.services.FileService; ...
package com.core.camera.origin; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.ImageFormat; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.media.AudioManager; import android.media.ToneGenerator; import a...
package net.asg.games.service; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.scenes.scene2d.utils.Dra...