text stringlengths 7 995k |
|---|
/*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package com.google.cloud.healthcare.fdamystudies.bean;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import ... |
/*
* Copyright 2015 JiveSoftware LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package mcjty.lib.typed;
import mcjty.lib.varia.DimensionId;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import javax.annotation.Nonnull;
import java.util.List;
import java.util.UUID;
/**
* A Type object represents a given type.
*/
public final class Type<V> {
// Root
pub... |
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* 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... |
package messageHandler;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import InstallManager.ProgramController;
public class LogDump {
public static LocalDateTime myDateObj = Loc... |
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.llvm.clang;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import org.bytedeco.llvm.LLVM.*;
import static org.bytedeco.llvm.global.LLVM.*;
import static org.bytedeco.llvm.global.cla... |
package de.ropemc.api.wrapper.net.minecraft.client.resources.model;
import java.util.Map;
import de.ropemc.api.wrapper.net.minecraft.client.renderer.block.model.ModelBlock;
import de.ropemc.api.wrapper.net.minecraft.util.ResourceLocation;
import java.util.Set;
import de.ropemc.api.wrapper.net.minecraft.client.renderer... |
package org.apereo.cas.config;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.configuration.model.support.jpa.JpaConfigurationContext;
import org.apereo.cas.configuration.support.CasFeatureModule;
import org.apereo.cas.configuration.support.JpaBeans;
import org.apereo.cas.jpa.Jpa... |
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cuda.nvrtc;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.cuda.global.cudart.*;
import static org.bytedeco.cuda.global.n... |
package g0901_1000.s0914_x_of_a_kind_in_a_deck_of_cards;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.jupiter.api.Test;
class SolutionTest {
@Test
void hasGroupsSizeX() {
assertThat(
new Solution().hasGroupsSize... |
package com.example.blue.myapplication;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Debug;
import android.os.Message;
import android.os.SystemClock;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import... |
package com.showka.service.query.u08;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Example;
import org.springframework.stereotype.Service;
import com.showka.domain.u08.Nyukin;
import com.showka.entity.JNyukinFBFurikomi;
import com.showka.repository.i.JNyukinFBF... |
package com.weather.android;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.text.TextUtils;
import android.view.MenuItem;
import android.widget.Button;
import android.widget.EditText;
import an... |
/*******************************************************************************
* Copyright (c) 2014 Opt4J
*
* 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, includi... |
package org.cloudfoundry.identity.uaa.client;
import com.fasterxml.jackson.core.type.TypeReference;
import org.cloudfoundry.identity.uaa.DefaultTestContext;
import org.cloudfoundry.identity.uaa.login.util.RandomValueStringGenerator;
import org.cloudfoundry.identity.uaa.test.TestClient;
import org.cloudfoundry.identity... |
/*
* Copyright 2013 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 applica... |
package leetcode.p0020_valid_parentheses;
import java.util.Stack;
public class Solution {
public static void main(String[] args) {
Solution solution = new Solution();
String s = "()";
System.out.println(solution.isValid(s));
}
public boolean isValid(String s) {
Stack<Charac... |
package org.folio.inventory.parsing;
import io.vertx.core.json.JsonObject;
import static org.junit.Assert.assertEquals;
import org.folio.inventory.exceptions.InvalidMarcJsonException;
import org.folio.inventory.support.JsonHelper;
import org.junit.Test;
import java.io.IOException;
// TODO: Extend test data file (or... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.coreui;
public final class R {
public static final class attr {
public static final int font = 0x7f... |
/*
* 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.futao.springmvcdemo.mq.rabbit.primitive.topic;
import com.futao.springmvcdemo.mq.rabbit.primitive.ExchangeTypeEnum;
import com.futao.springmvcdemo.mq.rabbit.primitive.RabbitMqConnectionTools;
import com.futao.springmvcdemo.mq.rabbit.primitive.RabbitMqQueueEnum;
import com.rabbitmq.client.BuiltinExchangeTyp... |
/**
* Copyright 2009-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.semantics.test;
import org.junit.Test;
/**
* Tests numeric terms
*
* @author bratseth
*/
public class NumericTermsTestCase extends RuleBaseAbstractTestCase {
public NumericTermsT... |
/**
* Copyright 2019 The JoyQueue Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Copyright (c) 2016 General Electric Company. All rights reserved.
*
* The copyright to the computer software herein is the property of
* General Electric Company. The software may be used and/or copied only
* with the written permission of General Electric Company or in accordance
* with the terms and condit... |
package me.itzg.kapakafkastress.services;
import static org.quartz.JobBuilder.newJob;
import static org.quartz.SimpleScheduleBuilder.simpleSchedule;
import static org.quartz.TriggerBuilder.newTrigger;
import java.time.Instant;
import java.util.Date;
import java.util.List;
import java.util.Map.Entry;
import java.util.... |
package com.ruoyi.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.core.constant.UserConstants;
import com.ruoyi.common.core.exception.CustomException;
import com.ruoyi.common.core.utils.S... |
package org.gradle.test.performance.mediummonolithicjavaproject.p261;
public class Production5229 {
private Production5226 property0;
public Production5226 getProperty0() {
return property0;
}
public void setProperty0(Production5226 value) {
property0 = value;
}
priv... |
/*
* Copyright 2016 higherfrequencytrading.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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
package net.ripe.db.whois.db;
import net.ripe.db.whois.common.aspects.RetryFor;
import net.ripe.db.whois.common.support.AbstractDaoIntegrationTest;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.tes... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*******************************************************************************
* Copyright (c) 1998, 2013 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... |
package io.quarkus.grpc.runtime.health;
import java.util.function.Function;
import java.util.function.Supplier;
import javax.inject.Inject;
import javax.inject.Singleton;
import grpc.health.v1.HealthOuterClass;
import grpc.health.v1.HealthOuterClass.HealthCheckResponse.ServingStatus;
import grpc.health.v1.MutinyHeal... |
package com.mojagap.mojanode.dto.role;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.mojagap.mojanode.model.common.ActionTypeEnum;
import com.mojagap.mojanode.model.common.EntityTypeEnum;
import lombok.Data;
import lombok.NoArgsConstructor... |
/*
* Copyright 2010-2020 James Pether Sörling
*
* 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 o... |
/*
* 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... |
package com.example.rxjava;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
import io.reactivex.Observable;
import io.reactivex.functions.Consumer;
public class StartActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
... |
package com.hyperledger.export.exceptions;
/**
* Класс ошибки некорректного наследования
*/
public class InvalidInheritanceException extends IllegalArgumentException {
//Шаблон текста ошибки
private static final String msg = "Invalid inheritance : %s";
public InvalidInheritanceException(String name) {
super(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 agreed to in writing, software
* distribut... |
/*
* 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... |
package fr.cesi.goodfood;
import static com.tngtech.archunit.base.DescribedPredicate.alwaysTrue;
import static com.tngtech.archunit.core.domain.JavaClass.Predicates.belongToAnyOf;
import static com.tngtech.archunit.library.Architectures.layeredArchitecture;
import com.tngtech.archunit.core.importer.ImportOption.DoNot... |
package maspack.render.GL.GL3;
import com.jogamp.opengl.GL3;
public class VertexArrayObject extends GL3ResourceBase {
boolean bound;
static final VertexArrayObject DEFAULT = new VertexArrayObject (0);
public static VertexArrayObject getDefault() {
return DEFAULT;
}
public static void bi... |
package com.mercadopago.android.px.model;
public class TicketPayer extends Payer {
public TicketPayer(final Identification identification, final String email, final String firstName,
final String lastName) {
setIdentification(identification);
setEmail(email);
setFirstName(firstName);... |
/*
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package iiuf.awt;
import java.awt.Dimension;
import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.Color;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import java.awt.event.AdjustmentListener;
import java.awt.event.AdjustmentEvent;
import... |
/*
* Copyright 2000-2016 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... |
package ai4good.aeyealliance;
import android.content.Intent;
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;
import an... |
/////////////////////////////////////////////////////////////////////////////////////////
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2015 Keld Oelykke
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... |
/* Generated SBE (Simple Binary Encoding) message codec */
package com.euronext.optiq.dd;
public enum DeltaProtectforMM_enum
{
Protection_for_Market_Makers_enabled_at_a_contract_level((short)0),
Protection_for_MM_enabled_at_a_contract_and_expiry_level((short)1),
/**
* To be used to represent not pre... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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.05.... |
/*
* Copyright (c) 2018. paascloud.net All Rights Reserved.
* 项目名称:paascloud快速搭建企业级分布式微服务平台
* 类名称:GroupZtreeVo.java
* 创建人:刘兆明
* 联系方式:paascloud.net@gmail.com
* 开源地址: https://github.com/paascloud
* 博客地址: http://blog.paascloud.net
* 项目官网: http://paascloud.net
*/
package com.paascloud.provider.model.vo;
import c... |
class Solution {
public ListNode XXX(ListNode head, int n) {
ListNode nthendfront = head, p = head;
int i = 0;
while (p.next != null) {
p = p.next;
if (i >= n) {
nthendfront = nthendfront.next;
}
++i;
}
// 通过 i 和... |
/*
* Copyright 2021 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 com.pb.noobchain.web.rest;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeDiagnosingMatcher;
import org.springframework.http.MediaT... |
/**
* 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.swin.orion.ucenter.domain;
import java.util.Date;
import javax.persistence.*;
@Table(name = "user_role")
public class UserRole {
/**
* 角色id
*/
@Id
@Column(name = "role_id")
private Integer roleId;
/**
* 角色名称
*/
private String name;
/**
* 角色描述
*/
... |
package gr.aueb.dmst.simplinvoice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SimplinvoiceApplication {
public static void main(String[] args) {
SpringApplication.run(SimplinvoiceApplication.class, arg... |
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package cn.leancloud.im.v2;
import cn.leancloud.utils.StringUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONType;
import java.util.Map;
@JSONType
public class AVIMMessageOption {
/**
* 消息等级
*/
private MessagePriority priority = null;
/**
* 是否为暂态消息,默认值为 false
*/
... |
// 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.xinonix.hl7.fhir.stu3;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* A Map of relationships between 2 structures that can be used to transform data.
*/
public class StructureMapStructure extends BackboneElement {
@Expose
private String url;
/**... |
/*
* 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 vowpalWabbit.learner;
import org.junit.Test;
import vowpalWabbit.VWTestHelper;
import static org.junit.Assert.assertArrayEquals;
/**
* Created by jmorra on 11/24/14.
*/
public class VWProbLearnerTest extends VWTestHelper {
@Test
public void prob() {
String[][] data = new String[][]{
... |
package ca.bc.gov.educ.api.pen.replication.rest;
import ca.bc.gov.educ.api.pen.replication.constants.EventOutcome;
import ca.bc.gov.educ.api.pen.replication.constants.EventType;
import ca.bc.gov.educ.api.pen.replication.exception.PenReplicationAPIRuntimeException;
import ca.bc.gov.educ.api.pen.replication.messaging.Me... |
package com.urdriver.urdriver;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullab... |
/*
* Copyright 2016 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 applic... |
package uk.gov.companieshouse.web.accounts.transformer.smallfull;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.junit.jupiter.MockitoExtension;
import uk.gov.companieshouse.a... |
import java.applet.Applet;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
@ObfuscatedName("qo")
@Implements("RunException")
public class RunException extends RuntimeException {
@ObfuscatedName("v")
... |
/*
* 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.lzpeng.minimal.system.repository;
import com.lzpeng.minimal.common.jpa.repository.LeftTreeRightTableRepository;
import com.lzpeng.minimal.system.domain.entity.User;
import com.lzpeng.minimal.system.domain.entity.Department;
import io.swagger.annotations.Api;
import org.springframework.data.jpa.repository.M... |
// Template Source: IBaseEntityRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------------... |
package ysomap.core.exploit.rmi;
import ysomap.common.annotation.*;
import ysomap.core.bean.Exploit;
import ysomap.core.exploit.rmi.component.FakeRMIHandler;
import ysomap.common.util.Logger;
import java.io.IOException;
/**
* @author wh1t3P1g
* @since 2020/2/26
*/
@Exploits
@Authors({Authors.WH1T3P1G})
@Require(b... |
package com.jdbc.beans;
public class Staff {
String staffNumber;
String staffFirstName;
String staffLastName;
String designation;
String mobileNumber;
String emailAddress;
String addressLine1;
String addressLine2;
String city;
String state;
int zip;
String country;
int roleNo;
public String getStaffNumb... |
package io.github.mockenize.config;
import com.mongodb.MongoClient;
import de.flapdoodle.embed.mongo.MongodProcess;
import de.flapdoodle.embed.mongo.MongodStarter;
import de.flapdoodle.embed.mongo.config.IMongodConfig;
import de.flapdoodle.embed.mongo.config.MongodConfigBuilder;
import de.flapdoodle.embed.mongo.config... |
package com.alibaba.datax.plugin.reader.hbase11xreader;
import com.alibaba.datax.common.element.Record;
import com.alibaba.datax.common.exception.DataXException;
import com.alibaba.datax.common.plugin.RecordSender;
import com.alibaba.datax.common.spi.Reader;
import com.alibaba.datax.common.util.Configuration;
import ... |
package io.pivotal.springsamples;
import io.pivotal.springsamples.fakes.InMemoryEventRepository;
import org.junit.Test;
import java.time.LocalDate;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
public class FetchEventTest {
private EventRepository eventRepository =... |
package com.ur.urcap.examples.localization.impl;
import com.ur.urcap.api.contribution.ProgramNodeContribution;
import com.ur.urcap.api.domain.URCapAPI;
import com.ur.urcap.api.domain.data.DataModel;
import com.ur.urcap.api.domain.script.ScriptWriter;
import com.ur.urcap.api.domain.system.localization.UnitType;
import ... |
// 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.core.algorithm.mpv;
import com.google.common.... |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
/*
* #%L
* Alfresco Records Management Module
* %%
* Copyright (C) 2005 - 2019 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* -
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* p... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2018 iText Group NV
Authors: iText Software.
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 Software Foundation ... |
package colesico.framework.example.asynctask.performer;
/**
* Task data
*/
public class PerfTaskPayload {
public String value;
public PerfTaskPayload(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
} |
package com.daimajia.swipedemo;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.... |
/* ====================================================================
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 Y... |
// Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... |
package com.viesis.viescraft.common.items.parts;
import java.util.List;
import com.viesis.viescraft.ViesCraft;
import com.viesis.viescraft.common.items.ItemHelper;
import com.viesis.viescraft.configs.ViesCraftConfig;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.mi... |
/**
* This package provides access to system users.
* </p>
* System users are user-sessions used by the DMS system to achieve anonymous
* tasks, such as repository booting.
* </p>
* Two system users are available, a superuser with read-write privileges, and
* a readonly user with read-only privileges. System use... |
package com.julysfire.simpleciphers;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.Mobile... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package org.pokemonrun.service;
public interface CampusRecordService {
String getCampusRunningLength(String username);
boolean appendCampusRunningLength(String username, String length);
} |
package br.com.zupacademy.gabriel.casadocodigo.validation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.http.HttpStatus;
import org.springframework.validation.Fiel... |
/**
*
* Copyright (c) Microsoft and contributors. 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 r... |
package net.myacxy.jgsq.models;
import com.google.gson.GsonBuilder;
import com.google.gson.annotations.SerializedName;
public class Player
{
@SerializedName("name")
public String name;
@SerializedName("colored_name")
public String coloredName;
@SerializedName("score")
public int score;
@Se... |
package com.baeldung.examples.olingo2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootApplication
public class Olingo2SampleApplication extends SpringBo... |
/*
* Copyright 2006-2021 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
*
* Unles... |
package com.carto.advancedmap.sections.vectorobjects;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.util.Log;
import com.carto.advancedmap.baseclasses.activities.MapBaseActivity;
import com.carto.advancedmap.R;
import com.carto.core.BinaryData;
import ... |
package co.yixiang.modules.activity.repository;
import co.yixiang.modules.activity.domain.YxStoreCouponIssueUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author hupeng
* @date 2019-11-09
*/
public interface YxStoreCo... |
package com.oc.hawk.project.application.representation;
import com.oc.hawk.project.api.dto.GitCommitRecordDTO;
import com.oc.hawk.project.domain.model.codebase.git.GitCommitLog;
import com.oc.hawk.project.domain.model.codebase.git.GitCommitter;
import org.springframework.stereotype.Component;
@Component
public class ... |
/*
* #%L
* Detection Framework (Release)
* %%
* Copyright (C) 2015 - 2020 Lawrence Livermore National Laboratory (LLNL)
* %%
* 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 re... |
package com.fsck.k9.activity;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.