text stringlengths 7 1.01M |
|---|
package org.apache.commons.jcs.utils.discovery;
/*
* 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 Apa... |
package com.jsoft.framework.ssm.model.sys.user;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* User 数据传输对象
*
* @author jim
* @date 2018/04/26
*/
@Getter
@Setter
@ToString
public class UserDTO extends UserDO {
}
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2017.04.... |
package com.com.robert.image.demonew;
/**
* Created by michael on 13-12-18.
*/
public class Config {
public static final String QRCODE_CONTENT = "http://dajie.me/2vc294";
public static final int QRCODE_DEFAULT_SIZE = 500;
public static final String KEY_QRCODE_CONTENT = "content";
public static fin... |
/*
* 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.yjh.web.blog.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjh.web.blog.domain.Comment;
/**
* @author yujunhong
* @date 2021/4/20 14:34
*/
public interface CommentMapper extends BaseMapper<Comment> {
}
|
package eu.rsulkowski.jdoocsoup.processor.descriptor;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeSpec;
import com.sun.tools.javac.code.Attribute;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.annotation.proce... |
/*
* 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
... |
/**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and 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 file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package tw.edu.au.csie.ucan.beebit.seco;
public class User {
private String uid;
public User(String uid) {
this.uid = uid;
}
public String getUid() { return uid;}
}
|
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import static org.junit.jupiter.ap... |
/*
* Copyright (C) 2008 FoxLabs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.planet_ink.coffee_mud.Abilities.Skills;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... |
package com.communote.server.web.fe.portal.user.profile.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spring... |
package com.ke.css.cimp.fwb.fwb11;
/* -----------------------------------------------------------------------------
* Rule_Hid_AWB_Column_Identifier_C.java
* -----------------------------------------------------------------------------
*
* Producer : com.parse2.aparse.Parser 2.5
* Produced : Tue Mar 06 10:36:50 KS... |
/*
* 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 estruturas;
/*
REGISTRO HASH EXTENSIVEL
Esta interface apresenta os métodos que os objetos
a serem incluídos na tabela hash extensível devem
conter.
Implementado pelo Prof. Marcos Kutova
v1.1 - 2021
*/
import java.io.IOException;
public interface RegistroHashExtensivel<T> {
public int hashCode(); // chave... |
package com.almasb.fxglgames.spaceinvaders.level;
import com.almasb.fxgl.app.FXGL;
import com.almasb.fxgl.entity.Entity;
import com.almasb.fxgl.entity.GameWorld;
import com.almasb.fxgl.entity.SpawnData;
import com.almasb.fxgl.entity.component.Component;
import com.almasb.fxgl.extra.entity.components.CircularMovementCo... |
package com.airbnb.lottie.parser;
import android.graphics.PointF;
import android.util.JsonReader;
import android.util.JsonToken;
import com.airbnb.lottie.LottieComposition;
import com.airbnb.lottie.model.animatable.AnimatableFloatValue;
import com.airbnb.lottie.model.animatable.AnimatableIntegerValue;
import com.airbn... |
/*
* Copyright (c) 2020 ProDev+ (Pascal Gerner).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
/*
* Copyright (C) 2014 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... |
/*
* Copyright (C) 2017-2019 Hazuki
*
* 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.baeldung.jackson.test;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import java.io.IOException;
import org.junit.Test;
import com.baeldung.jackson.jsonview.Item;
import... |
package kr.co.basicspring.test01;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
im... |
package net.n2oapp.framework.engine.util;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Set;
/**
* Модель для тестирования маппинга
*/
@Data
public class TestEntity {
private String valueStr;
private Integer valueInt;
priv... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
package com.atguigu.gmall.ums.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 积分变化历史记... |
package com.silicornio.googlyeyes.dband;
import com.silicornio.googlyeyes.dband.general.GECryptLib;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class GEResponse {
/** Num of object of the response **/
public int numResults;
/** Result **/
public Map<String, Object> result;
... |
package com.github.zxh.classpy.classfile.datatype;
/**
* Unsigned two-byte quantity.
*/
public class U2 extends UInt {
public U2() {
super(READ_U2, TO_STRING);
}
}
|
package ph.codeia.shiv.demo.login;
import java.util.Random;
import java.util.concurrent.Executor;
import java.util.regex.Pattern;
import javax.inject.Inject;
/*
* This file is a part of the Shiv project.
*/
public class FakeLoginService implements Login.Service {
private final Executor io;
private final Patter... |
package com.github.mikesafonov.smpp.core.sender;
import com.cloudhopper.commons.util.windowing.WindowFuture;
import com.cloudhopper.smpp.SmppConstants;
import com.cloudhopper.smpp.SmppSession;
import com.cloudhopper.smpp.SmppSessionConfiguration;
import com.cloudhopper.smpp.impl.DefaultSmppClient;
import com.cloudhopp... |
package edu.bu.met.cs665.beverages;
import edu.bu.met.cs665.store.Menu;
import java.util.Arrays;
import java.util.HashMap;
/**
* The purpose of this class is to extend the Beverage class and provide the
* additional functionality of adding a condiment to this hot beverage such as
* milk or sugar (or any other).
*... |
package org.rcsb.cif.api.builder;
import org.rcsb.cif.model.Builder;
import org.rcsb.cif.model.Category;
import org.rcsb.cif.model.ModelFactory;
import org.rcsb.cif.api.BaseBlock;
import org.rcsb.cif.api.CifBlock;
import org.rcsb.cif.api.CifFile;
/**
* Builds a block in a {@link org.rcsb.cif.api.CifFile}, in most ca... |
package com.jyh.main.modle;
public class User {
private String username;
private String password;
private String name;
private String nikeName;
private String reMark;
private String icoPath;
private String summarise;
private String age;
priv... |
/*
* Non numeric Exception
*
* Version 1.0
*
* September 28, 2017
*
* Copyright © 2017 Jacy Mark, CMPUT301, University of Alberta - All Rights Reserved.
* You may use, distribute, or modify this code under terms and conditions of the Code of Student Behavior at University of Alberta.
* You can find a co... |
package gov.sequarius;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FuckaaoApplication {
public static void main(String[] args) {
SpringApplication.run(AAOClientApplication.class, args);
}
}
|
//
// 이 파일은 JAXB(JavaTM Architecture for XML Binding) 참조 구현 2.2.6 버전을 통해 생성되었습니다.
// <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>를 참조하십시오.
// 이 파일을 수정하면 소스 스키마를 재컴파일할 때 수정 사항이 손실됩니다.
// 생성 날짜: 2012.10.05 시간 10:52:30 AM KST
//
package com.athena.chameleon.engine.entity.xml.applic... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.application.provider;
import com.yahoo.component.Version;
import com.yahoo.component.Vtag;
import com.yahoo.config.application.ConfigDefinitionDir;
import com.yahoo.config.application... |
/*
* Copyright 2015 Goldman Sachs.
*
* 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 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 view;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
... |
/**
* Copyright (C) 2017 Red Hat, 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 io.github.cweijan.mock.feign.proxy;
import org.springframework.cglib.proxy.Callback;
import org.springframework.cglib.proxy.Enhancer;
import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.objenesis.ObjenesisHelper;
/**
* 用于创建controller代理, 内部代码为调用feign客户端.
* @author cweijan
* ... |
package com.webaddicted.kotlinproject.global.blink;
import android.opengl.GLES20;
import android.opengl.GLSurfaceView;
import android.opengl.Matrix;
import android.os.SystemClock;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
public class GameGLRenderer implements ... |
package com.common.basic.net;
import com.google.gson.Gson;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import com.common.basic.tools.StringUtils;
public abstract class DataObject {
public static <T extends DataObject> T get(Class<T> clazz, String json) {
Gson gson ... |
/*
* Copyright 1999-2019 Seata.io 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
*
* Unless required by applicable l... |
package org.flowdev.parser.data;
public class SourceData {
private String name;
private String content;
private int pos;
private int wherePrevNl = -1;
private int whereLine = 1;
public SourceData name(final String name) {
this.name = name;
return this;
}
public Sourc... |
/*
* Copyright (c) 2013-2019 Cinchapi 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 agr... |
/*
* Copyright (C) 2012 CyberAgent
*
* 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 i... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissio... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package pithreads.examples.tut6.collectingVotes.broadcastAndCollect;
import pithreads.framework.PiAgent;
import pithreads.framework.PiChannel;
import pithreads.framework.RunException;
import pithreads.framework.Task;
import pithreads.framework.broadcast.PiChannelBroadcast;
import pithreads.framework.broadcast.PiThrea... |
/******************************************************************************
* This research was sponsored by the U.S. Army Research Laboratory and the
* U.K. Ministry of Defence under the Biennial Program Plane 2013 (BPP13),
* Project 6, Task 3: Collaborative Intelligence Analysis.
* The U.S. and U.K. Governme... |
package validation.leaf.is.of.value.equalto.booolean.trooe;
import validation.Validatable;
import validation.result.*;
import validation.result.error.Error;
// doc: all validatables are successful if the corresponding field is absent.
// If you want it to be required, specify it explicitly.
final public class IsTrue ... |
//
// Decompiled by Procyon v0.5.36
//
package org.codehaus.groovy.ast.expr;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.ASTNode;
import org.codehaus.groovy.ast.GroovyCodeVisitor;
public class SpreadExpression extends Expression
{
private final Expression expression;
publi... |
/**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
/**
* 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... |
class Solution {
public void moveZeroes(int[] nums) {
int n = nums.length, left = 0, right = 0;
while(right < n){
if(nums[right] != 0){
swap(nums, left, right);
left++;
}
right++;
}
}
private void swap(int[] nums, i... |
package com.mz.jarboot.api.exception;
/**
* @author jianzhengma
*/
public class JarbootRunException extends RuntimeException {
private static final long serialVersionUID = 3513491993982293262L;
public JarbootRunException(String errMsg) {
super(errMsg);
}
public JarbootRunException(Throwable... |
package org.owasp.webgoat.plugin;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
import org.owasp.webgoat.users.WebGoatUser;
@RunWith(MockitoJUnitRunner.class)
public class DisplayUserTest {
@Test
public void TestDisplayUserCreation() {
DisplayU... |
package okhttp3;
import org.junit.jupiter.api.Test;
import java.util.Objects;
public class HttpUrlTest {
@Test
void get() {
HttpUrl httpUrl = HttpUrl.get("https://www.baidu.com");
System.out.println(httpUrl);
}
@Test
void resolve() {
HttpUrl httpUrl = HttpUrl.get("https:... |
/*
* 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.model.dao;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.eclipse.swt.widgets.Dialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Monitor;
import org.eclipse.swt.widgets.S... |
package com.company.project.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.company.project.common.aop.annotation.DataScope;
import com.company.project.common.aop.annotation.LogAnnotation;
import com.company.project... |
package adrninistrator.test.testdatabase.rollback;
import adrninistrator.test.base.TestDbRollbackBase;
import adrninistrator.test.common.TestIdGen;
import adrninistrator.test.testdatabase.TestDbEntityGen;
import com.adrninistrator.common.constants.TestConstants;
import com.adrninistrator.dao.TestTableMapper;
im... |
package com.sap.gtt.v2.sample.sof.rest.controller.service;
import com.sap.gtt.v2.sample.sof.constant.Constants;
import com.sap.gtt.v2.sample.sof.constant.FulfillmentProcessMilestoneEnum;
import com.sap.gtt.v2.sample.sof.domain.ProcessEventDirectory;
import com.sap.gtt.v2.sample.sof.domain.TrackedProcess;
import com.sa... |
/**
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved.
*/
package com.skyeye.eve.service;
import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
public interface DsFormContentService {
public void queryDsFormContentList(InputObject inputObject, OutputObject outputObj... |
/**
*
*/
package capsule;
import deva.Bitki;
import generic.Agac;
/**
* @author MEHMET AKIF ILYASOGULLARI
*
*/
public class Capsule_Agac_Bitki {
private Agac<Bitki> agac_bitki;
/**
* @param agac_bitki
*/
public Capsule_Agac_Bitki(Agac<Bitki> agac_bitki) {
super();
this.setAgac_bitki(agac_bitki);
}
... |
/*
* 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 quanta.service;
import static quanta.util.Util.no;
import static quanta.util.Util.ok;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import org.slf4j.Logger;... |
package seedu.address.testutil;
import static seedu.address.logic.commands.CommandTestUtil.VALID_NOTE_NAME_CS2103;
import static seedu.address.logic.commands.CommandTestUtil.VALID_NOTE_TIME;
import static seedu.address.logic.commands.CommandTestUtil.VALID_TAG_URGENT;
import seedu.address.model.item.Note;
/**
* A ut... |
/*
* $Id: XINSCallRequestTests.java,v 1.14 2010/10/25 20:36:51 agoubard Exp $
*
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.tests.client;
import java.util.HashMap;
import java.util.Map;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.f... |
package ru.nivanov;
import ru.nivanov.model.UserStore;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
/**
* Created by Nikola... |
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2015-2020 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 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
* distributed u... |
package com.revature.web;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class FrontController extends HttpServlet {
private static final long serialVersionUI... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.jetbrains.protocolReader;
import com.google.gson.stream.JsonReaderEx;
import org.chromium.protocolReader.JsonParseMethod;
import org.chro... |
package com.linkedpipes.plugin.loader.scp;
import com.jcraft.jsch.ChannelExec;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.Session;
import com.linkedpipes.etl.executor.api.v1.LpException;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.*;
import ja... |
/*
* CommonPackage
*
* Copyright (c) 2022-2022
*
* @author: Viet-Man Le (vietman.le@ist.tugraz.at)
*/
package at.tugraz.ist.ase.common;
import lombok.extern.slf4j.Slf4j;
import javax.mail.*;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.util.Properties;
@Slf4j... |
package com.lyft.android.auth0.jwt;
import android.util.Base64;
import com.lyft.android.auth0.jwt.exceptions.JWTDecodeException;
import com.lyft.android.auth0.jwt.impl.JWTParser;
import com.lyft.android.auth0.jwt.interfaces.Claim;
import com.lyft.android.auth0.jwt.interfaces.DecodedJWT;
import com.lyft.android.auth0.j... |
/**
*
* Copyright 2018 iQIYI.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 required by applicable law or agreed to in... |
/*
* Copyright (c) 2011-2014, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... |
package com.titaniumproductionco.db.generator;
import com.titaniumproductionco.db.services.LoginService;
import com.titaniumproductionco.db.services.Role;
public class UserGenerator {
private int uid;
private int argID;
private Role role;
public UserGenerator(Role r, int argID) {
role = r;
... |
/*
* Copyright 2018 Smart Society Services B.V.
*
* 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 org.opensmartgridplatform.domain... |
package com.anysoftkeyboard.saywhat;
import android.content.Context;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import android.support.annotation.StringRes;
import com.f2prateek.rx.preferences2.Preference;
import com.menny.android.anysoftkeyboard.AnyApplication;
import com.menny.android.... |
package ru.job4j.tictactoe.model.menu.usecase;
import org.junit.Test;
import ru.job4j.tictactoe.model.menu.entities.Node;
import ru.job4j.tictactoe.model.menu.entities.NodeImpl;
import static org.junit.Assert.*;
public class MenuImplTest {
@Test
public void findById() {
Node node = new NodeImpl("011... |
/*
* Copyright 2014-2015 Open Networking 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/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package br.org.generation.lojagames.model;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
package uk.gov.hmcts.reform.managecase.service.noc;
import com.fasterxml.jackson.databind.JsonNode;
import com.microsoft.applicationinsights.boot.dependencies.apachecommons.lang3.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
i... |
/*
* Copyright 2015-2020 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.googlecode.objectify.test.util;
import com.google.cloud.datastore.testing.LocalDatastoreHelper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.extension.BeforeAllCallback;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupi... |
/*
* Copyright 2013-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 icbm.classic.client.models;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraftforge.fml.relauncher.Side;import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class MFaSheDiRail1 exten... |
//给你一个整数数组 nums 。
//
// 如果一组数字 (i,j) 满足 nums[i] == nums[j] 且 i < j ,就可以认为这是一组 好数对 。
//
// 返回好数对的数目。
//
//
//
// 示例 1:
//
// 输入:nums = [1,2,3,1,1,3]
//输出:4
//解释:有 4 组好数对,分别是 (0,3), (0,4), (3,4), (2,5) ,下标从 0 开始
//
//
// 示例 2:
//
// 输入:nums = [1,1,1,1]
//输出:6
//解释:数组中的每组数字都是好数对
//
// 示例 3:
//
// 输入:nums = [1,2,3... |
package org.robolectric.internal.bytecode;
import static org.objectweb.asm.Type.ARRAY;
import static org.objectweb.asm.Type.OBJECT;
import static org.objectweb.asm.Type.VOID;
import java.util.ListIterator;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.obje... |
/*
* 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... |
/*
* MIT License
*
* Copyright (c) 2017
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.