text stringlengths 3.08k 15.2k |
|---|
package com.dk.view.patheffect;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PathMeasure;
import android.os.Build;
import android.util.Attribut... |
package fr.inria.hocl.core.hoclc2j;
import java.util.*;
/**
* Descriptor of a variable
*
*/
public class AtomVarPat implements AtomPattern {
final String name;
String javaType;
private Access access; // rewrite or read-only
public External reactionCondition; // FIXME ReactionCondition
private ReactionR... |
package com.sequenceiq.environment.environment.dto;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.apache.commons.collections4.CollectionUtils;
import com.sequenceiq.environment.api.v1.environment.model.request.CredentialAwareEnvRe... |
package mods.banana.economy2.itemmodules.items;
import com.google.gson.*;
import mods.banana.bananaapi.helpers.PredicateHelper;
import mods.banana.bananaapi.helpers.TagHelper;
import mods.banana.bananaapi.itemsv2.StackBuilder;
import mods.banana.economy2.Economy2;
import mods.banana.economy2.itemmodules.display.Matche... |
/*
* 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 org.firstinspires.ftc.teamcode.test.monkeyCopy;
import android.os.Environment;
import com.opencsv.CSVReader;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.util.ElapsedTime;
import org.firstinspires.ftc.robotco... |
/*
* This file is part of libbluray
* Copyright (C) 2010 <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 late... |
package org.bsim;
import java.io.File;
import java.util.Calendar;
import java.util.Random;
import org.javax.vecmath.AxisAngle4d;
import org.javax.vecmath.Matrix3d;
import org.javax.vecmath.Vector3d;
/**
* Utility functions.
* Defines a wide array of utility functions used throughout BSim.
*/
public class BSimUtil... |
package com.app.chat;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
imp... |
package com.caryatri.caryatri;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import an... |
/*
* Copyright 2009 Red Hat, Inc.
*
* Red Hat 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 required by ... |
/*
* Copyright (c) Telefonica I+D. All rights reserved.
*/
package com.elevenpaths.almaraz.webfilters;
import org.slf4j.MDC;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
impor... |
package com.yz.action;
import com.opensymphony.xwork2.ActionSupport;
import com.yz.model.*;
import com.yz.service.*;
import com.yz.util.AjaxMsgUtil;
import com.yz.vo.AjaxMsgVO;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.inter... |
import java.awt.Color;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.JTextField;
... |
package BC_sms_app_client;
//package com;
import java.net.*;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound... |
package benchmark.cpu;
import com.max.algs.util.ArrayUtils;
import org.openjdk.jmh.annotations.*;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;
import java.util.ArrayDeque;
impor... |
package ai.yue.library.data.jdbc.client;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.springframework.jdbc.core.simple.SimpleJdbcInsert;
import org.springframework.lang.Nullable;
import org.springframework.transaction.annotation.Transactional;
import com.alibaba.fastjs... |
package agersant.polaris.features.smart_search;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
impor... |
package com.alison.date;
/**
* @Author alison
* @Date 2020/4/18
* @Version 1.0
* @Description 时间格式
*/
@SuppressWarnings("ALL")
public enum DataTimeFormat {
TimestampM(0, "时间戳(长整型毫秒)", "sss", true, "[\\d]{13}"),
TimestampS(1, "时间戳(长整型秒)", "ss", true, "[\\d]{10}"),
DataTimeFormat1(2, "", "yyyy年MM月dd日", ... |
package dev.webfx.website.application.cards;
import dev.webfx.extras.webtext.controls.HtmlText;
import dev.webfx.website.application.images.SvgLogoPaths;
import dev.webfx.website.application.shared.LayoutPane;
import dev.webfx.website.application.shared.ScalePane;
import dev.webfx.website.application.shared.WebSiteSha... |
package org.openbakery.racecontrol.gui;
import java.io.IOException;
import org.openbakery.jinsim.request.ButtonFunctionRequest;
import org.openbakery.jinsim.request.ButtonRequest;
import org.openbakery.jinsim.response.InSimListener;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;... |
package interactors.series_data_file;
import static java.util.regex.Pattern.compile;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
im... |
package rovi.iq;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.CountDownTimer;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;... |
package com.nilhcem.blefun.mobile.interact;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
... |
/***************************************
* Copyright (c) 2008
* <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 ... |
package io.ace.nordclient.hacks.combat;
import io.ace.nordclient.CousinWare;
import io.ace.nordclient.event.PacketEvent;
import io.ace.nordclient.hacks.Hack;
import io.ace.nordclient.managers.FriendManager;
import io.ace.nordclient.managers.RotationManager;
import io.ace.nordclient.mixin.accessor.ICPacketPlayer;
impor... |
/* Copyright 1999 <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 to in writing,... |
/*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2020 Groupon, Inc
* Copyright 2020-2020 Equinix, Inc
* Copyright 2014-2021 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with t... |
package org.firstinspires.ftc.teamcode;
import android.os.Environment;
import android.util.Xml;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.terab... |
package gui.progress;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.LinearGradientPaint;
import java.awt.MultipleGradientPaint.CycleMethod;
import java.awt.Rectangle;
import java.awt.geom.Point2D;
import javax.swing.JProgressBar;
/**
* @author <NAME>
* ... |
/**
* (C) Copyright 2011-2015 FastConnect SAS
* (http://www.fastconnect.fr/) and others.
*
* 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... |
/*
* Copyright 2016-2017 The Sponge 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 applicable law... |
package Thread.Thread_Karls;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.Random;
class aObject implements Runnable {
private boolean suspendFlag = false;
private boolean exit = false;
private int value;
private String threadName;
private int counter = 1;
JProg... |
/*
* 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 co.edu.uniandes.csw.farmacia.test.persistence;
import co.edu.uniandes.csw.farmacia.entities.ProductoEntity;
import co.edu.unia... |
package nl.knokko.collision;
import nl.knokko.util.Facing;
import nl.knokko.util.Maths;
import org.lwjgl.util.vector.Vector3f;
public class ColliderBox extends Collider {
protected float minX;
protected float minY;
protected float minZ;
protected float maxX;
protected float maxY;
protected float maxZ;
pu... |
package Utils;
import android.app.ActivityManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Process;
import android.t... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* 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 ... |
/*
* 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 ed.synthsys.seek.client;
import ed.synthsys.seek.dom.assay.Assay;
import ed.synthsys.seek.dom.common.ApiResponseDatum;... |
package cos.mos.toolkit.media.video;
import com.coremedia.iso.boxes.Container;
import com.coremedia.iso.boxes.TimeToSampleBox;
import com.googlecode.mp4parser.authoring.Movie;
import com.googlecode.mp4parser.authoring.Track;
import com.googlecode.mp4parser.authoring.builder.DefaultMp4Builder;
import com.googlecode.mp4... |
package io.kestra.plugin.jdbc;
import com.google.common.collect.ImmutableList;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Date;
import java.sql.*;
import java.time.*;
import java.time.format.DateTimeParseException;
import java.util.*;
public abstract class AbstractCellConverter {
p... |
package yokwe.security.usa.iex.data;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.stream.Collectors;
import org.slf4j.LoggerFactory;
import yokwe.UnexpectedException;
import yokwe.security.usa.iex.Context;
import yokw... |
/*
* MIT License
*
* Copyright (c) 2016 Alibaba Group
*
* 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 u... |
/*
* 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 - The University of Edinburgh 2011 |
//| |
//| Licensed under the Apache License, Version 2.0 (the "License"); |
//| you may not use this file except in compliance with the License. |
//| You ... |
/*
* MIT License
*
* Copyright (c) 2020 BioAgri S.r.l.s.
*
* 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,... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.leansoft.luxun.producer;
import java.io.Closeable;
import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.slf4j.Logger;
import org.s... |
package presenter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import play.Logger;
import chat.command.ChatCommand.UserLeaveChat;
import com.googlecode.protobuf.format.JsonFormat;
import... |
package io.github.rocketk.jorm.util;
import io.github.rocketk.jorm.err.JormQueryException;
import java.io.ByteArrayInputStream;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
/**
* @author pengyu
* @date 2022/3/29
*/
... |
package src.games.Poker;
import games.Arena;
import games.Arena.Task;
import tools.ScoreTuple;
import tools.Types;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import j... |
package property.abolish.archery;
import com.google.gson.Gson;
import io.javalin.Javalin;
import io.javalin.core.security.Role;
import io.javalin.http.BadRequestResponse;
import io.javalin.http.Context;
import io.javalin.plugin.json.JavalinJson;
import org.jdbi.v3.core.Handle;
import org.jdbi.v3.core.Handles;
import o... |
package cn.natdon.onscripter;
import java.util.Calendar;
import java.util.Timer;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.egl.EGL10;
import javax.microedition.khronos.egl.EGL11;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.egl.EGLContext;... |
package es.weso.shexsjava;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.logging.Logger;
import cats.effect.IO;
import es.weso.rdf.RDFReader;
import es.weso.rdf.jena.RDFAsJenaModel;
import es.weso.rdf.nodes.IRI;
i... |
package com.dreebit.i18nextResourceGenerator;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.ui.MessageType;
import com.intellij.openapi.ui.popup.Balloon;
import com.intell... |
package minimap.settings;
import net.minecraft.util.*;
import net.minecraft.client.resources.*;
public enum ModOptions
{
EDIT("gui.xaero_change_position", false, true),
RESET("gui.xaero_reset_defaults", false, true),
DEFAULT("Default", false, true),
DOTS("gui.xaero_entity_colours", false, true),
... |
/*
* OtterTune - SAPHanaCollector.java
*
* Copyright (c) 2017-18, Carnegie Mellon University Database Group
*/
package com.controller.collectors;
import com.controller.util.JSONUtil;
import com.controller.util.json.JSONException;
import com.controller.util.json.JSONObject;
import com.controller.util.json.JSONStri... |
/*
* This file is part of adventure-platform, licensed under the MIT License.
*
* Copyright (c) 2018-2020 KyoriPowered
*
* 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 restric... |
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.VersionUpdater.classes;
import com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.VersionUpdater.classes.Checker;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.cla... |
/*
* Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 <NAME>
*
* This file is part of the SmallMind Code Project.
*
* The SmallMind Code Project is free software, you can redistribute
* it and/or modify it under either, at your discretion...
*
* 1) The terms of GN... |
/*
* Copyright 2013-2015 microG Project Team
*
* 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.hopen.darts.utils.image;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics... |
package bob.sun.bender.theme;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import c... |
/*
* Copyright © "Open Digital Education", 2016
*
* This program is published by "Open Digital Education".
* You must indicate the name of the software and the company in any production /contribution
* using the software and indicate on the home page of the software industry in question,
* "powered by Open Digita... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.affair.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.util... |
package com.noelbundick.comparisons.search;
import com.azure.search.ApiKeyCredentials;
import com.azure.search.SearchIndexAsyncClient;
import com.azure.search.SearchServiceAsyncClient;
import com.azure.search.SearchServiceClientBuilder;
import com.azure.search.models.*;
import com.fasterxml.jackson.databind.Deserializ... |
/*
* Copyright (c) 2017 Me4502 (<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, merge, pub... |
package com.movitech.library.utils;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.net.Uri;
import andr... |
/*
<NAME> 10774920
This activity shows information about a users current taks and allows him/her to indicate that
the task is finished.
*/
package com.example.johan.roommatehelper;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.support.design.widget... |
package com.twu.biblioteca;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;
public class BibliotecaApp {
private Library library;
private HashMap<String, User> members;
private User currentUser;
public BibliotecaApp() {
ArrayList<Book> books = new ArrayList<B... |
package com.example.okhttp_crud;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.provider.MediaStore;
import androi... |
package com.github.kuangcp.simple;
import com.github.kuangcp.common.Human;
import com.github.kuangcp.common.Junior;
import com.github.kuangcp.common.Student;
import java.util.Date;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
/**
* Created by https://github.com/kuangcp on 18-1-11 下午5:38
* 这个泛型类的使用 和 集合... |
/*
* 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... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2019 by <NAME> : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (... |
package com.d.music.widget.flowlayout;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
import android.util.AttributeSet;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import com.d.music.R;
/**
* FlowLayout
* Created by D on... |
package com.solace.spring.boot.autoconfigure;
import com.solacesystems.jcsmp.SpringJCSMPFactoryCloudFactory;
import org.json.JSONObject;
import org.junit.After;
import org.junit.Rule;
import org.junit.contrib.java.lang.system.EnvironmentVariables;
import org.springframework.boot.test.util.EnvironmentTestUtils;
import ... |
/**
* Copyright (c) 2014, 2018 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 o... |
package calculator;
import calc_mvc.CalculatorModel;
import calc_mvc.CalculatorObservable;
public class Model extends CalculatorObservable implements CalculatorModel{
private enum States {WAITING_NUMBER, INPUTING_1ST_NUMBER, INSERTING_OPERATOR, INSERTING_2ND_NUMBER, FINISHED_OPERATION};
private final char NO_OPERA... |
package src.gameobjects;
import src.Collidable;
import src.GameWorld;
import java.awt.*;
import java.awt.image.BufferedImage;
public class Explorer extends GameObject implements Collidable {
private static int vx , vy;
private int initX, initY, prevX, prevY, angle;
private int bullets = 0, lives = 3, sc... |
package com.android.systemui.qs;
import android.content.Context;
import android.graphics.drawable.AnimatedVectorDrawable;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.android.systemui.R;
import java.util... |
/***** BEGIN LICENSE BLOCK *****
* Version: EPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* License Version 1.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.eclipse.org/legal/epl-... |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... |
/*
* 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.necer.ncalendar.painter;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import com.necer.entity.CalendarDate;
import com.necer.painter.CalendarPainter;
import com.necer.utils.CalendarUtil;
import ... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright (C) 2019 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.socks.jiandan.model;
import java.io.Serializable;
/**
* Created by zhaokaiqiang on 15/4/8.
*/
public class Picture implements Serializable {
public static final String URL_DUANZI = "http://jandan.net/?oxwlxojflwblxbsapi=jandan.get_pic_comments&page=";
public static final String URL_SYSTER = "http://j... |
package gj.kalah.player.second;
public class Board {
private int[][] board = new int[2][7];
public void fillBoard() {
for (int i = 0; i < 6; i++) {
board[0][i] = 4;
board[1][i] = 4;
}
}
public void boardMove(int player, int bowl) {
int points = bowlPoints(player, bowl);
int side = p... |
package io.quarkus.qute;
import static io.quarkus.qute.Parameter.EMPTY;
import io.quarkus.qute.Results.Result;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.CompletableFuture;
import ja... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/**
* There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
*/
package com.thinkgem.jeesite.modules.pms.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.thinkgem.jeesite.common.persistence.BaseDao;
import com.thinkgem.jeesite.common.persistence.... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.resfandiari.cafebazaar_market;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import com.resfandiari.cafebazaar_market.util.IabException;
import com.resfandiari.cafebazaar_market.util.IabHelper;
import com.resfandiari.cafebazaar_market.util.IabResult;
import com.resfa... |
package yaw;
import yaw.engine.UpdateCallback;
import yaw.engine.World;
import yaw.engine.items.HitBox;
import yaw.engine.items.ItemGroup;
import yaw.engine.items.ItemObject;
import yaw.engine.light.AmbientLight;
import yaw.engine.light.DirectionalLight;
import yaw.engine.meshs.Mesh;
import yaw.engine.meshs.MeshBuilde... |
package tests.restapi.copy_import.strings;
import org.apache.wink.json4j.JSONObject;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import tests.com.ibm.qautils.FileUti... |
/*
* Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
* Copyright [2016-2019] EMBL-European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
/*
* 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... |
/*
* 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 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 ... |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.