text stringlengths 7 1.01M |
|---|
package com.learn.chapter04.lazyLoad.util;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging... |
package org.axonframework.springboot;
import org.axonframework.eventsourcing.eventstore.EmbeddedEventStore;
import org.axonframework.eventsourcing.eventstore.EventStorageEngine;
import org.axonframework.eventsourcing.eventstore.EventStore;
import org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngine;
im... |
/**
*
*/
package edu.incense.android.sensor;
import java.util.List;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.wifi.WifiConfi... |
package com.stm.main.base.view;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import com.stm.R;
import com.stm.common.dao.User;
import butterknife.OnClick;
/**
* Created by ㅇㅇ on 2017-06-07.
*/
public interface MainView {
void showMessage(String message);
void showLo... |
package u21g;
public class DatabasePath {
private static DatabasePath databasePathInstance = new DatabasePath();
public static DatabasePath getInstance() {
return databasePathInstance;
}
private String dbPath;
private DatabasePath() {
}
public String getPath() {
return d... |
/*
Copyright 2006 Benjamin Livshits
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 ... |
/*
* Ory APIs
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
* The version of the OpenAPI document: v0.0.1-alpha.42
* Contact: support@ory.sh
*
* NOTE: This class is auto generate... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayCommerceMedicalInstcardBindModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayCommerceMedicalInstcardBindResponse;
import com.alipay.api.AlipayObjec... |
package com.example.bttracker;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
public cla... |
/**
* *****************************************************************************
*
* <p>Copyright FUJITSU LIMITED 2020
*
* <p>Creation Date: 13 Oct 2020
*
* <p>*****************************************************************************
*/
package org.oscm.app.vmware.business;
import static org.junit.Asser... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2000-2016. 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
*
... |
package com.amadeus;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.api.Test;
public class AmadeusTest {
/**... |
/*
* 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 downfall.monsters;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.MathUtils;
import com.esotericsoftware.spine.AnimationState;
import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.actions.animations.VFXAc... |
package io.sdb.model.base;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings("serial")
public abstract class BaseDeliveryCorp<M extends BaseDeliveryCorp<M>> extends Model<M> implements IBean {
public v... |
/*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.rendering.nui.layers.mainMenu;
import org.terasology.engine.i18n.TranslationSystem;
import org.terasology.engine.identity.storageServiceClient.IdentityConflict;
import org.terasology.engine.identity.storage... |
package cn.xxt.customwidget.thinkinginjava.collection.set_17_6;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;
/**
* @Author zhq
* @Date 2019-11-07-10:08
* @Description
* @Email 1457453696@qq.com
*/
public class TypesForSets {
static <T> Set<T> fill... |
package p;
//renaming A.m to fred
class A{
int fred(int m){
return fred(fred(m));
}
} |
/*
* Copyright (c) 2015 Markus Poeschl
*
* 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... |
//
// 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: 2020.01.... |
package com.novaventure.survivalessentials.registry.WeaponsAndTools.Knives;
import net.minecraft.item.SwordItem;
import net.minecraft.item.ToolMaterial;
import static com.novaventure.survivalessentials.registry.Initializers.ItemGroups.EQUIPMENT_GROUP;
public class GoldKnifeBase extends SwordItem {
public GoldKni... |
/*
* 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.apache.http.client;
import org.apache.http.protocol.HttpContext;
@Deprecated
public abstract interface UserTokenHandler
{
public abstract Object getUserToken(HttpContext paramHttpContext);
}
/* Location: /Users/gaoht/Downloads/zirom/classes-dex2jar.jar!/org/apache/http/client/UserTokenHan... |
package com.project.convertedCode.servlets.vendor.swiftmailer.swiftmailer.lib.dependency_maps;
import com.runtimeconverter.runtime.includes.RuntimeIncludable;
import com.runtimeconverter.runtime.includes.RuntimeConverterServlet;
import com.runtimeconverter.runtime.RuntimeEnv;
import javax.servlet.http.HttpServletReque... |
/*
* 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 org.lorainelab.igb.data.model.action;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.ObjectPropert... |
/**
* 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 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 co... |
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
// Copyright 2015 Google 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 by applicable ... |
package cn.delei.distributed.lock.jedis;
import cn.delei.util.PrintUtil;
import cn.hutool.core.lang.Assert;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import redis.clients.jedis.Jedis;
im... |
package dtos;
import lombok.Data;
@Data
public class SellersDto {
private Long id;
private String title;
private String country_code;
}
|
/*
* Copyright (c) 2005-2012 Clark & Parsia, LLC. <http://www.clarkparsia.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package de.blafoo.bingo;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collections;
import java.util.List;
import com.vaadin.flow.component.AttachEvent;
import com.vaadin.flow.component.ClickEvent;
import com.vaadin.flow.component.ComponentEventListener;
import com.vaadin.flow.compon... |
package com.github.nalukit.nalu.processor.common.ui.controllerWithComposite03;
import com.github.nalukit.nalu.client.Router;
import com.github.nalukit.nalu.client.component.AbstractComponentController;
import com.github.nalukit.nalu.client.exception.RoutingInterceptionException;
import com.github.nalukit.nalu.client.i... |
package org.apereo.cas.authentication.attribute;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.ResourceUtils;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.io.FileWatcherService;
import org.apereo.cas.util.serializa... |
package org.opendatakit.briefcase.model;
import com.brsanthu.googleanalytics.EventHit;
import com.brsanthu.googleanalytics.GoogleAnalytics;
import org.opendatakit.briefcase.buildconfig.BuildConfig;
/**
* This class is used to send usage information to ODK's Google Analytics account.
*
* <P>A library built by 'br... |
/*
* Copyright 2020 Prathab Murugan
*
* 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.shen.rpc.core.annotation;
/**
* @author shenjianeng
* @date 2018/12/4
*/
public enum RpcMode {
/**
* 服务端
*/
SERVER,
/**
* 客户端
*/
CLIENT,
/**
* 即为是服务端又是客户端
*/
SERVER_AND_CLIENT
}
|
package cn.yueshutong.springbootstartercurrentlimiting.core;
public interface RateLimiter {
String message = "<pre>The specified service is not currently available.</pre>";
boolean tryAcquire();
boolean tryAcquireFailed();
}
|
/*
* 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")... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
import org.bytedeco.pytorch.Allocator;
import org.bytedeco.pytorch.Function;
import org.bytedeco.pytorch.Module;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.byte... |
/*
* Copyright 2020-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package net.mybluemix.parteg.fornecedor;
import org.junit.*;
import static org.junit.Assert.*;
// JUnit 4.3
public class TestCases_All_Transitions{
public static junit.framework.Test suite(){
return new junit.framework.JUnit4TestAdapter(TestCases_All_Transitions.class);
}
@Test
public void test1()
{
Estoq... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.omega.amazehing.game.entity.system;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.badlogic.ashley.core.ComponentMapper;
import com.badlogic.ashley.core.Engine;
import com.badlogic.ashley.core.Entity;
import com.badlogic.ashley.core.EntitySystem;
import com.badlogic.ashley.core.Family... |
package net.agilepartner.workshops.cqrs.domain;
import java.util.UUID;
import net.agilepartner.workshops.cqrs.core.Command;
public class CheckInventoryItemIn extends Command {
private static final long serialVersionUID = 1L;
public int quantity;
public static CheckInventoryItemIn create(UUID aggregateId... |
private static String encryptMD5(String password, Long digestSeed) {
try {
MessageDigest digest = MessageDigest.getInstance("MD5");
digest.reset();
digest.update(password.getBytes("UTF-8"));
digest.update(digestSeed.toString().getBytes("UTF-8"));
b... |
package com.nature.third.vo.flow;
import java.io.Serializable;
public class ThirdPropertieVo implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
private String value;
public String getName() {
return name;
}
public void setName(String nam... |
package gitapi.callablecommitsapi.codesamplemodification;
import domain.code.investigatedcallable.InvestigatedCallable;
import gitapi.callablecommitsapi.fileversionsapi.FileVersion;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional... |
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 集团预算信息
*
* @author auto create
* @since 1.0, 2021-08-06 10:17:57
*/
public class GroupBudgetSummaryDTO extends AlipayObject {
private static final long serialVersionUID = 58722... |
/*
* Copyright 2003-2010 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 app... |
/*
* Copyright 2017 John Grosh <john.a.grosh@gmail.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 ap... |
/**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.editor.diagram.actions;
import org.eclipse.gef.ui.actions.GEFActionConstants;
import org.eclipse.jface.action.Acti... |
/* 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.activity;
public final class R {
private R() {}
public static final class attr {
private attr() {}
... |
/*
* 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 CriadoresServelets;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import jav... |
/**
* Audit specific code.
*/
package com.sallefy.config.audit;
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE113_HTTP_Response_Splitting__Property_addHeaderServlet_73b.java
Label Definition File: CWE113_HTTP_Response_Splitting.label.xml
Template File: sources-sinks-73b.tmpl.java
*/
/*
* @description
* CWE: 113 HTTP Response Splitting
* BadSource: Property Read data from a sy... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* Copyright 2014-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package algorithms.a51_to_a100.a53_MaximumSubarray_Medium;
public class Solution {
// public int maxSubArray(int[] nums) {
// if (nums == null || nums.length == 0)
// return 0;
// int max = Integer.MIN_VALUE;
// int cur = 0;
// for (int i = 0; i < nums.length; i++) {
// cur += nums[i];
// max = Math.max(cur,... |
package dev.widget.utils;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Path;
import android.graphics.RectF;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.AttributeSet;
import dev.widget.R;
/**
* detail: RadiusLayout 圆角属性封装处理类
* @author... |
package CI.HTTP;
import common.CommonBase;
import de.dfki.baall.helper.persistence.exceptions.NotFoundInPersistenceException;
import de.kosmos_lab.kosmos.client.KosmoSClient;
import de.kosmos_lab.kosmos.data.Group;
import org.eclipse.jetty.client.api.ContentResponse;
import org.eclipse.jetty.http.HttpMethod;
i... |
package com.ruoyi.generator.util;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.constant.GenConstants;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.generator.domain.GenTable;
import com.ruoyi.generator.domain.GenTableColumn;
import org.a... |
package android.support.v4.content;
import android.content.SharedPreferences.Editor;
import android.os.Build.VERSION;
public final class SharedPreferencesCompat {
public static final class EditorCompat {
private static android.support.v4.content.SharedPreferencesCompat.EditorCompat sInstance;
pri... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appservice.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.... |
/*
* Copyright (C) 2015 Twitter, 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) 2003-2013, University of Luebeck, Institute of Computer Engineering
* 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... |
import java.util.*;
public class Solution451ViaSort {
public String frequencySort(String s) {
if (s == null || s.length() == 0) return "";
char[] chs = s.toCharArray();
List<String> ans = new ArrayList<>();
StringBuilder sb = new StringBuilder();
Arrays.sort(chs);
... |
/*
* 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 2013-present Facebook, 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... |
/**
* Copyright (C) 2015 Vince Styling
*
* 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 ag... |
/*
* 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 app... |
package space.engine.delegate.map.entry;
import java.util.Map;
import java.util.Objects;
public class DelegatingEntry<K, V> implements Map.Entry<K, V> {
public Map.Entry<K, V> entry;
public DelegatingEntry(Map.Entry<K, V> entry) {
this.entry = entry;
}
@Override
public K getKey() {
return entry.getKey(... |
/*
* Copyright (c) 2008-2019, 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 ... |
// This file is made available under Elastic License 2.0.
// This file is based on code available under the Apache license here:
// https://github.com/apache/incubator-doris/blob/master/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectListItem.java
// Licensed to the Apache Software Foundation (ASF) under on... |
package vn.locdt.cart;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud... |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package com.google.android.play.core.tasks;
import java.util.concurrent.Executor;
/* renamed from: com.google.android.play.core.tasks.f */
final class C2103f<ResultT> implements C2104g<ResultT> {
/* renamed from: a */
private final Executor f1072a;
/* access modifiers changed from: private */
/* ren... |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.kasukusakura.kimiroyli.test;
import com.kasukusakura.kimiroyli.api.perm.PermissionContext;
import com.kasukusakura.kimiroyli.api.perm.StandardPermissions;
import org.junit.jupiter.api.Assertions;
import sun.misc.Unsafe;
import java.io.File;
import java.io.IOException;
import java.io.UncheckedIOException;
... |
/*
* Copyright (c) 2004, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
// Copyright (c) 2004, Open Cloud Limited.
package org.postgresql.core;
import org.postgresql.PGProperty;
import org.postgresql.core.v3.ConnectionFactoryImpl;
import org.postgresql.util.... |
package core.framework.internal.web.sys;
import core.framework.api.json.Property;
import java.util.List;
/**
* @author neo
*/
public class ListJobResponse {
@Property(name = "jobs")
public List<JobView> jobs;
public static class JobView {
@Property(name = "name")
public String name;
... |
package i5.las2peer.services.ocd.adapters.graphOutput;
import i5.las2peer.services.ocd.adapters.AdapterException;
import i5.las2peer.services.ocd.graphs.CustomGraph;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import y.base.Edge;
import y.base.EdgeCursor;
import y.base.EdgeMap;
impor... |
package org.hongxi.whatsmars.base.thread.base;
public class JoinTest {
public static void main(String[] args) {
MyThread2 t = new MyThread2("black horse");
t.start();
try {
t.join();
} catch (InterruptedException e) {}
for (int i = 0; i < 10; i++) {
System.out.println("I am Main Thread");
}
}
}
... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... |
package terrails.netherutils.blocks.pedestal;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import terrails.netherutils.Constants;
import terrails.netherutils.NetherUtils;
import java.util.Objects;
public class ItemBlockPedestal extends ItemBlock {
p... |
/*
* 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.apache.lucene.search;
/*
* 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, Versi... |
package cn.zealon.readingcloud.book.domain;
import lombok.Data;
import java.io.Serializable;
/**
* 图书前后章节节点
* <p>
* 图书章节数据结构,为了读取当前章时,能够方便的进入上一章、下一章,
* 这里每个章节节点数据划分分为当前章、上一章、下一章,形成一个基础的双向链表
* </p>
* @author: zealon
* @since: 2020/5/6
*/
@Data
public class BookPreviousAndNextChapterNode implements Ser... |
package com.blogspot.toomuchcoding.book.chapter8._2_SOLID;
import com.blogspot.toomuchcoding.book.chapter8.common.Person;
class UpdatePersonJsonBuilder {
public String build(Person person) {
return "{\"name\":\"" + person.getName() + "\",\"age\":\"" + person.getAge() + "\"}";
}
}
|
/*
* Copyright (c) 2007-2014 Concurrent, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
package life.catalogue.dw.jersey.filter;
import javax.ws.rs.NameBinding;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Specifies that the response varies based on accept headers.
* The response will therefore be added a Vary: Accept header by binding the VaryResponseFilt... |
/*
* 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 pokecube.core.events.pokemob.combat;
import net.minecraft.entity.Entity;
import net.minecraftforge.event.entity.EntityEvent;
import net.minecraftforge.eventbus.api.Cancelable;
import pokecube.core.interfaces.IPokemob;
import pokecube.core.interfaces.capabilities.CapabilityPokemob;
import pokecube.core.interfac... |
package org.jvnet.jaxb2_commons.xml.bind.model.origin;
public interface MPropertyInfoOrigin {
}
|
package org.packt.rabbitmq.book.samples.chapter2;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.ConsumerCancelledExcepti... |
/**
* Copyright 2014-2016 CyberVision, 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 applicabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.