text stringlengths 7 995k |
|---|
/*
* 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 ... |
/*
* 版权所有:杭州火图科技有限公司
* 地址:浙江省杭州市滨江区西兴街道阡陌路智慧E谷B幢4楼
*
* (c) Copyright Hangzhou Hot Technology Co., Ltd.
* Floor 4,Block B,Wisdom E Valley,Qianmo Road,Binjiang District
* 2013-2016. All rights reserved.
*/
/**
* 为了实现service需要增加的一些MVC拦截器
*
* @author CJ
*/
package com.huotu.hotcms.service.interceptor; |
package org.hl7.fhir.common.hapi.validation.validator;
import ca.uhn.fhir.validation.IValidationContext;
import ca.uhn.fhir.validation.IValidatorModule;
import ca.uhn.fhir.validation.ResultSeverityEnum;
import ca.uhn.fhir.validation.SingleValidationMessage;
import org.hl7.fhir.instance.model.api.IBaseResource;
import ... |
package com.annaru.upms.mapper;
import com.annaru.upms.entity.ExamMasterDetailMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java... |
/**
* Copyright 2014 DuraSpace, 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 agree... |
// NonDominatedSolutionList.java
//
// Author:
// Antonio J. Nebro <antonio@lcc.uma.es>
// Juan J. Durillo <durillo@lcc.uma.es>
// Simos Gerasimou
//
// Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo
//
// This program is free software: you can redistribute it and/or modify
// it under the term... |
/*
* Copyright 2000-2012 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... |
/*****************************************************************************
* 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 *
* r... |
/*
* Copyright 2002-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 ap... |
package de.clemensloos.elan.sender.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.LinkedList;
import java.util.List;
/**
* Created by Loos... |
package com.macro.mall.interceptor;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.macro.mall.util.JwtKit;
import com.macro.mall.common.api.CommonResult;
import com.macro.mall.common.exception.BusinessException;
import com.macro.mall.config.properties.JwtProperties;
import io.jsonwebtoken.Claims;
impor... |
package com.lothrazar.cyclic.registry;
import com.lothrazar.cyclic.base.BlockBase;
import com.lothrazar.cyclic.base.ItemBase;
import com.lothrazar.cyclic.fluid.FluidHolderBase;
import com.lothrazar.cyclic.item.magicnet.EntityMagicNetEmpty;
import com.lothrazar.cyclic.item.storagebag.StorageBagItem;
import net.minecraf... |
package com.rethinkdb.ast.query.gen;
import com.rethinkdb.RethinkDBConnection;
import com.rethinkdb.ast.query.RqlQuery;
import com.rethinkdb.proto.Q2L;
import com.rethinkdb.response.DBResponseMapper;
import com.rethinkdb.response.model.JoinResult;
import java.util.List;
import java.util.Map;
// extends RqlMethodQuer... |
package com.pass.cloud.uac.model.vo.treeview;
/**
* @author takesi
*/
public interface ItemType {
/**
* 文件夹
*/
String NODE_FOLDER = "folder";
/**
* 叶子节点
*/
String NODE_ITEM = "item";
} |
/*
* 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... |
/*
* StoreRuleNode.java $Revision: 9 $
*
* Copyright (c) 2007 Roozbeh Farahbod
*
* Last modified on $Date: 2009-01-28 10:03:22 +0100 (Mi, 28 Jan 2009) $ by $Author: rfarahbod $
*
* Licensed under the Academic Free License version 3.0
* http://www.opensource.org/licenses/afl-3.0.php
* http://www.coreasm.... |
package org.bukkit.event.player;
import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
/**
* Called when a player interacts with an armor st... |
/*
* Copyright 2015 herd 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/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package top.xiajibagao.crane.core.helper;
import cn.hutool.core.text.CharSequenceUtil;
import cn.hutool.core.util.ReflectUtil;
import java.lang.invoke.SerializedLambda;
import java.lang.ref.WeakReference;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.... |
/*
* 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 crystal.ast;
import crystal.general.Type;
import java.io.*;
abstract public class Expression extends ASTNode
implements Serializable, Parent
{
private static final long serialVersionUID = 4121128134759362616L;
public boolean isZero() {
return false;
}
public boolean isConst(int c) {
return false;... |
package com.github.bottomlessarchive.loa.indexer.service.conductor;
import com.github.bottomlessarchive.loa.conductor.service.client.extension.InstancePropertyExtensionProvider;
import com.github.bottomlessarchive.loa.conductor.service.client.extension.domain.InstanceExtensionContext;
import com.github.bottomlessarchi... |
package logSense;
import logSense.SolrConstants.SolrField;
/**
* e.g., a session in a different backend system
* @author am
*
*/
public class SessionParser extends BaseFieldParserImpl
{
/*
* ,Session=[1234]
*/
public SessionParser()
{
super(SolrField.SESSION);
}
public BaseFieldParserImpl init... |
package net.minecraft.world.inventory;
public enum ClickType {
PICKUP,
QUICK_MOVE,
SWAP,
CLONE,
THROW,
QUICK_CRAFT,
PICKUP_ALL;
} |
/*
* 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 UserInterface.Admins.Customer;
import business.Customer.Customer;
import business.Customer.CustomerDirectory;
import business.... |
package com.ecar.domain;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import com.ecar.domain.exception.InsufficientCreditsException;
import com.ecar.domain.exception.UserAlreadyHasCarException;
import com.ecar.domain.exception.UserHasNoCarException;
/**
*
* D... |
/*
* (c) Copyright 2019 Palantir Technologies 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 ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package androidx.legacy.coreutils;
public final class R {
private R() {}
public static final class attr {
private attr... |
package com.atguigu.gulimall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.order.entity.OrderSettingEntity;
import java.util.Map;
/**
* 订单配置信息
*
* @author yjc
* @email yjc@gmail.com
* @date 2021-07-22 17:40:48
*... |
package org.intermine.bio.web;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.html... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.playws;
import static net.bytebuddy.matcher.ElementMatchers.named;
import io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge;
import io.opentelemetry.javaagent.extension.instr... |
package com.yoosal.common.type;
import com.yoosal.common.Assert;
import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
import java.lang.reflect.*;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.WeakHashMap;
public abstract class GenericTypeResolver {
... |
package com.annimon.stream;
import com.annimon.stream.function.BooleanConsumer;
import com.annimon.stream.function.BooleanFunction;
import com.annimon.stream.function.BooleanPredicate;
import com.annimon.stream.function.BooleanSupplier;
import com.annimon.stream.function.Function;
import com.annimon.stream.function.Su... |
package net.glowstone.net.codec.play.player;
import com.flowpowered.network.Codec;
import io.netty.buffer.ByteBuf;
import java.io.IOException;
import net.glowstone.net.message.play.player.PlayerPositionMessage;
public final class PlayerPositionCodec implements Codec<PlayerPositionMessage> {
@Override
public ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.06.11 at 05:34... |
package jianzhi.chapatereleven;
import java.util.ArrayList;
/**
* @author liliangbin dumpling1520@gmail.com
* @date 2019/3/21 8:11
**/
public class Main {
// INFO 2019/3/21 8:11 liliangbin 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,例如,如果输入如下4 X 4矩阵:
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// 则依次打印出数字1,2,3,4... |
package com.twu.buildingBlocks;
/**
* It represents movie Rating.
*/
public class MovieRating {
int rating;
public MovieRating(int i) {
if (i > 10 || i < 1)
throw new IllegalArgumentException();
rating = i;
}
MovieRating() {
rating = 0;
}
int getRating()... |
/*
* Copyright 2012 The Netty Project
*
* The Netty 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
*
* Unless ... |
/**
* Copyright 2018 Nikita Koksharov
*
* 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 me.stevenkin.alohajob.common.dto;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class JobDto {
private Long id;
/* ************************** 任务基本信息 ************************** */
// 任务名称
private String jobName;
// 任务描述
private String jobDescripti... |
package seedu.notor.logic.executors.person;
import static seedu.notor.commons.util.CollectionUtil.requireAllNonNull;
import seedu.notor.commons.core.index.Index;
import seedu.notor.logic.commands.CommandResult;
import seedu.notor.logic.executors.exceptions.ExecuteException;
import seedu.notor.model.person.Person;
/*... |
package kr.mobilian.maze_rui;
import android.app.Application;
import android.content.ComponentName;
import android.content.Intent;
public class MazeApplication extends Application {
private static final String TAG = "MazeApplication";
private static boolean DEBUG = true;
private RobotStateReceiveService ... |
package com.simibubi.create.content.contraptions.processing;
import java.util.List;
import java.util.Optional;
import com.simibubi.create.AllRecipeTypes;
import com.simibubi.create.content.contraptions.fluids.potion.PotionFluidHandler;
import com.simibubi.create.foundation.utility.Pair;
import io.github.fabricators_o... |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... |
package com.droidmarvin.toddiyeloginfire;
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
p... |
/*
* 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/LICENSE-2.0
*
* Unless required by app... |
package io.onedev.commons.jsyntax.javascript;
import org.junit.Test;
import io.onedev.commons.jsyntax.AbstractTokenizerTest;
public class JSONLDTokenizerTest extends AbstractTokenizerTest {
@Test
public void test() {
verify(new JSONLDTokenizer(), new String[]{"javascript/javascript.js"}, "test.jsonld");
}
} |
/*
* Minecraft Forge
* Copyright (c) 2016-2020.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it... |
// Copyright 2000-2018 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 icons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
/**
* NOTE THIS FILE IS AUTO-GENERATED
* DO NOT EDIT IT BY HAND, run "Generate icon classes"... |
package org.telegram.android.ui;
import android.app.Activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Layo... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package pl.deszczowy.slap;
import android.content.Context;
import android.graphics.Color;
import android.support.v4.content.res.ResourcesCompat;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;
import pl.deszczowy.slap.... |
package priv.bluerhino.java.playground.leetcode.interview.questions.easy;
/**
* Created by niekunlin @ 18/6/13.
* https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/27/
*/
public class ArrPlusOne {
public int[] plusOne(int[] digits) {
int length = digits.length;
... |
package org.geojson;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
@RunWith(Parameterized.class)
public class GeoJsonObjectVisitorTest {
@Parameterized.Parameters
public static Co... |
package com.applozic.mobicomkit.channel.service;
import android.content.Context;
import android.support.annotation.VisibleForTesting;
import android.text.TextUtils;
import com.applozic.mobicomkit.ApplozicClient;
import com.applozic.mobicomkit.api.account.user.MobiComUserPreference;
import com.applozic.mobicomkit.api.... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
/*
* Copyright 2019 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* Copyright 2017 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... |
/*
* Copyright (c) 2019. Greg Eakin
*
* 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... |
/*
* 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) 2016 Bilibili
*
* 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 cn.qqtheme.AnimatorSample;
import android.graphics.Path;
import android.support.annotation.Nullable;
import android.support.annotation.WorkerThread;
/**
* SVG Path Parser
* <path d="M250 150 L150 350 L350 350 Z" />
* <p/>
* Author:李玉江[QQ:1032694760]
* Email:liyujiang_tk@yeah.net
* DateTime:2016/1/... |
package portal.notebook.webapp;
import org.apache.wicket.ajax.AjaxEventBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;
import org.apache.wicket.ajax.attributes.ThrottlingSettings;
import org.apache.wicket.ajax.form.AjaxFormSubmitBehavior;
impor... |
/*
* Copyright 2014-present Facebook, 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... |
package cottee.myproperty.uitils;
import android.app.Application;
import android.content.Context;
/**
* Created by Administrator on 2017/5/29 0029.
*/
public class Properties extends Application {
private static Context context;
@Override
public void onCreate() {
context=getApplicationContext(... |
package com.ssafy.pjt.provider.service;
import java.io.IOException;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.sprin... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.marketdata.permission;
import java.util.Set;
import com.opengamma.engine.value.ValueRequirement;
import com.opengamma.livedata.UserPrincipal;
/**
* ... |
/* Soot - a J*va Optimization Framework
* Copyright (C) 1997-1999 Raja Vallee-Rai
*
* 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 License, or (at your ... |
package ee.pri.bcup.client.common.panel;
import javax.swing.JLabel;
import ee.pri.bcup.client.common.Backgrounds;
import ee.pri.bcup.client.common.context.AppletContext;
public class MessagePanel extends BCupBackgroundedPanel {
private static final long serialVersionUID = 1L;
private JLabel messageLabel;
public... |
/*
* Copyright 2000-2013 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 com.commercetools.api.models.cart;
import java.util.*;
import java.util.function.Function;
import io.vrap.rmf.base.client.Builder;
import io.vrap.rmf.base.client.utils.Generated;
@Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen")
public cl... |
/*
* Copyright 2016 Crown Copyright
*
* 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... |
package de.hpi.bpmn;
import de.hpi.bpmn.serialization.BPMNSerialization;
public class EndCompensationEvent extends EndEvent {
@Override
public StringBuilder getSerialization(BPMNSerialization serialization) {
return serialization.getSerializationForDiagramObject(this);
}
} |
/*
* Copyright 2020 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.android.mm.music;
import android.Manifest;
import android.os.Bundle;
import com.android.mm.music.custom.PermissionActivity;
import androidx.annotation.Nullable;
public class MusicActivity extends MediaPlaybackActivity {
private static final String TAG = "Music";
private static final String[] RE... |
/*
* 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 not use... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayEbppInvoiceTitleSyncModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayEbppInvoiceTitleSyncResponse;
import com.alipay.api.AlipayObject;
/**
* AL... |
/*
Copyright (c) 2012 Marco Amadei.
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 writing, softwa... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (c) 2012 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 condi... |
/*******************************************************************************
* 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... |
/*
* Copyright 2004-2012 the Seasar Foundation and the Others.
*
* 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 ... |
public class FrameTimer {
private static final float startOfRun;
private static float frameStartTime;
private static float frameEndTime;
private static float frameDeltaTime;
private static float fps;
static {
startOfRun = System.nanoTime();
}
/**
* Measures the time elapse... |
package android.support.v4.p011f;
import android.os.Build.VERSION;
import java.util.Locale;
/* renamed from: android.support.v4.f.a */
public final class C0094a {
private static final C0095b f358a;
static {
int i = VERSION.SDK_INT;
if (i >= 21) {
f358a = new C0098e();
} el... |
package com.example.nearbymaps;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on ... |
/*
* 文件名称: OpenFileFinishListener.java
*
* 编译器: android2.2
* 时间: 下午8:39:16
*/
package com.wxiwei.office.macro;
/**
* open file finish listener
* <p>
* <p>
* Read版本: Read V1.0
* <p>
* 作者: ljj8494
* <p>
* 日期: 2012-9-10
* <p>
* 负责人: l... |
package com.fishercoder.solutions;
public class _72 {
public static class Solution1 {
public int minDistance(String word1, String word2) {
int m = word1.length();
int n = word2.length();
if (m == 0) {
return n;
}
if (n == 0) {
... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package detectors.lambda_client_reuse;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.amazonaws.services.s3.AmazonS3;
impor... |
package fuzion24.device.vulnerability.vulnerabilities.system;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import fuzion24.device.vulnerability.util.CPUArch;
import fuzion24.device.vulnerability.vulnerabilities.VulnerabilityTest;
import java.io.File;
import java... |
/*
* Copyright (C) 2017-2019 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) 2015 John Hyun
*
* 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 ... |
package com.globalmoney.apis.payment.persistence.repository;
import com.globalmoney.apis.payment.persistence.entity.AccountDetails;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
@Repository
public interface AccountRepository... |
package app.models;
import app.services.YrClient;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.TimeUnit;
/... |
package com.honey.mapper.auto;
import com.honey.entity.auto.Article;
import org.springframework.stereotype.Repository;
@Repository
public interface ArticleMapper {
int deleteByPrimaryKey(Integer id);
int insert(Article record);
int insertSelective(Article record);
Article selectByPrimaryKey(Integer... |
/*
* 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.etxtechstack.api.easypos_application.vo;
public class ProductCategoryRequest {
private Integer id;
private String name;
private String description;
public ProductCategoryRequest() {
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
th... |
package cn.bootx.notice.dto.mail;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 邮件附件参数
* @author xxm
* @date 2020/5/2 20:33
*/
@Data
@Accessors(chain = true)
public class MailFileParam {
/**
* 文件名称
*/
private String fileName;
/**
* 文件后缀
*/
private String f... |
/*
Copyright 2006 by Sean Luke
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec;
import ec.util.ParamClassLoadException;
import ec.util.Parameter;
import ec.eval.MasterProblem;
/*
* Evaluator.java
*
* Created: Tue Aug 10 20:53:30 1999
* By: Se... |
package com.ipd.jmq.common.network.kafka.exception;
/**
* Created by zhangkepeng on 16-9-12.
*/
public class InvalidMessageSizeException extends RuntimeException{
public InvalidMessageSizeException(String message) {
super(message);
}
public InvalidMessageSizeException(String message, Throwable... |
package com.max.design.create.factory.product;
public interface Product {
void show();
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.