text
stringlengths
7
995k
/* * Datart * <p> * Copyright 2021 * <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> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law ...
/* * 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.jetco.shop.util.json; import cn.hutool.core.date.DatePattern; import com.google.common.reflect.TypeToken; import com.google.gson.FieldNamingPolicy; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.List; import java.util.Map; /** * <p> * Gson是Google公司发布的一个开发源码的Java库,可用于将...
package com.farmerworking.db.rabbitDb.impl; import com.farmerworking.db.rabbitDb.api.FilterPolicy; import com.farmerworking.db.rabbitDb.impl.utils.Hash; import java.util.Arrays; import java.util.List; public class BloomFilterPolicy implements FilterPolicy { private final int bitsPerKey; private int k; p...
package tn.zelda.projects.microservice.ordermicroservice.domain; import java.io.Serializable; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinCol...
package com.yuganji.generator.output.sparrow; import com.yuganji.generator.configuration.ApplicationContextProvider; import com.yuganji.generator.queue.QueueService; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.Socke...
/******************************************************************************* * Copyright (c) Contributors to the Eclipse 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 *...
package com.jarvis.cache; import com.jarvis.cache.annotation.Cache; import com.jarvis.cache.aop.CacheAopProxyChain; import com.jarvis.cache.to.AutoLoadConfig; import com.jarvis.cache.to.AutoLoadTO; import com.jarvis.cache.to.CacheKeyTO; import com.jarvis.cache.to.CacheWrapper; import lombok.extern.slf4j.Slf4j; import...
package com.swoqe.newsstand.model.services.abstractions; import com.swoqe.newsstand.model.domain.User; public interface UserService extends CrudService<User> { }
package com.pedro.encoder.input.gl.render; import android.content.Context; import android.graphics.SurfaceTexture; import android.opengl.GLES11Ext; import android.opengl.GLES20; import android.opengl.Matrix; import android.os.Build; import android.support.annotation.RequiresApi; import android.view.Surface; import com...
/**************************************************************** * 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...
/* * Copyright 2017-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package dssc.assignment.cribbage.exceptions; public class IncorrectNumberOfCardsException extends Exception { public IncorrectNumberOfCardsException(String message) { super(message); } }
/** * This package extends classes from ec/gp to include ALPS * * @author Anthony Awuley * */ package ec.alps.gp;
package trivially.ep.m5; import trivially.ep.m5.finalized.Lit; import util.Node; import util.Tree; public interface Divd extends Exp, trivially.ep.m4.Divd { Exp getLeft(); Exp getRight(); default Tree astree() { return new Node(this.id(), this.getLeft().astree(), this.getRight().astree()); }...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Licensed to 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 (C) 2016 Square, 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 2013 Andreas Oehlke * * 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.apac...
/* * 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.craxiom.networksurveyplus.ui.home; import android.location.Location; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.craxiom.networksurveyplus.IServiceStatusListener; import com.craxiom.networksurveyplus.ServiceStatusMessage; ...
/* * 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 ...
/* * 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 not u...
package com.ke.css.cimp.ffr.ffr3; /* ----------------------------------------------------------------------------- * Rule_MId_PID.java * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Fri Feb 23 14:11:44 KST 2018 * * --------...
/** * Package: MAG - VistA Imaging WARNING: Per VHA Directive 2004-038, this routine should not be modified. Date Created: Nov, 2009 Site Name: Washington OI Field Office, Silver Spring, MD Developer: vhaiswlouthj Description: DICOM Study cache manager. Maintains the cache of study instances and...
/* * 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 se.liu.ida.hefquin.engine.data.utils; import org.junit.Test; import se.liu.ida.hefquin.engine.data.SolutionMapping; import java.util.*; import static org.junit.Assert.*; public class SolutionMappingsIterableWithOneVarFilterTest extends TestsForSolutionMappingsIterableWithFilter { @Test public void su...
package p15; //: c15:Queue.java // Demonstration of Design by Contract (DBC) combined // with white-box unit testing. // {Depends: junit.jar} // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002 // www.BruceEckel.com. See copyright notice in CopyRight.txt. import junit.framework.*; import java.util.*; public class...
/* * 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 ...
namespace WordpressAutomation { public class LeftNavigation { public class Posts { public class AddNew { public static void Select() { MenuSelector.Select("menu-posts", "Add New"); } } ...
/* * Copyright (C) 2011 in-somnia * * This file is part of JAAD. * * JAAD is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 3 of the * License, or (at your option) any la...
/** * 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 de.struckmeierfliesen.ds.wochenbericht; import android.content.Context; import android.content.SharedPreferences; import org.apache.pdfbox.exceptions.COSVisitorException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.edit.PDPageContentSt...
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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 n...
package net.specialattack.forge.discotek.sound; import java.nio.IntBuffer; import org.lwjgl.BufferUtils; import org.lwjgl.openal.AL10; import paulscode.sound.Channel; import paulscode.sound.SoundSystemException; import paulscode.sound.libraries.ChannelLWJGLOpenAL; import paulscode.sound.libraries.LibraryLWJGLOpenAL; ...
package org.zstack.sdk; public class AutoScalingRuleSchedulerJobTriggerInventory extends org.zstack.sdk.AutoScalingRuleTriggerInventory { public java.lang.String schedulerJobUuid; public void setSchedulerJobUuid(java.lang.String schedulerJobUuid) { this.schedulerJobUuid = schedulerJobUuid; } ...
package br.com.salon.carine.lima.security; import org.springframework.security.crypto.bcrypt.BCrypt; import org.springframework.stereotype.Component; import br.com.salon.carine.lima.models.Usuario; @Component public class BCriptyHashImpl implements BcriptyHash { @Override public Usuario usuarioEncripty(Usuario us...
package io.ebean.migration; import io.ebean.migration.runner.LocalMigrationResource; import io.ebean.migration.runner.LocalMigrationResources; import io.ebean.migration.runner.MigrationPlatform; import io.ebean.migration.runner.MigrationSchema; import io.ebean.migration.runner.MigrationTable; import org.slf4j.Logger; ...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
/** * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). * <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> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Un...
package com.dwarfeng.subgrade.sdk.hibernate.criteria; import org.hibernate.criterion.DetachedCriteria; /** * 预设 Criteria 制造器。 * <p>根据预设名称与预设对象构造Criteria。</p> * * @author DwArFeng * @since 0.0.3-beta */ public interface PresetCriteriaMaker { /** * 制造Criteria。 * * @param criteria 指定的Criteria。 ...
/* * Copyright (c) 2020 Works Applications Co., 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 chap05.JDBC; //public class test { // public static void main(String[] args) throws Exception { // UserDao userDao = new UserDaoImpl(); // boolean flag = userDao.login(0, "大炮", "123456");//登录 // System.out.println(flag); // // userDao.register(1, "pppp", "12345678");//注册 // ...
package com.twosheds.pi; 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() { super(A...
/** * Copyright (c) 2011-2020, hubin (jobob@qq.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 applicable ...
package com.qiwenshare.common.util; import org.apache.http.HttpEntity; import org.apache.http.HttpHeaders; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.entity.UrlEn...
/* Copyright (c) 2016 Robert Atkinson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: Redistributions of source code must retain the above copyright...
/** * 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.lazaronixon.rnturbolinks.util; import android.content.Context; import android.os.Build; import android.support.annotation.RequiresApi; import android.util.AttributeSet; import android.view.View; import android.widget.FrameLayout; import com.basecamp.turbolinks.TurbolinksSession; import com.basecamp.turbol...
package com.iflytek.gulimall.member.service; import com.baomidou.mybatisplus.extension.service.IService; import com.iflytek.gulimall.common.utils.PageUtils; import com.iflytek.gulimall.member.entity.MemberCollectSubjectEntity; import java.util.Map; /** * 会员收藏的专题活动 * * @author rclin * @email rclin@iflytek.com * ...
package com.jww.quartz.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableName; import com.jww.common.core.base.BaseModel; import lombok.Data; import org.hibernate.validator.constraints.NotBlank; /** * 定时器 * * @author czx * @email object_czx@163.com * ...
package za.co.enigma.turing.mda.model.ea.bridge.jpa; import javax.ejb.Stateless; import javax.inject.Inject; import javax.persistence.EntityManager; import model.TSecuserpermission; import za.co.enigma.turing.mda.jpa.crud.CrudDAOService; @Stateless public class SecuserpermissionDAO extends CrudDAOService<TSecuserpe...
package com.vrv.example.client; import com.vrv.example.base.thrift.UserService; import com.vrv.framework.client.annotation.VoaService; /** * @author chenlong * @date 2021/9/9 17:57 */ @VoaService(value="user",version="1.0") public interface IUserService extends UserService.Iface{ }
package com.skytala.eCommerce.domain.login.relations.securityPermission.mapper; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.ofbiz.entity.GenericValue; import com.skytala.eCommerce.domain.login.re...
/* Copyright 2004-2012, Martian Software, 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 agree...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package com.liyongquan.array; import java.util.Stack; /** * 给定一个含有 M x N 个元素的矩阵(M 行,N 列),请以对角线遍历的顺序返回这个矩阵中的所有元素,对角线遍历如下图所示。 * <p> *   * <p> * 示例: * <p> * 输入: * [ * [ 1, 2, 3 ], * [ 4, 5, 6 ], * [ 7, 8, 9 ] * ] * <p> * 输出: [1,2,4,7,5,3,6,8,9] * <p> * 来源:力扣(LeetCode) * 链接:https://leetcode-cn.com/probl...
package DEFAULT.api; import DEFAULT.ApiException; import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * API tests for WalletsApi */ public class WalletsApiTest { private final WalletsApi api = new WalletsApi(); /** * Get ...
/* * Copyright © 2020 Cask Data, 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 t...
package com.mato.sdk.g.a; public abstract class c implements Runnable { protected abstract long a(); protected abstract void b(); protected abstract long c(); public void run() { b(); } } /* Location: /Users/gaoht/Downloads/zirom/classes2-dex2jar.jar!/com/mato/sdk/g/a/c.class ...
/* ### * 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...
/*- * ========================LICENSE_START================================= * io.openslice.sol005nbi.osm5 * %% * Copyright (C) 2019 openslice.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 t...
package io.jpom.permission; import cn.hutool.core.comparator.PropertyComparator; import cn.hutool.core.util.StrUtil; import cn.jiangzeyin.common.DefaultSystemLog; import cn.jiangzeyin.common.spring.SpringUtil; import cn.jiangzeyin.controller.base.AbstractController; import com.alibaba.fastjson.JSONArray; import com.al...
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2014.02.17 um ...
package g0201_0300.s0202_happy_number; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.jupiter.api.Test; class SolutionTest { @Test void isHappy() { assertThat(new Solution().isHappy(19), equalTo(true)); } }
package com.sequenceiq.cloudbreak.converter; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.controller.json.CredentialRequest; import com.sequenceiq.cloudbreak.controller.validation.GcpCredentialParam; import com.sequenceiq.cloudbreak.domain.GcpCredential; @Component public class J...
package model.callsAndExceptions.exceptions; import javax.swing.*; public class NoFileChooseExceptionCall extends Exception { public NoFileChooseExceptionCall() { } //EFFECTS: Shows JOptionPane.showConfirmDialog in case of an exception if the user does not choose in JFileChooser // any file for open...
/** * Copyright 2015-2016 The OpenZipkin 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 ...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, 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 // // http:/...
/*------------------------------------------------------------------------------ Copyright (c) CovertJaguar, 2011-2019 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...
/* * Created on Apr 13, 2005 * */ package aima.test.learningtest; import junit.framework.Test; import junit.framework.TestSuite; import aima.test.learningtest.neural.AllNeuralTests; /** * @author Ravi Mohan * */ public class LearningTests { public static Test suite() { TestSuite suite = new TestSuite(); ...
/* Copyright 2020 The OpenTracing 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...
package zh.codegym.task.task19.task1920; /* 首富 */ import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.*; public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new FileReader(args[0...
/* * 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 n...
/* * Copyright 2015-2021 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package simpledb; import java.io.IOException; /** * Inserts tuples read from the child operator into the tableId specified in the * constructor */ public class Insert extends Operator { private static final long serialVersionUID = 1L; private final int tableId; private OpIterator[] children; priv...
/** * */ package com.lq.plat.link.aspect; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author 李强 * @version 1.0.0 * @date 2017/8/15 */ @Target({Elem...
package com.dsi.parallax.ml.classifier.lazy; import com.dsi.parallax.ml.classifier.ClassifierEvaluation; import com.dsi.parallax.ml.classifier.Classifiers; import com.dsi.parallax.ml.util.option.Configuration; import com.dsi.parallax.ml.util.option.OptionSet; import org.apache.commons.cli.ParseException; import java....
package alliance.dbaccess; import static org.junit.Assert.*; import java.sql.Date; import java.sql.Time; import javax.sql.DataSource; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.springframework.context.support.ClassPat...
package org.sunbird.user; import static akka.testkit.JavaTestKit.duration; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import akka.testkit.javadsl.TestKit; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map...
package com.paragon_software.about_manager; import android.app.Activity; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.paragon_software.dictionary_manager.Dictionary; import com.paragon_software.native_engine.EngineVersion; import java.util.List; ...
package org.woehlke.computer.kurzweil.tabs.simulatedevolution.model.population; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import lombok.extern.java.Log; import org.woehlke.computer.kurzweil.tabs.simulatedevolution.SimulatedEvolution; import org.woehlke.computer.kurzweil.tabs.simula...
package lucius.justtest.java.concurrency.chapter6.exp1; import java.util.concurrent.ConcurrentLinkedDeque; /** * Created by Lucius on 9/7/18. */ public class AddTask implements Runnable { private ConcurrentLinkedDeque<String> list; public AddTask(ConcurrentLinkedDeque<String> list) { this.list = li...
package com.example.demo; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.context.embedded.LocalServerPort; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest.WebE...
/** * Copyright (c) 2017-2018, the Alpha Team. * All rights reserved. * * Additional changes made by Siemens. * * 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 th...
/* * Copyright 2020 OPPO ESA Stack 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 applicable law or...
/* * Copyright 2018 EMBL - European Bioinformatics Institute * * 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 b...
/* * 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...
/* * SoapUI, Copyright (C) 2004-2016 SmartBear Software * * Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Li...
package com.hd.stepbar; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; /** * Created by hd on 2017/12/29 . * set the state of each step */ public class StepBarBean { /** * 失败后的图标 */ private...
/* * 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...
/* * The MIT License (MIT) * * * 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, copy, modify, merge, publish, dist...
/** * 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 local.sierraog.compflow.handlers; import local.sierraog.compflow.exceptions.IncorrectInputTypeException; import local.sierraog.compflow.exceptions.InputOutOfBoundsException; import local.sierraog.compflow.models.ErrorDetail; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
package com.squareup.picasso; import android.content.Context; import android.net.Uri; import android.net.http.HttpResponseCache; import android.os.Build.VERSION; import com.squareup.picasso.Downloader.Response; import com.squareup.picasso.Downloader.ResponseException; import humanize.util.Constants; import java.io.Fil...
/* * Copyright (c) 2011-2020 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
package seedu.finance.logic.parser; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; public class ArgumentTokenizerTest { private final Prefix unknownPrefix =...
package de.tum.in.www1.artemis.hestia.behavioral; import static org.assertj.core.api.Assertions.assertThat; import java.util.HashSet; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.springframework.be...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...