text stringlengths 7 995k |
|---|
package com.reactnativereceivesharingintent;
import android.app.Activity;
import android.app.Application;
import android.content.Intent;
import android.os.Build;
import androidx.annotation.RequiresApi;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.face... |
/*
* Copyright (C) 2014, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* Symbolic Pathfinder (jpf-symbc) is licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in com... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package model;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Condominio {
@Id
private String nome;
private String indirizzo;
private List<Appartamento> appartamenti;
/**
* @return the nome
*/
public String getNome() {
return nome;
}
/**
... |
/*
* RDV
* Real-time Data Viewer
* http://rdv.googlecode.com/
*
* Copyright (c) 2008 Palta Software
*
* 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 ... |
package org.folio.moduserstest;
import static java.net.HttpURLConnection.HTTP_MULT_CHOICE;
import static java.net.HttpURLConnection.HTTP_NO_CONTENT;
import static java.net.HttpURLConnection.HTTP_OK;
import static org.folio.rest.RestVerticle.OKAPI_HEADER_TENANT;
import static org.folio.rest.RestVerticle.OKAPI_USERID_H... |
package consular.classes.mixin;
import java.util.List;
import org.spongepowered.asm.mixin.Mixin;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.AxeItem;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.text.Text;
import net.minecraft.text.Translata... |
package com.ctrip.framework.dal.cluster.client.cluster;
import com.ctrip.framework.dal.cluster.client.Cluster;
import com.ctrip.framework.dal.cluster.client.base.UnsupportedListenable;
import com.ctrip.framework.dal.cluster.client.config.ClusterConfigImpl;
import com.ctrip.framework.dal.cluster.client.config.DalConfig... |
package com.skyform.modules.system.service.mapper;
import com.skyform.mapper.EntityMapper;
import com.skyform.modules.system.domain.AppGroup;
import com.skyform.modules.system.service.dto.AppGroupDTO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.springframework.stereotype.Repository;
... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package org.apache.dhval.client;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.FileUtils;
import org.apache.dhval.action.FormatXMLAction;
import org.apache.dhval.action.JFieldDocumentListener;
import org.apache.dhval.action.SaveFileAction;
import org.apache.dhval.action.SelectTextAct... |
/**
* Copyright 2009-2019 PrimeTek.
*
* 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 ... |
// Targeted by JavaCPP version 1.5.3: DO NOT EDIT THIS FILE
package org.bytedeco.artoolkitplus;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.artoolkitplus.global.ARToolKitPlus.*;
// #endi... |
/*
* 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 ... |
/**
* 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 n... |
package com.atguigu.gmall.wms.mapper;
import com.atguigu.gmall.wms.entity.PurchaseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 采购信息
*
* @author fengge
* @email fengge@atguigu.com
* @date 2021-06-23 19:15:28
*/
@Mapper
public interface Purcha... |
package com.vit.ayush.vibrance18.activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.vit.ayush.vibrance18.R;
public class AboutUsActivity extends AppCompatActivity {
Button back;
... |
package com.ceiba.vivienda.servicio.testdatabuilder;
public class ComandoReservaTestDataBuilder {
private Long id;
private int tipoVivienda;
private int aireAcondicionado;
private int admiteMascotas;
private int calefaccion;
private int numeroHabitaciones;
private int numeroBanios;
pri... |
package com.in28minutes.web.common.tags;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import com.in28minutes.web.common.util.TodoListUtils;
import java.io.IOException;
public class StatusLabelTag extends SimpleTagSupport {
private... |
package com.study.spring.util;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.Random;
import javax.imageio.ImageIO;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import ja... |
package cc.shinichi.library.tool.text;
import java.security.MessageDigest;
/**
* @author 工藤
* @email gougou@16fan.com
* cc.shinichi.library.tool.text
* create at 2018/12/14 09:48
* description:
*/
public class MD5Util {
private static final String[] hexDigIts =
{"0", "1", "2", "3", "4", "5", "... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.cuda.nvml;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.cuda.global.cudar... |
/*******************************************************************************
* Cloud Foundry
* Copyright (c) [2009-2016] Pivotal Software, Inc. All Rights Reserved.
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except i... |
package com.idrv.coach.data.model;
import com.idrv.coach.bean.TeamMember;
import com.idrv.coach.data.constants.ApiConstant;
import com.zjb.volley.core.request.HttpGsonRequest;
import com.zjb.volley.core.request.Request;
import com.zjb.volley.core.request.RequestBuilder;
import com.zjb.volley.core.response.HttpResponse... |
/**
* 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.yechaoa.wanandroidclient.bean;
import java.util.List;
/**
* GitHub : https://github.com/yechaoa
* CSDN : http://blog.csdn.net/yechaoa
* <p>
* Created by yechao on 2018/4/26.
* Describe :
*/
public class Navi {
/**
* articles : [{"apkLink":"","author":"小编",...,"type":0,"visible":1,"zan":0}... |
package com.aen.principle.demeter.case1;
/**
* Title: {@link CollegeEmployee}
* Description:
*
* @author 谭 tmn
* @email AbelEthan@aliyun.com
* @date 2020/5/26 14:52
*/
public class CollegeEmployee {
private String id;
public String getId() {
return id;
}
public void setId(String id) {... |
package io.github.stekeblad.videouploader.utils;
public class Constants {
public static final String DATA_DIR = "VideoUploader data";
public static final String AUTH_DIR = DATA_DIR + "/.auth";
public static final String PRESET_DIR = DATA_DIR + "/presets";
public static final String UPLOAD_DIR = DATA_DI... |
/*
* 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... |
/*
* Copyright (C) 2015 Square, 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 agre... |
/*
* Copyright 2014-2017 Time Warner Cable, 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 ... |
/*
*
* Copyright 2016 Netflix, 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 ap... |
package com.wildcreek.designpatterns.observer;
/**
* Created by Administrator on 2017/9/27 0027.
*/
public enum ClassBellType {
BEGIN ,DISSMISS ;
@Override
public String toString() {
return this.name().toLowerCase();
}
} |
package pl.whr.booksearch.service.allegro.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;
/**
* User... |
package iskallia.itraders.world.data;
import java.util.HashMap;
import java.util.Map;
import iskallia.itraders.Traders;
import iskallia.itraders.world.storage.PouchInventory;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minec... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
package glg203.validation;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* Représentation objet des données du formulaire.
*/
public class CalcForm {
@Min(value = 0)
@NotNull
p... |
/* Copyright 2017 Zutubi Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package com.codepath.apps.restclienttemplate;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerVi... |
package org.zstack.test.console;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.componentloader.ComponentLoader;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.core.db.SimpleQuery;
import org.zstack.header.con... |
package WayofTime.alchemicalWizardry.api.event;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.eventhandler.Cancelable;
@Cancelable
public class PlayerAddToNetworkEvent extends AddToNetworkEvent
{
public final EntityPlayer player;
public ItemStack it... |
package eu.codlab.swtor.internal.app.impl;
import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;
import eu.codlab.common.dependency.DependencyInjectorFactory;
import eu.codlab.swtor.internal.injector.DependencyStandardInjector;
/**
* Created by kevinleperf on 16/0... |
package demo.springboot.akka.helloworld;
/**
* @author: bilahepan
* @date: 2018/12/2 下午9:42
*/
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
public class AkkaQuickstart {
public static void main(String[] args) {
final ActorSystem system = ActorSystem.create("helloakka");
try {
... |
/*
* Copyright (c) 2018 https://www.reactivedesignpatterns.com/
*
* Copyright (c) 2018 https://rdp.reactiveplatform.xyz/
*
*/
package chapter14;
import chapter14.ComplexCommand.BatchJobJS;
import chapter14.ComplexCommand.PartialResult;
import java.io.IOException;
import java.io.InputStream;
import java.util.Scan... |
/**
* Copyright 2011 ArcBees 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 in... |
/*
* Copyright 2019 The Eggroll 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 b... |
package com.stc.trawl.voice.engine.model;
import com.stc.trawl.voice.data.preprocess.PreprocessedAudio;
import com.stc.trawl.voice.data.seg.SegmentationWithBinData;
import lombok.Builder;
import lombok.Getter;
@Getter
@Builder
public class DictorsPreprocessedAudioAndSegmentations {
private PreprocessedAudio prepr... |
package com.onevgo.sssp.repository;
import com.onevgo.sssp.entity.Department;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.jpa.repository.QueryHints;
import javax.persistence.QueryHint;
import java.util.List;
publi... |
package com.qa.trello.tests.framework;
import com.qa.trello.model.Team;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
public class TeamHelper extends HelperBase {
public TeamHelper(WebDriver wd) {
super(wd);
}
public void confirmTeamCreatio... |
/*
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) 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 a2.mobile.mobileapp.adapters;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.GradientDrawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import a... |
package io.elastic.jdbc.utils;
import io.elastic.jdbc.query_builders.MSSQLOld;
import io.elastic.jdbc.query_builders.MySQLOld;
import io.elastic.jdbc.query_builders.OracleOld;
import io.elastic.jdbc.query_builders.QueryOld;
public class TriggerQueryFactory {
public QueryOld getQuery(String dbEngine) {
if ... |
package ro.msg.learning.shop.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "product_category")
@Data
@AllArgsConstructor
@No... |
package ie.tudublin;
public class VisualException extends Throwable
{
/**
*
*/
private static final long serialVersionUID = 1L;
private String message;
public VisualException(String message)
{
this.message = message;
}
public String toString()
{
retu... |
package com.example.lin_sir_one.tripbuyer;
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()... |
package com.alibaba.alink.params.io.shared;
import org.apache.flink.ml.api.misc.param.ParamInfo;
import org.apache.flink.ml.api.misc.param.ParamInfoFactory;
import org.apache.flink.ml.api.misc.param.WithParams;
public interface HasFileSystemUri<T> extends WithParams <T> {
ParamInfo <String> FS_URI = ParamInfoFactory... |
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package sandbox.tiled.mario;
import com.almasb.fxgl.animation.Animation;
import com.almasb.fxgl.animation.Interpolators;
import com.almasb.fxgl.app.FXGL;
import com.almasb.fxgl.entity... |
/*
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
* This is licensed software from AccelByte Inc, for limitations
* and restrictions contact your company contract manager.
*
* Code generated. DO NOT EDIT.
*/
package net.accelbyte.sdk.cli.api.iam.users;
import com.fasterxml.jackson.core.type.TypeReferen... |
/**
* Copyright 2015, Yahoo Inc.
* Licensed under the terms of the Apache License 2.0. Please see LICENSE file in the project root for terms.
*/
package flink.benchmark;
import benchmark.common.advertising.RedisAdCampaignCache;
import flink.benchmark.generator.EventGeneratorSource;
import flink.benchmark.generator.... |
package de.uni.bielefeld.sc.hterhors.psink.obie.projects.scio.ontology.interfaces;
import de.hterhors.obie.core.ontology.AbstractIndividual;
import de.hterhors.obie.core.ontology.IndividualFactory;
import de.hterhors.obie.core.ontology.annotations.AssignableSubClasses;
import de.hterhors.obie.core.ontology.annotations... |
package fr.xephi.authme.settings.properties;
import ch.jalu.configme.Comment;
import ch.jalu.configme.SettingsHolder;
import ch.jalu.configme.properties.Property;
import java.util.List;
import static ch.jalu.configme.properties.PropertyInitializer.newListProperty;
import static ch.jalu.configme.properties.PropertyIn... |
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
*
* Creation Date: 2009-05-06
* ... |
package org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50;
import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Element30_50;
import org.hl7.fhir.exceptions.FHIRException;
public class Code30_50 {
public static org.hl7.fhir.r5.model.CodeType convertCode(org.hl7.fhir.dstu3.model.CodeType src)... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 PrograMonks
*
* 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, ... |
/**************************************************************************************************
* Copyright (c) 2016, Automation Systems Group, Institute of Computer Aided Automation, TU Wien
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... |
package com.example.colin.audioprocessing;
import java.util.ArrayList;
/**
* Created by Colin on 27/03/2018.
*/
public class Segmentation
{
int noteCount =0;
Object[][] note_amp;
int totalCount = 1;
int lowerThreshold = 300;
int upperThreshold = 500;
public Object[][] segmentation(String[... |
/* Distributed under the Apache License, Version 2.0.
See accompanying NOTICE file for details.*/
/* Distributed under the Apache License, Version 2.0.
See accompanying NOTICE file for details.*/
package mil.tatrc.physiology.datamodel.compartment;
import java.util.*;
import com.kitware.physiology.cdm.Compartme... |
package com.gfstabile.java.barberrest.service;
import com.gfstabile.java.barberrest.entity.barber.Barber;
import com.gfstabile.java.barberrest.exception.BarberAlreadyExistsException;
import com.gfstabile.java.barberrest.exception.BarberDoNotExistsException;
import com.gfstabile.java.barberrest.exception.InvalidBarberE... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
/*
* Copyright 2019 The nity.io gRPC Spring Boot Project 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 require... |
/*
* Copyright © 2015 Stefan Niederhauser (nidin@gmx.ch)
*
* 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... |
/*
* JBoss, Home of Professional Open Source
*
* Copyright 2011 Red Hat, Inc. and/or its affiliates, and individual
* contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
package entities;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;
@Data
@AllArgsConstructor
public class Account {
private int id;
private int balance;
private List<Payment> payments;
} |
package dojo.Dojo2;
import java.util.Random;
public class Pokemon {
//atributos
private String nome;
private String tipo;
private float peso; //não esquecer de colocar o f (0.5f, 14.6f)
private float altura;
private int felicidade;
private int chanceDeCaptura;
private boolean captur... |
package rres.knetminer.datasource.api;
import java.lang.annotation.Inherited;
import org.springframework.stereotype.Component;
/**
* Any class annotated with this annotation, as long as it is also in the package rres.knetminer.datasource,
* even if in another JAR, will be picked up by the KnetminerServer autowirin... |
package com.github.yizzuide.milkomeda.light;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.type.TypeFactory;
import com.github.yizzuide.milkomeda.pulsar.PulsarHolder;
import com.github.yizzuide.milkomeda.universe.polyfill.Red... |
package com.sequenceiq.cloudbreak.service.user;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.... |
package com.dragontalker.exer2;
public abstract class Employee {
private final String name;
private final int number;
private final MyDate birthday;
public Employee(String name, int number, MyDate birthday) {
this.name = name;
this.number = number;
this.birthday = birthday;
... |
package com.zman.net.pull.netty.codec;
import com.zman.pull.stream.ISink;
import com.zman.pull.stream.ISource;
import com.zman.pull.stream.impl.DefaultSink;
import com.zman.pull.stream.impl.DefaultSource;
import io.netty.buffer.ByteBuf;
import org.junit.Assert;
import org.junit.Test;
import javax.xml.ws.Holder;
impor... |
package com.zmh.projectoa.controller;
import com.github.pagehelper.PageInfo;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Userinfo;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.RedisService;
import com.zmh.projectoa.service.UserinfoService;
import com.zmh.projectoa.s... |
/*
* 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 Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
/*
* WPCleaner: A tool to help on Wikipedia maintenance tasks.
* Copyright (C) 2013 Nicolas Vervelle
*
* See README.txt file for licensing information.
*/
package org.wikipediacleaner.api.check;
import static org.junit.Assert.*;
import org.junit.Test;
import org.wikipediacleaner.api.constants.EnumWikipedia;... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 abel533@gmail.com
*
* 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... |
/**
* Health and Metrics specific code.
*/
package com.license.licenserecordsystem.config.metrics; |
/**
* @fileoverview This file contains the definition of the ortc factory interface
* @author ORTC team members (ortc@ibt.pt)
*/
package ibt.ortc.extensibility;
/**
* Represents a factory of a type of ortc clients.
*
* @version 2.1.0 27 Mar 2013 2012
* @author IBT
*
*/
public interface OrtcFactory {
/**
... |
package com.flightmonitor.application.f24.model.generated;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclud... |
package net.minecraft.world.gen;
import java.util.Random;
public class NoiseGeneratorSimplex
{
private static final int[][] grad3 = new int[][] {{1, 1, 0}, { -1, 1, 0}, {1, -1, 0}, { -1, -1, 0}, {1, 0, 1}, { -1, 0, 1}, {1, 0, -1}, { -1, 0, -1}, {0, 1, 1}, {0, -1, 1}, {0, 1, -1}, {0, -1, -1}};
public static fi... |
package com.example.rules.customRules;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
public class LoggingRule implements TestRule {
private String name;
public LoggingRule(String name) {
this.name = name;
}
public Statement apply(final Sta... |
package org.wikipedia.analytics;
import android.support.annotation.NonNull;
import org.json.JSONObject;
import org.wikipedia.WikipediaApp;
public class AppLanguageSelectFunnel extends TimedFunnel {
private static final String SCHEMA_NAME = "MobileWikiAppLangSelect";
private static final int REV_ID = 12588733... |
package org.pytorch.serve.archive.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonParseException;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
impor... |
package ${package}.general.common.base.test;
import io.oasp.module.test.common.base.ModuleTest;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import javax.xml.XMLConstants;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.Pars... |
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2019 Nordix Foundation.
* Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under th... |
/**
* Copyright 2017 Goldman Sachs.
* 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 2022 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... |
/*
* Copyright 2018 Netflix, 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 t... |
package jbm.framework.boot.autoconfigure.excel;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.core.io.ResourceLoader;
import jbm.framework.excel.ExcelTemplate;
@EnableConfigurationProperties(ExcelProper... |
/*
* #%L
* VersionRangeTest.java - mongodb-async-driver - Allanbank Consulting, Inc.
* %%
* Copyright (C) 2011 - 2014 Allanbank Consulting, 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 th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.