text stringlengths 7 995k |
|---|
/*
* The MIT License
*
* Copyright 2016-2017 CloudBees, Inc.
*
* 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, c... |
package com.adigerber.camclient.core.exceptions;
import java.io.IOException;
public class CamClientIOException extends CamClientException {
public CamClientIOException(IOException cause) {
this("An I/O exception has occurred.", cause);
}
public CamClientIOException(String message, IOException cau... |
/*
* Copyright 2017 Apereo
*
* 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 wr... |
package com.atguigu.gmall.pms.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@Configuration
public class SecurityC... |
package org.sagebionetworks.web.client.widget.entity.tabs;
import org.gwtbootstrap3.client.ui.Anchor;
import org.gwtbootstrap3.client.ui.ListItem;
import org.gwtbootstrap3.client.ui.TabPane;
import org.gwtbootstrap3.client.ui.constants.Placement;
import org.gwtbootstrap3.client.ui.html.Div;
import org.sagebionetworks.... |
/*
* 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 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.co... |
/*
* 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")... |
/*
* Copyright (c) 2009-2016, United States Government, as represented by the Secretary of Health and Human Services.
* 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 ... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.al.base.dialog;
import android.content.Context;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import java.lang.ref.WeakReference;
/**
* dialog view的辅助处理类
*/
class DialogViewHelper {
private View mContentView = null;
... |
package com.reason.lang.dune;
import com.intellij.lang.PsiBuilder;
import com.intellij.psi.tree.IElementType;
import com.reason.lang.CommonParser;
import com.reason.lang.ParserState;
import org.jetbrains.annotations.NotNull;
import static com.intellij.lang.parser.GeneratedParserUtilBase.current_position_;
import stat... |
package com.google.sps.servlets.course;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import co... |
package github.tornaco.android.nitro.framework.plugin;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Application;
import android.app.FragmentManager;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.re... |
package mbg.test.mb3.generated.annotated.hierarchical.mapper;
import static org.apache.ibatis.jdbc.SqlBuilder.BEGIN;
import static org.apache.ibatis.jdbc.SqlBuilder.DELETE_FROM;
import static org.apache.ibatis.jdbc.SqlBuilder.FROM;
import static org.apache.ibatis.jdbc.SqlBuilder.INSERT_INTO;
import static org.apache.i... |
/*
* 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;
/**
*
* @author Massallys
*/
public class Principal extends javax.swing.JFrame {
/**
* Creates new form Pri... |
/**
* Copyright (c) 2010-2020 Mark Allen, Norbert Bartels.
*
* 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,... |
package retry;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface RetryTest {
int value() default 3;
} |
package com.github.roxanne_rosjava.roxanne_rosjava_taskplanner;
import it.cnr.istc.pst.platinum.ai.deliberative.Planner;
import it.cnr.istc.pst.platinum.ai.deliberative.PlannerBuilder;
import it.cnr.istc.pst.platinum.ai.framework.domain.PlanDataBaseBuilder;
import it.cnr.istc.pst.platinum.ai.framework.domain.component... |
/*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2019 The PWM 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 ... |
/*
* Copyright 2002-2019 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 com.example.cyberycon.smartmeter;
import com.example.cyberycon.smartmeter.config.MeterConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.example.cyberycon.smartmeter.event.MeterReadingSender;
@Component
public class Meter impleme... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package io.quarkus.mongodb.reactive;
import static io.quarkus.mongodb.reactive.MongoTestBase.getConfiguredConnectionString;
import static org.awaitility.Awaitility.await;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Ti... |
package org.jeecg.modules.tms.driver.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.tms.driver.entity.TmsBdDriver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 司机信息管理
* @Author: jeecg-boot
* @Date: 2019-09-09
* @Version: V1.0
... |
/*
* Copyright 2014 The Closure Compiler 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 applicable... |
/*
* 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 main.basicprogramming;
import java.util.Scanner;
public class Cipher {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char[] chars = sc.nextLine().toCharArray();
int iter = sc.nextInt();
for (int i = 0; i < chars.length; i++) {
//T... |
// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package com.scrax.UserManagement;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@RestController
public class UserController {
@GetMapping("/test")
public ResponseEntity<String> test(@RequestBody String data){
return ResponseEntity.ok("OK");
}
} |
package com.company;
import edu.princeton.cs.algs4.*;
public class RedBlackBSTOptimalStorage< Key extends Comparable< Key >, Value > {
// The Node is BLACK by default, unlike original implementation
private class Node {
private Key key = null;
private Value value = null;
private int N ... |
/* The Adama Programming Language For Board Games!
* See http://www.adama-lang.org/ for more information.
* (c) copyright 2020 Jeffrey M. Barber (http://jeffrey.io) */
package org.adamalang.translator.tree.types.checking.properties;
public enum WrapInstruction {
None, //
WrapAWithMaybe, //
WrapBWithMaybe, /... |
package com.jmaerte.util.input;
import com.jmaerte.data_struc.complex.Filtration;
import com.jmaerte.data_struc.complex.Tree;
import com.jmaerte.data_struc.point_set.Metadata;
import com.jmaerte.data_struc.point_set.Metric;
import com.jmaerte.data_struc.point_set.PointSet;
import com.jmaerte.util.calc.Function;
impor... |
/*
* 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... |
/*
===========================================================================
Copyright (c) 2012 Three Pillar Global Inc. http://threepillarglobal.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 ... |
package com.c4me.server.core.service1.controller;
import com.c4me.server.config.annotation.LogAndWrap;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
/**
* @Description:
* @Author: Siyong Liu
* @CreateDate: 02-23-2020
*/
@RestController
@RequestM... |
/*
* Copyright 2020-2021 Rosemoe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package com.google.android.gms.internal;
import android.content.Context;
import android.os.Parcel;
import android.util.DisplayMetrics;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.C0534a;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
@C1507ey
/* renamed from: ... |
/*
* 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) 2010, Cormac Flanagan (University of California, Santa Cruz)
and Stephen Freund (Williams College)
All rights reserved. Revision 7939 (Wed Aug 11 12:11:58 EDT 2010)
Redistribution and use in source and... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
/*
* Copyright 2018 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 law or... |
package cc.bocang.bocang.service;
import android.annotation.TargetApi;
import android.app.DownloadManager;
import android.app.DownloadManager.Request;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter... |
package com.bingo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 秒杀项目主应用入口
*
* @author bingo
* @since 2018/11/3
*/
@SpringBootApplication
public class SeckillProjectApplication {
public static void main(String[] args) {
... |
package dev.halilerkan.movie.dto.director;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddDirectorToMovieRequestDTO {
... |
package com.zhuhao.design_mode.singleton_pattern;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
/**
*
* 静态内部类,可以通过反射进行获取构造函数,解决方案是在构造函数中加一个判断
* @Author halk
* @Date 2020/10/16 17:21
*/
public class StaticInnerClass {
private StaticInnerClass(){
if(Singleto... |
package com.alibaba.otter.canal.protocol;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* <pre>
* 1、client
* stage1_hash = SHA1(明文密码).
* token = SHA1(scramble + SHA1(stage1_hash)) XOR stage1_has... |
/* Copyright 2016 Rafael Caturla, Carlos Congosto
* Copyright 2016-2017 Enrique Martín <emartinm@ucm.es>
*
* SPDX-License-Identifier: MIT
*/
package es.ucm.innova.docentia.TutorialesInteractivos.controller;
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.... |
package com.zepinos.chat.server.Repository;
import org.apache.commons.collections.map.MultiValueMap;
import org.springframework.stereotype.Component;
@Component
public class RoomIdUserIdRepository {
private final MultiValueMap roomIdUserIdMap = new MultiValueMap();
public MultiValueMap getRoomIdUserIdMap() {
re... |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.myedu.project.thumbsup.service;
import com.myedu.common.utils.RedisKeyUtils;
import com.myedu.project.thumbsup.domain.LikedCountDTO;
import com.myedu.project.thumbsup.domain.LikedStatusEnum;
import com.myedu.project.thumbsup.domain.UserLike;
import lombok.extern.slf4j.Slf4j;
import org.springframework.bean... |
/*
* 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 hr.xpam.waveform.jaad.mp4.api.codec;
import hr.xpam.waveform.jaad.mp4.api.DecoderInfo;
import hr.xpam.waveform.jaad.mp4.boxes.impl.sampleentries.codec.AC3SpecificBox;
import hr.xpam.waveform.jaad.mp4.boxes.impl.sampleentries.codec.CodecSpecificBox;
public class AC3DecoderInfo extends DecoderInfo {
private A... |
package gov.nara.opa.api.controller.moderator;
import gov.nara.opa.api.services.moderator.RemoveTagService;
import gov.nara.opa.api.system.Constants;
import gov.nara.opa.api.validation.moderator.TagsDeleteModeratorValidator;
import gov.nara.opa.architecture.web.controller.AbstractBaseController;
import gov.nara.opa.ar... |
package mage.cards.f;
import java.util.UUID;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.ExileSpellEffect;
import mage.abilities.effects.common.continuous.BoostOpponentsEffect;
import m... |
/*
* Copyright 2014 Luke Klinker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.example.android.quakereport;
import android.content.Context;
import android.graphics.drawable.GradientDrawable;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.wi... |
package edu.fiuba.algo3.vistas;
import edu.fiuba.algo3.controladores.ControladorPregunta;
import javafx.geometry.Orientation;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.effect.DropShadow;
import javafx.scene.layout.HBox;
import javafx.scene.layout.StackPane;
import javafx.scene... |
package org.demo.web.utils;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
public final class MacUtils {
private MacUtils() {
}
public static String getLocalMac() throws SocketException, UnknownHostException {
InetAddress in... |
package de.xstampp.service.project.data.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(name = "unsafe_control_action_su... |
package com.natelenergy.porter.model;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import com.google.common.base.Charsets;
import com.google.common.io.Files;
public class StringStoreFile implements StringStore {
f... |
package com.gcit.lms.entity;
import java.io.Serializable;
import java.util.List;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="Authors")
public class Author implements Serializable{
private static final long serialVersionUID = 9151170513668626160L;
private Integer authorI... |
package eapli.base.catalogomanagement.application;
import eapli.base.catalogomanagement.domain.CriteriosEspecificacao;
import eapli.base.catalogomanagement.domain.Titulo;
import eapli.base.catalogomanagement.repository.CriteriosEspecificacaoRepository;
import eapli.base.infrastructure.persistence.PersistenceContext;
... |
/*
* 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.haxademic.demo.draw.shapes;
import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.app.config.AppSettings;
import com.haxademic.core.app.config.Config;
import com.haxademic.core.debug.DebugView;
import com.haxademic.core.draw.context.PG;
import com.haxademic.co... |
package opencrypto.jcmathlib;
import javacard.framework.APDU;
import javacard.framework.Applet;
/**
*
* @author Petr Svenda
*/
public class ECExample extends Applet {
ECConfig ecc = null;
ECCurve curve = null;
ECPoint point1 = null;
ECPoint point2 = null;
fi... |
package tech.ibit.mybatis.sqlbuilder.sql.impl;
import tech.ibit.common.collection.CollectionUtils;
import tech.ibit.mybatis.Mapper;
import tech.ibit.mybatis.sqlbuilder.*;
import tech.ibit.mybatis.sqlbuilder.sql.CountSql;
import tech.ibit.mybatis.sqlbuilder.sql.Page;
import tech.ibit.mybatis.sqlbuilder.sql.QuerySql;
im... |
/*
* Copyright 2013 serso aka se.solovyev
*
* 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 2017 JTS-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 applicable law or agreed to in writ... |
package module949packageJava0;
import java.lang.Integer;
public class Foo802 {
Integer int0;
Integer int1;
public void foo0() {
new module949packageJava0.Foo801().foo9();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public v... |
/*
* Copyright 2019 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package jcifs.utils;
import java.io.EOFException;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import jcifs.smb.SmbFile;
public class Smb2Ass... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package androidx.vectordrawable.animated;
public final class R {
private R() {}
public static final class attr {
priva... |
package br.com.siecola.salesprovider.controller;
import br.com.siecola.salesprovider.exception.OrderNotFoundException;
import br.com.siecola.salesprovider.model.Order;
import br.com.siecola.salesprovider.model.OrderItem;
import br.com.siecola.salesprovider.repository.OrderItemRepository;
import br.com.siecola.salespro... |
package com.github.mwolf1963.improvementtracker.controllers;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import com.github.mwolf1963.improvementtracker.models.Customer;
import com.github.mwolf1963.improvementtracker.models.Department;
import com.github.mwolf1963.improvementtracker.models.... |
package cn.lemonit.robot.runner.server.runner;
import cn.lemonit.robot.runner.common.beans.entity.Lrc;
import cn.lemonit.robot.runner.common.beans.lrc.LrcCreate;
import cn.lemonit.robot.runner.common.utils.FileUtil;
import cn.lemonit.robot.runner.server.define.StringDefine;
import cn.lemonit.robot.runner.server.servic... |
package com.zhaxd.web.service;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.repository.kdr.KettleDatabaseRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... |
/*
* Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package pl.qdev.YamlConfigSpigot;
import org.bukkit.plugin.java.JavaPlugin;
import pl.qdev.YamlConfigSpigot.examples.Itemstacks;
import pl.qdev.YamlConfigSpigot.examples.LoadAndSave;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
Config.setupConfigs("config", "test", "data"... |
//
// ========================================================================
// Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p2beta1/image_annotator.proto
package com.google.cloud.vision.v1p2beta1;
/**
*
*
* <pre>
* Parameters for crop hints annotation request.
* </pre>
*
* Protobuf type {@code google.cloud.vision.v1p2beta1.CropHintsParams}
... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... |
package shadows.placebo;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.crafting.CraftingHelper;
import net.minecraftforge.event.RegisterCommandsEvent... |
package com;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author 35147
*/
@MapperScan("com.ces.dao")
@SpringBootApplication
public class App {
public static void main(String[] args)... |
package com.example.imagepicker_support;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... |
package io.sitoolkit.cv.core.domain.classdef;
import java.nio.file.Path;
import java.util.Optional;
public interface ClassDefReader {
ClassDefReader init();
ClassDefReader readDir();
Optional<ClassDef> readJava(Path javaFile);
} |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_videostab;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
i... |
package ltd.newbee.mall.app.controller;
import com.alibaba.fastjson.JSON;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import ltd.newbee.mall.app.constant.ResultMsgEnum;
import ltd.newbee.mall.config.redis.RedisUtil;
import ltd.newbee.mall.dao.MallUserMapper;
import ltd.newbee.mall.entity.MallUser;
import ... |
package CipherSolver.AES;
import java.security.SecureRandom;
public class AESKey {
public final byte[] data;
public final KeySize keySize;
public AESKey(KeySize keySize){
this.keySize = keySize;
data = new byte[keySize.getWords() * AES.WORD_SIZE];
randomise();
}
public AESK... |
/* $Id$
*****************************************************************************
* Copyright (c) 2009 Contributors - see below
* 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 i... |
// Copyright 2016 The Bazel 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 appl... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 查询用户匹配的客群信息
*
* @author auto create
* @since 1.0, 2020-03-22 14:50:50
*/
public class AlipayDataDataserviceAntlbsC... |
/*
* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package eskavi.scenarios;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jayway.jsonpath.JsonPath;
import eskavi.EskaviApplication;
import eskavi.controller.requests.aas.AddModuleImpRequest;
import eskavi.controller.requests.aas.UpdateConfigurationRequest;
import eskavi.model.configuration.Configuratio... |
/**
* This is a very simple robot program that can be used to send telemetry to
* the data_logger script to characterize your drivetrain. If you wish to use
* your actual robot code, you only need to implement the simple logic in the
* autonomousPeriodic function and change the NetworkTables update rate
*/
packag... |
/**
* 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... |
/*
* This is free and unencumbered software released into the public domain, following <https://unlicense.org>
*/
package io.limo.internal.memory;
import io.limo.internal.utils.UnsafeStringOps;
import io.limo.memory.OffHeap;
import org.jetbrains.annotations.NotNull;
import java.nio.charset.Charset;
import java.nio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.