text
stringlengths
7
995k
package alien4cloud.application; import java.util.Date; import java.util.UUID; import javax.annotation.Resource; import alien4cloud.model.deployment.Deployment; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.sp...
package mage.cards.c; import java.util.UUID; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.effects.ContinuousRuleModifyingEffectImpl; import mage.abilities.effects.common.ChooseACardNameEffect; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.cards.CardIm...
/* * Copyright 2005--2008 Helsinki Institute for Information Technology * * This file is a part of Fuego middleware. Fuego middleware is free software; you can redistribute * it and/or modify it under the terms of the MIT license, included as the file MIT-LICENSE in the * Fuego middleware source distribution. If ...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v3/errors/date_error.proto package com.google.ads.googleads.v3.errors; /** * <pre> * Container for enum describing possible date errors. * </pre> * * Protobuf type {@code google.ads.googleads.v3.errors.DateErrorEnum} */ ...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
/******************************************************************************* * Copyright 2019 Fabrizio Pastore, Leonardo Mariani, and other authors indicated in the source code below. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance...
package com.examples; import io.improbable.keanu.vertices.VertexId; import io.improbable.keanu.vertices.dbl.KeanuRandom; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api...
package club.nowmozilla.ec_senior.service; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.media.MediaPlayer; import android.os.IBinder; import android.os.Vibrator; import androidx.annotation.N...
package com.g2forge.enigma.web.html.model.svg; import java.util.Arrays; import java.util.Collection; import com.g2forge.enigma.web.html.convert.HTMLField; import com.g2forge.enigma.web.html.convert.IReflectiveHTMLElement; import com.g2forge.enigma.web.html.model.html.IBodyElement; import lombok.Builder; import lombo...
//,temp,sample_9288.java,2,9,temp,sample_9292.java,2,9 //,2 public class xxx { private void handleAccessRequest(HttpServletRequest req, HttpServletResponse resp, long vmId) { VirtualMachine vm = _vmMgr.findById(vmId); if (vm == null) { log.info("vm does not exist sending blank response for console access request"); }...
/* * Copyright (C) 2012 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 ...
package com.wrapper.spotify.model_objects.special; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.google.gson.JsonObject; import com.wrapper.spotify.model_objects.AbstractModelObject; /** * Retrieve information about Snapshot Result objects by building instances from this class. These o...
package org.jujubeframework.jdbc.base.jpa.strategy; import org.jujubeframework.jdbc.base.jpa.JpaBaseDaoSupport; import org.jujubeframework.jdbc.base.spec.Spec; import org.jujubeframework.jdbc.base.util.JdbcPojos; import org.jujubeframework.jdbc.base.util.Strings; import org.jujubeframework.jdbc.base.jpa.entity.RecordE...
package com.esgst; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.soloader.SoLoader; import java.lang.reflect.Invoca...
/* * 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.kubeflow.arena.utils; import io.kubernetes.client.ApiClient; import io.kubernetes.client.Configuration; import io.kubernetes.client.util.KubeConfig; import io.kubernetes.client.util.ClientBuilder; import java.util.concurrent.TimeUnit; import java.io.FileReader; import java.io.IOException; public cl...
package worker; import java.sql.*; import org.json.JSONObject; import com.ibm.websphere.objectgrid.ClientClusterContext; import com.ibm.websphere.objectgrid.ConnectException; import com.ibm.websphere.objectgrid.ObjectGrid; import com.ibm.websphere.objectgrid.ObjectGridException; import com.ibm.websphere.objectgrid.Obj...
package com.aliyun.ros.cdk.ess; /** * A ROS template type: `ALIYUN::ESS::ScheduledTask`. */ @javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:57.948Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.ess.$Module.class, fqn = "@alicloud/ros-cdk-ess.RosScheduled...
package org.kritikal.fabric.net.http; import org.apache.commons.codec.net.URLCodec; import java.util.HashMap; import java.util.Map; /** * Created by ben on 4/13/16. */ public class FormHelper { public static Map<String, String> getQueryMap(String query) { URLCodec codec = new URLCodec(); Ma...
package com.apigee.entities; 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() { sup...
package com.aperez.apps.androidfunwithflags; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class NUNEZ_Registro extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.l...
package com.hisense.hiatmp.asn.v2x.MsgFrame; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.IOException; /** * @author zhangyong * @date 2020/12/17 13:49 */ public class MotionConfidenceSetTest { @Test public void per_decode() throws IOException { byte[] decodeBytes =...
package org.apereo.cas.web.flow; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apereo.cas.gua.api.UserGraphicalAuthenticationRepository; import org.apereo.cas.services.UnauthorizedServiceException; import org.apereo.cas.util.EncodingUti...
package lumien.randomthings.block; import java.util.List; import lumien.randomthings.item.block.ItemBlockPlatform; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockStateContainer; im...
package com.vaadin.tests.requesthandlers; import org.junit.Assert; import org.junit.Test; import com.vaadin.testbench.elements.LinkElement; import com.vaadin.tests.tb3.MultiBrowserTest; public class AppResource404Test extends MultiBrowserTest { @Test public void testOpenExistingResource() throws Exception { ...
package com.youche.redis.service; import com.youche.redis.model.User; import lombok.extern.log4j.Log4j2; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CachePut; import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Service; i...
/* * Copyright 2016 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 app...
/* * Copyright 2004 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 law or ...
package net.demilich.metastone.game.cards.concrete.tokens.neutral; import net.demilich.metastone.game.cards.MinionCard; import net.demilich.metastone.game.cards.Rarity; import net.demilich.metastone.game.entities.heroes.HeroClass; import net.demilich.metastone.game.entities.minions.Minion; public class BaineBloodhoof...
package xyz.nhatbao.ninetour.entity; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; import lombok.ToString; import org.hibernate.Hibernate; import org.hibernate.annotations.SQLDelete; import org.hibernate.annotations.Where; import javax.persistence.Column; import javax.persistence....
package com.merakianalytics.orianna.types.core.status; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableMap; import com.merakianalytics.or...
package hibernatePark.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToMany; import java.util.HashSet; import java.util.Set; @Entity public class Bus { @Id @GeneratedValue private Long id; private String number...
/* * Copyright 2000-2016 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...
package com.baeldung.spring.validator; import com.baeldung.spring.form.Person; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; @Component public class PersonValidator ...
/* * ****************************************************************************** * * Copyright 2015 See AUTHORS file. * * * * 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 * ...
/* * (C) Copyright IBM Corp. 2021, 2021 * * SPDX-License-Identifier: Apache-2.0 */ package org.alvearie.dream.intent.nlp.text.processors; import java.util.Map.Entry; import org.alvearie.dream.intent.nlp.text.Document; import org.alvearie.dream.intent.nlp.text.DocumentVectorizer; import org.alvearie.dream.intent....
package dev.jozefowicz.springsecurity.permissionevaluator.configuration; import dev.jozefowicz.springsecurity.permissionevaluator.model.Project; import dev.jozefowicz.springsecurity.permissionevaluator.model.ProjectPermissionType; import org.springframework.security.access.PermissionEvaluator; import org.springframewo...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/***************************************************************************** * * 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 th...
package com.ooad.xproject.entity; public class RoleGroup { private Integer rgpId; private Integer roleId; private String groupName; private String description; public Integer getRgpId() { return rgpId; } public void setRgpId(Integer rgpId) { this.rgpId = rgpId; } ...
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
package org.jahia.se.modules.edp.dam.widen.edp; import org.jahia.exceptions.JahiaInitializationException; import org.jahia.modules.external.ExternalContentStoreProvider; import org.jahia.modules.external.ExternalProviderInitializerService; import org.jahia.se.modules.edp.dam.widen.service.WidenMountPointService; import...
/* * 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 ...
package info.xiaomo.core.network.mina.code; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.apache.mina.http.api.HttpResponse; import org.apache.mina.http.api.HttpStatus; import org.apache.mina.http.api.HttpVersion; import...
/** * Copyright 2019 Pivotal Software, Inc. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applica...
/* Copyright 2004 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 ...
package com.jeffchen.coolweather.model; /** * Created by JeffChen on 2016/4/9. */ public class Province { private int id; private String provinceName; private String provinceCode; public int getId() { return id; } public void setId(int id) { this.id = id; } public ...
/* * 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.mmo.engine.io.netty.script; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.socket.SocketChannel; import org.mmo.engine.script.IScript; import org.mmo.engine.script.IInitScript; /** * netty channel,handler脚本 * @author JiangZhiYong * @date...
package com.gmall.list; import io.searchbox.client.JestClient; import io.searchbox.core.Search; import io.searchbox.core.SearchResult; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; impo...
package Radix_Sort; import java.util.*; public class Buckets<X> implements IBuckets<X> { // Purpose: to create a new ArrayList private List<IBucket<X>> B; //Purpose: Creates a new array list of Buckets with the given number of buckets. //Effect: adds new bucket(s) to the Buckets list. //Assumption: Size == siz...
/* * Copyright 2018-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
package uk.gov.hmcts.reform.finrem.caseorchestration.mapper; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import uk.gov.hmcts.reform.ccd.client.model.CaseDetails; import uk.gov.hmcts.reform.finrem.caseorchestration.BaseServiceTest; import uk.gov.hmcts.r...
/* * 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.binarywang.wxpay.service.impl; import java.io.File; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; ...
package com.frameworkset.sqlexecutor; import java.util.HashMap; import org.junit.Test; import com.frameworkset.common.poolman.ConfigSQLExecutor; import com.frameworkset.util.ListInfo; /** * * <p>Title: ApplyService.java</p> * * <p>Description: 分页查询功能实例(针对新的分页接口进行测试) * 3.6.0之后的版本ConfigSQLExecutor/SQLExecutor/Pr...
package com.yiran.member.mapper; import com.yiran.member.domain.MemberTrVerifyEntity; import java.util.List; import org.apache.ibatis.annotations.Param; /** * 认证实体 数据层 * * @author yiran * @date 2019-03-30 */ public interface MemberTrVerifyEntityMapper { /** * 查询认证实体信息 * * @param verifyEntity...
package com.yylm.fcs.languanges.enumeration; /** * * All enums implicitly extend java.lang.Enum. * */ public enum Planet { /** * enum类型是一种特殊的类,实例字段都是自身类型的常量 * * <pre> public static final com.yylm.fcs.languanges.enumeration.Planet MERCURY; descriptor: Lcom/yylm/fcs/languanges/enumeration/Planet; ...
/* * 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.envers.configuration.internal.metadata.reader; import java.l...
/** * Copyright (C) 2010-2012 eBusiness Information, Excilys Group * * 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) 2010-2014 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (c) 2011, salesforce.com, inc. * All rights reserved. * Redistribution and use of this software in source and binary forms, with or * without modification, are permitted provided that the following conditions * are met: * - Redistributions of source code must retain the above copyright notice, this...
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
package com.dataprice.model.crawlers.utils; public class Regex { /** * Demo */ public final static String SUPLEMENTOSFITNESS_ID = ""; public final static String SUPLEMENTOSFITNESS_NAME = "<h1 class=\"product-title entry-title\">(.*?)</h1>"; public final static String SUPLEMENTOSFITNESS_DESCRIPTION = "class=\"...
/* * Copyright 2021, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPR...
package com.mbppower; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ImageFormat; import android.graphics.M...
/* * ICARUS2 Corpus Modeling Framework * Copyright (C) 2014-2022 Markus Gärtner <markus.gaertner@ims.uni-stuttgart.de> * * 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://w...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.02.23 at 07:53:5...
/* * Copyright 2015 Open Networking Laboratory * * 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 com.suman.euler.problem; /** * The Interface EulerProblem. */ public interface EulerProblem { /** * Execute soultion. * * @return the object */ public Object executeSoultion(); }
/* * Copyright 2002-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...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Copyright © Microsoft Open Technologies, 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 * * THIS ...
/* * 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...
package com.goodstuff.mall.db.domain; import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.Arrays; public class LitemallCart { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table litemall_cart * ...
package tl.gp; import java.io.File; import java.io.IOException; import java.nio.file.Path; import ec.EvolutionState; import ec.gp.GPFunctionSet; import ec.gp.GPNode; import ec.gp.GPNodeParent; import ec.gp.GPType; import ec.gp.koza.HalfBuilder; import ec.util.Parameter; import tl.knowledge.KnowledgeExtractionMethod; ...
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.mcwonders.uikit.contact.core.query; import android.text.TextUtils; public final class TextSearcher { /** T9 */ private boolean mT9; /** string */ private String mStr; // // string state // /** string index */ private int mIndex; /** eaten state */ private boolean mEaten; // // PinYin ...
package org.tensorflow.demo; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.RectF; import android.os.Trace; import org.tensorflow.demo.env.Logger; import org.tensorflow.demo.env.SplitTimer; import java.util.ArrayList; import java.util.Comparator; import java.util.Lis...
package com.liangmayong.base.basic.flow.interfaces; import com.liangmayong.base.basic.flow.FlowBaseFragment; import com.liangmayong.base.basic.flow.stack.StackManager; /** * IStack * * @author LiangMaYong * @version 1.0 */ public interface IFlow { /** * getLastFragment * * @return visible ...
/* * Copyright 2016 René Perschon <rperschon85@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
// Copyright 2018-2021 Polyaxon, 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 agre...
/* * Copyright 2015-2018 _floragunn_ 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 ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v2/common/criteria.proto package com.google.ads.googleads.v2.common; /** * <pre> * A placement criterion. This can be used to modify bids for sites when * targeting the content network. * </pre> * * Protobuf type {@code ...
/* * 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.cg.spring.boot.demo.controller; import java.time.LocalDate; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.spr...
/* Copyright (c) 2006, University of Oslo, Norway * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, thi...
/** * Automatically generated file. DO NOT MODIFY */ package org.reactnative.maskedview; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "org.reactnative.maskedview"; public static final String BUILD_TYPE = "debug"; ...
package us.ihmc.wholeBodyController.diagnostics; import java.util.List; import us.ihmc.mecano.multiBodySystem.interfaces.OneDoFJointBasics; public interface JointTorqueOffsetEstimator { public List<OneDoFJointBasics> getOneDoFJoints(); public double getEstimatedJointTorqueOffset(OneDoFJointBasics joint); ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* Copyright 2017 Sven Stoll. All rights reserved. Licensed under the MIT License. See LICENSE file in the project root for full license information. */ package ch.svenstoll.similarityfinder.domain; import org.apache.commons.lang3.Validate; /** * A runtime exception that can be used to indicate that too many...
package utilities; public class Timer{ public static void main(String[] args){ Timer t = new Timer().start(); for(int i = 0; i<100; i++); t.stop(); System.out.println(t); } private long start, end; private boolean isStop, isStart; public void setStart(long start){ ...
/* * 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...
/* * Copyright 2020 ConsenSys AG. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
package com.apollographql.apollo; import com.apollographql.apollo.api.Mutation; import com.apollographql.apollo.api.Operation; import com.apollographql.apollo.api.OperationName; import com.apollographql.apollo.api.Query; import com.apollographql.apollo.api.ScalarType; import com.apollographql.apollo.api.Subscription; ...
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
package basic; import java.util.regex.Matcher; import java.util.regex.Pattern; public class RegexBasic { public static void main(String[] args) { String regex = "(\\d{2})(\\d)"; // 调用静态方法将整个串与模式进行匹配 System.out.println(Pattern.matches(regex, "123")); // 通过成员方法...
package io.github.zeleven.scallop.ui.modules.search; import java.util.List; import io.github.zeleven.scallop.data.model.GanHuo; import io.github.zeleven.scallop.ui.base.BaseContract; public interface SearchContract { interface View extends BaseContract.View { void closeKeyboard(); void showNoResu...
package org.approvaltests.namer; import java.io.File; import com.spun.util.tests.StackTraceReflectionResult; import com.spun.util.tests.TestUtils; public class StackTraceNamer implements ApprovalNamer { private StackTraceReflectionResult info; public StackTraceNamer() { info = TestUtils.getCurrentFileForMe...