text stringlengths 3.08k 15.2k |
|---|
package ru.ivanp.vibro.vibrations;
import java.lang.ref.WeakReference;
import ru.ivanp.vibro.App;
import ru.ivanp.vibro.utils.EventDispatcher;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import com.immersion.uhl.Device;
import com.immer... |
package org.firstinspires.ftc.teamcode.hardware.scoring.intake;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.DigitalChannel;
... |
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. 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
*
* Un... |
package com.example.fishackathon;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java... |
package com.evolutionandgames.jevodyn.assymetric.impl;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.supercsv.cellprocessor.constraint.NotNull;
import org.supercsv.cellprocessor.ift.CellProcessor;
import org.supercsv.io.CsvListWriter;
import org.s... |
package com.company.yoyo.onsite;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class MajorityElementVariant {
/**
* Leetcode 229. Majority Element II Variant Given an sorted in... |
/*
* Decompiled with CFR 0.150.
*/
package us.myles.viaversion.libs.javassist.bytecode;
import java.io.DataInputStream;
import java.io.IOException;
import java.util.Map;
import us.myles.viaversion.libs.javassist.bytecode.AttributeInfo;
import us.myles.viaversion.libs.javassist.bytecode.ByteArray;
import us.myles.via... |
import indieQuest.entity.mob.Player;
import indieQuest.graphics.Screen;
import indieQuest.graphics.SpriteSheet;
import indieQuest.input.Keyboard;
import indieQuest.input.Mouse;
import indieQuest.level.Level;
import indieQuest.level.LoadLevel;
import java.awt.Canvas;
import java.awt.Dimension;
import java.awt... |
package soot.toolkits.scalar;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 1999 <NAME>
* %%
* This program 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... |
/*
* 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 ... |
/**
* TicTacToe.java
*
* This program uses Swing to play a simple game of Tic Tac Toe
* (noughts and crosses). It uses a GridLayout of JButton's to
* play the game. Each JButton has its own ButtonListener class
* that updates an internal 2D game board and checks to see if the
* game is over.
* The GridLayout ... |
package io.spokestack.spokestack.nlu.tensorflow.parsers;
import io.spokestack.spokestack.nlu.tensorflow.SlotParser;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
/**
* This parser converts a string representation of a sequence of digits into the
* corresponding sequence of digits.... |
package org.joshy.gfx.node.control;
import org.joshy.gfx.SkinManager;
import org.joshy.gfx.css.BoxPainter;
import org.joshy.gfx.css.CSSSkin;
import org.joshy.gfx.css.SizeInfo;
import org.joshy.gfx.css.StyleInfo;
import org.joshy.gfx.draw.FlatColor;
import org.joshy.gfx.draw.GFX;
import org.joshy.gfx.event.ActionEvent;... |
/*
* Copyright International Business Machines Corp, 2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package cn.org.autumn.modules.wall.service.gen;
import cn.org.autumn.site.InitFactory;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
... |
package controllers;
import _main.Main;
import classes.Database;
import classes.Stack;
import classes.Student;
import classes.User;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXDialog;
import com.jfoenix.controls.JFXDialogLayout;
import com.jfoenix.controls.events.JFXDialogEvent;
im... |
package com.evolveum.midpoint.studio.impl.psi.search;
import com.evolveum.midpoint.prism.ParsingContext;
import com.evolveum.midpoint.prism.PrismContext;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.prism.PrismParser;
import com.evolveum.midpoint.schema.constants.ObjectTypes;
import com... |
package com.rayo.server;
import java.net.URI;
import java.util.Map;
import org.apache.log4j.MDC;
import com.rayo.core.CallRef;
import com.rayo.core.DialCommand;
import com.rayo.core.JoinCommand;
import com.rayo.server.admin.AdminService;
import com.voxeo.logging.Loggerf;
import com.voxeo.moho.ApplicationContext;
imp... |
package com.game.tools.fontconverter;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontFormatException;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
... |
/* Copyright (C) 2013-2022 <NAME>
* This file is part of LearnLib, http://www.learnlib.de/.
*
* 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/LICEN... |
/*
* Copyright (c) 2016 Red Hat, Inc., <NAME>, 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... |
package io.vacco.gemory;
import io.vacco.gemory.messaging.*;
import io.vacco.gemory.util.GmStyleEditor;
import io.vacco.shax.logging.ShArgument;
import j8spec.junit.J8SpecRunner;
import javafx.application.Application;
import javafx.geometry.Orientation;
import javafx.scene.*;
import javafx.scene.layout.StackPane;
impo... |
package me.czvn.blelibrary.bluetooth;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattDescriptor;
import android.bluetooth.BluetoothGattServer;
import android.bluetooth.BluetoothGattServerCallb... |
package io.simplesource.saga.shared.topics;
import io.simplesource.kafka.api.ResourceNamingStrategy;
import io.simplesource.kafka.spec.TopicSpec;
import io.simplesource.kafka.util.PrefixResourceNamingStrategy;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import ... |
package com.malalaoshi.android.ui.dialogs;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.Layou... |
package com.peternatewood.tanksone_on_one;
import android.graphics.Rect;
import android.util.Log;
public class Joystick {
private final int JOY_DIRECTION_MOD;
private final float DEADZONE = (float) 0.25;
private final float JOY_MAX = 32.f;
private final float buttonSize = 64.f;
private boolean button;
pr... |
package rs.doc.builder;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Enum... |
/*
* 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 2008 - 2017 <NAME>
* For a list of authors see README.md
* This software of HSOAutonomy is released under MIT License (see LICENSE).
*/
package hso.autonomy.util.geometry;
import static org.junit.Assert.assertEquals;
import org.apache.commons.math3.geometry.euclidean.threed.Rotation;
import org.apache... |
package cn.ian2018.hbu.centre.activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;... |
package com.hsdi.NetMe.util;
import android.util.Base64;
import android.util.Log;
import com.google.android.gms.maps.model.LatLng;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.spec.AlgorithmParameterSpec;
import javax.crypto.Cipher;
import javax.crypto.NoSuch... |
package blank.bbs.service.impl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import blank.bbs.model.Card;
import blank.bbs.model.Notify;
import blank.bbs.... |
/*
* Copyright (c) 2001-2018, Inversoft Inc., 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... |
/*
* Copyright 2019-2021 <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 ... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
package kz.chesschicken.biomesystem.common.utils.independentnoise;
import java.util.Random;
/**
* Independent noise.
* @see kz.chesschicken.biomesystem.common.utils.NoiseEnum
*/
public class IndNoiseGenerator {
private static final int[][] field_4296_d = new int[][]{{1, 1, 0}, {-1, 1, 0}, {1, -1, 0}, {-1, -1,... |
package com.jade.customervisit.util;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import com.jade.customervisit.bean.PicturePropertiesBean;
import android.content.Co... |
package space.hypeo.mankomania.stages;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.scenes.scene2d.Group;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com... |
package com.example.motor.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.util.Log;
import com.example.motor.db.ChronicleInfo;
import org.xclcharts.chart.DountChart;
import org.xclcharts.chart.PieData;
import org.xclcharts.renderer.XEnum;
import o... |
/*
* Copyright 2005-2008 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 ap... |
package com.org.shark.graphtoolkits.graph;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
public class RDFGraph {
private static final Logger logger = LogManager.getLogger(RDFGraph.c... |
/**
* Copyright (c) 2011, <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:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions ... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
/*
* 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/LICENSE-2.0
*
* Unless required by applicab... |
package lbs.leica;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
... |
package fhws.minichess.gamecomponents;
import fhws.minichess.gamecomponents.Board;
import fhws.minichess.gamecomponents.Square;
import java.util.ArrayList;
/**
* Copyright © 2017 <NAME>
* <p>
* [This program is licensed under the "MIT License"]
* Permission is hereby granted, free of charge, to any person obtain... |
package lff;
import gpoptim.NoisyObjectiveFunction;
import java.util.Arrays;
import java.util.Random;
import lff.LFFOptions;
import lff.Parameter;
import modelChecking.MitlModelChecker;
import priors.Prior;
public class LFFLogPosterior implements NoisyObjectiveFunction {
private MitlModelChecker modelChecker;
fi... |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2000 <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, or (at your option) any la... |
/*
* ported to v0.56
* using automatic conversion tool v0.01
*/
package mame056.sndhrdw;
import static arcadeflex056.fucPtr.*;
import static common.ptr.*;
import static mame056.sndintrfH.*;
import static mame056.mame.Machine;
import static mame056.common.*;
import static mame056.commonH.*;
import static mame056... |
package com.github.jakz.geophoto;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.temporal.ChronoField;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Li... |
/*
* %W% %E%
*
* Copyright 2002 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*****************************************************************************
* Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
* Redistribution and use... |
/*******************************************************************************
* Copyright 2015 <NAME> | Dakror <<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... |
/*
* 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... |
package TeamControlium.Controlium;
import java.lang.*;
import TeamControlium.Utilities.Logger;
import javafx.util.Pair;
import org.openqa.selenium.By;
public class ObjectMapping {
public enum ByType { Id, Class, Css, LinkText, Name, Partial, Tag, XPath, Unknown };
private ByType _mappingType;
private S... |
package net.yiim.yismcore;
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.digests.*;
import org.bouncycastle.crypto.encodings.OAEPEncoding;
import org.bouncycastle.crypto.encodings.PKCS1Encoding;
import org.bouncycastle.crypto.engines.RSABlindedEngine;
import javax.crypto.spec.P... |
package net.ssehub.easy.producer.ui.productline_editor;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jface.dialogs.IPageChangedListener;
import org.eclipse.jface.dialogs.PageChangedEvent;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layo... |
import java.awt.Container;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import... |
package cc.twittertools.encoding;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import java.util.PriorityQueue;
import org.apache.pig.builtin.REPLACE;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.sun.org.apache.xalan.internal.xsltc.compiler.... |
package cz.polankam.pcrf.trafficgenerator.scenario.impl.real;
import cz.polankam.pcrf.trafficgenerator.scenario.NodeBuilder;
import cz.polankam.pcrf.trafficgenerator.scenario.Scenario;
import cz.polankam.pcrf.trafficgenerator.scenario.ScenarioNode;
import cz.polankam.pcrf.trafficgenerator.scenario.actions.impl.LoggerP... |
/*
* Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright n... |
/*
* Copyright (C) 2016 <NAME>
*/
package it.returntrue.cinemaniacs;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.graphics.Rect;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.su... |
/*
* 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.
*/
import Control.Control;
import Datos.GlobalException;
import Entidades.Agencia;
import com.google.gson.Gson;
import java.io.IOExceptio... |
package com.example.a79875.todaynews.activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Build;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundl... |
/**
* 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
*
*... |
package com.problemeszero.crypto;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.security.PrivateKey;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import com.problemeszero.redwax.Main;
import javafx.stage.Stage;
import org.bouncycastl... |
/*
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. 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
* no... |
/**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* 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 ... |
/*
* 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 bio.terra.workspace.service.resource.controlled;
import bio.terra.cloudres.google.notebooks.InstanceName;
import bio.terra.common.exception.BadRequestException;
import bio.terra.common.exception.InconsistentFieldsException;
import bio.terra.common.exception.MissingRequiredFieldException;
import bio.terra.works... |
package com.example.demo;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Objects;
import java.util.Scanner;... |
package org.chargecar.experiments.hybridBMW.fakeTrips;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.chargecar.experiments.hybridBMW.CostFunction;
import org.chargec... |
package hr.udruga01.arhixml.modules.mainwindow;
import hr.udruga01.arhixml.datamodel.Arhinet;
import hr.udruga01.arhixml.datamodel.RegistrationUnit;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.vaadin.d... |
/**
* Copyright (C) 2010-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... |
package org.wlf.filedownloader.file_move;
import org.wlf.filedownloader.DownloadFileInfo;
import org.wlf.filedownloader.base.Log;
import org.wlf.filedownloader.listener.OnMoveDownloadFileListener;
import org.wlf.filedownloader.listener.OnMoveDownloadFileListener.MoveDownloadFileFailReason;
import org.wlf.filedownloade... |
package net.sourceforge.kolmafia.textui.command;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import net.sourceforge.kolmafia.AdventureResult;
import net.sourceforge.kolmafia.KoLmafiaCLI;
import net.sourceforge.kolmafia.objectpool.EffectPool;
import net.sourceforge.kolmafia.objectpool.ItemPoo... |
package randomizer.randomizerUtils.randomizer;
import randomizer.randomizerUtils.pacFileHandling.PacWrapper;
import java.io.File;
import java.io.IOException;
import java.util.*;
/**
* The randomizer implementation that handles pack randomization.
*/
public class PackRandomizer extends Randomizer{
/**
* I... |
/*
* The MIT License
*
* Copyright: Copyright (C) 2014 T2Ti.COM
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... |
/*
* Created on Mar 30, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package edu.gatech.csc.visualfirewall.datasource;
import java.io.File;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.Date;
import j... |
/* Copyright (C) 2013-2021 <NAME>
* This file is part of AutomataLib, http://www.automatalib.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/license... |
/*
* Copyright (C) 2021 TD.Miracle(<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 com.tifires.genesis.packager.pack;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.tifires.genesis.packager.commons.CompiledCode;
import com.tifires.genesis.packager.commons.Resource;
import com.tifires.genesis.packager.commons.SourceCode;
import com.tifires.genesis.packager.compile.Compiler;
im... |
package cmcc.mhealth.ble;
import java.util.Calendar;
import java.util.Date;
public class BaseSleepSummary {
public int[] result; //每5分钟一个结果,1:熟睡,2:翻身,3:醒来, 0:非睡眠状态,不显示
public int resultAvaileLength;
public int startsleepHour;
public int startsleepMin;
public int fallasleepHour;
public int fallasleepMin;
p... |
package eu.fivegmedia.aaa.web.rest;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Optional;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pa... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... |
package snakegame;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FontFormatException;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException... |
/**
*
* 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
* "Lice... |
package repast.simphony.visualization.visualization3D;
import java.awt.Color;
import java.awt.Font;
import org.jogamp.java3d.Appearance;
import org.jogamp.java3d.BoundingBox;
import org.jogamp.java3d.BoundingSphere;
import org.jogamp.java3d.Bounds;
import org.jogamp.java3d.BranchGroup;
import org.jogamp.jav... |
package com.example.cj.videoeditor.media;
import android.media.AudioManager;
import android.media.MediaMetadataRetriever;
import android.media.MediaPlayer;
import android.util.Log;
import android.view.Surface;
import java.io.IOException;
import java.net.PortUnreachableException;
import java.util.ArrayList;
import jav... |
/*
Copyright 2006 by <NAME> and George Mason University
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package sim.util.gui;
import java.awt.*;
import javax.swing.*;
/** LabelledList is a JPanel which makes it easy to set up two columns of
Components, wit... |
/**
* Copyright 2010-2013 <NAME>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Data-bag Project License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABI... |
/*
The MIT License (MIT)
Copyright (c) 2016 <NAME> and <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... |
package de.toboidev.saimiri.tmx;
import com.jme3.asset.AssetManager;
import com.jme3.asset.TextureKey;
import com.jme3.material.Material;
import com.jme3.material.RenderState;
import com.jme3.scene.*;
import com.jme3.texture.Texture;
import org.tiledreader.*;
import java.util.HashMap;
/**
* @author <NAME> <<EMAIL>>... |
package okhttp3.internal.huc;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ProtocolException;
import java.net.URL;
import java.security.Permission;
import java.security.Principal;
import java.security.cert.Certificate;
import java.util.Map;
import javax.net.ssl.H... |
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.Q;
import android.os.FileObserver;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardWatchEventKinds;
import java.nio.file.... |
package xyz.seanchao.shbus;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app... |
package sc.player2019.logic;
import java.util.ArrayList;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import sc.... |
/*
* Copyright 2022 Leeds Beckett University.
*
* 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 la... |
/*
* Copyright (c) 2012 3 Round Stones Inc., Some 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 c... |
/******************************************************************************
* Vige, Home of Professional Open Source Copyright 2010, Vige, and *
* individual contributors by the @authors tag. See the copyright.txt in the *
* distribution for a full listing of individual contributors. ... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.