text
stringlengths
7
1.01M
package net.openid.conformance.condition.client; import net.openid.conformance.condition.AbstractCondition; import net.openid.conformance.testmodule.Environment; public class TellUserToIgnoreCIBAAuthentication extends AbstractCondition { @Override public Environment evaluate(Environment env) { log("Waiting for ...
package com.example.demo.entity; import java.math.BigDecimal; import java.time.LocalDate; public class Employee { private int id; private String jobNo; private String name; private int age; private Gender gender; private LocalDate entryDate; private int departmentId; private LocalDate...
package com.udacity.gradle.builditbigger; import android.content.Context; import android.content.Intent; import android.support.v4.app.Fragment; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; ...
/* *     Copyright 2015 IBM Corp. *     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...
/* * 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 lk.ijse.dep.pos.controller; import lk.ijse.dep.pos.AppInitializer; import lk.ijse.dep.pos.business.custom.CustomerBO; import l...
package pl.java.scalatech.spring_camel.service.nbp.impl; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import lombok.extern.slf4j.Slf4j; import org.apache.camel.Handler; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.sp...
package ij.plugin; import ij.*; import ij.gui.*; import ij.process.*; import ij.plugin.filter.Analyzer; import ij.measure.Measurements; import java.awt.*; import java.awt.event.*; import java.util.*; /** This plugin implements the Edit/Options/Point Tool command. */ public class PointToolOptions implements PlugIn, Di...
/* * Copyright The OpenTelemetry 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 law or a...
/** * This class is a container for all image representations of a chart. Based on the applied * morphology and filtering, a chart may be expressed in multiple images. THis class acts as * a container for all those images */ package oor.images; import java.awt.image.BufferedImage; import java.io.File; import java....
/* * Copyright 2020 ViiSE * * 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 wri...
package io.leao.codecolors.core.color; import java.lang.ref.WeakReference; public class Reference<T> { /* * if objectRef != null ? hashCode != null && object == null * if object != null ? objectRef == null && hashCode == null */ private WeakReference<T> objectRef; private Integer hashCode; ...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
package pugz.omni.common.tileentity; import pugz.omni.core.registry.OmniTileEntities; import net.minecraft.tileentity.BeehiveTileEntity; import net.minecraft.tileentity.TileEntityType; import javax.annotation.Nonnull; public class OmniBeehiveTileEntity extends BeehiveTileEntity { public OmniBeehiveTileEntity() {...
package com.wind.service.impl; import com.wind.dao.SysRoleMenuDao; import com.wind.service.SysRoleMenuService; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframewor...
package sg.edu.iss.caps.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Admin { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; private String username; private St...
package org.gusdb.wdk.jmx.mbeans; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import javax.management.Attribute; import javax.management.AttributeList; import javax.management.AttributeNotFoundException; import javax.management.DynamicMBean; import...
// ASM: a very small and fast Java bytecode manipulation framework // Copyright (c) 2000-2011 INRIA, France Telecom // 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 ...
package kh.edu.npic.unitgrader.define; import kh.edu.npic.unitgrader.util.TestCase; import kh.edu.npic.unitgrader.util.console.EndMenuOption; import kh.edu.npic.unitgrader.util.console.NumericalMenu; import kh.edu.npic.unitgrader.util.console.Option; public class IndividualWeightingOption extends Option { private Te...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.indexlifecycle; import org.elasticsearch.Vers...
package org.zp.notes.spring.ioc.annotation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Required; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * 展示...
package org.myrobotlab.serial; import java.io.IOException; import java.util.TooManyListenersException; public interface SerialDevice { public static final int DATABITS_5 = 5; public static final int DATABITS_6 = 6; public static final int DATABITS_7 = 7; public static final int DATABITS_8 = 8; public static fin...
/* * Copyright 2017 dmfs 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package mage.cards.c; import java.util.UUID; import mage.abilities.effects.common.SacrificeEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.filter.common.FilterAttackingOrBlockingCreature; import mage.target.TargetPlayer; /** * * @author jeffwadsworth ...
package net.cofares.ljug.repositories; import java.util.Set; import net.cofares.ljug.model.Cours; import net.cofares.ljug.model.Etudiant; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; /** * E...
// Copyright 2000-2019 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.codeInsight.intention.impl; import com.intellij.openapi.util.Key; public abstract class QuickEditActionKeys { public static final Key<Boolean> EDIT_ACTION...
package com.hedera.mirror.grpc.validation; /*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 - 2022 Hedera Hashgraph, 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 * * ...
package com.exam.repo; import com.exam.models.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface UserRepository extends JpaRepository<User,Long> { public User findByUsername(String uname); }
package net.badata.protobuf.converter.type; /** * Implementation of {@link net.badata.protobuf.converter.type.TypeConverter TypeConverter} that is * applied by default. * * This implementation does not perform field data conversion. * * @author jsjem * @author Roman Gushel */ public class DefaultConverterImpl ...
/* * 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.xpdojo.spring.testdouble.fixture; /** * xUnit Test Pattern */ public class TimeProviderException extends Exception { }
package crawel.pojo; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor(access = AccessLevel.PUBLIC) @NoArgsConstructor public class SizeClothing extends Size { private String inLabel; }
package com.atguigu.gmall.ums.controller; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Req...
/* * The Gemma project * * Copyright (c) 2009 University of British Columbia * * 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 * ...
/* * 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 * dis...
package io.quarkus.kubernetes.client.deployment; import static io.quarkus.deployment.annotations.ExecutionTime.STATIC_INIT; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.inject.Inject; import org.jboss.jandex.DotName; import org.jboss.jandex.Type; import io.quarkus.arc.deploym...
package com.packtpub.techbuzz.controlers; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import javax.faces.context.FacesContext; import org.apache.log4j.Logger; import com.packtpub.techbuzz.entities.User; /** * @author Siva * ...
package info.mschmitt.githubbrowser.app.qualifiers; import javax.inject.Qualifier; /** * @author Matthias Schmitt */ @Qualifier public @interface ApplicationContext { }
package com.logginghub.messaging_experimental; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import com.logginghub.utils.WorkerThread; public class MessagingServer { public final static int defaultPort = 59771; private int port = defaultPort; private Worker...
package org.zstack.header.volume; import org.springframework.http.HttpMethod; import org.zstack.header.identity.Action; import org.zstack.header.message.APICreateMessage; import org.zstack.header.message.APIParam; import org.zstack.header.message.DefaultTimeout; import org.zstack.header.rest.APINoSee; import org.zstac...
package com.baeldung.rxjava.jdbc; import com.github.davidmoten.rx.jdbc.annotations.Column; public interface Employee { @Column("id") int id(); @Column("name") String name(); }
/** create by system gera-java version 1.0.0 29/09/2016 14:23 : 49*/ package com.econtabil.integration.domain.nfe.model; import com.econtabil.integration.domain.util.model.ModelCosmeDamiao; /** * This class is a representation of an Account (i.e Checking, Savings, etc.). This represents an account for a tran...
/* * Copyright 2019 The gRPC 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 law or agree...
package my.admin.core.service; import java.util.List; import java.util.Map; import org.beetl.sql.core.RowMapper; import org.beetl.sql.core.engine.PageQuery; import org.beetl.sql.core.query.Query; import my.admin.core.model.BaseModel; public interface BaseService<T extends BaseModel> { /* 增 */ int insert(T paras)...
/*------------------------------------------------------------------------------ Copyright (c) CovertJaguar, 2011-2018 http://railcraft.info This code is the property of CovertJaguar and may only be used with explicit written permission unless otherwise specified on the license page at http://railcraft.info/wiki...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
/* * Copyright (C) 2012 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 agreed ...
/* * BrAPI * The Breeding API (BrAPI) is a Standardized RESTful Web Service API Specification for communicating Plant Breeding Data. BrAPI allows for easy data sharing between databases and tools involved in plant breeding. <strong>General Reference Documentation</strong> <a href=\"https://github.com/plantbreeding/...
package interpreter.command; import interpreter.util.Instance; import interpreter.util.Arguments; public abstract class Command { private int line; protected Command(int line) { this.line = line; } public int getLine() { return line; } public abstract void execute(Instance ...
package Lev06; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class RodichiCoty { /* Родственные связи кошек Задача: У каждой кошки есть имя и кошка-мама. Создать класс, который бы описывал данную ситуацию. Создать два объекта: кошку-дочь и кошку-маму. Вывести их...
/* * Copyright (c) 2016 Open Baton (http://www.openbaton.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.dlys.manager; import org.apache.rocketmq.client.producer.DefaultMQProducer; import org.apache.rocketmq.client.producer.SendResult; import org.apache.rocketmq.common.message.Message; /** * RocketMQSendTest. * * @author admin */ public class RocketMQSendTest { public static void main(String[] args) ...
/* * 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 operations; import java.awt.Color; import java.util.HashMap; import java.util.Map; /** * * @author ErginBalta */ public cl...
package com.webank.cmdb.constant; public enum ReferenceType { None("none"), Association("association"), Composition("composition"), Aggregation("aggregation"), Dependence("dependence"); private String code; private ReferenceType(String code) { this.code = code; } public String getCode() ...
package org.github.ezauton.ezauton.utils; import java.util.List; /** * A class for easy binary searches which can potentially result in massive improvements * over sequentially-based searches. * * @param <T> * @deprecated Needs testing!!! */ public class BinarySearch<T> //TODO test { private final List<T> ...
package com.github.silaev.mongodb.replicaset.integration.api; import com.github.silaev.mongodb.replicaset.MongoDbReplicaSet; import com.github.silaev.mongodb.replicaset.core.IntegrationTest; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.juni...
package com.pig4cloud.pig.common.swagger.config; import org.springframework.web.reactive.config.ResourceHandlerRegistry; import org.springframework.web.reactive.config.WebFluxConfigurer; /** * @author lengleng * @date 2020/10/2 * <p> * webflux 网关 swagger 资源路径配置 */ public class WebFluxSwaggerConfiguration impleme...
package hr.fer.OR.database;public class DatabaseManagerImpl { }
/* * 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.jetbrains.research.kotlinrminer.ide.diff; import org.jetbrains.research.kotlinrminer.ide.uml.UMLClass; public class UMLClassMoveDiff extends UMLClassBaseDiff { public UMLClassMoveDiff(UMLClass originalClass, UMLClass movedClass, UMLModelDiff modelDiff) { super(originalClass, movedClass, model...
/* * Copyright © 2021-present Arcade Data Ltd (info@arcadedata.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 requ...
// *************************************************************************************************************************** // * 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 regardi...
package com.fastebro.androidrgbtool.rgb; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.recyclerview.widget.DefaultItemAnimator; import androidx.recyclerview.widget.LinearLayoutManager; import androidx...
package com.xy1m.amplify.model.reference.types; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL)...
package io.paysky.data.model.response; import com.google.gson.annotations.SerializedName; import javax.annotation.Generated; @Generated("com.robohorse.robopojogenerator") public class DateTransactionsItem{ @SerializedName("Status") public String status; @SerializedName("MerchantReference") public String mercha...
package com.pedro.rtsp.rtp.packets; import android.media.MediaCodec; import com.pedro.rtsp.rtp.sockets.RtpSocketTcp; import com.pedro.rtsp.rtp.sockets.RtpSocketUdp; import com.pedro.rtsp.rtsp.Protocol; import com.pedro.rtsp.rtsp.RtspClient; import com.pedro.rtsp.utils.RtpConstants; import java.nio.ByteBuffer; /** * ...
package com.ceiba; import java.io.IOException; import javax.sql.DataSource; import org.flywaydb.core.Flyway; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springfr...
/* * 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. */ import java.util.ArrayList; /** * * @author user */ public class MisplacingBox extends Box{ private ArrayList<Item> items; ...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.google.android.apps.nexuslauncher; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.content.pm.LauncherActivityInfo; im...
/* * Copyright 1999-2021 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 kikaha.core.modules.smart; import io.undertow.server.HttpServerExchange; import java.util.Map; import kikaha.core.url.URLMatcher; import lombok.RequiredArgsConstructor; import lombok.val; @RequiredArgsConstructor public class PathMatcher implements RequestMatcher { final URLMatcher path; @Override publ...
package com.mandmobilern.sample; import android.view.MotionEvent; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. * This is used to schedule rendering of the component. */ @Over...
package com.linkedin.databus2.schemas; /* * * Copyright 2013 LinkedIn Corp. 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/LI...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.boot.model.source.spi; import org.hibernate.boot.model.Ident...
package com.sort; import java.util.Arrays; /** * @author COM-RXT * @date 2021-1-11 */ public class HeapSort { public static void main(String[] args) { int[] list = new int[]{5,3,4,9,2,7,10,7,7,546,1,78,9,2,4,3,5,8,7,4,1,6,2,85,75,1,5,3,4,5}; HeapSort heapSort = new HeapSort(); // ...
/* * Copyright (C) 2015 Alberto Irurueta Carro (alberto@irurueta.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 * * Unles...
/* * 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 * distribute...
package com.pipai.wf.artemis.components; import com.artemis.Component; public class PlayerUnitComponent extends Component { private static int nextIndex; public final int index; public PlayerUnitComponent() { index = nextIndex; nextIndex += 1; } }
package me.earth.phobos.features.modules.combat; import me.earth.phobos.Phobos; import me.earth.phobos.features.modules.Module; import me.earth.phobos.features.setting.Setting; import me.earth.phobos.util.BlockUtil; import me.earth.phobos.util.InventoryUtil; import net.minecraft.block.BlockObsidian; import net.minecra...
package com.gamestation.service; import java.util.ArrayList; import com.gamestation.model.Contact; public interface IContactService { public void addContact(Contact contact); public ArrayList<Contact> getMessages(); public void deleteMessage(String messageID); public ArrayList<String> getMessageID...
/* * Copyright 2012-2017 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.github.roookeee.datus.mutable; import com.github.roookeee.datus.api.Mapper; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Function; import static org.assertj.core.api.Assertions.assertThat; public class Mutab...
/* * Copyright 2012-2017 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 edu.hm.eem_client.view; import android.app.AlertDialog; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.provider.Settings; import android.view.MenuItem; import androidx.annotation.Nullable; import edu.hm.eem_clien...
/* * Copyright (C) 2002-2017 Sebastiano Vigna * * 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...
/* * (C) Copyright 2017-2020 OpenVidu (https://openvidu.io) * * 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 springmvc_example.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "user") public class User { @Id @GeneratedValue(stra...
import com.jme3.bullet.BulletAppState; import com.jme3.light.Light; import com.jme3.math.ColorRGBA; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.system.AppSettings; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class SimulationTest { privat...
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2002-2018 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retai...
package com.google.api.ads.dfp.jaxws.v201505; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * * Gets a {@link CreativeWrapperPage} of {@link CreativeWrapp...
/* * 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 top.imyzt.nio.chat; import java.io.IOException; /** * @author imyzt * @date 2019/5/20 * @description 客户端C */ public class CClient { public static void main(String[] args) throws IOException { NioClient cClient = new NioClient(); cClient.start("C-Client"); } }
public class Main { // main driver method public static void main(String[] args) { System.out.println("\n"); // creating threads Counter incrementThread = new Counter("incrementThread"); Counter decrementThread = new Counter("decrementThread"); // incrementing and decr...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package app.subEvent; import app.core.BaseDao; public interface SubEventDao extends BaseDao<SubEvent, Long>{ Iterable<SubEvent> findAll(Long size, Long page, String text, Long eventId); Long count(String text, Long eventId); }
package com.WazaBe.HoloEverywhere.preference; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; import android.widget.Checkable; import android.widget.CompoundButton; import com.WazaBe.HoloEverywhere.R; import com.WazaBe.HoloEverywhere.w...
package edu.umn.cs.crisys.tb.codegen.common.emitters.Port; import java.util.List; import edu.umn.cs.crisys.tb.codegen.common.emitters.NameEmitter; import edu.umn.cs.crisys.tb.model.port.PortFeature; public interface PortEmitterLinux extends NameEmitter { public abstract String getLinuxAddCommonHFileDeclarations(...
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package org.opensearch.security; import org.opensearch.security.support.ConfigConstants; import org.opensearch.security.test.DynamicSecurityConfig; import org.opensearch.security.test.SingleClusterTest; import org.opensearch.OpenSearchSecurityException; import org.opensearch.action.admin.cluster.health.ClusterHealthRe...