text stringlengths 7 995k |
|---|
package com.wya.hybrid.floatwindow;
import android.content.Context;
import android.graphics.PixelFormat;
import android.os.Build;
import android.view.View;
import android.view.WindowManager;
/**
* Created by yhao on 17-11-14.
* https://github.com/yhaolpz
*/
class FloatPhone extends FloatView {
private final Con... |
package com.github.shoothzj.demo.skywalking.util.protocol;
import com.github.shoothzj.demo.skywalking.util.Base64Util;
import lombok.extern.slf4j.Slf4j;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.TimeZone;
/**
* @author hezhangjian
*/
@Slf4j
public class SkyWalking8Swx {
public... |
/*
Copyright 2020 Martin Heywang
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 ... |
/*
* (C) Copyright IBM Corp. 2016,2020
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.whc.deid.app.endpoint.datamasking;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.... |
package pl.kozmatteo.finance.app.report;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import pl.kozmatteo.finance.support.Specification;
import pl.kozmatteo.finance.transactions.Money;
import pl.kozmatteo.finance.transactions.TransactionReport;
import pl.kozmatteo.finance.transactions.Tr... |
package view.scenes;
import java.util.Arrays;
import javafx.scene.Group;
import view.GameScene;
/**
* builds the scene that allows the user to select the game versions available
*
* @author Alex Lu & Edem Ahorlu
*/
public class SelectGameScene extends GameScene {
private static final String ID = "GAMEVERSION... |
/**
* 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.koushikdutta.async.future;
public interface FailRecoverCallback<T> {
/**
* Callback that is invoked when a future completes with an error.
* The error should be rethrown, or a new future value should be returned.
* @param e
* @return
* @throws Exception
*/
Future<T> fa... |
/*
* 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 controllers;
import models.*;
import views.html.*;
import java.util.List;
import play.libs.Json;
import play.mvc.*;
import play.mvc.Http.Request;
import play.*;
import io.ebean.Finder;
import io.ebean.Ebean;
import javax.inject.Inject;
import play.i18n.MessagesApi;
public class PortfolioController extends Co... |
package com.netcracker.tripnwalk.entry;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "users")
public class User{
@Id
@GeneratedValue(strategy = GenerationType.... |
package cz.cuni.mff.amis.pacman.tournament.run;
import cz.cuni.mff.amis.pacman.tournament.EvaluationInfos;
import cz.cuni.mff.amis.pacman.tournament.PacManConfig;
public class PacManRunResult extends EvaluationInfos {
private PacManConfig config;
public PacManRunResult(PacManConfig config) {
this.config = ... |
// Copyright 2016 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... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
package com.hdw.api.base.system.dto;
import com.hdw.common.core.dto.CommonDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @Description
* @Author JacksonTu
* @Date 2019/11/7 11:51
*/
@ApiModel("查询文件参数对象")
@Data
... |
package com.servlet.requestdispatcher;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.s... |
package com.bookclub.app.bookclub.bookclubapi;
import java.util.Date;
/**
* Created by pc on 9.04.2019.
*/
public class Message {
String text;
String name;
long userID;
String date;
boolean isSeen;
public Message(String text, String name, long userID, String date, boolean isSeen) {
... |
/*
* Copyright DbMaintain.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
// SPDX-License-Identifier: Apache-2.0
// YAPION
// Copyright (C) 2019,2020 yoyosource
package yapion.annotations.deserialize;
import yapion.serializing.YAPIONSerializer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.anno... |
package com.atguigu.gmall.sms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
/*-
* #%L
* rapidoid-networking
* %%
* Copyright (C) 2014 - 2020 Nikolche Mihajlovski and contributors
* %%
* 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.... |
// ============================================================================
//
// Copyright (C) 2006-2018 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... |
/*
* Copyright (c) 2001-2004 Caucho Technology, Inc. All rights reserved.
*
* The Apache Software License, Version 1.1
*
* 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 mu... |
/*
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/resources/keyword_plan_ad_group_keyword.proto
package com.google.ads.googleads.v9.resources;
/**
* <pre>
* A Keyword Plan ad group keyword.
* Max number of keyword plan keywords per plan: 10000.
* </pre>
*
* Protobuf ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.file.datalake.models;
import java.io.InputStream;
/**
* Result of opening an {@link InputStream} to a datalake file.
*/
public interface DataLakeFileOpenInputStreamResult {
/**
* @retu... |
/*
* 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) 2001-2009, Jean Tessier
* 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
* no... |
package hm.moe.pokkedoll.psec;
import hm.moe.pokkedoll.psec.commands.*;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.*;
import org.bukkit.command.TabExecutor;
import org.bukkit.configuration.serialization.ConfigurationSerialization;
import org.bukkit.entity.Player;
import org.bukkit.inventory.EntityEquipmen... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... |
package io.egen.test.controller;
import java.util.Date;
import io.egen.controller.UserCommentsController;
import io.egen.entity.ShowDetails;
import io.egen.entity.UserComments;
import io.egen.entity.UserDetails;
import io.egen.service.UserCommentsService;
import io.egen.test.TestConfig;
import org.junit.Before;
impo... |
package org.checkerframework.common.reflection;
import com.sun.source.tree.MethodInvocationTree;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.List;
import org.checkerframework.framework.type.AnnotatedTypeFactory;
import org.checkerframework.framework.type.AnnotatedTypeMirror;... |
package com.github.seratch.jslack.api.methods.response.conversations;
import com.github.seratch.jslack.api.methods.SlackApiResponse;
public class ConversationsUnarchiveResponse implements SlackApiResponse {
private boolean ok;
private String warning;
private String error;
private String needed;
p... |
package cn.finder.wae.helper;
import cn.finder.wae.cache.ArchCache;
import cn.finder.wae.cache.SysConfigCache;
import cn.xingkong.finder.jmail.FinderSendMail;
import cn.xingkong.finder.jmail.MailInfo;
/***
* 邮件辅助类
* @author Administrator
*
*/
public class EmailHelper {
/***
* 项目邮件发送辅助
* @param title
* @pa... |
/*
* 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 ma... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package de.sepulzera.notes.ui.adapter;
import android.support.annotation.NonNull;
import android.widget.ListAdapter;
import de.sepulzera.notes.ds.model.Note;
public interface NoteAdapter extends ListAdapter {
/**
* <p>Entfernt alle Items.</p>
*
* <p>Ruft {@link NoteAdapter#updateView} auf.</p>
*/
vo... |
/*
* PROJECT LICENSE
*
* This project was submitted by Brandon Ingram as part of the Android Developer
* Nanodegree Program at Udacity.
*
* As part of Udacity Honor code, your submissions must be your own work, hence
* submitting this project as yours will cause you to break the Udacity Honor Code
* and the sus... |
public class Front {
public synchronized int generateDown() {
String upstreamReduce;
upstreamReduce = "RyHvQgOb1eH8D";
return line;
}
public synchronized void enhanceDeflect() {
int minimumAcross;
minimumAcross = -1555762306;
this.line++;
}
public int line = 0;
public int peg = 0;... |
/*
* Copyright 2015-2018 _floragunn_ GmbH
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package org.gentar.biology.targ_rep.allele;
import java.util.List;
import org.gentar.biology.targ_rep.gene.TargRepGene;
import org.springframework.context.annotation.Primary;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
* TargRepAlleleRepository.
*/
@Primary
public interface TargRepAl... |
/*
* Copyright 2019 Scott Logic 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 applicable law or agreed... |
/**
* 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.chucoding.fichatbot.utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.WritableByteChannel;
public class Utils {
public static lo... |
/*
* Copyright (c) 2008-2016, GigaSpaces Technologies, 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
*
* Un... |
package de.fhdo.lemma.live_validation.protocol.client;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import de.fhdo.lemma.live_validation.protocol.extensions.LiveValidationCapabilities;
import org.eclipse.lsp4j.ClientCapabilities;
import org.eclipse.lsp4j.DidChangeTextDocumentParams;
import org.eclip... |
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp 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/LICE... |
package com.fyz.spring.cloud.service.impl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fyz.spring.cloud.entity.Payment;
import com.fyz.spring.cloud.mapper.PaymentMapper;
import com.fyz.spring.cloud.service.PaymentService;
@Service
public class PaymentServiceImpl implemen... |
/*
* Copyright (c) 2008-2010, Matthias Mann
*
* 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... |
/*
* Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.engine.translation.out;
import java.util.Collection;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import or... |
/**
* Copyright (c) 2011, University of Konstanz, Distributed Systems Group
* 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 copyrigh... |
// ============================================================================
//
// Copyright (C) 2006-2016 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... |
/*
* 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 sinhala.semantic.annotator;
import java.util.LinkedList;
import java.util.StringTokenizer;
/*Sinhala tokenizer class*/
public class SinhalaTokenizer {
private LinkedList<String> ignoringCharList;
private boolean isolatePunctuationsWithSpaces;
private final String punctuationMarks[] = {".", ",",... |
/**
* 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 io.cmp.modules.sys.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.cmp.common.utils.MapUtils;
import io.cmp.modules.sys.dao.SysUserRoleDao;
import io.cmp.modules.sys.entity.SysUserRoleEntity;
import io.cmp.modules.sys.service.SysUserRoleService;
import org.springfram... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
/*
* Copyright 2016-present Facebook, 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... |
package com.rarchives.ripme.tst.ripper.rippers;
import java.io.IOException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.VidbleRipper;
import org.junit.jupiter.api.Test;
public class VidbleRipperTest extends RippersTest {
@Test
public void testVidbleRip() throws IOException {
Vidble... |
/*
* Copyright 2002-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 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package org.nzbhydra.config.safeconfig;
import lombok.Getter;
import org.nzbhydra.config.category.CategoriesConfig;
import java.util.List;
import java.util.stream.Collectors;
@Getter
public class SafeCategoriesConfig {
private boolean enableCategorySizes = true;
private List<SafeCategory> categories;
... |
package org.devgateway.toolkit.persistence.service;
import org.devgateway.toolkit.persistence.dao.Feature;
import org.devgateway.toolkit.persistence.repository.FeatureRepository;
import org.devgateway.toolkit.persistence.repository.norepository.BaseJpaRepository;
import org.springframework.beans.factory.annotation.Aut... |
/*
* Copyright 2013-2017 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... |
package org.apache.maven.artifact.repository;
/*
* 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 Apach... |
/*
* Copyright Terracotta, 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 ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE598_Information_Exposure_QueryString__Servlet_17.java
Label Definition File: CWE598_Information_Exposure_QueryString__Servlet.label.xml
Template File: point-flaw-17.tmpl.java
*/
/*
* @description
* CWE: 598 Information Exposure Through Query Strings in GET Request
* Sink... |
package com.yoga.example4;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.TextV... |
package org.icatproject.core.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
@... |
package org.pitest.mutationtest.build;
import static org.junit.Assert.assertEquals;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.junit.Test;
import org.pitest.mutationtest.MutationMetaData;
public class AnalyisPriorityComparatorTest {
private final AnalysisPriorityComp... |
/*
* Copyright 2016 Google 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 ... |
/*
* Copyright 2021 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 a... |
/*
* Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com>
*/
import play.mvc.Controller;
import java.io.File;
import play.mvc.Http.MultipartFormData;
import play.mvc.Http.MultipartFormData.FilePart;
import play.mvc.Result;
public class JavaFileUpload {
static class SyncUpload extends Controller {
... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2010, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... |
package com.voxeet.audio2.manager.bluetooth;
import android.bluetooth.BluetoothDevice;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public class BluetoothAction {
public final Action action;
public final BluetoothDevice device;
public BluetoothAction(@NonNull Action action,
... |
package tr.k12.evrim.evrimnews;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
public class DuyuruActivity extends A... |
/**
* 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
* distrib... |
/**
* SPDX-FileCopyrightText: 2018-2021 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sap.cloud.security.xsuaa;
import com.sap.cloud.security.config.CredentialType;
/**
* Represents the XSUAA credentials of VCAP_SERVICES.
*/... |
/*
* (c) 2018-2019 Charles-Philip Bentley
* This code is licensed under CC by-nc-nd 4.0 (see LICENSE.txt for details)
* Contact author for uses outside of the NonCommercial-NoDerivatives clauses.
*/
package pasa.cbentley.swing.table.renderer;
import java.awt.Color;
import java.awt.Component;
import java.awt.Fon... |
package com.chua.utils.tools.spring.helper;
import com.chua.utils.tools.common.IoHelper;
import com.chua.utils.tools.common.StringHelper;
import com.google.common.base.Strings;
import org.springframework.web.multipart.MultipartFile;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
imp... |
package org.omg.IOP;
/**
* org/omg/IOP/TaggedComponentHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/jenkins/workspace/8-2-build-windows-amd64-cygwin/jdk8u271/605/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl
* Wednesday, September 16, 2020 7:17:11 PM UTC
*/
pu... |
package org.robolectric.shadows;
import android.os.Debug;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
@Implements(Debug.class)
public class ShadowDebug {
@Implementation
public static long getNativeHeapAllocatedSize() {
return Runtime.getRuntime().totalMemor... |
/**
* 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.poi.excelenmu;
public enum ExcelType {
ExcelType03(0, "03版本的excel格式以xls结尾"),
ExcelType07(1, "07版本的excel格式以xls结尾"),
ExcelError(2, "不正确的文件名字");
private int key;
private String value;
private ExcelType(int key, String value) {
this.key = key;
this.value = value;
}
public int getKey() {
retu... |
/*
Copyright 2022 The Kubernetes 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 to in writing, softwar... |
package nl.uscki.appcki.wilson.api.models.meeting;
import nl.uscki.appcki.wilson.api.models.common.Pageable;
public class MeetingOverview extends Pageable<MeetingItem> {} |
/*
* Copyright 2011-2016 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 "li... |
/*
* ██████╗ ██╗████████╗███████╗ █████╗ ██████╗████████╗ ██████╗ ██████╗ ██╗ ██╗
* ██╔══██╗██║╚══██╔══╝██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗╚██╗ ██╔╝
* ██████╔╝██║ ██║ █████╗ ███████║██║ ██║ ██║ ██║██████╔╝ ╚████╔╝
* ██╔══██╗██║ ██║ ██╔══╝ ██╔══██║██║ ██║ ██║ ██║██╔═... |
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.12 at 09:16:3... |
package com.usable.spring.starter;
import lombok.AllArgsConstructor;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
@Component
@AllArgsConstructor
public class Runner implements ApplicationRunner {
@Override
... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
/*
* Copyright 2021 The Netty Project
*
* The Netty Project 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
package com.glitchcog.fontificator.sprite;
import java.awt.Color;
import com.glitchcog.fontificator.emoji.LazyLoadEmoji;
/**
* Replacement for char that can also represent an emoji or a badge. One or the other member variable is to be set.
*
* @author Matt Yanos
*/
public class SpriteCharacterKey
{
/**
... |
/*
*
* Copyright 2015 Jonathan Shook
*
* 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 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... |
/*
* Camel EndpointConfiguration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.braintree;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
/**
* Camel EndpointConfiguration for com.braintreegateway.Transaction... |
package net.minecraft.block;
import java.util.Random;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.inventory.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
public class Bl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.