text stringlengths 7 995k |
|---|
package net.minecraft.block;
import net.minecraft.item.BlockItemUseContext;
import net.minecraft.state.IntegerProperty;
import net.minecraft.state.StateContainer;
import net.minecraft.state.properties.BlockStateProperties;
import net.minecraft.util.Mirror;
import net.minecraft.util.Rotation;
import net.minecraft.util.... |
/*
* Copyright 2006-2011 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 jetbrains.mps.baseLanguage.collections.typesystem;
/*Generated by MPS */
import jetbrains.mps.lang.pattern.GeneratedMatcher;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
/*package*/ class Pattern_yoc8ci_a0a0a0f extends GeneratedMatcher {
pu... |
/*
* Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences.
*
* This file is part of Duckling 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 L... |
package com.senseidb.federated.broker.proxy;
import java.util.Map;
import org.apache.commons.configuration.Configuration;
import com.linkedin.norbert.javacompat.network.PartitionedLoadBalancerFactory;
import com.senseidb.conf.SenseiConfParams;
import com.senseidb.search.node.broker.BrokerConfig;
import com.senseidb.... |
/*
* 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 cn.icodening.console.server.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 包装响应.
* 用于controller层return任何值时都能统一包装为 {@link cn.icodening.console.server.util.ConsoleResponse}
*
*... |
/*
* RHQ Management Platform
* Copyright (C) 2005-2008 Red Hat, Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation, and/or the GNU Lesser
* General ... |
/*
* Copyright 2014 Dan Haywood
*
* 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 a... |
package org.intermine.task;
/*
* Copyright (C) 2002-2022 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.html.
... |
package horserace;
import java.awt.*;
import java.awt.image.*;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
import javax.swing.JSlider;
import javax.swing.plaf.basic.BasicSliderUI;
public class CustomSliderUI extends BasicSliderUI {
public CustomSlide... |
package ro.nom.vmt.spreadsheet_importer.problems;
/*
*@Author Mihai Vasile (2021)
*
* This file is part of the Spreadsheet Importer project
* This file as well as the project have an MIT license
*/
import ro.nom.vmt.spreadsheet_importer.util.Messages;
import java.util.Arrays;
import java.util.stream.Collectors;... |
package com.example.helloworld.cli;
import com.example.helloworld.HelloWorldConfiguration;
import com.example.helloworld.core.Template;
import com.google.common.base.Optional;
import com.yammer.dropwizard.cli.ConfiguredCommand;
import com.yammer.dropwizard.config.Bootstrap;
import net.sourceforge.argparse4j.impl.Argum... |
package mage.interfaces.callback;
import mage.remote.traffic.ZippedObject;
import mage.utils.CompressUtil;
import java.io.Serializable;
import java.util.UUID;
/**
* @author BetaSteward_at_googlemail.com
*/
public class ClientCallback implements Serializable {
private UUID objectId;
private Object data;
... |
package insertionSort;
public class App {
public static void main(String[] args){
int[] arr = {3,18,4,2,9};
for(int a:arr){
System.out.println(a);
}
System.out.println("============================");
int[] res=insertionSort(arr);
for(int a:res){
... |
package jforgame.merge.service;
import jforgame.merge.config.MergeServer;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
public class BackUpService {
private static BackUpService self = new BackUpService();
public static BackUpService getInstance() {
return self;
... |
package com.liang.p2p.base.mapper;
import com.liang.p2p.base.domain.Logininfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface LogininfoMapper {
int insert(Logininfo record);
Logininfo selectByPrimaryKey(Long id);
List<Logininfo> selectAll();
int updateByPrimar... |
/*
* 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.pushingpixels.demo.flamingo.svg.filetypes.transcoded;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.plaf.UIResource;
import org.pushingpixels.neon.icon.IsHiDpiAware;
import org.pushingpixels.neon.icon.ResizableIcon;
import org.pushingpixels.neon.icon.NeonIcon;
import org.pushingpixels.neon... |
/*
* Copyright 2016 - 2018 Michael Rapp
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.saankaa.rapidxend.service.Authentication;
import com.saankaa.rapidxend.config.security.JwtUtils;
import com.saankaa.rapidxend.config.security.UserDetailsImpl;
import com.saankaa.rapidxend.model.Device;
import com.saankaa.rapidxend.repository.IDeviceRepository;
import dev.samstevens.totp.code.CodeVerifier;
... |
package module666packageJava0;
import java.lang.Integer;
public class Foo162 {
Integer int0;
Integer int1;
public void foo0() {
new module666packageJava0.Foo161().foo13();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public ... |
package com.yuan.mul;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
public class Consumer implements Runnable {
private LinkedBlockingDeque<Request> reqDeque;
private AtomicInteger reqCnt;
private long timeout;
... |
package uzc.kit.entity.response.attachment;
import uzc.kit.entity.UzcAddress;
import uzc.kit.entity.UzcValue;
import uzc.kit.entity.response.TransactionAttachment;
import uzc.kit.service.impl.grpc.BrsApi;
import java.util.Map;
import java.util.stream.Collectors;
public class MultiOutAttachment extends TransactionAtt... |
package com.github.midros.istheapp.di.module;
import androidx.appcompat.app.AppCompatActivity;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.annotation.Generated;
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://google.github.io/dagger"
)
p... |
/**
* 文件名:UserOperationService.java
*
* 版本信息:
* 日期:2018年6月30日
* Copyright 足下 Corporation 2018
* 版权所有
*
*/
package com.thinkgem.jeesite.modules.mmy.operation.user.service;
import org.springframework.stereotype.Service;
import com.thinkgem.jeesite.common.service.CrudService;
imp... |
/**
* Copyright 2017 Syncleus, Inc.
* with portions copyright 2004-2017 Bo Zimmerman
*
* 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 Java source file was generated by the Gradle 'init' task.
*/
package basiclibrary;
import org.junit.Test;
import static org.junit.Assert.*;
public class LibraryTest {
@Test public void testRollMethod() {
Library libRollTest = new Library();
assertEquals("roll method should be array of... |
package org.hisp.dhis.sms.incoming;
/*
* Copyright (c) 2004-2020, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above c... |
package com.example.rodrigo.sunshine.app.data;
import android.annotation.TargetApi;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteQueryB... |
package com.lothrazar.cyclicmagic.block.cablepump;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import com.lothrazar.cyclicmagic.block.IFacingBlacklist;
import com.lothrazar.cyclicmagic.block.cable.BlockCableBase;
import com.lothrazar.cyclicmagic.block.cab... |
package com.dianrong.common.uniauth.common.cache;
import org.springframework.cache.Cache;
import org.springframework.cache.concurrent.ConcurrentMapCache;
import java.util.Collection;
/**
* 管理缓存.
*/
public interface UniauthCacheManager {
/**
* 缓存缓存.
* @param name 缓存的名称.
* @return 获取到的缓存.
*/
Uniauth... |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... |
package com.samsungsds.analyst.code.api.impl;
import com.samsungsds.analyst.code.api.AnalysisProgress;
import com.samsungsds.analyst.code.api.CodeAnalyst;
import com.samsungsds.analyst.code.api.ProgressObserver;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Array... |
package brownrw8.tasks;
import java.util.Map;
public class MapBasedTask extends AbstractTask<Map, Integer>{
private Map input;
private Integer output;
public MapBasedTask(Map input) {
this.input = input;
}
public void execute(){
this.output = task(input);
}
protected Int... |
/*
* 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 DAO;
import Viviendas.PisoImp;
import java.io.*;
import static java.lang.Integer.parseInt;
import java.util.ArrayList;
import ... |
package au.edu.unimelb.csse.join;
import java.io.IOException;
import org.apache.lucene.index.DocsAndPositionsEnum;
import au.edu.unimelb.csse.Operator;
import au.edu.unimelb.csse.OperatorAware;
import au.edu.unimelb.csse.paypack.LogicalNodePositionAware;
/**
* This is an adaptation of the Staircase join by Grust e... |
package org.exarhteam.iitc_mobile;
import android.content.ActivityNotFoundException;
import android.content.ClipData;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.webkit.ConsoleMessage;
import android.webkit.GeolocationPermissions;
import android.webkit.JsPromptResult;... |
/*
* Copyright (c) 2008-2018, 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 ... |
import java.util.Scanner;
public class Year {
public static void main(String[] Strings) {
double minutesInYear = 60 * 24 * 365;
Scanner a = new Scanner(System.in);
System.out.print("Input the number : ");
double min = a.nextDouble();
long years = (long) (min / minutesI... |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.cyclops.integrateddynamics.core.evaluate.operator;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import net.minecraft.util.EnumFacing;
import org.apache.commons.lang3.tuple.Pair;
import org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler;
import o... |
package cn.torna.web.controller.module.param;
import cn.torna.common.support.IdCodec;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
* @author wuga... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.re... |
/*
* Copyright 2018 ThoughtWorks, 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 agr... |
package com.heavenhr.recruitment.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import com.heavenhr.recruitment.model.entity.OfferEntity;
/**
* The interface OfferRepository.
*
... |
package io.happylrd.childishscorems.ui;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;... |
package com.google.android.gms.fit.samples.stepcounter;
/*
* ****************************************************************************
* * Created by : Md. Azizul Islam on 8/13/2018 at 6:14 PM.
* * Email : azizul@w3engineers.com
* *
* * Purpose:
* *
* * Last edited by : Md. Azizul Islam on 8/13/2018.
... |
/**
* Copyright 2016 Yahoo Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
* Copyright (c) 2010, Institute of Telematics (Dennis Pfisterer, Marco Wegner, Dennis Boldt, Sascha Seidel, Joss Widderich), University of Luebeck
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following condition... |
package info.lmovse.blog.core.util.backup;
public class Column {
private String name;
private String typeName;
private int dataType;
public String getName() {
return name;
}
public int getDataType() {
return dataType;
}
public Column(String name, String typeName, int dataType) {
super();
this.name ... |
package com.gigroup.oop;
public class GenericTest2 {
public static void main(String[] args) {
System.out.println(max(2,3,8));
System.out.println(max(2.0,3.0,8.0));
System.out.println(max("Elemento1","Elemento2","Elemento3"));
}
public static <T extends Comparable<T>> T max(T x, T y, T z) {
T max = x;
i... |
/*******************************************************************************
* Copyright (c) 1998, 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
... |
/*
* 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.randomappsinc.foodjournal.api;
public class ApiConstants {
static final String BASE_URL = "https://api.yelp.com";
static final String AUTHORIZATION = "Authorization";
static final String BEARER_PREFIX = "Bearer ";
static final int DEFAULT_NUM_RESTAURANTS = 10;
static final String BE... |
public class exercise2 {
public static void main(String[] args){
if(args.length!=2){
System.out.println("Too few or too many arguments.");
System.exit(1);
}
else{
if(!args[0].equals("lazy")&&!args[0].equals("triangle")){
System.out.println("Incorrect first argument. Try lazy or triangle.");
Sy... |
package com.example.piero.couchbase2;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.ke2g.cued_recall;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.preference.PreferenceManager;
imp... |
package uk.ac.cam.ceb.como.chem.property;
public enum Phase {
Aqueous("aqueous"),
Gaseous("gaseous"),
Liquid("liquid"),
Solid("solid"),
Crystalline("crystalline"),
Unknown("unknown");
private final String phase;
Phase(String phase) {
this.phase = phase;
}
public Str... |
package br.ufsc.lapesd.sspsp.sink;
import br.com.ivansalvadori.ssp.sp.cleaner.BoletimOcorrencia;
import com.google.common.base.Preconditions;
import java.io.*;
public abstract class BoletimOcorrenciaSink<Enrichment> implements EnrichmentSink<Enrichment> {
private final File dir;
private final String suffix;
... |
package ru.job4j.chess.figures;
import org.junit.Assert;
import org.junit.Test;
import ru.job4j.chess.Board;
import ru.job4j.chess.Cell;
import ru.job4j.chess.exceptions.ImpossibleMoveException;
import ru.job4j.chess.exceptions.OccupiedWayException;
/**
* Класс, содержащий тесты для класса Pawn(Пешка).
*
* @author... |
package com.kirakira.blackheart.coolweather;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.lay... |
package org.incode.module.document.dom.impl.docs;
import java.util.List;
import javax.inject.Inject;
import javax.jdo.annotations.Column;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Indices;
import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import ... |
/*
* 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... |
/*
* Copyright (c) 2013, 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 Softwa... |
package org.ostelco.ocsgw.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.ConcurrentLinkedQueue;
public class EventProducer<T> {
private static final Logger LOG = LoggerFactory.getLogger(EventProducer.class);
private final ConcurrentLinkedQueue<T> queue;
publ... |
/*
* Copyright (C) 2018 The Dagger 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 applicable law or ag... |
package com.sparrow.collect.utils.bean;
/**
* Created by Administrator on 2019/2/21 0021.
*/
public class BeanUtils {
private BeanUtils(){
}
public static Class<?> loadClass(String className)
throws ClassNotFoundException {
ClassLoader classLoader = Thread.currentThread()
... |
/*
* 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) 2005, 2012 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... |
////////////////////////////////////////////////////////////////////////////////////
// //
// MIT License //
// ... |
/**
* Copyright 2020 the original author or authors.
* <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... |
/*
* Copyright (c) 1997-1999 Bill Venners. All rights reserved.
*
* Source code file from the book "Inside the Java 2 Virtual Machine,"
* by Bill Venners, published by McGraw-Hill, 1999, ISBN: 0-07-135093-4.
*
* This source file may not be copied, modified, or redistributed
* EXCEPT as allowed by the following stateme... |
/*
* 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.identification;
import io.proleap.cobol.asg.metamodel... |
/*
* 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 com.spring.maven.service.impl;
import com.spring.maven.common.ICommonService;
import com.spring.maven.model.Patient;
/**
*
... |
/**
* 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.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 盒子自建菜品查询时返回的模型
*
* @author auto create
* @since 1.0, 2018-12-21 17:36:31
*/
public class PosDishQryModel extends A... |
package com.enwash.rutils.proxy;
import net.minecraft.item.Item;
public class CommonProxy {
public void registerItemRenderer(Item item, int meta, String id) {}
} |
/*
* Copyright (c) 2015 Layer. 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 applica... |
package com.sivalabs.demo.services;
import com.amazonaws.services.kinesis.AmazonKinesisAsync;
import com.amazonaws.services.kinesis.model.CreateStreamRequest;
import com.amazonaws.services.kinesis.model.DescribeStreamRequest;
import com.amazonaws.services.kinesis.model.DescribeStreamResult;
import com.amazonaws.servic... |
package io.rtr.alchemy.testing.db;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import io.rtr.alchemy.db.ExperimentsStoreProvider;
import io.rtr.alchemy.db.Filter;
import io.rtr.alchemy.db.Ordering;
import io.rtr.alchemy.filtering.FilterExpression;
import io.rtr.alchemy.identitie... |
/**
* LocationCriterionServiceError.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201603.cm;
/**
* Represents errors thrown by the {@link LocationCriterionService#get}
* operation.
*/
public ... |
/*
* Copyright © 2018 Smoke Turner, LLC (contact@smoketurner.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 requir... |
/*
Copyright 2009, 2011, 2013 James (Zhengmao HU)
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 com.alex.common.core.domain.entity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.alex.common.annotation.Excel;
import com.alex.common.annotation... |
package com.apps.miaowu.web.controller;
import com.apps.miaowu.bean.ArticleWithBLOBs;
import com.apps.miaowu.bean.result.APIResult;
import com.apps.miaowu.dao.extend.LabelMapperExtend;
import com.apps.miaowu.service.LabelService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.we... |
package org.dnal.core.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import org.dnal.core.logger.Log;
public class TextComparer {
private int numErrors;
private int lineNum;
public boolean compare(String s1, String s2) {
if (! s1.equals(s2)) {
return false;
... |
package demo2;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authc.U... |
/*
* Copyright (c) [2016] [ <ether.camp> ]
* This file is part of the ethereumJ library.
*
* The ethereumJ library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, ... |
package com.dbvisit.replicate.plog.metadata;
/**
* Copyright 2016 Dbvisit Software Limited
*
* 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... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
package io.github.spring.tools.redis;
import io.github.spring.tools.redis.exception.TimeoutLockException;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.concurrent.locks.Condition;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.asse... |
package com.graly.erp.inv.outserialquery;
import java.util.List;
import org.apache.log4j.Logger;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.FocusAdapter;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.la... |
/* 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... |
/******************************************************************************
* Copyright (c) 2016 TypeFox 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
* http://www.eclipse.org/legal/epl-2.0,
* or the... |
package com.jefferson.regah.server.handler;
import com.google.gson.reflect.TypeToken;
import com.jefferson.regah.SharedResources;
import com.jefferson.regah.client.handler.InvalidRequest;
import com.jefferson.regah.client.handler.RequestProcessingFailed;
import com.jefferson.regah.com.jefferson.jade.ImmutableWrapper;
... |
/*
* 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
... |
package com.googlecode.assignmentdialog.util;
import java.util.ArrayList;
import java.util.List;
import junit.framework.Assert;
import org.junit.Test;
import com.googlecode.assignmentdialog.MyTo;
import com.googlecode.assignmentdialog.MyToAssignable;
import com.googlecode.assignmentdialog.core.IAssignable;
/**
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.