text
stringlengths
7
995k
package com.example.zy_mac.networktest; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test pub...
package com.tabeldata.controller; import com.sun.istack.Nullable; import com.tabeldata.entity.RincianPendapatanEntity; import com.tabeldata.service.RincianPendapatanService; import lombok.extern.slf4j.Slf4j; import net.bytebuddy.implementation.bind.annotation.Empty; import org.springframework.beans.factory.annotation....
package com.wuzhizhan.mybatis.provider; import com.google.common.collect.ImmutableSet; import com.intellij.pom.Navigatable; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiMethod; import com.intellij.psi.PsiWhiteSpace; import com.intellij.psi.xml.XmlAttribute; import co...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.example.devon.securobotmaster.util; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.view.View; import android.view.WindowManager; /** * An API 11+ implementation of {@link SystemUiHider}. Uses APIs available in * Honeycomb and later (specifically...
package com.coolweather.android.db; import org.litepal.crud.DataSupport; // 第二张表:City:市 public class City extends DataSupport { private int id; // 记录市的名字 private String cityName; // 记录市的代号 private int cityCode; // 记录当前所属省的id值 private int provinceId; public int getId() { re...
package com.facebook.p127a; import android.content.Context; import com.facebook.C6787r; import com.facebook.internal.C6709b; import java.util.HashMap; import java.util.Set; /* renamed from: com.facebook.a.h */ /* compiled from: AppEventCollection */ class C6628h { /* renamed from: a */ private final HashMap<...
/* * Copyright (c) 2008-2013, 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 ...
/* * Copyright 2014-2019 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...
/* * Initiator: * Copyright (c) 2012 Dieter Wimberger * http://dieter.wimpi.net * * Maintenance: * Copyright (c) 2019 ASERVO Software GmbH * contact@aservo.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 obta...
package cn.tycoding.biz.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeForma...
package com.jd.health.qa.system.domain; import com.jd.health.qa.common.annotation.Excel; import com.jd.health.qa.common.base.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.Date; /** * 操作日志记录表 s...
/* ### * IP: GHIDRA * * 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 writin...
/* Copyright 2012 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 agreed to in writing, software distr...
package ar.rulosoft.mimanganu; import android.content.Context; import androidx.test.filters.LargeTest; import androidx.test.rule.ActivityTestRule; import org.junit.Rule; import org.junit.Test; import java.io.IOException; import ar.rulosoft.mimanganu.componentes.Chapter; import ar.rulosoft.mimanganu.componentes.Man...
package io.sundr.example; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @Target({ FIELD, METHOD }) @Retention(RUNTIME) ...
// Copyright 2007 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
package com.codepath.todoapp; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.ListVi...
package module0648_public.a; import java.util.logging.*; import java.util.zip.*; import javax.annotation.processing.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo ...
package bingo.odata.expression; public interface ToLowerMethodCallExpression extends MethodCallExpression { Expression getTarget(); }
package com.erikagtierrez.multiple_media_picker.model; import android.graphics.Bitmap; import android.media.Image; import java.io.Serializable; public class FileItem implements Serializable { private int image; private String name; private String path; public FileItem() { } public FileItem...
package com.vinsguru.saga.service; public class WorkflowException extends RuntimeException { public WorkflowException(String message) { super(message); } }
package com.kino.gulimall.ware.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * ¿â´æ¹¤×÷µ¥ * * @author lijinyan * @email jinyanli97@gmail.com * @date 2020-06-11 22:28:1...
package org.jboss.test.arquillian.ce.common; import java.net.URL; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.logging.Logger; import io.restassured.RestAssured; import io.restassured.response.Response; import org.apache.commo...
/* * $Id: UTCCalendar.java,v 1.11 2006/05/05 19:19:38 jeffmc Exp $ * * Copyright 1997-2015 Unidata Program Center/University Corporation for * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307, * support@unidata.ucar.edu. * * This library is free software; you can redistribute it and/or modify it * under ...
/* * Copyright (c) 2006 JMockit developers * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.internal.injection; import java.lang.reflect.*; import java.util.*; import javax.annotation.*; import javax.inject.*; import mockit.internal.reflection.*; import static mockit.inte...
package com.xinlin.app.util.platform.springlog; import javax.annotation.Resource; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Service; import com.xinlin.app.dao.JcdfLogDao; import com.xinlin.app.entity.pojo.J...
package checkers.flow; import java.util.*; import javax.lang.model.element.AnnotationMirror; import checkers.source.SourceChecker; import checkers.types.QualifierHierarchy; import checkers.util.AnnotationUtils; /** * Maintains multiple gen-kill sets, "keyed" by a value. For instance, the * flow-sensitive inferenc...
/* * Copyright (c) 2017 Couchbase, 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...
package org.jabref.gui.journals; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.stream.Collectors; import jav...
/** * 2048, simple text based game * @author Darshan Bhatta * @version 1.0 */ import java.util.Scanner; public class Game { // game board int[][] board; final int COLUMN = 4; final int ROW = 4; // checks to see how far you can adjust 2d array when user selects a certain // move int boundary = 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 * distribut...
package com.appolica.sample.ui.binding; import android.databinding.BindingAdapter; import android.databinding.ObservableField; import android.view.ViewGroup; import android.widget.RadioButton; import android.widget.SeekBar; import com.appolica.sample.ui.editor.pager.settings.NumericTransformer; import com.appolica.sa...
/** * MongoWorkflow.java * * Copyright 2013 President and Fellows of Harvard College * * 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...
package us.kbase.groups.core; import static java.util.Objects.requireNonNull; import java.time.Instant; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import us.kbas...
package com.example.restapi.Model; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by ikbalkazar on 29/11/16. */ public class User { private String username; private String password; private String securityQuestion; private String securityAnswer; public User() {} public...
package fr.inria.spirals.repairnator.realtime; import fr.inria.spirals.repairnator.InputBuild; import fr.inria.spirals.repairnator.realtime.githubapi.commits.GithubAPICommitAdapter; import fr.inria.spirals.repairnator.realtime.githubapi.commits.models.SelectedCommit; import org.apache.commons.io.FileUtils; import org....
/* * The MIT License * * Copyright 2015 https://github.com/SirJacob * * 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...
/* * 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.okta.spring.SpringBootOAuthClient; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import java.security.Principal; @Controller public class WebController { @RequestMapping("/securedPage") public...
package com.ruoyi.aspect; import com.ruoyi.qichengtiyu.domain.QichengtiyuCheckin; import com.ruoyi.qichengtiyu.service.impl.QichengtiyuWxNoticeServiceImpl; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; ...
/** * RModemDao.java 2010/06/25 */ package com.ycsoft.business.dao.resource.device; import org.springframework.stereotype.Component; import com.ycsoft.beans.device.RModem; import com.ycsoft.daos.abstracts.BaseEntityDao; import com.ycsoft.daos.core.JDBCException; /** * RModemDao -> R_MODEM table's operator */ @...
package com.epicodus.adventcalendar; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
package io.automatiko.engine.codegen; import java.util.Comparator; import com.github.javaparser.ast.body.BodyDeclaration; import com.github.javaparser.ast.body.ConstructorDeclaration; import com.github.javaparser.ast.body.FieldDeclaration; import com.github.javaparser.ast.body.MethodDeclaration; public class BodyDec...
/* * Copyright (c) 2009-present, b3log.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 by applicable law or...
/* * 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...
/* * Copyright 2014 NAVER 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 agreed to ...
package edu.stanford.nlp.international.arabic.process; import java.util.Collection; import edu.stanford.nlp.ling.CoreLabel; import edu.stanford.nlp.sequences.SeqClassifierFlags; import edu.stanford.nlp.util.PaddedList; /** * Feature factory for the IOB clitic segmentation model described by * Green and DeNero (201...
/* * Copyright 2019 Jose Montoya * * 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 ...
/* * 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...
package nl.siegmann.ttcsv.util; import java.util.Iterator; import java.util.Spliterator; import java.util.Spliterators; import java.util.stream.Stream; import java.util.stream.StreamSupport; public class StreamUtil { public static <T> Stream<T> toStream(Iterator<T> iterator) { return toStream(iterator, S...
package org.datatransferproject.types.common.models.order; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList; import o...
package org.schema.api.model.thing.action.createAction; import org.schema.api.model.thing.Thing; import org.schema.api.model.thing.intangible.EntryPoint; import org.schema.api.model.thing.intangible.enumeration.ActionStatusType; import org.schema.api.model.thing.organization.Organization; import java.util.Date; publ...
package org.xcolab.client.admin.pojo; public class MockContestType extends ContestType { public MockContestType(long id) { super(id); } public MockContestType(long id, String lang) { super(id, lang); } @Override public String getContestName() { return "Contest"; }...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.search.documents; import com.azure.core.credential.AzureKeyCredential; import com.azure.core.util.Configuration; import com.azure.search.documents.indexes.SearchIndexClient; import com.azure.search.docume...
// 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.fcv.innovacion.dto; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class NurCallMasterDto implements Serializable { private int id; private String ip; private String mac; private String token; private Date fechaRegistro; ...
/* * Copyright (C) 2015 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 io.joamit.inventory.domain.misc; import io.joamit.inventory.domain.BaseDocument; import io.joamit.inventory.domain.part.Part; import io.joamit.inventory.domain.user.User; import org.springframework.data.mongodb.core.mapping.DBRef; import java.util.Date; /** * Represents an entry for stock value of a product...
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
/* Copyright 2009 Ramnivas Laddad 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, softw...
package shcm.shsupercm.fabric.citresewn.mixin.cititem; import net.minecraft.item.ItemStack; import org.spongepowered.asm.mixin.Mixin; import shcm.shsupercm.fabric.citresewn.config.CITResewnConfig; import shcm.shsupercm.fabric.citresewn.pack.cits.CITItem; import java.lang.ref.WeakReference; import java.util.function.S...
// Autogenerated AST node package org.python.antlr.op; import org.python.antlr.base.operator; import org.python.antlr.PythonTree; import org.python.core.Py; import org.python.core.PyObject; import org.python.core.PyUnicode; import org.python.core.PyType; import org.python.expose.ExposedGet; import org.python.expose.Ex...
/* * 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 ...
import java.io.*; import java.util.*; public class sort { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int arr[]=new int[n]; for(int i=0;i<n;i++) { arr[i]=sc.nextInt(); } for (int i = 0; i < n-1; i++) { for (int j = 0; j < n-i-1; j++) { if (arr[j] > arr[j+1...
package no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.ytelse.fp; import no.nav.folketrygdloven.beregningsgrunnlag.regelmodell.ytelse.YtelsesSpesifiktGrunnlag; public class ForeldrepengerGrunnlag extends YtelsesSpesifiktGrunnlag { private boolean erBesteberegnet; public ForeldrepengerGrunnlag(boolean ...
package com.dslplatform.client.json.Text; import com.dslplatform.client.JsonSerialization; import com.dslplatform.patterns.Bytes; import java.io.IOException; public class OneListOfOneTextsDefaultValueTurtle { private static JsonSerialization jsonSerialization; @org.junit.BeforeClass public static void initializeJ...
/** (source: Definitely Typed) */ @jsweet.lang.Name("Reflect") package def.js.reflect;
/* * Copyright 2002-2005 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.freebies.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.freebies.dao.UserDAO; import com.freebies.model.UserInfo; @Service public class UserServiceImpl implements UserService{ @Autowired UserDAO userDAO; @Override ...
package org.targettest.org.apache.lucene.analysis; /** * 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 Apa...
package ilusr.textadventurecreator.views.layout; import java.io.IOException; import java.net.URISyntaxException; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import ilusr.core.ioc.ServiceManager; /** * * @author Jeff Riggle * */ public class LayoutRegistrat...
package com.softwareverde.cryptography.secp256k1.key; import com.softwareverde.constable.bytearray.ByteArray; import com.softwareverde.constable.bytearray.MutableByteArray; import com.softwareverde.util.HexUtil; import org.junit.Assert; import org.junit.Test; public class PrivateKeyTests { @Test public void s...
/* * Copyright (c) 2016, 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.or...
/* * Decompiled with CFR 0.150. * * Could not load the following classes: * net.runelite.mapping.Export * net.runelite.mapping.Implements * net.runelite.mapping.ObfuscatedGetter * net.runelite.mapping.ObfuscatedName */ import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.r...
package com.technoboom.alarmmanager; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public...
package Fila; public class Queue <T> { private QueueNode<T> prim; private QueueNode<T> ult; public boolean isEmpty() { return prim == null; } public boolean isFull () { return false; } public T head () { // exibir o prim. return prim.getInfo(); } ...
package us.kbase.cs.orm.dumpers; import us.kbase.cs.orm.Column; import us.kbase.cs.orm.ColumnType; import us.kbase.cs.orm.Dumper; import java.io.IOException; public class IsInvolvedIn extends Dumper { @Column(name="from_link", type=ColumnType.STRING) private String fromLink; @Column(n...
/** * This file is part of the Iritgo/Aktario Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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 ...
package com.google.cloud.tools.jib.builder.steps; import com.google.cloud.tools.jib.api.RegistryException; import com.google.cloud.tools.jib.builder.ProgressEventDispatcher; import com.google.cloud.tools.jib.configuration.BuildConfiguration; import com.google.cloud.tools.jib.image.json.BuildableManifestTemplate; impor...
/* * Copyright 2019 The JIMDB 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 agr...
/******************************************************************************* * Copyright 2016 Antoine Nicolas SAMAHA * * 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:/...
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.checkout.api.services.charge.request; import java.util.Map; public class BaseChargeInfo{ public BaseChargeInfo(){ } public String description; public String trackId; public String udf1; public String udf2; public String udf3; public String udf4; public String udf5; public Map<String,Strin...
/* * 文件名:Message.java * 描述:单表存储库 * 修改人:刘可 * 修改时间:2021-02-20 */ package com.example.demo.repository; import com.example.demo.entity.*; import com.example.demo.entity.pk.*; import org.springframework.data.jpa.repository.*; import org.springframework.data.repository.query.Param; import org.springframework.transactio...
/** * UNCLASSIFIED * * Copyright 2020 Northrop Grumman Systems Corporation * * 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 right...
package com.alibaba.dubbo.rpc.benchmark; import java.util.concurrent.CountDownLatch; import java.util.concurrent.CyclicBarrier; public class BenchmarkClient extends AbstractBenchmarkClient { @Override public ClientRunnable getClientRunnable(String targetIP, int targetPort, int clientNums, int rpcTimeout, ...
package ru.stqa.software_testing.addressbook.appManager; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.Select; import java.io.File; public class HelperBase { public WebDriver wd; public HelperBase(WebDriver wd) { this.wd = wd; } protected void click(By locator) { wd.findElemen...
package test; import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE; import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; import java.nio.file.FileSystems; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import java.nio.fil...
package com.mykid.platform.common.entity; import org.springframework.http.HttpStatus; import java.util.HashMap; /** * @author MrBird */ public class PlatformResponse extends HashMap<String, Object> { private static final long serialVersionUID = -8713837118340960775L; public PlatformResponse code(HttpStat...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * 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.miguno.ksql.udfdemo.udaf; import io.confluent.ksql.function.udaf.TableUdaf; import io.confluent.ksql.function.udaf.UdafDescription; import io.confluent.ksql.function.udaf.UdafFactory; import org.apache.kafka.connect.data.Schema; import org.apache.kafka.connect.data.SchemaBuilder; import org.apache.kafka.c...
package com.feiqu.system.service; import com.feiqu.system.base.BaseService; import com.feiqu.system.model.FqBackgroundImg; import com.feiqu.system.model.FqBackgroundImgExample; /** * FqBackgroundImgService接口 * created by cwd on 2018/1/11. */ public interface FqBackgroundImgService extends BaseService<FqBackgroundImg...
package com.batch.android.inbox; enum FetcherType { INSTALLATION(0), USER_IDENTIFIER(1); private int value; FetcherType(int value) { this.value = value; } public int getValue() { return value; } public String toWSPathElement() { switch (this) { case INSTALLATION: default: ...
/* * Copyright (C) 2020 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 applicable ...
/* * Copyright 2014 - 2020 Rafael Winterhalter * * 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 la...
package be.rommens.hera.autoconfigure; import be.rommens.hera.api.Provider; import be.rommens.hera.api.service.ScraperFactory; import be.rommens.hera.api.service.ScraperFactoryImpl; import be.rommens.hera.core.Scraper; import be.rommens.hera.core.ScrapingConfig; import be.rommens.hera.core.ScrapingConfigParams; import...
/** * Copyright 2016 Marcel Piestansky (http://marpies.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 appl...