text
stringlengths
7
995k
package me.zhengjie.modules.sgmw.rest; import cn.hutool.core.collection.CollectionUtil; import com.fasterxml.jackson.databind.ObjectMapper; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import me.zhengjie.annotation.Log; import me.zhengjie.base.Ba...
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
/* * 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 me.nunum.whereami.model; import java.io.Serializable; @SuppressWarnings("SameParameterValue") public class LocalizationStats implements Serializable { private Long samples; private Integer numberOfTrainedModels; private Integer positions; public LocalizationStats() { this(0L, 0, 0)...
package com.ldddd.spring.spring1.property; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestIOC { @Test public void testUser() { // 1 加载spring配置文件,根据创建对象 ApplicationContext context = new Cla...
package com.intellij.ide.browsers; import com.intellij.icons.AllIcons; import com.intellij.ide.IdeBundle; import com.intellij.ide.browsers.chrome.ChromeSettings; import com.intellij.ide.browsers.firefox.FirefoxSettings; import com.intellij.openapi.util.Iconable; import com.intellij.openapi.util.SystemInfo; import org....
/* * 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.mysiteforme.admin.controller.system; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.plugins.Page; import com.google.common.collect.Maps; import com.mysiteforme.admin.annotation.SysLog; import com.mysiteforme.admin.base.BaseContr...
package neuralnet.regularizers; import org.jblas.DoubleMatrix; /** * Adds L1 regularization to a hidden layer (simply layer). * * @author ramusa2 * */ public class L1Regularizer extends Regularizer { @Override public DoubleMatrix regularize(DoubleMatrix mat, double learningRate) { for(int i=0; i<mat.data.l...
/** * Java WordNet Library (JWNL) * See the documentation for copyright information. */ package rita.wordnet.jwnl.dictionary.file; import java.util.Arrays; import java.util.Collections; import java.util.List; import rita.wordnet.jwnl.JWNL; import rita.wordnet.jwnl.util.Resolvable; import rita.wordnet.jwnl.wndata....
package com.haryadi.trigger; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; public class SplashActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved...
package com.coolweather.android.db; import org.litepal.crud.DataSupport; /** * Created by Shinelon on 2019/10/23. */ public class City extends DataSupport { private int id; private String cityName; private int cityCode; private int provinceId; public void setProvinceId(int provinceId) { ...
package br.com.laercioskt.views.masterdetail; import org.springframework.beans.factory.annotation.Autowired; import br.com.laercioskt.backend.BackendService; import br.com.laercioskt.backend.Employee; import com.vaadin.flow.component.AbstractField; import com.vaadin.flow.component.button.Button; import com.vaadin.flow...
package com.taoyuanx.ca.core.exception; /** * @author 都市桃源 * 2018年6月17日下午6:40:44 */ public class CertException extends Exception { /** * */ private static final long serialVersionUID = 8250692513033055564L; public CertException(String message, Throwable cause) { super(message, cause); } public CertEx...
package asl.sensor.experiment; import static asl.sensor.experiment.OrientedSineExperiment.AMP_CUTOFF; import static asl.sensor.experiment.OrientedSineExperiment.FREQ_CUTOFF; import static java.lang.Math.abs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import asl.sensor.inpu...
package android.widget; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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.a...
/* * Copyright 2017-2022 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...
// Copyright 2016 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 2020 Google 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright 2013-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package com.cgfix.japi.model.audit; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.springframework.data.annotation.CreatedBy; import org.springframework.data.annotation.LastModifiedBy; import javax.persistence.Column; import javax.persistence.MappedSuperclass; @MappedSuperclass @JsonIgnoreP...
/** * MICE 1.0 * Copyright (c) 2017 Thierry Petit. All rights reserved. * Licensed under the BSD 4-clause license. * See LICENSE file in the project root for full license information. * ()-() * _(o o)_ * /\o/\ * tpetit19@gmail.com **/ package choco4; import java.util.Arrays; import java.util.Hashta...
package com.fhr.spi; import com.fhr.spi.filesearach.FileSearchService; import java.util.ServiceLoader; /** * @author Fan Huaran * created on 2018/12/5 * @description */ public class FileSearchClient { public static void main(String[] args) { ServiceLoader<FileSearchService> loader = ServiceLoader.loa...
package org.wwarn.mapssurveyor.example.client; /* * #%L * SurveyorSimpleDemoApp * %% * Copyright (C) 2013 - 2014 University of Oxford * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions ...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package org.hisp.dhis.dataentryform; /* * Copyright (c) 2004-2015, University of Oslo * 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 ...
package com.spazz.shiv.gerrit.plugins.createprojectextended; import com.google.gerrit.extensions.common.CommitInfo; import org.eclipse.jgit.api.errors.InvalidRefNameException; import org.eclipse.jgit.api.errors.RefNotFoundException; import org.eclipse.jgit.dircache.DirCache; import org.eclipse.jgit.dircache.DirCacheBu...
package com.palantir.product; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonSetter; import com.fasterxml.jackson.annotation.Nulls; import com.fasterxml....
/* * Copyright 2012-2017 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...
/* * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundatio...
/* * MIT License * * Copyright (c) 2021 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 ui; <<<<<<< HEAD import javax.swing.ImageIcon; ======= >>>>>>> 80b8ab57eb2a554dce5b3ca4663564e9e992fbd5 import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import entities.Card; import entities.GamePlay; import ui.labels.CardView; <<<<<<< HEAD import javax.swing.JLabe...
package net.meisen.dissertation.impl.parser.query.select.measures; /** * Element of a tree representing a math-expression. * * @author pmeisen * */ public interface IMathTreeElement { /** * Gets the parent of the {@code TreeElement}. * * @return the parent of the {@code TreeElement} */ public IMathT...
package io.fabric8.istio.api.networking.v1alpha3; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import c...
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package io.quarkus.it.elytron; import io.quarkus.test.junit.SubstrateTest; @SubstrateTest public class JCAITCase extends JCATestCase { }
package me.duncanruns.excpie; import net.fabricmc.api.ModInitializer; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class ExcPie implements ModInitializer { public static Logger LOGGER = LogManager.getLogger(); public stati...
/* * Copyright 2019 richard linsdale. * * 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) 2008-2018 Haulmont. * * 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...
/* * 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 io.swagger.client.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import io.swagger.client.model.UserUserPublicKey; import java.util.ArrayList; import java.util.List; @javax.annot...
/* * Copyright 2017 Courtanet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.privatecloud.users.dto; public class VMlogs { private String VMName; private Long cpuThreshold; private Long memoryThreshold; private Long netThreshold; private Long diskReadThreshold; private Long diskWriteThreshold; public String getVMName() { return VMName; } public void setVMName(String vM...
package com.avaje.ebeaninternal.server.text.json; import java.io.Reader; import com.avaje.ebean.text.json.JsonElement; public class InternalJsonParser { public static JsonElement parse(String s) { ReadJsonSourceString src = new ReadJsonSourceString(s); ReadBasicJsonContext b = new ReadBasicJsonContext(src);...
class FileStructureDemo{ final private String DATABASE = "MyDataBase"; DataEntry myPerson; FileStructureDemo(String name, int age, String cellphone){ myPerson = new Person(name, age, cellphone); } interface DataEntry{ String getCellphone(); String getName(); } cl...
/* * The MIT License * Copyright © 2014-2019 Ilkka Seppä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, copy...
import java.util.regex.Matcher; import java.util.regex.Pattern; public class regexlib_8506 { /* 8506 * <img[^>]* src=\"([^\"]*)\"[^>]*> * POLYNOMIAL * nums:2 * POLYNOMIAL AttackString:""+"<img"*10000+"@1 _SLQ_2" */ public static void main(String[] args) throws InterruptedException { ...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.util.test; import org.apache.activemq.ActiveMQConnectionFactory; /** * Ensures that the Ivy configuration is sufficient to launch an in-memory ActiveMQ conne...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package jp.hazuki.yuzubrowser.utils.service; import android.os.IBinder; import android.support.annotation.Nullable; public interface ServiceConnectionHelper<T> { T onBind(IBinder service); void onUnbind(@Nullable T service); }
/* * Copyright (c) 2018 - 2020, Thales DIS CPL Canada, 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 * * Un...
package de.jonasfrey.jfchatcolors; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.scoreboard.ScorePlayerTeam; import net.minecraft.server.MinecraftServer; impor...
package ru.otus.homework06; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.otus.homework06.dataprovider.CarParametersFromDbGetter; import ru.otus.homework06.dataprovider.CarParametersProvider; import ru.otus.homework06.domain.DbCarParameters; import java.util.Random; // -Xms256m -Xmx256m public c...
/* * Copyright 2018-2018 adorsys GmbH & Co KG * * 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 com.lnysky.scorpio; 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 void add...
package site.morn.rest; import java.util.Map; import javax.validation.Valid; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import site.morn.exception.ApplicationMessages; import si...
/* * 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) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/** * Copyright 2005-2019 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
package lk.ijse.dep.MostWantedCabs.DAO.custom; import lk.ijse.dep.MostWantedCabs.DAO.SuperDAO; import lk.ijse.dep.MostWantedCabs.Entity.CustomEntity; import lk.ijse.dep.MostWantedCabs.Entity.CustomReturnEntity; import lk.ijse.dep.MostWantedCabs.Entity.Vehicle; import java.util.List; public interface QuaryDAO extends...
/* * 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 jomeslu.com.router; /** * Created by jomeslu on 17-1-14. */ public interface IMatch { public int mathch(RouterParam mRouterParam); }
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package FanManager.model; import java.io.Serializable; public final class Fan implements Serializable { /** * For serializa...
import java.util.Random; import java.util.Scanner; public class OddAndEvens { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Let’s play a game called \"Odds and Evens\"!"); System.out.print("Enter your name: "); String name = input.next(); System.out.pri...
/** * Copyright 2010-2015 Axel Fontaine * <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 applicabl...
/* * Copyright 2010-2017 Boxfuse 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 ...
/** * Leetcode - dota2_senate */ package com.duol.leetcode.y20.m12.d11.no649.dota2_senate; import java.util.*; import com.duol.common.*; /** * */ class Solution2 implements Solution { public String predictPartyVictory(String senate) { return predictPartyVictory(senate, 0, 0); } public Strin...
/********************************************************************************* * * * The MIT License (MIT) * * ...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (t...
package com.svennieke.statues.blocks.StatueBase; import com.svennieke.statues.Statues; import com.svennieke.statues.blocks.BaseBlock.BaseNormal; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import n...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/* Onix CMDB - Copyright (c) 2018-2019 by www.gatblau.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 agreed to ...
// This is a generated file. Not intended for manual editing. package org.elixir_lang.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; import st...
package com.example.gridview; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; public class ImageAdapter extends BaseAdapter { private Context context; private Integer[] mThumbIds = { R.dra...
package algorithm; import java.util.ArrayList; import java.util.LinkedList; import util.Print; public class TopoSort { public void sort(Graph a) throws CycleFoundException { LinkedList<Vertex> aQueue = new LinkedList<Vertex>(); int count = 0; ArrayList<Vertex> vContainer = a.getVa(); for (int i=0; i<vCo...
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
package com.github.cloudyrock.mongock.driver.mongodb.springdata.v3.decorator.operation.executable.find; import com.github.cloudyrock.mongock.driver.api.lock.guard.decorator.Invokable; import com.github.cloudyrock.mongock.driver.api.lock.guard.invoker.LockGuardInvoker; import org.springframework.data.mongodb.core.Execu...
package com.ruoyi.common.core.domain.entity; import org.apache.commons.compress.utils.Lists; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; import java.util.List; ...
package catdog; public class textdogmao { public static void main(String[] args) { // TODO Auto-generated method stub cat cat=new cat(); dog gog=new dog(); cat.chi(); gog.chi(); cat.chi("狗"); gog.chi("猫"); } }
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 合约还款计划 * * @author auto create * @since 1.0, 2017-06-05 13:55:45 */ public class InstRepayPlan extends AlipayObject { private static final long serialVersionUID = 8433339493283831285L; /*...
package uk.gov.hmcts.reform.iacasenotificationsapi.domain.entities; import com.fasterxml.jackson.annotation.JsonValue; public enum RemissionType { NO_REMISSION("noRemission"), HO_WAIVER_REMISSION("hoWaiverRemission"), HELP_WITH_FEES("helpWithFees"), EXCEPTIONAL_CIRCUMSTANCES_REMISSION("exceptionalCir...
package com.jidcoo.android.widgettest.custom; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.Toast; import androidx.annotation.Nullabl...
package tutorial.android.sgarts.unoscorer.fragment; /** * Created by Ravi on 29/07/15. */ import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.wi...
package org.apereo.cas.services.resource; import org.apereo.cas.services.util.RegisteredServiceJsonSerializer; import org.apereo.cas.support.events.service.CasRegisteredServiceDeletedEvent; import org.apereo.cas.support.events.service.CasRegisteredServicesLoadedEvent; import lombok.val; import org.junit.jupiter.api.T...
package com.reserbin.config; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.HashSet; import java.util.Optional; import java.util.Set; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.core.MethodParameter; import org.springframework.co...
/* * The MIT License (MIT) * * Copyright (c) 2017 Fabian Mastenbroek, Christian Slothouber, * Laetitia Molkenboer, Nikki Bouman, Nils de Beukelaar * * 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...
/** * Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. * See License.txt for license information. */ package com.mattermost.mattermost; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.DownloadManager; import android.app.DownloadManager.Request; i...
package edu.berkeley.nlp.PCFGLA; import edu.berkeley.nlp.PCFGLA.smoothing.Smoother; import edu.berkeley.nlp.syntax.StateSet; import edu.berkeley.nlp.syntax.Tree; import edu.berkeley.nlp.util.ArrayUtil; import fig.basic.Indexer; import edu.berkeley.nlp.util.Numberer; import edu.berkeley.nlp.util.ScalingTools; import j...
package summary.accumulator; import org.eclipse.collections.api.list.primitive.DoubleList; import org.eclipse.collections.impl.list.mutable.primitive.DoubleArrayList; import org.eclipse.collections.impl.map.mutable.primitive.DoubleDoubleHashMap; import summary.CounterDoubleSketch; import summary.Sketch; import java.u...
package com.kdotj.gaming.gameframework2d; /** * Created by kyle.jablonski on 3/22/17. */ public interface Graphics { enum PixmapFormat{ ARGB8888, ARGB4444, RGB565 } Pixmap newPixmap(String fileName, PixmapFormat format); void clear(int color); void drawPixel(int x, int y, int color);...
package dragon.metrics; import java.io.Serializable; import dragon.topology.base.Bolt; import dragon.topology.base.Spout; import dragon.utils.ComponentTaskBuffer; import dragon.utils.Time; /** * Sample container class, that records a sample from a given bolt or spout. * @author aaron * */ public class Sample imp...
/* * Copyright (C) 2013 salesforce.com, 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 ...
package com.sequenceiq.cloudbreak.cloud.template.task; import java.util.List; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.cloud.context.AuthenticatedContext; import com.sequenceiq.cloudbreak.cloud.model.CloudResource; import c...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008, Robert D. Eden All Rights Reserved. // Copyright (c) 2009, Jeff Randall All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General P...
class pmFvJ6G5S { } class Go { public static void oo9GNWicg (String[] WtSIH) throws pT4qsbWG4 { vflD1tZfyh32().Lwd1; int[][] TJzIQGlcJ; boolean Hgjrq3_7wN18Q = -new int[ -new boolean[ -false[ -!-9.twGuaa8_rcDXZ()]].s5KgdveMDvlk].jDpkD0PgcFHB3() = !new void[ FAdd1JYnvPuYL()[ !-fn6V0RAjyrd...
/* * Copyright (c) 2012-2017 LabKey Corporation * * 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...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.rest.converter; import static org.junit.Assert.assertEquals; import static org....
package com.lengyue.commonutils; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on...