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 ...
package com.ruinscraft.panilla.craftbukkit.v1_16_R2; import com.ruinscraft.panilla.api.IInventoryCleaner; import com.ruinscraft.panilla.api.IPanilla; import com.ruinscraft.panilla.api.IPanillaPlayer; import com.ruinscraft.panilla.api.exception.FailedNbt; import com.ruinscraft.panilla.api.nbt.INbtTagCompound; import co...
/* * Copyright (c) 2009-2017, Peter Abeles. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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 * * ...
/* * Copyright 2009 Denys Pavlov, Igor Azarnyi * * 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 b...
package org.homework.spring.shell; import org.homework.spring.dto.Author; import org.homework.spring.dto.Book; import org.homework.spring.dto.Genre; import org.homework.spring.service.BookService; import org.springframework.shell.standard.ShellComponent; import org.springframework.shell.standard.ShellMethod; import or...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.vectors.query; import org.apache.lucene.ind...
package gov.healthit.chpl.validation.pendingListing.reviewer.duplicate; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentMatchers; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnno...
/* * Copyright 2018 InfAI (CC SES) * * 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.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 企业认证查询服务 * * @author auto create * @since 1.0, 2017-10-27 14:28:48 */ public class ZhimaCustomerEpCertificationQueryModel extends AlipayObject { private static final long serialVersionUID =...
package com.microsoft.identity.client; import com.microsoft.identity.common.java.authorities.AccountsInOneOrganization; import com.microsoft.identity.common.java.authorities.AnyOrganizationalAccount; import com.microsoft.identity.common.java.authorities.AnyPersonalAccount; import com.microsoft.identity.common.java.aut...
/***************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * ...
package chattlesnake; import com.sun.javafx.event.EventQueue; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import jav...
package org.folio.finc.select; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.equalTo; import io.restassured.http.ContentType; import io.vertx.core.json.Json; import io.vertx.ext.unit.junit.Timeout; import io.vertx.ext.unit.junit.VertxUnitRunner; import java.util.Arrays; import ja...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.or...
package ijaux.datatype.access; import ijaux.Constants; public interface PrimitiveAccess<VectorType> extends Constants { /* * read methods */ byte elementByte(int index); byte elementByte(VectorType coords); short elementShort(int index); short elementShort(VectorType coords); int elementInt(int ...
/* * This file is part of Dependency-Track. * * 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 ...
/** create by system gera-java version 1.0.0 03/12/2016 13:29 : 12*/ package com.econtabil.integration.domain.nfeItens.model; import com.econtabil.integration.domain.util.model.ModelCosmeDamiao; /** * This class is a representation of an Account (i.e Checking, Savings, etc.). * This represents an account for a tran...
/* * Copyright 2019-2020 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 ap...
import java.util.ArrayList; import java.util.List; /** * @author Yago * @version 1.0 * @since 07/06/2020 - 5:07 PM * @category Model */ public class BancoArray implements BancoArrayInterface { List<Funcionario> lista; public BancoArray() { lista = new ArrayList<>(); } @Override publ...
package edu.lc; import edu.lc.controller.AppController; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.layout.VBox; import javafx.stage.Stage; /** * Main class, which launches the application */ public class App e...
package io.katharsis.jpa.meta; import io.katharsis.meta.model.MetaAttribute; import io.katharsis.resource.annotations.JsonApiResource; @JsonApiResource(type = "meta/entityAttribute") public class MetaEntityAttribute extends MetaAttribute { }
// Template Source: BaseMethodRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
package org.riverock.portlet.manager.monitor.action; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileOutputStream; import java.nio.charset.StandardCharsets; import org.apache.commons.lang.CharEncoding; import org.apache.log4j.Logger; import org.riverock.common.config.PropertiesProvider; ...
package seedu.address.logic.parser.person; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import java.util.Arrays; import seedu.address.logic.commands.person.PersonFindCommand; import seedu.address.logic.parser.Parser; import seedu.address.logic.parser.exceptions.ParseException; im...
package org.deeplearning4j.util; import org.apache.commons.lang3.time.StopWatch; import org.apache.commons.math3.complex.Complex; import org.apache.commons.math3.util.FastMath; import org.jblas.*; import org.jblas.ranges.RangeUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent...
package edu.neu.coe.info6205.msdRadix; import java.io.IOException; import java.util.Arrays; import edu.neu.coe.info6205.graphs.BFS_and_prims.StdRandom; public class QuickDualPivotHindi { static boolean isChinese = false; // quicksort the array a[] using dual-pivot quicksort public static void sort(Compa...
package com.protech.machine_interface.api.models; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; @Entity @DiscriminatorValue("VL10") public class VL10 extends Machine { public VL10(String name, MachineMode machineMode, MachineStatus state) { super(name, machineMode, state);...
package commands; import java.util.List; import engine.Controller; public class Right extends TurtleCommand { public Right() { super(); } public Right(Controller controller, String expression, List<Command> parameters) { super(controller, expression, parameters); } @Override public int getNumParameter...
/* * Copyright 2002-2016 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.icexxx.icegen.codemanager; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; public class DataPlus { public static HashMap<String, String> plus(HashMap<String, String> data, HashMap<String, String> configFormat) { Iterator<Entry<String, String>> ite = configForm...
package ru.m210projects.Build.Render.TextureHandle; import java.nio.ByteBuffer; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Pixmap.Filter; import com.badlogic.gdx.graphics.Pixmap.Format; public class PixmapTileData extends TileData { private Pixmap pixmap; private boolean clamped; p...
package com.cupdata.ums.mapper; import com.cupdata.ums.entity.UserLoginLogEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 用户登陆记录表 * * @author 这周日没空 * @email lypbenlf@163.com * @date 2020-12-15 16:32:01 */ @Mapper public interface UserLoginLogMa...
/* * Copyright 2016-2018 shardingsphere.io. * <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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * 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 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...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses ...
package JDKFeaturesApplication.javaconcurrent.threadpoolexecutor.shutdown; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /** * 线程池没有使用,程序正常结束 */ public class Test1 { public static void main(String[] args) { MyRunnab...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2015 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
package com.cloud.ribbon.ribbon; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.clo...
/* * Copyright (c) 2014 Oculus Info Inc. http://www.oculusinfo.com/ * * Released under the MIT License. * * 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, includi...
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
package org.hango.cloud.core.k8s.subtracter; import org.hango.cloud.util.function.Subtracter; import me.snowdrop.istio.api.networking.v1alpha3.HTTPRoute; import me.snowdrop.istio.api.networking.v1alpha3.VirtualService; import java.util.List; import java.util.stream.Collectors; public class GatewayVirtualServiceSubtr...
package io.demo.potter.softwareexample.core.security.authorization; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.security.access.prepost.PreAuthorize; /** * Helper annotatio...
/** * 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.jing; import brave.Tracing; /** * @author jingshouyan * #date 2018/10/31 16:29 */ public class BraveTest { public static void main(String[] args) { Tracing tracing = Tracing.newBuilder().build(); } }
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
package com.pandale.system.service.impl; import com.pandale.common.annotation.DataScope; import com.pandale.common.constant.UserConstants; import com.pandale.common.exception.BusinessException; import com.pandale.common.support.Convert; import com.pandale.common.utils.StringUtils; import com.pandale.system.domain.SysR...
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 com.forum.model.htmlforms; import lombok.Getter; import lombok.Setter; @Getter @Setter public class MessageContent { private String content; }
/* * 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.aliyun.ros.cdk.apigateway; /** * Properties for defining a `ALIYUN::ApiGateway::Group`. */ @javax.annotation.Generated(value = "jsii-pacmak/1.53.0 (build c071d26)", date = "2022-02-11T01:44:06.930Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.apigateway.$Module.class, fqn = "@alicloud/ros-cdk...
package com.inz.z; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isC...
package com.ustudy.exam.model.statics; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnore; public class ScoreSubjectCls implements Serializable { /** * */ private static final long serialVersionUID = 1369388311080844442L; private String subjectName = null; private float aveS...
package org.visualdataweb.vowl.SwingElements.View; import org.apache.log4j.Logger; import org.visualdataweb.vowl.languages.LanguageGraphEN; import org.visualdataweb.vowl.protege.VOWLViewComponent; import org.visualdataweb.vowl.storage.GraphStorage; import org.visualdataweb.vowl.types.*; import prefuse.data.Edge; impor...
package mcjty.enigma.progress.serializers; import mcjty.enigma.Enigma; import mcjty.enigma.progress.NBTData; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.common.registry...
/* Copyright (c) 2009 Egon Willighagen <egonw@users.sf.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this...
/* * 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 Julian Hyde under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Julian Hyde licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
package online.minipixel.smp.Configs; import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import java.io.File; import java.io.IOException; public class ConfigWarps { private FileConfigurati...
/* Copyright 2018 Wendy Chapman (wendy.chapman\@utah.edu) & Lee Christensen (leenlp\@q.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 ...
package io.renren.modules.generator.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotati...
package org.firstinspires.ftc.teamcode.old; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; @...
/*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
package com.example.jojos_new_infra_4_4; import android.app.Activity; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.Signature; import android.os.Handler; import android.os.Looper; imp...
/* * Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io> * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package io.proleap.cobol.asg.metamodel.procedure.inspect.impl; import org.antlr.v4.runtime.P...
package com.resilient.re.rule; import com.resilient.re.rule.core.RuleEngine; import com.resilient.re.rule.core.RuleSet; import com.resilient.re.rule.http.HttpServer; import com.resilient.re.rule.result.Result; import java.io.File; import java.util.List; /** * Created by mahesh on 10/20/2015. */ public class Main {...
package ua.katas; import org.assertj.core.api.AbstractAssert; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.stream.IntStream; import static ua.katas.BowlingGameTest.BowlingGameAssertions.assertThat; class BowlingGameTest { private BowlingGame game; @BeforeEach ...
/* * Copyright (c) 2008-2018, 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 ...
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
package com.happycommunity.business; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; /** * @author Danny * @Title: AbstractTest * @Description: * @Created on 2018-10-26 17:25:14 */ @RunWith(SpringRunner.cla...
/* * Copyright (C) 2009-2022 Lightbend Inc. <https://www.lightbend.com> */ package jdocs.io.japi; import java.net.InetSocketAddress; import akka.actor.ActorRef; import akka.actor.Props; import akka.actor.SupervisorStrategy; import akka.actor.AbstractActor; import akka.event.Logging; import akka.event.LoggingAdapte...
/* * Copyright 2019-2020 Zheng Jie * * 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...
/** * Copyright (c) 2018 Evolveum * * 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.arrow.kronos.web.controller; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpSession; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.sp...
/* * 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...
/* * 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 2019 Arcus 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 applicable law or a...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
package com.yima.symall.ums.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.yima.cor...
package cgeo.geocaching.test.mock; import cgeo.geocaching.connector.gc.GCConstants; import cgeo.geocaching.location.Geopoint; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.models.Image; import cgeo.geocaching.models.Trackable; import cgeo.geocaching.utils.TextUtils; import androidx.annotation.NonNull...
package com.example.philoniare.todoapp.persistence; import android.content.ContentProvider; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; import android.support...
/** * @copyright * ==================================================================== * 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. ...
/* * Copyright 2020 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2016 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...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__random_array_read_check_min_54c.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-54c.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Index * BadS...
/* * 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...
package com.seeyoui.kensite.common.license; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.security.PublicKey; import java.security.interfaces.RSAPrivateKey; import java.security.interfaces.RSA...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 商户入驻单查询接口 * * @author auto create * @since 1.0, 2021-04-19 16:57:00 */ public class AntMerchantExpandMapplyorderQueryModel extends AlipayObject { private static final long serialVersionUID ...
package leetcode.easy; /** * @author yuyunlong * @date 2021/3/14 11:58 下午 * @description */ public class LeetCode121 { //双指针法 public int maxProfit(int[] prices) { int minPrice = Integer.MAX_VALUE; int profit = 0; for (int i = 0; i < prices.length; i++) { //某一日期前的最低价格 ...
/* * Copyright (c) 2002-2021, City of Paris * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice * and the f...
package com.ruoyi.common.core.domain; import java.io.Serializable; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; /** * Entity基类 *...
/* * * 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"); y...
package nl.knokko.rpg.quests; import java.awt.Color; import java.awt.Font; import nl.knokko.rpg.inventory.ItemStack; import nl.knokko.rpg.items.Items; import nl.knokko.rpg.items.SpecialItems; import nl.knokko.rpg.main.Game; import nl.knokko.rpg.quests.Quest.Reward; import nl.knokko.rpg.utils.SpecialText; public fina...
package uk.ac.ebi.arrayexpress.components; /* * Copyright 2009-2014 European Molecular Biology Laboratory * * 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/l...
package com.google.appengine.tools.mapreduce; import com.google.api.services.bigquery.model.TableSchema; /** * An implementation of this class should serialize the objects of type T into newline separated * json as expected by the bigquery load jobs. It should also provide an implementation for * generating the s...
/* * Copyright 2021 Wultra 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 agreed to in...
/* * 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 © 2014 - 2020 Leipzig University (Database Research Group) * * 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...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.javascript; ...