text
stringlengths
3.52k
24k
/* * Jpkg - Java library and tools for operating system package creation. * * Copyright (c) 2007 Three Rings Design, 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: * 1. Redistribu...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 <NAME> * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
package org.bbottema.javareflection; import lombok.experimental.UtilityClass; import org.bbottema.javareflection.model.LookupMode; import org.bbottema.javareflection.util.ArrayKey; import org.bbottema.javareflection.valueconverter.ValueConversionHelper; import org.jetbrains.annotations.NotNull; import org.jetbrains.an...
package ninja.psuse.yourtutor; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Bitmap; import android.media.MediaPlayer; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.graphics.drawable.RoundedBitmapDrawable; import and...
package com.Da_Technomancer.essentials; import com.electronwill.nightconfig.core.file.CommentedFileConfig; import com.electronwill.nightconfig.core.io.WritingMode; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforg...
/* * Copyright (c) 2017 Nova Ordis LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * 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 cc.seeed.iot.util; import android.app.Activity; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.telephony.TelephonyManager; import android.util.Patterns; import java.ne...
package me.osm.gazetteer; import groovy.lang.GroovyClassLoader; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import me.osm.gazetteer.addresses.AddrLevelsComparator; i...
package edu.ucsf.rbvi.scNetViz.internal.sources.file; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.swing.table....
package com.sheepy.catchme; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.IOException; import com.sheepy.catchme.util.Colors; public class TileMap { private int mapTile[][]; private static int tileSize = 48; private int width, height; private BufferedImag...
/* * 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 inf101.v18.gfx.textmode; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.function.BiConsumer; import java.util.function.Consumer; import java.util.regex.Matcher; import java.u...
// 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.subsystems; import edu.wpi.first.wpilibj.RobotController; import edu.wpi.first.wpilibj2.command.Subsy...
/* * Copyright (C) 2007 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...
/* * 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 login; import comandos.cmd; import logico.UserLog; import com.placeholder.PlaceHolder; import java.awt.event.KeyEven...
/** * Copyright (C) 2012 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright (c) 2004, 2010, 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 ...
package com.mkl.eu.front.client.map.component; import com.mkl.eu.client.service.service.IBattleService; import com.mkl.eu.client.service.service.IBoardService; import com.mkl.eu.client.service.service.IInterPhaseService; import com.mkl.eu.client.service.service.ISiegeService; import com.mkl.eu.client.service.service.b...
package net.alagris.core.learn; import java.util.*; import java.util.Queue; import net.alagris.core.*; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; public class OSTIA { public static State buildPtt(IntEmbedding alph, Iterator<Pair<IntSeq...
// Copyright 2017-2018 - Universite de Strasbourg/CNRS // The CDS HEALPix library is developped by the Centre de Donnees // astronomiques de Strasbourgs (CDS) from the following external papers: // - [Gorsky2005] - "HEALPix: A Framework for High-Resolution Discretization and // Fast Analysis ...
/* * 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 ...
/** * $Id$ * * This software was written by Cove Software, LLC ("COVE") under contract * to Alberta Environment and Sustainable Resource Development (Alberta ESRD). * No warranty is provided or implied other than specific contractual terms * between COVE and Alberta ESRD. * * Copyright 2014 Alberta Environmen...
package zhangman.github.snake; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.support.annotation.Nullable; import android.util.AttributeSet; import andro...
package com.cy4.betterdungeons.client.screen.util; import com.cy4.betterdungeons.BetterDungeons; import com.cy4.betterdungeons.client.helper.Rectangle; import com.cy4.betterdungeons.client.helper.ResourceBoundary; import com.cy4.betterdungeons.common.upgrade.UpgradeGroup; import com.cy4.betterdungeons.common.upgrade.U...
/* * Copyright 2014, Tuplejump 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 ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.fmi.aq.enfuser.core.receptor; import java.io.Serializable; import org.fmi.aq.enfuser.core.assimilation.HourlyAdjus...
package com.xjtlu.timetable; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.os.Handler; import andro...
package com.wenc.commdomain.pojo.report; import javax.persistence.*; import java.math.BigDecimal; import java.util.Objects; @Entity @Table(name = "vb_product_sale_m") public class VbProductSaleM { private Long idx; private String tenantId; private String statMonth; private String shopId; private S...
/* * Copyright (C) 2014-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 ...
package nl.knokko.rpg.gui; import java.awt.*; import java.util.ArrayList; import nl.knokko.rpg.main.Game; import nl.knokko.rpg.utils.SpecialText; public class GuiHelpMenu extends Gui { public byte index; public SpecialText mainText; public SpecialText currentText; public SpecialText inventoryText; public ...
package dev.gigaherz.partycool.values; import com.google.common.collect.Lists; import com.mojang.serialization.Codec; import java.util.List; public class CurveNumber extends VaryingNumber { public static class Step { public final float time; public final VaryingNumber value; public S...
package farsight.logging; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.concurrent.locks.ReentrantLock; import javax.xml.stream.FactoryConfigurationErro...
/* * 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 ...
/* * The MIT License * * Copyright: Copyright (C) 2014 T2Ti.COM * * 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...
/* * com.emphysic.myriad.gristmill.demo.Thresher * * Copyright (c) 2017 Emphysic 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...
/* * Copyright 2022 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 applica...
package com.macro.mall.portal.service.impl; import com.macro.mall.model.OmsCartItem; import com.macro.mall.model.PmsProductFullReduction; import com.macro.mall.model.PmsProductLadder; import com.macro.mall.model.PmsSkuStock; import com.macro.mall.portal.dao.PortalProductDao; import com.macro.mall.portal.domain.CartPro...
/************************************************************** * * 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 y...
package net.hollowbit.archipeloeditor.tools.propertydefiners; import java.awt.Color; import java.awt.Container; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JSpinner; import javax.s...
package kr.ac.ggu.pdfreader.common; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.encryption.AccessPermission; import org.apache.pdfbox.text.PDFTextStripper; import java.io.*; import java.lang.reflect.Field; import java.nio.charset.StandardCharsets; import java.text.SimpleDateFormat; i...
package org.openfact.client.services.representations.idm; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.util.Date; import java.util.List; public class DocumentRequestRepresentation { protected String id; protected String tipo; protected String serie; protected...
package com.cityindex.redis; import org.slf4j.Logger; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; import redis.clients.jedis.JedisPubSub; import com.streambase.sb.CompleteDataType; import com.streambase.sb.Schema; import com.streambas...
package com.android.test.toutiaoduoduo; import android.util.Log; import java.util.Random; import android.support.test.uiautomator.UiAutomatorTestCase; import android.support.test.uiautomator.UiDevice; import android.support.test.uiautomator.UiObject; import android.support.test.uiautomator.UiObjectNotFoundException; i...
package org.inventivetalent.murder.game.state.executor.ingame; import org.bukkit.ChatColor; import org.bukkit.Color; import org.bukkit.Location; import org.bukkit.Sound; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.potion.PotionEffect; import org.bukkit.potion.PotionEffectType; imp...
/*- * #%L * 3D mesh structures for ImageJ. * %% * Copyright (C) 2016 - 2020 University of Idaho, Royal Veterinary College, and * Board of Regents of the University of Wisconsin-Madison. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
/* * Copyright 2015 recommenders.net. * * 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...
package com.amazon.synthetics.canary; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import software.amazon.awssdk.services.synthetics.model.*; import java.util.ArrayList; import java.util....
package org.example.brailleassistant.processors; import org.example.brailleassistant.utils.BraillePipeline; import org.opencv.core.Mat; import java.util.ArrayList; import java.util.Arrays; public class CellFinder extends IProcessor { public CellFinder(String processorId) { super(processorId); } ...
/* * Copyright 2016-2019 <NAME>, <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 ag...
/** * 版权所有 (c) 2018,中金支付有限公司   */ package com.radish.master.controller.project; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.ser...
/* * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
package com.example.edge_camera; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.Line...
package com.maxsopilkov.redstorm.bayess; import cc.kave.repackaged.jayes.BayesNet; import cc.kave.repackaged.jayes.BayesNode; import cc.kave.repackaged.jayes.inference.IBayesInferer; import cc.kave.repackaged.jayes.inference.junctionTree.JunctionTreeAlgorithm; import com.maxsopilkov.redstorm.entities.Country; import ...
package org.processmining.contexts.cli; import java.io.BufferedInputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.InvocationTargetException; import java...
package com.personnel.model; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.Range; import javax.persistence.*; import javax.validat...
/* * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, *...
package com.himanshu.a2zlearning.courseHandler; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import co...
/******************************************************************************* * PswGenDesktop - Manages your websites and repeatably generates passwords for them * PswGenDroid - Generates your passwords managed by PswGenDesktop on your mobile * * Copyright (C) 2005-2016 <NAME> * * Licensed under the Apac...
/* * Copyright (c) 2016-2019 https://www.thecoderscorner.com (Nutricherry LTD). * This product is licensed under an Apache license, see the LICENSE file in the top-level directory. * */ package com.thecoderscorner.menu.editorui.generator.arduino; import com.thecoderscorner.menu.editorui.controller.ConfigurationS...
/** * THIS SOFTWARE IS LICENSED UNDER MIT LICENSE.<br> * <br> * Copyright 2017 <NAME> [<EMAIL>]<br> * Based on Moleculer Framework for NodeJS [https://moleculer.services]. * <br><br> * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentat...
package org.json; import java.util.Iterator; public class XML { public static final Character AMP = Character.valueOf('&'); public static final Character APOS = Character.valueOf('\''); public static final Character BANG = Character.valueOf('!'); public static final...
package com.ts.FetcherHander.OutPatient.Check.Impl; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import org.apache.log4j.Logger; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.hitzd.DBUtils...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static syncrop.Syncrop.logger; import java.io.File; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio...
package senna.mapping; import static senna.Option.CHK; import static senna.Option.NER; import static senna.Option.POS; import static senna.Option.PSG; import static senna.Option.SRL; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; im...
package me.kay.alpha_renderer.mixin; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.DrawableHelper; import net.minecraft.client.gui.hud.InGameHud; import net.minecraft.client.util.math.MatrixStack; import net.minecraft....
package common.enums; import java.util.Formatter; import static common.Constants.WRONG_TIME; /** * Contains the possible actions an user can perform. * Support enum for hand-made socket stubs */ public enum ControllerMethodsEnum { SIGN_UP("s", "\"s\"", "sign up"), LOG_IN("l", "\"l\"", "log in"), JOIN...
package org.wikiup.modules.ibatis; import com.ibatis.common.util.PaginatedList; import com.ibatis.sqlmap.client.SqlMapClient; import com.ibatis.sqlmap.client.SqlMapClientBuilder; import com.ibatis.sqlmap.client.SqlMapSession; import com.ibatis.sqlmap.client.event.RowHandler; import com.ibatis.sqlmap.engine.ex...
/* Copyright 2008 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 writing,...
package com.convergence.excamera.sdk.wifi.config.base; import com.convergence.excamera.sdk.wifi.net.bean.NConfigList; import java.util.HashMap; import java.util.Map; /** * Wifi相机参数封装类 * * @Author WangZiheng * @CreateDate 2020-11-11 * @Organization Convergence Ltd. */ public abstract class WifiConfig { /**...
package ca.encodeous.mwx.mwxcompat1_13; import ca.encodeous.mwx.configuration.MissileWarsCoreItem; import ca.encodeous.mwx.configuration.MissileWarsItem; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import org....
package AGVS.Data; import java.util.List; public interface BancoDados { public void criarBancoDados(); public boolean conectarBancoDados(); public List<Usuario> selectUsuarios(); public boolean insertUsuarios(String login, String nome, String email, String password, String permissao); public boo...
package main.java; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * 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...
package com.jcommerce.core.util; import java.beans.PropertyDescriptor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; im...
/************************************************************************* * * * CESeCore: CE Security Core * * * * This software is...
/* * Copyright 2018 JBoss by Red Hat. * * 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...
package com.ycbjie.webviewlib.wv; import android.annotation.SuppressLint; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.os.Handler; import android.os.Looper; import android.os.Message; import andro...
package gui; import game.Card; import game.Dealer; import game.Game; import game.Hand; import game.Player; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.geom.Aff...
/* BdbFrontier * * $Id: BdbFrontier.java 6815 2010-04-12 21:32:49Z gojomo $ * * Created on Sep 24, 2004 * * Copyright (C) 2004 Internet Archive. * * This file is part of the Heritrix web crawler (crawler.archive.org). * * Heritrix is free software; you can redistribute it and/or modify * it under the terms...
package me.paixao.intro; import android.content.ActivityNotFoundException; import android.content.Intent; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.de...
package crazypants.enderio.powertools.machine.capbank.render; import java.util.ArrayList; import java.util.List; import java.util.Locale; import javax.annotation.Nonnull; import org.lwjgl.opengl.GL11; import com.enderio.core.client.render.ColorUtil; import com.enderio.core.client.render.RenderUtil; import com.ender...
package org.icij.extract.spewer; import org.apache.commons.io.TaggedIOException; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.impl.HttpSolrClient; import org.apache.so...
package com.feeyo.net.nio.ssl.test; import java.io.FileInputStream; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.channels.AsynchronousServerSocketChannel; import java.nio.channels.Asynchro...
package com.github.games647.lagmonitor.command.timing; import com.github.games647.lagmonitor.LagMonitor; import com.github.games647.lagmonitor.Pages; import com.github.games647.lagmonitor.traffic.Reflection; import com.github.games647.lagmonitor.traffic.Reflection.FieldAccessor; import java.util.ArrayList; import jav...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
/**************************************************************** * Licensed to the AOS Community (AOS) under one or more * * contributor license agreements. See the NOTICE file * * distributed with this work for additional information * * regarding copyright ownership. The AOS licenses this...
package com.huawei.itrustee.hiaihook.view; import static com.huawei.itrustee.hiaihook.utils.Constant.AI_OK; import static com.huawei.itrustee.hiaihook.utils.Constant.GALLERY_REQUEST_CODE; import static com.huawei.itrustee.hiaihook.utils.Constant.IMAGE_CAPTURE_REQUEST_CODE; import android.Manifest; import andro...
/** * Copyright (c) 2010 Perforce Software. All rights reserved. */ package com.perforce.team.ui.mergequest.wizards.branch; import com.perforce.team.core.mergequest.P4BranchGraphCorePlugin; import com.perforce.team.core.mergequest.model.Branch; import com.perforce.team.core.mergequest.model.IBranchGraph; import com...
/** * Copyright 2008 - 2015 The Loon Game Engine 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 [2022] [IBM] * * 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/...
package com.ijinshan.sjk.service.impl; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java...
package be.ipl.groupe17.jeudepiste; import android.Manifest; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Location; import android.lo...
/******************************************************************************* * Copyright 2010 <NAME> * Copyright 2010 Basis Technology Corp. * * 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 Li...
/* Copyright 2003-2004, <NAME>, All Rights Reserved */ package edu.cmu.minorthird.classify.sequential; import edu.cmu.minorthird.classify.*; import gnu.trove.TObjectDoubleHashMap; import gnu.trove.TObjectProcedure; import gnu.trove.THashSet; import java.io.Serializable; import java.util.*; /** * A more space-effic...
package io.koschicken; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import io.koschicken.bean.CommonConfig; import io.koschicken.bean.GroupPower; import io.koschicken.bean.HorseEvent; import io.koschicken.constants.GameConstants; import io.koschicken.utils.SafeProperties; import lombok.ext...
package org.reso.service.data; import org.apache.olingo.commons.api.data.*; import org.apache.olingo.commons.api.edm.EdmEntitySet; import org.apache.olingo.commons.api.edm.EdmEntityType; import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeKind; import org.apache.olingo.commons.api.ex.ODataRuntimeException; impor...
/** * 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...
/* * $Id: SimplePartitioner.java 2833 2006-03-22 22:09:37Z sim $ * * ace - a collaborative editor * Copyright (C) 2005 <NAME>, <NAME>, <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Founda...
package nl.martijndwars.webpush; import org.junit.jupiter.api.Test; import static com.google.common.io.BaseEncoding.base64; import static com.google.common.io.BaseEncoding.base64Url; import static java.nio.charset.StandardCharsets.UTF_8; import static nl.martijndwars.webpush.Base64Encoder.*; import static org.junit.j...