text
stringlengths
3.52k
24k
/** * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending */ package io.deephaven.io.log.impl; import io.deephaven.base.ArrayUtil; import io.deephaven.base.ClassUtil; import io.deephaven.base.LockFreeArrayQueue; import io.deephaven.base.UnfairSemaphore; import io.deephaven.base.pool.Pool; import io.deepha...
/****************************************************************************** * Copyright (C) 2006-2010 <NAME> * * * * This program is free software; you can redistribute it and/or modify it * ...
package com.mazaiting; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.graphics.Rect; import android.util.Attribu...
package io.deephaven.db.v2.select; import io.deephaven.configuration.Configuration; import io.deephaven.io.log.LogLevel; import io.deephaven.io.logger.StreamLoggerImpl; import io.deephaven.util.process.ProcessEnvironment; import io.deephaven.compilertools.CompilerTools; import io.deephaven.db.tables.Table; import io.d...
/* * Copyright (c) 2008-2009, Motorola, 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 ...
/** * Copyright (c) 2008-2014 Ardor Labs, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <http://www.ardor3d.com/LICENSE>. */ package com.ardor3d.extension...
package com.tenpay; import com.alibaba.fastjson.JSON; import com.roamtech.uc.handler.UCService; import com.roamtech.uc.model.Order; import com.roamtech.uc.util.HttpClientManager; import com.tenpay.util.ConstantUtil; import com.tenpay.util.PayCommonUtil; import com.tenpay.util.XMLUtil; import org.eclipse.jetty.client.H...
package ramarujan; import java.math.BigInteger; import java.util.Enumeration; import java.util.HashSet; import java.util.Hashtable; public class Taxicab3 { public static void main(String[] args) { // TODO Auto-generated method stub complexGetFirstAnswer(); } public static void complexGetFirstAnswer() { in...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package slogo.controller; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.ResourceBundle; import slogo.exceptions.*; import slogo.model.ModelExternal; import slogo.mode...
// Copyright (c) 2012 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; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import androi...
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class StudentDashboard_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFac...
package com.syong.gulimall.secondkill.service.impl; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.syong.common.to.mq.SeckillOrderTo; import com.syong.common.utils.R; import com.syong.common.vo.MemberEntity; import com.syon...
package com.galfins.gnss_compare.Constellations; import android.location.GnssClock; import android.location.GnssMeasurement; import android.location.GnssMeasurementsEvent; import android.location.GnssStatus; import android.location.Location; import android.util.Log; import java.util.ArrayList; import java.util.List; ...
package com.wlyilai.weilaibao.activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v7.app.AlertDialog; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.v...
package org.jolokia.jvmagent.handler; /* * Copyright 2009-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...
package com.blackmoonit.androidbits.app; /* * Copyright (C) 2014 Blackmoon Info Tech 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/lic...
/* * * ********************************************************************* * fsdevtools * %% * Copyright (C) 2021 e-Spirit AG * %% * 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 * ...
/* * 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 ...
/* TestAll.java -- Tests for java.util.UUID Copyright (C) 2006 <NAME> This file is part of Mauve. Mauve 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 (at your option) any later version. Ma...
package greek.phonology; import greek.code.BetaCode; import greek.spelling.Grapheme; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Definitions of the phonemes in the ancient Greek language, as appropriate for * the purposes of this project. Note that these ...
package com.v5ent.game.scripts; import java.io.File; import java.io.FileReader; import java.io.IOException; import static com.v5ent.game.scripts.Types.BOOL; /** * Created by Mignet on 2016/12/17. */ public class ActionTemplate { private int NumActions; // # of actions in template private ScriptAction m_A...
/*- * ========================LICENSE_START================================= * Smartconfig Maven Plugin * * * Copyright (C) 2016 BruceZhang * * * 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 ...
package fzmm.zailer.me.client; import com.mojang.authlib.GameProfile; import fzmm.zailer.me.utils.*; import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder; import net.minecraft.client.MinecraftClient; import net.minecraft.client.network.ClientPlayerEntity; import net.minecraft.client.network.PlayerLis...
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
/** * Copyright (c) 2020-2021 <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, pub...
/* * Copyright (C) 2014-2016 LinkedIn Corp. 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 appl...
/* * Copyright (c) 2018. <NAME> <<EMAIL>> * <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 required by appli...
/* * Copyright (C) 2008 ZXing 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 agr...
/* * 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 ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
/** * 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 2014 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 * * Unless required by appl...
package basic_block_generator.main; import basic_block_generator.MainBase; import basic_block_generator.MealyMachine; import basic_block_generator.ProblemInstance; import basic_block_generator.Util; import basic_block_generator.formula.LTLFormula; import basic_block_generator.variable.ValueCombination; import basic_bl...
package org.openprovenance.prov.template; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import org.apache.log4j.Logger; import org.openprovenance.prov.mode...
/* * Copyright (c) 2019, <NAME>, Kinetica DB Inc. * * SPDX-License-Identifier: MIT */ package io.github.chadj2.mesh.demo; import java.awt.Color; import java.io.File; import java.nio.file.Paths; import javax.vecmath.Point3f; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.sl...
package it.vige.labs.gc.rest; import static it.vige.labs.gc.bean.result.Voting.fill; import static it.vige.labs.gc.bean.votingpapers.State.VOTE; import static it.vige.labs.gc.messages.Severity.message; import static it.vige.labs.gc.rest.Validator.errorMessage; import static it.vige.labs.gc.rest.Validator.ok; import st...
/* * 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 terrain; import org.lwjgl.util.vector.Vector3f; /** * Using noise generates and holds the terrain height map as 2D array * @author smid * */ public class TerrainGenerator { // - amp 150, heightShigt 100, billow type, smooth 1 // - amp 200, heightShift 0, rigidMulti, smooth 7 private int xSize = 2048;...
package net.minecraft.item; import com.google.common.collect.HashMultiset; import com.google.common.collect.Iterables; import com.google.common.collect.Multisets; import net.canarymod.api.inventory.CanaryMapData; import net.minecraft.block.Block; import net.minecraft.block.BlockDirt; import net.minecraft.block.BlockSt...
package com.deftwun.zombiecopter; import com.badlogic.ashley.core.Component; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.badlogic.ashley.core.PooledEngine; import com.badlogic.ashley.utils.ImmutableArray; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input....
/* * 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 * ...
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
/* * 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 wr...
/* * Copyright 2017 Google 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 in w...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2015 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject...
package com.avereon.geometry; import java.util.Objects; /** * An immutable 2D line segment that contains the start and end point coordinates. */ public class Line2D extends Shape { // TODO Change the names of the variables to ax, ay, bx, by public final double x1; public final double y1; public final double...
package org.jabref.gui.importer.fetcher; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.Date; import java.util.Locale; imp...
package com.darryncampbell.configuredatawedge; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class DataWedgeUtilities { // DataWedge API public static final String ACTION_DATAWEDGE_FROM_6_2 = "com.symbol.datawedge.api.ACTION"; public static final String ...
/* ** 2011 January 5 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ /* * 2011 F...
package picard.analysis.directed; import htsjdk.samtools.SAMFileHeader.SortOrder; import htsjdk.samtools.SAMFileWriter; import htsjdk.samtools.SAMFileWriterFactory; import htsjdk.samtools.SAMRecordSetBuilder; import htsjdk.samtools.metrics.MetricsFile; import htsjdk.samtools.util.*; import org.testng.Assert; import or...
package br.com.fernando.chapter11_beanValidation.part01_builtInConstraints; import static br.com.fernando.Util.APP_FILE_TARGET; import static br.com.fernando.Util.EMBEDDED_JEE_TEST_APP_NAME; import static br.com.fernando.Util.HTTP_PORT; import static br.com.fernando.Util.downVariables; import static br.com.fernando.Ut...
/** * Copyright (C) 2015-2021 <NAME> (www.helger.com) * philip[at]helger[dot]com * * 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...
//This file is part of BuildGDX. //Copyright (C) 2017-2018 <NAME>-[M210] (<EMAIL>) // //BuildGDX 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 3 of the License, or //(at your option) any late...
/** * * Copyright (c) 2011-2016, <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 applica...
package com.penghaisoft.MachineLearningLibrary.regression; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java....
package com.emptool.tea; import android.util.Log; import android.util.SparseArray; import android.os.Bundle; import android.os.Vibrator; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.view.SurfaceView; import android.view.SurfaceHolder; i...
/* * Copyright 2012-2013 inBloom, Inc. and its affiliates. * * 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 net.bombdash.core.api.methods.player.get; import net.bombdash.core.api.MethodExecuteException; import net.bombdash.core.api.methods.AbstractExecutor; import net.bombdash.core.api.methods.player.check.PlayerCheck; import net.bombdash.core.api.methods.player.check.PlayerCheckRequest; import net.bombdash.core.api...
package reka.module.setup; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static java.lang.String.format; import static java.util.stream.Collectors.joining; import static reka.config.configurer.Configurer.configure; import static r...
package moe.kawaaii.DeathsWish; import com.swordglowsblue.artifice.api.Artifice; import moe.kawaaii.DeathsWish.DamageSources.SuicideDamage; import moe.kawaaii.DeathsWish.Enchantments.KeepInventory; import moe.kawaaii.DeathsWish.Enchantments.SoulAbsorb; import moe.kawaaii.DeathsWish.Items.BlockOfUndying; import moe.kaw...
/** * This software is licensed to you under the Apache License, Version 2.0 (the * "Apache License"). * * LinkedIn's contributions are made under the Apache License. If you contribute * to the Software, the contributions will be deemed to have been made under the * Apache License, unless you expressly indicate o...
/* * Copyright 2020 DiffPlug * * 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...
/* * Copyright © 2016 <<EMAIL>> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AU...
/* * Copyright (c) 2015, ProductLayer GmbH 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 condit...
package sketch.compiler.stencilSK.preprocessor; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import sketch.compiler.ast.core.FENode; import sketch.compiler.ast.core.Function; import sketch.compiler.ast.core.NameResolver; import sketch.compiler.ast.core.Package; im...
/* Copyright (c) 2012, Apps4Av Inc. (apps4av.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: * Redistributions of source code must retain the above copyright notice, this list of conditions an...
/****************************************************************************** * Copyright © 2015-7532 NOX, Inc. [NEPOLIX]-(<NAME>) * * All rights reserved. * * * * ...
package org.leplus.sql; import static org.junit.Assert.assertThat; import static org.leplus.sql.InspectorAssertions.are; import static org.leplus.sql.InspectorAssertions.constant; import static org.leplus.sql.InspectorAssertions.constantsOf; import static org.leplus.sql.InspectorAssertions.isEmpty; import org.antlr.v...
package org.ggp.base.player.gamer.statemachine.MCTS.manager.parameterstuning.structure.problemrep; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.ggp.base.player.gamer.statemachine.MCS.manager.MoveStats; import org.ggp.base.player.gamer.statema...
package com.example.filip.gamexsandos; import android.support.annotation.NonNull; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import static java.lang.Math.abs; /** * Created by filip on 11.11.2015. */ public class MyGame...
package io.github.bycubed7.mmontab.managers.badge; import java.util.stream.Collectors; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.scheduler.BukkitRunnable; import com.gmail.nossr50.api.SkillAPI; import io.github.bycubed7.mmontab.Debug; i...
/* Copyright 2009-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, software di...
package org.nrg.xnat.services.logging.impl; import com.google.common.base.Function; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ObjectUtils; import org.apache.common...
/** * 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...
/* * (C) Copyright 2019 The DKBans Project (<NAME>) * * @author <NAME> * @since 05.04.19 22:47 * @Website https://github.com/DevKrieger/DKBans * * The DKBans Project is 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 c...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package ch.zhaw.engineering.aji.ui.song.list; import android.content.Context; import android.content.res.ColorStateList; import android.util.Log; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.wi...
/* * Copyright 2020-2020 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...
package zserio.runtime.validation; import java.io.IOException; import java.nio.ByteOrder; import zserio.runtime.io.ByteArrayBitStreamReader; /** * The bit stream reader used in validate() method generated by Zserio. * <p> * The validation bit stream reader records * - a special 'AND' bit mask (invalidMaskBuffer)...
// Copyright (c) 2022, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.ir.optimize; import static com.android.tools.r8.ir.analysis.ClassInitializat...
/** * Created by <NAME> * <p/> * Copyright(c) 2015 */ package com.nano.movies.web; import android.app.Application; import android.util.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google...
package io.resys.hdes.client.spi; import java.io.IOException; import java.io.Serializable; /*- * #%L * wrench-assets-datatypes * %% * Copyright (C) 2016 - 2018 Copyright 2016 ReSys OÜ * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
/* * 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 cn.cnic.component.process.mapper.provider; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.apache.ibatis.jdbc.SQL; import cn.cnic.base.utils.DateUtils; import cn.cnic.base.utils.SqlUtils; import cn.cnic.component.process.entity.Proce...
/* * Copyright ©2016 Kaltura, Inc. */ package org.sakaiproject.kaltura.services; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.S...
/*- * -\-\- * protoman-registry * -- * Copyright (C) 2016 - 2018 Spotify AB * -- * 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.fin10.ga.hw2; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Random; public final class TwoMaxProblem { private static final int POPULATION_SIZE = 100; private static final int GENERATION_COUNT = 300; private static fina...
import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.ParseCancellationException; import org.antlr.v4.runtime.tree.ParseTree; import org.antlr.v4.runtime.tree.ParseTreeProperty; import org.antlr.v4.runtime.tree.ParseTreeWalker; import org.stringtemplate.v4.ST; import org.stringtemplate.v4.STGroup; import org....
package com.redhat.ceylon.compiler.typechecker.analyzer; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import com.redhat.ceylon.cmr.api.ArtifactContext; import com.redhat.ceylon.cmr.api...
/* * Copyright (C) 2020 - 2018 team-cachebox.de * * Licensed under the : GNU General Public License (GPL); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/licenses/gpl.html * * Unless required by applicable law or agreed t...
package com.afeng.xf.ui.contribute; import android.Manifest; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.suppo...
/* * Copyright 2008-2021 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 appl...
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
package org.jgroups.nio; import java.io.EOFException; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.GatheringByteChannel; import java.nio.channels.NotYetConnectedException; import java.nio.channels.SocketChannel; import java.util.Itera...
package htsjdk.samtools; import htsjdk.samtools.util.Log; import java.io.File; import java.util.Collections; import java.util.SortedMap; import java.util.TreeMap; /** * Embodies defaults for global values that affect how the SAM JDK operates. Defaults are encoded in the class * and are also overridable using syste...
/* * Copyright 2015 West Coast Informatics, LLC */ package com.wci.umls.server.jpa.algo.maint; import java.util.Arrays; import java.util.EnumSet; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.UUID; import java.util.stream.Collectors; import c...
/******************************************************************************* * Copyright (c) 2007, 2012 IBM Corporation and others. * 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, an...
package tss.tpm; import tss.*; // -----------This is an auto-generated file: do not edit //>>> /** * This command performs RSA encryption using the indicated padding scheme according to IETF * RFC 8017. If the scheme of keyHandle is TPM_ALG_NULL, then the caller may use inScheme to * specify the ...
/* * Copyright 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...