text
stringlengths
7
995k
package mblog.core.persist.dao.impl; import java.util.List; import org.hibernate.Criteria; import org.hibernate.criterion.Restrictions; import mblog.core.persist.dao.FavorDao; import mblog.core.persist.entity.FavorPO; import mtons.modules.annotation.Repository; import mtons.modules.persist.impl.BaseRepositoryImpl; i...
/* Copyright (c) 2015 Qualcomm Technologies Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the above...
/* * Copyright 2014-2017 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 (c) 2011, Neil Alexander T. // 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...
package org.openapitools.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.util.ArrayList; import ja...
package xyz.brassgoggledcoders.modularutilities.modules.equipment; import com.teamacronymcoders.base.modulesystem.Module; import com.teamacronymcoders.base.modulesystem.ModuleBase; import com.teamacronymcoders.base.util.ItemStackUtils; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.E...
/** * Copyright 2009-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 * * Unle...
/* * 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 ...
/* * UpdateAa2mclidirProcedure.java * * Copyright 2014 - Soluciones Integrales Open-Source SiOS * Copyright 2014 - Fundación para la Investigación y Desarrollo del Software Libre en Venezuela * * http://www.sios.com.ve * http://www.indesoft.org.ve * * Licensed under the Apache License, Version 2.0 (the "Licens...
package com.miningmark48.tieredmagnets.init.registry.container; import net.minecraft.inventory.container.ContainerType; public class ScreenContainerRegistryContainer extends RegistryContainer<ContainerType<?>, ScreenContainerObjectBuilder> { public ScreenContainerRegistryContainer() { super(); } ...
package cz.metacentrum.perun.spRegistration.common.enums; public enum AttributeCategory { SERVICE, ORGANIZATION, PROTOCOL, ACCESS_CONTROL; @Override public String toString() { switch (this) { case SERVICE: return "SERVICE"; case PROTOCOL: return "PROTOCOL"; ...
package com.thomashofmann.xposed.lib; public abstract class Procedure3<T1, T2, T3> { public abstract void apply(T1 t, T2 t2, T3 t3); }
package a4; import java.nio.ByteBuffer; import serialization.simple.ASimpleSerializer; public class ACustomSerializer extends ASimpleSerializer { @Override public synchronized Object objectFromInputBuffer(ByteBuffer inputBuffer) { Object retVal = super.objectFromInputBuffer(inputBuffer); System.out.println (in...
package org.elastos.carrier.webrtc.demo_apprtc.util; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /* * Created by troy379 on 06.04.17. */ public final class FormatUtils { private FormatUtils() { throw new AssertionError(); } public static String getDurati...
package Method.Client.module.combat; import Method.Client.managers.FriendManager; import Method.Client.module.Category; import Method.Client.module.Module; import Method.Client.utils.Utils; import Method.Client.utils.system.Wrapper; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; i...
package com.capgemini.mrchecker.test.core.base.encryption; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.nio.file.Paths; import org.junit.After; impor...
/** * Copyright (C) 2015 Etaia AS (oss@hubrick.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 appl...
package uk.ac.ebi.pride.archive.dataprovider.data.spectra; import uk.ac.ebi.pride.archive.dataprovider.entity.EntityParamGroupProvider; import uk.ac.ebi.pride.archive.dataprovider.param.CvParamProvider; import java.util.List; import java.util.Set; /** * The spectrum provider defines the functions that will return a...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.bumptech.glide.manager; import java.util.Set; public interface RequestManagerTreeNode { public abstract Set getDescendants(); }
/* * 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")...
/*- * -\-\- * docker-client * -- * Copyright (C) 2016 Spotify AB * Copyright (C) 9/2019 - 2020 Dimitris Mandalidis * -- * 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 org.usfirst.frc4048.arm.math; public interface ArmStrat { /** * Converts angle of arm into extension length. Meant to be used only when placing cube. * @param angle - angle given is relative to starting, is in radians * @return */ public double getExtensionLength(double angle); }
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
/* * 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 MathTest; public class TesterLoop { public double update(double encoder, boolean limitTriggered, boolean enabled) { return 1.0; } public void setGoal(double goal) { if (goal > kMaxHeight) realGoal = kMaxHeight; else realGoal = goal; } public static double dt = 0.05; ...
package org.checkerframework.dataflow.expression; import javax.lang.model.type.TypeMirror; import org.checkerframework.checker.interning.qual.UsesObjectEquals; import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.dataflow.analysis.Store; /** Stands for any expression that the Datafl...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.ocs.indaba.survey.tree; /** * * @author yc06x */ public class InvalidTreeStructureException extends Exception { }
package com.minjinsuo.zhongchou.adapter; import java.util.ArrayList; import net.zkbc.p2p.fep.message.protocol.DeletMessageRequest; import net.zkbc.p2p.fep.message.protocol.DeletMessageResponse; import net.zkbc.p2p.fep.message.protocol.ResponseSupport; import android.annotation.SuppressLint; import android.content.Con...
package lighthouse.subwindows; import com.google.common.util.concurrent.*; import com.vinumeris.crashfx.*; import javafx.event.*; import javafx.fxml.*; import javafx.scene.control.*; import lighthouse.*; import lighthouse.controls.*; import org.bitcoinj.core.*; import org.bitcoinj.wallet.*; import org.spongycastle.cry...
/* * 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.nitpum.mcplugin.teleportarrow; import org.bukkit.entity.Arrow; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.entity.Projectile; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityShootBowEvent; import org....
package com.atguigu.gmall.pms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.common.bean.PageResultVo; import com.atguigu.gmall.common.bean.PageParamVo; import com.atguigu.gmall.pms.entity.CategoryBrandEntity; import java.util.Map; /** * 品牌分类关联 * * @author fengge * ...
package com.xyz.mall.member.dao; import com.xyz.mall.member.entity.MemberEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 会员表 * * @author cjsstart * @email 13887096914@163.com * @date 2021-09-24 00:57:13 */ @Mapper public interface MemberDao ext...
// ============================================================================ // // Copyright (C) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
/** * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith...
/* * Copyright (c) 2020 Richard Hauswald - https://quantummaid.de/. * * 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 * ...
package de.bornemisza.ds.rest.da; import de.bornemisza.ds.rest.da.HttpPool; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import com.hazelcast.core.Cluster; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.IMap; import com.hazelcast.core.ITopic;...
package com.lukeware.flyweight.entity; import com.lukeware.flyweight.IDeliveryLocationData; /** * @author Diego Morais */ final record DeliveryLocationData(String zipCode, String cyte) implements IDeliveryLocationData { }
/* * Copyright Dingxuan. 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 law or agreed to in writi...
/* * 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> </copyright> * * $Id$ */ package orgomg.cwm.foundation.keysindexes; import org.eclipse.emf.common.util.EList; import orgomg.cwm.objectmodel.core.ModelElement; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Index</b></em>'. <!-- end-user-doc --> * * <!-- begin-...
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
package com.payneteasy.superfly.policy.create.none; import com.payneteasy.superfly.model.RoutineResult; import com.payneteasy.superfly.model.ui.user.UICloneUserRequest; import com.payneteasy.superfly.model.ui.user.UIUserForCreate; import com.payneteasy.superfly.policy.create.CreateUserStrategy; import com.payneteasy.s...
package com.soxfmr.httprouter; import java.net.*; import java.util.ArrayList; import java.util.List; public class CookieContainer { private static CookieManager cookieManager; private static CookieStore cookieStore; private static List<CookieBucket> cookiesBackup; static { cookieManager = n...
package com.alvarado.edwin.pruebaandroid.Modelo.POJO; import com.j256.ormlite.field.DatabaseField; /** * Created by edwinalvarado on 01/06/17. */ public class UserTasks { @DatabaseField(canBeNull = false, foreign = true) private User user; @DatabaseField(canBeNull = false, foreign = true) private ...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
package com.hacademy.screen.ui.shape; import java.awt.Graphics; import java.awt.Graphics2D; public class Rect extends Linear{ private static final long serialVersionUID = 1L; @Override public void paint(Graphics g) { super.paint(g); Graphics2D g2d = (Graphics2D)g; int offset = thickness/2; g2d.drawRect(o...
package org.dynmap.fabric_1_18_2; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback; import net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents; import net.fabricmc.fabric.api.even...
package com.danyl.xunwu.web.dto; /** * Created by 瓦力. */ public class UserDTO { private Long id; private String name; private String avatar; private String phoneNumber; private String lastLoginTime; public Long getId() { return id; } public void setId(Long id) { this...
/* * 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.javayh.demo.spl; import com.javayh.app.spl.AppRun; import java.util.ServiceLoader; /** * <p> * * </p> * * @author Dylan * @version 1.0.0 * @since 2021-05-07 */ public class SplTest { public static final String APP = "app:jboss://"; public static void main(String[] args) { Service...
/* * Copyright 2019 IIT Software GmbH * * IIT Software GmbH licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
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 ...
package org.dspace.rtbf.rest.lov; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.WebApplicationException; i...
/** * */ package com.georgecurington.functionalstudymod.concurrent.cancellationshutdown; import java.net.URL; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import com.georgecurington.functionalstudymod.testdata.Te...
//,temp,TestDistCpViewFs.java,128,144,temp,TestIntegration.java,286,303 //,3 public class xxx { private void caseSingleFileTargetDir(boolean sync) { try { addEntries(listFile, "singlefile2/file2"); createFiles("singlefile2/file2"); mkdirs(target.toString()); runTest(listFile, target, tru...
package com.data.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; @Data @AllArgsConstructor @NoArgsConstructor @Accessors(chain = true) public class Article { private int id; private String UUID; private int type; priva...
/* * Copyright (C) 2015-2016 Federico Tomassetti * Copyright (C) 2017-2019 The JavaParser Team. * * This file is part of JavaParser. * * JavaParser can be used either under the terms of * a) the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License...
package mdn.vtvsport.fragment; import java.util.ArrayList; import mdn.vtvsport.BaseSlideMenuActivity; import mdn.vtvsport.R; import mdn.vtvsport.adapter.VtvPlusAdapter; import mdn.vtvsport.common.DialogManager; import mdn.vtvsport.common.ParserManager; import mdn.vtvsport.fragment.PlayerFragment.DetailsInfo; import m...
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.jsck; import io.permazen.core.FieldType; import io.permazen.core.type.EnumFieldType; import io.permazen.core.type.ReferenceFieldType; import io.permazen.kv.KVStore; import io.permazen.schema.CounterSchemaField; import io.permazen.s...
/* * Copyright (C) 2012 Wayne Meissner * * This file is part of the JNR 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 * ...
/* * The MIT License (MIT) * * Copyright (c) 2014-2018 Yegor Bugayenko * * 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 *...
package com.bruincreates.server.model.response; import lombok.Data; /** * Generic Rest Response * @author aojiao */ @Data public class RestResponse<T> extends BaseResponse { private T data; /** * Success without data */ public static <T> RestResponse<T> success() { return build(Resp...
package com.mopub.network; import android.app.Activity; import android.content.Context; import com.mopub.common.Constants; import com.mopub.common.test.support.SdkTestRunner; import com.mopub.mobileads.BuildConfig; import com.mopub.volley.Request; import org.junit.Before; import org.junit.Test; import org.junit.runn...
package org.jboss.resteasy.plugins.providers; import javax.ws.rs.Consumes; import javax.ws.rs.Produces; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Form; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.ext.MessageBodyReader; import javax.ws.rs.ext.M...
package com.rxt.rxjavasample; 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 public void a...
// Copyright 2015 The Bazel 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 appl...
// Copyright 2014 The Bazel 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 appl...
package com.Da_Technomancer.essentials.items; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumActionResult; import net.minecraft.util.Enum...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|// Copyright (C) 2019 The Android Open Source Project end_comment begin_comment comment|// end_comment begin_comment comment|// Licensed under the Apache License, Version 2.0 (the "License"); end_comment begin_comment comment|// you m...
/* * #%L * Detection Framework (Release) * %% * Copyright (C) 2015 - 2020 Lawrence Livermore National Laboratory (LLNL) * %% * 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 re...
// Template Source: IBaseEntityRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------------...
package xyz.hcworld.hcwblog.commont.templates; import freemarker.core.Environment; import freemarker.template.TemplateDirectiveBody; import freemarker.template.TemplateDirectiveModel; import freemarker.template.TemplateException; import freemarker.template.TemplateModel; import java.io.IOException; import java.util.M...
/* * Copyright (C) 2008 Esmertec AG. * Copyright (C) 2008 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/LICEN...
package com.doanduyhai.annotation_processing_demo.annotation; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented public @interface Entity { }
package string; /** * 问题类型: * 字符串搜索问题,滑动窗口,KMP算法 * <p> * Description * 在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始) * * @author dave * @since 2021/2/21 9:19 */ public class NO_28_implement_strstr_easy { public static void main(String[] args) { // String input = "hell"; // String needle = "ll...
package net.minecraft.network; import com.google.common.collect.Lists; import com.google.common.util.concurrent.ThreadFactoryBuilder; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelException; import io.netty.channel.ChannelFuture; import io.netty.channel.Chan...
/* Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 2, or (at your option) any later version....
package com.google.api.ads.dfp.jaxws.v201308; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * * Specifies wh...
/* * KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved. * * This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended * only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction * arose from modification of the original source, or othe...
/* * Copyright (c) 2002-2018 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 ...
package DataStructure.Stack; /* Monk loves to preform different operations on arrays, and so being the principal of HackerEarth School, he assigned a task to his new student Mishki. Mishki will be provided with an integer array A of size N and an integer K , where she needs to rotate the array in the right direction b...
package cn.cerc.security.sapi; import javax.servlet.http.HttpServletRequest; public class JayunSecurity { private static final String deviceId = "deviceId"; private static final String securityCode = "securityCode"; /** * 发送模式: 默认为手机简讯,可支持语音发送以及其它方式 */ private SendMode sendMode = SendMode.SM...
package i5.las2peer.p2p; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Serializable; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.security.PublicKey; import java....
package org.hl7.fhir.dstu3.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. 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 co...
package proxy.internal; import java.util.concurrent.TimeUnit; import org.apache.log4j.Logger; import common.RetResult; import common.error; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; import io.grpc.stub.StreamObserver; import proxy.proto.LachesisNodeGrpc; import proxy.proto.LachesisNodeGrpc...
package elementalItems.items; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.Hand; import net.minecraft.util.TypedActionResult; import net.minecraft.world.World; public class newItem extends Item { public newItem(Sett...
/* * LICENSE: * * This code 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 Foundation; either version 3 of the License, or (at your option) any * later version. * * This program is distributed in the hop...
/** * Copyright © 2013-2018 shadowhunt (dev@shadowhunt.de) * * 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) 2017 The Microbule 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...
package xyz.kkt.burpplefoodplaces.viewholders; import android.view.View; /** * Created by Lenovo on 1/5/2018. */ public class NewAndTrendingViewHolder extends BaseViewHolder { public NewAndTrendingViewHolder(View itemView) { super(itemView); } @Override public void setData(Object data) { ...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.compute.v2020_06_01; import com.microsoft.azure....
/* * 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.security.rest.action.role; import org.apache....
/* * Copyright 2013 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 applica...
package slimeknights.tconstruct.smeltery.tileentity; import com.google.common.collect.ImmutableList; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.server.SPacketUpdateTileEntity; import net.minecraf...
package org.bouncycastle.jsse.provider; import java.net.Socket; import java.security.Principal; import java.security.PrivateKey; import java.security.cert.X509Certificate; import javax.net.ssl.X509KeyManager; import org.bouncycastle.jsse.BCX509ExtendedKeyManager; import org.bouncycastle.jsse.BCX509Key; /* * Note t...
/* * Copyright (c) 2021 Broadcom. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifi...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ package io.dapr.internal.opencensus; import javax.annotation.concurrent.Immutable; import java.util.Arrays; /** * A class that represents a span context. A span context contains the state that must propagate to * child Spans and acro...
/* * Copyright 2017 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...
/** * Copyright © 2020 ForgeRock AS (obst@forgerock.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 app...