text
stringlengths
3.52k
24k
package com.dalianyijianxing.wth.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.SocketException; impo...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.ruanyun.chezhiyi.commonlib.model; import android.os.Parcel; import java.math.BigDecimal; /** * 产品、团购信息数据结构 * Created by hdl on 2016/9/12 */ public class ProductInfo implements IGoodsInfo { private int goodsId;//主键 private String goodsNum;//业务主键商品num private String projectParent;//服务项目父分类 工...
package com.aaa.project.system.planInfo.domain; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.aaa.framework.web.domain.BaseEntity; import org.springframework.format.annotation.DateTimeFormat...
/* * Copyright 2017 The Hyve and King's College London * * 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 com.example.alfie.callrecorder; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import a...
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri Inc. licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * ...
package main.java.map; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.geometry.Point2D; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import...
package me.alexisevelyn.crewmate.handlers; import me.alexisevelyn.crewmate.LogHelper; import me.alexisevelyn.crewmate.Main; import me.alexisevelyn.crewmate.PacketHelper; import me.alexisevelyn.crewmate.Server; import me.alexisevelyn.crewmate.api.Player; import me.alexisevelyn.crewmate.enums.hazel.SendOption; import j...
package com.nexradnow.android.services; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import com.nexradnow.android.app.NexradApp; import com.nexradnow.android.app.R; import com.nexradnow.android.app.SettingsActivity; impo...
/* * Copyright (c) 2014, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list...
// 2014/11/19 <NAME> // vim:ts=4 sw=4 noet: package jp.flatlib.flatlib3.imageviewerw; import android.content.Intent; import android.app.Fragment; import android.os.Bundle; import android.view.View; import android.view.LayoutInflater; import android.view.ViewGroup; import android.support.wearable.view.Wat...
package com.github.megatronking.netbare.utils; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.net.InetAddress; impor...
package me.planttree.coolweather; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.view.GravityCompat; import android.support.v4.widget.Dr...
package com.adapter; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.json.JSONException; import org.json.JSONObject; import P2P.SDK; import android.content.Context; import android.content.Intent; import android.util.Log; import android.view.LayoutInflater; impo...
package telas; import controles.BairroControle; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import modelos.Bairro; import ferramentas.*; /** * * @author <NAME> */ public class...
package com.quipmate2.features; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http....
import java.awt.*; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.image.BufferedImage; public class MainScreen extends Screen { ///private boolean choosingMultiplayer = false; private Room room; //private String ip = null; //ip you're trying to connect to. when null, ...
/** * */ package adn.service.resource.engine.persistence; import java.io.File; import java.nio.file.Files; import java.sql.SQLException; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.function.Function; import java.util...
/* * 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 com.github.hiteshlilhare.jcpss.bean; import com.github.hiteshlilhare.jcpss.exception.FieldNotPresentException; import com.goog...
package oop.focus.db; import javafx.util.Pair; import oop.focus.diary.model.DailyMood; import oop.focus.diary.model.DailyMoodImpl; import oop.focus.diary.model.DiaryDao; import oop.focus.diary.model.DiaryImpl; import oop.focus.diary.model.ToDoAction; import oop.focus.diary.model.ToDoActionImpl; import oop.focus.financ...
package bronz.accounting.bunk.ui; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GraphicsEnvironment; import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JButton; import java...
package com.mazaiting.struct; /** * class_defs区域里存放着class definitions,有些数据直接指向了data区 * * struct DexClassDef { u4 classIdx; /* index into typeIds for this class u4 accessFlags; u4 superclassIdx; /* index into typeIds for superclass u4 interfacesOff; /* file offset to DexT...
/* * ----------------------------------------------------------------------------- * VIPER SOFTWARE SERVICES * ----------------------------------------------------------------------------- * * @(#)ActionManager.java 1.00 2012/11/15 * * Copyright 1998-2012 by Viper Software Services * All rights re...
package com.gym.util; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.WritableRaster; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutput...
/*- * #%L * excella-trans * %% * Copyright (C) 2009 - 2019 bBreak Systems 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/license...
package stendhal.test; import com.sun.xml.internal.rngom.parse.host.Base; import javax.swing.JPopupMenu; import javax.swing.SwingUtilities; import javax.swing.event.PopupMenuEvent; import javax.swing.event.PopupMenuListener; import arc.Core; import arc.Graphics; import arc.KeyBinds; import arc.input.GestureDetector;...
package iadgov.offlinepcap; import core.exec.IEEE802154Data; import core.fingerprint.PMetaData; import core.fingerprint.PacketData; import core.importmodule.ImportItem; import core.protocol.IEEE_802_15_4; import core.protocol.Zep; import org.jnetpcap.nio.JBuffer; import util.Cidr; import java.lang.InterruptedExceptio...
package com.castellanos94.algorithms.multi; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import com.castellanos94.datatype.Data; import com.castellanos94.mcda.SatClassifier; import com.castellanos94.problems.GDProblem; import com.castellanos94.problems.Problem; import com.castell...
/* * 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 Client; import Grafo.Aresta; import Grafo.Vertice; import java.util.ArrayList; import org.apache.thrift.TException; import org...
package com.rokejits.android.tool.ui.photoeffect; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFilter; import android.graphics.ComposeShader; imp...
// Copyright © 2016 <NAME>. 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 to use, copy, modif...
package camaratransparente.scrap; import java.io.IOException; import java.net.InetSocketAddress; import java.time.Month; import java.time.YearMonth; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.no...
package it.unito.geosummly; import fi.foyt.foursquare.api.FoursquareApiException; import it.unito.geosummly.io.CSVDataIO; import it.unito.geosummly.io.CixtyJSONReader; import it.unito.geosummly.io.GeoJSONReader; import it.unito.geosummly.io.LogDataIO; import it.unito.geosummly.io.templates.FoursquareObjectTempl...
/* Copyright <NAME> 2021 None of this code to be reused without my written permission Intellectual Rights owned by <NAME> */ package dev.rise.module.impl.other; import dev.rise.Rise; import dev.rise.event.impl.motion.PreMotionEvent; import dev.rise.event.impl.other.AttackEvent; import dev.rise.event.impl.packet.Pa...
import java.sql.*; import java.text.*; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class MainClass { public static boolean isValidDate...
package ib053.core; import com.esotericsoftware.jsonbeans.JsonReader; import com.esotericsoftware.jsonbeans.JsonValue; import com.koloboke.collect.map.LongObjMap; import com.koloboke.collect.map.hash.HashLongObjMap; import com.koloboke.collect.map.hash.HashLongObjMaps; import ib053.core.activities.LevelUpActivity; imp...
package org.adligo.i.util.shared; /** * a immutable date time * which provides much of the functionality * of the Gegorian Calander in jse, * but which is also availabe on other platforms * (GWT) * JME doesn't have a date parser, so if you really need business logic on * a cell phone I would suggest using G...
package org.aspectj.apache.bcel.util; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modific...
package skadistats.clarity.examples.camaraderousstats; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import skadistats.clarity.io.Util; import skadistats.clarity.model.EngineId; import skadistats.clarity.model.Entity; import skadistats.clarity.model.FieldPath; import skadistats.clarity.processor.entities.En...
import javax.swing.*; import javax.swing.border.Border; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import javax.swing.plaf.ColorUIResource; import javax.swing.plaf.MenuBarUI; import javax.swing.plaf.basic.BasicScrollBarUI; import javax.swing.plaf.nimbus.NimbusLookAndFeel; ...
package com.ociweb.jpgRaster.r2j; import java.io.IOException; import java.util.ArrayList; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ociweb.jpgRaster.JPG; import com.ociweb.jpgRaster.JPGSchema; import com.ociweb.jpgRaster.JPG.Header; ...
package com.yeleman.mmtkrelay; import android.*; import android.Manifest; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.PowerManager; imp...
package io.github.xyzxqs.zxingscanner.demo; import android.graphics.Rect; import android.util.Log; import com.google.zxing.Result; import com.google.zxing.ResultPointCallback; import androidx.annotation.Nullable; import androidx.lifecycle.Lifecycle; import androidx.lifecycle.LifecycleObserver; import androidx.lifecy...
package com.example; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import javax.servlet.ServletException; import ...
/* * Swift Parallel Scripting Language (http://swift-lang.org) * Code from Java CoG Kit Project (see notice below) with modifications. * * Copyright 2005-2014 University of Chicago * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
package bookshop2.supplier; import java.util.Collection; import java.util.Iterator; import org.aries.Assert; import org.aries.common.entity.PersonNameEntity; import org.aries.util.BaseFixture; import bookshop2.Book; import bookshop2.supplier.entity.BookOrdersEntity; import bookshop2.supplier.entity.BookOrdersBookEnt...
/* * Copyright (c) 2019 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, pu...
package koopa.dsl.kg.grammar; import static koopa.core.data.tags.SyntacticTag.NUMBER; import static koopa.core.data.tags.SyntacticTag.STRING; import static koopa.core.data.tags.SyntacticTag.WORD; import koopa.core.grammars.fluent.FluentGrammar; import koopa.core.parsers.ParserCombinator; /** * A grammar for defining...
/* * 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 game; import com.sun.glass.events.KeyEvent; import java.awt.Font; import java.awt.Graphics; import java.awt.image.Bu...
package com.kdf.etl.utils; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.Inet4Address; import java.net.InetAddress; import java.net.UnknownHostException;...
package net.mahdilamb.colormap.tests; import net.mahdilamb.colormap.Colors; import org.junit.jupiter.api.Test; import java.awt.*; import static org.junit.jupiter.api.Assertions.*; public class ColorTests { /** * Compare the results to EasyRGB.com for primary and secondary colors */ @Test publ...
package org.doremus.diaboloConverter.musResource; import org.apache.jena.rdf.model.Literal; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.model.Resource; import org.apache.jena.sparql.vocabulary.FOAF; import org.apache.jena.vocabulary.DC; import org.apache.jena.vocabulary.OWL; import org.apache...
package p346g.p347a.p356a.p358b; import java.net.InetAddress; import java.net.InetSocketAddress; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import java.util.Timer; import javax.jmdns.impl.DNSQuestion; import javax.jmdns.impl.DNSRecord; import p346g.p347a.p356a.C14123d; import p346g.p347...
package de.eddyson.tapestry.extensions.components; import org.apache.tapestry5.Binding; import org.apache.tapestry5.BindingConstants; import org.apache.tapestry5.FieldValidationSupport; import org.apache.tapestry5.FieldValidator; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.OptionModel; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io.github.jdeguire.toolchainPic32Clang; import com.microchip.mplab.logger.MPLABLogger; import com.microchip.mplab.mdbcore.common.streamingdata.StreamingDataEnums; import com.microchip.mplab.mdbcore.common.stream...
package com.bokecc.sdk.mobile.demo.download; import java.io.File; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import java.util.Map.Entry; import android.app.Service; import andro...
package jp.co.flect.salesforce.metadata; import java.util.ArrayList; import java.util.List; import jp.co.flect.soap.SimpleObject; /* <xsd:complexType name="CustomField"> <xsd:complexContent> <xsd:extension base="tns:Metadata"> <xsd:sequence> <xsd:element name="caseSensitive" minOcc...
package hello; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.jgrapht.Graph; import org.jgrapht.io.CSVExporter; import o...
package bit.minisys.minicc.parser; import java.io.File; import java.util.ArrayList; import com.fasterxml.jackson.databind.ObjectMapper; import bit.minisys.minicc.MiniCCCfg; import bit.minisys.minicc.internal.util.MiniCCUtil; import bit.minisys.minicc.standardAST.*; /* * PROGRAM --> FUNC_LIST * FUNC_LIST -->...
/* * Copyright 2013-2018 featherrun * * 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...
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.border.EmptyBorder; import net.proteanit.sql.DbUtils; import javax.swing.*; import java.sql.*; import java.awt.Font; import java.awt.Image; import java.awt.Color; public class AdminInfo extends JFrame { private JPanel contentPane; priva...
package com.spaceman.tport.commands; import com.spaceman.tport.Main; import com.spaceman.tport.TPortInventories; import com.spaceman.tport.commandHander.*; import com.spaceman.tport.commands.tport.*; import com.spaceman.tport.fancyMessage.Message; import com.spaceman.tport.fancyMessage.MessageUtils; import com.spacema...
package cn.wwl.Beans.FileBean; import cn.wwl.FileLoader; import java.util.*; /** * 配置文件 用于自定义功能 */ public class ConfigFile { private String CONFIG_VERSION = FileLoader.VERSION; private boolean Debug = false; private String Link = "steamcommunity.com"; private String Basic_Auth = "NONE"; private...
/* * Copyright 2012-2020 smartics, Kronseder & Reiner GmbH * * 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...
/* * 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 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be us...
package im.shimo.geetest2; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.os.AsyncTask; import androidx.core.app.ActivityCompat; import android.util.Log; import com.example.sdk.Geete...
/** * HashTable.java * * @author <NAME> * Created: 01/11/2021 * Updated: 10/12/2021 * * HashTable class, responsible for storing and retrieving * subsets in relatively fast time (O(1) if there are few collisions) */ public class HashTable { int size; int total; /* total number of nodes currently in the...
package com.osh.rvs.form.qf; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.struts.action.ActionForm; import framework.huiqing.bean.annotation.BeanField; import framework.huiqing.bean.annotation.FieldType; import framework.huiqing.common.util.CodeListUtils; import framework.huiqing.commo...
package com.bbs.api; import java.io.IOException; import java.io.InputStream; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.bbs.listeners.BBSCalcResultListener; import com.bbs.preferen...
package edu.uib.info310.search.builder.ontology.impl; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactor...
package com.dataprofiler.matomo.response; /*- * * dataprofiler-tools * * Copyright 2021 Merck & Co., Inc. Kenilworth, NJ, USA. * * 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...
package de.dwslab.ai.riskmanagement.existential; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public class Formula { boolean isHard = true; double weight = -1; List<Literal> literals = new...
/* * Copyright (C) 2013 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...
/** * Copyright 2015-2016 FIX Protocol 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 applicable law...
package org.neige.wakeyouinmusic.android.spotify; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import com.google.api.client.extensions.android.http.AndroidHttp; import com.google.api.clie...
package com.openquartz.helloglass; import android.content.Context; import android.hardware.Camera; import android.hardware.Camera.Parameters; import android.os.Environment; import android.speech.tts.TextToSpeech; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; import java....
/* * Copyright (c) OSGi Alliance (2004, 2020). All Rights Reserved. * * Implementation of certain elements of the OSGi Specification may be subject * to third party intellectual property rights, including without limitation, * patent rights (such a third party may or may not be a member of the OSGi * Alliance). T...
/* * Copyright 2013 APPNEXUS 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 a...
package ix.idg.controllers; import com.avaje.ebean.Expr; import com.fasterxml.jackson.databind.ObjectMapper; import ix.core.models.Value; import ix.core.models.XRef; import ix.idg.models.Expression; import ix.idg.models.Target; import ix.ncats.controllers.App; import ix.core.plugins.IxCache; import org.w3c.dom.*; imp...
package mtdb; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.lang.InterruptedException; import java.time.Duration; import java.time.ZoneOffset; import java.util.concurrent.ThreadLocalRandom; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Re...
package cz.mg.icospheregenerator; import java.awt.Color; import java.awt.Graphics; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.io.FileOutputStream; import java.util.Collections; import java.util.Comparator; import javax.swing.JFileChooser; import javax.swing.J...
package com.spark; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; imp...
package com.RSen.Widget.Hangouts; /* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
package org.wg3.storage; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.text.DateFormat; import java.text.SimpleDateFormat; import org.wg3.log.Logger; import org.wg3.log.LoggerFactory; import org.wg3.storage.LRUCache.LRUCacheListener; /** * The data manager wil...
/******************************************************************************* * * This file is part of iBioSim. Please visit <http://www.async.ece.utah.edu/ibiosim> * for the latest version of iBioSim. * * Copyright (C) 2017 University of Utah * * This library is free software; you can redistribute it and/o...
/* * 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 ...
package org.firstinspires.ftc.teamcode; import android.util.Log; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.util.ElapsedTime; public abstract class RoboLordsLinearOpMode extends LinearOpMode { protected RoboLordsHardw...
package com.so.team.controller; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Timestamp; import java.util.List; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; impo...
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * 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 availabl...
package com.as.seven.orangefriends; import android.annotation.SuppressLint; import android.content.Intent; import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.RequiresApi; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompa...
/* Copyright 2005 <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 writing, software distribu...
/* * Copyright (c) 2020 <NAME> (LanDen Labs) <EMAIL> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, mer...
/* * 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 ...
package gaowei.textwatchface; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Config; import android.util.Log; import android.view.View; import android.widget.Button...
package br.com.dercilima.firebackuplib; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.support.v7.app.AlertDialog; import android.util.Log; import android.widget.ArrayAdapter; import java.io.File; impo...
package com.wix.rt.projectView; import com.intellij.ide.*; import com.intellij.ide.projectView.ProjectViewNode; import com.intellij.ide.projectView.SelectableTreeStructureProvider; import com.intellij.ide.projectView.ViewSettings; import com.intellij.ide.projectView.impl.nodes.BasePsiNode; import com.intellij.ide.util...
package celestek.hexcraft.client.model.special; import java.util.Collection; import java.util.Map.Entry; import java.util.function.Function; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import celestek.hexcraft.client.mo...
package chess.figures; import chess.Figure; import chess.Board; import chess.Player; public class King extends Figure { /** * The base value. */ private final static int VALUE = 20000; /** * The evaluation matrix for mid game. */ private final static int[][] EVAL_MID_GAME = { // @for...
/* * Copyright 2015-2018 <NAME> & <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 ...