text stringlengths 7 1.01M |
|---|
/*
* Copyright 2000-2017 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 ca.uhn.fhir.model.primitive;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Test;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.util.TestUtil;
public class CodingDtTest {
p... |
package de.webalf.slotbot.assembler.api;
import de.webalf.slotbot.model.Squad;
import de.webalf.slotbot.model.dtos.api.SquadApiDto;
import de.webalf.slotbot.model.dtos.api.SquadApiViewDto;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.s... |
/*
* 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 2008 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... |
package io.agora.meeting.annotaion.message;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import io.agora.meeting.annotaion.member.Role;
@IntDef({PeerCmd.ADMIN, PeerCmd.NORMAL})
@Retention(RetentionPolicy.SOURCE)
public @interface PeerCmd {
... |
package com.atguigu.gulimall.product.vo;
import lombok.Data;
import java.math.BigDecimal;
/**
* @Description TODO
* @Author 鲁班不会飞
* @Date 2020/5/11 19:53
* @Version 1.0
**/
@Data
public class SecKillInfoVo {
/**
* id
*/
private Long id;
/**
* 活动id
*/
private Long promotionId... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* Copyright (C) 2017 Bruno Candido Volpato da Cunha (brunocvcunha@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package FixCollection;
import java.io.*;
import java.util.*;
import java.util.concurrent.ConcurrentSkipListSet;
/**
* InputFolder:Patches OutputFolder:PatchesAfterFilter1
*
* FilterOne consist of: 1. remove total diffs to not MainSourceFiles 2. remove
* total diffs that are adding or deleting files 3. remove tot... |
// automatically generated, do not modify
package com.st.logger.core;
import java.nio.*;
import java.lang.*;
import com.google.flatbuffers.*;
public class logcatInfo extends Table {
public static logcatInfo getRootAslogcatInfo(ByteBuffer _bb) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (new logcatInfo()).__init(... |
/*-------------------------------------------------------------------------+
| |
| Copyright 2005-2011 The ConQAT Project |
| |
| Licensed u... |
package com.antgroup.zmxy.openplatform.api.request;
import java.util.Map;
import com.antgroup.zmxy.openplatform.api.ZhimaRequest;
import com.antgroup.zmxy.openplatform.api.internal.util.ZhimaHashMap;
import com.antgroup.zmxy.openplatform.api.response.ZhimaMerchantOrderConfirmResponse;
/**
* ALIPAY API: zhima.mercha... |
/*
* Copyright 2016 Juan Manuel Fernandez
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2022 The JReleaser 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/LICENS... |
/*
* 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 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... |
/*
* Copyright 2018 JDCLOUD.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 applicable law or agreed to in... |
package com.sforce.soap.partner;
/**
* Generated by ComplexTypeCodeGenerator.java. Please do not edit.
*/
public interface IRelatedContent {
/**
* element : relatedContentItems of type {urn:partner.soap.sforce.com}DescribeRelatedContentItem
* java type: com.sforce.soap.partner.Describe... |
package com.ext.nacid.regprof.web.handlers.impl;
import javax.servlet.ServletContext;
public class LogoutHandler extends com.ext.nacid.web.handlers.impl.LogoutHandler {
public LogoutHandler(ServletContext servletContext) {
super(servletContext);
}
}
|
/*
* Copyright 2003-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 ru.job4j.tictactoe.cell;
public interface ICellFactory {
/**
* Returns free cell.
*
* @return Free cell.
*/
ICell getFree();
/**
* Returns cell with X mark
*
* @return Cell with X mark.
*/
ICell getMarkX();
/**
* Returns cell with O mark
*... |
package cat.xarxarepublicana.hashtagsxrep.infrastructure.repository.jdbc;
import cat.xarxarepublicana.hashtagsxrep.domain.user.User;
import cat.xarxarepublicana.hashtagsxrep.domain.user.UserRepository;
import cat.xarxarepublicana.hashtagsxrep.infrastructure.repository.jdbc.mapper.UserMapper;
import java.util.List;
pu... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
/* Copyright 2017 Zutubi Pty 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 in... |
/*
* Copyright (c) 2008-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package org.testobject.kernel.imaging.segmentation;
import org.testobject.commons.math.algebra.Size;
/**
*
* @author enijkamp
*
*/
public final class TestUtils
{
private TestUtils() {
}
public static ArrayRaster init(int[][] pixels)
{
if (pixels.length == 0 || pixels[0].length == 0)
{
return new Arra... |
package com.distrimind.bouncycastle.pqc.jcajce.interfaces;
import java.security.Key;
public interface NHKey
extends Key
{
}
|
package com.github.liuweijw.api.security.auth.jwt;
import java.util.List;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;
import org.springframework.security.web.util.matcher.OrRequestMatcher;
import org.spr... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
*... |
/*
* Copyright (c) 2020. Self learning and applying project advanced concepts through out.
*/
package com.dhiren.springboot.mongodbdemo.mongo.config;
import com.dhiren.springboot.mongodbdemo.mongo.app.MultipleClientConfig;
import com.mongodb.*;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoC... |
/*
* The MIT License
*
* Copyright 2015 misakura.
*
* 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... |
package com.cy.mobileInterface.around.service;
import com.cy.base.entity.Message;
public interface AroundService {
void getNearbyUser(Message message, String content);
}
|
package cn.lovepet.shops.helper.basequickadapter.listener;
import android.view.View;
import cn.lovepet.shops.helper.basequickadapter.BaseQuickAdapter;
/**
* Created by AllenCoder on 2016/8/03.
* A convenience class to extend when you only want to OnItemChildLongClickListener for a subset
* of all the SimpleClickL... |
/*
* Copyright (C) 2017-2019 HERE Europe B.V.
*
* 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 com.savl.ripple.core.types.known.sle.entries;
import com.savl.ripple.core.coretypes.AccountID;
import com.savl.ripple.core.coretypes.Currency;
import com.savl.ripple.core.coretypes.Vector256;
import com.savl.ripple.core.coretypes.hash.Hash160;
import com.savl.ripple.core.coretypes.hash.Hash256;
import com.savl... |
package frc.robot.commands.intake;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Intake;
public class moveDownAndIntake extends CommandBase{
Intake m_intake;
public moveDownAndIntake(Intake intake) {
m_intake = intake;
addRequirements(intake);
}
@... |
/*
* Copyright 2012-2017 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 gluemodel.COSEM.COSEMObjects.impl;
import gluemodel.COSEM.COSEMObjects.COSEMObjectsPackage;
import gluemodel.COSEM.COSEMObjects.SAPAssignmentCurrent;
import gluemodel.COSEM.InterfaceClasses.impl.SAPAssignmentImpl;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* An implementati... |
package subtypes;
import org.junit.Test;
import subtypes.api.SkillFile;
import common.CommonTest;
import de.ust.skill.common.java.api.SkillFile.Mode;
/**
* Simple write tests.
*
* @author Timm Felden
*/
@SuppressWarnings("static-method")
public class SimpleWrite extends CommonTest {
@Test
public void... |
/*
* Copyright 2020 phyzicsz <phyzics.z@gmail.com>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/* Copyright (C) 2013-2021 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.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/... |
package io.github.janvinas.trensminecat.signactions;
import com.bergerkiller.bukkit.common.map.MapDisplay;
import com.bergerkiller.bukkit.tc.controller.MinecartGroup;
import com.bergerkiller.bukkit.tc.events.SignActionEvent;
import com.bergerkiller.bukkit.tc.events.SignChangeActionEvent;
import com.bergerkiller.bukkit... |
package software.amazon.lightsail.loadbalancer.helpers.resource;
import lombok.RequiredArgsConstructor;
import lombok.val;
import software.amazon.awssdk.awscore.AwsRequest;
import software.amazon.awssdk.awscore.AwsResponse;
import software.amazon.awssdk.services.lightsail.LightsailClient;
import software.amazon.awssdk... |
package com.ibm.swg.wmb.iseries.dataqueue;
import com.ibm.as400.access.AS400;
import com.ibm.as400.access.AS400Text;
import com.ibm.as400.access.BaseDataQueue;
import com.ibm.broker.plugin.MbElement;
import com.ibm.broker.plugin.MbException;
import com.ibm.broker.plugin.MbInputTerminal;
import com.ibm.broker.plugin.Mb... |
package com.github.draylar.betterbees.honey;
import com.github.draylar.betterbees.registry.BeeBlocks;
import com.github.draylar.betterbees.registry.BeeFluids;
import com.github.draylar.betterbees.registry.BeeItems;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Flui... |
package com.ceiba.servicio.puerto.repositorio;
import com.ceiba.servicio.modelo.entidad.Servicio;
public interface RepositorioServicio {
/**
* Permite crear un servicio
* @param servicio
* @return el id generado
*/
Long crear(Servicio servicio);
/**
* Permite actualizar un servi... |
/*
* 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 n... |
package ua.tef.BLOCK02.task_02.game.game_001;
public interface GlobalValues {
int PRIMARY_MIN_BARRIER = 0;
int PRIMARY_MAX_BARRIER = 100;
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
package com.microsoft.commondatamodel.objectmodel.utilities;
import com.microsoft.commondatamodel.objectmodel.cdm.CdmTraitDefinition;
/**
* @deprecated This cl... |
/*******************************************************************************
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye-report
******************************************************************************/
package com.skyeye.entity;
/**
*
* @ClassNam... |
/*
* 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 testbank;
public class ReverseWordsInAString_151 {
public String reverseWords(String s) {
int length = s.length();
if (length == 0) {
return s;
}
String sum = "";
// 双指针定位
int start = 0;
int end = start;
while (start<length) {
... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
/**
* 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 2014 BOUSSEJRA Malik Olivier, HALDEBIQUE Geoffroy, ROYER Johan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... |
package com.felhr.protocal;
import com.felhr.utils.CRC16;
import java.lang.reflect.Array;
import java.util.Arrays;
public class G3DCmdResult extends ProtocalCmd {
public int m3D;
public int mStatus;
public G3DCmdResult(int cmd, byte[] para){
super();
mCmdValue = cmd;
mParaLen = (... |
/*
* Copyright 2002-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 ap... |
/*
* Copyright The Original Author or Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.jenkins.plugins.opentelemetry.semconv;
/**
* Java constants for the
* [OpenTelemetry Environment variables conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/... |
/**
* Copyright (C) Posten Norge AS
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law o... |
package com.duo.examples.health.Normal;
import org.springframework.boot.actuate.health.AbstractHealthIndicator;
import org.springframework.boot.actuate.health.Health;
import org.springframework.stereotype.Component;
/**
* @author pythias
* @since 2019-06-06
*/
@Component
public class OtherHealthIndicator extends A... |
package com.netsuite.webservices.transactions.purchases.types;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for VendorReturnAuthorizationOrderStatus.
*
* <p>The following schema fragment specifies the expec... |
package com.api.shared;
import java.util.UUID;
import org.springframework.stereotype.Service;
@Service
public class Utils {
public String generateId(){
return UUID.randomUUID().toString();
}
public String generatedUserId() {
return this.generateId();
}
}
|
package io.automatiko.engine.addons.persistence.db;
import static io.automatiko.engine.api.workflow.ProcessInstanceReadMode.MUTABLE;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Optional;
import java.util.stream.Collectors;
import javax.persistence.OptimisticLockEx... |
/**
* Copyright 2017 Pivotal Software, Inc.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicab... |
package com.atguigu.gmall.sms.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.sms.entity.SeckillSkuEntity;
import java.util.Map;
/**
* 秒杀活动商品关联
*
* @author cbz
* @ema... |
/*
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.imagepipeline.datasource;
import com.facebook.common.references.CloseableReference;
import com.facebook.datasource.... |
package org.incode.module.communications.dom.mixins;
import java.io.IOException;
import java.util.List;
import java.util.Set;
import javax.inject.Inject;
import org.apache.isis.applib.ApplicationException;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.ActionLayout;
import ... |
/*
* Copyright (c) 2012 - 2015, Internet Corporation for Assigned Names and
* Numbers (ICANN) and China Internet Network Information Center (CNNIC)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ... |
package com.acme;
import com.acme.ircutils.MessageSplitter;
import com.acme.processors.IrcMessageProcessor;
import com.acme.processors.TelegramMessageProcessor;
import com.acme.telegramutils.TelegramUtils;
import org.apache.camel.RuntimeCamelException;
import org.apache.camel.builder.RouteBuilder;
import org.apache.ca... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Portal here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Portal extends Actor
{
/**
* Act - do whatever the Portal wants to do. This method i... |
/*******************************************************************************
* Copyright (C) 2015 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.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos;
import java.util.HashMap;
import java.util.Map;
/**
* Represents the consistency levels supported for Cosmos DB client operations in the Azure Cosmos DB database service.
* <p>
* The requested... |
package de.lancom.systems.stomp.spring;
import de.lancom.systems.defer.Promise;
import de.lancom.systems.stomp.core.connection.StompFrameContext;
/**
* Stomp producer interface.
*
* @param <T> value type
*/
public interface StompProducer<T> {
/**
* Send stomp frame.
*
* @param value value
... |
package com.libbytian.pan.findmovie.aidianying;
import com.baomidou.mybatisplus.extension.service.IService;
import com.libbytian.pan.system.model.MovieNameAndUrlModel;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import java.util.List;
@CacheConfig(... |
/*
* Copyright (C) 2018-2022 Thomas Akehurst
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package jeremy.meitu.classify;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.content.ContextCompat;
import android.support.v4.... |
/*
* Copyright 2016 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
/*
* Copyright (c) 2021 Huawei Device Co., 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 ... |
package edu.harvard.iq.dataverse.api;
import edu.harvard.iq.dataverse.*;
import edu.harvard.iq.dataverse.actionlogging.ActionLogRecord;
import edu.harvard.iq.dataverse.authorization.AuthenticationServiceBean;
import edu.harvard.iq.dataverse.authorization.DataverseRole;
import edu.harvard.iq.dataverse.authorization.Per... |
/*
* 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 algorithm.leetcode.problem.P707;
import java.util.ArrayList;
import java.util.List;
/**
* 707. Design Linked List
* Easy
* 165
* 49
* <p>
* <p>
* Design your implementation of the linked list. You can choose to use the singly linked list or the doubly linked list. A node in a singly linked list should ... |
/**
Copyright 2017 Andrea "Stock" Stocchero
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... |
/*
* Entagged Audio Tag library
* Copyright (c) 2003-2005 Raphaël Slinckx <raphael@slinckx.net>
*
* This library 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 2.1 of the Licen... |
/*
* 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 pb.proto;
import java.awt.geom.Point2D;
import physics.Circle;
import physics.Vect;
/**
* Sent when a ball is teleported across portals.
*/
public class PortalBallMessage extends Message {
/** The name of the board that the ball comes from. */
private final String fromBoard;
/**
* The name of the port... |
package com.odia.alphabet.utils;
import android.animation.AnimatorSet;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.g... |
import java.io.*;
import java.net.*;
import java.security.*;
import java.security.cert.CertificateException;
import java.util.Arrays;
import javax.net.ssl.*;
public class SecureOrderTaker {
public final static int PORT = 7000;
public final static String algorithm = "SSL";
public static void mai... |
/*
* Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "... |
package lia.Monitor.Store.Fast;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
import lia.Monitor.monitor.AppConfig;
import lia.Monitor.monitor.AppConfigChangeListener;
import lia.Monitor.monitor.ExtendedResult;
import lia.Monitor.monitor.Result;
import lia.util.ntp.NTPD... |
/*
* 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.semmle.js.ast;
/**
* An enhanced for statement, that is, either a {@link ForInStatement} or a {@link ForOfStatement}.
*/
public abstract class EnhancedForStatement extends Loop {
private final Node left;
private final Expression defaultValue;
private final Expression right;
public EnhancedForSta... |
/**
* 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 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 applica... |
package com.lmj.rpc.serialize;
import com.lmj.rpc.exception.SerializationNotExistException;
import static com.lmj.rpc.Constants.Serialization.HESSIAN;
import static com.lmj.rpc.Constants.Serialization.JSON;
import static com.lmj.rpc.Constants.Serialization.MODE;
public class SerializationUtils {
public static Se... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.content;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
/**
... |
package com.yanyusong.divideritemdecoration;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Recyc... |
import java.util.*;
public class Loops{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
System.out.println("Let's compute the factorial of a number");
int n = sc.nextInt();
long factorial = 1;
for(int i = 1; i < n + 1; i++){
factorial *= i;
}
System.out.println(n ... |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.