text stringlengths 3.08k 15.2k |
|---|
package org.firstinspires.ftc.teamcode;
//done other than testing?
import static java.lang.Math.abs;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import ... |
package chapter5.section2;
import chapter1.section3.Queue;
import edu.princeton.cs.algs4.StdOut;
import java.util.StringJoiner;
/**
* Created by <NAME> on 21/01/18.
*/
public class Exercise9_ExtendedOperationsForTSTs {
public class TernarySearchTrieExtended<Value> extends TernarySearchTrie<Value> {
p... |
/*
* Copyright 2020 Google LLC. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package testgeneration.preamblecalculation;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConf... |
/*
Copyright (c) 2015, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclai... |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* 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, an... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009 Red Hat Inc. and/or its affiliates and other
* contributors as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a full listing of
* individual contributors.
*
* This is free software; you can redistri... |
package com.radiofreederp.nodebbintegration.socketio;
import com.radiofreederp.nodebbintegration.NodeBBIntegrationPlugin;
import com.radiofreederp.nodebbintegration.tasks.TaskTick;
import io.socket.client.Ack;
import io.socket.client.IO;
import io.socket.client.Manager;
import io.socket.client.Socket;
import io.socket... |
package info.pinlab.ttada.view.swing;
import info.pinlab.ttada.core.control.TaskController;
import info.pinlab.ttada.core.model.display.Display;
import info.pinlab.ttada.core.model.display.FontProvider;
import info.pinlab.ttada.core.model.display.TextDisplay;
import info.pinlab.ttada.core.model.response.Response;
impo... |
package com.marianodato.arsusdconverter;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.p003v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import java.net.HttpURLConnection;
import java.net.URL;
import org.json.JSONExce... |
/*
* Copyright 2018-present Open Networking Foundation
*
* 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.devicehive.resource.impl;
/*
* #%L
* DeviceHive Java Server Common business logic
* %%
* Copyright (C) 2016 DataArt
* %%
* 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
* ... |
package gms.utilities.waveformreader;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang3.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Ims20Cm6WaveformReader implements Wa... |
import java.util.Scanner;
public class ShoppingApp {
// Helper function to found array length without NULL elements.
public static <T> int getLength(T[] arr){
int count = 0;
for(T el : arr)
if (el != null)
++count;
return count;
}
public static void main(Str... |
package uk.ac.ebi.fg.biosd.biosd2rdf;
import static java.lang.System.err;
import java.io.PrintWriter;
import javax.persistence.EntityManagerFactory;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.Help... |
/*
Autores: <NAME>
<NAME>
<NAME>
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.NoSuchElementException;
import java.u... |
/*
* FACT-Finder REST-API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* ... |
package de.tum.in.www1.exerciseapp.web.rest;
import com.codahale.metrics.annotation.Timed;
import de.tum.in.www1.exerciseapp.domain.AnswerOption;
import de.tum.in.www1.exerciseapp.domain.MultipleChoiceQuestion;
import de.tum.in.www1.exerciseapp.domain.Question;
import de.tum.in.www1.exerciseapp.domain.QuizExercise;
im... |
/**
* 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 this code is held
* jointly by the ind... |
/*
* 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.grid.ventas.cr.crjpacrsrc;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.... |
package simulator.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import exception.JunctionException;
import exception.RoadException;
import exception.VehicleExce... |
package nez.expr;
import java.util.TreeMap;
import nez.Grammar;
import nez.SourceContext;
import nez.ast.AST;
import nez.ast.SourcePosition;
import nez.util.ReportLevel;
import nez.util.UList;
import nez.util.UMap;
public class Rule extends Expression {
Grammar grammar;
String name;
String uname;
Expr... |
package com.checkmarx.sdk.utils.scanner.client;
import com.checkmarx.sdk.dto.*;
import com.checkmarx.sdk.dto.sca.ScaStartScanRequest;
import com.checkmarx.sdk.dto.sca.ScaUploadUrlRequest;
import com.checkmarx.sdk.exception.ScannerRuntimeException;
import com.checkmarx.sdk.utils.ScanWaiter;
import com.checkmarx.sdk.uti... |
package za.org.grassroot.webapp.controller.webapp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.sprin... |
/* Copyright (c) 2019 AT&T Intellectual Property. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. ... |
package dai.hris.model;
import java.io.Serializable;
import java.math.BigDecimal;
public class CaseRatePayment implements Serializable {
private static final long serialVersionUID = 8653434825156632681L;
private int caseRatePaymentId;
private String officialReceiptDate;
private BigDecimal grossAmount;
private B... |
package com.sixteen.school.services;
import com.google.common.collect.Lists;
import com.sixteen.school.dto.Plan;
import com.sixteen.school.model.Schedule;
import com.sixteen.school.model.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java... |
/*
* Copyright 2016 SRI International
*
* 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.folio.edge.sip2.domain.messages.responses;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
/**
* Represents the Hold Response message.
*
* <blockquote
* cite="http://multimedia.3m.com/mws/media/355361O/sip2... |
package encapsulation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
public class Person {
String name;
String forName;
String etterName;
String email;
Date Birthday;
char Gender;
public Person(){
}
public void setName(String newName){... |
/*
* Copyright 2016, Leanplum, Inc. All rights reserved.
*
* 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 unde... |
package org.arg.pushforth.instructions;
import static org.arg.pushforth.program.Programs.cons;
import static org.arg.pushforth.program.Programs.list;
import java.util.Collections;
import java.util.List;
import org.arg.pushforth.annotations.InsDef;
import org.arg.pushforth.annotations.InstructionTest;
import org.arg.... |
package com.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
imp... |
package com.spinningnoodle.communitymanager.controller;
/**
* LICENSE
* Copyright (c) 2019 Cream 4 UR Coffee: <NAME>, <NAME>, <NAME>, <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 t... |
package me.uniodex.skywars.arena;
import me.uniodex.skywars.Skywars;
import me.uniodex.skywars.enums.ArenaState;
import me.uniodex.skywars.utils.Utils;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.inventory.ItemStack;
import java.io.File;
import java.util.ArrayList;
import java.util.HashM... |
package com.shumeng.application.zhcx.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Req... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.oculussoftware.ui.html.wrappers;
import com.oculussoftware.api.ui.html.*;
import com.oculussoftware.api.sysi.OculusException;
import com.oculussoftware.api.ui.html.wrappers.*;
import java.lang.*;
import java.util.*;
/**
* Filename: GenericElement.java
* Date: 02.11.00
* Description: Represents ... |
/**
* 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 org.firstinspires.ftc.teamcode.vision;
import com.acmerobotics.roadrunner.geometry.Vector2d;
public class CameraTargetDistance {
// Object Dimensions - width, height
/**
* the dimensions of a Ball in inches (width, height)
*/
public static final Vector2d BALL_DIM = new Vector2d( 2.75, 2.75 ); // 14.75... |
package com.graduate.common;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.springframework.core.convert.converter.Converter;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.dat... |
package com.demshape.factorization.dataset;
import com.demshape.factorization.datastructure.DataPoint;
import com.demshape.factorization.datastructure.SparseVector;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.*;
import java.util.*;
import java.util.concurrent.Con... |
package org.opengeospatial.cite.wmts10.nsg.testsuite.gettile;
import static de.latlon.ets.core.assertion.ETSAssert.assertUrl;
import static org.testng.Assert.assertTrue;
import java.net.URI;
import java.util.Iterator;
import java.util.logging.Level;
import javax.xml.soap.AttachmentPart;
import javax.xml.soap.SOAPMes... |
/*
* Copyright (c) 2014, Cloudera, Inc. and Intel Corp. All Rights Reserved.
*
* Cloudera, Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"). You may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.o... |
/*
* Copyright 2013 Twitter, Inc. and other contributors.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/**
* Copyright (c) 2018-2028, <NAME> 庄骞 (<EMAIL>).
* <p>
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.gnu.org/licenses/lgpl.html
* <p>
* Unless required by applicable ... |
/* $Id$
*
* 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")... |
package com.johndev4.calculatorproject;
import com.fathzer.soft.javaluator.Constant;
import com.fathzer.soft.javaluator.DoubleEvaluator;
import com.fathzer.soft.javaluator.Function;
import com.fathzer.soft.javaluator.Parameters;
import org.apache.commons.math3.util.FastMath;
import java.util.Iterator;
/**
*
* @au... |
/*
* 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 ... |
/*
* Copyright 2018 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 applica... |
package com.xrbpowered.hexpansio.genmanual;
import static com.xrbpowered.hexpansio.genmanual.GenManual.*;
import static com.xrbpowered.hexpansio.ui.MapView.*;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import com.xrbpowered.hexpansio.world.resources.YieldResource;
import com.... |
import java.util.*;
public class ElliePractice2 {
public static void main (String[] args){
int i = 5;
int j = 7;
i = 5 + 7; //12
j = i - j; //12 - 7 = 5
i = i - j; //12 - 5 = 7
// System.out.println("i: " + i);
// System.out.println("j: " + j);
// reve... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import com.qualcomm.robotcore.util.Range;
import org.firstinspire... |
package com.chao.jsoup.request;
import com.chao.jsoup.bean.BuDeJieAppBean;
import com.chao.jsoup.bean.BuDeJieAppList;
import com.chao.jsoup.model.BuDeJieAppContent;
import com.chao.jsoup.model.RequestCount;
import com.chao.jsoup.util.*;
import com.google.gson.Gson;
import com.mysql.jdbc.StringUtils;
import org.hiberna... |
/*******************************************************************************
* Copyright (c) 2013, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistr... |
package com.hf.gyrorecorder;
import android.content.ContentResolver;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.net.Uri;
import android.provider.MediaStore;
import androidx.activity.result.ActivityResult;
import... |
package co.yixiang.gen.domain;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
public class YxOrder {
private Integer id;
private String no;
private String productId;
private Integer productClassId;
private Integer consumerId;
private Integer number;
priva... |
/*
* Copyright (c) 2008-2011 <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... |
/**
* Copyright (c) 2014, 2015 ControlsFX
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... |
package com.marklogic.hub.spark.sql.sources.v2.reader;
import com.marklogic.hub.spark.sql.sources.v2.Options;
import org.apache.spark.sql.catalyst.InternalRow;
import org.apache.spark.sql.catalyst.util.ArrayData;
import org.apache.spark.sql.catalyst.util.MapData;
import org.apache.spark.sql.types.DataTypes;
import org... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
package windows.component;
import colorpad.core.model.Rgb;
import colorpad.extend.ConvertBridge;
import colorpad.extend.NormalConvertBridge;
import toolkit.Common;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
/**
* ... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
package ni.jug.exchangerate.cb;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;... |
package com.bihe0832.android.lib.device;
import android.annotation.SuppressLint;
import android.content.Context;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.provider.Settings;
import android.telephony.TelephonyManager;
import com.bihe0832.android.lib.log.ZLog;
import java.io... |
package jp.skypencil.jenkins.regression;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.HashMap;
import hudson.model.AbstractBuild;
import hudson.scm.ChangeLogSet;
import hudson.tasks.junit.CaseResult;
import hudson.tasks.jun... |
package aQute.bnd.service;
import java.io.*;
import java.net.*;
import java.util.*;
import aQute.bnd.version.*;
/**
* A Repository Plugin abstract a bnd repository. This interface allows bnd to
* find programs from their bsn and revisions from their bsn-version
* combination. It is also possible to put revisions ... |
package com.example.dm.myapplication.main;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.KeyEvent;
import android.view.View;
import android.widget.FrameLayout;
import androi... |
package com.liteafrica.meatexpress.Adapters;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... |
package com.u9time.scroller;
import android.animation.ValueAnimator;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.... |
package com.github.rmannibucau.log.access.core.io;
import static java.util.Arrays.asList;
import static java.util.concurrent.TimeUnit.MINUTES;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;
import j... |
package grafioschtrader.connector.instrument.stockworld;
import java.text.NumberFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import jav... |
/*
* Copyright 2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... |
/*
* syat-choco: a Choco extension for Declarative Statistics.
*
* MIT License
*
* Copyright (c) 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... |
package org.trvedata.sgm;
import org.apache.commons.lang3.tuple.Pair;
import org.apache.commons.lang3.tuple.Triple;
import org.trvedata.sgm.crypto.IdentityKey;
import org.trvedata.sgm.misc.ByteHolder;
import java.util.Collection;
/**
* A {@link DcgkaProtocol} is an implementation of a DCGKA scheme as described in t... |
package codeine.configuration;
import codeine.jsons.command.CommandInfo;
import codeine.jsons.project.ProjectJson;
import codeine.model.Constants;
import codeine.utils.FilesUtils;
import codeine.utils.JsonFileUtils;
import codeine.utils.JsonUtils;
import codeine.utils.exceptions.ProjectNotFoundException;
import codein... |
// @(#)ShortestPathTree.java 1/2004
// Copyright (c) 1998-2004, Distributed Real-time Computing Lab (DRCL)
// 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 sour... |
package architecture.community.announce;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframewo... |
package seedu.dailyplanner.ui;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.MenuItem;
import javafx.scene.input.KeyCombination;
import jav... |
package com.yunpian.sdk.util;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
/**
* Created by bingone on 15/11/18.
*/
import org.apache.commons.codec.binary.Base64;
/**
* Tea算法
*
* 每次操作可以处理8个字节数据 KEY为16字节,应为包含4个int型数的int[],一个int为4个字节 加密解密轮数应为8的倍数,推荐加密轮数为64轮
*/
@Deprecated
public clas... |
package br.com.liugsilva.semfogo.fragment;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.Lay... |
package com.ttt.server.ssl;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Scanner;
import javax.net.ssl.SSLServerSocket;
import javax.net.ssl.SSLServerSocketFactory;
im... |
package cn.georgeyang;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Arrays;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtConstructor;
import javassist.CtField;
import javassist.No... |
package org.pplm.study.cglib;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.pplm.study.cglib.DynamicProxy.LazyBean.PropertyBean;
import net.sf.cglib.proxy.Callback;
import net.sf.cglib.proxy.CallbackFilter;
import net.sf.cglib.proxy.Dispatcher;
import net.s... |
/*
* Copyright © 2015-2016 <NAME>, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package com.almasb.fxglgames.cc;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.app.GameSettings;
import com.almasb.fxgl.app.scene.Camera3D;
import com.almasb.fxgl.core.math.FXGLMath;
import com.almasb.fxgl.core.serialization.Bundle;
import com.almasb.fxgl.entity.Entity;
import com.almasb.fxgl.inpu... |
package be.echostyle.moola.parser.axa;
import be.echostyle.moola.*;
import be.echostyle.moola.parser.HistoryParser;
import be.echostyle.moola.parser.ImportException;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import org.apache.comm... |
// Copyright (c) YugaByte, 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 writ... |
package com.neuedu.lab.model.po;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
public class Daily {
private Integer daily_id;
@DateTimeFormat(pattern = "yyyy-MM-dd HH... |
/*
Copyright (C) 2001, 2010 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
*/
package gov.nasa.worldwind.examples;
import gov.nasa.worldwind.*;
import gov.nasa.worldwind.avlist.*;
import gov.nasa.worldwind.cache.FileStore;
import ... |
package com.example.newschool.activity;
import android.Manifest;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.design.widget.TextInputEditText;
import android.support.... |
package nodebox.function;
import com.google.common.collect.ImmutableList;
import nodebox.node.*;
import nodebox.util.Assertions;
import org.junit.Test;
import java.util.List;
import static nodebox.function.MathFunctions.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
publi... |
/*
* BSD 3-Clause License - imaJe
*
* Copyright (c) 2016, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notic... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.sdl.selenium.extjs6.tab;
import com.google.common.base.Strings;
import com.sdl.selenium.conditions.ConditionManager;
import com.sdl.selenium.conditions.RenderSuccessCondition;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
import com.sdl.selenium.web.XPathBuilder;
import co... |
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright 2004 Outerthought bvba and Schaubroeck nv
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package cap.phone.usage;
import com.getcapacitor.JSObject;
import com.getcapacitor.NativePlugin;
import com.getcapacitor.Plugin;
import com.getcapacitor.PluginCall;
import com.getcapacitor.PluginMethod;
import android.app.AppOpsManager;
import android.app.usage.UsageStats;
import android.app.usage.UsageStatsManager;
... |
/*-
* Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
package com.wimbli.onlineusers;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Logger;
public class OnlineUsersMySQL extends OnlineUsersDataSource {
private Str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.