text stringlengths 7 1.01M |
|---|
package com.tliu3.demo.jmx;
import org.hibernate.stat.CollectionStatistics;
import org.hibernate.stat.EntityStatistics;
import org.hibernate.stat.NaturalIdCacheStatistics;
import org.hibernate.stat.QueryStatistics;
import org.hibernate.stat.SecondLevelCacheStatistics;
import org.hibernate.stat.Statistics;
public clas... |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... |
/*
* Copyright (c) 2016—2017 Andrei Tomashpolskiy and individual contributors.
*
* 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
*
* ... |
/*
* 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 com.uade.api.models;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.time.ZonedDateTime;
import java.util.Date;
@Getter
@Setter
@Builder
public class BidModel {
private int id;
private int catalogId;
private BigDecimal amount;
privat... |
package layout;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.sup... |
/*
* Copyright (c) 2008-2020, 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 ... |
/*
* 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.moringaschool.jbooks;
public class Constants {
public static final String GOOGLE_BASE_URL = "https://www.googleapis.com/books/v1/";
public static final String GOOGLE_API_KEY = BuildConfig.GOOGLE_API_KEY;
}
|
/*
* Copyright (c) 2002 and later by MH Software-Entwicklung. All Rights Reserved.
*
* JTattoo is multiple licensed. If your are an open source developer you can use
* it under the terms and conditions of the GNU General Public License version 2.0
* or later as published by the Free Software Foundation.
*
* see: gp... |
/*!
* Copyright 2010 - 2015 Pentaho Corporation. 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 ap... |
package com.cryptape.cita.abi.datatypes.generated;
import java.util.List;
import com.cryptape.cita.abi.datatypes.StaticArray;
import com.cryptape.cita.abi.datatypes.Type;
/**
* Auto generated code.
* <p><strong>Do not modifiy!</strong>
* <p>Please use com.cryptape.cita.codegen.AbiTypesGenerator in the
*/
public c... |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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... |
/*
* 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 ma... |
/*******************************************************************************
* Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
package uk.gov.hmcts.reform.sscs.services.quartz;
import static org.assertj.core.api.Assertions.assertThatCode;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.*;
import com.google.common.collect.ImmutableSet;
import java.util.... |
import java.awt.Point;
import java.awt.*;
import java.util.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
public class Circle
{
int cx;
int cy;
int r;
public static final int NONE = 0x00;
public static final int NNE = 0x01;
public static final int SSE = 0x02;
public static final int N... |
package ch2;
import net.jcip.annotations.ThreadSafe;
import javax.servlet.*;
import java.io.IOException;
import java.math.BigInteger;
import java.util.concurrent.atomic.AtomicLong;
/**
* @author xingchen.lin
* @desc
* @time 2019/5/3 6:13 PM.
*/
@ThreadSafe
public class CountingFactorizer implements Servlet {
... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.api.v2010.account.sip.credentiallist;
import com.twilio.base.Creator;
import com.twilio.exception.ApiConnectionException;
import com.twilio.exception.ApiException;
import com.twi... |
// Copyright (C) 2010 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package lambdasinaction.advanced.appa;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface Authors {
Author[] value();
}
|
/*
* Copyright (c) 2018, Kruithne <kruithne@gmail.com>
* Copyright (c) 2019, rbbi <31489752+rbbi@users.noreply.github.com>
* 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. Redistribu... |
package com.linhonghong.demo.dilutions;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import com.linhonghong.dilutions.DilutionsValue;
import com.linhonghong.dilutions.annotations.MethodExtra;
import com.linhonghong.dilutions.annotations.MethodParam;
import com.linhonghong.dilutions.ann... |
package com.example.app;
import java.lang.reflect.Proxy;
import com.example.aop.ProfilerHandler;
import com.example.service.LotteryService;
import com.example.service.impl.SimpleLotteryService;
/**
*
* @author Binnur Kurt <binnur.kurt@gmail.com>
*
*/
public class LotteryApp {
public static void main(String[] ... |
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
/*
* Copyright 2021 Patrik Karlström.
*
* 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... |
package org.optidb.optidbclient.model;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
public class Platform implements Serializable {
private String name;
private String ... |
package in.xnnyygn.concurrent.stm2;
public enum NodeRole {
FOLLOWER, CANDIDATE, LEADER
}
|
package com.zaaach.citypicker;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package fr.infotechnodev.quiz.fisicageneral.activities.gamerules.splitscreen;
import java.util.ArrayList;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import fr.infotechnodev.quiz.fisic... |
/*
* 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 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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.Swagger;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
////@Configuration
//public class WebMvcConfigurer extend... |
package rs.math.oop1.z070403.metodiKlasni.z02.geometrija;
class Cetvorougao {
String oznaka;
Tacka a;
Tacka b;
Tacka c;
Tacka d;
static int brojInicijalizacija = 0;
void init(String o, Tacka t1, Tacka t2, Tacka t3,
Tacka t4) {
oznaka = o;
a = new Tacka();
a.init(... |
/*
* #%L
* de-metas-common-shipping
* %%
* Copyright (C) 2021 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) any ... |
package com.github.ptrifonoff.java9.collection;
import java.util.stream.IntStream;
public class StreamDropAndTakeWhile {
public static void main(String[] args) {
// the methods takeWhile and dropWhile only make sense with ordered streams - otherwise it's not deterministic
// TODO Stream.takeWhil... |
package com.bakdata.conquery.models.identifiable.mapping;
import java.util.Arrays;
import java.util.Iterator;
import com.bakdata.conquery.io.cps.CPSBase;
import com.bakdata.conquery.models.auth.entities.User;
import com.bakdata.conquery.models.execution.ManagedExecution;
import com.bakdata.conquery.models.worker.Name... |
package com.caronsx.db.service;
import com.caronsx.db.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import java.util.List;
/**
*
* Created by yaoshuangxi on 27/02/2017.
*/
@Service
publi... |
package hello;
import org.testng.Assert;
import org.testng.annotations.Test;
public class HelloWorldTest {
@Test
public void testOne() {
HelloWorld.main(new String[0]);
}
@Test
public void testTwo() {
Assert.fail("just because");
}
@Test(enabled = false)
public void ... |
package com.treynix.helloworld;
import android.util.SparseArray;
import com.montezumba.lib.types.Constants;
import com.montezumba.lib.types.Playlist;
import com.treynix.tiviapplive.provider.config.AddonConfig;
import java.util.HashMap;
import java.util.Map;
public class HelloWorldConfig extends AddonConfig {
... |
package org.jetbrains.plugins.textmate.plist;
import com.intellij.openapi.util.JDOMUtil;
import com.intellij.openapi.util.io.FileUtilRt;
import com.intellij.openapi.util.text.StringUtil;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.N... |
package controllers;
import com.avaje.ebean.Ebean;
import com.fasterxml.jackson.databind.JsonNode;
import dataobject.RideStatus;
import models.Ride;
import models.User;
import models.Wallet;
import org.jetbrains.annotations.NotNull;
import org.junit.Before;
import play.Application;
import play.inject.guice.GuiceApplic... |
package cn.year2019.collection.map;
import org.junit.Test;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
public class TestMap {
public static void main(String[] args) {
}
@Test
public void testHashtable() {
Map<String, String> hashtable = new Hashtable<>();
... |
package io.deephaven.engine.table.impl.tuplesource.generated;
import io.deephaven.chunk.Chunk;
import io.deephaven.chunk.IntChunk;
import io.deephaven.chunk.ObjectChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.chunk.attributes.Values;
import io.deepha... |
package com.jerusalem.ware.controller;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Map;
import com.jerusalem.ware.vo.AddressWithFareVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.jerusalem.ware.entity.WareInfo... |
package com.sun.toy;
import android.animation.ValueAnimator;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
impo... |
package ru.stqa.pft.addressbook.model;
import com.google.common.collect.ForwardingSet;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Groups extends ForwardingSet<GroupData> {
private Set<GroupData> delegate;
public Groups(Groups groups) {
... |
/*
* Copyright (C) 2014-2015 LinkedIn Corp. 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 com.humanharvest.organz.server.controller.client;
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.is;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;... |
/*
* Copyright (c) 2021. Equipment & Tool Institute
*/
package org.etools.j1939_84.controllers.part04;
import static org.etools.j1939_84.J1939_84.NL;
import static org.etools.j1939_84.bus.j1939.packets.LampStatus.OFF;
import static org.etools.j1939_84.bus.j1939.packets.LampStatus.ON;
import static org.etools.j1939_8... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.userinterfaces.adminservices;
import org.odpi.openmetadata.adapters.repositoryservices.ConnectorConfigurationFactory;
import org.odpi.openmetadata.adminservices.OMAGServerExceptionHandler;
... |
package interview;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* (淘宝)实现一个容器,提供两个方法,add,size,
* 写两个线程,线程1添加10个元素到容器中,线程2实现监控元素的个数,当个数到5个时,线程2给出提示并结束
*
* 主要考的是线程的通信,用volatile修饰,加上同步容器
* 但是这线程t2一直死循环允许,很浪费CPU,如果不用死循环,该怎么做呢,看后面的实现
*
* @author wliduo[i@dolyw.com]
* @date 20... |
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.hr.framework.config.custom;
import com.hr.framework.tools.RemoteAddressUtils;
import java.io.Serializable;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.security.core.SpringSecurityCoreVersion;
import org.springframework.security.web.auth... |
/** Automatically generated file. DO NOT MODIFY */
package com.example.mt;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.screenlogin;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
import com.f... |
/*
* Copyright 2014-2016 whatlookingfor@gmail.com(Jonathan)
*
* 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... |
/*
* 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 controllers;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXCheckBox;
import com.jfoenix.controls.JFXPa... |
package net.messagevortex.asn1.encryption;
// FIXME enum not functional (must first match specified PRNGs)
/**
* <p>Specifies random number generator.</p>
*/
public enum PrngType {
FIXME(-1);
int id;
PrngType(int id) {
this.id = id;
}
public int getId() {
return this.id;
}
/***
* <p>Get... |
package ru.andreibelkin.pochtarossii.entity;
import lombok.*;
import org.hibernate.Hibernate;
import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
public class Shi... |
package com.WhiskyTangoFox.ReForge.RetroGeneration;
import net.minecraft.block.Blocks;
import net.minecraft.command.Commands;
import net.minecraft.command.FunctionObject;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.CommandBlockTileEntity;
import net.minecraft.util.ResourceLocati... |
package com.netflix.discovery.shared.resolver;
import java.util.List;
public interface EndpointRandomizer {
<T extends EurekaEndpoint> List<T> randomize(List<T> list);
}
|
/*
* Copyright 2016 jeasonlzy(廖子尧)
*
* 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... |
/*
* Copyright (C) 2017-2018 Dremio 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 applicable l... |
package datawave.query.exceptions;
public class EmptyUnfieldedTermExpansionException extends DatawaveFatalQueryException {
private static final long serialVersionUID = -4165403654001054963L;
public EmptyUnfieldedTermExpansionException() {
super();
}
public EmptyUnfieldedTermExpan... |
package com.weison.spring.ioc.annotation.bean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/**
* @author weison
* @description Fish beans
* @date 20-9-6 下午6:59
* @... |
package com.rresino.java8.examples.streams.data;
import java.io.Serializable;
public class Actor implements Serializable {
private static final long serialVersionUID = 1L;
String lastName;
String firstName;
public Actor(String lastName, String firstName) {
super();
this.lastName = lastName;
this.firstNa... |
/**
* Leetcode - partition_equal_subset_sum
*/
package com.leetcode.partition_equal_subset_sum;
// basic util
import java.util.*;
import com.ciaoshen.leetcode.util.*;
// leetcode-helper library
import com.ciaoshen.leetcode.helper.PropertyScanner;
// junit
import org.junit.runner.JUnitCore;
import org.junit.runner.R... |
package com.github.t1.problemdetaildemoapp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String... args) {
SpringApplication.run(Application.class, args);
... |
package com.brad.web.webspringboot.monitor.service.impl;
import com.brad.web.webspringboot.common.utils.AddressUtil;
import com.brad.web.webspringboot.common.utils.HttpContextUtil;
import com.brad.web.webspringboot.common.utils.IpUtil;
import com.brad.web.webspringboot.common.utils.SortUtil;
import com.brad.web.w... |
package com.haier.core.util;
import org.springframework.aop.framework.AopContext;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
... |
package ca.uhn.fhir.test.utilities;
/*-
* #%L
* HAPI FHIR Test Utilities
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* 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... |
package hw3.hash;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
public class TestComplexOomage {
@Test
public void testHashCodeDeterministic() {
ComplexOomage so = ComplexOomage.randomComplexOomage();
int hashCode = so.hashCode();... |
package eu.mihosoft.ext.velocity.legacy.util.introspection;
/*
* 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 u... |
package com.unideb.qsa.calculator.implementation.validator.specific;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.springframework.stereotype.Component;
import com.unideb.qsa.calculator.domain.SystemFeature;
import com.unideb.qsa.calculator.implementation.validator.FeatureValidat... |
package ee.homies.gaffer.util;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicInteger;
public class UidImpl implements Uid {
private static final int MAX_LENGTH = 64;
private static final At... |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to Y... |
package fi.jyffe.opentiku.eventservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
*
* @author Jyrki Rantonen
*
* Open TIKU Event Microservice
*
* Proof-of-concept for a open situational awareness software - OpenTIKU
*
* Demo... |
/*******************************************************************************
* Copyright (c) 1998, 2012 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. ... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.eventgrid.v2018_09_15_preview;
import com.micros... |
package org.infinispan.cache.impl;
import org.infinispan.AdvancedCache;
import org.infinispan.CacheSet;
import org.infinispan.atomic.Delta;
import org.infinispan.batch.BatchContainer;
import org.infinispan.commons.util.concurrent.NotifyingFuture;
import org.infinispan.container.DataContainer;
import org.infinispan.con... |
package me.pqpo.smartcropperlib.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.Porter... |
package com.shaadi.assignment.Candidates.Network.Response;
import com.google.gson.annotations.SerializedName;
public class Location {
@SerializedName("street")
private Street street;
@SerializedName("city")
private String city;
@SerializedName("state")
private String state;
@SerializedNam... |
/*
* Copyright (c) 2016 Yahoo Inc.
* Licensed under the terms of the Apache version 2.0 license.
* See LICENSE file for terms.
*/
package com.yahoo.yqlplus.engine.internal.java.functions;
import com.google.common.util.concurrent.AsyncFunction;
import com.google.common.util.concurrent.ListenableFuture;
import jav... |
package com.easemob.im.server;
import com.easemob.im.server.api.Context;
import com.easemob.im.server.api.DefaultContext;
import com.easemob.im.server.api.block.BlockApi;
import com.easemob.im.server.api.attachment.AttachmentApi;
import com.easemob.im.server.api.message.MessageApi;
import com.easemob.im.server.api.met... |
/***************************************************************/
/****** DO NOT EDIT THIS CLASS bc-java SOURCE FILE ******/
/***************************************************************/
package com.distrimind.bcfips.math.raw;
import java.math.BigInteger;
import com.distrimind.bcfips.util.Pack;
public abs... |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
package com.keepgulp.monitor.repository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class RepositoryApplicationTests {
@Test
... |
package org.visallo.web.routes.workspace;
import com.google.common.base.Joiner;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import org.visallo.webster.ParameterizedHandler;
import org.visallo.webster.annotations.Handle;
import org.visallo.webster.annotations.Required;
import org.vertex... |
/*
* 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 applica... |
package com.daimajia.slider.demo;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android... |
package pkg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** @see https://github.com/KengoTODA/findbugs-slf4j/issues/68 */
public class Issue68 {
private final Logger log = LoggerFactory.getLogger(getClass());
void method() {
log.info("I have a placeholder but no parameter. {}");
log.info("I... |
package com.alibaba.sreworks.health.common.exception;
/**
* 风险类型删除异常
*
* @author: fangzong.lyj@alibaba-inc.com
* @date: 2021/07/14 14:42
*/
public class RiskTypeDeleteException extends Exception {
public RiskTypeDeleteException(String message) {
super(message);
}
public RiskTypeDeleteExceptio... |
/**
* Copyright Microsoft 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 applicable law or agreed to... |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... |
/*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2021 Fabian Prasser and contributors
*
* 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/licen... |
package net.nanofix.message;
import io.nano.core.buffer.ByteBufferUtil;
import net.nanofix.util.ByteArrayUtil;
import net.nanofix.util.ByteString;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.nio.ByteBuffer;
import java.nio.charset.St... |
/*
* 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 de.hft_stuttgart.winf.proj2.sp.backend.handler;
import de.hft_stuttgart.winf.proj2.sp.backend.db_access.DbModule;
import de.hft_stuttgart.winf.proj2.sp.backend.db_access.DbQuestions;
import de.hft_stuttgart.winf.proj2.sp.backend.dto.*;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.