text stringlengths 7 995k |
|---|
// Copyright (C) 2010 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 applicable ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2015
*/
package com.ibm.streamsx.topology.test.internal;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
import java.io.File;
import java.io.Serializable;
import java.n... |
/*
* 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 yokwe.stock.data;
import java.io.File;
import org.slf4j.LoggerFactory;
import yokwe.UnexpectedException;
import yokwe.iex.cloud.Context;
import yokwe.iex.cloud.Type;
import yokwe.iex.cloud.Version;
public class DataContext extends Context {
static final org.slf4j.Logger logger = LoggerFactory.getLogger(Dat... |
package client.messages;
import tools.StringUtil;
/**
* @author Emilyx3
*/
public class CommandProcessorUtil {
public static String joinAfterString(String[] splitted, String str) {
for (int i = 1; i < splitted.length; i++) {
if (splitted[i].equalsIgnoreCase(str) && i + 1 < splitted.length) ... |
/*
* Copyright DataStax, 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 to in wri... |
package com.youfull.trimhelp.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("decoratecase")
public class Decoratecase {
private long id;
private long co... |
package com.zf1976.ddns.verticle.provider;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.User;
import io.vertx.ext.auth.authentication.AuthenticationProvider;
/**
* Do not deal with
*
* @author ant
* Crea... |
/*
* Copyright 2022, operon.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 required by applicable law or agreed ... |
/*
* Copyright (C) 2018 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 Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package org.mtc.pattern.builder.builders;
import org.mtc.pattern.builder.Map;
/**
* 反雕刻器,建造者之一,用于反雕刻地图
*/
public class Uncarver {
/**
* 反雕刻地图方法,部分参数和实际代码省略
*
* @param map
*/
public static Map uncarve(Map map) {
System.out.println("反雕刻地图 " + map);
return map;
}
/*
* 反雕刻地图的代码比较简单,方法数不到10个
... |
package org.batfish.allinone;
import com.google.common.base.Strings;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.batfish.allinone.config.Settings;
import org.batfi... |
package com.xinlin.app.entity.vo;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* 分页信息实体
*
* @author JS
* @since 2013-04-09
*/
@SuppressWarnings("serial")
public class Page implements Serializable {
/**总记录数*/
private long total;
/**当前页记录,类型为List*/
private Object rows;
... |
/*
* 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 ... |
/*-
* ===============LICENSE_START=======================================================
* Acumos
* ===================================================================================
* Copyright (C) 2019 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
* ==========================================... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.api.db;
import static java.util.Arrays.asList;
import static java.util.Collections.unmodifiableMap;
import io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.Comma... |
/**
* Copyright(c) 2018
* Ulord core developers
*/
package one.ulord.upaas.uauth.client.contentauth.bo;
import lombok.Data;
import one.ulord.upaas.common.ContentFormatEnum;
/**
* @author haibo
* @since 5/30/18
*/
@Data
public class ContentAuthBody {
ContentFormatEnum format;
String content;
} |
package videoPlayer;
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.scene.media.MediaView;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class VideoPlayer extends Ap... |
package edu.harvard.iq.dataverse.repositorystorageabstractionlayer;
import java.io.File;
public class RsyncSite {
private final String name;
private final String fqdn;
private final String fullRemotePathToDirectory;
private final String rsyncDownloadcommand;
public RsyncSite(String name, String ... |
package com.atguigu.gmall.order;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springfra... |
package com.biscoitosorteapp;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.... |
package com.cyl.musiclake.api.net;
import com.cyl.musiclake.BuildConfig;
import com.cyl.musiclake.MusicApp;
import com.cyl.musiclake.R;
import com.cyl.musiclake.api.gson.MyGsonConverterFactory;
import com.cyl.musiclake.utils.LogUtil;
import com.cyl.musiclake.utils.NetworkUtils;
import com.franmontiel.persistentcookiej... |
package cn.skyui.ibrary.web.service;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import cn.skyui.aidl.IAppInterface;
/**
* App相当于服务端,实现 WebView AIDL接口
* @author tianshaojie
* @date 2018/2/10.
*/
public class WebViewBridgeServi... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.maintenance;
import com.yahoo.concurrent.DaemonThreadFactory;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.Deployer;
impo... |
package ss.pku.music.dao;
import java.util.List;
import ss.pku.music.model.Collection;
import ss.pku.music.model.Song;
import ss.pku.music.model.User;
public interface TrendingRecDao {
/**
* 获取热门音乐推荐列表
* @return
* 若曲库中没有任何歌曲,则返回null
*/
List<Song> getTrendingSong();
/**
* 获取当前用户的收藏列表
* @param user
... |
package com.nitya.accounter.mobile.commands;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import com.nitya.accounter.core.ItemGroup;
import com.nitya.accounter.mobile.CommandList;
import com.nitya.accounter.mobile.Context;
import com.nitya.accounter.mobile.Record;
import com.nitya.accounte... |
package com.zyz.demo.mqtest.weixin.utils;/**
* Created by zhangyangze on 2018/12/25
*/
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* class name SecurityKit
*
* @author zhang yang ze
* @date 2018/12/25
*/
public class SecurityKit {
/**
* 对字符串进行sha1加密
* @... |
package com.github.jaraya81.model;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;
import java.time.LocalDateTime;
@Builder
@Data
public class User {
@Tolerate
public User() {
super();
}
private Long idUser;
private String username;
private String use... |
package it.unibz.inf.ontop.protege.utils;
import com.google.common.collect.Maps;
import it.unibz.inf.ontop.exception.OntopQueryEvaluationException;
import it.unibz.inf.ontop.iq.IQ;
import it.unibz.inf.ontop.owlapi.connection.OntopOWLStatement;
import it.unibz.inf.ontop.owlapi.exception.OntopOWLException;
import it.uni... |
/**
*
*/
package org.wltea.expression.op.define;
import org.wltea.expression.IllegalExpressionException;
import org.wltea.expression.datameta.BaseDataMeta;
import org.wltea.expression.datameta.Constant;
import org.wltea.expression.datameta.Reference;
import org.wltea.expression.op.IOperatorExecution;
import org.wlt... |
package hu.progtech.cd2t100.computation;
/**
* This kind of exception occurs when there was an attempt to register an
* {@code InstructionInfo} to a specified opcode, but the opcode
* has already been mapped to another info object.
*
* @see hu.progtech.cd2t100.formal.InstructionInfo
* @see hu.progtech.cd2t1... |
/* Copyright 2002-2020 CS GROUP
* Licensed to CS GROUP (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/**
* 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) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*******************************************************************************
* Copyright (c) 1998, 2018 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 v. 1.0
... |
/*
* Copyright 2021 Allette Systems (Australia)
* http://www.allette.com.au
*
* 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... |
//start of PostLh1Encoder.java
//TEXT_STYLE:CODE=Shift_JIS(Japanese):RET_CODE=CRLF
/**
* PostLh1Encoder.java
*
* Copyright (C) 2002 Michel Ishizuka All rights reserved.
*
* �ȉ��̏����ɓ��ӂ���Ȃ�\�[�X�ƃo�C�i���`���̍Ĕz�z�Ǝg�p��
* �ύX�̗L���ɂ�����炸������B
*
* �P�D�\�[�X�R�[�h�̍Ĕz�z�ɂ����Ē��쌠�\���� ���̏����̃��X... |
/*
* Copyright 2011 Global Biodiversity Information Facility (GBIF)
* 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 appli... |
package a_insertion;
import java.util.Arrays;
import java.util.Random;
public class ShellSort {
/**
* 插入排序:把第i++个元素插入到前面i++个已经排好序了的数中
*/
public static void shellSort(Comparable[] a) {
//增量的规则由自己确定,可以直接取长度的一半;这里采用这种方式确定增量
int d = 1;
while(d < a.length/2) {
d = 2*d+... |
package seedu.address.storage;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import seedu.address.commons.exceptions.Ille... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashbo... |
package us.codecraft.webmagic.proxy;
import us.codecraft.webmagic.Page;
import us.codecraft.webmagic.Task;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
/**
* A simple ProxyProvider. Provide proxy as round-robin without heartbeat a... |
package test;
import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.can.TalonSRX;
import com.kauailabs.navx.frc.AHRS;
import edu.wpi.first.wpilibj.I2C;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Utility;
public class MyClass extends IterativeRobot {
... |
package de.thecodelabs.logger.slf4j;
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
public class Slf4JLoggerFactory implements ILoggerFactory
{
private Slf4JLoggerAdapter instance;
public Logger getLogger(String s)
{
if(instance == null)
{
instance = new Slf4JLoggerAdapter();
}
return instan... |
/*
* Copyright (c) 2014-2016 CODING.
*/
package net.coding.ide.web.controller;
import net.coding.ide.dto.KeyDTO;
import net.coding.ide.dto.UserDTO;
import net.coding.ide.model.Key;
import net.coding.ide.service.KeyManager;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autow... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.instrument.swap;
import org.apache.commons.lang.ObjectUtils;
import org.threeten.bp.ZonedDateTime;
import com.opengamma.analytics.financia... |
/*
* Copyright (C) 2010-2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.model.impl.sync.tasks.async;
import com.evolveum.midpoint.repo.common.activity.definition.Abstract... |
package com.spring.LifeCycleMethodsInterfaces;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
public class Animal implements InitializingBean,DisposableBean
{
private String animalName;
private String animalSound;
public Animal(String animalNam... |
package chillverse.jna.gobject;
public interface GSignalFlags {
//@formatter:off
public static final int RUN_FIRST = 1 << 0;
public static final int RUN_LAST = 1 << 1;
public static final int RUN_CLEANUP = 1 << 2;
public static final int NO_RECURSE = 1 << 3;
public static final int DETAILED = 1 << 4... |
package chinapex.com.wallet.model.balance;
import android.text.TextUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import chinapex.com.wallet.bean.AssetBean;
import chinapex.com.wallet.bean.BalanceBean;
import chinapex.com.wallet.bean.WalletBean;
import chinapex.com.wallet.executor.Task... |
/*
* 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) 2014 Parrot SA
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 conditions and the following dis... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 copyr... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.dataframe.persistence;
import org.apache.log... |
package com.decathlon.ara.util;
import com.github.springtestdbunit.DbUnitTestExecutionListener;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.transactio... |
package org.firstinspires.ftc.teamcode.OpModes.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.util.RobotLog;
import org.firstinspires.ftc.teamcode... |
/*
* Copyright ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
package com.mt.access.domain.model.client.event;
import com.mt.access.domain.model.client.ClientId;
public class ClientSecretChanged extends ClientEvent {
public ClientSecretChanged(ClientId clientId) {
super(clientId);
}
} |
package graphs;
import java.util.Objects;
public class Arco {
private final Vertice source;
private final Vertice destination;
private final double weight;
public Arco(Vertice source, Vertice destination, double weight) {
this.source = Objects.requireNonNull(source, "null source not allowed")... |
package edu.packt.neuralnet.util;
import java.awt.BasicStroke;
import java.awt.Color;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartFrame;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.renderer.xy.XYLineAnd... |
/*
* @(#)GradientTexturePaintDemo.java
*
* $Date: 2015-02-28 21:59:45 +0100 (Sa, 28 Feb 2015) $
*
* Copyright (c) 2011 by Jeremy Wood.
* All rights reserved.
*
* The copyright of this software is owned by Jeremy Wood.
* You may not use, copy or modify this software, except in
* accordance with the license ... |
package org.recap.model.jpa;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.AttributeOverride;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.pe... |
// import java.util.List;
// import java.util.ArrayList;
// import java.util.Collections;
import java.util.Scanner;
public class Demo {
public static void main(String[] args) {
SharedVars sv = new SharedVars();
Scheduler sched = new SchedulerFCFS("WarStrategy.txt", "attack", sv);
sched.createSchedule();
// L... |
package com.lge.hemsServer.application.queueManager.service.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.lge.hemsServer.application.queueManager.service.dao.dto.MonitoringQueueSettingDto;
public interface MonitoringQueueSettingRepository extends JpaRepository<MonitoringQueueSettingDt... |
package com.minzheng.blog.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.minzheng.blog.dto.MessageBackDTO;
import com.minzheng.blog.service.B... |
package de.mmazo.mealsplan.recipe;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import java.util.List;
// https://www.baeldung.com/spring-data-composable-repositories
// https:/... |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugins.camera.features.exposurepoint;
import android.hardware.camera2.CaptureRequest;
import android.hardware.camera2.params.MeteringR... |
package com.hrh.mall.security.configure;
import cn.hutool.core.util.URLUtil;
import com.hrh.mall.service.DynamicSecurityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.web.FilterInvocation;
import or... |
package com.isharpever.tool.dubbo.filter;
import com.alibaba.fastjson.JSON;
import com.isharpever.tool.utils.NetUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.dubbo.common.constants.CommonConstants;
import org.apache.dubbo.common.extension.Activate;
import org.apache.dubbo.rpc.Invocation;
import ... |
package main.java.controller;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import j... |
package com.personalfinance.app.Detail;
import com.personalfinance.app.Sqlite.Node;
public interface OnInnerItemLongClickListener {
void onClick(Node node, int position);
} |
/*
* 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... |
/*
* Copyright 2010 Proofpoint, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* 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.v2fly.v2shop.coupon.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.ann... |
package com.coroptis.jblinktree;
/*
* #%L
* jblinktree
* %%
* Copyright (C) 2015 coroptis
* %%
* 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... |
/**
* Copyright 2018 The JASSISTANT 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 2014 - 2020 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*******************************************************************************
* Copyright 2015, 2017 Francesco Benincasa (info@abubusoft.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 Lic... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.http.ssl;
import com.yahoo.component.ComponentId;
import com.yahoo.container.bundle.BundleInstantiationSpecification;
import com.yahoo.jdisc.http.ConnectorConfig;
import com.... |
package com.time2desenho.wikalendario.controller;
import android.content.Context;
import android.content.res.Resources;
import android.util.Log;
import com.time2desenho.wikalendario.model.Subject;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Scanner;
public class CSVReader {
private ... |
package com.zbutwialypiernik.flixage.repository;
import com.zbutwialypiernik.flixage.entity.file.ImageFileEntity;
import org.springframework.content.commons.repository.ContentStore;
public interface ImageFileStore extends ContentStore<ImageFileEntity, String> {
} |
package com.example.bluecity;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class ThreadPool {
public static final ExecutorService executorService = Executors.newSingleThreadExecutor();
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
/**
* This package contains the classes for ComputeManagementClient.
* Compute Client.
*/
pac... |
package com.mit.community.config.interceptor;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class URLInterceptor implements HandlerInterceptor {
@Ove... |
/**
* Copyright 2009-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
*
* Unle... |
package org.javamaster.spring.lifecycle.ContextLoaderBeans;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframe... |
/*
* Copyright (C) 2012 Jake Wharton
*
* 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 sfccorderexp.app.utils;
import java.io.File;
import java.net.URISyntaxException;
/**
* General application helper functions.
* @author Bora Tashan
* @version 1.0
* @since 2017-1-23
*/
public class ApplicationUtils {
public static String getJarRunningPath() throws URISyntaxException {
File ... |
/*
* Copyright 2016 ComProFITS Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Marc de Verdelhan & respective authors (see AUTHORS)
*
* 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, incl... |
package com.brueschgames.budgettool;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Switch;
import android.widget.TextView;
import android.widget.Toast;
import com.bruesc... |
/*
* 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 cn.org.hentai.acodec;
import java.io.UnsupportedEncodingException;
/**
* Created by houcheng on 2019-12-11.
* the abstract AudioCodec prototype
*/
public abstract class AudioCodec
{
/**
* converts to PCM from current audio data encoding
* @param data encoded audio data
* @return decoded ... |
package com.threedeeapp.threedeemodel.repository.repositories;
import com.threedeeapp.threedeemodel.repository.domain.nodes.Job;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.Repository... |
package module582packageJava0;
import java.lang.Integer;
public class Foo178 {
Integer int0;
public void foo0() {
new module582packageJava0.Foo177().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
... |
package se.l4.otter.operations.list;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import se.l4.otter.operations.Operation;
public class ListComposeTest
{
@Test
public void testCompose1()
{
Operation<ListHandler> op1 = ListDelta.builder()
.inse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.