text stringlengths 7 995k |
|---|
package org.jenkinsci.plugins.ghprb;
import antlr.ANTLRException;
import com.coravy.hudson.plugins.github.GithubProjectProperty;
import com.google.common.collect.Lists;
import hudson.model.FreeStyleProject;
import hudson.plugins.git.BranchSpec;
import hudson.plugins.git.GitSCM;
import hudson.plugins.git.UserRemoteConf... |
package com.basis.java.gof23.decorator.demo;
/**
* TODO
*
* @author lihongjian
* @since 2020/4/26
*/
public class Window extends Componet{
public Window(String name) {
super.name = name;
}
@Override
public void display() {
System.out.println("显示窗体....");
}
} |
package org.hisp.dhis.dxf2.events.enrollment;
/*
* Copyright (c) 2004-2016, 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 t... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.autofill;
import android.content.Context;
import android.os.Build;
import org.chromium.autofill.mojom.SubmissionSource;
... |
/*
* $Id: FontUtil.java,v 1.8 2006/05/05 19:19:34 jeffmc Exp $
*
* Copyright 1997-2019 Unidata Program Center/University Corporation for
* Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
* support@unidata.ucar.edu.
*
* This library is free software; you can redistribute it and/or modify it
* under the ... |
/**
* ref page: https://www.programmersought.com/article/9614475358/
* http://localhost:8088/websocket/sample
*/
package kr.stteam.TwtRoute.controller;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestCon... |
package app.customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.anno... |
/*
* Copyright 2015 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 ... |
package com.dev.a0302paging;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an ... |
/*
* 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) 2008-2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.dr;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootEleme... |
package com.github.douglsantos.dataprovider.rest;
import java.net.URI;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.Paramet... |
package algorithm.array;
import java.util.HashMap;
import java.util.Map;
/**
* 1. Two Sum
* Given an array of integers, return indices of the two numbers such
* that they add up to a specific target.
* You may assume that each input would have exactly one solution.
* https://leetcode.com/problems/two-sum
* @au... |
package com.tm.config;
import org.springframework.aop.Advisor;
import org.springframework.aop.aspectj.AspectJExpressionPointcut;
import org.springframework.aop.support.DefaultPointcutAdvisor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.tm... |
package com.gempukku.libgdx.graph.plugin.sprites.producer;
import com.badlogic.gdx.graphics.VertexAttribute;
import com.badlogic.gdx.graphics.glutils.ShaderProgram;
import com.badlogic.gdx.utils.JsonValue;
import com.badlogic.gdx.utils.ObjectMap;
import com.badlogic.gdx.utils.ObjectSet;
import com.gempukku.libgdx.grap... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
package com.googlecode.blaisemath.svg.xml;
/*
* #%L
* BlaiseGraphics
* --
* Copyright (C) 2014 - 2021 Elisha Peterson
* --
* 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
*
* h... |
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------... |
package cn.edu.nju.util;
import java.io.File;
import java.io.IOException;
import java.time.Year;
import java.util.Scanner;
public class Interaction {
public static void say(String content, boolean isParted) {
if (!isParted) {
return ;
}
Scanner in = new Scanner(System.in);
... |
package org.omri.radioservice.metadata;
import java.net.URI;
import java.util.Calendar;
/**
* Copyright (C) 2016 Open Mobile Radio Interface (OMRI) 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 ... |
package io.github.jroy.advent.twentynineteen.dayten;
import io.github.jroy.advent.common.Utils;
import io.github.jroy.advent.common.OrderedPair;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
public class PartOne {... |
package com.edination.api.PDGM.model;
import javax.persistence.*;
@Entity
@Table(name = "M1840")
public class M1840 {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private int M1840ID;
private int id;
private boolean flag;
private String discription;
private int functionalPoint;
... |
/*
* 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 mage.cards.m;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.condition.common.SourceOnBattlefieldControlUnchangedCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.... |
package org.simplejavamail.internal.authenticatedsockssupport.socks5client;
import org.simplejavamail.internal.util.MiscUtil;
import org.simplejavamail.internal.authenticatedsockssupport.common.SocksException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.ByteArrayOutputStream;
import java.i... |
/*
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
*
*/
package com.rockingengineering.bms.dto;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
* @author naveen
*
* @date 05-Sep-2019
*/
@Getter
@Setter
@NoArgsConstructor... |
package execute_bytecode;
public class Client {
private Client(String name) {
this(name, 18);
}
private Client(String name, int age) {
}
public static void main(String[] args) {
Fruit fruit = new Apple();
fruit.getName();
}
} |
package com.audax.dev.forte.maps;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.os.Looper;
import android.widget.Toast;
import com.audax.dev.forte.R;
import com.google.androi... |
/*
* 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.newsp.config.handle;
import com.newsp.config.annotation.TokenToUser;
import com.newsp.entity.AdminUser;
import com.newsp.service.AdminUserService;
import org.springframework.core.MethodParameter;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.support.WebDataBinderFacto... |
package com.cp.monsterMod.ui.adapters.list;
import static com.cp.monsterMod.Constants.TYPE_ARTIST;
import android.content.Context;
import android.database.Cursor;
import android.provider.BaseColumns;
import android.provider.MediaStore.MediaColumns;
import android.provider.MediaStore.Audio.AudioColumns;
import com.cp.m... |
package cucumber.runtime;
import cucumber.api.SnippetType;
import cucumber.runtime.io.MultiLoader;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class... |
package org.inaturalist.android;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Color;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os... |
package cn.tangxinyao.thrift.api.encrypt.annotation;
import cn.tangxinyao.thrift.api.encrypt.config.EncryptConfiguration;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({EncryptConfigura... |
/*
* Copyright (c) 2008-2022, 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 ... |
/*
* Copyright 2006 Webmedia Group 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 agree... |
package br.com.trisoft.eventos.lazymodel;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import org.primefaces.model.LazyDataModel;
import org.primefaces.model.SortOrder;
import br.com.trisoft.eventos.dao.EventoDAO;
import br.com.trisoft.eventos.model.Evento;
public class EventosAbertosLa... |
/*
* 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.xrpl.xrpl4j.model.client.common;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
/**
* A String wrapping class that defines three static constants representing shortcut values
* which can be used to specify a ledger index in a rippled API request.
*/
public class LedgerInd... |
/*
* Copyright 2010 Aalto University, ComNet
* Released under GPLv3. See LICENSE.txt for details.
*/
package routing.schedule;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ScheduleOracle implements Serializable{
priv... |
package com.oregonscientific.meep.together.activity;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.util.Log;
import com.oregonscientific.meep.Build;
public class Utils {
// isValidEmailAddress: Check the email address is OK
public static boolean isValidEmailAddress(String emailAdd... |
/*
* MIT License
*
* Copyright (c) 2018-2022 Alexis Jehan
*
* 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, copy... |
/*
* aTalk, android VoIP and Instant Messaging client
* Copyright 2014 Eng Chong Meng
*
* 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.salesmanager.core.business.services.shipping;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.salesmanager.core.business.repositories.shipping.ShippingOriginRepository;
import com.salesmanager.core.business.ser... |
package org.thekiddos.faith.services;
import lombok.SneakyThrows;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.util.LinkedMul... |
/*
* Copyright © 2017 Cask Data, 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 ag... |
package com.spotify.heroic.aggregation;
import com.spotify.heroic.test.LombokDataTest;
import org.junit.Test;
public class CollapseTest {
@Test
public void lombokDataTest() {
LombokDataTest.verifyClass(Collapse.class);
}
} |
package cn.zengchen233.servlet.bill;
import cn.zengchen233.pojo.Bill;
import cn.zengchen233.pojo.Provider;
import cn.zengchen233.pojo.User;
import cn.zengchen233.service.bill.BillService;
import cn.zengchen233.service.bill.BillServiceImpl;
import cn.zengchen233.service.provider.ProviderService;
import cn.zengchen233.... |
/*
* Copyright (C) 2010 Nullbyte <http://nullbyte.eu>
*
* 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 appli... |
package com.yi.uccn.service;
import com.yi.uccn.model.Banner;
import com.yi.uccn.model.BannerExample;
import java.util.List;
/**
* 首页图片
* @author YI
*/
public interface BannerService {
/**
* 保存banner图片地址
* @param record
* @return
*/
int save(Banner record);
/**
* 保存banner图片地... |
/**
* Copyright 2018 Pivotal Software, Inc.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicab... |
package com.example;
import javax.annotation.Generated;
@Generated("org.realityforge.webtack")
public final class EventListenerOptionsTestCompile {
static EventListenerOptions $typeReference$;
public static EventListenerOptions.Builder of() {
return EventListenerOptions.of();
}
public static boolean cap... |
package com.ss.gulimall.order.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 订单操作历史记录
*
* @author fangsheng
* @email 445317262@qq.com
* @date 2021-10-17 15:33:44
*/
... |
package org.example.kickoff.model.validator;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotati... |
package com.vladmihalcea.hibernate.type.util.providers;
import com.mysql.cj.jdbc.MysqlDataSource;
import javax.sql.DataSource;
import java.util.Properties;
/**
* @author Vlad Mihalcea
*/
public class MySQLDataSourceProvider implements DataSourceProvider {
private boolean rewriteBatchedStatements = true;
... |
/**
* Target_group_type.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package nl.pdekker.nts_4_0;
public class Target_group_type implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = -59422657639... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
***** BEGIN LICENSE BLOCK *****
* Version: EPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* License Version 1.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.eclipse.org/legal/e... |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/**
* Benchmark copied from the original rendersnake project, adapted
* to RendersnakeXT
*/
package com.github.ruediste.rendersnakeXT.benchmark.rendersnakeXT; |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
// 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.milchstrabe.rainbow.biz.service.impl;
import com.milchstrabe.rainbow.biz.common.util.BeanUtils;
import com.milchstrabe.rainbow.biz.domain.dto.UserDTO;
import com.milchstrabe.rainbow.biz.domain.dto.UserPropertyDTO;
import com.milchstrabe.rainbow.biz.domain.po.User;
import com.milchstrabe.rainbow.biz.domain.... |
package us.ihmc.ihmcPerception.depthData;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.ddogleg.nn.FactoryNearestNeighbor;
import org.ddogleg.nn.NearestNeighbor;
import org.junit.Test;
im... |
package io.shiftleft.fuzzyc2cpg.ast.expressions;
import io.shiftleft.fuzzyc2cpg.ast.walking.ASTNodeVisitor;
public class StaticPropertyExpression extends MemberAccess {
private Expression classExpression = null;
private Expression propertyExpression = null;
public Expression getClassExpression() {
return ... |
/*
* 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 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... |
/***********************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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, and is available at
* ... |
package org.smartregister.opd;
import android.os.Build;
import org.junit.Before;
import org.junit.Rule;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
i... |
package com.graly.mes.prd.designer.common.command;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.gef.commands.Command;
import com.graly.mes.prd.designer.common.Logger;
import com.graly.mes.prd.designer.common.notation.Edge;
import com.graly.mes.prd.designer.common.notation.Node;
import com.gra... |
package ysomap.exploits;
import ysomap.common.util.Status;
/**
* @author wh1t3P1g
* @since 2021/6/13
*/
public interface Exploit extends Runnable{
Exploit set(String key, Object value) throws Exception;
String get(String key);
boolean has(String key);
void setStatus(Status status);
void work()... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.handler;
import com.google.inject.Inject;
import com.yahoo.container.QrSearchersConfig;
import com.yahoo.container.core.VipStatusConfig;
import com.yahoo.container.jdisc.st... |
package com.ververica.common.model.sql;
import lombok.Data;
@Data
public class Statement {
String statement;
} |
package org.hisp.dhis.common.cache;
/*
* Copyright (c) 2004-2018, 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.haier.auth;
import com.haier.core.annotation.Enable7FeignClients;
import com.haier.core.annotation.Enable7CustomConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @Description: TODO(这里用一句话描述这个类的作用)
* @Author Ami
* @Date ... |
//,temp,sample_363.java,2,8,temp,sample_362.java,2,9
//,3
public class xxx {
public XDR umntall(XDR out, int xid, InetAddress client) {
if (LOG.isDebugEnabled()) {
log.info("mount umntall client");
}
}
}; |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import edu.wpi.first.wpilibj.kinematics.DifferentialDriveKinematics;
import edu.wpi.first.wpilibj.sy... |
package shuaicj.hello.configuration.case05.service;
import org.springframework.stereotype.Service;
import shuaicj.hello.configuration.case05.bean.A;
import shuaicj.hello.configuration.case05.bean.B;
import shuaicj.hello.configuration.case05.bean.C;
/**
* A bar service.
*
* @author shuaicj 2019/10/12
*/
@Service
p... |
package ru.stqa.pft.mantis.appmanager;
import biz.futureware.mantis.rpc.soap.client.*;
import ru.stqa.pft.mantis.model.Issue;
import ru.stqa.pft.mantis.model.Project;
import javax.xml.rpc.ServiceException;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URL;
import java.rmi.RemoteE... |
package com.missu;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android device.
*... |
package io.github.ititus.math.base.binary;
import io.github.ititus.math.number.BigRational;
import io.github.ititus.math.number.BigRationalConstants;
import java.math.BigInteger;
public final class QFixedPoint {
private final TwosComplement complement;
private final BigRational scale;
public QFixedPoin... |
package com.ess.filepicker.loader;
import android.content.Context;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.database.MergeCursor;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.v4.content.CursorLoader;
import com.ess.filepicker.SelectOpti... |
/*
* 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 tech.notpaper.go.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import tech.notpaper.go.model.Game;
@Repository
public interface GameRepository extends JpaRepository<Game, Long> {
} |
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.virtualvehicle.commands;
import javax.annotation.Nullable;
impo... |
package com.hjg.base.util.log;
/**
* Created by pengwei08 on 2015/7/20.
*/
public interface Printer {
void d(String message, Object... args);
void d(Object object);
void e(String message, Object... args);
void e(Object object);
void w(String message, Object... args);
void w(Object object);... |
package com.easysoft.sma;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.domain.AuditorAware;
import org.springframework.stereotype.Component;
@Component
public class UserNameAuditorAware implements AuditorAware<String> {
@Value("admin")
priva... |
package br.com.jotajr.empresas.ie.estados;
import br.com.jotajr.empresas.ie.InscricaoEstadualBase;
public class InscricaoEstadualMG extends InscricaoEstadualBase {
private static final Integer[] MULTIPLICADOR_1 = new Integer[]{Integer.valueOf(1), Integer.valueOf(2), Integer.valueOf(1), Integer.valueOf(2), Integer... |
/*
* Ory APIs
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
* The version of the OpenAPI document: v0.0.1-alpha.46
* Contact: support@ory.sh
*
* NOTE: This class is auto generate... |
package net.piratjsk.eggit;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import static net.piratjsk.eggit.Util.co... |
package shadersmod.uniform;
import org.lwjgl.opengl.ARBShaderObjects;
import shadersmod.client.Shaders;
public class ShaderUniformInt extends ShaderUniformBase
{
private int value = -1;
public ShaderUniformInt(String name)
{
super(name);
}
protected void onProgramChanged()
{
... |
package org.jetbrains.idea.maven.dom;
import com.intellij.openapi.util.text.StringUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.idea.maven.dom.model.MavenDomDependency;
/**
* @author Sergey Evdokimov
*/
public class DependencyId {
private final Strin... |
package tektor.minecraft.talldoors.doorworkshop.renderer.windows;
import org.lwjgl.opengl.GL11;
import tektor.minecraft.talldoors.doorworkshop.DoorPartRegistry;
import tektor.minecraft.talldoors.doorworkshop.entity.doorparts.AbstractDoorPart;
import tektor.minecraft.talldoors.doorworkshop.entity.doorparts.windows.Gla... |
/**
*
* Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 w... |
package com.hyd.animationart.other;
import android.animation.TypeEvaluator;
import android.graphics.PointF;
import com.hyd.animationart.utils.BezierUtil;
/**
* Created by hydCoder on 2019/12/27.
* 以梦为马,明日天涯。
*/
public class BezierEvaluator implements TypeEvaluator<PointF> {
private PointF mFlagPointF;
p... |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockitousage.bugs;
import static org.mockito.Mockito.*;
import org.junit.Test;
import org.mockitoutil.TestBase;
// see bug 116
public class AIOOBExceptionWithAtLeastTest extends TestBas... |
package me.efnilite.skematic.util;
import me.efnilite.skematic.Skematic;
public abstract class TaskManager {
public static TaskManager manager;
public abstract void async(Runnable r);
public abstract void sync(Runnable r);
public abstract void laterAsync(Runnable r, long delay);
public abstra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.