text
stringlengths
3.52k
24k
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.jd.blockchain.consensus.raft.rpc; import com.alipay.remoting.exception.CodecException; import com.alipay.remoting.serialization.Serializer; import com.alipay.remoting.serialization.SerializerManager; import com.alipay.sofa.jraft.CliService; import com.alipay.sofa.jraft.RaftServiceFactory; import com.alipay...
public class HashBench { int intCount; int tupleCount; int objCount; int stringCount; int checksum; String[] strings = { "A", "scientific", "truth", "does", "not", "triumph", "by", "convincing", "its", "opponents", "and", "making", "them", "see", "the", "light,", "but", "rather", "becau...
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.common.http; import java.io.BufferedReader; import java.io.IOException; import java.io...
package com.raj.bt; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothServerSocket; import android.bluetooth.BluetoothSocket; import android.content.Intent; import android.os.Binder; import android.os.Bundle; import androi...
package com.umeng.analytics.pro; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.text.TextUtils; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; impo...
/** * Copyright (c) 2000-2005 Liferay, LLC. 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 * t...
package com.plsco.glowdeck.task; import android.content.SharedPreferences; import android.os.AsyncTask; import android.preference.PreferenceManager; import android.util.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.plsco.glowdeck.auth.CreateAccount; import com.plsco.glowdeck.auth.Lo...
/* * MIT License * * Copyright (c) 2020 Rarysoft Enterprises * * 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 * t...
/* * 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.redkale.util; import java.lang.reflect.*; import org.redkale.asm.*; import org.redkale.asm.Type; import static org.redkale...
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
package me.xwang1024.sifResExplorer.service; import java.awt.image.BufferedImage; import java.io.FileNotFoundException; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.LinkedList; import java.util....
package subox; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVRecord; import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.text.ParseException; import java.text.SimpleDateFormat; import java...
/* * Copyright 2019 Ortis (<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 agree...
/* * #%L * BroadleafCommerce CMS Module * %% * Copyright (C) 2009 - 2016 Broadleaf Commerce * %% * Licensed under the Broadleaf Fair Use License Agreement, Version 1.0 * (the "Fair Use License" located at http://license.broadleafcommerce.org/fair_use_license-1.0.txt) * unless the restrictions on use therein ar...
/* * This file is part of LanternServer, licensed under the MIT License (MIT). * * Copyright (c) LanternPowered <https://www.lanternpowered.org> * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a c...
package com.kixeye.kixmpp; /* * #%L * KIXMPP Parent * %% * Copyright (C) 2014 KIXEYE, 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/license...
package com.ftfl.mymeetingplace; import java.io.File; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import com.ftfl.mymeetingplace.database.MyPlaceDBSource; import com.ftfl.mymeetingplace.uitl.MyPlaceModel; import android.app.Activity; import android....
/** * Copyright 2014 XCL-Charts * * 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...
/* * Bedrock * * Copyright (c) 2017 Cube-Nation (<NAME>, <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, ...
package com.andedit.arcubit.blocks.models; import static com.andedit.arcubit.world.World.world; import com.andedit.arcubit.Assets; import com.andedit.arcubit.blocks.Block; import com.andedit.arcubit.blocks.Blocks; import com.andedit.arcubit.blocks.SlabBlock; import com.andedit.arcubit.blocks.data.SlabComp; import com...
/* * Copyright 2014 Pivotal Software Inc. and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 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 * * http://www.apache.or...
/* 1: */ package vpt.algorithms.flatzones.gray; /* 2: */ /* 3: */ import java.awt.Point; /* 4: */ import java.util.ArrayList; /* 5: */ import java.util.Stack; /* 6: */ import vpt.Algorithm; /* 7: */ import vpt.BooleanImage; /* 8: */ import vpt.ByteImage; /* 9: */ im...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.veblen; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.Vie...
package de.naoth.rc.components.gamecontroller; import de.naoth.rc.RobotControl; import de.naoth.rc.components.gamecontroller.event.GameControllerConnectionEvent; import de.naoth.rc.components.gamecontroller.event.GameControllerDataEvent; import java.io.File; import java.io.IOException; import java.net.DatagramPacket; ...
package gov.nih.nci.cadsr.cdecurate.util; import gov.nih.nci.cadsr.cdecurate.tool.EVSSearch; import gov.nih.nci.cadsr.common.Constants; import gov.nih.nci.camod.util.RemoteServerUtil; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.uti...
package im.tny.segvault.disturbances.ui.fragment.station; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.res.Configuration; import android.graphics.Color; import android.os.Bundle; import androidx.fra...
package com.ulan.timetable.Utils; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.ulan.timetable.Homework; import com.ulan.timetable.Note; import com.ulan.ti...
package com.prathameshmore.feedbackapp; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabaseLockedException; import android.database.sqlite.SQLiteOpe...
package controller; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import model.DatabaseFacade; public class DatabaseController implements DatabaseFacade{ private Connection connection; public DatabaseController(Connection connection) { this.connection = connection; } publi...
import java.util.LinkedList; public class MazeNav { public static Arduino robot = new Arduino(); public int[][] visited_map = { { 1, 1, 1, 1 }, { 1, 1, 1, 1 }, { 1, 1, 1, 1 }, { 1, 1, 1, 1 }, { 1, 1, 1, 0 } }; public static int[][] wall_map = { { 9, 1, 3, 5 }, { 8, 6, 13, 12}, { 12, 11, 6, 12 }, { 8,...
/* * Copyright 2018 Google LLC 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 applica...
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.util.ElapsedTime; import com.qualcomm.robotcore.util.RobotLog; @Autonomous(name = "Auton_Silver_Sample", group = "Auton") // @Autonom...
package com.brick.robotctrl; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.Environment; import android.os.IBinder; import android.support.annotation.Nullable; import android.util.Log; import android.widget.Toast; import com.kjn.askquestion.AccountInfoTts;...
package io.fairspace.saturn.services.views; import io.fairspace.saturn.config.*; import io.fairspace.saturn.config.ViewsConfig.*; import io.fairspace.saturn.services.views.Table.*; import lombok.*; import lombok.extern.slf4j.*; import org.apache.commons.lang3.tuple.*; import java.sql.*; import java.time.*; import jav...
package au.gov.digitalhealth.medserve.server.index; import java.io.IOException; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import org.apache.lucene.index.DirectoryReader; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.Term; import org.apache.lucene.searc...
package com.suwonsmartapp.tourlist.image; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.v7....
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ package vnmr.ui.shuf; import java.awt.*; import java.awt.datatransfer.*; im...
package io.tealight.api.oanda.v20.internal; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.net.http.HttpClient; import java.net.http.HttpRequest; impor...
package eu.istvank.apps.lenslog.fragments; import android.app.Activity; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.LoaderMa...
/* * Copyright 2012 - 2018 EMBL - European Bioinformatics Institute * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicab...
package ee.ristoseene.raytracer.eyebased.core.helpers; import ee.ristoseene.vecmath.Matrix2x2; import ee.ristoseene.vecmath.Matrix3x3; import ee.ristoseene.vecmath.Matrix4x4; import ee.ristoseene.vecmath.Vector2; import ee.ristoseene.vecmath.Vector3; import ee.ristoseene.vecmath.Vector4; import org.junit.jupiter.api.A...
package com.stylefeng.guns.adminapi; import java.sql.Timestamp; import java.text.MessageFormat; 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 org.springframework.beans.factory.annotation.Autowired; im...
package pl.iwave.slx; import com.google.inject.Inject; import ninja.leaping.configurate.ConfigurationNode; import ninja.leaping.configurate.ConfigurationOptions; import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.hocon.HoconConfigurationLoader; import ninja.leaping....
/* * $Id: BodyAreaContainer.java,v 1.10.2.4 2003/03/06 23:55:31 pietsch Exp $ * ============================================================================ * The Apache Software License, Version 1.1 * ============================================================================ * * Copyright (...
package com.bfsi.mfi.entity; /** * @author <NAME> * */ import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @Entity(name = "mfi_l...
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2019 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * * J...
package com.etheller.warsmash.viewer5; import java.util.ArrayList; import com.badlogic.gdx.math.Matrix4; import com.badlogic.gdx.math.Quaternion; import com.badlogic.gdx.math.Vector3; import com.etheller.warsmash.util.RenderMathUtils; public abstract class SkeletalNode extends GenericNode { protected static final V...
package hotelsystem.ui; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Scanner; import hotelsystem.controller.Room_Manager; import hotelsystem.controller.Room_Status_Manager; import hotelsystem.controller.Room_Type_Manager; impor...
package com.java.r2pgdm; import java.sql.*; import java.util.ArrayList; import java.util.List; import java.util.Optional; import com.java.r2pgdm.graph.Edge; import com.java.r2pgdm.graph.Node; public class InputConnection { private static final String COLUMN_NAME = "COLUMN_NAME"; private char _Quoting = '`';...
/* * Copyright (c) 2011-2014, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apach...
/* * BackgroundImageWizardTest.java 22 sept. 2008 * * Copyright (c) 2008 <NAME> / eTeks <<EMAIL>>. All Rights Reserved. * * 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 * Foundation; either version ...
// Copyright 2011 The Whiley Project Developers // // 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 2011 The Whiley Project Developers // // 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...
package eu.daiad.web.repository.application; import java.util.ArrayList; import java.util.List; import java.util.UUID; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import javax.persistence.TypedQuery; import org.joda.time.DateTime; import org.sp...
/* * Aipo is a groupware program developed by Aimluck,Inc. * Copyright (C) 2004-2011 Aimluck,Inc. * http://www.aipo.com * * 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, eit...
/* * Copyright 2003-2012 <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 frc.robot.subsystems; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.command.Subsystem; //import com.ctre.phoenix.motorcontrol.can.BaseMotorController; import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX; import com.ctre.phoenix.motorcontrol.FeedbackDevice; import com.ctre.phoenix.motor...
/* * 04/08/2004 * * AbstractFindReplaceSearchDialog.java - Base class for FindDialog and * ReplaceDialog. * This library is distributed under a modified BSD license. See the included * RSTAUI.License.txt file for details. */ package org.fife.rsta.ui.search; import java.awt.BorderLayout; import java.awt.Dialog;...
/* * MicroEmulator * Copyright (C) 2001 <NAME> <<EMAIL>> * Copyright (C) 2005 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
package com.lambdajavablockchain.service; import com.lambdajavablockchain.SecretsManagerUtil; import com.lambdajavablockchain.exception.AppException; import com.lambdajavablockchain.exception.ManagedBlockchainServiceException; import com.lambdajavablockchain.exception.EnrollmentNotFoundException; import com.lambdajava...
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* *FastExcel,(c) copyright 2009 yAma<<EMAIL>>. *WEB: http://fastexcel.sourceforge.net * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * ...
package net.shadew.asm.mappings.io; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.List; import net.shadew.asm.descriptor.*; import net.shadew.asm.mappings.model.*; public final class ProguardOutputMappingsIO { private ProguardOutputMappingsIO() { } publi...
/* * Copyright 2016 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/******************************************************************************* * Copyright 2017 Talentica Software Pvt. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
package com.mriveros.ecommerceapp.activities; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.database.SQLException; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCo...
package drwdrd.adev.engine; import android.opengl.GLES20; import java.nio.ByteBuffer; public class VertexFormat { public enum Attribute { //generic attributes VertexAttrib1(0), VertexAttrib2(1), VertexAttrib3(2), VertexAttrib4(3), VertexAttrib5(4), Vertex...
package com.brandon.apps.groupstudio.inflaters; import android.os.AsyncTask; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import com.brandon.apps.g...
/* * Copyright (C) 2021 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 ...
/* * Copyright 2018 <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, distribute...
package minhhai2209.jirapluginconverter.plugin.render; import com.atlassian.jira.bc.JiraServiceContextImpl; import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.security.JiraAuthenticationContext; import com.atlassian.jira.timezone.TimeZoneService; import com.atlassian.jira.user.Application...
/* * Copyright (c) 2016, The National Archives <<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: * * * Redistributions of source code must retain the above copyright * notic...
package org.firstinspires.ftc.teamcode.pathFollowing; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.teamcode.math.Operations; import org.firstinspires.ftc.teamcode.math.Pose2d; import org.firstinspires.ftc.teamcode.math.Vector2d; import org.opencv.core.Mat; import java.uti...
package ff.jnezha.jnt.cs; import ff.jnezha.jnt.Jnt; import ff.jnezha.jnt.utils.HttpType; import ff.jnezha.jnt.utils.TextUtils; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Copyright © 2020 analysys Inc. All rights reserved. * Description: git...
package team154; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.lang.Math; import team154.roles.Headquarters; import battlecode.common.*; public class MapAnalyzer { public static final cha...
package com.termux.view; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.Context; import android.content.res.AssetManager; import android.util.Log; import org.apache.commons.codec.binary.Hex; import org.apache.comm...
/* * Copyright (c) 2016-2018 Memorial Sloan-Kettering Cancer Center. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. The software and * documentation provided hereunder is o...
package com.a520it.mobilsafe.activity; import android.app.Activity; import android.app.AlertDialog; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; ...
package net.tiny.config; import java.io.Serializable; import java.lang.reflect.Array; import java.math.BigDecimal; import java.math.BigInteger; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import j...
package com.tom.cpm.shared.gui; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import com.tom.cpl.gui.Frame; import com.tom.cpl.gui.IGui; import com.tom.cpl.gui.elements.Button; import com.tom.cpl.gui.elements.ConfirmPopup; impor...
package org.rowanacm.android; import android.app.ProgressDialog; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v7.app.AlertDialog...
package com.smart.cloud.fire.mvp.playBack; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.media.AudioManager; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.vie...
package jframe.pay.wx.service; import java.net.URL; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jframe.core.plugin.annotation.InjectPlug...
/* * * * Copyright 2014 http://Bither.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 requi...
package util; import api.dto.*; import api.item.AppType; import lombok.extern.slf4j.Slf4j; import poexception.ConfigNotFoundException; import java.util.HashMap; /** * @ClassName: loadDefaultConfig * @Description: 默认配置,读取application.yaml中的配置 * @Author: zhzh.yin * @Date: 2020-04-24 18:30 * @Verion: 1.0 */ @Slf4j...
package org.goldenorb.server; import static org.junit.Assert.*; import java.util.List; import java.util.concurrent.CountDownLatch; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.ZooKeeper; import org.goldenorb.client.NodeDoesNotExistException; import ...
package com.oradian.infra.monohash; import com.oradian.infra.monohash.diff.Diff; import com.oradian.infra.monohash.impl.PrintStreamLogger; import com.oradian.infra.monohash.param.*; import com.oradian.infra.monohash.util.Format; import com.oradian.infra.monohash.util.Hex; import java.io.File; import java.io.IOExcepti...
/******************************************************************************* * Copyright (C) 2014 Google Inc. * Licensed to 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....
package com.gridgain.sales.load; import java.io.IOException; import java.io.Serializable; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.regex.Matcher; import java.io.Reader; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java...
/* * $Header: /cvshome/repository/org/osgi/util/position/Position.java,v 1.14 2003/02/27 21:17:03 hargrave Exp $ * * Copyright (c) The Open Services Gateway Initiative (2002). * All Rights Reserved. * * Implementation of certain elements of the Open Services Gateway Initiative * (OSGI) Specification may be subje...
package edu.neu.coe.info6205.geneticAlgorithm; /** * The GeneticAlgorithm class is our main abstraction for managing the * operations of the genetic algorithm. This class is meant to be * problem-specific, meaning that (for instance) the "calcFitness" method may * need to change from problem to problem. * * Thi...
/* * Copyright: Copyright (c)2011 * Company: 易宝支付(YeePay) */ package com.yeepay.yop.sdk.utils; import com.yeepay.yop.sdk.exception.YopClientException; import org.apache.commons.lang3.StringUtils; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.engines.SM4Engine; import org.bouncycast...
package com.torch2424.battlequest; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.Sha...
/** * * Copyright (c) 2009, <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, this list of conditions and...
package io.nrbtech.rxandroidble.internal.util; import android.os.ParcelUuid; import android.util.SparseArray; import androidx.annotation.RestrictTo; import io.nrbtech.rxandroidble.internal.RxBleLog; import io.nrbtech.rxandroidble.internal.logger.LoggerUtil; import io.nrbtech.rxandroidble.internal.scan.ScanRecordImpl...
/* * Copyright (C) 2019 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...
import static java.util.Arrays.stream; import static java.util.stream.Collectors.toList; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.HashSet; import java.util.List; import jav...