text
stringlengths
3.08k
15.2k
/* * Copyright (c) 2008-2019, Hazelcast, 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 ...
package com.creditease.dbus.commons; import com.creditease.dbus.commons.msgencoder.ExternalEncoders; import org.apache.zookeeper.*; import org.apache.zookeeper.data.Stat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.util.*; import java.util.concurrent.CountDownLatch...
package com.ctrip.platform.dal.dao.configure; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadFactory; import java.util....
/* * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: release-1.17 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
package com.theosirian.pacman; import com.theosirian.pacman.entity.Entity; import com.theosirian.pacman.entity.Pacman; import com.theosirian.pacman.pacdot.BonusPacdot; import com.theosirian.pacman.pacdot.Pacdot; import java.util.*; import static com.theosirian.pacman.entity.Entity.Direction.*; /** * Created by the...
// -------------------------------------------------------------------------------------------------- // Copyright (c) 2016 Microsoft Corporation // // 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 th...
package edu.ucsb.cs56.projects.games.minesweeper.database; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; imp...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/* Copyright 2019, 2020 WeAreFrank! 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 ...
/** * 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 2008 - 2012 * * 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 com.alexander.passkeep; import android.app.Activity; import android.app.AlertDialog; import android.app.Application; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import a...
/* * DBeaver - Universal Database Manager * Copyright (C) 2013-2015 <NAME> (<EMAIL>) * Copyright (C) 2010-2021 DBeaver Corp and others * * 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 ...
/* * Copyright (C) 2013 Nafundi * * 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 writ...
/* * Copyright 2002-2008 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 ap...
package com.github.kristofa.brave.okhttp; import com.github.kristofa.brave.Brave; import com.github.kristofa.brave.ClientTracer; import com.github.kristofa.brave.InheritableServerClientAndLocalSpanState; import com.github.kristofa.brave.KeyValueAnnotation; import com.github.kristofa.brave.LocalTracer; import com.githu...
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri Inc. licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * ...
/** * CentralProcessingUnit * * 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 ...
/* * Copyright (c) 2022 The Trebol eCommerce Project * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, ...
package com.elementary.tasks.core.contacts; import android.content.Context; import androidx.databinding.BindingAdapter; import androidx.databinding.DataBindingUtil; import android.net.Uri; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.vie...
/* 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 * distribut...
/* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (<EMAIL>). * See LICENSE for details. */ package sandbox; import com.almasb.fxgl.animation.Interpolators; import com.almasb.fxgl.dsl.FXGL; import com.almasb.fxgl.app.GameApplication; import com.almasb.fxgl.entity.Entity; import com.alm...
package com.youngmanster.collection_kotlin.network.interceptor; import android.text.TextUtils; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import okhttp3.FormBody; import okhttp3.Headers; import okhttp3.Http...
//------------------------------------------------------------------------------ // File : SnapshotCounter.java // Author : <NAME> // Written : 13 April 2009 // // Multi-Platform C++ framework // // Copyright (C) 2009 <NAME>, <NAME>. // // This program is free software; you can redistribute it and/or modify // it u...
package org.bw.tl.compiler; import lombok.Data; import org.bw.tl.Error; import org.bw.tl.ErrorType; import org.bw.tl.antlr.ast.*; import org.bw.tl.compiler.resolve.ExpressionResolver; import org.bw.tl.compiler.resolve.ExpressionResolverImpl; import org.bw.tl.util.TypeUtilities; import org.bw.tl.verify.FunReturnVerifie...
package net.kunmc.lab.kpmupdater; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import net.kunmc.lab.kpmupdater.plugin.Pair; import net.kunmc.lab.kpmupdater.utils.URLUtils; import org.apache.commons.lang.StringUtils; import javax....
package com.kelthuzadx.yarrow.lir.regalloc; import com.kelthuzadx.yarrow.core.YarrowError; import com.kelthuzadx.yarrow.hir.instr.BlockStartInstr; import com.kelthuzadx.yarrow.lir.Lir; import com.kelthuzadx.yarrow.lir.instr.LirInstr; import com.kelthuzadx.yarrow.lir.operand.XRegister; import com.kelthuzadx.yarrow.opti...
package com.amaze.filemanager.ui.dialogs; import android.app.Dialog; import android.app.DialogFragment; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.TextInputLayout; import android.s...
/* * Copyright (C) 2011 <NAME>. (http://www.everit.org) * * 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 signalk.org.cloud_data_synch.utils; import java.io.IOException; import java.nio.file.Paths; import java.util.ArrayList; import javax.crypto.SecretKey; import javax.servlet.http.Cookie; import javax.ws.rs.core.HttpHeaders; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.Stri...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Copyright (c) 2009-2014, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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:/...
/* * Copyright 2005 The Summer Boot Framework Project * * The Summer Boot Framework Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apach...
package com.divanoapps.learnwords.entities; import android.support.annotation.NonNull; import com.divanoapps.learnwords.auxiliary.SafeJSONObject; import org.json.JSONException; import org.json.JSONObject; /** * This class represents single card that is immutable. */ public class Card { private String mDeckNa...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); * you m...
/* * Copyright 2012 University of Chicago * * 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 a...
package models; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
package io.github.lujian213.simulator.util; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; import java.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 may ...
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.saml.web; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletResponse; imp...
/* * ApplicationInsights-Java * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * 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, inclu...
package io.cubyz.blocks; import java.lang.reflect.InvocationTargetException; import java.util.Properties; import org.joml.Vector3i; import io.cubyz.ClientOnly; import io.cubyz.api.CubyzRegistries; import io.cubyz.api.RegistryElement; import io.cubyz.api.Resource; import io.cubyz.items.BlockDrop; import io.cubyz.item...
package org.jgroups.tests; import org.jgroups.*; import org.jgroups.jmx.JmxConfigurator; import org.jgroups.logging.Log; import org.jgroups.logging.LogFactory; import org.jgroups.protocols.DISCARD; import org.jgroups.protocols.SHARED_LOOPBACK; import org.jgroups.protocols.SHARED_LOOPBACK_PING; import org.jgroups.proto...
/** * MIT License * * Copyright (c) 2019 <NAME> and xjikll * * 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, cop...
package com.pinhuba.core.pojo; /** * 数据库表名:OA_BOOK */ public class OaBook extends BaseBean implements java.io.Serializable { /** * 图书数据表 */ private static final long serialVersionUID = -1293351038788585676L; private String oaBookName; // 图书名称 private Integer oaBookDep; // 所属部门 private String oaBookCode; //...
/** * Copyright 2014 Lockheed Martin Corporation * * 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 ...
/* * 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 UI; import Classes.LinkedStack; import Classes.Sort; import Classes.Travel.AbstractTravelDestination; import Classes.Travel.Tr...
package io.quarkus.agroal.runtime.vault; import java.io.*; import java.nio.charset.Charset; import java.time.Duration; import java.util.*; import java.util.concurrent.atomic.AtomicReference; import org.apache.http.Header; import org.apache.http.HeaderElement; import org.apache.http.HttpEntity; import org.apache.http....
/* * ==================================================================== * 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 ...
package org.interledger.encoding.asn.serializers.oer; /*- * ========================LICENSE_START================================= * Interledger Codec Framework * %% * Copyright (C) 2017 - 2018 Hyperledger and its contributors * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright (c) 2009-2019, United States Government, as represented by the Secretary of Health and Human Services. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribution...
/** * Copyright (C) 2014 OpenTravel Alliance (<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 a...
/** * 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 co.net.parking.entities; import java.io.Serializable; import java.util.Date; import javax.persistence.*; /** * The persistent class for the negocios database table. * */ @Entity @Table(name="negocios") @NamedQueries({ @NamedQuery(name="Negocio.findAll", query="SELECT n FROM Negocio n"), ...
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 ~ 2010 <NAME> <<EMAIL>> <NAME> <<EMAIL>> <NAME> <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundat...
package de.rss.fachstudie.MiSim.events; import co.paralleluniverse.fibers.SuspendExecution; import de.rss.fachstudie.MiSim.entities.Dependency; import de.rss.fachstudie.MiSim.entities.MessageObject; import de.rss.fachstudie.MiSim.entities.Microservice; import de.rss.fachstudie.MiSim.entities.Operation; import de.rss.f...
/* * TaskUnifier * Copyright (c) 2013, <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: * * - Redistributions of source code must retain the above copyright * notice, thi...
package com.verdantartifice.primalmagick.common.containers; import javax.annotation.Nonnull; import com.verdantartifice.primalmagick.common.blocks.BlocksPM; import com.verdantartifice.primalmagick.common.containers.slots.PaperSlot; import com.verdantartifice.primalmagick.common.containers.slots.WritingImplementSlot; ...
/* * 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 The Bazel Authors. 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...
package net.sourceforge.pmd.lang.java.rule.optimizations; import java.util.ArrayList; import java.util.List; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pmd.lang.java.ast.ASTBlockStatement; import net.sourceforge.pmd.lang.java.ast.ASTForInit; import net.sourceforge.pmd.lang.java.ast.ASTLo...
/* * Licensed to the Hipparchus project under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Hipparchus project licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
// ThrottledOutputStream - output stream with throttling // // Copyright (C)1996,1998 by <NAME> <<EMAIL>>. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of sourc...
package syntax.london.syngine; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapRegionDecoder; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import and...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
/* * Copyright 2016-present Facebook, 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 au.gov.amsa.ais.message; import static au.gov.amsa.ais.Util.areEqual; import au.gov.amsa.ais.AisExtractor; import au.gov.amsa.ais.AisExtractorFactory; import au.gov.amsa.ais.AisMessage; import au.gov.amsa.ais.AisMessageType; import au.gov.amsa.ais.HasMmsi; import au.gov.amsa.ais.Util; /** * Decoder for AIS ...
package org.hl7.fhir.dstu3.model.codesystems; /* Copyright (c) 2011+, HL7, 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...
package nc.tile.machine; import nc.crafting.NCRecipeHelper; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.NetworkManager; import net.minecraft.network.Packet; import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import net.minecraftforge.comm...
package io.github.cottonmc.cotton.cauldron; import io.github.cottonmc.cotton.cauldron.CauldronBehavior; import io.github.cottonmc.cotton.cauldron.CauldronContext; import io.github.cottonmc.libcd.tweaker.Tweaker; import net.minecraft.entity.*; import net.minecraft.entity.mob.MobEntity; import net.minecraft.entity.playe...
/** * Copyright 2014 Internet2 * * 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 (c) 2008-2021, Hazelcast, 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 ...
/* * Copyright (c) 2004-2005 SLF4J.ORG * * 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...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
/* * The MIT License * * Copyright 2018 <NAME> <<EMAIL>>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
package org.codefilarete.stalactite.sql.statement; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Collectors; import org.codefilarete.tool.collectio...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
package ca.uhn.fhir.rest.server.provider; /*- * #%L * HAPI FHIR - Server Framework * %% * Copyright (C) 2014 - 2018 University Health Network * %% * 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 ...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.appservice.samples; import com.microsoft.azure.management.Azure; import com.microsoft.azure.management.appservi...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package loghub.netty.servers; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.security.GeneralSecurityException; import java.security.Principal; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import javax.net.ssl.SSLPeerUnverifiedExce...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
// Copyright 2014 The Bazel Authors. 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...
package edu.tamu.aser.tests.Derby; import static org.junit.Assert.fail; import derby2861.ViewCreatorDropper; import edu.tamu.aser.reex.JUnit4MCRRunner; import org.apache.derby.jdbc.EmbeddedDriver; import org.junit.Test; import org.junit.runner.RunWith; //10.3.2.1 /** * This class tests the thread-safe...
/* * 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 ...
/* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
/* * 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 ...
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2020 <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <N...
package farmsim.util; import java.util.Random; /** * Implementation of <NAME>'s improved noise algorithm * * @author matthew-lake */ public class Perlin { private static final int[] p = new int[512]; private static final String MIN_MAX_EXCEPTION = "Max must be greater than min"; private st...
/* * Copyright 2017 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package com.sugarcube.todo.adapters; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.sugarcube.todo.models.Todo; import java.util.ArrayList; import java.uti...
package ca.gc.aafc.objectstore.api.minio; import ca.gc.aafc.objectstore.api.file.FileInformationService; import ca.gc.aafc.objectstore.api.file.FileObjectInfo; import ca.gc.aafc.objectstore.api.file.FolderStructureStrategy; import com.google.common.collect.Streams; import io.minio.BucketExistsArgs; import io.minio.Get...
package com.pdftron.demo.app; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.View; import android....
/** * 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...