text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2002-2019, Mairie de Paris
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice
* and the... |
/*
* Copyright 2013 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 com.github.havarunner.example.suite;
import com.github.havarunner.HavaRunner;
import com.github.havarunner.HavaRunnerSuite;
import org.junit.runner.RunWith;
@RunWith(HavaRunner.class)
public class WebApplicationSuiteTest implements HavaRunnerSuite<WebServer> {
final WebServer webServer;
public WebAp... |
/*
* Copyright (c) 2019-2020 GeyserMC. http://geysermc.org
*
* 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,... |
package com.auto.test.domain;
import com.auto.test.enums.AgreementType;
import java.util.Date;
public class ApiUrl {
private Long id;
private Long apiBaseId;
private AgreementType agreement;
private String domainName;
private Integer port;
private String apiPath;
private Long create... |
/**
* 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) 2007 Andy Jefferson and others. 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://... |
package com.aliyun.odps.udf.example.text.withclone;
import com.aliyun.odps.NotImplementedException;
import com.aliyun.odps.udf.Extractor;
import com.aliyun.odps.udf.OdpsStorageHandler;
import com.aliyun.odps.udf.Outputer;
public class TextStorageHandlerWithClone extends OdpsStorageHandler {
@Override
public Clas... |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... |
/**
* +---------------------------------------------------------
* | Author Jared.Yan<yanhuaiwen@163.com>
* +---------------------------------------------------------
* | Copyright (c) http://cmsen.com All rights reserved.
* +---------------------------------------------------------
*/
package com.cmsen.common;
... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
package cn.wizzer.framework.log4j;
import java.util.*;
/**
* MyRollingCalendar is a helper class to DailyMaxRollingFileAppender. Given a periodicity
* type and the current time, it computes the past maxBackupIndex date.
*/
class MyRollingCalendar extends GregorianCalendar
{
private static final long serialVer... |
package view;
import model.Notification;
import model.SystemAdmin;
import model.TeamLeader;
public class SystemAdminMainMenu extends MainMenu{
public SystemAdminMainMenu(SystemAdmin systemAdmin){
super(systemAdmin);
}
public void watchATeamMemberProfile(String userName){
}
public void rem... |
package com.gym.shancai.bean;
/**
* Created by Administrator on 2017/9/14 0014.
* 选择要结算的商品后显示相应总计
*/
public class CarTotalBean {
} |
/*
* Copyright 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 "license" file ... |
/*
* Copyright (c) 2002-2020 Gargoyle Software 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 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... |
package me.dablakbandit.dabcore.vault;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import net.milkbowl.vault.permission.Permission;
public class Perm {
public static Perm perm = new Perm();
private Permission permission;
private Perm(){
RegisteredServiceProvider<Permission> ... |
package com.ebiz.bp_oracle.service;
import com.ebiz.ssi.service.BaseFacade;
public interface Facade extends BaseFacade {
BaseAttributeService getBaseAttributeService();
BaseAttributeSonService getBaseAttributeSonService();
BaseBrandInfoService getBaseBrandInfoService();
BaseClassLinkAttributeService getBaseCl... |
package com.mesosphere.sdk.offer;
import org.apache.mesos.Protos.Resource;
import com.mesosphere.sdk.testutils.ResourceTestUtils;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ResourceRequirementTest {
private static final Logger logger = Log... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
import org.bytedeco.pytorch.Allocator;
import org.bytedeco.pytorch.Function;
import org.bytedeco.pytorch.Module;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static... |
/*
* *
* 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
* "Lice... |
package org.openalpr;
/**
* Open ALPR wrapper.
*/
public class AlprJNIWrapper implements OpenALPR {
static {
// System.loadLibrary("openalpr-native");
System.loadLibrary("pngt");
System.loadLibrary("jpgt");
System.loadLibrary("lept");
System.loadLibrary("tess");
S... |
package com.salesmanager.core.business.repositories.catalog.product.relationship;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import com.salesman... |
package ru.hollowhorizon.hc.common.objects.blocks;
import net.minecraft.block.Block;
public abstract class HollowBlock extends Block implements IBlockProperties {
public HollowBlock(Properties p_i48440_1_) {
super(p_i48440_1_);
}
} |
package com.oneonezz.utils;
/**
* Created by ${Justin} on 2019/10/29.
*/
public class NumberUtil {
public static void main(String[] args) {
for (int i=1; i<100; i++){
int alpha = (int) Math.round(i/100.0 * 255);
String hex = Integer.toHexString(alpha).toUpperCase();
if... |
/*
* Copyright 2017-2018 original 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 agre... |
package io.opensphere.merge.algorithm;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.TreeSet;
import io.opensphere.core.util.collections.New;
import io.opensphere.mantle.crust.SimpleMetaDataProvider;
import io.opensphere.mantle.data.DataTypeInfo;
import ... |
/**
* Copyright 2016 Palantir Technologies
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicable law or agreed to in wri... |
/*
* Copyright 2015-2020 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 Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ccr;
import org.elasticsearch.action.ActionL... |
package org.firstinspires.ftc.teamcode.testOpMode;// Simple autonomous program that drives bot forward until end of period
// or touch sensor is hit. If touched, backs up a bit and turns 90 degrees
// right and keeps going. Demonstrates obstacle avoidance and use of the
// REV Hub's built in IMU in place of a gyro. Als... |
package com.grafixartist.gallery.retrogram;
public enum Scope {
basic, comments, relationships, likes
} |
import java.util.Scanner;
/**
* Try to deal as much damage to the boss as possible and survive its onslaught !
**/
public class Boss {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
for (int i = 0; i < 16; i++) {
String mapLine = in.next(); // the map of the fight
... |
package org.arrowhead.wp5.application.entities;
/*-
* #%L
* ARROWHEAD::WP5::Application-Common
* %%
* Copyright (C) 2016 The ARROWHEAD Consortium
* %%
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... |
package seedu.recipe.logic.commands.plan;
import static java.util.Objects.requireNonNull;
import seedu.recipe.logic.commands.Command;
import seedu.recipe.logic.commands.CommandResult;
import seedu.recipe.logic.commands.CommandType;
import seedu.recipe.model.Model;
import seedu.recipe.model.plan.PlannedBook;
import se... |
package com.vk.api.sdk.queries.messages;
import com.vk.api.sdk.client.AbstractQueryBuilder;
import com.vk.api.sdk.client.VkApiClient;
import com.vk.api.sdk.client.actors.GroupActor;
import com.vk.api.sdk.client.actors.UserActor;
import com.vk.api.sdk.objects.messages.responses.GetResponse;
import java.util.Arrays;
im... |
package com.xiaojian.spring.methodInterceptor;
import org.springframework.cglib.proxy.Callback;
import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.cglib.proxy.MethodProxy;
import java.lang.reflect.Method;
/**
* @author 小贱
* @create 2020-10-11 12:05
*/
public class MyMethodInterce... |
package vo;
public class ConferenceProceeding extends Document {
private String conDate;
private String conEditor;
private String conLocation;
public String getConDate() {
return conDate;
}
public void setConDate(String conDate) {
this.conDate = conDate;
}
public String getConEditor() {
return conEdit... |
/*
* 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 quickfix.fix44;
import quickfix.FieldNotFound;
import quickfix.Group;
public class QuoteRequest extends Message
{
static final long serialVersionUID = 20050617;
public static final String MSGTYPE = "R";
public QuoteRequest()
{
super();
getHeader().setField(new quickfix.field.MsgType(MSGTY... |
package com.xixi.search.inquire.printer;
/**
┌──800
┌──760
│ └──600
┌──540
│ └──476
│ └──445
┌──410
│ └──394
381
│ ┌──190
│ │ └──146
│ ┌──40
│ │ └──35
└──12
└──9
* @author MJ Lee
*
*/
public class InorderPrinter extends Printer {
... |
package com.ntk.ehcrawler.activities;
import android.annotation.SuppressLint;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
import ... |
/*
* Copyright (C) 2015 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 com.hb0730.boot.admin.project.notice.mail.model.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
/**
* 测试模板
*
* @author bing_huang
* @since 3.0.0
*/
@Data
@EqualsAndHashCode
@ToString
public class... |
package ClassificationTraining.huaweiMiddle;
import java.util.Stack;
/**
* @Classname AddTwoNumbers
* @Description TODO
* @Date 2020/9/13 16:42
* @Created by Administrator
*/
public class AddTwoNumbers {
public static ListNode addTwoNumbers(ListNode l1, ListNode l2) {
Stack<Integer> stack1 = new Stac... |
/*
* 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... |
/*******************************************************************************
* Copyright 2018 The MIT Internet Trust Consortium
*
* 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
*
* ... |
// --------------------------------------------------------------------------------
// Copyright 2002-2022 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:/... |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2017.
*/
package org.telegram.ui;
import android.Manifest;
import android.animation.An... |
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.numerics.movingaverages;
import java.io.Serializable;
/**
* A sum where the values are decayed at an exponential rate to zero.
*/
public class ExponentiallyDecayedSum implements Serializable {
private static final lon... |
package org.nutz.boot.starter.tomcat;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.JarURLConnection;
import java.net.URL;
import java.nio.charset.Charset;
import java.security.cert.Certificate;
import java.util.Map;
import java.util.conc... |
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries. 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
*/
pac... |
/*
* 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 under t... |
/*
* Copyright (C) 2018 xuexiangjys(xuexiangjys@163.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright 2016-2021 Litsec AB
*
* 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.corpus.sensor.myo;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.math3.geometry.euclidean.threed.Rotation;
import com.corpus.scene.Joint;
import com.corpus.scene.JointType;
import com.thalmic.myo.AbstractDeviceListener;
import com.thalmic.myo.Myo;
import com.thalmic.myo.Quater... |
/*
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package io.toolisticon.annotationprocessortoolkit.test;
import io.toolisticon.annotationprocessortoolkit.TestAnnotation;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
@TestAnnotation
public class GetAttributesCommandWithInheritanceTestClass {
@Data
private static class TestDataAnnotatedClass... |
package io.payrun.models;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName(value = "RenderLink")
public class RenderLink extends SingularOutputBase
{
@JsonProperty(value="@Output")
pub... |
package com.hospitalapp;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.faceb... |
package com.mrkt.sys.config;
import java.util.Properties;
import java.io.InputStreamReader;
public class Configurator
{
// CONSTRUCT
public static final String RES_PUBLIC_CONFIG = "/staticconfig.pub.properties";
public static final String RES_PRIVATE_CONFIG = "/staticconfig.properties";
public static f... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package fr.miage.projetagent.compagnie;
import java.util.Date;
public class VolPropose {
private String pays;
private Date dateArrivee;
private Double volume;
private Double prix;
private String idVol;
public String getPays() {
return pays;
}
public void setPays(String pays)... |
package com.zrlog.web.version;
import java.sql.Connection;
/**
* 用于在版本升级过程中,无法单纯通过SQL更新的问题,使用代码扩展性更强
*/
public interface UpgradeVersionHandler {
void doUpgrade(Connection connection) throws Exception;
} |
/*
* Copyright ConsenSys Software Inc., 2022
*
* 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... |
package com.woshidaniu.workflow.action;
import java.io.Serializable;
/**
* 操作结果提示信息实体
* @author <a href="mailto:Yongwu_Chen@126.com">陈永武</a>
* @since 2012-5-28
* @version V1.0.0
*/
public class Message implements Serializable {
private static final long serialVersionUID = -1916711541716633072L;
private bool... |
package headfirst.state;
public class LoginInState implements UserState {
@Override
public void deleteCard() {
System.out.println("删除购物车成功");
}
@Override
public void addCard() {
System.out.println("添加购物车成功");
}
} |
/*
* 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 io.minotti.eSignatureServer.signature;
import io.minotti.eSignatureServer.signature.service.SignService;
import io.minotti.eSignatureServer.StorageManager;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
public class SignServicePool {
private final HashMap<String, SignService> po... |
/*
* Copyright (c) 2016, Uber Technologies, 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 a... |
package com.blackoutburst.scoreboardapi;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
public class NMSScoreboard {
public enum DisplaySlot {
PLAYER_LIST,
SIDEBAR,
BELOW_NAME
}
protected List<NMSScoreboar... |
/*
* Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A..
*
* 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 ... |
/*
* Copyright (C) 2007 The Guava 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 agreed ... |
/*
* Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 David Berkman
*
* This file is part of the SmallMind Code Project.
*
* The SmallMind Code Project is free software, you can redistribute
* it and/or modify it under either, at your discretion...
*
* 1) The term... |
/*
* Copyright 2014-2019 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... |
package dydeve.site.web.exception;
/**
* Created by dy on 2017/7/21.
*/
public class InvalidParamException extends CustomServerException {
public InvalidParamException(String msg, int code) {
super(msg, code);
}
} |
package org.clever.graaljs.core.internal;
import lombok.SneakyThrows;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.time.DateUtils;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Time;
import java.sql.Timestamp;
import java.time.*;
import java.util.*;
/**
* ... |
/*
* 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 proC.physicsWorld;
/****************************************************************************
* Copyright (C) 1999-2001 by the Massachusetts Institute of Technology,
* Cambridge, Massachusetts.
*
* All Rights Reserved
*
* Permission to use, copy, modify, and ... |
package com.qiuxs.cuteframework.core.persistent.database.dao;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.qiuxs.cuteframework.core.persistent.database.dao.page.PageInfo;
import com.qiuxs.cuteframework.core.persistent.database.entity.IEntity;
publi... |
/*
* Copyright 2010-2020 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 "lice... |
/*
* 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) 2018 AlexMofer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Copyright 2019 TWO SIGMA OPEN SOURCE, 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... |
package mekanism.common.util;
import mekanism.api.IHeatTransfer;
import mekanism.common.capabilities.Capabilities;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
public class HeatUtils
{
public static double[] simulate(IHeatTransfer source)
{
double heatTr... |
package de.popts.verein.einheit.jpa;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import de.popts.v... |
/**
* Copyright (c) 2010 Daniel Murphy
*
* 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, modify, merge, publ... |
package org.infinispan.persistence.sifs.configuration;
import static org.infinispan.persistence.sifs.configuration.Element.DATA;
import static org.infinispan.persistence.sifs.configuration.Element.INDEX;
import static org.infinispan.persistence.sifs.configuration.Element.SOFT_INDEX_FILE_STORE;
import org.infinispan.c... |
package com.wgl.gulimall.product.dao;
import com.wgl.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品属性
*
* @author wangguoli
* @email wangguoli@gmail.com
* @date 2020-11-21 14:14:54
*/
@Mapper
public interface Att... |
package com.github.eostermueller.snail4j.processmodel;
import java.nio.file.Path;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.eostermueller.snail4j.DefaultFactory;
import com.github.eostermueller.snail4j.Snail4jException;
import com.github.eostermueller.snail4j.launcher.AbstractStdoutS... |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.util.map;
import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
/**
* Implementation of {@link Map2} that holds its values by soft reference. K... |
package org.estatio.integtests.budgetassignment;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import javax.inject.Inject;
import org.joda.time.LocalDate;
import org.junit.Before;
import org.junit.Test;
import org.apache.isis.applib.fixturescripts.F... |
/*
* XML Type: tBindingOperation
* Namespace: http://schemas.xmlsoap.org/wsdl/
* Java type: org.apache.geronimo.xbeans.wsdl.TBindingOperation
*
* Automatically generated - do not modify.
*/
package org.apache.geronimo.xbeans.wsdl;
/**
* An XML tBindingOperation(@http://schemas.xmlsoap.org/wsdl/).
*
* This i... |
package Project;
public interface IStack {
/**
* Removes the element at the top of stack and returns that element.
*
* @return top of stack element, or through exception if empty
*/
public Object pop();
/**
* Get the element at the top of stack without removing it from stack.
*
* @return to... |
/*
* Copyright 2016 Kevin Owen Burress <speakeasysky@gmail.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... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.assistants;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.ws... |
package ktmsaver;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import com.tatesuke.ktmsaver.ui.KTMFileDialog;
public class KTMFileDialogTest {
public static void main(String[] args) throws InvocationTargetException, InterruptedException {
KTMFileDialog dialog = new KTMFileDialog();
... |
/*
Copyright (c) 2014,2015 Ahome' Innovation Technologies. 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
Unl... |
package com.example.fajar.konselorku;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.