text stringlengths 3.52k 24k |
|---|
/*
* 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 ... |
/**
* @file
* @version 0.3
* Copyright © <NAME>
*
* @section LICENSE
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) ... |
package com.google.android.gms.games;
import android.database.CharArrayBuffer;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.gms.common.internal.DowngradeableSafeParcel;
import com.google.android.gms.common.internal.zzb;
import com.google.android.gms.... |
/**
*
*/
package com.trendrr.oss;
import java.util.Collection;
import java.util.Date;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* A prio... |
package org.yaml.snakeyaml.introspector;
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
im... |
package com.salesforce.data;
import com.salesforce.core.ConfigurationManager;
import com.salesforce.keys.ApplicationProperties;
import com.salesforce.testng.DataProviderUtil;
import com.salesforce.utilities.*;
import com.salesforce.utilities.JSONUtil;
import com.salesforce.utilities.RandomStringGenerator.RandomizerTyp... |
package view;
import MVC.View;
import business.Utilizador.Utilizador;
import java.awt.Component;
import java.awt.event.ActionListener;
import java.io.*;
import java.net.Socket;
import java.util.List;
import javax.swing.DefaultCellEditor;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.... |
package com.adleritech.flexibee.core.api;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.nio.charset.Charset;
import java.security.KeyStore;
import javax.net.ssl.HostnameVerifier;
import com.adleritech.flexibee.core.api.domain.AddressBookResponse;
import com.adleritech.flexibee.core.... |
// Author: <NAME> - Util.Reader
// Purpose:
// Scheme reader -- given a string containing Scheme source code, parses such into a
// Scheme data structure that may be either manipulated as data or evaluated as code
// => Hence code IS data and data IS code!
package Util;
import Type.Datum;
import java.util.A... |
// This file is part of CPAchecker,
// a tool for configurable software verification:
// https://cpachecker.sosy-lab.org
//
// SPDX-FileCopyrightText: 2007-2022 <NAME> <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.cpachecker.cpa.modificationsprop;
import com.google.common.c... |
package org.archive.util.binsearch;
/*
* Copied from DSI Utils to avoid overhead of full fastutils/dsiutils dependency
*/
/*
* DSI utilities
*
* Copyright (C) 2007-2013 <NAME>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... |
package io.edge.games.explorer.verticle;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import io.edge.games.explorer.bo.MatchmakingRequest;
import io.edge.games.explorer.service.MatchmakingServiceAPI;... |
/**
* Copyright 2017 Syncleus, Inc.
* with portions copyright 2004-2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... |
package com.example.aiui3.ui.notifications;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.camera.core.CameraInfoUnavailableException;
import androidx.camera.core.CameraX;
import androidx.camera.core.ImageCapture;
import androidx.camera.core.ImageCaptureConfig;
import androi... |
/*
* 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 ... |
import java.util.ArrayList;
import java.util.HashMap;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lb")
@Implements("ByteArrayPool")... |
package net.cell_lang;
import java.util.Random;
import java.util.Arrays;
import java.math.BigInteger;
public class Test_Ints231 {
static Random rand = new Random(0);
public static void run() {
for (int i=0 ; i < 100000 ; i++) {
int[] array = runRandomSortTest();
TestSearches_Ints231.run(array, 1... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
/*
* Copyright 2012 NGDATA 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 applicable law or agreed to in... |
package com.scienceminer.nerd.erd.corpus;
import java.util.ArrayList;
import java.util.List;
import java.io.*;
import com.scienceminer.nerd.disambiguation.NerdEngine;
import com.scienceminer.nerd.disambiguation.NerdEntity;
import com.scienceminer.nerd.mention.ProcessText;
import com.scienceminer.nerd.mention.Mention;... |
package org.wso2.carbon.device.mgt.iot.agent.firealarm.utils.mqtt;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.eclipse.paho.client.mqttv3.MqttMessage;... |
/*
* Copyright 2017 Google 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 ... |
/*
*
*
* 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.zomato;
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Scanner;
import GlobalClasses.HtmlUnitWebClient;
import com.dataTransferObject.ZomatoDto;
import com.gargoylesoftware.html... |
package com.company;
import javax.crypto.*;
import java.io.*;
import java.net.Socket;
import java.security.*;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
public class Hilo2 extends Thread{
private final String RUTAUSUARIOS = "Usuarios.dat";
private final String... |
package club.peiyan.goaltrack.plan;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.DialogFragment;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.annotation.Nullable;
import ... |
package com.phase2technology.jenkins;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.kohsuke.stapler.Stapler;
import hudson.model.Hudson;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import com.thoug... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.ml.aggs.heuristic;
import org.apa... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 <NAME> and <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... |
/**
* This software is released as part of the Pumpernickel project.
*
* All com.pump resources in the Pumpernickel project are distributed under the
* MIT License:
* https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt
*
* More information about the Pumpernickel project is available he... |
package config;
import java.util.HashMap;
import com.expression.parser.Parser;
import com.expression.parser.util.*;
public abstract class Formule {
// classe abstraite pour calculer les notes à partir des formules de config
// pas instanciable, utiliser les méthodes statiques
private static String formulaM = "";... |
package com.wy.crl;
import java.io.BufferedOutputStream;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation... |
package graphic_objects.figures;
import core.Screen;
import core.geometry_algorithms.VectorAlgo;
import graphic_objects.GraphicObject;
import graphic_objects.figures.Point2D.PointType;
import graphic_objects.figures.properties.ArcProperties;
import java.awt.*;
import java.awt.geom.Arc2D;
import java.util.ArrayList;
... |
package com.github.feifuzeng.style.java.lambdas;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.IntSummaryStatistics;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.function.Consumer;
import java.util.function.Predicate;
import static java.util.stream.Co... |
package zimu.common.sites;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import cn.hutool.core.codec.Base64;
import cn.hutool.core.util.CharsetUtil;
import cn.h... |
package com.mactrix.www.readingnotepro;
import android.Manifest;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handl... |
package ui.view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
im... |
package graphics.shadows;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import entity.Entity;
import entity.Player;
import graphics.TileM... |
package cl.uchile.dcc.scrabble.operationtree.logical;
import cl.uchile.dcc.scrabble.model.IScrabble;
import cl.uchile.dcc.scrabble.model.notnumber.Scrabble_Bool;
import cl.uchile.dcc.scrabble.model.notnumber.Scrabble_String;
import cl.uchile.dcc.scrabble.model.number.Scrabble_Binary;
import cl.uchile.dcc.scrabble.mode... |
package com.taolibrary.widget.ui;
import android.content.Context;
import android.content.res.Resources;
import android.util.DisplayMetrics;
import android.util.Log;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.io.Serializable;
/*... |
package com.appyhome.appyproduct.mvvm.data.model.db;
import com.appyhome.appyproduct.mvvm.data.model.api.service.AppointmentCreateRequest;
import com.crashlytics.android.Crashlytics;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
public class ServiceOrderUserInput {
publ... |
/*
* Copyright (c) 2009 University of Durham, England 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 org.usfirst.frc.team1458.robot;
import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonObject;
import com.eclipsesource.json.WriterConfig;
import com.team1458.turtleshell2.sensor.PDP;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Timer;
import java.io.BufferedReader;
... |
package com.ider.mouse;
import android.annotation.SuppressLint;
import android.app.Instrumentation;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import ... |
package agents;
import logic.KnowledgeBase;
import logic.Point;
import logic.ResultNode;
import logic.pathfinder.MapGraph;
import wumpus.Agent;
import wumpus.Environment;
import wumpus.Player;
import java.util.*;
public class BCAgent implements Agent {
private int w, h;
private boolean debug = true;
Li... |
/*
* Copyright (C) 2014 RoboVM AB
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distribu... |
/**
* Copyright 2011 <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 ... |
package com.threathunter.greyhound.server.batch;
import com.threathunter.bordercollie.slot.compute.SlotEngine;
import com.threathunter.bordercollie.slot.compute.SlotQuery;
import com.threathunter.bordercollie.slot.compute.cache.StorageType;
import com.threathunter.common.Identifier;
import com.threathunter.config.Comm... |
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2008 <NAME> and <NAME>
Copyright (c) 2020 <NAME> (1984)- Sweden
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gener... |
/*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
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 ... |
package com.elsner.VideoConverter.Utils;
import android.Manifest;
import android.app.Activity;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.Environment;
import androidx.core.app.ActivityCompat;
import java.io.File;
import java.util.ArrayList;
public class Cons... |
/* *****************************************************************
*
* Copyright 2022 Montera Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
/**
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
* <p>
* WSO2 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
* <p>
* http://www.apac... |
package org.firstinspires.ftc.teamcode.hardware.constants;
import com.acmerobotics.roadrunner.control.PIDCoefficients;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.qualcomm.robotcore.hardware.PIDFCoefficients;
/**
* Constants shared between multiple drive types.
*
* Constants generated by LearnR... |
package net.aflb.kaas.engine;
import net.aflb.kaas.core.model.Team;
import net.aflb.kaas.core.model.competing.Match;
import net.aflb.kaas.core.model.competing.WinDsq;
import net.aflb.kaas.core.spi.ManualInterventionException;
import net.aflb.kaas.core.spi.MatchResultProcessor;
import net.aflb.kaas.core.spi.RaceNotFoun... |
/*
*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 m... |
/* Class254_Sub1 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
final class Class254_Sub1 extends Class254 {
static int anInt5519 = 0;
static int anInt5520;
int anInt5521;
static int anInt5522;
static int anInt5523;
int anInt5524;
Class254_Sub1(Class118 class118, Class150 class150, int i, int i... |
/*
* 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 rollcall;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.control.Alert... |
/*
* Copyright (c) 2020. 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, so... |
/*
* Copyright (c) 2008-2016, KNOPFLERFISH project
* 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 ... |
package org.gooru.nucleus.handlers.classes.processors.repositories.activejdbc.entities;
import java.util.List;
import java.util.ResourceBundle;
import java.util.UUID;
import org.gooru.nucleus.handlers.classes.processors.repositories.activejdbc.converters.FieldConverter;
import org.gooru.nucleus.handlers.classes.proces... |
package com.inicu.postgres.entities;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import... |
package com.gu.typesafe.config.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import com.gu.typesafe.config.ConfigException;
import com.gu.typesafe.config.ConfigObject;
import com.gu.typesafe.config.ConfigOrigin;
import com.gu.typesafe.config.Config... |
package com.deeal.fragment;
import java.util.HashMap;
import java.util.LinkedList;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.format.DateUtils;
import android.view.LayoutInflater;
import android.view.View;
import an... |
/*
* The University of Wales, Cardiff Triana Project Software License (Based
* on the Apache Software License Version 1.1)
*
* Copyright (c) 2007 University of Wales, Cardiff. All rights reserved.
*
* Redistribution and use of the software in source and binary forms, with
* or without modification, are permitted... |
//************************************************************
// Copyright 2019 ANI Technologies Pvt. Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org... |
/*******************************************************************************
* * Copyright 2015 Impetus Infotech.
* *
* * 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
* *
... |
/*
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... |
/*
* 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 challenge.android.mcs.com.ttt.activity;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.vie... |
/*
* Copyright (c) 2010, <NAME>
* All rights reserved.
*
* Made available under the BSD license - see the LICENSE file
*/
package sim.components;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import sim.Config;
import sim.routing.RoutingFunction;
public class Router extends Console
... |
package org.kettle.trans.steps.coalesce;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.kettle.trans.steps.coalesce.Coalesce;
import org.kettle.trans.steps.coalesce.CoalesceMeta;
import org.pentaho.di.core.RowMetaAndData;
import org.pentaho.di.core.plugins.PluginRegist... |
package com.google.android.gms.internal;
import java.io.IOException;
public final class zzta extends zzte<zzta> {
public String[] zzbpA;
public int[] zzbpB;
public byte[][] zzbpC;
public zzta() {
zzHh();
}
public static zzta zzA(byte[] bArr) throws zztj {
return (zzta) zztk.m... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject... |
/*
* Copyright 2014 <NAME>. (http://www.onehippo.com)
*
* 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 protocol;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import static java.lang.System.currentTimeMillis;
import java.util.ArrayList;
import javax.crypto.BadPa... |
/*
* Copyright (c) 2004-2007 Sun Microsystems, Inc. All rights reserved.
*
* The Sun Project JXTA(TM) Software License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code ... |
/*
* 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 ... |
/* PNGHeader.java -- PNG Header
Copyright (C) 2006 Free Software Foundation
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your opti... |
/*
Copyright (C) 2021, <NAME>, CINCHEO (SAS), SIREN 801936881, VAT #FR68801936881.
All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for
educational and research purposes, without fee and without a signed licensing agreement, is hereby granted, provided
that t... |
package io.youcham.modules.activity.controller;
import io.youcham.common.utils.R;
import io.youcham.modules.activity.service.ActUserStepService;
import io.youcham.modules.activity.service.ActivityService;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Unsuppor... |
package seedu.tarence.logic.finder;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import me.xdrop.fuzzywuzzy.FuzzySearch;
import seedu.tarence.logic.commands.exceptions.CommandException;
import seedu.tarence.model.Model;
import seedu.tarence.mod... |
package game.item;
import util.BmpRes;
import graphics.Canvas;
import game.block.Block;
import game.entity.*;
import game.world.World;
import game.item.Item;
import static java.lang.Math.*;
import static util.MathUtil.*;
public class GuidedBulletManager extends Vehicle{
private static final long serialVersionUID=184... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL")... |
package soya.framework.curl.support;
import com.bazaarvoice.jolt.Chainr;
import com.bazaarvoice.jolt.JsonUtils;
import com.google.common.io.CharStreams;
import com.google.gson.*;
import com.jayway.jsonpath.Configuration;
import com.jayway.jsonpath.DocumentContext;
import com.jayway.jsonpath.JsonPath;
import com.jayway... |
/*
PreCorrect.java
2012 Ⓒ CloudBrush, developed by <NAME> (<EMAIL>),
released under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
at: https://github.com/ice91/CloudBrush
*/
package Brush;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.... |
package com.google.mihnita;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import com.google.mihnita.msgfmt_proto.MessageFormat.Cases;
import com.google.mihnita.msgfmt_proto.MessageFormat.MFDM;
imp... |
package io.grpc.longlivedstreams.server.streaming;
import io.grpc.longlivedstreams.server.address.AddressInterceptor;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import io.grpc.longlivedstreams.server.subscription.*;
import io.grpc.stub.ServerCallStreamObserver;
import io.grpc.stub.StreamObserver;
i... |
package com.cla.sds.pcclient;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.net.URLEncoder;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.Cookie;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.cla.sds.SdsUserContext;
im... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.sayee.sxsy.modules.sys.entity;
import java.util.List;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.sayee.sxsy.common.persiste... |
package net.izenith.Kit;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.fi... |
package jidnet.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Polygon;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Observable;
import java.util.Observer;
import javax.swing.JPanel;
import jidn... |
/*
Copyright (c) 2010, NHIN Direct Project
All rights reserved.
Authors:
<NAME> <EMAIL>
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 2012-present Facebook, 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... |
package miska.heady;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.util.... |
package scouter.agent.counter.task;
/*
* 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, ... |
package au.com.codeka.carrot.tag;
import au.com.codeka.carrot.CarrotException;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import java.util.Arrays;
import static au.com.codeka.carrot.util.RenderHelper.render;
import static com.google.common.truth.Truth.assertThat;
/**
*... |
package no.ssb.vtl.script.operations;
/*-
* ========================LICENSE_START=================================
* Java VTL
* %%
* Copyright (C) 2016 - 2018 <NAME>
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... |
package com.qq.googleplay.ui.activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.text.TextUtils;
import android.text.method.HideReturnsTransformationMethod;
import android.text.method.PasswordTransformationMethod;
import android.view.KeyEvent;
import android.... |
package com.github.mirs.banxiaoxiao.framework.common.util;
/**
* <pre>
* 将多个int正整型合并为一个long型进行存储,并通过xor运算计算两组int是否匹配
* MultiEnumVal64 int正整数取值必须大于0,0值用于MultiVal64本身特殊计算使用,<=0表示不参与匹配计算。
* 如:业务中需要根据行人是否戴眼镜、是否戴帽子、衣服颜色来进行查询
* 是否戴眼镜取值: 1 未知 ; 2 戴眼镜 ; 3 不带眼镜 ;
* 是否戴帽子取值: 1 未知 ; 2 戴帽子 ; 3 不带帽子 ;
* 衣服的颜色取值: 1 未知 ; 2 红色... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.