text
stringlengths
3.52k
24k
/* Copyright (c) 2019. <NAME>, Partners Healthcare and members of Forome Association Developed by <NAME> and <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/lic...
/******************************************************************************* * Copyright (c) 2007 The Eclipse Foundation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
/* * Copyright 2008 JBoss 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 t...
package org.hit.android.haim.texasholdem.common.model.game.rank; import org.hit.android.haim.texasholdem.common.model.bean.game.Board; import org.hit.android.haim.texasholdem.common.model.bean.game.Card; import org.hit.android.haim.texasholdem.common.model.bean.game.Hand; import java.util.*; import java.util.s...
/* ScriptsAtom.java * ========================================================================= * This file is originally part of the JMathTeX Library - http://jmathtex.sourceforge.net * * Copyright (C) 2004-2007 Universiteit Gent * Copyright (C) 2009 <NAME> * * This program is free software; you can redistrib...
/** * Copyright 1996-2014 FoxBPM ORG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
// This file is part of WorkUp. // // WorkUp is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // WorkUp is distr...
/** * Copyright Indra Soluciones Tecnologías de la Información, S.L.U. * 2013-2019 SPAIN * * 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 2015 Shorindo, 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 l...
package com.example.bozhilun.android.activity.wylactivity.wyl_util.service; import android.annotation.SuppressLint; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Me...
/*=========================================================================== Copyright (C) 2010-2011 by the Okapi Framework contributors ----------------------------------------------------------------------------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except i...
/* ******************************************************* * Released under the MIT License (MIT) --- see ../../LICENSE * Copyright (c) 2014 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> * ******************************************************** */ package lpmaker.graphs; import lpmaker.utils.*; imp...
package fi.nls.oskari.control.statistics.plugins.pxweb; import fi.nls.oskari.control.statistics.data.*; import fi.nls.oskari.control.statistics.plugins.APIException; import fi.nls.oskari.control.statistics.plugins.StatisticalDatasourcePlugin; import fi.nls.oskari.control.statistics.plugins.db.DatasourceLayer; import f...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/****************************************************************************** * Copyright 2015 by OLTPBenchmark Project * * * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
/******************************************************************************* * Copyright (c) 2015 Low Latency Trading Limited : Author <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...
package jp.comfycolor.hibicomi.utils.text; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; public class TitleUtils { public static String formatDescription(String original) { String txt = original; // Renta! txt = StringUtils.removeEnd(txt, "元に戻す"...
package com.erc.his.client.view.organization; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JRadioButton; import javax.swing.J...
package de.rumford.tradingsystem; import java.util.Arrays; import org.apache.commons.lang3.ArrayUtils; import de.rumford.tradingsystem.helper.GeneratedCode; import de.rumford.tradingsystem.helper.Util; import de.rumford.tradingsystem.helper.Validator; import de.rumford.tradingsystem.helper.ValueDateTupel; /** * Th...
package View; import Dao.DAO_Anuncio; import TAD.Anuncios; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; public class View_Principal extends JFrame ...
package com.nttdocomo.android.dconnect.deviceplugin.hue.activity.fragment; import java.util.List; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.SystemClock; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentMa...
package com.ggu.twobuttondatepicker; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget...
/* * 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 pokedex.gui.trainer; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.GridB...
/******************************************************************************* * Copyright 2014 <NAME> Bui. * * 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...
//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL" package com.kpabr.DeeperCaves.structure.cavevillage; import java.util.Random; import com.kpabr.DeeperCaves.DeeperCaves; import net.minecraft.block.Block; import net.minecraft.block.material.Material; impor...
package vos; import org.codehaus.jackson.annotate.JsonProperty; public class VODisponible { @JsonProperty("ID_SERVICIO_PUBLICO") private Integer ID_SERVICIO_PUBLICO; @JsonProperty("ID_SERVICIO_INMOBILIARIO") private Integer ID_SERVICIO_INMOBILIARIO; @JsonProperty("ID_HABITACION") private Integer ID_HABITA...
package me.fhoz.notenoughaddons; import io.github.thebusybiscuit.slimefun4.api.SlimefunAddon; import io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile; import io.github.thebusybiscuit.slimefun4.libraries.dough.collections.Pair; import io.github.thebusybiscuit.slimefun4.libraries.dough.config.Config; import j...
/* * Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved. */ package com.aqua.services.reporter; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.File; import java.util.Properties; import java.util.Random; import javax.image...
package cs.drill.geoip; import com.maxmind.geoip2.DatabaseReader; import com.maxmind.geoip2.exception.GeoIp2Exception; import cs.drill.geoip.util.SubnetV4; import cs.drill.geoip.util.SubnetV6; import cs.drill.toucan.JsonGeoIpEnrichments; import cs.drill.toucan.ToucanGeoIpEnrichmentManager; import org.slf4j.Logger; imp...
package edgar.interview.jvm; import java.util.concurrent.TimeUnit; import org.openjdk.jol.info.ClassLayout; /** * Class Header(Markword + Class pointer) + Instance Data + Padding * Markword:Lock信息,GC信息,hashcode * * Java对象的内存布局:对象头(Header)、实例数据(Instance Data)和对齐填充(Padding)。无论是32位还是64位的HotSpot,使用的都是8字节对齐。 * 也就是...
/** * 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...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination *...
package timeboard.vacations; /*- * #%L * webui * %% * Copyright (C) 2019 Timeboard * %% * 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 limitat...
package com.murlocks.maxent; import java.io.*; import java.util.*; import java.util.regex.Pattern; import java.net.URL; import java.net.URISyntaxException; import java.nio.file.Paths; import opennlp.maxent.*; import opennlp.maxent.io.*; import opennlp.model.*; public class Chunker { static final String dataFile...
package com.dxr.system.action; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collection; import javax.imageio.ImageIO; import javax.imageio.stream.ImageOutputStream; import javax....
/** * * 坤普 Copyright (c) 2016-2017 KunPu,Inc.All Rights Reserved. */ package com.xrds.basic.component.biz.aop.log; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.apache.comm...
/* * 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 controller; import api.Api; import api.RetrofitClient; import java.io.IOException; import java.net.URL; import java.util.List;...
package com.dankeroni.dankbot; import com.dankeroni.dankbot.json.twitch.tmi.servers.Servers; import com.dankeroni.dankbot.models.TwitchTags; import com.dankeroni.dankbot.modules.*; import com.google.gson.Gson; import org.fusesource.jansi.AnsiConsole; import org.jibble.pircbot.IrcException; import org.jibble.pircbot.Pi...
/* * $Id$ * * Copyright (c) 2016, Simsilica, LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright ...
/***************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * ...
package com.rvandoosselaer.blocksbuilder; import com.jme3.app.Application; import com.jme3.app.state.BaseAppState; import com.jme3.math.FastMath; import com.jme3.math.Vector2f; import com.jme3.math.Vector3f; import com.jme3.renderer.Camera; import com.simsilica.lemur.GuiGlobals; import com.simsilica.lemur.input.Analog...
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_mud.core.exceptions.CMException; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; impo...
package husky.sql.calcite.planner; import com.google.common.collect.ImmutableList; import com.google.common.io.Resources; import husky.sql.calcite.plan.nodes.logical.HuskyLogicalCalc; import husky.sql.calcite.plan.nodes.logical.HuskyLogicalAgg; import husky.sql.calcite.Exceptions.TableException; import husky.sql.calc...
/* * $Id$ * * Proprietary version of LRGS DcpMsgFlag object. * This version will overwrite the open-source when we build the jar. */ package lrgs.common; /** Contains static methods and constants relating to the 16-bit flag word present in a DCP message and index entry. These must be kept in sync with #define...
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
package org.geppetto.model.neuroml.utils; /** * Class to hold resources used in the visualiser. This elements will be displayed to the user. * @author matteocantarelli * @author <NAME> (<EMAIL>) * */ public enum Resources { PASSIVE_COND_DENSITY("Passive Conductance Density", "passiveConductanceDensity"), COND...
/* * Copyright DataStax, 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 wri...
package com.meterware.servletunit; /******************************************************************************************************************** * $Id: WebXMLString.java 858 2008-03-31 09:58:35Z wolfgang_fahl $ * * Copyright (c) 2001-2004, 2006,2008 <NAME> * * Permission is hereby granted, free of charge, ...
package com.hzm.test.lucene; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.docum...
package org.cloudfoundry.promregator.cfaccessor; import java.time.Duration; import java.util.LinkedList; import java.util.List; import java.util.concurrent.TimeoutException; import java.util.function.Function; import java.util.logging.Level; import org.cloudfoundry.client.v2.OrderDirection; import org.cloudfoundry.cl...
/* * Licensed to Gisaïa under one or more contributor * license agreements. See the NOTICE.txt file distributed with * this work for additional information regarding copyright * ownership. Gisaïa licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except ...
package com.taobao.taokeeper.monitor.web; import static common.toolkit.java.constant.EmptyObjectConstant.EMPTY_STRING; import static common.toolkit.java.constant.SymbolConstant.COMMA; import static common.toolkit.java.constant.SymbolConstant.SQUARE_BRACKETS_LEFT; import static common.toolkit.java.constant.SymbolCon...
/** @author <NAME>, KTU IF Programų inžinerijos katedra, 2014 09 23 * * Tai yra demonstracinė Automobilio klasė (jos objektai dedami į ListKTU) * kuri realizuoja interfeisą KTUable<T> * IŠSIAIŠKINKITE metodų sudarymą, jų paskirtį ir atitikimą KTUable. * IŠBANDYKITE jų veikimą, panaudojant klasę Automob...
/* * 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 userinterface.Hospital; import Business.City.City; import Business.EcoSystem; import Business.Employee.Employee; import Busine...
package tests.restapi.scenarios.capabilities; import java.util.ArrayList; import org.apache.wink.json4j.JSONArray; import org.apache.wink.json4j.JSONObject; import org.testng.Assert; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeClass; import org.testng.annotations.Parameters...
package za.ac.unisa.lms.tools.assessmentcriteria.forms; import java.util.List; import javax.servlet.http.HttpServletRequest; import za.ac.unisa.lms.tools.assessmentcriteria.DAO.*; import za.ac.unisa.lms.domain.general.Department; import za.ac.unisa.lms.domain.assessmentCriteria.*; import za.ac.unisa.lms.dao.Gencod; ...
package com.dropin.dropin; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; i...
package com.hunonic.download; import android.graphics.Bitmap; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.os.SystemClock; import android.util.Log; import java.util.ArrayList; import java.util.List; public class PictureDownload extends Thread { public interface O...
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
// Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.contentmappers.structure; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.List; import org.apache.uima.UIMAExcept...
package com.adyen.p081ui.p083b; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.support.p000v4.app.Fragment; import android.text.SpannableStringBuilder; import android.text.TextWatcher; import android.text.style.StyleSpan; import android.view.LayoutInflater; import...
package xtvapps.simusplayer.midi; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import fts.core.Log; import xtvapps.simusplayer.midi.MidiEvent.EventType; public class MidiSong { private static final String LOGTAG = MidiSong.class.getSimpl...
package org.ds.chronos.api; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.ds.chronos.support.TestData; import org.ds.chronos.timeline.stream.DataStream; import org.ds.chronos.timeline.stream.partitioned.PartitionedDataStream; import org.ds.chronos.timeline.stream.partitioned...
package ec327.project.x5tictactoe; import android.annotation.SuppressLint; import android.app.Dialog; import android.app.DialogFragment; import android.content.Intent; import android.graphics.Typeface; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import...
// Copyright 2020 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package io.choerodon.config.execute; import java.io.IOException; import java.util.*; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.transaction.annotation.Transactional; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.j...
/* * Copyright (C) 2010 Nullbyte <http://nullbyte.eu> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* ==================================================================== 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 graph; import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; import java.util.Set; //Test class - also includes Depth first search and breadth first search implementations public class Driver { public static void main(String[] args) { //testBST(); //testMinHeap(); ...
/* Name: Cut_A_Curve.java * Project: Laser microdissection of dorsal closure * Version: 3.0 * Inspired by: <NAME> (2003), <NAME> (2004) * Author: <NAME> * Date: 05/22/2015 * Description: This plugin makes an incision in the shape of an arbitrary curve using a laser microbeam system. * The user defines the curve ...
package org.sparkabm.gui.gui.dialogs; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing...
package com.ripple; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.MessageDigest; import java...
/* * Copyright (c) 2020, Belieal <https://github.com/Belieal> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, t...
/* Class369 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ final class Class369 { static Class11_Sub25[] aClass11_Sub25Array4842 = new Class11_Sub25[1024]; static int anInt4843; private Class146 aClass146_4844; static int anInt4845; static int anInt4846; static Class96 aClass96_4847; static int ...
package main; import java.text.DateFormat; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; import org.bson.Document; import org.op...
package world; import java.awt.Color; import java.awt.Graphics; import java.awt.geom.Point2D; import java.util.ArrayList; import java.util.Arrays; import actions.Gadget; import actions.Spell; import particles.Particle; import colliders.Collider; import entities.*; import entities.finish.*; import entities.monsters.*;...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INS...
package com.alcedomoreno.sirme.business.data; import java.util.ArrayList; import java.util.Collection; import java.util.List; import com.alcedomoreno.sirme.business.data.Month.MonthE; import com.alcedomoreno.sirme.business.transform.AddressTransform; import com.alcedomoreno.sirme.business.transform.Transformator; pu...
package core.support.annotation.template.manager; import java.io.BufferedWriter; import java.io.IOException; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.tools.JavaFileObject; import core.support.annotation.helper.FileCreatorHelper; import core.support....
package daxing.selection.model; import daxing.common.chrrange.ChrPos; import daxing.common.sequence.SeqByte; import org.apache.commons.lang3.StringUtils; import pgl.infra.utils.wheat.RefV1Utils; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.List; /** * an alignment re...
package com.azureip.common.controller; import com.azureip.common.util.SpringUtils; import com.azureip.tmspider.service.RegistrationService; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import org.open...
/* * The MIT License * * Copyright 2016 <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,...
/*- * ============LICENSE_START======================================================= * openECOMP : SDN-C * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. * ===============================================...
package com.transcendence.blackhole.demo.scan.view; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; import android.view.View; import com.transcendence.core.utils.ScreenUtils; ...
package tech.iosd.gemselections.JewelleryAlpha.DesignOwn; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import androi...
/* * Copyright 1999-2022 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package com.github.piasy.frida_android_tracer; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.lang.reflect.Constructor; import java.lang.reflect.Method;...
package mcjty.rftools.setup; import mcjty.lib.blocks.GenericBlock; import mcjty.rftools.RFTools; import mcjty.rftools.blocks.storage.GuiModularStorage; import mcjty.rftools.blocks.storage.ModularStorageItemContainer; import mcjty.rftools.blocks.storage.RemoteStorageItemContainer; import mcjty.rftools.blocks.storagemon...
package org.ethereum.beacon.discovery.packet; import org.ethereum.beacon.discovery.Functions; import org.ethereum.beacon.discovery.RlpUtil; import org.ethereum.beacon.discovery.enr.NodeRecord; import org.ethereum.beacon.discovery.enr.NodeRecordFactory; import org.ethereum.beacon.discovery.message.DiscoveryMessage; imp...
// Copyright 2020 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package org.flexiblepower.simulation.battery; import static javax.measure.unit.NonSI.KWH; import static javax.measure.unit.SI.WATT; import java.util.Date; import java.util.concurrent.ScheduledFuture; import javax.measure.Measurable; import javax.measure.Measure; import javax.measure.quantity.Duration; import javax.m...
package edu.usc.ict.superglu.core; import edu.usc.ict.superglu.ontology.mappings.MessageTemplate; import edu.usc.ict.superglu.util.SerializationConvenience; import edu.usc.ict.superglu.util.StorageToken; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util....
package edu.upc.fib.meetnrun.views.fragments; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Lo...
/* * Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright © 2015 - 2021 ReSys (<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 ...
package edu.brown.cs.systems.pivottracing.query; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.Set; import org.apache.commons.lang3.tuple.Pair; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import edu.brown.cs.systems.pivottracing.a...
package com.linkbyte.everscript; import java.util.*; import static com.linkbyte.everscript.TokenType.*; class Parser { private static class ParseError extends RuntimeException {} private final List<Token> tokens; private int current = 0; Parser(List<Token> tokens) { this.tokens = tokens; ...
import java.util.Scanner; /** * Class to solve a small Sudoku board (9x9) using a backtracking algorithm. */ public class SudokuSolver { /** * Attempts to recursively solve the Sudoku puzzle by trying all possible * tokens for each board space until one can be placed. When a point is * rea...
/** * Copyright (c) 2019,2020 honintech * * 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, di...