text stringlengths 7 995k |
|---|
package com.github.jfasttext;
import org.bytedeco.javacpp.PointerPointer;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.nio.file.CopyOption;
import java.nio.fil... |
package org.jeecg.config.shiro;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import org.apache.shiro.mgt.DefaultSessionStorageEvaluator;
import org.apache.shiro.mgt.DefaultSubjectDAO;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring.Lifecycl... |
/*
Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... |
/*
* 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.hutong.supersdk.sdk.utils.uc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.ConnectException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import java.util.ArrayList;... |
/*
* 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 (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... |
package ParkRouter;
public class ParkLocation {
private ParkEdge edge;
private int direction;
private double offset;
public ParkLocation(ParkEdge e, int d, double o) {
edge = e;
direction = d;
offset = o;
}
public ParkEdge getEdge() {
return edge;
}
public int getDirection() {
return direction;
}... |
package top.liuxunzhuo.books.Controller;
import com.github.pagehelper.PageInfo;
import lombok.RequiredArgsConstructor;
import org.apache.commons.text.StringEscapeUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.spri... |
/*
* 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.slm.action;
import org.elasticsearch.client.... |
package edu.stanford.protege.webprotege.change.description;
import com.google.common.collect.ImmutableSet;
import org.semanticweb.owlapi.model.OWLProperty;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2018-12-10
*/
public abstract class AbstractM... |
/*
* Copyright (c) 2018 Oracle and/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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
/*******************************************************************************
* Copyright (c) 2007 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... |
package com.danielkueffer.filehosting.rest.auth;
import java.security.GeneralSecurityException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.ejb.EJB;
import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import javax.security.auth.login.LoginException;
import ... |
package com.denizenscript.denizen.events.world;
import com.denizenscript.denizen.objects.WorldTag;
import com.denizenscript.denizen.events.BukkitScriptEvent;
import com.denizenscript.denizencore.objects.core.ElementTag;
import com.denizenscript.denizencore.objects.ObjectTag;
import org.bukkit.event.EventHandler;
impor... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package org.jetlinks.community.device.measurements;
import org.hswebframework.web.api.crud.entity.QueryParamEntity;
import org.jetlinks.community.dashboard.MeasurementDimension;
import org.jetlinks.community.dashboard.MeasurementParameter;
import org.jetlinks.community.dashboard.MeasurementValue;
import org.jetlinks.c... |
package hex.security;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.security.UserGroupInformation;
import water.AbstractH2OExtension;
import water.persist.PersistHdfs;
import water.util.Log;
import java.io.IOException;
/**
* Authenticates the H2O Node to access secured Hadoop cluster in a st... |
package controller;
import form.ChangeFontForm;
import form.MainForm;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.event.CaretEvent;
import javax.swing.event.CaretListener;
import javax.... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v0/resources/carrier_constant.proto
package com.google.ads.googleads.v0.resources;
public final class CarrierConstantProto {
private CarrierConstantProto() {}
public static void registerAllExtensions(
com.google.prot... |
package net.minestom.paxy.velocity;
import io.netty.channel.ChannelInitializer;
import net.minestom.paxy.utils.ReflectionUtil;
import net.minestom.paxy.velocity.handlers.VelocityChannelInitializer;
import java.lang.reflect.Method;
public class VelocityInjector {
public static Method getPlayerInfoForwardingMode;... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Vers... |
package data;
import java.util.Set;
import java.util.List;
import java.util.LinkedList;
import java.sql.SQLException;
import database.QueryType;
import database.DbAccess;
import database.Example;
import database.TableData;
import database.TableSchema;
import database.NoValueException;
import database.EmptySetExcepti... |
/*
* Copyright 2016 predic8 GmbH, www.vopen.xyz
* 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... |
package de.immomio.api.controller.user.authentication;
import de.immomio.api.controller.user.beans.LoginBean;
import de.immomio.api.controller.user.beans.LoginUrl;
import de.immomio.api.controller.user.beans.LogoutBean;
import de.immomio.api.controller.user.beans.LogoutUrl;
import org.springframework.beans.factory.ann... |
package com.griddynamics.jagger.engine.e1.services;
import com.griddynamics.jagger.coordinator.NodeContext;
import com.griddynamics.jagger.engine.e1.collector.MetricDescription;
import com.griddynamics.jagger.storage.KeyValueStorage;
import com.griddynamics.jagger.storage.Namespace;
import com.griddynamics.jagger.stor... |
package com.example.fragments;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_m... |
package com.andcreations.ae.studio.plugins.simulator;
import java.io.IOException;
import javax.swing.JCheckBox;
import javax.swing.JPanel;
import com.andcreations.ae.studio.log.Log;
import com.andcreations.ae.studio.plugins.simulator.resources.R;
import com.andcreations.ae.studio.plugins.ui.common.layout.FormLayoutB... |
// Copyright 2017 The Nomulus Authors. 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 by a... |
package lk.sliit.hotelManagement.controller.humanResourceController.salary;
import lk.sliit.hotelManagement.controller.SuperController;
import lk.sliit.hotelManagement.dto.hr.*;
import lk.sliit.hotelManagement.dto.manager.EmployeeDTO;
import lk.sliit.hotelManagement.service.custom.HumanResourceBO;
import lk.sliit.hote... |
// Copyright 2018-2021 Polyaxon, 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... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Copyright (C) 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... |
/*
* JarHelperTest.java Created On 2018年11月23日
* Copyright(c) 2018 Mazan Inc.
* ALL Rights Reserved.
*/
package io.github.mzanthem;
/**
* JarHelperTest
*
* @time: 下午5:41:16
* @author mazan
*/
import java.io.File;
import java.io.IOException;
import java.util.List;
import org.junit.Test;
import io.github.mzan... |
package com.mymall.easymall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mymall.common.utils.PageUtils;
import com.mymall.easymall.product.entity.ProductAttrValueEntity;
import java.util.Map;
/**
* spu属性值
*
* @author zhao
* @email sunlightcs@gmail.com
* @date 2020-07-2... |
/*
* MIT License
*
* Copyright (c) 2021 Udo Borkowski, (ub@abego.org)
*
* 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
* ... |
package com.hsia.weblog.api;
import com.github.pagehelper.PageInfo;
import com.hsia.weblog.entity.Log;
import com.hsia.weblog.vo.LogVO;
import com.hsia.weblog.vo.req.LoggerQueryReqVO;
import java.util.List;
public interface ILogService {
/**
* 根据id查询 log信息
*
* @param id
* @return
*/
... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
package com.sequenceiq.cloudbreak.converter.users;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.api.model.users.UserResponseJson;
import com.sequenceiq.cloudbreak.converter.AbstractConversionServiceAwareConverter;
import com.sequenceiq.cloudbreak.domain.organization.User;
@Compon... |
/*
* Copyright (c) 2018, Marshall <https://github.com/marshdevs>
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* 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 so... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.bian.dto.BQServiceFeesInitiateInputModelInvestmentAccountFulfillmentArrangementInstanceReco... |
/*
* Copyright (c) 2019 Titan Robotics Club (http://www.titanrobotics.com)
*
* 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
... |
package org.xcorpion.grpc.xray;
import com.amazonaws.xray.AWSXRayRecorder;
import com.amazonaws.xray.AWSXRayRecorderBuilder;
import com.amazonaws.xray.entities.Entity;
import com.amazonaws.xray.entities.Segment;
import com.amazonaws.xray.entities.Subsegment;
import io.grpc.CallOptions;
import io.grpc.Channel;
import i... |
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2014 - 2015 Board of Regents of the University of
* Wisconsin-Madison, University of Konstanz and Brian Northan.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permi... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.mysql.v2017_12_01.implementation;
import com.mic... |
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* Copyright (c) 2013 Moxie contributors
*
* 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, ... |
package seedu.address.model.reminder;
import static java.util.Objects.requireNonNull;
import static seedu.address.commons.util.AppUtil.checkArgument;
//@@author junweiljw
/**
* Represents a Reminder's meeting agenda in JitHub.
* Guarantees: immutable; is valid as declared in {@link #isValidAgenda(String)}
*/
publi... |
package org.souza.charles.personapi;
/**
* Bootcamp title: Amdocs Java Developer
* Instructor: Rodrigo Peleias
* Example adapted by: Charles Fernandes de Souza
* Date: January 16, 2022
*/
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@Sprin... |
import com.hazelcast.client.ClientConfig;
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.core.IMap;
public class ClientExample {
public static void main(String[] args) {
ClientConfig conf = new ClientConfig();
conf.addAddress("127.0.0.1:5701");
conf.addAddress("127.0.0.1:5702", "127.0.... |
package com.blogspot.applications4android.comicreader.comics.GoComics;
import java.util.Calendar;
import com.blogspot.applications4android.comicreader.comictypes.DailyGoComicsCom;
public class Graffiti extends DailyGoComicsCom {
public Graffiti() {
super();
mComicName = "graffiti";
mFirstCal = Calendar.getInst... |
/*
* Gitea API.
* This documentation describes the Gitea API.
*
* OpenAPI spec version: 1.1.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.gitea.model;
import java.util.O... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: agent.proto
package com.gbusiness.agentslot.api;
public final class AgentOuterClass {
private AgentOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
static com.google.protob... |
package org.breeze.core.bean.api;
import org.breeze.core.constant.ParamFormatCheck;
/**
* @Description: 请求参数实体类
* @Auther: 黑面阿呆
* @Date: 2019-12-02 14:41
* @Version: 1.0.0
*/
public class MethodParameter {
// 参数名
private String name;
// 参数描述
private String description;
// 参数类名
private Cl... |
// Copyright 2004 The Apache Software Foundation
//
// 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 ... |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... |
/*
* Copyright 2019 Patrik Karlström.
*
* 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... |
package com.tmobile.pacman.api.admin.domain;
/**
* The Class ConfigPropertyRollBackItem.
*/
public class ConfigPropertyRollBackItem {
/** The config key. */
private String configKey;
/** The application. */
private String application;
/** The present config value. */
private String presentConfigValue;
... |
package org.springframework.samples.petclinic.web;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class WelcomeController {
@GetMapping({"/","/welcome"})
public String welcome(final Map<String, Object> mo... |
package com.zingson.jfain.jdbc;
import com.alibaba.druid.pool.DruidDataSource;
import com.zingson.jfain.example.entity.User;
import com.zingson.jfain.jdbc.dialect.Criteria;
import com.zingson.jfain.jdbc.dialect.MysqlDialect;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.Logg... |
/**
* 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 tyz3.SpringMvc.example3rd.configs;
import javax.servlet.Filter;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
public class HelloWorldInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {
@Override
protected Class<?>[] getRo... |
import java.util.*;
class Solution {
public static boolean isIsomorphic(String s, String t) {
if (s == null && t == null)
return true;
if (s == null || t == null)
return false;
if (s.length() != t.length())
return false;
char[] chars = new char[s.length()];
Map<Character, Character> map = new Hash... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
package org.keycloak.testsuite.adapter;
import org.keycloak.testsuite.adapter.servlet.DemoServletsAdapterTest;
import org.keycloak.testsuite.arquillian.annotation.AppServerContainer;
/**
*
* @author tkyjovsk
*/
@AppServerContainer("app-server-tomcat8")
public class Tomcat8OIDCAdapterTest extends DemoServletsAdapte... |
// Description: Java 11 edit object instance implementation for CFSec ISOTZone.
/*
* org.msscf.msscf.CFSec
*
* Copyright (c) 2020 Mark Stephen Sobkow
*
* MSS Code Factory CFSec 2.13 Security Essentials
*
* Copyright 2020-2021 Mark Stephen Sobkow mark.sobkow@gmail.com
*
* Licensed under the Apache License, ... |
package com.code.touragentbot.services;
import com.code.touragentbot.models.Session;
public interface RabbitMQService {
void sendToQueue(Session session);
} |
/*
* 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 uk.celtium.annotations.documentation;
import java.lang.annotation.*;
/**
* In combination with {@link Deprecated} specifies when this feature was marked as deprecated.
*
* Example: @DeprecatedSince("1.4.2")
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, E... |
/*
* (C) 2014 42 bv (www.42.nl). All rights reserved.
*/
package nl._42.restzilla.web.util;
import nl._42.restzilla.SortingDefault;
import nl._42.restzilla.model.User;
import java.util.Iterator;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.data.domain.Pageable;
import org.springframew... |
/*
* Copyright (C) 2017 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 applicable l... |
package com.felixpy.codetrial.gateway.web.rest;
import com.felixpy.codetrial.gateway.GatewayApp;
import com.felixpy.codetrial.gateway.domain.User;
import com.felixpy.codetrial.gateway.repository.UserRepository;
import com.felixpy.codetrial.gateway.security.jwt.TokenProvider;
import com.felixpy.codetrial.gateway.web.re... |
package put.ci.cevo.games.encodings.ntuple.factories;
import com.google.common.base.Preconditions;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.commons.math3.random.RandomDataGenerator;
import put.ci.cevo.games.board.BoardPosList;
imp... |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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 co... |
package com.atguigu.gulimall.coupon.dao;
import com.atguigu.gulimall.coupon.entity.CouponEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* ä¼˜æƒ åˆ¸ä¿¡æ¯
*
* @author JustinLiu
* @email champion1981@gmail.com
* @date 2020-08-30 16:02:53
*/
@Mappe... |
/*
* 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 com.learning.linnyk.spring_ripper.part1.bean;
/**
* @author LinnykOleh
*/
public interface Quoter {
void sayQuote();
} |
package com.haiyang.shrio.controller;/**
* @Author: HaiYang
* @Date: 2020/11/13 11:36
*/
import com.haiyang.shrio.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.UnknownAccountException;
import... |
// Copyright 2020 Intel Corporation
// SPDX-License-Identifier: Apache 2.0
package org.fido.iot.web;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.file.Path;
import... |
package ru.job4j.student;
import java.util.List;
import java.util.stream.Collectors;
/**
* Класс для сортировки
*
* @author Viktor Shiyan
* @since 13.01.2019
*/
public class StudentSorter {
/**
* Метод сортировки студентов по оценке
*
* @param students список студентов
* @param bound м... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
/*
* Adito
*
* Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
*
* 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 Foundation; either version 2 of
* the License, or (at your option) any lat... |
/*
* Copyright (c) 2016, LinkedKeeper
* 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 conditio... |
package de.peeeq.wurstio.languageserver;
import de.peeeq.wurstscript.CompileTimeInfo;
import de.peeeq.wurstscript.WLogger;
import org.eclipse.lsp4j.*;
import org.eclipse.lsp4j.jsonrpc.messages.Either;
import org.eclipse.lsp4j.services.LanguageClient;
import org.eclipse.lsp4j.services.LanguageClientAware;
import org.ec... |
/*
* Copyright 2010-2020 Alfresco Software, 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 ... |
package com.fonoster.sipio.core.model;
import com.fonoster.sipio.core.Transport;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Arrays;
import java.... |
// Copyright 2020 dataFascia Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.model.po.Material;
public interface MaterialIDAO extends BaseIDAO<Material>
{
} |
/*
* 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.ccr;
import com.carrotsearch.hppc.cursors.Ob... |
package com.plus.mmtp.mapper;
import com.plus.mmtp.entity.TUserRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author ch
* @since 2018-07-16
*/
public interface TUserRoleMapper extends BaseMapper<TUserRole> {
} |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* This file is part of adventure-text-minimessage, licensed under the MIT License.
*
* Copyright (c) 2018-2021 KyoriPowered
*
* 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... |
package guru.springframework.sfgpetclinic;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;
@ExtendWith(SpringExtension.class)
@SpringBootTest
public... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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 copyr... |
/*
* WeatherAPILib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
package com.weatherapi.api.http.client;
import java.io.IOException;
import java.net.ProtocolException;
import okhttp3.HttpUrl;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;
/**... |
package de.lander.persistence.entities;
/**
* Specifies all possible relationships
*
* @author mvogel
*
*/
public interface Relationships {
/**
* Tags a {@link Link} with a given {@link Tag}
*/
String TAGGED = "TAGGED";
} |
package sa.edu.yuc;
import java.lang.reflect.Array;
public class StackImpl<T extends Comparable<T>> implements Stack<T> {
@Override
public boolean push(T value) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
... |
/* ************************************************************************
* $OpenLDAP$
*
* Copyright (C) 2003 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
* TO VERSION 2.0.1 OF T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.