text
stringlengths
7
995k
/* * Copyright (C) 2016 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...
/* * 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.polidea.multiplatformbleadapter.errors; import androidx.annotation.NonNull; public class BleErrorUtils { public static BleError cancelled() { return new BleError(BleErrorCode.OperationCancelled, null, null); } static public BleError invalidIdentifiers(@NonNull String... identifiers)...
package no.nels.storage; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import io.vertx.ext.auth.AuthProvider; import io.vertx.ext.auth.User; public fina...
package amxc.videomodel; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.content.res.TypedArray; im...
package io.github.explodingbottle.someorganization.certifier.frame; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import javax.swing.ImageIcon; import javax.swing.JButto...
package org.sistcoop.producto.provider; /** * @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a> */ public interface Provider { public void close(); }
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.py.translate.operation; import org.jetbrains.kotlin.js.backend.ast.JsBinaryOpera...
package com.wide.stringer.generator.services; import java.util.ArrayList; import java.util.List; import javax.persistence.PersistenceException; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.tran...
package com.gempukku.swccgo.cards.set13.dark; import com.gempukku.swccgo.cards.AbstractDefensiveShield; import com.gempukku.swccgo.cards.GameConditions; import com.gempukku.swccgo.common.Icon; import com.gempukku.swccgo.common.Side; import com.gempukku.swccgo.common.Title; import com.gempukku.swccgo.filters.Filters; i...
package org.lyx.netty.custom.server; import org.lyx.netty.NettyConstant; import org.lyx.netty.custom.codec.NettyMessageDecoder; import org.lyx.netty.custom.codec.NettyMessageEncoder; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import i...
package com.devsuperior.dsvendas.repositories; import org.springframework.data.jpa.repository.JpaRepository; import com.devsuperior.dsvendas.entities.Seller; public interface SellerRepository extends JpaRepository<Seller, Long>{ }
/* * Copyright 2012-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
//package com.lambdaschool.bookstore.config; // //import org.h2.tools.Server; //import org.springframework.beans.factory.annotation.Value; //import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; //import org.springframework.context.annotation.Bean; //import org.springframework.context.annotat...
// Copyright (c) Corporation for National Research Initiatives package org.python.core; import org.python.expose.ExposedDelete; import org.python.expose.ExposedGet; import org.python.expose.ExposedMethod; import org.python.expose.ExposedNew; import org.python.expose.ExposedSet; import org.python.expose.ExposedType; /...
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.f...
/******************************************************************************* * Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the terms * of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 * whi...
/* * 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 ...
// ============================================================================ // // Copyright (C) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package com.tudou.dto; import com.github.liuanxin.api.annotation.ApiParam; import com.tudou.base.enums.EnableStatus; import com.tudou.base.model.User; import com.tudou.common.Const; import com.tudou.common.json.JsonUtil; import com.tudou.common.util.U; import lombok.Data; import org.springframework.util.Assert; @Data...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
package com.jeebud.core.log; /** * <p>Description: </p> * <p>Copyright (c) www.jeebud.com Inc. All Rights Reserved.</p> * * @author Tanxh(itfuyun@gmail.com) */ public enum OpTypeEnum { /** * 更新 */ UPDATE, /** * 删除 */ DELETE, /** * 新增 */ CREATE, /** * ...
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2017 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free ...
package state; /** * 具体状态类 A */ public class ConcreteStateA implements State { @Override public void handle(String parameter) { System.out.println("A handle:" + parameter); } }
package org.hibernate.validator.referenceguide.chapter01; import java.util.Set; import jakarta.validation.ConstraintViolation; import jakarta.validation.Validation; import jakarta.validation.Validator; import jakarta.validation.ValidatorFactory; import org.junit.BeforeClass; import org.junit.Test; import static org....
//Q3. Write a program to print Fibonacci series using loop. //Program:- public class Fibonacci_series { public static void main(String[] args) { int n1=0,n2=1,n3,i,count=10; System.out.print(n1+" "+n2);//printing 0 and 1 for(i=2;i<count;++i)//loop starts from 2 because 0 and 1 are already printed {...
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.cfa.types.c; import static com.google.common....
/* * 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 ...
package com.github.maquirag.enni.ui; import com.github.maquirag.enni.backend.service.AllergenService; import com.github.maquirag.enni.backend.service.IngredientService; import com.vaadin.flow.component.Text; import com.vaadin.flow.component.html.*; import com.vaadin.flow.component.orderedlayout.VerticalLayout; import ...
package org.apache.lucene.index; /* * 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...
/** * Copyright 2011-2015 John Ericksen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package segmentedfilesystem; public abstract class Packet { private int status; private int fileID; public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public int getFileID() { return fileID; } public void...
package org.pplm.hadoop.gadgets.hdfs.traversal.utils.reporter; import java.io.IOException; import java.util.List; public class NullReporter extends Reporter { @Override protected void initHeader(List<String> header) throws ReportException {} @Override public void reportRecord(List<String> record) throws ReportE...
/* * Copyright (C) 2020 The zfoo 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 agreed t...
package fr.openwide.core.basicapp.web.application.referencedata.form; import org.apache.wicket.Component; import org.apache.wicket.markup.html.form.CheckBox; import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.TextField; import org.apache.wicket.model.IModel; import org.apache.wic...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * (C) Copyright 2014-2017 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 testcases.CWE611_XML_External_Entities_XMLReader; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLReaderFactory; public class CWE611_XML_External_Entities__XMLReader_06{ private static final int PRIVATE_STATIC_FINAL_FIVE = 5; public String bad(String filePat...
package gcr.ann; import gcr.ann.neuron.NeuronLayer; import gcr.ann.neuron.NeuronLayerInterface; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; public abstract class ANNInter...
package ca.uhn.fhir.jpa.dao.r4; import ca.uhn.fhir.jpa.dao.BaseHapiFhirDao; import ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao; import ca.uhn.fhir.jpa.dao.DaoConfig; import ca.uhn.fhir.jpa.dao.IFhirResourceDao; import ca.uhn.fhir.jpa.entity.Search; import ca.uhn.fhir.jpa.entity.SearchStatusEnum; import ca.uhn.fhir.jpa...
package com.mypurecloud.sdk.v2.api.request; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.mypurecloud.sdk.v2.ApiException; import com.mypurecloud.sdk.v2.ApiClient; import com.mypurecloud.sdk.v2.ApiRequest; import com.mypurecloud.sdk.v2.ApiRequestBuil...
package com.forest.project.service; import com.forest.project.model.FrameEmployee; import com.forest.core.Service; /** * Created by CodeGenerator on 2018/04/11. */ public interface FrameEmployeeService extends Service<FrameEmployee> { public FrameEmployee getByUserId(String userid); }
package com.github.alkedr.matchers.reporting.object; public class ObjectMatcherExpectBrokenTest { // TODO: тесты на некорректное использование expect() // TODO: примитиный тип }
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
package cgeo.geocaching.files; import static org.assertj.core.api.Assertions.assertThat; import cgeo.geocaching.DataStore; import cgeo.geocaching.Geocache; import cgeo.geocaching.LogEntry; import cgeo.geocaching.Waypoint; import cgeo.geocaching.connector.ConnectorFactory; import cgeo.geocaching.connector.IConnector; ...
/* * Copyright (C) 2016-2020 Lightbend Inc. <https://www.lightbend.com> */ package docs.home.serialization.v1; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.lightbend.lagom.javadsl.immutable.ImmutableStyle; import com.lightbend.lagom.serialization.Jsonable; import org.immutables.value...
package net.zedge.photoeditor; import android.content.Context; import android.media.effect.Effect; import android.os.Build; import android.support.annotation.RequiresApi; import android.util.AttributeSet; import android.view.MotionEvent; import ja.burhanrashid52.photoeditor.ImageFilterView; import ja.burhanrashid52.p...
/* * Copyright (C) 2007 The Guava 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 agre...
package com.dp.nodes; import com.dp.nodes.impl.BaseNode; /** * Unknown state */ public class Unknown extends BaseNodeState { public <T extends BaseNode> Unknown(T parent) { super(parent); } @Override public Boolean getValue() { parent.calc(); if (parent.state instanceof Unknown) { return null; ...
/* * (C) Copyright 2006-2017 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.searchservice.app.domain.service.security; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.Cache; import org.springframework.cache.Cache.ValueWrapper; import org.springframew...
/* * Minecraft Forge * Copyright (c) 2016-2021. * * This library 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 version 2.1 * of the License. * * This library is distributed in the hope that it...
package com.gof.patterns.creational.abstractfactory.factory; import com.gof.patterns.creational.abstractfactory.drinks.Drink; import com.gof.patterns.creational.abstractfactory.drinks.Vodka; public class VodkaFactory implements DrinksFactory { @Override public Drink buildDrink() { return new Vodka();...
package com.airbnb.lottie; import android.support.annotation.Nullable; import org.json.JSONArray; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; class GradientStroke { private final GradientType gradientType; private final AnimatableGradientColorValue gradientColor; private fi...
package io.github.novarch129.jojomod.client.entity.model; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import io.github.novarch129.jojomod.entity.stand.TuskAct3Entity; import net.minecraft.client.renderer.model.ModelRenderer; public class TuskAct3Model extends Abstrac...
/* * UberAPILib * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ package com.uber.api.exceptions; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; import com.uber.api.http.client.HttpContext; /** * This is a model class...
package cgeo.geocaching; import cgeo.geocaching.activity.ActivityMixin; import cgeo.geocaching.enumerations.CacheType; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.geopoint.Geopoint; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang3.StringUtils; import a...
/******************************************************************************* * Copyright (c) 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
/* * Copyright 1999-2018 Alibaba Group Holding 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 com.wangjin.doc.handler.impl; import cn.hutool.core.io.FileUtil; import cn.hutool.core.util.StrUtil; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.vfs.LocalFileSystem; import com.wangjin.doc.base.Application; import com.wangjin.doc.base.Constant; import com.wangjin.doc.base.DocConfig; im...
package ch.heigvd.amt.livecoding.integration; import ch.heigvd.amt.livecoding.model.Stadium; import ch.heigvd.amt.livecoding.model.Team; import org.arquillian.container.chameleon.deployment.api.DeploymentParameters; import org.arquillian.container.chameleon.deployment.maven.MavenBuild; import org.jboss.arquillian.juni...
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package com.softwaremill.java_fp_example; import javaslang.collection.List; import lombok.extern.slf4j.Slf4j; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import java.io.IOException; import java.net.URL; import static com.softwaremill.java_fp_example.DefaultImage.DEFAULT_I...
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQTechnologyInfrastructureRetrieveOutputModelTechnologyInfra...
package com.example.config; import com.github.benmanes.caffeine.cache.Caffeine; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.caffeine.CaffeineCache; import org.springframework.cache.support.SimpleCacheManager; import org.spri...
package org.rest.sec.client.template.newer; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.client.DefaultHttpClient; import org.rest.client.AbstractClientRESTTemplate; import org.rest.sec.client.ExamplePaths; import org.rest.sec.model.dto.Use...
package com.powerdata.openpa.impl; /* * Copyright (c) 2016, PowerData Corporation, Incremental Systems Corporation * All rights reserved. * Licensed under the BSD-3 Clause License. * See full license at https://powerdata.github.io/openpa/LICENSE.md */ import java.util.ArrayList; import java.util.EnumMap; import ...
import java.io.IOException; import yacx.Executor; import yacx.IntArg; import yacx.KernelArg; import yacx.Options; public class ExampleFilterBenchmark { private final static long KB = 1024; public static void main(String[] args) throws IOException { // Load Library Executor.loadLibrary(); // Benchmark filter...
/** * NotWhitelistedErrorReason.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201402.cm; public class NotWhitelistedErrorReason implements java.io.Serializable { private java.lang.String _val...
package io.taucoin.jtau.db; import io.taucoin.db.KeyValueDataBase; import io.taucoin.db.KeyValueDataBaseFactory; public class RocksDatabaseFactory implements KeyValueDataBaseFactory { /** * RocksDatabaseFactory constructor. */ public RocksDatabaseFactory() {} /** * Create new key value da...
package ru.daniilazarnov; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import ...
package com.amanladia.jars.sample; import android.graphics.Color; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.amanladia.jars.DirectionCallback; ...
package com.facadeandbuilderpatterns.insurances; import com.facadeandbuilderpatterns.insurances.impl.InsuranceI; public class InsurancePrice { private String name; private int price; private InsuranceI healthInsurance; private InsuranceI carInsurance; private InsuranceI lifeInsurance; private InsuranceI bui...
package deu.cse.parkslab.querytest.config; import com.datastax.oss.driver.api.core.CqlSession; import com.datastax.oss.driver.api.core.config.DriverConfigLoader; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import java.net.InetSocketAddress; @Confi...
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.test.entities.collection; import java.util.ArrayList;...
package com.bestxty.sault.internal; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; import java.util.List; import java.util.concurrent.CopyOnWriteArrayL...
package com.kh.workman.common; public class PageBarFactory { public static String getPageBar(int totalCount, int cPage, int numPerPage, String url){ String pageBar =""; int pageBarSize = 5; int pageNo = ((cPage-1)/pageBarSize)*pageBarSize +1; int pageEnd = pageNo + pageBarSize - 1; int tota...
package com.shardingsphereplus.config.configuration.rule.sharding; import com.shardingsphereplus.config.Configuration; import com.shardingsphereplus.config.configuration.rule.sharding.algorithm.AlgorithmProperties; import org.apache.commons.lang3.StringUtils; import org.apache.shardingsphere.infra.config.algorithm.Sha...
package com.alibaba.druid.bvt.sql; import com.alibaba.druid.sql.SQLUtils; import com.alibaba.druid.util.JdbcConstants; import junit.framework.TestCase; import java.util.Collections; import java.util.Map; /** * Created by wenshao on 16/9/25. */ public class MappingTest_drop extends TestCase { private String sql...
/* * Copyright 2020 Arne Limburg * * 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 my.applicationforeground; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; public class GetInstalledApp { Context context; List<String> pkgList = new ArrayList<String>(); public GetInst...
package com.github.xwine.end.mock.spi; import java.lang.reflect.Type; public interface IntelligentService { Object getValue(String name, Type type); }
// // Copyright 2018 SenX S.A.S. // // 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...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2017 Ruhr University Bochum / Hackmanit GmbH * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package de.rub.nds.tlsattacker.core.protocol.parser; import de.rub.nds.tlsattacker.core.const...
package kr.co.popone.fitts.feature.main; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Lambda; final class MainActivity$onStoreTabClicked$1$2 extends Lambda implements Function0<Unit> { public static final MainActivity$onStoreTabClicked$1$2 INSTANCE = new MainActivity$onSto...
package ui.controllers.product; import core.application.services.Activator; import core.domain.model.entities.Item; import core.domain.model.entities.Sale; import core.domain.model.entities._utilities.DateBreakdown; import core.domain.model.entities._utilities.console; import core.domain.services.interfaces.ICRUD; imp...
package br.com.integrador.backend.repository; import br.com.integrador.backend.model.Projeto; import br.com.integrador.backend.model.Sprint; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface SprintRepository extends JpaRepository<Sprint, Long> { List<Sprint> f...
package id.taskapp.taskservice.service.impl; import id.taskapp.taskservice.domain.Task; import id.taskapp.taskservice.dto.TaskDto; import id.taskapp.taskservice.proxy.FeignAnalyticService; import id.taskapp.taskservice.repo.TaskRepository; import id.taskapp.taskservice.service.TaskService; import lombok.extern.slf4j.S...
/******************************************************************************* * $OpenLDAP: pkg/jldap/com/novell/ldap/util/DSMLWriter.java,v 1.42 2004/01/23 * 10:12:51 sunilk Exp $ * * Copyright (C) 2002 - 2003 Novell, Inc. All Rights Reserved. * * THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS...
/* * Copyright (c) 2013 - 2016 Stefan Muller Arisona, Simon Schubiger * Copyright (c) 2013 - 2016 FHNW & ETH Zurich * All rights reserved. * * Contributions by: Filip Schramka, Samuel von Stachelski * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
package com.embl.assessment.security; import lombok.SneakyThrows; import org.apache.tomcat.util.security.MD5Encoder; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.example.gaurav.gitfetchapp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.graphics.drawable.ColorDrawable; import android.net.ConnectivityManager; import ...
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package tech.powerjob.common.response; import tech.powerjob.common.enums.InstanceStatus; import lombok.Data; import java.util.Date; /** * instanceInfo Network transmission object * * @author tjq * @since 2020/5/14 */ @Data public class InstanceInfoDTO { /** * 任务ID */ private Long jobId; /...
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; public class MainActivity extends AppCompatActivity { @Overrid...
package com.babylonhealth.lit.uscore_java.examples; import com.babylonhealth.lit.core.FHIRDateTime; import com.babylonhealth.lit.core.model.Resource; import com.babylonhealth.lit.core_java.LitUtils; import com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder; import com.babylonhealth.lit.core_java.builders....
/* * 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...