text
stringlengths
7
1.01M
/** * 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.network.v2019_09_01; import java.util.Collection...
/* * Copyright Splunk Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package edu.uark.dlb018.bruhapi; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class BruhApiApplicationTests { @Test void contextLoads() { } }
/* * 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...
package com.example.geohash.Location; import android.location.Location; import android.os.Parcel; import android.os.Parcelable; import java.util.HashMap; import java.util.Map; public final class GeoHash implements Parcelable { public static final int MAX_CHARACTER_PRECISION = 12; public static final long F...
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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 models; import org.junit.Test; import static org.junit.Assert.*; public class NewsTest { @Test public void NewsInstantiatesCorrectly() throws Exception{ News news = setupNews(); assertTrue(news instanceof News); } @Test public void NewsInstantiatesCorrectlyWith_Values() th...
/* * Copyright 2015-2019 Real Logic Ltd, Adaptive Financial Consulting 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 ...
// Autogenerated from development/values/composite_wrapper.i package ideal.development.values; import ideal.library.elements.*; import ideal.library.reflections.*; import ideal.runtime.elements.*; import ideal.runtime.reflections.*; import ideal.development.elements.*; import ideal.development.origins.*; import ideal...
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
/** * Copyright (c) 2010 Perforce Software. All rights reserved. */ package com.perforce.team.ui.mergequest; import com.perforce.team.core.mergequest.model.Branch; import com.perforce.team.core.mergequest.model.Mapping; import org.eclipse.core.runtime.IAdapterFactory; import org.eclipse.ui.model.IWorkbenchAdapter;...
package problems_1_10; public class Problem4 { /* A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. Answer = 906609 */ public static int eulerPro...
/** * */ package com.smthit.framework.mvc.thymeleaf.dialect; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.SecurityUtils; import org.thymeleaf.IEngineConfiguration; import org.thymeleaf.context.ITemplateContext; import or...
package nallar.tickprofiler.minecraft.commands; import nallar.tickprofiler.Log; import nallar.tickprofiler.minecraft.TickProfiler; import nallar.tickprofiler.util.BlockInfo; import nallar.tickprofiler.util.TableFormatter; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; import net.minec...
package ru.webim.android.sdk.impl; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import ru.webim.android.sdk.WebimError; public class WebimErrorImpl<T extends Enum> implements WebimError<T> { private final @NonNull T errorType; private final @Nullable String errorString; publi...
package org.darkcoinj; import com.google.common.collect.Lists; import org.obsrj.core.*; import org.obsrj.utils.Threading; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.concurrent.locks.ReentrantLock; import static org.obsrj.core.DarkCoinSystem.fMasterNode; /** * Cre...
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this s...
package info.semsamot.animationtimeline.library; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public Application...
package com.productcrowler.service; public interface LinkFinderService { String addRootUrl(final String rootUrl); }
package net.minecraft.server; import javax.annotation.Nullable; public class PathfinderWater extends PathfinderAbstract { public PathfinderWater() {} public PathPoint b() { return this.a(MathHelper.floor(this.b.getBoundingBox().a), MathHelper.floor(this.b.getBoundingBox().b + 0.5D), MathHelper.floor...
/* * 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 may ...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
import java.awt.geom.Point2D; import java.awt.geom.Point2D.Double; class UTest { void foo() { Point2D.Double d = new Double();<caret> } void bar() { Double d; } }
/* * Copyright 2018 The OpenTracing 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 agree...
package com.darksideofrainbow.models; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @NoArgsConstructor @AllArgsConstructor @Entity public class ApplicationUser { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "a...
/* * 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.manywho.services.s3; import com.google.inject.AbstractModule; public class ApplicationModule extends AbstractModule { @Override protected void configure() { } }
// ============================================================================ // // 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 2009-2021 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 * * Unles...
package com.xeiam.xchange.huobi.dto.streaming.response.payload; import java.math.BigDecimal; import com.xeiam.xchange.huobi.dto.streaming.response.historydata.ReqMarketDetailResponse; /** * Payload of {@link ReqMarketDetailResponse}. */ public class ReqMarketDetailPayload extends AbstractPayload { private final ...
package gov.va.med.srcalc.web.view.admin; import static org.junit.Assert.*; import java.util.SortedSet; import gov.va.med.srcalc.domain.calculation.ValueRetriever; import gov.va.med.srcalc.domain.model.*; import gov.va.med.srcalc.domain.model.DiscreteNumericalVariable.Category; import gov.va.med.srcalc.service.MockM...
package com.wappier.simplenetworkproject.view; import android.content.Intent; import android.graphics.Bitmap; import android.os.Build; import android.os.Bundle; import android.os.Handler; import androidx.core.app.ActivityOptionsCompat; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; import androidx.appco...
/** * @author mchyzer * $Id$ */ package edu.internet2.middleware.grouperBox; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.quartz.DisallowConcurrentEx...
package cn.bootx.payment.code.paymodel; /** * 微信参数 * @author xxm * @date 2021/6/21 */ public interface WeChatPayCode { // 认证类型 /** 公钥 */ int AUTH_TYPE_KEY = 1; /** 证书 */ int AUTH_TYPE_CART = 2; /** * 二维码链接 */ String CODE_URL = "code_url"; /** * 支付跳转链接 */ ...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2014 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ package com.getmelange.melange; import com.getmelange.melange.MelangeService; import android.app.Activity; import android.os.Bundle; import android.con...
/* * Copyright 2013-2015 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 2018-2021 Polyaxon, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
package io.neilshirsat.generation; public class GeneratePDF { }
package net.minecraft.client.gui.screen; import net.minecraft.entity.item.minecart.MinecartCommandBlockEntity; import net.minecraft.network.play.client.CUpdateMinecartCommandBlockPacket; import net.minecraft.tileentity.CommandBlockLogic; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.dist...
/******************************************************************************* * Copyright SemanticBits, Northwestern University and Akaza Research * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caaers/LICENSE.txt for details. *************************************...
/* * Copyright (c) 2014-2020 Xceptance Software Technologies GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package com.hsamgle.basic.entity; import lombok.Data; import lombok.EqualsAndHashCode; /** * * @feture : TODO JVM内存相关信息 * @file_name: MemoryInfo.java * @packge: com.hsamgle.basic.entity * @author: 黄鹤老板 * @create_time: 2018/3/27 9:13 * @company: 江南皮革厂 */ @Data @EqualsAndHashCode(callSup...
package edu.washington.escience.myria.parallel; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.ObjectInputStream; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandler.Sharable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import edu.washin...
package com.ob.fragment; import com.ob.utils.Lunar; import com.ob.utils.UtilClass; import com.ob.workmain.R; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.wi...
package me.ramblingsby.raycaster; import org.robovm.apple.foundation.NSAutoreleasePool; import org.robovm.apple.uikit.UIApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; public class IOSLauncher extends IOSApplication.Deleg...
/** * 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 br.com.estudos.correios.initializer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.boot.autoconfigure.domain.EntityScanPackages; import org.sprin...
package com.apollographql.apollo.internal.subscription; import com.apollographql.apollo.api.Subscription; import com.apollographql.apollo.subscription.OnSubscriptionManagerStateChangeListener; import com.apollographql.apollo.subscription.SubscriptionManagerState; import org.jetbrains.annotations.NotNull; public inter...
package theodolite.commons.workloadgeneration.functions; /** * Describes the before action which is executed before every sub experiment. */ @FunctionalInterface public interface BeforeAction { public void run(); }
package com.liuz.gulimall.product.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.li...
package fluke.stygian.world.genlayers; import net.minecraft.world.gen.layer.GenLayer; import net.minecraft.world.gen.layer.IntCache; public class GenLayerRemoveSomeOcean extends GenLayer { public GenLayerRemoveSomeOcean(long seed, GenLayer parent) { super(seed); this.parent = parent; } ...
package leetcode; import java.util.LinkedList; import java.util.Queue; /** * https://leetcode.com/problems/rotting-oranges/ */ public class Problem994 { public int orangesRotting(int[][] grid) { int maxRow = grid.length; int maxCol = maxRow > 0 ? grid[0].length : 0; Queue<int[]> queue = ...
package br.com.leomanzini.dollar.price; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class DollarPriceApplicationTests { @Test void contextLoads() { } }
package org.broadinstitute.hellbender.utils.codecs.gencode; /** * A Gencode GTF Feature representing a start codon. * * A GTF Feature represents one row of a GTF File. * The specification of a GTF file is defined here: * http://mblab.wustl.edu/GTF22.html * * Created by jonn on 7/25/17. */ final public class Ge...
/** * * Copyright &copy; 2015-2020 <a href="https://github.com/gaowenhui/RocketSpringCloud">JeeSpring</a> All rights reserved.. */ package com.jeespring.modules.test.entity.onetomany; import com.jeespring.modules.sys.entity.Area; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.L...
package ch.zuehlke.springfundamentals.dependencyinjection; public class Application { public static void main(String[] args) { } }
/* * Copyright 2018 NEM * * 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...
package com.alipay.api.response; import java.util.Date; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: zhima.merchant.order.credit.query response. * * @author auto create * @since 1.0, 2021-03-16 15:20:16 */ public class ZhimaMerchantOrderC...
/* Copyright (c) 2018 FIRST. 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 cop...
package com.zhcs.service; import java.util.List; //***************************************************************************** /** * <p>Title:SysRoleMenuService</p> * <p>Description:角色与菜单对应关系</p> * <p>Copyright: Copyright (c) 2017</p> * <p>Company: 深圳市智慧城市管家信息科技有限公司</p> * @author 刘晓东 - Alter * @version v1.0 2...
/* * Copyright (c) 2010-2015, WSO2 Inc. (http://www.wso2.org) 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 * ...
/* * Copyright 2002-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package cfvbaibai.cardfantasy.engine.skill; import cfvbaibai.cardfantasy.GameUI; import cfvbaibai.cardfantasy.data.Skill; import cfvbaibai.cardfantasy.engine.*; import java.util.List; public final class ContinuousFireMult { public static void apply(SkillResolver resolver, SkillUseInfo skillUseInfo, EntityInfo at...
package com.stripe.android.paymentsheet.elements; import java.lang.System; @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u00c0\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"}, d2 = {"Lcom/stripe/androi...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.iiif.service; import org.apache.logging.log4j.Logger; import org.dspace.app.iii...
package com.erzhiqianyi.blog; import com.erzhiqianyi.blog.handler.ResponseWrapper; import org.mybatis.spring.annotation.MapperScan; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.spr...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
/* * 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 studentadmission; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.Re...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.uniandes.nocompila.huecota.entities; import co.edu.uniandes.nocompila.huecota.podam.DateStrategy; import java.i...
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
package com.mapbox.mapboxandroiddemo.model.usermodel; class Plan { private String satellite; private Services services; private String datasetStorage; private String support; private String geometries; private String rawData; private String restricted; private String styles; private String period; ...
package module2129_public_tests_more.a; import javax.annotation.processing.*; import javax.lang.model.*; import javax.management.*; /** * 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 accu...
package com.gxd.gulimall.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.gxd.common.utils.PageUtils; import com.gxd.gulimall.coupon.entity.SeckillSkuRelationEntity; import java.util.Map; /** * 秒杀活动商品关联 * * @author alannew * @email 86466280@qq.com * @date 2021-04-14 17:26:2...
package org.example.controls; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Tooltip; import javafx.scene.layout.StackPane; import javafx.stage.Stage; /** * 提示 Tooltip */ public class TooltipApp extends Application { public stati...
package seedu.inventory.logic.commands.item; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.inventory.logic.commands.CommandTestUtil.DESC_OPPO; import static seedu.inventory.logic.commands.CommandTestUtil.DESC_SONY; import static seedu.inventory.logic.command...
/* Copyright 2012 Olaf Delgado-Friedrichs 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 controller; import java.util.ArrayList; import java.util.Calendar; import javafx.application.Platform; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import model.Account; import model.CollectedInfo; import model.Product; import model.Tuple; import network.EventTyp...
/* * Copyright (c) 2010, 2013 Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
package com.example.android.miwok; import android.media.MediaPlayer; /** * Created by pedro on 13/09/16. */ public class Word { private String mMiwokTranslation; private String mDefaultTranslation; private int mImageResourceId = NO_IMAGE_PROVIDED; private static final int NO_IMAGE_PROVIDED = -1; ...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.http.v2; import com.yahoo.cloud.config.ConfigserverConfig; import com.yahoo.config.model.application.provider.FilesApplicationPackage; import com.yahoo.config.pro...
package vtk.rendering.jogl; import com.jogamp.opengl.GLCapabilities; import com.jogamp.opengl.GLProfile; import com.jogamp.opengl.awt.GLJPanel; import vtk.vtkGenericOpenGLRenderWindow; import vtk.vtkRenderWindow; public class vtkJoglPanelComponent extends vtkAbstractJoglComponent<GLJPanel> { public vtk...
package org.globsframework.utils.exceptions; public class InvalidReference extends GlobsException { public InvalidReference(String message) { super(message); } public InvalidReference(Exception e) { super(e); } public InvalidReference(String message, Exception cause) { su...
/* * This file is generated by jOOQ. */ package cn.vertxup.workflow.domain; import cn.vertxup.workflow.domain.tables.WFlow; import cn.vertxup.workflow.domain.tables.WTicket; import cn.vertxup.workflow.domain.tables.WTodo; import cn.vertxup.workflow.domain.tables.records.WFlowRecord; import cn.vertxup.workflow.domai...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
/** * * @author : Ares.yi * @createTime : 2014-11-10 上午11:13:42 * @version : 1.0 * @description : * */ package org.apache.juli.logging;
/** * 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 alg; /** * 假设按照升序排序的数组在预先未知的某个点上进行了旋转。 * * ( 例如,数组 [0,1,2,4,5,6,7] 可能变为 [4,5,6,7,0,1,2] )。 * * 搜索一个给定的目标值,如果数组中存在这个目标值,则返回它的索引,否则返回 -1 。 * * 你可以假设数组中不存在重复的元素。 * * 你的算法时间复杂度必须是 O(log n) 级别。 * * 示例 1: * * 输入: nums = [4,5,6,7,0,1,2], target = 0 * 输出: 4 * 示例 2: * * 输入: nums = [4,5,6,7,0,1,2], targ...
/* * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and contributors. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.o...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.proxy; import com.yahoo.io.IOUtils; import com.yahoo.log.LogLevel; import com.yahoo.vespa.config.ConfigCacheKey; import com.yahoo.vespa.config.ConfigKey; import com.yaho...
package com.boydti.fawe.beta.implementation.packet; import com.boydti.fawe.Fawe; import com.boydti.fawe.FaweCache; import com.boydti.fawe.beta.IBlocks; import com.boydti.fawe.object.FaweOutputStream; import com.boydti.fawe.object.io.FastByteArrayOutputStream; import com.sk89q.jnbt.CompoundTag; import java.util.HashMa...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("fz") @Implements("MilliClock") public class MilliClock extends Clock { @ObfuscatedName...
package com.github.fashionbrot.dao.dao; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.github.fashionbrot.common.enums.RespCode; import com.github.fashionbrot.common.exception.MarsException; import com.github.fashionbrot.dao.entity.SystemConfigHistoryInfo; import com.github.fashionbrot....
/* * This file is generated by jOOQ. */ package jooq.generated.tables.pojos; import java.io.Serializable; import javax.annotation.processing.Generated; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * This class is generated by jOOQ. */ @Generated( value = { ...
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.social.gift.stock.query response. * * @author auto create * @since 1.0, 2019-01-07 20:51:15...
package com.tactbug.ddd.stock.assist.utils; public class SnowFlakeFactory { /** * ID中41位时间戳的起点 (2020-01-01 00:00:00.00) * @apiNote 一般地,选用系统上线的时间 */ private final long startPoint = 1577808000000L; /** * 序列号位数 */ private final long sequenceBits = 12L; /** * 机器ID位数 ...
/*- * ========================LICENSE_START================================= * JSoagger * %% * Copyright (C) 2019 JSOAGGER * %% * 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 * * ...