text stringlengths 7 995k |
|---|
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.transport.actions;
import org.elastic... |
package de.fhg.iais.roberta.persistence.bo;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import de.fhg.iais.roberta.util.Util1... |
// Copyright (c) 2003 Microsoft Corporation. All rights reserved.
package tlc2.tool;
import tla2sany.semantic.SemanticNode;
import tlc2.TLCGlobals;
import tlc2.output.EC;
import tlc2.output.MP;
import tlc2.output.StatePrinter;
import tlc2.tool.fp.dfid.FPIntSet;
import tlc2.util.IdThread;
import tlc2.util.LongVec;
im... |
package edu.foreverfit;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.os.SystemClock;
import android.view.View;
import android.widget.Button;
import gr.antoniom.chronometer.Chronometer;
public class ChronoDialogbox extends Dialog implements
android.view.View.O... |
/*
* Copyright 2020 Netflix, Inc.
* <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 applicable law or agr... |
/*
* Copyright 2000-2014 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... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
package org.pushingpixels.radiance.demo.themingapps.mail.svg;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilities;
import ja... |
package io.kenxue.pipeline.pipeline;
import io.kenxue.pipeline.phase.PhaseDesc;
import lombok.Data;
import java.util.List;
@Data
public class PipelineDefinition {
private String name;
List<PhaseDesc> phases;
} |
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// 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, inc... |
//,temp,sample_8067.java,2,9,temp,sample_5481.java,2,9
//,3
public class xxx {
public boolean remove(LocalizedResource rem, DeletionService delService) {
LocalizedResource rsrc = localrsrc.get(rem.getRequest());
if (null == rsrc) {
log.info("attempt to remove absent resource from");
}
}
}; |
package org.firstinspires.ftc.teamcode.relic2017.Mechanisms;
import android.util.Log;
import org.firstinspires.ftc.teamcode.relic2017.Sparky2017.RobotCfg2017;
import ftc.evlib.hardware.motors.MotorEnc;
import ftc.evlib.hardware.sensors.DigitalSensor;
import ftc.evlib.hardware.servos.ServoControl;
import ftc.evlib.ut... |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... |
package com.danielkim.soundrecorder.fragments;
import android.app.AlertDialog;
import android.app.Dialog;
import android.graphics.ColorFilter;
import android.graphics.LightingColorFilter;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
i... |
package com.actor.chatlayout.bean;
import android.graphics.Bitmap;
import java.util.ArrayList;
public class FaceGroup {
public int groupId;
public String desc;
public Bitmap groupIcon;
public int pageRowCount;
public int pageColumnCount;
... |
package com.kenny.openimgur.fragments;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.supp... |
package org.identifiers.cloud.hq.ws.registry.api.responses;
import org.identifiers.cloud.hq.ws.registry.api.data.models.Namespace;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Project: registry
* Package: org.identifiers.cloud.hq.ws.registry.api.responses
* Timestamp: 2018... |
package com.dcits.dcwlt.common.core.exception;
/**
* 验证码错误异常类
*
* @author ruoyi
*/
public class CaptchaException extends RuntimeException
{
private static final long serialVersionUID = 1L;
public CaptchaException(String msg)
{
super(msg);
}
} |
package cn.org.autumn.utils;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.utils.U... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, 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... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
public class GradleTest {
public static void main(String[] args) {
System.out.println("This is a sample gradle project");
}
} |
package com.pie.integration.websocket;
import dev.latvian.kubejs.event.EventJS;
import io.netty.channel.ChannelHandlerContext;
public class WebSocketEvent extends EventJS {
private final String type;
private final ChannelHandlerContext ctx;
private final Object msg;
public WebSocketEvent(String type... |
/*
* Copyright (c) 2014-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved.
*/
package com.arjuna.dbplugins.jdbc;
import java.util.Collections;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy... |
/*
* Copyright (c) 2011-2015, fortiss GmbH.
* Licensed under the Apache License, Version 2.0.
*
* Use, modification and distribution are subject to the terms specified
* in the accompanying license file LICENSE.txt located at the root directory
* of this software distribution.
*/
package _ieee14BusWithImport;
... |
package com.feriantes4dawin.feriavirtualmovil.ui.login;
/**
* LoginFormState
*
* Clase que encapsula datos con detalles del
* estado actual de la autenticación, permitiendo
* conocer en el momento si los campos son válidos o no.
* Utilizado en LoginViewModel para enviar datos de
* estado a LoginActivity. ... |
package com.github.steveice10.mc.protocol.packet.ingame.clientbound.level;
import com.github.steveice10.mc.protocol.data.game.NBT;
import com.github.steveice10.mc.protocol.data.game.level.LightUpdateData;
import com.github.steveice10.mc.protocol.data.game.level.block.BlockEntityInfo;
import com.github.steveice10.mc.pr... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 a... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DistanceSensor;
import java.util.Map;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.hardware.HardwareMap;
import org.firstinspires.ftc.robotcore.external.matrices... |
/*
* 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 qunar.tc.qconfig.admin.service;
import qunar.tc.qconfig.admin.web.security.Account;
import qunar.tc.qconfig.common.support.Application;
import qunar.tc.qconfig.common.util.Environment;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
/**
* @author zhenyu.nie created on 2014 2014/5/16 1... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE89_SQL_Injection__URLConnection_executeUpdate_54c.java
Label Definition File: CWE89_SQL_Injection.label.xml
Template File: sources-sinks-54c.tmpl.java
*/
/*
* @description
* CWE: 89 SQL Injection
* BadSource: URLConnection Read data from a web server with URLConnectio... |
package com.thingverse.api.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("thingverse.api")
public class ThingverseApiProperties {
private static final long DEFAULT_JWT_TOKEN_VALIDITY_DURATION_SECONDS = 5 * 60 * 60;
private static final long DEFAUL... |
/*
* 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 ... |
/*
* Developed by Vasileios Karachountris and Eva Konstantopoulou for Computer Engineering and
* Informatics Department, to be used in the Database Laboratory Project that they submit.
* All Rights Reserved.
*/
package mainpackage;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.logging.Lo... |
/**
* Copyright © 2005, CARET, University of Cambridge
* 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 notice, this
* ... |
package io.advantageous.qbit.reactive;
import java.util.concurrent.TimeUnit;
/**
* Coordinator Builder
* created by rhightower on 3/23/15.
*/
public class CoordinatorBuilder {
private final Reactor reactor;
private CallbackCoordinator coordinator;
private long startTime = -1;
private long timeout... |
package org.jcip;
import net.jcip.annotations.*;
/**
* SimulatedCAS
* <p/>
* Simulated CAS operation
*
* @author Brian Goetz and Tim Peierls
*/
@ThreadSafe
public class SimulatedCAS {
@GuardedBy("this") private int value;
public synchronized int get() {
return value;
}
public synchron... |
package ca.bc.gov.educ.api.assessment.model.dto;
import lombok.Data;
import org.springframework.stereotype.Component;
import java.util.List;
@Data
@Component
public class AssessmentRequirements {
List<AssessmentRequirement> assessmentRequirementList;
} |
package org.bulldog.core.io.bus.spi;
import java.io.IOException;
import org.bulldog.core.io.bus.BusDevice;
public class SpiDevice extends BusDevice {
public SpiDevice(SpiConnection connection) {
super(connection);
}
public SpiDevice(SpiBus bus, int address) {
this(bus.createSpiConnection(address));
}
p... |
package org.apereo.cas.authentication;
import lombok.val;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.autoconfigure.RefreshAutoConfiguration;
import org.springframework.core.io.ClassPathResource;... |
/**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
/*
* (c) Copyright 2019 Palantir Technologies 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 ... |
/*
* Copyright 2015 "Henry Tao <hi@henrytao.me>"
*
* 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 ... |
/*
* 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 com.hazelcast.config.*;
import com.hazelcast.config.cp.*;
public class CpSubsystemConfiguration {
public static void main(String[] args) throws Exception{
Config config = new Config();
//tag::cpconf[]
config.getCPSubsystemConfig()
.setCPMemberCount(7)
.s... |
/*
* Copyright (c) 2021 Bixbit s.c. All rights reserved.
* See LICENSE file for licensing information.
*/
package io.imunity.furms.integration.tests.rest.project;
import io.imunity.furms.domain.policy_documents.PolicyId;
import io.imunity.furms.domain.project_installation.Error;
import io.imunity.furms.domain.pro... |
/*
* Copyright 2016 riddles.io (developers@riddles.io)
*
* 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
*
* Unle... |
interface GCDsum {
static int[] solve(int s, int g) {
return s % g > 0 ? new int[]{-1, -1} : new int[]{g, s - g};
}
} |
package uk.co.blackpepper.bowman;
import java.net.URI;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.Links;
import org.springframework.web.util.UriComponentsBuilder;
import uk.co.blackpepper.bowman.annotation.RemoteResource;
c... |
/*
* 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 org.openapitools.vertxweb.server.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.openapitools.vertxweb.server.model.ExtensionClassImpl;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ExtensionClassC... |
package com.annimon.tgbotsmodule.analytics.chatbase;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class GenericResponse {
@JsonProperty("message_id")
private String messageId;
privat... |
/**
* The MIT License
*
* Copyright for portions of unirest-java are held by Kong Inc (c) 2013.
*
* 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
* with... |
package bbarena.model.pitch;
import bbarena.model.Choice;
import bbarena.model.Coordinate;
import java.util.HashMap;
import java.util.Map;
public class TeamSetUp implements Choice {
private final Map<Long, Coordinate> _playersPlacement;
public TeamSetUp() {
_playersPlacement = new HashMap<>();
... |
package org.logdb.bbtree;
public final class FixedPointAritmetic
{
private FixedPointAritmetic()
{
}
static boolean isQuantityBiggerThanPercentage(final long quantityA, final long quantityB, final int percentage)
{
assert percentage >= 0 && percentage <= 100 : "percentage has to be in ran... |
/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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... |
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.*;
/**
* @author maple 2018.09.21 下午4:03
*/
public class CyclicBarrierTest {
private static CyclicBarrier barrier = new CyclicBarrier(3);
private static class TThread implements Runnable {
private String name;
publi... |
package uk.ac.ebi.ep.web.controller;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframe... |
package p8project.sw801.ui.main.Fragments.MySmartDeviceFragment;
import java.util.List;
import p8project.sw801.data.model.db.SmartDevice;
public interface MySmartDeviceNavigator {
void updateSmartDevice(List<SmartDevice> mySmartDeviceList);
void addSmartDevice();
} |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/**
* This file is part of SourceCodeMetrics project.
*
* Copyright (C) 2012 Krystian Warzocha
*
* SourceCodeMetrics is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 2 of the License, o... |
package com.atul.scaler.lean.arrays.maxabsdiff;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupite... |
package book.life.domain;
import java.util.List;
public interface BasicMapper<T> {
Integer save(T domain); // 单个保存
Integer saveBatch(List list);
Integer update(T domain);
Integer updateBatch(List list);
Integer delete(T domain);
Integer deleteBatch(List list);
Integer deleteByPK(Long... |
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
//Deobfuscated with https://github.com/PetoPetko/Minecraft-Deobfuscator3000 using mappings "mcp_snapshot-20171003-1.12"!
/*
* Decompiled with CFR 0.150.
*
* Could not load the following classes:
* net.minecraft.entity.player.EntityPlayer
* net.minecraft.item.ItemStack
* net.minecraft.world.World
* net.mine... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
/*
* This file is generated by jOOQ.
*/
package org.jooq.example.app.model.tables.records;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record3;
import org.jooq.Row3;
import org.jooq.example.app.model.tables.Book;
import org.jooq.impl.UpdatableRecordImpl;
/**
... |
// 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... |
package pt.maisis.search;
import java.util.List;
/**
* Classe que contem o resultado de uma pesquisa bem
* como a metadata associada a esse resultado.
*
* @version 1.0
*/
public interface Result {
/**
* Retorna o resultado, propriamente dito, da pesquisa.
*/
SearchResult getSearchResult();
... |
/*
* 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) 2013 Motown.IO (info@motown.io)
*
* 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... |
/*
* Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* 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 mage.abilities.common;
import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.effects.Effect;
import mage.constants... |
/**
* Copyright (C) 2016 Hurence (support@hurence.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 a... |
package org.jboss.resteasy.test.rx.resource;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.HEAD;
import javax.ws.rs.OPTIONS;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.w... |
package com.simibubi.create.content.curiosities.tools;
import com.jozufozu.flywheel.core.PartialModel;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.content.curiosities.tools.BlueprintEntity.BlueprintSection;
import com.simibubi.create.foundation.... |
package uk.gov.hmcts.cmc.ccd.domain.defendant.statementofmeans;
public enum CCDPaymentFrequency {
WEEK,
TWO_WEEKS,
FOUR_WEEKS,
MONTH
} |
/*
* 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 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package ru.ithub.entity;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import ru.ithub.currency.Currency;
import java.util.UUID;
import static org.junit.jupiter.api.Assertions.assertEquals;
class CheckTest {
private Check existing;
private UUID testUUID;
@BeforeEach
vo... |
package org.embroideryio.embroideryio;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import static org.embroideryio.embroideryio.EmbConstant.*;
public abstract class EmbWriter extends WriteHelper implements EmbroideryIO.Writer {
protected EmbPatt... |
package com.jasonette.seed.Helper;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Environment;
import android.util.Log;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.model.GlideUrl;
import com.bumpte... |
/*
* 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 2017 Dmitriy Ponomarenko
*
* 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 agr... |
/*
* Copyright (C) 2015-2021 Emanuel Moecklin
*
* 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 org.azd.enums;
/***
* Action filter for the service connection. It specifies the action which can be performed on the service connection.
*/
public enum ServiceEndpointActionFilter {
MANAGE, USE, VIEW
} |
package uk.ac.man.cs.eventlite.dao;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import uk.ac.man.c... |
package org.apache.fulcrum.security.entity;
/*
* 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 ... |
package com.techishdevelopment.loveaholic;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.core.app.NotificationCom... |
/*
Copyright 2014 Giovanni Bricconi
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 The Apache Software Foundation
*
* 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 Apac... |
package voldemort.store.bdb.stats;
import java.util.Iterator;
import java.util.Map;
import java.util.SortedMap;
import com.sleepycat.je.DbInternal;
import com.sleepycat.je.Environment;
import com.sleepycat.je.cleaner.FileSummary;
import com.sleepycat.je.cleaner.UtilizationProfile;
import com.sleepycat.je.dbi.Environm... |
// Copyright (C) 2016 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package com.hummer.core.layout;
public class HMYogaConfigConstant {
public static final int ALIGN_CONTENT = 0;
public static final int ALIGN_ITEMS = 1;
public static final int ALIGN_SELF = 2;
public static final int ASPECT_RATIO = 3;
public static final int BORDER_ALL = 4;
public static final i... |
package allPairsShortestPath;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.commons.collections15.Transformer;
import org.junit.Test;
import threading... |
/*
* This file was automatically generated by EvoSuite
* Fri Dec 11 16:53:51 GMT 2015
*/
package org.quickserver.util.xmlreader;
import static org.junit.Assert.*;
import org.junit.Test;
import java.nio.charset.UnsupportedCharsetException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 ~ 2010 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License ... |
package org.wso2.carbon.apimgt.rest.api.publisher.v1;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.ErrorDTO;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.SearchResultListDTO;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.SearchApiService;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.