text stringlengths 7 995k |
|---|
package kelvin.mite.mixin.client;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.entity.CreeperEntityRenderer;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.client.render.... |
package org.hadatac.console.controllers.triplestore;
import java.util.List;
import java.io.File;
import org.hadatac.Constants;
import org.hadatac.console.controllers.Application;
import org.pac4j.play.java.Secure;
import play.mvc.*;
import org.hadatac.console.controllers.AuthApplication;
import org.hadatac.console.c... |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2015 Dirk Beyer
* 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... |
/*
* Copyright (C) 2014 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... |
/*
* This file is part of Burningwave Core.
*
* Author: Roberto Gentili
*
* Hosted at: https://github.com/burningwave/core
*
* --
*
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Roberto Gentili
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and assoc... |
package org.apache.cayenne.testdo.toone.auto;
import org.apache.cayenne.PersistentObject;
import org.apache.cayenne.ValueHolder;
import org.apache.cayenne.testdo.toone.ClientTooneMaster;
/**
* A generated persistent class mapped as "TooneDep" Cayenne entity. It is a good idea to
* avoid changing this class manually... |
/*
* Copyright 2013-2018 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 com.badgeview;
import android.graphics.PointF;
import java.util.List;
/**
* Created by chqiu on 2017/3/20.
*/
public class MathUtil {
public static final double CIRCLE_RADIAN = 2 * Math.PI;
public static double getTanRadian(double atan, int quadrant) {
if (atan < 0) {
atan += ... |
/*
* Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to Y... |
/*
* Copyright 2017 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Un... |
package com.transcendensoft.hedbanz.utils;
/**
* Copyright 2017. Andrii Chernysh
* <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
... |
package DataStructures.DynamicArray;
import java.util.Arrays;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.function.Consumer;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
publi... |
package ch.skyfy.advancedwild.impl.cppi;
import ch.skyfy.advancedwild.impl.WildImplConfig;
public final class ClassicPerPlayerImplConfig implements WildImplConfig {
private static final Long defaultDelayBetweenWild = 60_000L;
private static final int defaultMaxWild = 5;
private static final int defaultMin... |
/**
* Copyright ${license.git.copyrightYears} 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
*
* Un... |
package io.nuls.crosschain.nuls.rpc.call;
import io.nuls.base.RPCUtil;
import io.nuls.base.basic.AddressTool;
import io.nuls.base.data.MultiSigAccount;
import io.nuls.base.signture.P2PHKSignature;
import io.nuls.core.exception.NulsException;
import io.nuls.core.rpc.info.Constants;
import io.nuls.core.rpc.model.ModuleE... |
import org.junit.Assert;
import org.junit.Test;
import tool.ListNode;
public class M00002_01sTest {
M00002_01s m00002_01s = new M00002_01s();
@Test
public void removeDuplicateNodes() {
Assert.assertEquals(String.valueOf(m00002_01s.removeDuplicateNodes(ListNode.deserialize("1, 2, 3, 3, 2, 1"))), "... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/logging/v2/logging_config.proto
package com.google.logging.v2;
public interface DeleteSinkRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteSinkRequest)
com.google.protobuf.MessageOrBuild... |
/*
* Copyright 2017 Google, 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 ... |
/* ===========================================================
* Orson Charts : a 3D chart library for the Java(tm) platform
* ===========================================================
*
* (C)opyright 2013-2016, by Object Refinery Limited. All rights reserved.
*
* http://www.object-refinery.com/orsoncharts/i... |
/**
* generated by Xtext 2.9.2
*/
package xmodelica.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor;
import xmodelica.ui.AbstractModelicaUiModule;
/**
* Use this class to register components to be used within the Eclipse IDE.
*/
@FinalFieldsConstr... |
package com.vosmann.springboottemplate.server;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.json.MetricsModule;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.s... |
/*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package model;
public class ongs {
private int id;
private String nome;
private String nomeFantasia;
private Double conta;
private Double agencia;
private Double telefone;
public ongs(int id, String nome, String nomeFantasia, Double conta, Double agencia, Double telefone) {
super();
this.id = id;
this.... |
package dev.davivieira.framework.adapters.output.h2.data;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.eclipse.persistence.annotations.Convert;
import org.eclipse.persistence.annotations.Converter;
import java.io.Serializable;
import ... |
/*
* 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 © 2014 - 2020 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
/*
* RTaskType.java
*
* Copyright (C) 2010-2016, Microsoft Corporation
*
* This program is licensed to you under the terms of Version 2.0 of the
* Apache License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTIC... |
package com.example.android.todolist.database;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.TypeConverters;
import android.content.Context;
import android.util.Log;
@Database(entities =... |
package com.redhat.fuse.boosters.rest.http;
import org.apache.camel.Header;
import org.springframework.stereotype.Service;
//import com.coh.greetinglibrary2.GreetingStarter;
@Service("greetingsService")
public class GreetingsServiceImpl implements GreetingsService {
private static final String THE_GREETINGS = "... |
package com.orhanobut.wasp;
import java.lang.reflect.Array;
import java.lang.reflect.GenericArrayType;
import java.lang.reflect.GenericDeclaration;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.lang.reflect.WildcardType;
import java.util.A... |
package com.github.lapesd.hdtss;
import com.github.lapesd.hdtss.controller.execution.SparqlExecutor;
import io.micronaut.context.event.ApplicationEventListener;
import io.micronaut.runtime.server.event.ServerStartupEvent;
import jakarta.inject.Singleton;
import lombok.Value;
import org.checkerframework.checker.nullnes... |
package com.logginghub.logging.frontend.charting;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import com.logginghub.logging.LogEvent;
import com.logginghub.logging.LogEventMultiplexer;
import com.logginghub.logging.frontend.analysis.ChunkedResultMultiplexer;
import com.logginghub.logging.... |
/*
* Copyright (c) 2004-2022, 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 copyright notice, this
* list of cond... |
/**
* Copyright 2020 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package com.donkeycode.core.response;
import lombok.Getter;
import lombok.Setter;
/**
* Created by Ace on 2017/6/11.
*/
@Setter
@Getter
public class ObjectResponse<T> extends BaseResponse {
private T data;
private boolean rel;
public ObjectResponse<T> rel(boolean rel) {
this.setRel(rel);
return this;
}
... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
*
* 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/license... |
package net.snowflake.client.jdbc;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.fail;
import static net.snowflake.client.AbstractDriverIT.getFullPathFileInResource;
import static net.snowflake.client.jdbc.SnowflakeDriverIT.findFile;
import static net.snowflake.client.jdbc... |
package io.quarkus.oidc.runtime;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import javax.annotation.PostConstruct;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import org.jboss.logging.Logger;
import io.quarkus.oidc... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
Copyright 2016 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 in writing,
softw... |
/*
* Copyright 2018 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* The MIT License
*
* Copyright 2018 msav.
*
* 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, me... |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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... |
/**
* LabelEntityAssociationErrorReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201306;
public class LabelEntityAssociationErrorReason implements java.io.Serializable {
private java.lang.String ... |
package br.com.zupacademy.gustavo.casadocodigo.model;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Entity
public class Estado {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@NotBlank
private String ... |
/*
* Copyright 2013-2018 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 net.minecraft.util;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.EnumDifficulty;
public class FoodStats {
private float foodSaturationLevel = 5.0F;
private int... |
package jetbrains.mps.lang.constraints.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.openapi.editor.cell... |
/*
* 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 agree... |
/**
* Copyright (c) 2010 Perforce Software. All rights reserved.
*/
package com.perforce.team.tests.search;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
/**
* @author Kevin Sawicki (ksawicki@perforce.com)
*/
@RunWith(Suite.class)
@SuiteClasses({ De... |
class Solution {
public boolean XXX(TreeNode root) {
return XXX(root, root);
}
public boolean XXX(TreeNode left, TreeNode right) {
if (left == null && right == null){
return true;
}
if (left == null || right == null || left.val != right.val){
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 ... |
package com.ottoszika.sokoban.contracts;
public interface Collidable {
/**
* Get mass.
*
* @return the mass value.
*/
int getMass();
} |
package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_CALORIES;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DATE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_DESCRIPTION;
import static seedu.address.lo... |
package com.mezhou887.crawler.web;
import com.mezhou887.crawler.model.User;
import com.mezhou887.crawler.service.UserService;
import com.mezhou887.system.core.Result;
import com.mezhou887.system.core.ResultGenerator;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframew... |
package me.gavincook.commons.mail;
import me.gavincook.commons.BaseTest;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.io.IOException;
import java.util.Date;
/**
* @author Divers King
* @date 2018-01-09 15:11
* @since 1.0.0
**/
public class MailUtilTest extends BaseTest {
public... |
package com.ming.blog.controller;
import com.ming.blog.entity.Test;
import com.ming.blog.event.EventTypeEnum;
import com.ming.blog.event.RedisEventChannel;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation... |
package com.shibofu.spring.db2.service;
import com.shibofu.spring.db2.dao.MoneyDao;
import com.shibofu.spring.model.Money;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @author potter.fu
* @date 2018-12-07 15:34
*/
@Service
public class MoneySer... |
/**
* Created on 2018/8/11.
*/
package jetcache.samples.springboot;
import com.alicp.jetcache.anno.Cached;
/**
* @author <a href="mailto:areyouok@gmail.com">huangli</a>
*/
public interface UserService {
@Cached(name = "loadUser", expire = 10)
User loadUser(long userId);
@Cached(area = "mycluster", na... |
/*
* Copyright (c) 2005-2022 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
/*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* 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
* n... |
/*
* Copyright 2019-2020 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... |
package org.cloudfoundry.autoscaler.scheduler.util;
public class ScalingEngineUtil {
public static String getScalingEngineActiveSchedulePath(
String scalingEngineUrl, String appId, Long scheduleId) {
return scalingEngineUrl + "/v1/apps/" + appId + "/active_schedules/" + scheduleId;
}
} |
/*
* Copyright 2018 The Feast 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 applicable law or agr... |
/*
* 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... |
package com.hungry.hotel.hungryhoteladmin.orders.model;
public class Dish {
private int dishId;
private String dishName;
private double dishPrice;
public Dish() {
}
public Dish(int dishId, String dishName, double dishPrice) {
this.dishId = dishId;
this.dishName = dishName;
... |
package com.example.networkstatus;
public interface OnConnectionListener {
void notifyApplication(String state, String status, boolean response);
} |
/*
* Copyright 2010-2019 Boxfuse GmbH
*
* 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 top.failureLogic;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import top.integration.IntegrationPackage;
import top.odeBase.OdeBasePackage;
/**
* <!-... |
package br.com.strn.ec.database.dao.client;
import br.com.strn.ec.database.dao.GenericDAO;
import br.com.strn.ec.database.entities.client.ConditionAdvice;
import org.hibernate.Session;
import javax.inject.Inject;
public class ConditionAdviceDAO extends GenericDAO<ConditionAdvice> {
/**
* @deprecated CDI ey... |
package uk.gov.hmcts.reform.dataextractor.service;
public interface BlobOutputValidator {
boolean isValid(String input);
boolean isNotValid(String input);
} |
/*
* Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, v. 2.1. This program is distributed in the
* hope that... |
package hr.fer.zemris.optjava.dz3.neighborhood;
import hr.fer.zemris.optjava.dz3.solution.DoubleArraySolution;
import java.util.Arrays;
import java.util.Random;
/**
* An implementation of {@link INeighborhood} interface which provides <i>Gaussian</i>
* neighborhood.
*/
public class DoubleArrayNormNeighborhood imp... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* 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. Redistribution... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.deserializer;
import static org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage.Literals.SPRING_MEDIATOR__CONFIGURATION_KEY;
import static org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage.Literals.SPRING_MEDIATOR__BEAN_NAME;
import org.apache.synapse.m... |
/*
* Copyright 2008 The Closure Compiler 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... |
/*
* Copyright 2000-2018 Vaadin 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... |
package cn.jsfund.devtools.sys.mapper;
import cn.jsfund.devtools.sys.entity.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 部门表 Mapper 接口
* </p>
*
* @author hutx
* @since 2019-01-21
*/
public interface SysDeptMapper extends BaseMapper<SysDept> {
} |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2019 Adobe
~
~ 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/li... |
/*
* Copyright 2012-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... |
/*
* 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... |
/*
* Copyright 2014 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 appl... |
package org.beanpod.switchboard.repository;
import java.util.List;
import org.beanpod.switchboard.entity.LogEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.ster... |
package uk.ac.ucl.eidp.auth;
import uk.ac.ucl.eidp.auth.model.UserE;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.TypedQuery;
/**
*
* @author David Guzman {@literal d.guzman at ucl.ac.uk}
*/
@Stateless
public class UserCo... |
/**
* 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 mars.venus;
import mars.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
import java.awt.print.*;
import java.util.*;
/*
Copyright (c) 2003-2006, Pete Sanderson and Kenneth Vollmar
Developed by Pete Sanderson (psanderson@otterbein.edu)
and Kenneth Vollmar (kenvollmar... |
package www.juyun.net.gsjcommon.photolib.event;
import java.util.List;
import www.juyun.net.gsjcommon.photolib.entity.Photo;
/**
* Created by donglua on 15/6/30.
*/
public interface Selectable {
/**
* Indicates if the item at position position is selected
*
* @param photo Photo of the item to check
... |
package de.jpaw.bonaparte.util.impl;
import de.jpaw.bonaparte.core.BonaPortable;
import de.jpaw.bonaparte.core.JsonComposer;
import de.jpaw.bonaparte.core.MapParser;
import de.jpaw.bonaparte.core.MimeTypes;
import de.jpaw.bonaparte.core.StaticMeta;
import de.jpaw.bonaparte.util.IMarshaller;
import de.jpaw.json.JsonPar... |
package org.apereo.cas.config;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apereo.cas.CipherExecutor;
import org.apereo.cas.StringBean;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.configuration.model.support.jms.JmsTicketRegistryProperties;
import org.apereo... |
/*
* 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... |
package org.grouporga.java.back.end.api.data.checks;
import com.yahoo.elide.security.ChangeSpec;
import com.yahoo.elide.security.RequestScope;
import com.yahoo.elide.security.checks.InlineCheck;
import org.grouporga.java.back.end.api.data.domain.OwnableEntity;
import org.grouporga.java.back.end.api.security.OrgaUserDe... |
package org.keycloak.models.cache;
import org.keycloak.provider.Provider;
import org.keycloak.provider.ProviderFactory;
import org.keycloak.provider.Spi;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public class CacheUserProviderSpi implements Spi {
@Overrid... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* You may obtain a copy of the License at
*
* http://www.apache.... |
package org.tessell.tests.model.dsl;
import static joist.util.Copy.list;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.tessell.model.properties.NewProperty.listProperty;
import java.util.ArrayList;
import joist.util.Copy;
import org.junit.Test;
import org.t... |
package krami;
import java.util.concurrent.atomic.AtomicInteger;
public class SharedMerit
{
private double merit = Double.NaN;
private AtomicInteger state = null;
//-1 locked
//0 ready and up to date
//1 awaiting next merit
//2 requesting update
public SharedMerit()
{
state = new AtomicInteger(1);
}
... |
package com.mit.campus.rest.algorithm.model;
/**
* 矩阵转置
* @author :lw
* @since : 2018-9-7
*/
public class Transpose {
private Transpose(){}
public static double[][] MatrixC;
public static double[][] tranpose(double[][] TestMatrix){
int Line = TestMatrix.length;
int List = TestMatrix[0].length;
double[][] M... |
/**
* .
*
* GoOut
*
* !
*/
package io.renren.modules.sys.controller;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.sys.entity.GoOut;
import io.renren.modules.sys.service.GoOutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
/*
* Phylontal - a tool for phylogenetic alignment of ontologies
* Copyright 2009-2011 Peter E. Midford
* This file is part of Phylontal.
*
* Phylontal is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundat... |
/*
* WeatherAPILib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
package com.weatherapi.api.models;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.JsonInclud... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.