text
stringlengths
7
995k
package com.georlegacy.general.deathmaze.objects; import com.georlegacy.general.deathmaze.objects.enumeration.Level; import com.georlegacy.general.deathmaze.util.ScoreboardUtil; import lombok.Data; import lombok.Getter; import lombok.Setter; import org.bukkit.Bukkit; import java.io.Serializable; import java.util.Arra...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. * =============================================================...
/* * Copyright (c) Fundacion Jala. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package org.fundacionjala.enforce.sonarqube.apex.checks; import org.fundacionjala.enforce.sonarqube.apex.checks.unofficial.MethodLengthCheck; import org.ju...
package com.zhuhao.design_mode.strategy.b; import org.junit.Test; /** * 有一家游戏公司开发了一款游戏,角色都是鸭子,不同的鸭子之间有共性,为了提高代码重用性,将鸭子的共性提升至Duck中 * <p> * 游戏公司老总提出新需求:需要让鸭子飞起来 * <p> * 程序员:只需在Duck类中添加一个fly方法,其子类也就具有了fly方法 * * 此时看似解决问题了,实际上Duck的子类全都会飞了,橡皮鸭是玩具不能飞的,而且重写了叫声,所以这种方案不适合 * 后期加入各种鸭子的时候(木头鸭子、家鸭。。)需要判断鸭子是否能飞(不能飞:子类重写方法)、...
package io.renren.dto; import io.renren.entity.MeterBoxEntity; import lombok.Data; import java.io.Serializable; /** * @author JunCheng He * @title: MeterBoxSearchDto * @projectName SdEPPI_WEB * @description: TODO * @date 2019/7/31 16:32 */ @Data public class MeterBoxSearchDto extends MeterBoxEntity implements...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * 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 ru.iiec.cxxdroid.manager; import android.view.View; import java.util.List; import ru.iiec.cxxdroid.manager.CxxPackageManagerActivity; /* compiled from: lambda */ public final /* synthetic */ class a implements View.OnClickListener { /* renamed from: b reason: collision with root package name */ priv...
package com.example.yoonjaecho.week7_practice2; 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 exe...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
package ru.hh.oauth.subscribe.apis.examples; import java.util.Scanner; import ru.hh.oauth.subscribe.core.builder.ServiceBuilder; import ru.hh.oauth.subscribe.apis.SinaWeiboApi; import ru.hh.oauth.subscribe.core.model.OAuthRequest; import ru.hh.oauth.subscribe.core.model.Response; import ru.hh.oauth.subscribe.core.mode...
package org.sagebionetworks.repo.web.controller; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupi...
package org.cyclops.integrateddynamics.core.tileentity; import com.google.common.collect.Sets; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; import net.minecraft.util.NonNullList; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.energy.Ca...
package de.mpg.cbs.edled.core.validation; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Observable; import org.w3c.dom.Document; import org.w3c.dom.Node; import de.mpg.cbs.edled.core.validation.EDLRuleParameter.ParameterValue; import de.mpg.cbs.e...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.11....
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/******************************************************************************* * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* * 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 2018-2019 adorsys GmbH & Co KG * * 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 ...
/* file: Pooling3dKernelSizes.java */ /******************************************************************************* * Copyright 2014-2017 Intel Corporation * All Rights Reserved. * * If this software was obtained under the Intel Simplified Software License, * the following terms apply: * * The source code, info...
package module1837.a; import javax.lang.model.*; import javax.management.*; import javax.naming.directory.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolore...
/* * Copyright (C) 2012-2020 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2017 Ruhr University Bochum / Hackmanit GmbH * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package de.rub.nds.tlsattacker.core.protocol.serializer.extension; import de.rub.nds.tlsattac...
package com.hfad.nablusmunicipality1; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Tool...
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2019-Present Datadog, Inc. * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * 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.example.tesic.projekat.volley; import com.android.volley.AuthFailureError; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.HttpHea...
package com.webcheckers.ui; import com.google.gson.Gson; import com.webcheckers.appl.GameServer; import com.webcheckers.appl.PlayerLobby; import com.webcheckers.model.Game; import com.webcheckers.model.Player; import com.webcheckers.util.Message; import spark.Request; import spark.Response; import spark.Route; import ...
class star9 { public static void main(String args[]) { for(int i=1;i<=4;i++) { for(int j=5;j>=i;j--) { System.out.print(" "); } for(int k=1;k<=i;k++) { System.out.print("*"); } System.out.println(); } for(int i=1;i<=5;i++) { for(i...
package org.javasimon.console.text; /** * Basic value formatter. * Handles null value delegating to a null Stringifier. * * @param <T> Input type * @author gquintana */ public class BaseStringifier<T> implements Stringifier<T> { /** Stringifier to handle null values. */ private final Stringifier nullStringifi...
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
/* * 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.core.ilm; import org.apache.lucene.util.SetO...
/******************************************************************************* * Copyright 2017 Cognizant Technology Solutions * * 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...
package org.proteored.miapeapi.factories.ms; import org.proteored.miapeapi.factories.EquipmentImpl; import org.proteored.miapeapi.interfaces.ms.Spectrometer; public class SpectrometerImpl extends EquipmentImpl implements Spectrometer { private final String customizations; public SpectrometerImpl(SpectrometerBuilde...
/* * This file was automatically generated by EvoSuite * Thu Aug 23 11:07:09 GMT 2018 */ package umd.cs.shop; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.io.BufferedReader; import java.io.PipedReader; import java.io.PipedWriter; import ja...
// instantiated with javainst.pl from /workspace/sphenon/projects/components/basics/many/v0001/origin/source/java/com/sphenon/basics/many/templates/Navigatable.javatpl // please do not modify this file directly package com.sphenon.engines.factorysite.tplinst; import com.sphenon.basics.many.*; import com.sphenon.engine...
// Copyright 2013 Google 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 by applicable...
/* * 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 ...
/* * 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 adapterdesignpattern; public class SocketObjectAdapterImpl implements SocketAdapter{ private Socket socket=new Socket(); @Override public Volt get120Volt() { return socket.getVolt(); } @Override public Volt get3Volt() { Volt v=socket.getVolt(); return convertVolt(v, 40); } @Override public Volt get12Vo...
package cn.stj.fphealth.entity; public class Contact { private int userId; private String nickName; private String phoneNumber; private String headImage; private int isSos; public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userI...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.andrewgilmartin.common.query; /** * At least one of the sub-queries is required. */ public class OrQuery extends CompoundQuery { public static OrQuery create(float weight, Query... queries) { // do we have any non-null queries? for (Query query : queries) { if (query != n...
package xeadDriver; /* * Copyright (c) 2015 WATANABE kozo <qyf05466@nifty.com>, * All rights reserved. * * This file is part of XEAD Driver. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistribu...
/* * Copyright 2000-2016 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...
package uk.gov.nationalarchives.pronom; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex ...
/* * Copyright 2014-2021 Real Logic 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package com.lukechi.android.hellodagger; import com.lukechi.android.hellodagger.di.DaggerTestAppComponent; import dagger.android.AndroidInjector; /** * 幾乎不需要異動 可以直接用在不同專案 * <p> * A class shouldn't t know anything about how it is injected. */ public class FakeHelloApp extends HelloApp { /** * connects Fa...
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2006-2018 Bas Leijdekkers * * 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 2018, Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.api.kafka.model; import io.strimzi.crdgenerator.annotations.Description; import java.io.Serializable; import java.util.HashMap; import java.util.Map; imp...
package com.th.dispatch.match; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; /** * An implemetation of the Kuhn–Munkres assignment algorithm of the year 1957. * https://en.wikipedia.org/wiki/Hungarian_algorithm * * @author https://github.com/aalmi | march 2014 * @version 1.0 */ ...
package org.hl7.fhir.r4.model.codesystems; /*- * #%L * org.hl7.fhir.r4 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * 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 * * ...
package main; import utils.Properties; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.stream.Collectors; public class CountBytes { public static void main(String[] args) throws FileNotFoundException { File file = new ...
package at.ac.tuwien.ec.workflow.faas.placement; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import org.jgrapht.Graph; import org.jgrapht.GraphPath; import org.jgraph...
import javax.xml.bind.*; // for DatatypeConverter public class ReturnDigestUserInterface { public static void main(String[] args) { for (String filename : args) { // Calculate the digest ReturnDigest dr = new ReturnDigest(filename); dr.start(); // Now print the result Stri...
/*************************************************************************** * Copyright 2021 Kieker Project (http://kieker-monitoring.net) * * 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 a...
//- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved. //- Limelight and all included source files are distributed under terms of the MIT License. package limelight.styles.abstrstyling; public interface OnOffValue extends StyleValue { boolean isOn(); boolean isOff(); }
/* * 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.github.mmaico.shared.libraries; public enum GetterSetterEnum { GETTER("get") { @Override Boolean isOperations(String methodName) { return methodName.startsWith(GETTER.operation); } }, SETTER("set") { @Override Boolean isOperations(String method...
/** * 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...
// This is a generated file. Not intended for manual editing. package org.c3lang.intellijplugin.parser.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUti...
/* ==================================================================== 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...
package org.lagalag.crawldaddy; import java.net.HttpURLConnection; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Optional; import java.util.concurrent.RecursiveAction; import org.apache.log...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v7.recyclerview; public final class R { private R() {} public static final class attr { privat...
package org.nem.ncc.exceptions; import org.nem.core.connect.ErrorResponse; import java.util.*; /** * A NIS-originating exception. */ public class NisException extends NccException { /** * General NIS error codes. */ public static enum Code implements ValueBasedEnum { /** * An unexpected NIS error occurr...
// 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 in ...
/* * 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...
package tests.restapi.integration; import java.util.UUID; import org.apache.wink.json4j.JSONObject; import org.testng.Assert; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeClass; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import tests.com.ibm.qautil...
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v6/enums/account_budget_proposal_status.proto package com.google.ads.googleads.v6.enums; public final class AccountBudgetProposalStatusProto { private AccountBudgetProposalStatusProto() {} public static void registerAllExt...
package gui.text; import lombok.Getter; import opengl.Vao; import textures.Texture; import utilities.ResourceFile; public class FontType { @Getter private Texture textureAtlas; private TextMeshCreator loader; public FontType(ResourceFile fontFile, ResourceFile textureAtlas) { this.textureAtlas = Texture.newT...
/* * Copyright (c) 2002, 2018, 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 ...
/* * Copyright 2002-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.optimalorange.cooltechnologies.ui.fragment; import com.optimalorange.cooltechnologies.R; import com.optimalorange.cooltechnologies.storage.sqlite.DBManager; import com.optimalorange.cooltechnologies.ui.ShowVideoDetailActivity; import com.optimalorange.cooltechnologies.ui.entity.Video; import com.optimalora...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2018 Groupon, Inc * Copyright 2014-2018 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a cop...
package clinic.programming.training.web; import clinic.programming.training.core.ComputeTotals; public class WebAction { public void total() { ComputeTotals totals = new ComputeTotals(); totals.total(); } }
package com.xeiam.xchange.bitfinex.v1.service.polling; import java.io.IOException; import com.xeiam.xchange.Exchange; import com.xeiam.xchange.bitfinex.v1.dto.BitfinexException; import com.xeiam.xchange.bitfinex.v1.dto.account.BitfinexBalancesRequest; import com.xeiam.xchange.bitfinex.v1.dto.account.BitfinexBalancesR...
/* * Copyright (c) 2012, 2022, 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 com.atguigu.gmall.pms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.math.BigDecimal; import java.io.Serializable; import java.util.Date; import lombok.Data; import lombok.experimental.Accessors; /** * sku信息 * * @author leonar...
/* * 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 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* * Copyright 2013-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2013-2016 Sergey Ignatov, Alexander Zolotov, Florin Patan * * 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 req...
package edu.umkc.permitme.security; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.context.SecurityContext; import org.springframework...
/** * Copyright 2010 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 applicable ...
/* * 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 ma...
package com.mkl.eu.client.service.vo.enumeration; /** * Enumeration for the action of a unit (purchase, maintenance). * * @author MKL. */ public enum UnitActionEnum { /** Purchase. */ PURCHASE, /** Maintenance (naval). */ MAINT, /** Maintenance in war (land). */ MAINT_WAR, /** Maintenan...
// Copyright 2020 The casbin Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the * Free Software Foundation. * * This program is also distributed with certa...
package com.reason.lang.core.stub.type; import com.intellij.lang.Language; import com.intellij.psi.stubs.IndexSink; import com.intellij.psi.stubs.StubElement; import com.intellij.psi.stubs.StubInputStream; import com.intellij.psi.stubs.StubOutputStream; import com.intellij.util.io.StringRef; import com.reason.ide.sear...
/* * Copyright 2017-2022 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 org.jgroups.blocks.cs; import org.jgroups.Address; import org.jgroups.util.SocketFactory; import org.jgroups.util.ThreadFactory; /** * Common base class for TCP based clients and servers * @author Bela Ban * @since 3.6.5 */ public abstract class TcpBaseServer extends BaseServer { protected int ...
/* * 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...
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2015 Board of Regents of the University of * Wisconsin-Madison, University of Konstanz and Brian Northan. * %% * Redistribution and use in source and binary forms, with or without * modification, are permi...
package com.mcxd.corda.account.workflows.management.flows; import co.paralleluniverse.fibers.Suspendable; import com.google.common.hash.Hashing; import com.mcxd.corda.account.workflows.management.utils.AccountWithPasswordSchemaV1; import com.mcxd.corda.account.workflows.management.utils.Hash; import com.r3.corda.lib.a...
/* * Copyright 2013 University of Glasgow. * * 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 o...
package com.huaweicloud.sdk.moderation.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.huaweicloud.sdk.moderation.v1.model.ImageDet...