text
stringlengths
7
995k
/** * Copyright 2007-2014 Ensift Pty Ltd as trustee for the Avaz Trust and other contributors * * 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/LICENS...
package com.github.database.rider.core.api.configuration; import com.github.database.rider.core.connection.RiderDataSource; import com.github.database.rider.core.dataset.DataSetExecutorImpl; import com.github.database.rider.core.replacers.Replacer; import org.dbunit.database.IMetadataHandler; import org.dbunit.datase...
package com.github.nagyesta.yippeekijson.metadata.schema.definitions.registry; import com.github.nagyesta.yippeekijson.core.annotation.NamedSupplier; import com.github.nagyesta.yippeekijson.metadata.schema.definitions.JsonNamedComponentTypeDefinitionRegistry; import com.github.nagyesta.yippeekijson.metadata.schema.def...
package models.json.lexer.token; /* * Number token will be saved as string because of the complex syntax of numbers in json. */ public class NumberToken extends Token<String> { public NumberToken(String tokenValue) { super(tokenValue); } }
package dev.utils.app.info; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PermissionGroupInfo; import android.content.pm.PermissionInfo; import java.io.File; import java.util.ArrayList; import java.util.Collections...
/* * MIT License * * Copyright (c) 2020 Pieter Svenson * * 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, m...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package com.sannmizu.nearby_alumni.chat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class TimeObject extends BaseObject { public static final int TYPE = RecordAdapter.TimeMsg; private Date time; public TimeObject(Date time) { super(TYPE); t...
package java.security; /** * @className: PrivilegedAction * @author: doudou * @datetime: 2021/11/4 * @description: 要在启用特权的情况下执行的计算。 * 计算是通过在 {@code PrivilegedAction} 对象上调用 {@code AccessController.doPrivileged} 来执行的。 * 此接口仅用于不抛出检查异常的计算; 抛出检查异常的计算必须使用 {@code PrivilegedExceptionAction} 代替。 */ public inte...
package cn.attackme.myuploader.controller; import cn.attackme.myuploader.model.ClassInformation; import cn.attackme.myuploader.service.ClassInformationService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
/* * Task Task.java. * * Copyright (c) 2018 OptimIT d.o.o.. All rights reserved. */ package hr.tvz.vi.orm; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.Ma...
package com.example.wanandroid.javabean; import java.util.List; /** * Created by zhangchong on 18-3-20. */ public class FamousWebsBean { private int errorCode; private String errorMsg; private List<WebBean> data; public int getErrorCode() { return errorCode; } public void setError...
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
package com.hzu.zao.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.hzu.zao.LogUtils; /** * Function: * Note: * Created by daynearby@hotm...
package engine.resources; import engine.utils.Debug; /** * Manages and processes non-GL related requests on a separate thread * * @author Brandon Porter * */ final class RequestProcessor extends Thread implements IRequestProcessor { private final RequestQueue _requestQueue = new RequestQueue(); private boolea...
package com.iAnatoly.multiplication; import com.iAnatoly.multiplication.Config.MultiplicationMode; import com.iAnatoly.multiplication.Timer.*; import com.iAnatoly.multiplication.helpers.InputHelper; import java.util.Random; class Answer { private int num1; private int num2; private MultiplicationMode mod...
package interactors; import org.jmock.Mockery; import org.jmock.lib.legacy.ClassImposteriser; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import common.AgentDataStore; import jade.lang.acl.ACLMessage; public class RequestResultTest { private final Mockery contex...
/* * Copyright 2002-2007 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.sforce.soap.schemas._class.ws_acq_leads; 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 anony...
/* * @test /nodynamiccopyright/ * @bug 4865660 * @summary implement "metadata" (attribute interfaces and program annotations) * @author gafter * * @compile/fail/ref=Z11.out -XDrawDiagnostics Z11.java */ class X {} @interface An { X a(); }
package android.filterpacks.base; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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 * * ht...
/* * Copyright 2013 The Ehensin SEDA Project * * The Ehensin SEDA 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 copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0...
/** * Copyright 2010-2014 Axel Fontaine * * 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...
/* * 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 m...
package network.loki.lokinet; import android.Manifest; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import java.lang.reflect.Method; //dangerous p...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.fileEditor.impl; import com.intellij.ide.PowerSaveMode; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; impo...
package org.apache.helix.monitoring.mbeans; /* * 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 ...
package ftc.evlib.hardware.motors; import com.google.common.collect.ImmutableList; import com.qualcomm.robotcore.hardware.CRServo; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.HardwareMap; import java.util.Collection; imp...
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.world.block.tiles; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Queues; import com.google.common.math.IntMath; import de.matthiasmann.twl.u...
package nl.hsac.fitnesse.fixture.util; import fit.exception.FitFailureException; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import javax.xml.namespace.NamespaceContext; import javax.xml.namespace.QName; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPath...
package com.sdl.dxa.modelservice; import com.sdl.dxa.caching.LocalizationIdProvider; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereotype.Component; import org.springframework.web.context.request.RequestContextHolder; ...
/* * Copyright 2018 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 com.yhkj.yhsx.forestpolicemobileterminal.entity; import java.io.Serializable; import java.util.ArrayList; /** * 护林基本力量 * * @author xingyimin * */ public class ForestPotectionEntity implements Serializable { private int fpId; private int forestPotectionID;// ID private int year;// 年度 private int ad...
package br.com.techne.gluonsoft.eowexport.builder; /* ==================================================================== 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 ow...
public class Student { public int Roll_no; public String Name; public void Set(int rollno, String name) { this.Roll_no = rollno; this.Name = name; } public String GetName() { return this.Name; } public int GetRollNo() { return this.Roll_no; } publi...
/* * 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 com.github.somi92.seecsk.model.tables.uplata; import com.github.somi92.seecsk.domain.Clanarina; import java.awt.Component; imp...
/* * Copyright 2002-2018 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 2015 The Chromium 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 org.chromium.components_browsertests_apk; import android.os.Bundle; import org.chromium.base.test.util.UrlUtils; import org.chromium.content_she...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
package org.openstack4j.openstack.workflow.domain; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import org.openstack4j.model.workflow.Definition; import org.openstack4j.model.workflow.Scope; import org.openstack4j.model.workflow.builder.DefinitionBuilder; i...
package com.atguigu.gmall.pms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.pms.entity.WareOrderTaskEntity; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; /** * 库存工作单 * * @author linghuchong * @email lxf@atguigu.com * @date 2020-...
/* * Javassist, a Java-bytecode translator toolkit. * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. Alternatively, the contents of th...
/* Copyright 2012 Urban Airship and Contributors */ package com.urbanairship.statshtable; import java.util.concurrent.TimeUnit; import com.yammer.metrics.Metrics; import com.yammer.metrics.core.*; import com.yammer.metrics.stats.Snapshot; /** * A Timer with some extra features: * - it remembers the timestamp of ...
package seedu.address.logic.commands; import java.io.IOException; import seedu.address.logic.commands.exceptions.CommandException; /** * Exports OneBook to a VCard File. */ public class ExportCommand extends Command { public static final String COMMAND_WORD = "export"; public static final String MESSAGE_...
/* * Copyright 2020 bithon.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2020 ActiveJ 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...
package com.experts.core.biller.statemachine.api.jdbi; public class AbstractDao { }
/* * 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...
/* * 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 machine_learning.mlp; import java.util.Arrays; import machine_learning.functions.Function; /** * * @author arx-dev-3a-19 *...
package com.github.chen0040.op.commons.benchmarks; import com.github.chen0040.op.commons.models.costs.CostFunction; /** * Created by memeanalytics on 13/8/15. */ public class RosenbrockSaddleCostFunction extends CostFunction { @Override public Object clone(){ RosenbrockSaddleCostFunction clone = ne...
/* * 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 ...
import org.junit.Test; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; /** * @Description : * @Author: wuwangqiang * @Version: 2020/4/23 0023 16:27 */ public class test_on...
package com.starrocks.analysis; import com.google.common.collect.ImmutableSet; import com.starrocks.catalog.WorkGroup; import com.starrocks.catalog.WorkGroupClassifier; import com.starrocks.common.AnalysisException; import com.starrocks.common.FeConstants; import com.starrocks.qe.ConnectContext; import com.starrocks.s...
package io.dropwizard.employeeapiauth.utils; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.Date; import javax.crypto.KeyGenerator; import com.auth0.jwt.JWT; import com.auth0....
package fansek.streamport.impl; import java.util.Objects; import fansek.streamport.Consumer; abstract class UpConsumer<T, R> implements Consumer<T> { final Consumer<? super R> resultConsumer; UpConsumer(Consumer<? super R> resultConsumer) { this.resultConsumer = Objects.requireNonNull(resultConsumer); } }
package com.gupao.edu.vip.lion.network.netty.udp; import com.gupao.edu.vip.lion.api.connection.Connection; import com.gupao.edu.vip.lion.api.message.PacketReceiver; import com.gupao.edu.vip.lion.api.protocol.Packet; import com.gupao.edu.vip.lion.network.netty.codec.PacketDecoder; import com.gupao.edu.vip.lion.network....
package org.usfirst.frc.team3543.robot.commands; import org.usfirst.frc.team3543.robot.Calibration; import org.usfirst.frc.team3543.robot.OI; import org.usfirst.frc.team3543.robot.Robot; import org.usfirst.frc.team3543.robot.RobotMap; import org.usfirst.frc.team3543.robot.subsystems.DriveLine; import org.usfirst.frc.t...
package com.paypal.butterfly.integrationtests; import com.google.common.base.Stopwatch; import com.google.common.io.Files; import com.paypal.butterfly.api.ButterflyFacade; import com.paypal.butterfly.api.Configuration; import com.paypal.butterfly.api.TransformationResult; import com.paypal.butterfly.extensions.springb...
/* * Copyright 2002-2012 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 test0018; import java.util.*; public class Test { public static void main(String[] args) { int i = 0; i *= 2; } }
/* * Copyright 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.jess.arms.rxtest; /** * 作者: 周来 * 包名: com.jess.arms.rxtest * 工程名: MyMVPTest * 时间: 2018/11/23 * 说明: */ public interface Observer<T> { void onCompleted(); void onError(Throwable t); void onNext(T var1); }
package com.raoulvdberge.refinedstorage.render.tesr; import com.raoulvdberge.refinedstorage.apiimpl.autocrafting.CraftingPattern; import com.raoulvdberge.refinedstorage.item.PatternItem; import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer; import net.minecraft.item.ItemStack; public class Patt...
/* * 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 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 1999-2017 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 it.golem.web.servlet.main; import it.golem.web.enums.AccessRole; import it.golem.web.enums.PagePaths; import it.golem.web.utils.Controller; import it.golem.web.utils.Navigation; import java.io.IOException; import javax.servlet.ServletException; public class HomeServlet extends Controller { /** * */ ...
/** * */ package me.djin.dcore.redis; import java.util.function.Function; /** * @author djin * * redis 分布式锁 */ public interface RedisLockable { /** * 加锁资源 * <pre> * RedisLockable lockable = new ...(); * String key = "LOCK_KEY"; * String value = UUID.randomUUID().toString(); * int expire = 30; *...
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies th...
/* * MIT License * * Copyright (c) 2020 Airbyte * * 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.jiaqu365.weixin.mp.bean; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamConverter; import com.jiaqu365.weixin.common.api.WxConsts; import com.jiaqu365.weixin.common.util.xml.XStreamMediaIdConverter; @XStreamAlias("xml") public class WxMpXmlOutI...
package space.mindhack.basicWeaponsMod.block; import cpw.mods.fml.common.Mod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import n...
package com.cc.kafka; import java.util.concurrent.ExecutionException; import com.cc.kafka.constrants.IKafkaConstants; import org.apache.kafka.clients.consumer.Consumer; import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer...
package com.hcl.kandy.cpass.activities; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.RadioGroup; im...
package b.j.a.c.f0.g; import b.j.a.a.c0; import b.j.a.c.f0.c; import b.j.a.c.i; public class d extends a { public d(d dVar, b.j.a.c.d dVar2) { super(dVar, dVar2); } public d(i iVar, b.j.a.c.f0.d dVar, String str, boolean z, i iVar2) { super(iVar, dVar, str, z, iVar2); } public c ...
/* * 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...
/* * Copyright (c) 2021, 2021 Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of t...
// 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 Cask Data, 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 t...
package com.koushikdutta.async.http; import android.annotation.SuppressLint; import android.net.Uri; import android.os.Build; import android.text.TextUtils; import com.koushikdutta.async.AsyncSSLException; import com.koushikdutta.async.AsyncServer; import com.koushikdutta.async.AsyncSocket; import com.koushikdutta.as...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
package com.huaweicloud.sdk.as.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.as.v1.model.EnableOrDisableScalingGro...
package com.dsi.parallax.pipeline.csv; import com.dsi.parallax.ml.util.csv.CSV; import com.dsi.parallax.ml.vector.LinearVector; import com.dsi.parallax.pipeline.Context; import com.dsi.parallax.pipeline.FileSource; import com.dsi.parallax.pipeline.Pipeline; import com.dsi.parallax.pipeline.Source; import com.dsi.paral...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package be.trojkasoftware.android.diagramming.gestures; import be.trojkasoftware.android.diagramming.DiagramDesignerView; import be.trojkasoftware.android.diagramming.gestures.actions.DoClearEligibleForEditingGestureAction; import be.trojkasoftware.android.diagramming.gestures.actions.DoClearSelectionGestureAction; im...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.devkit.inspections; import com.intellij.codeInspection.LocalQuickFix; import com.intellij.lang.jvm.DefaultJvmElementVisitor; import com.intellij.lang.j...
package com.ruoyi.common.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.*; /** * 线程相关工具类. * * @author ruoyi */ public class Threads { private static final Logger logger = LoggerFactory.getLogger(Threads.class); private Threads(){ throw new IllegalStat...
package com.nloops.students.cloud; import android.content.Context; import android.content.SharedPreferences; import android.os.AsyncTask; import android.preference.PreferenceManager; import android.util.Log; import com.firebase.jobdispatcher.Constraint; import com.firebase.jobdispatcher.Driver; import com.firebase.job...
package me.dropead2.tab; import lombok.Getter; import lombok.SneakyThrows; import me.dropead2.tab.entry.TabElement; import me.dropead2.tab.entry.TabElementHandler; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; @Getter public class TabHandler { private final ...
package com.unascribed.yttr.mixin.effector; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.ModifyVariable; import org.spongepowered.as...
/* * (C) Copyright IBM Corp. 2021. * * 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 w...
/* (c) British Telecommunications plc, 2009, All Rights Reserved */ package com.bt.pi.api.utils; import java.util.Calendar; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.stereotype.Component; import com.amazonaws.ec2.doc.x2009040...
package io.reactiverse.awssdk; import io.vertx.core.Vertx; import io.vertx.core.http.HttpClientOptions; import io.vertx.core.http.HttpServer; import io.vertx.core.net.ProxyOptions; import io.vertx.junit5.Timeout; import io.vertx.junit5.VertxExtension; import io.vertx.junit5.VertxTestContext; import org.junit.jupiter.a...
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Licensed under the MIT License. */ package ai.onnxruntime; import java.io.IOException; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.DoubleBuffer; import java.nio.FloatBuffer; import java.n...
package io.github.maseev.partitioner.image; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; public class ImagePartitioner { private final Elements elements; public ImagePartitioner(Elements...
/* * 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.chenyacheng.commonuilib.base; import com.chenyacheng.commonuilib.utils.ExceptionHandleUtils; /** * 请求监听成功或者失败 * * @author chenyacheng * @date 2020/07/16 */ public interface ResponseListener { /** * 响应成功 * * @param t 返回T的对象 */ void onSuccess(Object t); /** * 响应失败...
package net.moxuan.common.enums; /** * @author: moxuan * @description: */ public enum ResultCodeEnum implements EnumModel { /** * 错误代码及描述, 格式:A-BB-CCC * A: 错误来源 1/2/3 1用户 2 系统 3 第三方 * BB: 2 位,模块编号 * CCCC: 最小1位,最大4位,自增即可。具体模块的错误提示 * * 参数校验(@valid)错误码统一为100000 */ SUCCESS(0, ...
/* * Copyright (C) 2007 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...