text
stringlengths
7
995k
/* * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
// // $Id$ package com.threerings.bang.admin.data; import java.lang.reflect.Field; import com.threerings.presents.dobj.DObject; import com.threerings.bang.admin.client.BooleanFieldEditor; import com.threerings.bang.admin.client.AsStringFieldEditor; import com.threerings.bang.admin.client.FieldEditor; /** * A shar...
/* * 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.lazerycode.selenium.hash; public enum HashType { MD5("[a-fA-F0-9]{32}"), SHA1("[a-fA-F0-9]{40}"), SHA256("[a-fA-F0-9]{64}"), SHA512("[a-fA-F0-9]{128}"); private final String hashMatchingPattern; HashType(String hashMatchingPattern) { this.hashMatchingPattern = hashMatching...
package org.apereo.cas.web.flow.configurer; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas.web.flow.CasWebflowConstants; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.binding.mapping.impl.DefaultMappin...
package com.puzzletimer.database; import java.sql.SQLException; @SuppressWarnings("serial") public class DatabaseException extends RuntimeException { private SQLException sqlException; public DatabaseException(SQLException sqlException) { this.sqlException = sqlException; } @Override pub...
package com.app.encontreibvrr.firebaseStore.util; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; import android.widget.LinearLayout; import android.widget.ProgressBar; import com....
/* * Copyright © 2018 Eric Kuck <eric@bluelinelabs.com>. * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.util; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import javax.annotation...
package org.spideruci.benchmark.spiderMath_JUnit4; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.Collection; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; @RunWith(Parameteri...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.atguigu.gulimall.ware.dao; import com.atguigu.gulimall.ware.entity.WareOrderTaskEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 库存工作单 * * @author ltb * @email lvtianbao@qq.com * @date 2020-07-01 03:55:45 */ @Mapper public interface ...
/* * Copyright (C) 2014 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...
import javax.swing.JOptionPane; public class Exercicio28 { public static void main(String[] args) { int numero = 0; for (int i = 0; i < 3; i++) { numero = Integer.parseInt(JOptionPane.showInputDialog("digite o numero: ")); if (numero % 10 == 0) { ...
package org.apache.poi.hpsf; import org.apache.poi.hpsf.HPSFRuntimeException; public class NoSingleSectionException extends HPSFRuntimeException { public NoSingleSectionException() {} public NoSingleSectionException(String msg) { super(msg); } public NoSingleSectionException(Throwable reason) { ...
package io.split.android.client.service.executor; public enum SplitTaskType { SPLITS_SYNC, MY_SEGMENTS_SYNC, EVENTS_RECORDER, IMPRESSIONS_RECORDER, LOAD_LOCAL_SPLITS, LOAD_LOCAL_MY_SYGMENTS, SSE_AUTHENTICATION_TASK, MY_SEGMENTS_UPDATE, SPLIT_KILL, FILTER_SPLITS_CACHE, GENERIC_TASK, CLEAN_UP_DATABASE, I...
package com.quarkdata.yunpan.api.controller.ajax; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; im...
/** * Copyright 2005-2014 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...
/* * Copyright (c) 2004-2021, 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 copyright notice, this * list of cond...
package team3663.neon.commands; public class C_Brake extends CommandBase { double lastRanEncoderValue; double distance; public C_Brake() { } protected void initialize() { driveTrainSS.drive3663(0, .5, 0); lastRanEncoderValue = driveTrainSS.GetRightEncoder(); } ...
package com.study.tomeet; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; @EnableDiscoveryClient @SpringBootApplication public class TomeetThirdPartyApplication { public...
/* * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
package edu.iu.uits.lms.canvasnotifier.config; /*- * #%L * canvasnotifier * %% * Copyright (C) 2015 - 2022 Indiana University * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
// This file was generated by Mendix Studio Pro. // // WARNING: Only the following code will be retained when actions are regenerated: // - the import list // - the code between BEGIN USER CODE and END USER CODE // - the code between BEGIN EXTRA CODE and END EXTRA CODE // Other code you write will be lost the next time...
package de.mpicbg.knime.hcs.base.nodes.manip.col; import org.knime.core.node.NodeDialogPane; import org.knime.core.node.NodeFactory; import org.knime.core.node.NodeView; /** * Document me! * * @author Holger Brandl */ public class BetterColumnCombinerFactory extends NodeFactory<BetterColumnCombiner> { /** ...
/* * 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.management.containerregistry.implementation; import com.azure.management.containerregistry.SourceUploadDefinition; import com.azure.management.containerregistry.models.SourceUploadDefinitionInner; import c...
package gherkin.ast; public interface DescribesItself { void describeTo(Visitor visitor); }
package com.fuerve.whiteboard.milestone3; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.junit.Test; import com.fuerve.whiteboard.milestone3.GraphColorer.ColoredNode; /** * Tests for ...
package com.wutong.backmanage.config; import io.swagger.annotations.ApiOperation; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiIn...
/** * 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 * "Li...
/** * Copyright Indra Soluciones Tecnologías de la Información, S.L.U. * 2013-2019 SPAIN * * 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...
import models.Team; import spark.ModelAndView; import spark.template.handlebars.HandlebarsTemplateEngine; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import static spark.Spark.get; import static spark.Spark.post; import static spark.Spark.staticFileLocation; public class App { pub...
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 ...
package duck.cameras.android.model; import java.io.Serializable; import java.util.ArrayList; public class PtzData implements Serializable { public Camera camera; public Camera.Profile profile; public ArrayList<Configuration> configurations; public PtzData() { configurations = new ArrayList<>(...
package com.emanuelvictor.api.functional.accessmanager.application.resource; import com.emanuelvictor.api.functional.accessmanager.domain.entities.Permission; import com.emanuelvictor.api.functional.accessmanager.domain.repositories.PermissionRepository; import lombok.RequiredArgsConstructor; import org.springframewor...
/* * Copyright 2014-2018 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...
/* * Copyright 2016-2022 Talsma ICT * * 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 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0. package com.amazonaws.s3.model; import java.lang.String; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import software.amazon.aws.sdk.crt.annotations.Generated; @Ge...
package com.trevorhalvorson.devjobs.fragment; import android.os.Bundle; import android.preference.PreferenceFragment; import com.trevorhalvorson.devjobs.R; /** * Created by trevo on 9/22/2015. */ public class SettingsPreferenceFragment extends PreferenceFragment { @Override public void onCreate(Bundle sav...
/** * Copyright (c) 2010-2017 Mark Allen, Norbert Bartels. * * 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,...
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.support.CasFeatureModule; import org.apereo.cas.git.GitRepository; import org.apereo.cas.git.GitRepositoryBuilder; import org.apereo.cas.support.saml.OpenSamlConfigBean; import org.apereo....
/* * This file was automatically generated by EvoSuite * Sun Sep 22 03:15:31 GMT 2019 */ package org.joda.time.tz; import org.junit.Test; import static org.junit.Assert.*; import java.util.Set; import org.evosuite.runtime.EvoRunner; import org.evosuite.runtime.EvoRunnerParameters; import org.joda.time.DateTimeZone...
/* * (C) Copyright 2010 Nuxeo SA (http://nuxeo.com/) and others. * * 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...
/* * * * Copyright 2019-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 *...
/** * Copyright (C) 2015 Red Hat, 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...
/******************************************************************************* * Copyright (C) 2017 Leonardo Henrique Zapparoli * * 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 witho...
package me.chanjar.spring2; import me.chanjar.web.Foo; import me.chanjar.web.FooController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener; import org.springframewo...
/* * * CDDL HEADER START * * The contents of this file are subject to the terms of the Common Development and Distribution * License, Version 1.0 only (the "License"). You may not use this file except in compliance with * the License. * * You can obtain a copy of the license at license/ESCIDOC.LICENSE or * ...
/* * Copyright 2019 Mahmoud Romeh * * 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) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package io.chilborne.filmfanatic.domain.dto; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @Getter @Setter @NoArgsConstr...
package umm3601; import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest; import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets; import com.google.api.client.googleapis.auth.oauth2.GoogleIdToken; import com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse; ...
package com.cy.core.region.action; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.cy.base.entity.Message; import com.cy.base.entity.TreeString; import com.cy.common.utils.CacheUtils; import com.cy.core.region.entity.*; import com.cy.common.utils.easyui.Tr...
/* * Copyright (c) 2009-2021 jMonkeyEngine * 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, this list of ...
package com.ruoyi.project.system.user.controller; import java.util.List; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.vali...
package com.github.sisyphsu.retree; /** * This node support backreference, like '(\d)(\w)\2' could match '1aa', the '\2' could refer to '\w'. * * @author sulin * @since 2019-08-26 11:10:27 */ public final class CharRefNode extends Node { private final int refGroupIndex; private final int refStartOffset; ...
/* * Copyright 2013-2018 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 com.example.day03radiobutton; 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 execu...
/* * 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 (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L...
/* * Copyright 2018 Fundação CERTI * * 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...
/* * (C) Copyright 2006-2018 Nuxeo (http://nuxeo.com/) and others. * * 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 requi...
package com.chenpan.commoner.utils; import android.content.Context; import android.graphics.Typeface; import android.util.Log; import java.util.Hashtable; /** * 设置字体 */ public class Typefaces { private static final String TAG = "Typefaces"; private static final Hashtable<String, Typeface> cache = new Hasht...
package edu1.csumb.mike.Library_System; /** * Title: CancelHold.java * Abstract: This is the class for the ability to cancel a hold placed in the system. * Author: Michael Royal * Date: 12/9/16 */ import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.co...
package ru.geekbrains.spring.ishop.control.admin; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam;...
/* * Copyright 1999-2011 Alibaba 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 by applicable la...
package com.didichuxing.doraemonkit; import android.app.Activity; import android.app.Application; import android.content.Context; import android.os.Build; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; imp...
package metric; import com.codahale.metrics.Timer; import redis.clients.jedis.Jedis; import java.util.concurrent.atomic.LongAdder; public class ValidateTask implements Runnable { private final static LongAdder counter = new LongAdder(); private final static Timer timer = MainApp.metrics.timer("latency"); ...
/* * Copyright Debezium Authors. * * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package io.debezium.time; import org.apache.kafka.connect.data.Schema; import org.apache.kafka.connect.data.SchemaBuilder; /** * A utility for defining a Kafka C...
/* Copyright 2009 David Revell This file is part of SwiFTP. SwiFTP 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 Foundation, either version 3 of the License, or (at your option) any later version. SwiFTP is distributed i...
/** * Copyright 2019 The JoyQueue 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 2015 DuraSpace, 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...
/******************************************************************************* * Copyright (c) 2013-2018 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompan...
package com.sap.olingo.jpa.processor.core.processor; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; imp...
package org.opencv.samples.colorblobdetect; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.MatOfPoint; import org.opencv.core.MatOfPoint2f; import org.opencv.core.Point; import...
package com.github.yungyu16.version.mojo; import com.github.yungyu16.version.entity.ProjectVersion; import com.github.yungyu16.version.util.LogUtil; import com.github.yungyu16.version.util.PomUtil; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import org.apache.maven.model.Model; ...
package io.github.hapjava.characteristics.impl.base; import io.github.hapjava.characteristics.HomekitCharacteristicChangeCallback; import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; import java.util.function.Supplier; import javax.json.JsonObjectBuilder; impor...
/** Copyright 2014 Google 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 by applicable law or agreed to ...
package com.proj2.demo.service; import java.util.List; import com.proj2.demo.model.Cli; import com.proj2.demo.model.XDE; public interface XDEService { // get all XDEs public List<XDE> getAllXDEs(); // get a XDE by id public XDE getXDEById(int id); // add a new XDE public String saveXDE(XDE xde); // add ...
/* * Copyright (C) 2002-2004 Andrea Mazzolini andreamazzolini@users.sourceforge.net * * This program 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 2.1 of the License, or (at your opt...
package edu.ucsb.cs56.pconrad; import static spark.Spark.port; /** * Hello world! * */ public class SparkDemo01 { public static void main(String[] args) { String html = "<h1><a href='/hello'>Hello</a> World!</h1>\n" + "<p>This web app is powered by \n" + "<a href='https://github.com/rx5842/sparkjav...
package com.game.qs.protocol.initializer; import com.game.qs.protocol.decoder.MessageProtoBufDecoder; import com.game.qs.protocol.encoder.MessageProtoBufEncoder; import com.game.qs.protocol.hanlder.ServerHandler; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.chann...
/* * 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 (c) 2016. Real Time Genomics Limited. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice...
/* * Copyright (c) 2020, Zoinkwiz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions...
/* * Copyright 2021 Armory * * 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 writ...
package com.artifex.mupdfdemo; import java.io.File; import java.io.FileFilter; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import android.app.AlertDialog; import android.app.ListActivity; import android.content.DialogInterface; import android.content.DialogInt...
package cz.tomasdvorak.eet.client.utils; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.junit.Assert; import org.junit.Test; import java.io.InputStream; import java.security.KeyStore; import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; import java.secur...
/* * 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...
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.appsmith.server.helpers; import com.appsmith.external.models.BaseDomain; import com.appsmith.external.models.Policy; import com.appsmith.server.acl.AclPermission; import com.appsmith.server.acl.PolicyGenerator; import com.appsmith.server.domains.Application; import com.appsmith.server.domains.Datasource; i...
/* * 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 the Licens...
package app.coronawarn.server.services.distribution.assembly.component; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import app.coronawarn.server.services.distribution.assembly.qrcode.QrCodeTemplateLoader; import app.coronawarn.server.services.distribution.assembly...
package org.firstinspires.ftc.robotcontroller.for_camera_opmodes; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Surface; import android.view.SurfaceHolder; import android.view.SurfaceView; import android.hardware.Camera; import java.io.IOException; /** * C...
package org.mycontroller.standalone.db.dao; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.mycontroller.standalone.db.tables.SensorActivation; import com.j256.ormlite.support.ConnectionSource; import lombok.extern.slf4j.Slf4j; @Slf4j public class SensorActivationDaoImpl...
/* * 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 (c) 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 Softwa...
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (C) 2006-2011 Pentaho // All Rights Reserved. */ package mondria...
package com.majon.sns_copy.feed.like.dao; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Repository public interface LikeDAO { public int insertLike( @Param("feedId")int feedId ,@Param("userId")int userId ,@Param("userName")String userName); public int sel...
/** * 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...