text stringlengths 7 995k |
|---|
/*
* 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 com.persado.assignment.project.model;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;... |
package test.listeners.github2385;
import org.testng.TestNG;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import org.testng.xml.XmlPackage;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;
import test.SimpleBaseTest;
import java.util.ArrayList;
import java.util.Collecti... |
package com.kbhit.orangebox.users.security;
public final class AuthoritiesConstants {
public static final String ADMIN = "ROLE_ADMIN";
public static final String USER = "ROLE_USER";
public static final String ANONYMOUS = "ROLE_ANONYMOUS";
private AuthoritiesConstants() {
}
} |
/*
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 not use this f... |
/*
* Copyright (c) 2004-2020, Oracle and/or its affiliates.
*
* Licensed under the 2-clause BSD 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 must retain the abov... |
package com.ruoyi.generator.controller;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.secur... |
/*
* Square Connect API
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*... |
package io.deephaven.engine.table.impl.tuplesource.generated;
import io.deephaven.chunk.ByteChunk;
import io.deephaven.chunk.CharChunk;
import io.deephaven.chunk.Chunk;
import io.deephaven.chunk.FloatChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.chun... |
package red.honey.oss.server.application.componet;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.MediaType;
import org.springframework.scheduling.annotation.Async;
import org.sp... |
package org.apache.cassandra.hadoop.cql3;
/*
*
* 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 Licens... |
package net.fastfourier.something.request;
import com.android.volley.NetworkResponse;
import com.android.volley.Request;
import com.android.volley.Response;
import net.fastfourier.something.util.Constants;
import org.jsoup.nodes.Document;
/**
* Created by matthewshepard on 3/8/14.
*/
public class PMDeleteRequest ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.uniandes.csw.idiomas.entities;
import java.io.Serializable;
import javax.persistence.Entity;
/**
*
* @author estudia... |
/*
* 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 u026.repository;
import u026.RequestInfo;
import java.util.List;
import java.util.Map;
public interface MetricsStorage {
void saveRequestInfo(RequestInfo requestInfo);
List<RequestInfo> getRequestInfosByDuration(String apiName,long startTimestamp,long endTimestamp);
Map<String,List<RequestInfo>>... |
/**
* Copyright (c) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
/*
* Copyright (C) 2018 Seoul National University
*
* 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.mountcloud.mcplugin.common.service.log;
import org.mountcloud.mcplugin.common.BasePlugin;
/**
* @author zhanghaishan
* @version 创建时间:2018年10月11日 上午10:45:37
* TODO:
*/
public class BaseLogService {
protected BasePlugin basePlugin;
/**
* 构造函数
* @param basePlugin 插件
*/
public BaseLogServi... |
/*
* Copyright 2016-2019 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 applica... |
package io.atomofiron.devtiles.service;
import android.annotation.SuppressLint;
import android.net.Uri;
import android.provider.Settings;
import io.atomofiron.devtiles.util.Result;
@SuppressLint("DefaultLocale")
public abstract class SettingsService extends BaseService {
private static final String CONTENT_TEMPL... |
package seedu.ezwatchlist.model.actor;
import static seedu.ezwatchlist.testutil.Assert.assertThrows;
import org.junit.jupiter.api.Test;
public class ActorTest {
@Test
public void constructor_null_passes() {
assert(new Actor(null).equals(new Actor(null)));
}
@Test
public void constructor... |
package me.brianr.groupchat.security;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
/**
* Decrypt encrypted messages.
* <strong>This class is not currently implemented for any use.</strong... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* C E D A R
* S O L U T I O N S "Software done right."
* S O F T W A R E
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright (c) 2013 Kenneth J. Pronovici.
* All righ... |
package com.strandls.cca.pojo.geometry;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mongodb.client.model.geojson.Geometry;
import com.mongodb.client.model.geojson.Point;
import com.mongodb.client.model.geojson.Position;
public class GeoJsonPoint extends GeoJsonGeometry {
p... |
package zen.core;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class SearchSet<V>
{
private Set<V> include;
private Set<V> exclude;
private Set<V> all;
public SearchSet() {
all = new HashSet<>();
include = new HashSet<>();
exclude = new HashS... |
/**
* Copyright (c) 2016 - 2018 Syncleus, 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 la... |
package fr.sunderia.sunderiautils.event;
import fr.sunderia.sunderiautils.customblock.CustomBlock;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.block.BlockBreakEvent;
import org.jetbrains.annotations.NotNull;
public class CustomBlockBreakEvent extends BlockBreakEvent {
... |
package org.colorcoding.ibas.bobas.data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.colorcoding.ibas.bobas.MyConfiguration;
import org.colorcoding.ibas.bobas.seriali... |
package cn.mapway.document.ui.client.test;
import com.google.gwt.core.client.JavaScriptObject;
public class KeyValueObj extends JavaScriptObject {
protected KeyValueObj() {
}
public final static native KeyValueObj create(String key, String v)/*-{
return {"k": key, "v": v};
}-*/;
public ... |
package de.felixroske;
public interface HelloWorldGreeter {
String greetMe(String name);
} |
/*
* Copyright 2021 EPAM Systems.
*
* 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... |
/*
* Copyright 2002-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2018 ConsenSys AG.
*
* 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 gov.nara.opa.jp2conversion;
import java.io.File;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.batch.item.ItemReader;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/**
* {@link Ite... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/*
* Copyright 2016, 2017, 2018 DTCC, Fujitsu Australia Software Technology, IBM - 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/li... |
package mysticmods.mysticalworld.entity.render.layers;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import mysticmods.mysticalworld.MysticalWorld;
import mysticmods.mysticalworld.entity.LavaCatEntity;
import mysticmods.mysticalworld.entity.model.LavaCatModel;
import ne... |
import java.util.Scanner;
public class fromDataTypesPoundToDollars {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int pounds = Integer.parseInt(scan.nextLine());
// int pounds = new Scanner(System.in).nextInt();// отдели внимание тук ! run time error
... |
/**贪心算法的特点
设计要素:
(1) 贪心法适用于组合优化问题.
(2) 求解过程是多步判断过程,最终的 判断序列对应于问题的最优解.
(3) 依据某种“短视的”贪心选择性质 判断,性质好坏决定算法的成败.
(4) 贪心法必须进行正确性证明.
(5) 证明贪心法不正确的技巧:举反例.
贪心法的优势:算法简单,时间和空
间复杂性低
*
*/
/**
* @author bin
*
*/
package greedy; |
package com.team01.services;
import java.util.ArrayList;
import javax.annotation.Resource;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import c... |
/*
* oxPush2 is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.super_gluu.app;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
imp... |
package com.jd.living.screen.history;
import android.content.Context;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.jd.living.R;
import com.jd.living.model.ormlite.SearchHistory;
import com.jd.living.util.StringUtil;
import org.androidannotations.annotations.EViewGroup;
import org.an... |
package seedu.weme.ui;
import static seedu.weme.logic.parser.util.ParserUtil.MESSAGE_INVALID_TAB;
import static seedu.weme.model.ModelContext.CONTEXT_VIEW;
import java.util.logging.Logger;
import javafx.beans.value.ObservableValue;
import javafx.css.PseudoClass;
import javafx.fxml.FXML;
import javafx.scene.layout.Re... |
import java.util.*;
import java.lang.*;
import java.util.concurrent.*;
/**
* SyncQueue synchronization object
* Implements an array of queues that synchnronize threads based on a
* user-provided set of events. Each event is represented by a
* ThreadSyncNode, and each ThreadSyncNode maintains a queue of threads
... |
package com.osn.locadora.domain.enums;
public enum Status {
INATIVO(1, "INATIVO"), ATIVO(0, "ATIVO");
private int cod;
private String descricao;
private Status(int cod, String descricao) {
this.cod = cod;
this.descricao = descricao;
}
public int getCod() {
return cod... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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
*
* http://www.apache.org... |
// HTMLParser Library $Name: v1_6 $ - A java-based parser for HTML
// http://sourceforge.org/projects/htmlparser
// Copyright (C) 2004 Derrick Oswald
//
// Revision Control Information
//
// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Cursor.java,v $
// $Author: derrickoswald $
// $Date: 2005/05/15... |
package com.pokemongostats.controller.services;
import android.app.DownloadManager;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.net.Uri;
import an... |
/*
* Copyright 2014 NAVER Corp.
*
* 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 ... |
/*******************************************************************************
* 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 cn.iocoder.dashboard.modules.tool.enums; |
package com.tspecker.dwi;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device... |
package com.buschmais.javaspektrum.geneticalgorithms.resourceplanning.singleobjective;
import io.jenetics.*;
import io.jenetics.engine.Engine;
import io.jenetics.engine.EvolutionResult;
import io.jenetics.engine.Limits;
import java.util.*;
/**
* Implementation of the resource scheduling example (JavaSPEKTRUM 01/201... |
package uk.joshiejack.shopaholic.client.gui.widget.button;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.util.text.ITextComponent;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforg... |
package syntheagecco.openehr.sdk.model.generated.symptomcomposition.definition;
import java.lang.String;
import org.ehrbase.client.classgenerator.EnumValueSet;
public enum SchweregradDefiningCode implements EnumValueSet {
SEVERE_SEVERITY_MODIFIER_QUALIFIER_VALUE("Severe (severity modifier) (qualifier value)", "", "... |
package org.carlspring.strongbox.services;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.attribute.FileTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.uti... |
package com.innova.frontend.util;
/**
* Regular Expressions for validation Dtos
*
* @author Ahmet AKAN
*/
public class StringConstants {
// Chars and whitespace only with minimum two and maximum thirty chars long in length, checking length at html input
public static final String NAME_REGEX = "^(?![\\s.]+... |
/*
* 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 2012-2017 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 ap... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.batfish.representation.cisco_xr;
import java.util.LinkedList;
import java.util.List;
import org.batfish.datamodel.IpSpace;
public class NetworkObjectGroup extends ObjectGroup {
private List<IpSpace> _lines;
public NetworkObjectGroup(String name) {
super(name);
_lines = new LinkedList<>();
... |
/**
*
*/
package io.spring.github.domain.service;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.ProtocolException;
import java.net.URL;
import org.spr... |
package chatroom;
import java.util.Collection;
import java.util.List;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.directwebremoting.ScriptSession;
import org.directwebremoting.ServerContext;
import org.directwebremoting.ServerCo... |
/*
* Copyright (c) 2015, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.core;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* Serves as a cache key for {@link java.sql.CallableStatement}.
* Callable statements requ... |
package com.hdsp.expressionevaluator;
public interface Expression {
public boolean isEvaluable();
public Evaluable getEvaluable();
} |
package samples.coffeemachine;
import org.junit.runner.RunWith;
import samples.TestSettings;
import tzatziki.analysis.step.Features;
import tzatziki.analysis.tag.TagDictionary;
import tzatziki.junit.SanityTagChecker;
import java.io.File;
import static tzatziki.junit.SanityTagChecker.loadFeaturesFromSourceDirectory;
... |
/*
* 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 arekkuusu.enderskills.common.skill.attribute.mobility;
import arekkuusu.enderskills.api.capability.Capabilities;
import arekkuusu.enderskills.api.capability.data.SkillInfo.IInfoUpgradeable;
import arekkuusu.enderskills.api.helper.ExpressionHelper;
import arekkuusu.enderskills.api.helper.NBTHelper;
import arekk... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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 agre... |
package mvf314.realisticoreprocessing.datagen;
import mvf314.mvflib.datagen.BaseModelProvider;
import mvf314.realisticoreprocessing.ModBlocks;
import mvf314.realisticoreprocessing.ModItems;
import mvf314.realisticoreprocessing.ROPMod;
import net.minecraft.data.DataGenerator;
import net.minecraftforge.client.model.gene... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.microsoft.bingads.v13.customerbilling;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymo... |
/*
* (C) Copyright IBM Corp. 2020, 2020
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.cohort.engine.measure;
import org.apache.commons.lang3.tuple.Pair;
/**
* Provide the ability for user's to customize the logic used
* to determine the measurement period. User's may also just
* call the {@link Me... |
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.graph.classmerging;
import com.android.tools.r8.graph.AppView;
import com.an... |
package com.rhl.imagewiki.model;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import com.rhl.imagewiki.R;
/**
* view holder
*/
public class ViewHolder extends Rec... |
/*
This file is part of the BlueJ program.
Copyright (C) 1999-2009,2011,2012 Michael Kolling and John Rosenberg
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 Li... |
package pers.wossge.mall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import pers.wossge.mall.common.utils.PageUtils;
import pers.wossge.mall.common.entity.sms.SmsSeckillSessionEntity;
import java.util.Map;
/**
* 秒杀活动场次
*
* @author wossge
* @email wossge@hotmail.com
* @date 2020-0... |
package org.apache.flink.streaming.api.operators.aion;
import org.apache.flink.metrics.Counter;
import org.apache.flink.metrics.Histogram;
import org.apache.flink.metrics.HistogramStatistics;
import org.apache.flink.metrics.SimpleCounter;
import org.apache.flink.runtime.metrics.DescriptiveStatisticsHistogram;
import o... |
/*
* Copyright (c) 2016 Nick Guo
*
* 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 io.manager.commands;
import io.manager.BaseSocket;
import java.io.*;
/**
* This class represents class for upload.
* @author Svyatoslav Sabirov.
* @since 11.08.2018
* @version 7.
*/
public class Upload extends BaseCommand {
public Upload(int key, String name) {
super(key, name);
}
@... |
package ebay.pages;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.FindBy;
import org.apache.log4j.*;
import com.qaprosoft.carina.core.foundation.webdriver.decorator.ExtendedWebElement;
import com.qaprosoft.carina.core.gui.AbstractUIObject;
public... |
/*
* 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... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.google.mail;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Conf... |
package com.github.yassine.artifacts.guice.templating;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
*
* @author Yassine E. <yechabbi at gmail.com>
*/
@Target({ ElementType.CONSTRU... |
package gloridifice.watersource.common.recipe;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class WaterLevelItemRecipe{
protected final int waterLevel, waterSaturationLevel;
protected final ItemStack itemStack;
public WaterLevelItemRecipe(ItemStack itemStack, int waterLevel,... |
package com.example.bluetoothdemo.connect;
/**
* 给定状态参数常量
*/
public class Constant {
public static final String CONNECTION_UUID = "00001101-0000-1000-8000-00805F9B34FB";
/**
* 开始监听
*/
public static final int MSG_START_LISTENING = 1;
/**
* 结束监听
*/
public static final int MSG_... |
package org.ovirt.engine.core.dao;
import org.ovirt.engine.core.common.businessentities.storage.DiskLunMap;
import org.ovirt.engine.core.common.businessentities.storage.DiskLunMapId;
public interface DiskLunMapDao extends GenericDao<DiskLunMap, DiskLunMapId> {
DiskLunMap getDiskIdByLunId(String lunId);
} |
/*
* Copyright 2002-2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package br.com.zupacademy.guilhermesantos.proposta.repository;
import br.com.zupacademy.guilhermesantos.proposta.model.ModelBiometria;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface BiometriaRepository extends JpaRepository<... |
package com.hdyg.common.util.pay;
import android.content.Context;
import com.google.gson.Gson;
import com.hdyg.common.bean.WxOpenBean;
import com.hdyg.common.bean.WxPayBean;
import com.hdyg.common.bean.WxShareBean;
import com.hdyg.common.httpUtil.okhttp.CallBackUtil;
import com.hdyg.common.httpUtil.okhttp.OkhttpUtil;... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/*
* Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package io.proleap.cobol.asg.metamodel.procedure.merge;
import io.proleap.cobol.Cobol85Parse... |
package net.modificationstation.stationapi.mixin.metablock;
import net.minecraft.block.BlockBase;
import net.minecraft.item.ItemBase;
import net.minecraft.item.ItemInstance;
import net.modificationstation.stationapi.api.item.IsItemEffectiveOnMeta;
import net.modificationstation.stationapi.api.item.ItemStrengthOnMetaBl... |
package com.stanleyidesis.cordova.plugin;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.PluginResult;
import org.json.JSONArray;
import org.json.JSONException;
impo... |
package collections;
import collections.exceptions.InvalidWordException;
import java.util.List;
public class SimpleCompactWordTree implements CompactWordsSet {
@Override
public boolean add(String word) throws InvalidWordException {
CompactWordsSet.checkIfWordIsValid(word);
// TO BE IMPLEMENTED
return... |
package com.ppdai.raptor.codegen.java;
import com.ppdai.raptor.codegen.java.maven.PomModel;
import lombok.extern.slf4j.Slf4j;
import org.apache.maven.model.Model;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
import org.codehaus.plexus.util.StringUtils;
i... |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
/*
* This file is part of the HyperGraphDB source distribution. This is copyrighted
* software. For permitted uses, licensing options and redistribution, please see
* the LicensingInformation file at the root level of the distribution.
*
* Copyright (c) 2005-2010 Kobrix Software, Inc. All rights reserved. ... |
public class HypChecksums {
static class Adler {
long combine(long a, long b, long c, long d) {
return 3;
}
}
public static void main(final String[] pArgs) {
Adler comb = new Adler();
comb.combine(4, 2, 3, 3);
}
}
aspect X {
Object around(): call(* combine(..)) && !within(X) {
ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.