text stringlengths 3.08k 15.2k |
|---|
package com.company;
import us.codecraft.webmagic.Page;
import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.Spider;
import com.company.OneFilePipeline;
import com.company.Nlpir;
import us.codecraft.webmagic.Request;
import us.codecraft.webmagic.processor.PageProcessor;
import us.codecraft.webmagic... |
// Copyright 2017 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... |
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetB... |
package net.sf.regadb.workflow.analysis.execution;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import net.sf.regadb.workflow.analysis.Analysis;
import net.sf.regadb.workflow.analysis.AnalysisConnection;
import net... |
/*
* 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 ... |
//The MIT License
//
//Copyright (c) 2009 nodchip
//
//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... |
/**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: <NAME>
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* <EMAIL>
*
* This program is free software; you can redistribute and/or modify i... |
package de.mrwonko.parseqexample;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.List;
import java.util.Scanner;
import java.util.concurrent.CancellationException;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
i... |
/*
* 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 (c) 2019. <NAME>.
* Licensed under the Apache license. Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package com.ringosham.threads.export.song;
import com.mpatric.mp3agic.*;
import com.ringosham.Global;
import com.ringosham.controller.MainScreen;
import com.ringosham.locale.Localizer;... |
package starthere;
import static starthere.ControlLoop.ReturnStatus.INTERRUPT;
import static starthere.ControlLoop.ReturnStatus.OK;
import java.io.File;
import java.util.concurrent.Callable;
import model.thermocouple.graduate.Graduate;
import model.thermocouple.graduate.GraduateFactory;
import regulator.PI... |
package org.broad.igv;
import java.io.*;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Comparator;
/**
* Example
* http://www.broadinstitute.org/igv/projects/current/launch.php?sessionURL=http://data.broadinstitute.org/igvdata/encode/hg19/broadEncode/wgEncod... |
package com.lin.web.servlet;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.log... |
package com.google.photos.library.sample.demos;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.u... |
/***************************************************************************
* (C) Copyright 2003-2020 - Marauroa *
***************************************************************************
***************************************************************************
* ... |
/*
* Copyright 2017 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.day.smartfolders;
import java.io.File;
import org.day.smartfolders.util.SystemUiHider;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.os... |
/*
* This file is part of Buttermilk
* Copyright 2011-2014 <NAME> All Rights Reserved.
*
*/
package com.cryptoregistry.ec;
import java.io.IOException;
import java.io.StringWriter;
import java.math.BigInteger;
import java.util.Date;
import com.cryptoregistry.CryptoKey;
import com.cryptoregistry.ECCu... |
package lcci;
import java.util.LinkedList;
import java.util.Stack;
/**
* @program: LeetCodeSolution
* @description:
* @author: WhyWhatHow
* @create: 2020-05-07 12:09
**/
class StackOfPlates {
LinkedList<Stack<Integer>> list = new LinkedList<Stack<Integer>>();
int cap; // 表示每个栈的大小
public StackOfPlat... |
package com.horstmann.corejava.v1ch05.enums;
import com.horstmann.corejava.v1ch09.map.Employee;
import org.apache.commons.lang3.StringUtils;
import java.io.Closeable;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* This program demonstrates enumerated types.
*
* @auth... |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
/*
* Copyright (c) 2019 Informatics Matters 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/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/* 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... |
/*
* File: TLoadLimitation.java
* This file is part of Tico, an application to create and perform
* interactive communication boards to be used by people with
* severe motor disabilities.
*
* Authors: <NAME>
*
* Date: Oct 2, 2007
*
* Company: Universidad de Zaragoza, CPS, DIIS, GIGA
*
... |
/*
* 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) 2012 Red Hat, Inc. (<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 applicab... |
package com.vaadin.tests.components.datefield;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import com.vaadin.data.Item;
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEv... |
/*
* 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
* distribut... |
package com.kbindiedev.verse.gfx.impl.opengl_33;
import com.kbindiedev.verse.AssetPool;
import com.kbindiedev.verse.gfx.*;
import org.lwjgl.glfw.GLFWErrorCallback;
import org.lwjgl.glfw.GLFWVidMode;
import org.lwjgl.opengl.ARBDebugOutput;
import org.lwjgl.opengl.GL;
import org.lwjgl.opengl.GLDebugMessageARBCallback;
i... |
/**
* Copyright 2005 <NAME> All Rights Reserved
*/
package net.jenet;
import java.net.InetSocketAddress;
import java.nio.*;
import java.nio.charset.*;
import junit.framework.TestCase;
import org.apache.commons.logging.*;
/**
* @author <NAME>
*/
public class HostTest extends TestCase {
private static ... |
package mb.web;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.NoRouteToHostException;
import java.net.Socket;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import mb.tictactoe.data.CellData;
import mb.tictactoe.data.ChatMsg;
import mb.tictactoe.data.Game;
im... |
package betterwithmods.module.hardcore.beacons;
import betterwithmods.BWMod;
import betterwithmods.common.blocks.tile.TileEntityBeacon;
import betterwithmods.common.registry.block.recipe.BlockIngredient;
import betterwithmods.module.hardcore.world.spawn.HCSpawn;
import com.google.common.collect.Maps;
import com.google... |
/*
* Copyright 2016-2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package ru.kontur.vostok.hercules.gate.client;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.kontur.vostok.hercules.configuration.Scopes;
import ru.kontur.vostok.hercules.configuration.util.PropertiesUtil;
import ru.kontur.vostok.hercules.gate.client.exception.BadRequestException;
import ru.kontur... |
package com.onkiup.linker.parser;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.lang.reflect.Field;
import java.util.Objects;
import java.util.function.Predicate;
import com.onkiup.linker.parser.annotation.OptionalToken;
import com.onkiup.linker.parser.annotatio... |
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Testing the computation overhead of big integer on Android platform.
*
* @author <NAME>
* @date February 10, 2012
*/
//package com.example.android.BluetoothChat;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.... |
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/**
* @author <NAME>
*
* Changed block size and added a split panel display for next block and Score
*
* @author <NAME>
* @version 1.0
*
* Fixed the lag issue with block rendering
* Removed the JPanel
*/
// Used to display the... |
package umontreal.ssj.networks;
import umontreal.ssj.networks.staticreliability.ExponentialSampler;
import umontreal.ssj.networks.staticreliability.SamplerType;
import umontreal.ssj.networks.staticreliability.UniformSampler;
import umontreal.ssj.probdist.NormalDist;
import umontreal.ssj.rng.RandomStream;
/**
*
* ... |
package com.kickstarter.viewmodels;
import com.kickstarter.libs.ActivityViewModel;
import com.kickstarter.libs.CurrentUserType;
import com.kickstarter.libs.Environment;
import com.kickstarter.libs.rx.transformers.Transformers;
import com.kickstarter.services.ApiClientType;
import com.kickstarter.services.apiresponses.... |
package org.jbei.ice.lib.entry;
import org.apache.commons.lang3.StringUtils;
import org.jbei.ice.lib.common.logging.Logger;
import org.jbei.ice.lib.dao.DAOFactory;
import org.jbei.ice.lib.dao.hibernate.EntryDAO;
import org.jbei.ice.lib.dao.hibernate.SequenceDAO;
import org.jbei.ice.lib.dto.entry.EntryType;
import org.... |
/*
* Copyright (c) 2007, Fraunhofer-Gesellschaft
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1) Redistributions of source code must retain the above copyright
* ... |
package xiaoguang.tools;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory.Options;
import android.graphics.Matrix;
import android.util.Log;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
... |
package com.ty.nanfangscanner.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.TextUtils;
import andr... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: XXX
//
... |
/*
* Copyright (C) 2004-2015 <NAME> (<EMAIL>).
* 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 req... |
package version2_theory;
import java.util.Date;
import java.util.List;
public class Process {
List<OD> od_list;
boolean flag_termination;
double current_maximum_gap;
//parameter
double tolerance;
//result
int iteration_number;
long running_duration;
public Process(List<OD> od_list, dou... |
package io.atlasmap.xml.v2;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
import io.atlasmap.api.AtlasException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parser... |
package org.kestra.repository.elasticsearch;
import io.micronaut.data.model.Pageable;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearc... |
/*
This file is part of AvatarMod.
AvatarMod 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 3 of the License, or
(at your option) any later version.
AvatarMod is distributed in... |
package com.shyward.hellowatson;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import ja... |
package org.apache.cordova.engine.mozilla;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaPreferences;
import org.apache.cordova.CordovaResourceApi... |
/*
* This file is part of dConomy.
*
* Copyright © 2011-2015 Visual Illusions Entertainment
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2011-2019 Broad Institute, Aiden Lab
*
* 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 th... |
package com.homw.gui.d2.swing;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
import java.net.*;
import javax.swing.*;
import cn.hutool.core.lang.Assert;
import java.util.*;
/**
* @description Applet Window
* @author Hom
* @version 1.0
* @since 2020-... |
/*
* Copyright (C) 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
// 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 (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
package com.excel.process.test;
import com.excel.process.cfg.CellFmt;
import com.excel.process.other.DateUtil;
import com.excel.process.util.ExcelWriteUtil;
import org.junit.Test;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.util.*;
/**
* @author: funnyzpc
* @Desc... |
/**
* Copyright 2014 SeaClouds
* Contact: SeaClouds
*
* 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 requ... |
/*
* Copyright 2020 nuwansa.
*
* 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 gov.cms.dpc.api.resources.v1;
import com.codahale.metrics.annotation.ExceptionMetered;
import com.codahale.metrics.annotation.Timed;
import gov.cms.dpc.api.auth.OrganizationPrincipal;
import gov.cms.dpc.api.auth.annotations.Authorizer;
import gov.cms.dpc.api.auth.jwt.PublicKeyHandler;
import gov.cms.dpc.api.e... |
package com.github.stefvanschie.quickskript.core.file.alias;
import com.github.stefvanschie.quickskript.core.file.alias.exception.AliasFileFormatException;
import com.github.stefvanschie.quickskript.core.file.alias.exception.AliasFileResolveException;
import com.github.stefvanschie.quickskript.core.file.alias.exceptio... |
/*
* Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* MIT License
*
* Copyright (c) 2021 Imanity
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... |
package com.fireflysource.net.http.common.model;
import com.fireflysource.common.string.StringUtils;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Implements a quoted comma separated list of values
* in accordance with RFC7230.
* OWS is removed and quoted characters ignored f... |
package com.buildmlearn.labeldiagram;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.buildmlearn.labeldiagram.badges... |
//==============================================================================
//
// Copyright (c) 2013-
// Authors:
// * <NAME> <<EMAIL>> (University of Oxford)
//
//------------------------------------------------------------------------------
//
// This file is part of PRISM.
//
// PRISM is free software; you ... |
/*
* Copyright (c) 2020 <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, publish,
* ... |
/**
* @author <a href="mailto:<EMAIL>"><NAME></a>
* @version $Id$
*/
package org.gridsphere.provider.portletui.tags;
import org.gridsphere.portlet.impl.SportletProperties;
import org.gridsphere.provider.portletui.beans.ActionLinkBean;
import org.gridsphere.provider.portletui.beans.ImageBean;
import org.gridsphere.p... |
package android.CSLite;
import java.util.StringTokenizer;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts.People;
import android.view.View;
imp... |
package net.i2p.crypto;
import gnu.crypto.hash.Sha256Standalone;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.LinkedBlockingQueue;
import net.i2p.I2PAppContext;
import net.i2p.data.Hash;
/**
* Defines a wrapper for SHA-256 operation.
*
* As of r... |
/*
* Copyright 2010 - 2020 Anywhere Software (www.b4x.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 ... |
package org.fisco.bcos.groupsig.app;
import java.math.BigInteger;
import org.fisco.bcos.channel.client.Service;
import org.fisco.bcos.groupsig.contract.TestGroupSig;
import org.fisco.bcos.groupsig.contract.TestRingSig;
import org.fisco.bcos.web3j.crypto.Credentials;
import org.fisco.bcos.web3j.crypto.gm.GenCred... |
package com.zimbra.cs.taglib.tag.folder;
import com.zimbra.common.service.ServiceException;
import com.zimbra.cs.taglib.bean.ZGrantBean;
import com.zimbra.cs.taglib.bean.ZMimePartBean;
import com.zimbra.cs.taglib.tag.ZimbraSimpleTag;
import com.zimbra.client.ZEmailAddress;
import com.zimbra.client.ZGrant;
import com.z... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-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 su... |
/*
* 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 ... |
package io.emqx.stream.common.sql.plan;
import io.emqx.stream.common.Constants;
import io.emqx.stream.common.sql.SqlEngine;
import io.emqx.stream.common.sql.SqlExecutionContext;
import io.emqx.stream.common.sql.Util;
import io.emqx.stream.common.sql.pojo.JoinCondition;
import io.emqx.stream.common.sql.pojo.Tuple;
impo... |
package bwfdm.sara.project;
import java.util.EnumMap;
import java.util.Map;
import java.util.UUID;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import bwfdm.sara.Config;
import bwfdm.sara.api.Authorization;
import bwfdm.sara.auth.AuthProvider;
import bwfdm.sa... |
/* 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 2020 OPSLI 快速开发平台 https://www.opsli.com
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by appli... |
/*
* Copyright 2021 EPAM Systems, Inc
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. 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 Li... |
/*
* Copyright (c) 2003-2012 <NAME> Cancer Research Center
*
* 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 org.js.Msb2And;
import android.Manifest;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Environment;
import android.support.v4.app.ActivityCompat;
import andro... |
package org.xbib.net;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CoderResult;
import java.nio.charset.CodingErrorAction;
import java.nio.charset.MalformedInputException;
import java.nio.charset.StandardCharsets;
import java.nio.charset.Unmapp... |
package seedu.address.model.document;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Ma... |
package compactjvm.parsing;
import compactjvm.cpentities.CPString;
import compactjvm.cpentities.CPFloat;
import compactjvm.cpentities.CPInvokeDynamic;
import compactjvm.cpentities.CPNameAndType;
import compactjvm.cpentities.CPEntity;
import compactjvm.cpentities.CPMethodref;
import compactjvm.cpentities.CPInterfaceMet... |
/*
* 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 ... |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
import java.util.Stack;
import javax.swing.JDialog;
import javax.swing.JOptionPane;
/*
* Problems:
*
* HOW TO SUPPORT NEGATIVE NUMBERS?
* SUPPORT DECIMALS
* SUPPORT FACTORIALS
* HANDLING INVALID EXPRESSIONS ... |
package li.kazu.logic;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import ja... |
package com.gxsn.androiddb.db;
import android.database.Cursor;
import android.text.TextUtils;
import com.gxsn.androiddb.Model.TableModel;
import java.util.ArrayList;
import java.util.List;
/**
* Created by zkj on 2016/12/01
* GreatWall
*/
public class TableSqlManager extends SqlManager {
private static Ta... |
package net.avicus.compendium.utils;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;
import org.bukkit.Bukkit;
import org... |
package com.piksel.sequoia.clientsdk;
/*-
* #%L
* Sequoia Java Client SDK
* %%
* Copyright (C) 2018 Piksel
* %%
* 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.a... |
package engine;
import authoring.IPropertyDefinition;
import authoring.exception.PropertyDoesNotExistException;
import engine.event.GameEventMaster;
import authoring.ILevelDefinition;
import engine.event.events.AddAgentEvent;
import engine.event.events.RemoveAgentEvent;
import state.AgentReference;
import state.IPlaye... |
package cn.te0.flutter.action;
import cn.te0.flutter.helper.TemplateHelper;
import cn.te0.flutter.helper.YamlHelper;
import com.google.common.base.Joiner;
import com.google.common.base.Splitter;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Lists;
import com.google.common.collect... |
package com.connorrowe.igneoussmithy.items;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSyntaxException;
import net.minecraft.item.Item;
import net.minecraft.resources.IResourceManager;
import net.minecraft.tags.ITag;
import net.mi... |
package xcode.api.phoneverification;
import android.Manifest;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.telephony.SmsManager;
import android.telephony.SubscriptionManager;
import androidx.annotation.No... |
/*
* Copyright 2014 Midokura SARL
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package org.vitrivr.cthulhu.rest;
import static spark.Spark.delete;
import static spark.Spark.get;
import static spark.Spark.port;
import static spark.Spark.post;
import static spark.Spark.put;
import static spark.Spark.staticFileLocation;
import static spark.Spark.stop;
import com.fasterxml.jackson.databind.ObjectMa... |
package org.duckdns.valci.opensongbook.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import org.duckdns.valci.opensongboo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.