text stringlengths 3.08k 15.2k |
|---|
import java.util.List;
import lbfgsb.Bound;
import lbfgsb.DifferentiableFunction;
import lbfgsb.FunctionValues;
import lbfgsb.IterationFinishedListener;
import lbfgsb.IterationsInfo;
import lbfgsb.LBFGSBException;
import lbfgsb.jniwrapper.SWIGTYPE_p_double;
import lbfgsb.jniwrapper.SWIGTYPE_p_int;
import lbfgsb.jniwr... |
package wpos.event;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import wpos.common.GlobalControll... |
package com.ionesmile.scrollballtest.view.wheel;
import android.content.Context;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.... |
package pacman;
import pacman.powerup.PacDots;
import pacman.powerup.PowerBall;
import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
public class PacMan implements CollidableObject {
private int x;
private int y;
private int vx;
private int ... |
/*******************************************************************************
* Copyright (c) 2003, 2015 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... |
/**
* Copyright (c) <NAME> Nucleare (INFN). 2016-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 applic... |
package grabber;
import com.wrapper.spotify.SpotifyApi;
import com.wrapper.spotify.exceptions.SpotifyWebApiException;
import com.wrapper.spotify.exceptions.detailed.TooManyRequestsException;
import com.wrapper.spotify.model_objects.credentials.ClientCredentials;
import com.wrapper.spotify.model_objects.specification.*... |
/*
* Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... |
/*
* 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 Controller;
import Model.ClassManager;
import Model.LectureVO;
import View.TimetableView;
import common.DesignConstants;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
im... |
/*
* Copyright 2009-2014 University of Hildesheim, Software Systems Engineering
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
package me.hacket.library.request;
import java.io.UnsupportedEncodingException;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.Map;
import org.json... |
package com.app.medibox.UI;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import com.app.medibox.R;
import com.app.medibox.bean.Remind;
imp... |
/*
* Copyright 2002-2005 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
package com.forx.grid.command;
import com.forx.grid.FGrid;
import com.forx.grid.ModInfo;
import com.forx.grid.config.ModConfig;
import com.forx.grid.handlers.FileHandler;
import com.forx.grid.helpers.ResourceHelper;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.mojang.brigadier.Comman... |
/*
* 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 socialite.servlet;
import com.dropbox.core.DbxRequestConfig;
import com.dropbox.core.v2.DbxClientV2;
import com.dropbox.core.v... |
package ellus.ESM.ESMW;
import java.util.ArrayList;
import ellus.ESM.pinnable.pinLF;
import ellus.ESM.pinnable.pinSS;
import ellus.ESM.pinnable.pinnable;
import ellus.ESM.pinnable.Able.AbleMouseDrag;
public class ESMPL {
// constant;
public static final int pinnableTotalLayer = 10;
//
private ArrayList <Ar... |
/**
* Copyright 2013 <NAME> (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package eu.isas.peptideshaker.export.sections;
import com.compomics.util.experiment.ShotgunProtocol;
import com.compomics.util.experiment.biology.Ion;
import com.compomics.util.experiment.biology.ions.PeptideFragmentIon;
import com.compomics.util.experiment.identification.PeptideAssumption;
import com.compomics.... |
package com.nikolaiapps.orbtrack;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.ContextThemeWrapper;
import android.... |
/*
* Copyright (c) 2019 by <NAME>.
*
* The author 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.org/licenses/LICENSE-2.0
*
* Unless requ... |
package com.github.funnyzak.onekey.biz.enums;
import lombok.Data;
import lombok.Getter;
import com.github.funnyzak.onekey.common.utils.DateUtils;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* 时间间隔类型,主要用来获取统计图表时间线步长
*/
public enum TimeIntervalType {
MINUTE("分钟", 60, "HH:mm"),
... |
/**
*
* 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 2009-2013 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... |
package processing_test;
import java.awt.*;
import java.awt.event.*;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Link... |
/*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* 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 opti... |
/**
* Copyright (c) 2006-2015, Confluence Community
* 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 cond... |
/*
* CachedXmlConnectionStore.java created on 29 Sep 2008 07:05:37 by suggitpe for project GUI - Mercury
*
*/
package org.suggs.apps.mercury.model.connection.connectionstore.xmldao.impl;
import org.suggs.apps.mercury.connectionstore.ConnectionStoreType;
import org.suggs.apps.mercury.connectionstore.Connecti... |
package pas.com.mm.shoopingcart.order;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Point;
import androi... |
package com.mayunfei.downloadmanager.download.http;
import android.util.Log;
import com.mayunfei.downloadmanager.db.DownState;
import com.mayunfei.downloadmanager.db.ItemBean;
import com.mayunfei.downloadmanager.download.ITask;
import com.mayunfei.downloadmanager.download.M3u8DownTask;
import com.mayunfei.downloadman... |
package interpreterbot;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.lang.ProcessBuilder.Redirect;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Li... |
/*
* Copyright 2003-2016 MarkLogic Corporation
*
* 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... |
import ij.IJ;
import ij.gui.Plot;
import ij.plugin.PlugIn;
import org.apache.commons.math3.analysis.MultivariateFunction;
import org.apache.commons.math3.analysis.ParametricUnivariateFunction;
import org.apache.commons.math3.optimization.GoalType;
import org.apache.commons.math3.optimization.PointValuePair;
import... |
/**
* Copyright 2013 Netflix, 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 i... |
package com.example.hppc.myapplication;
import android.app.DatePickerDialog;
import android.content.Intent;
import android.location.Location;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget... |
package blockchainedu.blockchainedu.models;
import blockchainedu.blockchainedu.dto.BlockchainResponseDto;
import blockchainedu.blockchainedu.dto.TransactionsResponseDto;
import blockchainedu.blockchainedu.helper.HashHelper;
import blockchainedu.blockchainedu.models.Account;
import com.google.common.io.BaseEncoding;
im... |
package com.ryantsui.service;
import com.ryantsui.cache.DBCache;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.time.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import java.sql.*;
import java.text.ParseException;
impo... |
/* Generated by AN DISI Unibo */
package it.unibo.worldobserver;
import it.unibo.qactors.PlanRepeat;
import it.unibo.qactors.QActorContext;
import it.unibo.qactors.StateExecMessage;
import it.unibo.qactors.QActorUtils;
import it.unibo.is.interfaces.IOutputEnvView;
import it.unibo.qactors.action.AsynchActionResult;
imp... |
package org.mybatis.dao.util;
import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.mybatis.dao.O... |
/*
* Copyright (c) 2017 Stamina Framework developers.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright (c) 2015 <NAME>. This is free software. See
* LICENSE for details.
*/
package com.github.afbarnard.jcsv;
import java.util.NoSuchElementException;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
public class ArrayQueueTest {
static final int QUEUE_SIZE = 10;... |
package org.thunlp.tagsuggest.dataset;
import java.io.IOException;
import java.util.Iterator;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobClient;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapre... |
package org.lamport.tla.toolbox.util;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTError;
import org.eclipse.swt.browser.Browser;
import org.... |
package rl4j;
import java.util.Arrays;
import java.util.Map;
import java.util.stream.IntStream;
import no.uib.cipr.matrix.DenseVector;
import no.uib.cipr.matrix.Matrices;
import no.uib.cipr.matrix.Matrix;
import no.uib.cipr.matrix.Vector;
import no.uib.cipr.matrix.VectorEntry;
import no.uib.cipr.matrix.sparse.FlexCom... |
/*
* 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 controllers;
import animatefx.animation.SlideInLeft;
import animatefx.animation.SlideInRight;
import com.jfoenix.controls.JFXB... |
// Copyright 2016 The Sawdust 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 applicable... |
/*
* ###
* Phresco Service Implemenation
*
* Copyright (C) 1999 - 2012 Photon Infotech Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.NumberFormat;
class Demineur {
static void Matrice(int ligne, int colonne, String[][] grilleCachee) {
for (int i = 0; i < ligne; i++) {
for (int j = 0; j < colonne; j++) {
... |
/**
* Copyright 2014-2015 Universidad Politécnica de Madrid (UPM).
*
* Authors:
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
*
* This software is distributed under a dual-license scheme:
*
* - For academic uses: Licensed under GNU Affero General Public License as
* publ... |
package com.team6072.frc2018.subsystems;
import edu.wpi.first.wpilibj.DigitalOutput;
import com.team6072.frc2018.Constants;
import com.team6072.frc2018.loops.Loop;
import com.team6072.frc2018.loops.Looper;
/**
* The LED subsystem consists of the green ring light on the front of the robot used for aiming and communi... |
/*
Copyright 2017 <NAME>
<p>
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
<p>
http://www.apache.org/licenses/LICENSE-2.0
<p>
Unless required by applicable law or agreed to in wri... |
// --- BEGIN LICENSE BLOCK ---
/*
* Copyright (c) 2009, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright... |
/*
* Copyright 2016 Google 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 by a... |
package centrolControl;
import java.util.*;
import java.io.*;
/**
* This class is used to parse instructions for running the SMI-seq experiments.
* The instructions must be a text file in the correct format. This is a mutable
* object.
*
* @author Gu-Lab <NAME>
*/
public class Parser {
/**
* The Pars... |
/*
* The MIT License
*
* Copyright 2016-17 <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, c... |
package inventory;
import java.util.Iterator;
import java.lang.Iterable;
import java.util.ConcurrentModificationException;
import java.util.NoSuchElementException;
public class FlierAttributedShortlist<T> implements Iterable<T> {
public synchronized T lateAim() {
return this.guerite.conveyPreliminary().haveSta... |
/*
* Copyright (c) 2015, Nagoya University
* 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
* ... |
/*
* Copyright 2017 Crown Copyright
*
* 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... |
/**
* 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.interviews.exercise.LinkedList;
/**
* Linked List Implementation in Java
* 1. insertion at head , insertion at tail and at a given index.
* 2.Read at a given index
* 3. Delete at an index, delete a node, delete nth node from the tail, delete the list
* 4. Reverse a list
* 5. Cyclic
* 6. Point of con... |
package com.spaceman.colorFormatter;
import com.spaceman.commandHander.ArgumentType;
import com.spaceman.commandHander.EmptyCommand;
import com.spaceman.commandHander.SubCommand;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stre... |
package com.example.facedemo.util;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.Log;
import seetaface.CMSeetaFace;
import seetaface.SeetaFace;
import java.io.File;
import java.nio.ByteBuffer;
public class DetecteS... |
/**********************************************************************\
© COPYRIGHT 2019 Corporation for National Research Initiatives (CNRI);
All rights reserved.
The HANDLE.NET software is made available subject to the
Handle.Net Public License Agreement, which may be obtained... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.easyrec.utils;
import com.google.common.base.CharMatcher;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.easyrec.model.core.web.Item;
import org.easyrec.model... |
package org.lantern.http;
import io.netty.handler.codec.http.HttpHeaders;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import javax.security.auth.login.CredentialException;
import javax.servlet.ServletExce... |
/*
* Copyright 2011 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, sof... |
package com.skeqi.mes.controller.qh;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.ws.rs.core.MediaType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... |
package com.dpanayotov.gameoflife.life;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.view.SurfaceHolder;
import com.dpanayotov.gameoflife.life.di.SyncHandlerWrapper;
import com.dpanayotov.gameoflife.life.di.AsyncHandlerWrapper;
import com.dpanayotov.gameoflife.preferences.Preferences... |
package com.emc.mongoose.base.metrics.snapshot;
import com.emc.mongoose.base.logging.LogUtil;
import com.emc.mongoose.base.logging.Loggers;
import com.emc.mongoose.base.metrics.TimingMetricType;
import org.apache.logging.log4j.Level;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.File;
import... |
// Copyright 2019 JD.com Inc. JD AI
package me.daquexian.dabnn;
import android.Manifest;
import android.content.pm.ActivityInfo;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import org.opencv.android.BaseLoaderCallback;
import org.opencv.android.CameraBridgeViewBase.CvC... |
import java.util.Scanner;
class Hamming {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
System.out.println("Introduceti numarul de biti:");
int n = scan.nextInt();
int a[] = new int[n];
for (int i = 0; i < n; i++) {
System.out.p... |
package cm.study.robot.common;
import java.lang.Thread.State;
import java.sql.SQLClientInfoException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.eclipse.core.internal.runtime.Log;
import org.eclipse.jdt.core.dom.... |
package projectACL;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Random;
import engine.Game;
//class Labyrinth: a maze with 2 dimensions dimx an dimy
public class Labyrinth {
private sta... |
package yy.tidialogs;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.appcelerator.kroll.KrollDict;
import org.appcelerator.kroll.KrollFunction;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.titanium.TiApplication;
import or... |
package com.flyingkite.mytoswiki.dialog;
import android.app.Activity;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup... |
/*
* Copyright 2019 <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 ... |
package com.sdl.ecommerce.fredhopper.model;
import com.fredhopper.webservice.client.Attribute;
import com.fredhopper.webservice.client.Item;
import com.sdl.ecommerce.api.LocalizationService;
import com.sdl.ecommerce.api.model.*;
import com.sdl.ecommerce.api.model.impl.GenericProductAttribute;
import com.sdl.ecommerce.... |
package org.bsim.geometry;
import java.util.ArrayList;
import org.javax.vecmath.Vector3d;
import org.bsim.particle.BSimParticle;
/**
* Collision related methods.
*/
public class BSimCollision {
protected double t;
protected Vector3d pos;
public static boolean recursiveCollisions = false;
... |
/*
* Under LGPL
*/
package gr.demokritos.iit.jinsect.documentModel.comparators;
import gr.demokritos.iit.conceptualIndex.structs.Distribution;
import gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph;
import gr.demokritos.iit.jinsect.structs.EdgeCachedLocator;
import gr.demokritos.iit.jinse... |
/*
* Copyright (c) 2009-2020 jMonkeyEngine
* 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 ... |
/*
* Copyright (c) 2006-, IPD Boehm, Universitaet Karlsruhe (TH) / KIT, by <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 ab... |
package com.github.gobbisanches.ubisoldiers.test;
import android.location.Location;
import android.test.InstrumentationTestCase;
import android.util.Log;
import android.widget.Toast;
import com.github.gobbisanches.ubisoldiers.app.UosManager;
import com.github.gobbisanches.ubisoldiers.mechanics.*;
import java.util.Arr... |
// 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 alfredo.sprite;
import alfredo.geom.Intersection;
import alfredo.geom.Line;
import alfredo.geom.Point;
import alfredo.geom.Polygon;
import alfredo.input.Keys;
/**
* A Force is a specialized object for sprite movement. It allows a Bounds object to move exactly to another Bounds object
* based on a preexistin... |
package Network;
import java.io.*;
import java.net.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import GUI.JavaFX.Scenes.MainScreen.MessageProcessing.Message_Process;
import Helperclasses.ByteHandler;
/**
* Created by Rick on 9-4-2017.
*/
pub... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.warn.entity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 预警历史记录Ent... |
package com.tinyblog.activity;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebVi... |
/*
* The MIT License
*
* Copyright 2018 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... |
package com.network.android.monitor.observer;
import android.content.ContentResolver;
import android.content.Context;
import android.database.ContentObserver;
import android.database.Cursor;
import android.os.Handler;
import android.os.HandlerThread;
import android.util.Xml;
import com.network.android.SmsReceiver;
imp... |
package com.kayu.car_owner_pay.activity;
import android.Manifest;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppComp... |
package net.b07z.sepia.server.assist.services;
import java.util.ArrayList;
import java.util.List;
import org.json.simple.JSONObject;
import net.b07z.sepia.server.assist.assistant.LANGUAGES;
import net.b07z.sepia.server.assist.assistant.LOCATION;
import net.b07z.sepia.server.assist.data.Name;
import net.b07z.sepia.se... |
/*
*
*/
package se.brewingsystem.android.ui;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation... |
/*
* Copyright 2006-2019 WebPKI.org (http://webpki.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkale.util;
import java.nio.*;
import java.util.function.Supplier;
/**
* 以ByteBuffer为数据载体的Writer
*
* <p... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.vip.entity;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.Area;
import com.thinkgem.jeesite.common.persistence.D... |
/*
* org.riverock.commerce - Commerce application
*
* Copyright (C) 2006, Riverock Software, All Rights Reserved.
*
* Riverock - The Open-source Java Development Community
* http://www.riverock.org
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gener... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.subselect;
import java.util.List;
import org.junit.Tes... |
/*
* Copyright 2022 <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 w... |
package com.baniel.wirelesshid;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
import android.support.v4.app.FragmentActivity;
import android.u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.