text stringlengths 3.52k 24k |
|---|
package com.jpmorgan.cakeshop.service.impl;
import com.google.common.collect.ObjectArrays;
import com.jpmorgan.cakeshop.bean.GethConfig;
import com.jpmorgan.cakeshop.dao.ContractDAO;
import com.jpmorgan.cakeshop.error.APIException;
import com.jpmorgan.cakeshop.model.Contract;
import com.jpmorgan.cakeshop.model.Contrac... |
package com.amazonaws.schemamanager.repo;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedLi... |
package limax.endpoint.variant;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import limax.defines.VariantBeanDefine;
import limax.defines.VariantDefines;
import limax.defines.VariantNameIds;
import limax.defines.VariantVariab... |
package com.aura.cache.loaders;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.aura.Aura;
import com.aura.Brush;
import com.aura.Brush.Align;
import com.aura.Brush.Gradient;
import... |
package org.earthChem.dal.rest;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.net.URLEncoder;
import java.util.List;
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProt... |
/*
* Copyright (C) 2010 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.birdbraintechnologies.birdblox.Bluetooth;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanFilter;
import ... |
package com.atlassian.plugin.connect.confluence.blueprint;
import com.atlassian.confluence.api.model.content.ContentBody;
import com.atlassian.confluence.api.model.content.ContentRepresentation;
import com.atlassian.confluence.api.service.content.ContentBodyConversionService;
import com.atlassian.confluence.api.servic... |
/*
* This file is part of FoxCore, licensed under the MIT License (MIT).
*
* Copyright (c) gravityfox - https://gravityfox.net/
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to ... |
package com.sap.oss.phosphor.fosstars.model.tuning;
import com.sap.oss.phosphor.fosstars.model.Parameter;
import com.sap.oss.phosphor.fosstars.model.Tunable;
import com.sap.oss.phosphor.fosstars.model.Weight;
import com.sap.oss.phosphor.fosstars.model.qa.TestVectorResult;
import com.sap.oss.phosphor.fosstars.model.qa.... |
import java.io.*;
import java.util.*;
public class BloodDistribution {
private static boolean[] marked; // true if s->v path in residual network
private static FlowEdge[] edgeTo; // last edge on s->v path
private static int value; // value of flow
public static void main(String[]args) throws IOExcepti... |
/*
* Copyright 2018-2019 <NAME> (https://www.dariolucia.eu)
*
* 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 requir... |
/*
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/*
* Copyright 2015 <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 t... |
package application.controller;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.ResourceBundle;
import application.database.SQLiteDataBase;
import application.model.ControlledScene;
import application.model.annotation.Conflic... |
/*
* 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 APFE.WFnet_OP;
import APFE.OPResponse;
import APFE.input.models.OPInfo;
import APFE.constants.Constants;
import APFE.WFnet.Wor... |
package com.kosmx.emotecraft.config;
import com.google.gson.JsonParseException;
import com.kosmx.emotecraft.Client;
import com.kosmx.emotecraft.Emote;
import com.kosmx.emotecraft.Main;
import com.kosmx.emotecraft.network.EmotePacket;
import com.kosmx.emotecraft.playerInterface.EmotePlayerInterface;
import io.netty.buf... |
/*
* JdbControlDialog.java
*
* Copyright (C) 2002-2003 <NAME>
* $Id: JdbControlDialog.java,v 1.7 2003/05/20 15:35:15 piso Exp $
*
* 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 v... |
package com.ludo.LUDOSimulator;
import com.genetic.Chromosome;
import com.neural.SemiSmartLUDOTrainer;
import com.neural.prprNeuralLUDOPlayer;
import com.neural.prprTDLUDOPlayer;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import jav... |
/*******************************************************************************
* Copyright C 2012, The Pistoia Alliance
*
* 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 restr... |
package com.iappsam;
import java.io.Serializable;
import java.sql.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persist... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
/*
* Copyright © 2017 Bobulous <http://www.bobulous.org.uk/>.
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/.
*/
package uk.org.bobulous.java.crypto.keccak;
/**... |
package view.managers;
/* Zindex :
- -4 : background
- -3 : floor
- -2 : crater
- -1 : wall 0
- 0 : walls
- 1 : robot base
- 2 : robot surface
- 3 : robot move
- 4 : robot canon
- 5 : robot hit marker
- 6 : bullets
- 7 : UI 0
- 8 : UI 1
*/
import com.codingame.game... |
package com.example.notifyhostilephonecalls.fragments;
import android.app.Activity;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.L... |
package io.rong.imkit.utils.videocompressor;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.media.MediaMetadataRetriever;
import android.os.Build;
import android.text.TextUtils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import ja... |
// Decompiled by: Fernflower v0.6
// Date: 16.01.2011 23:09:05
// Copyright: 2008-2009, Stiver
// Home page: http://www.reversed-java.com
package org.xmlpull.v1.wrapper.classic;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpu... |
package comp9321.assignment2.bookstore.helpers;
import java.util.ArrayList;
import java.util.HashSet;
import comp9321.assignment2.bookstore.beans.Graph;
import comp9321.assignment2.bookstore.beans.GraphEdge;
import comp9321.assignment2.bookstore.beans.GraphNode;
import comp9321.assignment2.bookstore.dao.GraphDAO;
pu... |
/*
* Copyright (C) 2021 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.vies.viesmachines.client.entity.machines.water.renderers.submarine;
import com.vies.viesmachines.api.References;
import com.vies.viesmachines.common.entity.machines.EntityMachineWater;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.model.Mo... |
package com.heqifuhou.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.MotionEve... |
/*
* 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 (C) 2003-2010 Institute for Systems Biology
** Seattle, Washington, USA.
**
** 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; eithe... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
package evosteer;
import processing.core.PApplet;
import java.util.ArrayList;
import static evosteer.EvolutionSteer.AXON_START_MUTABILITY;
import static evosteer.EvolutionSteer.STARTING_AXON_VARIABILITY;
import static evosteer.EvolutionSteer.font;
import static processing.core.PApplet.*;
import static processing.cor... |
package android.support.v7.p014a;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.res.TypedArray;
import android.os.Build.VERSION;
import android.support.v4.p004h.bu;
import android.support.v4.p012g.C0107a;
import android.support.v7.p015b.C0243l;
import android.support.v7.... |
package org.team5148.rapidreact;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj.XboxController;
import edu.wpi.first.wpilibj.GenericHID.RumbleType;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
import org.team5148.lib.Vector3;
import org.team5148.rap... |
package org.mockserver.mockserver.callback.server;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.h... |
package ch.bisi.jicon.colorfinder;
import static java.lang.StrictMath.floor;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
/**
* Utility class for finding the main color ... |
package org.otpr11.itassetmanagementapp.ui.controllers;
import static org.otpr11.itassetmanagementapp.utils.JFXUtils.createText;
import java.util.ResourceBundle;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.la... |
/*
* 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 required by... |
package org.geneontology.minerva.legacy;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.geneontology.minerva.MolecularModelManager.UnknownIdentifierException;
import org.geneont... |
package org.firstinspires.ftc.teamcode;
//import com.acmerobotics.dashboard.FtcDashboard;
//import com.acmerobotics.dashboard.telemetry.MultipleTelemetry;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import org.blueprint.ftc.core.Constants;
import org.blueprint.ftc.core.controllers.MecanumDriveControll... |
/*
* Copyright (c) 2007-2010, <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of conditions and t... |
package view;
import javax.swing.*;
import java.awt.Font;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import controller.ShowEmployeeListener;
import model.Config;
import model.Employee;
import model.EmployeeInfo;
import model.MessageDialog;
import java.awt.event.ActionListener;
import jav... |
// Licensed under the Apache License, Version 2.0
package com.flingtap.done;
import java.util.HashMap;
import java.util.Map;
import com.flingtap.common.HandledException;
import com.flingtap.done.provider.Task;
import com.flingtap.done.provider.Task.TaskAttachments;
import com.flurry.android.FlurryAgent;
import com.... |
package arekkuusu.enderskills.common.skill.ability.mobility.ender;
import arekkuusu.enderskills.api.capability.Capabilities;
import arekkuusu.enderskills.api.capability.data.SkillData;
import arekkuusu.enderskills.api.capability.data.SkillInfo;
import arekkuusu.enderskills.api.capability.data.SkillInfo.IInfoCooldown;
... |
/*
* Java GPX Library (@__identifier__@).
* Copyright (c) @__year__@ <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
*
* U... |
/*
* Copyright 2019 The Bazel Authors. 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 quoridor.ui.view;
import quoridor.ui.MainFrame;
import quoridor.ui.custom.JButtonMenu;
import quoridor.ui.listener.DeuxJoueursListener;
import quoridor.ui.listener.JComboListener;
import quoridor.ui.listener.NouvellePartieListener;
import sun.applet.Main;
import sun.audio.AudioData;
import sun.audio.AudioPlaye... |
/*******************************************************************************
* Copyright (c) 2002, 2018 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
package com.coillighting.udder.scene;
import com.coillighting.udder.effect.woven.WovenEffect;
import com.coillighting.udder.geometry.Interpolator;
import com.coillighting.udder.mix.StatefulAnimator;
import com.coillighting.udder.mix.Layer;
import com.coillighting.udder.mix.Mixer;
import com.coillighting.udder.mix.Time... |
package org.srs.webapps.datacat.controllers;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.ServletException;... |
/*
* Copyright [2012-2014] PayPal Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*L
* Copyright SAIC
* Copyright SAIC-Frederick
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/camod/LICENSE.txt for details.
*/
/**
*
* $Id: NameValueList.java,v 1.11 2009-05-20 17:12:20 pandyas Exp $
*
* $Log: not supported by cvs2svn $
* Revision 1.10 2... |
//
// Copyright (c) 2012, J2 Innovations
// Licensed under the Academic Free License version 3.0
//
// History:
// 07 Nov 2011 <NAME> Creation
// 28 Sep 2012 <NAME> Ported from axhaystack
// 10 May 2018 <NAME> Added missing @Overrides annotations, added use of generics
//
package nhays... |
/**
* Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET
* (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije
* informacijske družbe in elektronsko poslovanje (SETCCE), INS... |
import com.mysql.cj.util.StringUtils;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class TransactionManagement {
private Connection connection;
private Statem... |
/*
* Copyright 2020 FIRST Tech Challenge Team 11792
* 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, merg... |
/*
* 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 2017-2021 VMware, Inc. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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/... |
package lt.tomasu.robotui;
import lt.tomasu.ssh.client.api.Controller;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.graphics.Color;
import android.hardware.Sensor;
import android.hardware.Sens... |
package org.apache.calcite.rel.tvr.rules.outerjoinview;
import com.google.common.collect.ImmutableList;
import org.apache.calcite.plan.*;
import org.apache.calcite.plan.tvr.TvrSemantics;
import org.apache.calcite.plan.volcano.RelSubset;
import org.apache.calcite.plan.volcano.TvrMetaSet;
import org.apache.calcite.plan.... |
package com.serenegiant.system;
/*
* libcommon
* utility/helper classes for myself
*
* Copyright (c) 2014-2021 saki <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
*
* ... |
// Copyright 2014 The Bazel Authors. 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 appl... |
/**
* 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 edu.cmu.pocketsphinx.demo.wear;
import android.Manifest;
import android.app.Activity;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.widget.TextView;
i... |
/**
* Combinatorics Library
* Copyright 2012 <NAME> <EMAIL>
*/
package org.paukov.combinatorics.util;
import java.math.BigDecimal;
/**
* Utility class for combinatorial package
*
* @author <NAME>
* @version 2.0
*/
public class Util {
/**
* Get minimum of three values
*/
public static int minimum(int ... |
package protoModeler;
import java.util.List;
import java.util.Map;
import kepProtos.KepProtos;
import kepProtos.KepProtos.BloodType;
import kepProtos.KepProtos.DonorPredicate;
import kepProtos.KepProtos.EdgePredicate;
import kepProtos.KepProtos.EdgeStep;
import kepProtos.KepProtos.HLA;
import kepProtos.KepProtos.Node... |
/*
* This file is part of Dynamic Surroundings, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* 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 restrictio... |
package com.ge.hc.healthlink.service;
import com.ge.hc.healthlink.entity.*;
import com.ge.hc.healthlink.repository.DeviceCategoryRepository;
import com.ge.hc.healthlink.repository.DeviceRepository;
import com.ge.hc.healthlink.repository.DeviceStatusRepository;
import com.ge.hc.healthlink.repository.ElectricityHeartbea... |
package com.mwmd.core.services.impl;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import javax.jcr.RepositoryException;
import javax.jcr.Se... |
package com.alternate.clinicmanagement;
import com.alternate.clinicmanagement.service.ClinicService;
import com.alternate.clinicmanagement.domain.*;
import java.util.Scanner;
/**
* Created by <NAME> on 11/6/2016.
*/
public class ClinicConsole {
private static Scanner console;
private static ClinicService c... |
package jc.dlx.solver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import jc.dlx.diagram.IColumn;
import jc.dlx.diagram.IDiagram;
import jc.dlx.diagram.INode;
import jc.dlx.diagram.IRow;
import jc.sudoku.solver.Solver;
// Generalized exact cover.
//
// This class implements the algorithm di... |
package org.nodel.discovery;
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.Da... |
import com.google.gson.Gson;
import exceptions.ApiException;
import models.Departments;
import models.News;
import models.Users;
import models.dao.Sql2oDepartmentsDao;
import models.dao.Sql2oNewsDao;
import models.dao.Sql2oUsersDao;
import java.util.List;
import static spark.Spark.*;
public class App{
static int... |
package com.ynov.mobileproject.ui.map;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.core.app.ActivityCompat;
import androidx.core.content.Cont... |
/*
Copyright 2017 Red Hat, 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 writing, software
dis... |
package com.ociweb.pronghorn.ring;
import static com.ociweb.pronghorn.ring.RingBuffer.addByteArray;
import static com.ociweb.pronghorn.ring.RingBuffer.addValue;
import static com.ociweb.pronghorn.ring.RingBuffer.byteBackingArray;
import static com.ociweb.pronghorn.ring.RingBuffer.byteMask;
import static com.ociweb.pro... |
/*
* Copyright 2015 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 ... |
/*
*/
package org.apache.taverna.server.master.interaction;
/*
* 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... |
/*
* Copyright (c) 2015, ProductLayer GmbH 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 condit... |
package com.weiit.web.admin.init.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.weiit.core.entity.E;
import com.weiit.core.entity.FormMap;
import com.weiit.core.view.UIview;
import com.weiit.resource.common.utils.WeiitUtil;
import com.weiit.web.admin.init.service... |
package com.chinapex.android.datacollect.aop;
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import android.content.ContextWrapper;
import android.support.v4.view.MenuItemCompat;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.RecyclerView;
i... |
package com.woshidaniu.common.file.impl;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.conc... |
package com.example.g3;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.content.DialogInterface;
import android.content.Intent;
import and... |
package com.parse.starter;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.vie... |
/**
* Copyright 2014 Opower, 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 ... |
package be.intec.views.desktop;
import be.intec.models.binders.DocumentBinder;
import be.intec.models.entities.DocumentEntity;
import be.intec.repositories.DocumentRepository;
import be.intec.services.exceptions.DocumentException;
import javafx.application.Application;
import javafx.collections.FXCollections;
import ... |
package com.quan404.glmediaplayer.players;
import com.google.android.exoplayer.DummyTrackRenderer;
import com.google.android.exoplayer.ExoPlaybackException;
import com.google.android.exoplayer.ExoPlayer;
import com.google.android.exoplayer.MediaCodecAudioTrackRenderer;
import com.google.android.exoplayer.MediaCodecTra... |
import core.*;
import utils.Utils;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class Client {
public static void jitLoad(String[] args) throws IOException {
String path = "";
if (args.length <= 2) { //get default working path
/**
* 项目所在的绝对目录
*/
path = new Fil... |
package org.multiverse.collections;
import org.multiverse.api.Stm;
import org.multiverse.api.Txn;
import org.multiverse.api.collections.TxnCollection;
import org.multiverse.api.collections.TxnSet;
import org.multiverse.api.exceptions.TodoException;
import org.multiverse.api.references.TxnInteger;
import org.multiverse... |
/* ==================================================================
* CCDatumDataSource.java - Aug 26, 2014 10:19:02 AM
*
* Copyright 2007-2014 SolarNetwork.net Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* publ... |
package com.communote.server.core.messaging;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import javax.annotation.PostConstruct;
import org.slf4j.Logger;
import org.s... |
package com.appeaser.sublimepickerlibrary.datepicker;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.support.annotation.IdRes;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support... |
/**
* Copyright (C) 2009-2017 Simonsoft Nordic AB
*
* 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 org.dhis2.fhir.adapter.fhir.transform.dhis.impl.util;
/*
* Copyright (c) 2004-2019, University of Oslo
* 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 co... |
package org.apache.jsp.jsp.search;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class googleSearchForm_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
... |
/*
* Copyright 2018 flow.ci
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package org.codingmatters.rest.api.doc;
import net.sourceforge.plantuml.FileFormat;
import net.sourceforge.plantuml.FileFormatOption;
import net.sourceforge.plantuml.GeneratedImage;
import net.sourceforge.plantuml.SourceFileReader;
import org.codingmatters.value.objects.FormattedWriter;
import org.raml.v2.api.RamlMode... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.