text stringlengths 7 1.01M |
|---|
/*
* Copyright 2020 Fraunhofer Institute for Software and Systems Engineering
*
* 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
*
* Un... |
package com.redhat.samples.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
import com.redhat.samples.ws.model.Entity;
@WebService(targetNamespace = "http://www.redhat.com/sampl... |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2012 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... |
package com.lzhlyle.leetcode.self.no546;
public class RemoveBoxes_DP {
// dp
public int removeBoxes(int[] boxes) {
int n = boxes.length;
return dfs(boxes, new int[n][n][n], 0, n - 1, 0);
}
// dp[l][r][k]: 从 l 到 r,之后还有 k 个与 arr[r] 相同
private int dfs(int[] arr, int[][][] dp... |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* 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 ... |
/*
* $Id$
*
* 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
... |
/**
* 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 org.infinispan.stream.impl.intops.primitive.i;
import java.util.stream.IntStream;
import org.infinispan.stream.impl.intops.IntermediateOperation;
/**
* Performs distinct operation on a {@link IntStream}
*/
public class DistinctIntOperation implements IntermediateOperation<Integer, IntStream, Integer, IntSt... |
package com.zhazhapan.efo.service;
import com.zhazhapan.efo.model.UploadedRecord;
import java.util.List;
public interface IUploadedService {
/**
* 获取所有上传记录
*
* @param user 用户名或邮箱
* @param category 分类名称
* @param file 文件名
* @param offset 偏移
*
* @return {@link List}
*/... |
package game.main.positionable.entity.monster;
import game.main.positionable.entity.Entity;
public class Monster extends Entity {
@Override
public boolean isHostile(Entity e) {
return e == map.player;
}
}
|
package com.alibaba.alink.operator.batch.similarity;
import org.apache.flink.ml.api.misc.param.Params;
import com.alibaba.alink.operator.batch.utils.ModelMapBatchOp;
import com.alibaba.alink.operator.common.similarity.NearestNeighborsMapper;
import com.alibaba.alink.params.similarity.NearestNeighborPredictParams;
/*... |
package ca.carleton.gcrc.olkit.multimedia.converter.threshold;
import ca.carleton.gcrc.olkit.multimedia.converter.MultimediaConversionThreshold;
public class ThresholdDummy implements MultimediaConversionThreshold {
private boolean conversionRequired;
private boolean resizeRequired;
public ThresholdDummy(boolea... |
/**
*
*/
package framework.pagenavigation.State.ConcreteState;
import framework.pagenavigation.Mediator.AbstractMediator.APageNavigator;
import framework.pagenavigation.State.AbstractState.INavigatorState;
/**
* @author Quan Yang
*
*/
public class PListToMainState extends INavigatorState {
public PListToMai... |
package io.automatiko.engine.workflow.bpmn2.core;
import java.io.Serializable;
public class Signal implements Serializable {
private static final long serialVersionUID = 510l;
private String id;
private String name;
private String structureRef;
public Signal(String id, String structureRef) {
this.id = id;
... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 修复结算金额amount的类型,原来Number类型不合理,导致商户无法通过sdk集成,需改成Price类型
*
* @author auto create
* @since 1.0, 2019-07-15 14:30:19
*/
public class SettleDetailInfo extends AlipayObject {
private static fi... |
package com.javarush.games.snake;
import com.javarush.engine.cell.*;
/**
* @author Sergey Ponomarev on 11.01.2021
* @project JavaRushTasks/com.javarush.games.snake
*/
public class Apple extends GameObject{
private static final String APPLE_SIGN = "\uD83C\uDF4E";
public boolean isAlive = true;
public Apple(i... |
/*
* Copyright 2015, The Querydsl Team (http://www.querydsl.com/team)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by ... |
/**
* 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 cc.mrbird.febs.job.task;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Slf4j
@Component
public class TestTask {
public void test(String params) {
log.info("我是带参数的test方法,正在被执行,参数为:{}" , params);
}
public void test1() {
log.info("我是不带参数的test1方法... |
package com.wooki.core.mixins;
import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.annotations.AfterRender;
import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.annotations.InjectContainer;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.corel... |
/*
*
* Copyright 2016,2017 DTCC, Fujitsu Australia Software Technology, IBM - 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/licen... |
/*
* Copyright 2006-2016 Bas Leijdekkers
*
* 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... |
/*
* #%L
* *********************************************************************************************************************
*
* blueHour
* http://bluehour.tidalwave.it - git clone git@bitbucket.org:tidalwave/bluehour-src.git
* %%
* Copyright (C) 2013 - 2021 Tidalwave s.a.s. (http://tidalwave.it)
* %%
* **... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008-2009, The KiWi Project (http://www.kiwi-project.eu)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*... |
/*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright (c) 2019-2021 "Neo4j,"
* Neo4j Sweden AB [https://neo4j.com]
*
* This file is part of Neo4j.
*
* 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.apach... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.shanai.sysstatus.service;
import com.shanai.sysstatus.dto.MonitorInfoBean;
import lombok.SneakyThrows;
import oshi.SystemInfo;
import oshi.hardware.HWDiskStore;
import oshi.hardware.HardwareAbstractionLayer;
import java.io.File;
import java.lang.management.ManagementFactory;
import java.lang.management.O... |
/*
* Copyright 2000-2009 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... |
/*
* Copyright (c) 2018, 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.org/li... |
/*
* 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 ... |
/*
* 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.mycompany.proyecto5;
/**
*
* @author Córdova
*/
public class V_Aereo extends Vehiculos{
private double altitud = 0.... |
package com.yammer.metrics.spring;
import com.yammer.metrics.annotation.Timed;
public class ProxyTargetClass implements UselessInterface {
@Timed
public void timed() {}
} |
package references.references;
public class StringReference {
public char[] string;
}
|
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 思蓝灰度Zone测试接口one
*
* @author auto create
* @since 1.0, 2018-07-12 16:34:09
*/
public class AlipayOpenAppSilanApigrayoneQueryModel extends AlipayObject {
private static final long serialVersi... |
package cern.enice.jira.amh.baseruleset.rulesets;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import cern.enice.jira.amh.api.JiraCommunicator;
import cern.enice.jira.amh.api.LogProvider;
import cern.enice.jira.amh.api.MailService;
import cern.enice.jira.amh.api.RuleSet;
impor... |
/**
* Copyright (c) 2017-2018, Salesforce.com, Inc.
* 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 list of... |
package org.xdef.impl;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import java.util.StringTokenizer;
import javax.xml.XMLConstants;
import org.w3c.dom.Element;
import org.xdef.... |
/*
* 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 uk.bl.wa.nlp.wordvec;
/*-
* #%L
* warc-nlp
* %%
* Copyright (C) 2013 - 2018 The webarchive-discovery project contributors
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Fo... |
package org.bukkit.event.block;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
/**
* Called when a block is damaged by a player.
* <p>
* If a B... |
/*
* Copyright 2015-2017 OpenCB
*
* 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 ... |
/*
* 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 ... |
/*
* $Id$
*
* This is open-source software written by Sutron Corporation, under
* contract to the federal government. You are free to copy and use this
* source code for your own purposes, except that no part of the information
* contained in this file may be claimed to be proprietary.
*
* Except for specific con... |
/*
* 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.org... |
/**
* 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.kailash.tutorial.swing.ch5;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* Created by kailash on 3/30/20.
*/
public class MainFrame extends JFrame {
private final TextPanel textPanel;
private final JButton btn;
publi... |
/*
* Copyright 2020 Frederic Thevenet
*
* 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 datalog_ra.base.TupleTransformation;
import datalog_ra.base.dataStructures.Attribute;
import datalog_ra.base.dataStructures.Tuple;
import java.util.LinkedList;
import java.util.List;
/**
* Transformation, that creates a new tuple containing attributes of source
* tuple in order given by attributeOrder. Miss... |
package day71;
/**
* Created by Gaurav on 27/04/18.
*/
public class ComplexNumber {
public static void main(String[] args) {
ComplexNumber complexNumber = new ComplexNumber();
complexNumber.complexNumberMultiply("-1+-1i"
, "1+-1i");
}
public String complexNumberMulti... |
package com.lt.hm.wovideo.http;
import android.content.Context;
import android.util.Log;
import com.google.gson.Gson;
import com.lt.hm.wovideo.utils.StringUtils;
import com.lt.hm.wovideo.utils.TLog;
import com.zhy.http.okhttp.OkHttpUtils;
import com.zhy.http.okhttp.builder.GetBuilder;
import com.zhy.http.okhttp.build... |
/*
* 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, software
* distribut... |
package com.asofdate.hauth.dao.impl;
import com.asofdate.hauth.dao.UserDetailsDao;
import com.asofdate.hauth.entity.UserDetailsEntity;
import com.asofdate.sql.SqlDefine;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework... |
/**
* Copyright 2016-2021 The Reaktivity Project
*
* The Reaktivity 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... |
/*
* Copyright (c) 2012 - 2020 Arvato Systems GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package com.cg.demo.multi;
public class ThreadDemo2 implements Runnable {
public void printLoop() { // bookMovieTickets()
for (int i = 1; i <= 10; i++) {
try {
Thread.sleep(250);
} catch (InterruptedException e) {
e.printStackTrace();
}
System.out.println(i);
}
}
@Override
p... |
/*
* MIT License
*
* Copyright (c) 2018 Ensar Sarajčić
*
* 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... |
package io.healthe.util;
import android.annotation.SuppressLint;
import android.app.ActivityManager;
import android.content.Context;
import android.support.annotation.NonNull;
import com.bumptech.glide.GlideBuilder;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.load.DecodeFormat;
import ... |
package com.jtelegram.api.requests.chat.admin;
import com.jtelegram.api.chat.id.ChatId;
import com.jtelegram.api.ex.TelegramException;
import com.jtelegram.api.requests.message.framework.req.UserAdminChatRequest;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
import java.util.function.Consumer;
... |
package command;
import java.util.List;
import parser.Node;
import workspace.Workspace;
public class TurtlesCommand extends Command {
public TurtlesCommand (String s) {
super(s, 0);
}
@Override
public double execute (List<Node> inputs, Workspace workspace) throws Exception {
return w... |
package com.zednight.controller.adminPage.caddy;
import cn.hutool.core.codec.Base64;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.net.URLDecoder;
import cn.hutool.core.net.URLEncoder;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.RuntimeUtil;
import cn.hutool.core.util.StrUtil;
import ... |
package com.kientpham.sample;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class SharedDTO {
private String anything;
}
|
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.sql.data.model;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static 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 may ... |
package io.gitlab.arturbosch.jpal.dummies;
import io.gitlab.arturbosch.jpal.dummies.resolving.LongChainResolving;
import io.gitlab.arturbosch.jpal.dummies.resolving.SolveTypeDummy;
import io.gitlab.arturbosch.jpal.dummies.resolving.SubSolveTypeDummy;
/**
* @author Artur Bosch
*/
@SuppressWarnings("ALL")
public clas... |
package nl.mwensveen.adventofcode.year_2020.day_15;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.Test;
public class GamePlayerTest {
@Test
public void testFindNumber() throws Exception {
List<Long> input = A... |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... |
/*
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.ui.Components;
import android.annotation.SuppressLint;
i... |
package evergarden.busydlg;
import javax.swing.JOptionPane;
import charlotte.tools.FileTools;
public class Test01 {
public static void main(String[] args) {
try {
test01();
System.out.println("OK!");
}
catch(Throwable e) {
e.printStackTrace();
}
}
private static void test01() throws Exception {... |
package com.egoveris.numerador.base.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.egoveris.numerador.base.model.NumeroCaratulaSector;
public interface NumeroCaratulaSectorRepository extends JpaRepository<NumeroCaratulaSector, Integer> {
NumeroCaratulaSector findByUsuario(St... |
/*
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package test_util;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import test_Dao.ThresholdDao;
import test_entity.ThresholdTab;
public class LoginInit implements Runnable {
private String username;
public LoginInit(String username) {
// TODO Auto-generated constructor s... |
package offical_website.site.service;
import offical_website.site.model.Honor;
import java.util.List;
public interface HonorService {
int createHonor(String remark, String img);
int deleteHonor(long id);
int updateHonor(String remark, long id, String img);
List<Honor> getHonorAll();
Honor get... |
package com.pharmadm.custom.rega.reporteditor;
import java.util.Collection;
import com.pharmadm.custom.rega.queryeditor.OutputVariable;
import com.pharmadm.custom.rega.queryeditor.catalog.DbObject;
public interface OutputReportSeeder {
public OutputVariable getAssignedVariable(ObjectListVariable olvar);
public Col... |
package ghost.framework.jsr310.converter;
import ghost.framework.context.converter.EncodingTypeConverter;
import java.time.ZonedDateTime;
/**
* package: ghost.framework.jsr310.converter
*
* @Author: 郭树灿{gsc-e590}
* @link: 手机:13715848993, QQ 27048384
* @Description: {@link byte[]} to {@link ZonedDateTime}
* @Da... |
/**
* TLS-Scanner - A TLS configuration and analysis tool based on TLS-Attacker.
*
* Copyright 2017-2019 Ruhr University Bochum / Hackmanit GmbH
*
* Licensed under Apache License 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package de.rub.nds.tlsscanner.serverscanner.report;
/**
*
* @author Robert Merg... |
package com.octopus.utils.xml.auto.defpro.impl.utils;
import com.octopus.utils.flow.FlowParameters;
import com.octopus.utils.thread.ExecutorUtils;
import com.octopus.utils.xml.XMLMakeup;
import com.octopus.utils.xml.auto.XMLDoObject;
import com.octopus.utils.xml.auto.XMLParameter;
import org.apache.commons.logging.Log... |
package jetbrains.mps.lang.editor.menus.contextAssistant.tests;
/*Generated by MPS */
import jetbrains.mps.MPSLaunch;
import jetbrains.mps.lang.test.runtime.BaseTransformationTest;
import org.junit.ClassRule;
import jetbrains.mps.lang.test.runtime.TestParametersCache;
import org.junit.Test;
import jetbrains.mps.lang.... |
/*
* 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 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... |
/*
* 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 br.edu.ifma.si.programacaoextrema.projetotcc.repository;
import br.edu.ifma.si.programacaoextrema.projetotcc.model.Entidade;
i... |
package com.ziroom.ziroomcustomer.newclean.d;
import java.util.List;
public class f
{
private List<ay> a;
private String b;
private Integer c;
private String d;
private a e;
private a f;
public a getBedroomCleanDateTime()
{
return this.e;
}
public String getDocument()
{
return this... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__long_max_multiply_17.java
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-17.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for long
* GoodSource: A hardcod... |
package com.baeldung.concurrent.threadfactory;
import java.util.concurrent.ThreadFactory;
public class BaeldungThreadFactory implements ThreadFactory {
private int threadId;
private String name;
public BaeldungThreadFactory(String name) {
threadId = 1;
this.name = name;
}
@Overr... |
package com.shure.surdes.system.service;
import java.util.List;
import java.util.Set;
import com.shure.surdes.common.core.domain.TreeSelect;
import com.shure.surdes.common.core.domain.entity.SysMenu;
import com.shure.surdes.system.domain.vo.RouterVo;
/**
* 菜单 业务层
*
* @author ruoyi
*/
public interface ISysMenuServ... |
/*
* 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 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, software
* distribu... |
package app.keyconnect.sdk.wallets;
import java.math.BigDecimal;
import java.math.BigInteger;
import javax.annotation.Nullable;
public interface BlockchainWallet extends AddressableWallet {
/**
* Build payment transaction given the parameters and return a signed transaction that is
* ready to be sent
* ... |
/*
* Copyright 2011 Edmunds.com, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* Copyright 2014-2019 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 ro.pub.cs.systems.eim.practicaltest02;
import android.util.Log;
import android.widget.TextView;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import ro.pub.cs.systems.eim.practicaltest02.Constants;
import ro.pub.cs.systems.eim.practicaltest02.U... |
/*
*
* * 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
*... |
package mage.cards.d;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.ContinuousEffectImpl;
import mage.abilities.keyword.UnearthAbility;
import mage.cards.Card;
import mage.cards.CardImp... |
/*
* 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 io.openindoormap.domain.converter;
import io.openindoormap.domain.common.Search;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* f4d converter 변환 job
* @author jeongdae
*
*/
@ToString(callSuper = true)
@Build... |
package com.mcupdater.mods.igideepresonance;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.ModMetadata;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.... |
package me.aias.example.utils;
import ai.djl.Model;
import ai.djl.ndarray.NDArray;
import ai.djl.ndarray.NDArrays;
import ai.djl.ndarray.NDList;
import ai.djl.ndarray.NDManager;
import ai.djl.ndarray.types.Shape;
import ai.djl.paddlepaddle.engine.PpNDArray;
import ai.djl.translate.Batchifier;
import ai.djl.translate.T... |
/*
* Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (https://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.util;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOExce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.