text stringlengths 7 1.01M |
|---|
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package org.springframework.security.ldap.ppolicy;
/**
* @author Luke Taylor
* @since 3.0
*/
public interface PasswordPolicyData {
int getTimeBeforeExpiration();
int getGraceLoginsRemaining();
}
|
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2019, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.util.graphOperations.dominance;
import gnu... |
/*
* FouleFactoryApiLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ) on 09/16/2016
*/
package com.foulefactory.api.controllers;
import java.io.*;
import java.util.*;
import java.util.concurrent.*;
import com.foulefactory.api.*;
import com.foulefactory.api.models.*;
import com... |
package com.als.curso.domain.enums;
public enum TipoCliente {
PESSOAFISICA(1, "Pessoa Física"), PESSOAJURIDICA(2, "Pessoa Jurídica");
private int cod;
private String descricao;
private TipoCliente(int cod, String descricao) {
this.cod = cod;
this.descricao = descricao;
}
public int getCod() {
return cod... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.iso.dashboard.dao;
import com.iso.dashboard.dto.MaintainSup;
import com.iso.dashboard.dto.ResultDTO;
import com.iso.dashbo... |
package io.cattle.platform.ha.monitor.dao.impl;
import static io.cattle.platform.core.model.tables.AgentTable.*;
import static io.cattle.platform.core.model.tables.HostTable.*;
import static io.cattle.platform.core.model.tables.InstanceHostMapTable.*;
import static io.cattle.platform.core.model.tables.InstanceTable.*;... |
package net.lilifei.SpringDemoService.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class PingController {
@GetMapping("/ping")
public String ping() {
return "Service is healthy";
}
}
|
/*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* d... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package org.fieldsight.naxa.helpers;
import android.content.ContentValues;
import android.database.Cursor;
import androidx.loader.content.CursorLoader;
import org.fieldsight.naxa.common.FieldSightUserSession;
import org.fieldsight.naxa.network.APIEndpoint;
import org.fieldsight.naxa.site.db.SiteUploadHistoryLocalSou... |
/*
* Copyright 2002-2012 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 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* 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 org.barcodeapi.server.admin;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.barcodeapi.server.core.RestHandler;
import org.barcodeapi.server.session.SessionCache;
import org.json.JSONException;
import org.json.JSONObject;
p... |
package controllers;
import akka.dispatch.ExecutionContexts;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import models.Fortune;
import models.World;
import play.Play;
import play.core.NamedThreadFactory;
import play.libs.F;
import play.libs.Json;
import pl... |
package com.example.upapp;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
public class DetailActivity extends AppCompatActivity {
TextView tvid,tvname,tvemail,tvcontact,tvaddress;
int position;
@Override
prote... |
/* Copyright 2018 The TensorFlow 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 applicable law or a... |
package net.java.ws.bookstore.dao;
import java.util.List;
import net.java.ws.bookstore.domain.Book;
/**
* An interface defining operations for working with
* domain objects.
*
* @author Ross McDonald
*
*/
public interface BookDao {
/**
* Load a book with the
* given id from the database.
*
* @... |
/*-
* -\-\-
* flo-freezer
* --
* Copyright (C) 2016 - 2017 Spotify AB
* --
* 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
*
* ... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* 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... |
/*
* 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 lk.ijse.dep.pos.business.custom.impl;
import lk.ijse.dep.pos.business.custom.ItemBO;
import lk.ijse.dep.pos.business.exception.AlreadyExistsInOrderException;
import lk.ijse.dep.pos.dao.custom.ItemDAO;
import lk.ijse.dep.pos.dao.custom.OrderDetailDAO;
import lk.ijse.dep.pos.dto.ItemDTO;
import lk.ijse.dep.pos.e... |
/*
* Copyright (C) 2009 University of Washington
*
* 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 ... |
/*
* This file is part of the TinsPHP project published under the Apache License 2.0
* For the full copyright and license information, please have a look at LICENSE in the
* root folder or visit the project's website http://tsphp.ch/wiki/display/TINS/License
*/
package ch.tsphp.tinsphp.common.translation.dtos;
pu... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.ui.playback.commands;
import com.intellij.openapi.ui.playback.PlaybackContext;
import org.jetbrains.concurrency.Promise;
import org.jetbrains.concurr... |
package com.rfslabs.zombies.util;
import java.util.Random;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
public class MysteryBoxLogic {
public static Random r = new Random();
public static void tryOpen(Player p){
if(Data.bux.get(p) >= 500){
open(p);
}
}
@SuppressWarnings("de... |
/*
* Copyright 2012-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.taobao.garuda.localnode.processor;
/**
* User: wb-zouyanjian
* Date: 13-7-1
* Time: 下午4:11
*/
public class LocalNodePostProcessor {
}
|
package com.example.application.data.service;
import com.example.application.data.entity.Company;
import com.example.application.data.entity.Contact;
import com.example.application.data.entity.Status;
import com.example.application.data.repository.CompanyRepository;
import com.example.application.data.repository.Conta... |
package io.github.repir.Strategy.Operator;
import io.github.repir.Strategy.GraphRoot;
import io.github.htools.lib.Log;
import java.util.ArrayList;
/**
* This feature expands itself into the set of independent terms, whose score is
* weighted by LambdaT = 1 - LambdaO - LambdaU.
* <p/>
* @author jeroen
*/
public c... |
/*
* Copyright 2012-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.mapper;
import com.entity.BrrowInfo;
import com.entity.BrrowInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface BrrowInfoMapper {
long countByExample(BrrowInfoExample example);
int deleteByExample(BrrowInfoExample example);
int deleteByPrimaryKey(... |
package com.z0ltan.compilers.triangle.encoder;
public class KnownAddress extends RuntimeEntity {
public EntityAddress address;
public KnownAddress(int size, int level, int displacement) {
super(size);
this.address = new EntityAddress(level, displacement);
}
}
|
/*
* Copyright 2017 Inscope Metrics, 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 ... |
/*
* Harbor API
* These APIs provide services for manipulating Harbor project.
*
* OpenAPI spec version: 1.10.0
*
*
* 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 org.kathra.harbor... |
/*
* Copyright 2014-2020 Real Logic Limited.
*
* 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 ... |
/**
* Copyright (c) 2016, WSO2.Telco Inc. (http://www.wso2telco.com) All Rights Reserved.
*
* WSO2.Telco Inc. licences 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://ww... |
package com.biprom.bram.amcalapp.data.entity.mongodbEntities.GoogleMapsEntities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Results {
private Geometry geometry;
public Geometry getGeometry() {
return geometry;
}
p... |
package com.atguigu.mall.member;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MallMemberApplication {
public static void main(String[] args) {
SpringApplication.run(MallMemberApplication.class, ... |
package com.mojang.sonar.mixer;
import java.util.*;
import com.mojang.sonar.*;
public class ListenerMixer implements StereoSoundProducer
{
private List<Sound> sounds = new ArrayList<Sound>();
private float[] buf = new float[0];
private int maxChannels;
private SoundListener soundListener;
... |
package com.supervise.config.mysql.base;
/**
* ClassName: IDbOperator <br/>
* Description: 数据库操作符 <br/>
* Date: 2016/9/6 15:36 <br/>
* @version 1.0 <br/>
*/
public interface IDbOperator {
/**
* Gets name.
*
* @return the name
*/
String name();
/**
* Gets info.
*
*... |
/*
* Copyright 2016 ThoughtWorks, 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... |
/*
* 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 (c) 2017, Matthew Malensek
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 source code must retain the above copyright notice, this
list of conditions and the follo... |
package ee.ria.tara.controllers;
import ee.ria.tara.api.LogoutApi;
import ee.ria.tara.api.SsoModeApi;
import ee.ria.tara.api.WhoamiApi;
import ee.ria.tara.configuration.providers.AdminConfigurationProvider;
import ee.ria.tara.configuration.providers.AuthenticationConfigurationProvider;
import ee.ria.tara.model.SsoMode... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer... |
/*
Copyright 2014-2016 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 "lice... |
package com.google.android.gms.internal.ads;
import java.io.File;
import java.util.Arrays;
/* compiled from: com.google.android.gms:play-services-gass@@19.4.0 */
public final class zzdus {
private final zzgr zzhny;
private final File zzhnz;
private final File zzhoa;
private final File zzhob;
priva... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.github.dreamhead.moco;
import org.junit.Test;
import java.io.IOException;
import static com.github.dreamhead.moco.helper.RemoteTestUtils.remoteUrl;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
public class MocoXmlStandaloneTest extends AbstractMocoStan... |
package com.kabouzeid.appthemehelpersample;
import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* @author Aidan Follestad (afollestad)
*/
public class MiscFragment extends ... |
package module1211packageJava0;
import java.lang.Integer;
public class Foo15 {
Integer int0;
public void foo0() {
new module1211packageJava0.Foo14().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
}
|
package jp.co.sony.csl.dcoes.apis.main.app.gridmaster;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.json.JsonArray;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import java.u... |
/**
* Copyright 2021, Francois Ritaly
*
* 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... |
package com.matyrobbrt.firenetherite;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.matyrobbrt.firenetherite.core.config.FireNetheriteConfig;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.f... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
//Autogenerated
package com.vision4j.completion;
import java.io.InputStream;
import java.io.File;
import java.net.URL;
import java.io.IOException;
import com.vision4j.utils.*;
/**
* Basic contract that every image completion model should fulfill.
*/
public interface Completion {
CompletionResult complete(Input... |
package abi32_0_0.host.exp.exponent;
import java.util.List;
import abi32_0_0.expo.core.interfaces.Package;
import org.unimodules.core.interfaces.SingletonModule;
import abi32_0_0.host.exp.exponent.modules.universal.ExpoModuleRegistryAdapter;
public interface ExponentPackageDelegate {
ExpoModuleRegistryAdapter getS... |
package game.item;
import util.BmpRes;
import game.entity.*;
import static java.lang.Math.*;
import static util.MathUtil.*;
public class WarheadLauncher extends EnergyLauncher{
private static final long serialVersionUID=1844677L;
static BmpRes bmp=new BmpRes("Item/WarheadLauncher");
/*
public boolean onLongPress(A... |
/*
* Copyright 2010-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 "lice... |
/**
*
*/
package com.mathtabolism.util.calculation.intakecalculator;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
/**
*
* @author mlaursen
*/
@RunWith(Suite.class)
@SuiteClasses({
CalculateNutrientUTest.class
})
public class IntakeCalculatorUSu... |
package com.atguigu.gmall.pms.dao;
import com.atguigu.gmall.pms.entity.SkuSaleAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* sku销售属性&值
*
* @author lixianfeng
* @email lxf@atguigu.com
* @date 2020-07-11 14:15:26
*/
@Mapper
public inter... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* The author 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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agree... |
/*
* 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 mage.cards.m;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.ReplacementEffectImpl;
i... |
package tech.jhipster.lite.generator.server.javatool.base.application;
import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.module.JHipsterModules;
import tech.jhipster.lite.generator.module.domain.JHipsterModule;
import tech.jhipster.lite.generator.module.domain.properties.JHipsterModule... |
package no.nav.vedtak.sikkerhetsfilter;
import static no.nav.vedtak.log.util.LoggerUtils.removeLineBreaks;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.CharMatcher;
@SuppressWarnings("deprecation")
public class SimpelHvitvasker {
// FIXME (LIBELLE): Bli kvitt Guava avh... |
package examples.pubhub.utilities;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import examples.pubhub.dao.BookDAO;
import examples.pubhub.dao.BookDAOImpl;
import examples.pubhub.dao.BookTagDAO;
import examples.pubhub.dao.BookTagDAOImpl;
/**
* Class used to re... |
/*
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="CalendarAsFileRequestBuilder.java">
* Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved.
* </copyright>
* <summary>
* Permission is hereby granted, ... |
/*
* Copyright (c) 2022 SAP SE or an SAP affiliate company and XSK contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, v2.0
* which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-... |
/**********************************************************************
Copyright (c) 2006 Thomas Marti, Stefan Schmid and others. 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 Li... |
/*
* Copyright 2012-2014 Netherlands eScience Center.
*
* 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 the following location:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
package cc.mrbird.febs.gateway.enhance.controller;
import cc.mrbird.febs.common.entity.QueryRequest;
import cc.mrbird.febs.gateway.enhance.entity.RouteUser;
import cc.mrbird.febs.gateway.enhance.service.RouteUserService;
import lombok.RequiredArgsConstructor;
import org.springframework.security.access.prepost.Pr... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.application;
import com.yahoo.collections.AbstractFilteringList;
import com.yahoo.component.Version;
import com.yahoo.config.application.api.DeploymentSpec;
i... |
/**
* Copyright ${license.git.copyrightYears} 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/LICEN... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* 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.zhangyingwei.cockroach2.core.executor;
import com.zhangyingwei.cockroach2.common.async.AsyncManager;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.*;
import java.util.stream.Stream;
@Slf4j
public class TaskExecotorTest {
public void stop() {
Thread thread1 = new Thread(() -> {
... |
package com.algokelvin.realm;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.algokelvin.realm.db.RealmDb;
import com.algokelvin.r... |
import org.junit.jupiter.api.Test;
import top.beliefyu.fstream.client.grpc.ServerGrpcClient;
import top.beliefyu.fstream.client.DataStream;
import top.beliefyu.fstream.common.grpc.*;
import top.beliefyu.fstream.node.grpc.NodeGrpcService;
import top.beliefyu.fstream.server.grpc.ServerGrpcService;
import top.beliefyu.fst... |
package com.crm.application.service;
import com.crm.application.model.Contact;
import org.springframework.stereotype.Service;
import java.util.Optional;
@Service
public interface ContactService {
Optional<Contact> getContactById(Long id);
void addContact(Long id, Contact contact);
Contact updateContac... |
/*
* Copyright 2019-2029 geekidea(https://github.com/geekidea)
*
* 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 ... |
/*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*/
package vdm.namespaces.bydproduct.link;
import javax.annotation.Nonnull;
import com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ExpressionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FilterExpressionWrapper;
... |
package com.boydti.fawe.config;
import com.boydti.fawe.configuration.MemorySection;
import com.boydti.fawe.configuration.file.YamlConfiguration;
import com.boydti.fawe.util.StringMan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.Pri... |
/*
* Copyright 2017 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 ... |
package org.kyojo.schemaorg.m3n4.doma.core.container;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaorg.m3n4.core.impl.URL_TEMPLATE;
import org.kyojo.schemaorg.m3n4.core.Container.UrlTemplate;
@ExternalDomain
public class UrlTemplateConverter implem... |
package com.project.convertedCode.globalNamespace.namespaces.PhpParser.namespaces.Node.namespaces.Stmt.classes;
import java.lang.invoke.MethodHandles;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.classes.NoConstructor;
import com.runtimeconverter.runtime.... |
/* Copyright Airship and Contributors */
package com.urbanairship.preference;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import com.urbanairship.PrivacyManager;
import com.urbanairship.UAirship;
import com.urbanairship.modules.locat... |
/*****************************************************************
* 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
* ... |
/*
* Copyright 2002-2018 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... |
/*
* This file is part of Industrial Foregoing.
*
* Copyright 2021, Buuz135
*
* 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 righ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.builtbroken.mc.lib.data.mass;
import com.builtbroken.mc.api.IHasMass;
import com.builtbroken.mc.api.IMassRegistry;
import com.builtbroken.mc.api.items.IItemHasMass;
import com.builtbroken.mc.core.Engine;
import com.builtbroken.mc.lib.data.item.ItemStackWrapper;
import net.minecraft.block.Block;
import net.... |
package ch.sharedvd.tipi.engine.engine.coldStart;
import ch.sharedvd.tipi.engine.action.Activity;
import ch.sharedvd.tipi.engine.action.ActivityResultContext;
import ch.sharedvd.tipi.engine.action.FinishedActivityResultContext;
import ch.sharedvd.tipi.engine.meta.ActivityMetaModel;
import java.util.concurrent.atomic.... |
/*******************************************************************************
* Copyright 2013-2015 alladin-IT GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... |
package com.bzh.sportrecord.di.qualifier;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.inject.Scope;
@Scope
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface ApplicationScoped {
}
|
package com.nanyang.app.main.home.sport.e_sport;
import com.nanyang.app.AppConstant;
import com.nanyang.app.MenuItemInfo;
import com.nanyang.app.R;
import com.nanyang.app.main.home.sport.main.SportContract;
/**
* Created by Administrator on 2017/3/13.
*/
public class ESportTodayState extends ESportState {
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.