text
stringlengths
3.52k
24k
package edu.mpc.utexas.locationService.service.Landmark; import android.util.Log; import java.util.ArrayList; import java.util.List; import edu.mpc.utexas.locationService.service.MotionModel.UserPos; import edu.mpc.utexas.locationService.service.Particle.Particle; import edu.mpc.utexas.locationService.service.Partic...
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
/* * REST API * Rockset's REST API allows for creating and managing all resources in Rockset. Each supported endpoint is documented below. All requests must be authorized with a Rockset API key, which can be created in the [Rockset console](https://console.rockset.com). The API key must be provided as `ApiKey <api_k...
/* * @(#)ScalingDemo.java * * $Date: 2015-03-16 04:13:26 +0100 (Mo, 16 Mär 2015) $ * * Copyright (c) 2011 by <NAME>. * All rights reserved. * * The copyright of this software is owned by <NAME>. * You may not use, copy or modify this software, except in * accordance with the license agreement you entered i...
/* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/** * benCoding.AlarmManager Project * Copyright (c) 2009-2012 by <NAME>. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package bencoding.alarmmanager; import java.util.Calendar; import java.util.Date; import j...
/* * 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 PIDEV.Views; import PIDEV.Controllers.ListrestoController; import PIDEV.Entities.Etablissement; import PIDEV.Services.ListEtab...
/* * * Copyright SHMsoft, 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 ...
package com.intkr.saas.domain.bo.item; import java.util.HashMap; import java.util.List; import java.util.Map; import com.intkr.saas.domain.BaseBO; import com.intkr.saas.domain.bo.fs.ImgBO; import com.intkr.saas.domain.bo.shop.ShopBO; import com.intkr.saas.util.JsonUtil; /** * * @author Beiden * @date 2011-6-29 下...
/** * */ package edu.ucdenver.ccp.datasource.fileparsers.jaxb; /* * #%L * Colorado Computational Pharmacology's common module * %% * Copyright (C) 2012 - 2015 Regents of the University of Colorado * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided...
/** * TLS-Attacker - Anonymous submission * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package anonymous.tlsattacker.attacks.pkcs1; import anonymous.tlsattacker.attacks.config.BleichenbacherCommandConfig; import anonymous.tlsattacker.tls.exceptions.ConfigurationException; ...
/* * ListServer.java - This class holds an abstract base class for implementing a mailinglist server * * Copyright (C) 2010 <NAME> <<EMAIL>> * * This software is released under the BSD license. */ package net.hagander.mailinglistmoderator.backend; import java.io.BufferedReader; import java.io.IOException; impo...
/* * Copyright 2017 ZJNU ACM. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright © 2020 <NAME>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package controller; import bean.*; import dao.CallLogDAO; import dao.ContactDAO; import dao.IntimacyDao; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.stereotype.Controller; import org.springframework.ui.Mod...
package com.codingpixel.healingbudz.activity.splash; import android.Manifest; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.Signature; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android....
/* * Copyright (c) 2013, 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 org.firstinspires.ftc.teamcode.ultimategoal; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import org.firstinspires.ftc.teamcode.drive.RRMecanumDrive; import org.firstinspires.ftc.teamcode.driv...
package CH.ifa.draw.standard; import CH.ifa.draw.framework.DrawingView; import CH.ifa.draw.framework.Figure; import CH.ifa.draw.framework.FigureEnumeration; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.awt.GraphicsEnvironment; import java.awt.event.ActionEvent; import jav...
package com.example.user.readworld; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.graphics.Typeface; import android.net.Uri; import android.service.notification.StatusBarNotification; import android...
package ru.brainrtp.eastereggs.services; import api.logging.Logger; import io.leangen.geantyref.TypeToken; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.plugin.Plugin; import ru.brainrtp.eastereggs.configuration.Configuration; import ru.brainrtp.eastereggs.con...
/** * Copyright (C) 2014 GIP RECIA http://www.recia.fr * @Author (C) 2014 <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-...
package task; import com.drew.imaging.ImageMetadataReader; import com.drew.metadata.Metadata; import com.drew.metadata.exif.ExifDirectoryBase; import com.drew.metadata.exif.ExifIFD0Directory; import com.drew.metadata.exif.ExifSubIFDDirectory; import com.drew.metadata.file.FileSystemDirectory; import entity.Photo; impo...
package edu.mayo.mprc.qa; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import edu.mayo.mprc.MprcException; import edu.mayo.mprc.io.KeyedTsvReader; import edu.mayo.mprc.utilities.FileUtilities; import edu.mayo.mprc.utilities.StringUtilities; import org.apache.log4j.Logger; import java....
/* * 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 leetcode; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * * @author <NAME> */ public cl...
package org.xmlactions.pager.actions.form; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.Validate; import org.apache.commons.lang.text.StrSubstitutor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.xmlactions.action.config.IExecContext; import org.xmlactions.common.t...
package co.featureflags.server; import co.featureflags.commons.json.JsonHelper; import co.featureflags.commons.json.JsonParseException; import co.featureflags.server.exterior.BasicConfig; import co.featureflags.server.exterior.Context; import co.featureflags.server.exterior.DataStoreTypes; import co.featureflags.serve...
package com.zero.oauth.client.http; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import java.net.Unknow...
/** * */ package soars.library.arbitrary.tepco; import java.awt.Component; import java.awt.Frame; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.A...
package squidpony.examples; import squidpony.squidgrid.DetailedMimic; import squidpony.squidgrid.mapping.*; import squidpony.squidmath.RNG; import squidpony.squidmath.StatefulRNG; import java.io.FileWriter; import java.io.IOException; /** * Created by <NAME> on 6/9/2016. * @author <NAME> - https://github.com/tommy...
package location; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; imp...
/* * Copyright (C) 2005-2020 <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 a...
//<NAME> //<NAME> package Modules.TrainController; import java.awt.BorderLayout; import java.awt.EventQueue; import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.border.Border; import javax.swing.border.LineBorder; import javax.s...
/* * Copyright (c) 2018 Uber Technologies, 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 use, copy, modify, merge, p...
package cn.lambdalib2.render.font; import cn.lambdalib2.util.Colors; import net.minecraft.util.math.MathHelper; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL14; import org.lwjgl.opengl.GL30; import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.DataBuffer; import java.awt.image.Data...
/* 1: */ package vpt.algorithms.conversion; /* 2: */ /* 3: */ import vpt.Algorithm; /* 4: */ import vpt.ByteImage; /* 5: */ import vpt.GlobalException; /* 6: */ import vpt.Image; /* 7: */ /* 8: */ public class HSY2RGB /* 9: */ extends Algorithm /* 10: */ { ...
/* * 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 ...
/* * 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 co.edu.uniandes.csw.viajes.ejb; import co.edu.uniandes.csw.viajes.entities.ActividadEntity; import co.edu.uniandes.csw.viajes....
/** * * MIT License * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
package piotr_gorczynski.soccer; import android.content.DialogInterface; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import java.uti...
/******************************************************************************* * 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/lice...
package com.pubnub.api.endpoints.pubsub; import com.github.tomakehurst.wiremock.http.RequestMethod; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.github.tomakehurst.wiremock.verification.LoggedRequest; import com.pubnub.api.PubNub; import com.pubnub.api.PubNubException; import com.pubnub.api.ca...
package rsb.internal.globval; import java.awt.*; import java.io.*; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLDecoder; import java.util.ArrayList; public class GlobalConfiguration { public enum OperatingSystem { MAC, WINDOWS, LINUX, UNKNOWN }...
/* * TicTacToe complete infrastructure. */ package algs.example.gui.problems.tictactoe.controller; import java.awt.Graphics; import algs.example.gui.problems.tictactoe.Drawer; import algs.model.gametree.IGameState; import algs.model.gametree.IGameMove; import algs.model.gametree.IPlayer; import algs.model.problems....
/* The Software shall be used for Good, not Evil. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE F...
package templates.rest; import javax.annotation.Generated; import java.io.IOException; import com.fizzed.rocker.ForIterator; import com.fizzed.rocker.RenderingException; import com.fizzed.rocker.RockerContent; import com.fizzed.rocker.RockerOutput; import com.fizzed.rocker.runtime.DefaultRockerTemplate; impor...
package cn.lnkdoc.expand.datax.plugin.txtmultipledelimiter.writer; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.plugin.RecordReceiver; import com.alibaba.datax.common.spi.Writer; import com.alibaba.datax.common.util.Configuration; import org.apache.commons.io.FileUtils; imp...
/* * Copyright 2016 Layne Mobile, 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...
/** * PartitionMatrixFactory.java * * It is responsible for creating a PartitionMatrix object according to the * histograms and the parameters provided. It creates random queries which * in practice could represent real user queries for the system's needs. * * @author <NAME> */ package utils.factories; impor...
package ru.afek.auth.utils; import com.google.common.collect.Sets; import net.md_5.bungee.BungeeCord; import ru.afek.auth.Auth; import ru.afek.auth.AuthUser; import ru.afek.bungeecord.SQLConnection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; ...
package com.dohman.captionsscanner; import android.Manifest; import android.annotation.SuppressLint; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.conten...
package bio.singa.simulation.model.agents.pointlike; import bio.singa.features.parameters.Environment; import bio.singa.mathematics.geometry.bodies.Spheres; import bio.singa.mathematics.geometry.edges.LineSegment; import bio.singa.mathematics.geometry.edges.SimpleLineSegment; import bio.singa.mathematics.geometry.face...
package com.yonko.weathy.app; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager; import android.support...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package flightrecorderrunner; import com.oracle.jrockit.jfr.client.EventSettingsBuilder; import com.oracle.jrockit.jfr.client.FlightRecorderClient; import com.oracle.jrockit.jfr.client.FlightRecordingClient; import com.oracle.jrockit.jfr.management.NoSuchRecordingException; import oracle.jrockit.jfr.RecordingOptions; ...
package com.commercetools.api.models.message; import java.time.*; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; import org.apache.comm...
package uk.ac.susx.shl.micromacro; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.jdbi.v3.core.Jdbi; import org.jgrapht.Graph; import org.jgrapht.GraphPath; import org.jgrapht.alg.interfaces.ShortestPathAlgorithm; import org.jgrapht.alg.shortestpath...
package com.pixelcan.recirculator.mainscreen; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View...
package fr.neamar.kiss.icons; import android.content.ComponentName; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import andro...
//tabstop=4 //*****************************************************************************/ // Project: jpl // // File: $Id$ // Date: $Date$ // Author: <NAME> <EMAIL> // // // Description: // // // ------------------------------------------------------------------------- // Copyright (c) 1998 <NAM...
package edu.columbia.cs.psl.ioclones.sim; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Map; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.logging.log4j.LogManager; im...
package com.mygdx.game.Sprites; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.BodyDef; import com.badlogic...
/* * This code is licensed under the MIT License * * Copyright (c) 2019 Aion Foundation https://aion.network/ * * 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, inc...
package fr.openwide.core.wicket.more.markup.html.template.js.jquery.plugins.bootstrap.popover; import org.apache.wicket.Component; import org.apache.wicket.model.IModel; import org.apache.wicket.model.Model; import org.wicketstuff.wiquery.core.javascript.JsScope; import org.wicketstuff.wiquery.core.javascript.JsScopeC...
/* * Copyright 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 or agre...
/* * Copyright (c) 2017-2021 Nitrite 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 net.sourceforge.ondex.tools.chemical; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import net.sourceforge.ondex.core.AttributeName; import net.sourceforge.ondex.core.ConceptClass; import net.sourceforge.ondex.core.DataSource; import net.sourceforge.ondex.core.Evid...
/* * 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 not u...
/* ======================================= * JFreeChart : a Java Chart Class Library * ======================================= * * Project Info: http://www.jrefinery.com/jfreechart * Project Lead: David Gilbert (<EMAIL>); * * (C) Copyright 2000-2002, by Simba Management Limited and Contributors. * * This lib...
package com.example.macbook.umlproject.fragments; import android.annotation.SuppressLint; import android.database.Cursor; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.CoordinatorLayout; import android.support.v4.app.Fragment; import android.util.TypedValue;...
package esame201607; import esame201607.views.Girone; import esame201607.views.Partita; import esame201607.views.Risultato; import javafx.animation.PathTransition; import javafx.application.Platform; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.contro...
import java.util.ArrayList; public class DecisionTree extends PredictionModel { // Tree nodes private ArrayList<PredictionModel> nodes; // Leaf index conversion attributes private int[] treeToModelLeafIndexes; private int[] modelToTreeLeafIndexes; // Construction parameters public boolean prun...
package cn.edu.zjnu.acm.controller; import cn.edu.zjnu.acm.authorization.manager.TokenManager; import cn.edu.zjnu.acm.authorization.model.TokenModel; import cn.edu.zjnu.acm.common.annotation.LogsOfAdmin; import cn.edu.zjnu.acm.common.constant.Constants; import cn.edu.zjnu.acm.common.constant.StatusCode; import cn.edu....
package com.contrastsecurity.maven.plugin; /*- * #%L * Contrast Maven Plugin * %% * Copyright (C) 2021 Contrast Security, 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 * ...
/** * Copyright 2015, Yahoo Inc. * Licensed under the terms of the Apache License 2.0. Please see LICENSE file in the project root for terms. */ package hazelcast.benchmark; import benchmark.common.Utils; import benchmark.common.advertising.CampaignProcessorCommon; import benchmark.common.advertising.RedisAdCampaig...
package com.drkiet.accreader.util; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.drk...
// Done By SkinnyPete(25 September 2021) package chatting; import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import javax.swing.plaf.*; import javax.swing.plaf.basic.*; import java.util.Calendar; import java.text.SimpleDateFormat; pub...
/** * Copyright 2015 <NAME> * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in writing, software ...
package socialite.codegen; import gnu.trove.list.array.TIntArrayList; import gnu.trove.map.hash.TIntObjectHashMap; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; ...
/* */ package pro.gravit.launcher.downloader; /* */ import java.io.EOFException; /* */ import java.io.IOException; /* */ import java.io.InputStream; /* */ import java.io.OutputStream; /* */ import java.net.URI; /* */ import java.net.URISyntaxException; /* */ import java.net.URL; /* *...
/** * Bor_Vulkan Project Ver. 0.8.65 (beta) * Licence terms: * The MIT License (MIT) * Copyright (c) 2016 <NAME> * See https://opensource.org/licenses/MIT */ package bor.vulkan.enumerations; import bor.enumerable.*; /** * Class to wrap Vulkan enumeration VkAccessFlagBits * * <h3>Prototype</h3> <pre> * typ...
/* * PDF stamper * The PDF Stamper API enables the possibility to add both static and dynamic stamps on existing PDFs. The stamps can consist of one or more barcode, hyperlink, image, line or text elements. The API also supports digital signatures (blue bar), blockchain registrations and filling out forms The flow...
/* * Copyright 2022 <EMAIL> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright [2015-2017] Fraunhofer Gesellschaft e.V., Institute for * Open Communication Systems (FOKUS) * * 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/l...
/* * Copyright 2021 The Flink Remote Shuffle 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 applicabl...
package cn.ac.ict.restful; import android.content.Context; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Bundle; import android.os.Environment; import android.os.Handler; i...
package com.kasteca.activity; import androidx.appcompat.app.AppCompatActivity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.CompoundButton; import android.widget.EditText; import android...
package org.open918.lib; import org.open918.lib.domain.*; import org.open918.lib.util.ZxingUtil; import java.nio.charset.Charset; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import java.util.zip.DataFormatException; import java.util.zip.Inflater; /** * Created by <NAME> o...
/** * MIT license * Copyright 2017 Autodesk, 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 use, copy, modify, me...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.http.v1; import com.google.inject.Inject; import com.yahoo.config.provision.ApplicationId; import com.yahoo.jdisc.http.HttpRequest; import com.yahoo.path.Path; import com.yahoo...
package slp.core.lexing.runners; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.stream.Stream; import slp.core.io.Writer; import slp.core.lexing.Lexer; import slp.core.modeling.Model; import slp.core.translating.Vocabulary; import slp.core.util...
package com.liudw.wxapi.unstoppedable.protocol; import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; import com.liudw.wxapi.unstoppedable.common.Configure; import com.liudw.wxapi.unstoppedable.common.RandomStringGenerator; import com.liudw.wxapi.unstoppedable.common.Signature; import com.t...
/* * Copyright / Copr. 2010-2013 Atos - Public Sector France - * BS & Innovation for the DataLift project, * Contributor(s) : <NAME>, <NAME>, <NAME>, <NAME> * * Contact: <EMAIL> * * This software is governed by the CeCILL license under French law and * abiding by the rules of distribution of free software. You ...
package mpq.compression.pkware; import java.nio.BufferUnderflowException; import java.nio.ByteBuffer; public class PKExploder { private static final byte CMP_BINARY = 0; private static final byte CMP_ASCII = 1; private static final byte LEN_SIZE = 16; private static final byte[] LEN_BITS = { 0x03, 0x02, 0x...
package si.isystem.itest.common; import java.lang.reflect.InvocationTargetException; import java.util.Map; import java.util.TreeMap; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.operation.IRunnableWithProgress; import org.eclipse.u...
/* * This file is part of FastClasspathScanner. * * Author: <NAME> * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.nio.charset.StandardCharsets; import java.nio.file.*; import java.util.Arrays; import java.util.List; import java.util.Optional; import java.util.Random; import java.util.concurrent.atomic.AtomicInteger; import java.util.co...
// Copyright (c) 2013-2019 K Team. All Rights Reserved. package org.kframework.backend.java.kil; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import org.apache.commons.collections15.list.UnmodifiableList; import org.kframework.at...
package hotel; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.swing.JOptionPane; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriverException; import org...
package euler.utils; import java.math.BigInteger; import java.util.*; import euler.primes.Sieve; public class Utils { public static long checksum(final BigInteger integer) { return checksum(integer.toString()); } public static long checksum(final String number) { long checksum = 0; for (int digit ...