text stringlengths 7 1.01M |
|---|
package com.thirdpart.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.thirdpart.ta... |
/*******************************************************************************
*
* Copyright (C) 2018 Kim Kwon Young
*
* 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
* ... |
package com.shake.app.utils;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.TranslateAnimation;
import com.shake.app.Define;
public final class ViewUti... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/automl/v1beta1/operations.proto
package com.google.cloud.automl.v1beta1;
public interface DeleteOperationMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.DeleteOperationMetadata)
... |
package com.behzad.enums;
/**
* Created by Behzad Altaf
*/
public enum InputSplitStrategy {
LINEAR,
LINEARREVERSE,
RANDOM,
STRATIFIED
}
|
package com.github.zuihou.area2;
import cn.hutool.log.StaticLog;
import com.github.zuihou.authority.entity.common.Area;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class LocationCityParserDecorator {
public List<Area> parseProvinces(List<Area> list) {
Stat... |
/*******************************************************************************
* Copyright (c) 2016 ATOS Spain S.A.
* 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
*... |
package io.h2cone.network.netty.example.discard;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.ch... |
/*
* 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... |
package org.odk.collect.android.utilities;
public class ArrayUtils {
/**
* An empty immutable {@code Long} array.
*/
private static final Long[] EMPTY_LONG_OBJECT_ARRAY = new Long[0];
/**
* An empty immutable {@code long} array.
*/
private static final long[] EMPTY_LONG_ARRAY = n... |
package ex;
/*
* Topic: 假設某個停車場的費率是停車2小時以內,每半小時30元,
* 超過2小時,但未滿4小時的部份,每半小時40元,
* 超過4小時以上的部份,每半小時60元,未滿半小時部分不計費。
* 如果您從早上10點23分停到下午3點20分,請撰寫程式計算共需繳交的停車費。
* Date: 2016/09/26
* Author: 102002017 邱泓偉
*/
import java.util.Scanner;
public class ex03_102002017 {
public static void main(String[] ar... |
/**
* Copyright (c) 2015, by the Authors: Antonio Sanchez (UBC)
*
* This software is freely available under a 2-clause BSD license. Please see
* the LICENSE file in the ArtiSynth distribution directory for details.
*/
package maspack.fileutil.uri;
import java.util.HashMap;
public class URIxScheme {
publi... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.parking;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentName... |
/*
* @author : Jagepard <jagepard@yandex.ru>
* @license https://mit-license.org/ MIT
*/
package Behavioral.Command;
import java.util.LinkedHashMap;
public class Lamp implements DeviceInterface{
LinkedHashMap<String, CommandInterface> commands = new LinkedHashMap<>();
public String execute(String comman... |
package com.codeborne.selenide.commands;
import com.codeborne.selenide.DriverStub;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.ex.ElementNotFound;
import com.codeborne.selenide.impl.WebElementSource;
import org.assertj.core.api.WithAssertions;
import org.junit.jupiter.api.BeforeEach;
i... |
package ir.alirezaiyan.stepindicator;
import androidx.appcompat.app.AppCompatActivity;
import ir.alirezaiyan.stepview.StepIndicator;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
int step = 0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.... |
/*
// * Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package com.dreamcc.system.service.impl;
import com.dreamcc.common.core.utils.StringUtils;
import com.dreamcc.system.api.model.LoginUser;
import com.dreamcc.system.domain.SysUserOnline;
import com.dreamcc.system.service.ISysUserOnlineService;
import org.springframework.stereotype.Service;
/**
* 在线用户 服务层处理
... |
package com.mlykotom.valifi.fields;
import com.mlykotom.valifi.ValiFi;
import androidx.annotation.Nullable;
import androidx.annotation.StringRes;
public class ValiFieldPhone extends ValiFieldText {
public ValiFieldPhone() {
super();
addPhoneValidator(getString(getErrorRes(ValiFi.Builder.ERROR_RES_PHONE)));
}
... |
package okhttp3.internal.http2;
import java.util.List;
import kotlin.Metadata;
import okhttp3.internal.concurrent.Task;
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0011\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H\u0016¨\u0006\u... |
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.numpy;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import sta... |
package ga.gasoft.smartpolice.Network;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class NetUtils
{
public static String NO_NETWORK = "oops! it seems like you've lost connectivity..";
public static String SERVER_ERROR = "Seems like our server is not... |
package com.beanframework.core.importlistener;
import javax.annotation.PostConstruct;
import org.springframework.stereotype.Component;
import com.beanframework.core.CoreImportListenerConstants;
import com.beanframework.imex.registry.ImportListener;
@Component
public class AddressImportListener extends ImportListener ... |
package org.compiere.model;
/** Generated Interface for C_Phonecall_Schema_Version
* @author Adempiere (generated)
*/
@SuppressWarnings("javadoc")
public interface I_C_Phonecall_Schema_Version
{
/** TableName=C_Phonecall_Schema_Version */
public static final String Table_Name = "C_Phonecall_Schema_Versi... |
package code.ui.render;
import java.util.List;
import java.util.ArrayList;
import code.engine.Resources;
import code.graphics.buffer.MasterBuffer;
import code.graphics.buffer.RenderJob;
import code.graphics.buffer.RenderLayer;
import code.graphics.texture.Renderable;
import code.math.VectorD;
import code.ui.styles.Sty... |
/*
* 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 app.fachinformatiker.threads;
public class Blubb {
boolean flag = false;
public synchronized void first() {
if(flag) {
try {
wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
System.out.printl... |
/*
* Copyright 2019. The Scouter2 Authors.
*
* @https://github.com/scouter-project/scouter2
*
* 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/LICEN... |
/*
* 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) 2019 - 2020 Rabobank Nederland
*
* 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 org.ga4gh.cts.api.reads;
import junitparams.JUnitParamsRunner;
import org.apache.avro.AvroRemoteException;
import org.ga4gh.ctk.CtkLogs;
import org.ga4gh.ctk.transport.GAWrapperException;
import org.ga4gh.ctk.transport.URLMAPPING;
import org.ga4gh.ctk.transport.protocols.Client;
import org.ga4gh.cts.api.TestDa... |
package me.EmiliaMMO.skill;
import net.md_5.bungee.api.ChatMessageType;
import net.md_5.bungee.api.chat.TextComponent;
import java.util.HashMap;
import java.util.UUID;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.Sound;
public class SkillOrder {
static HashMap<UUID, String[]> ... |
/*
* Copyright 2017 Apereo
*
* 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 wr... |
package org.fantasizer.domain;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.envers.Audited;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
... |
package com.shortcuts.example.giftcard.Models.Response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class AuthenticateResponse extends BaseResponse {
@JsonProperty("access_token")
@JsonInclude(JsonInclude.Include.... |
/*
* Copyright 2002-2010 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) 2018 American Express Travel Related Services Company, 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 req... |
package com.br.gabryel.livraria;
public class LivrariaMain {
public static void main(String[] args) {
PilhaTest teste = new PilhaTest();
// System.out.println("Retira Ultimo Livro : " + teste.testRetiraUltimoLivro());
//
// System.out.println("\n" + "tNao Adiciona Por Padrao livros com Letra Inicial diferente ... |
package br.com.dio.pilgriman.beerapirest.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import br.com.dio.pilgriman.beerapirest.dto.BeerDTO;
import br.com.dio.pilgriman.beerapirest.dto.Qua... |
package dev.gigafyde.apollo.commands.basic;
/*
Created by GigaFyde
https://github.com/GigaFyde
*/
import dev.gigafyde.apollo.core.command.Command;
import dev.gigafyde.apollo.core.command.CommandEvent;
import dev.gigafyde.apollo.utils.Emoji;
import net.dv8tion.jda.api.EmbedBuilder;
public class Ping extends Comma... |
/*
* Copyright (c) 2009-2019, b3log.org & hacpai.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 b... |
package image.exporter;
import com.google.inject.Guice;
import com.google.inject.Injector;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.fxml.JavaFXBuilderFactory;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
im... |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* Copyright (c) 2014, by the Authors: John E Lloyd (UBC)
*
* This software is freely available under a 2-clause BSD license. Please see
* the LICENSE file in the ArtiSynth distribution directory for details.
*/
package maspack.matrix;
import maspack.matrix.*;
import maspack.matrix.Matrix.Partition;
import mas... |
/*
Copyright (c) 2012 LinkedIn Corp.
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 (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
*/
package jdocs.persistence;
import static akka.pattern.PatternsCS.ask;
import java.util.HashSet;
import java.util.Set;
import akka.NotUsed;
import akka.persistence.query.Sequence;
import akka.persistence.query.Offset;
import com.typesafe.co... |
package com.generation.energym;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class EnergymApplicationTests {
@Test
void contextLoads() {
}
}
|
package oo.Game;
/**
* Interface for Phase
* Not useful, mainly useless and confusing, but asked
*/
public interface Phase {
/**
* Select 4 random players
* Could be moved to the Game class
*/
void selectPlayers();
/**
* Get the current phase
*
* @return Cu... |
package io.basc.start.app.web;
import io.basc.framework.http.HttpMethod;
import io.basc.framework.io.IOUtils;
import io.basc.framework.net.message.multipart.MultipartMessage;
import io.basc.framework.security.session.UserSession;
import io.basc.framework.upload.kind.KindDirType;
import io.basc.framework.upload.kind.Ki... |
/**
* (C) Copyright 2016-2019 teecube
* (https://teecu.be) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/*******************************************************************************
* Software Name : RCS IMS Stack
*
* Copyright (C) 2010 France Telecom S.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 obtai... |
/*
* Copyright (c) 2020. 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, so... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* DatabaseConfiguration.java
*
* Copyright (c) 2019 Rafael Corchuelo.
*
* In keeping with the traditional purpose of furthering education and research, it is
* the policy of the copyright owner to permit non-commercial use and redistribution of
* this software. It has been tested carefully, but it is not guar... |
package peacefulotter.engine.rendering.graphics;
public class RawModel
{
private final int vaoId;
private final int vertexCount;
public RawModel( int vaoId, int vertexCount )
{
this.vaoId = vaoId;
this.vertexCount = vertexCount;
}
public int getVaoId()
{
return vao... |
package com.github.sandor_balazs.nosql_java.web.rest.dto;
import java.io.Serializable;
import java.util.Objects;
/**
* A DTO for the Funding entity.
*/
public class FundingDTO implements Serializable {
private String id;
private String name;
public String getId() {
return id;
}
publ... |
/*******************************************************************************
* Copyright 2021 Nail Sharipov (sharipovn@gmail.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
*
... |
/**
* 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")... |
package com.yuhs.shiro;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
/**
* 自定义FormAuthenticationFilter,完成认证前进行验证码校验
* Created by yuhaisheng on 2019/4/29.
*/
public class C... |
package com.boyarsky.dapos.core.repository.account;
import com.boyarsky.dapos.core.model.account.Account;
import com.boyarsky.dapos.core.model.account.AccountId;
import com.boyarsky.dapos.core.repository.XodusRepoContext;
import com.boyarsky.dapos.core.repository.aop.Transactional;
import com.boyarsky.dapos.utils.Coll... |
package io.basc.framework.lucene;
public class LuceneException extends RuntimeException{
private static final long serialVersionUID = 1L;
public LuceneException(Throwable e) {
super(e);
}
public LuceneException(String message) {
super(message);
}
public LuceneException(String message, Throwable cause... |
/*
* Copyright 2014-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... |
/*
* 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 ... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/**
* Created by Gabriele Cardosi - gcardosi@cardosi.net on 02/08/16.
*
* Login view classes
*/
package ${package}.client.view.login; |
package com.harun.androidresimleriyerellestirme;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which... |
package com.google.api.ads.adwords.jaxws.v201607.cm;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A... |
package net.interition.sparqlycode.ahkbp;
public enum DirectiveEnum {
VirtualHost, ServerName, Redirect, ProxyPass, ServerAlias, UNKNOWN;
public static DirectiveEnum getDirective(String directive) {
for( DirectiveEnum constant : DirectiveEnum.values() ) {
if(directive.equalsIgnoreCase(constant.name())) ret... |
package org.firstinspires.ftc.teamcode.trajectory.sequencesegment;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.trajectory.TrajectoryMarker;
import java.util.List;
public final class WaitSegment extends SequenceSegment {
public WaitSegment(Pose2d pose, double seconds, Li... |
/**
* TLS-Attacker - A Modular Penetration Testing Framework for TLS
*
* Copyright 2014-2017 Ruhr University Bochum / Hackmanit GmbH
*
* Licensed under Apache License 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package de.rub.nds.tlsattacker.core.protocol.handler;
import de.rub.nds.tlsattacker.core.prot... |
package jp.osaka.appppy.sample.osakacity.app.contents;
import jp.osaka.appppy.sample.osakacity.app.MainActivity;
/**
* メインアクティビティ
*
* @author APPPPY
*/
public class CardCultureAndTouristActivity extends MainActivity {
}
|
/**
* @see https://github.com/JustBurrow/java-lulkr-spring-data-jpa
*/
package kr.lul.spring.data.jpa.time.converter;
import static org.assertj.core.api.Assertions.assertThat;
import java.time.LocalDateTime;
import org.junit.Before;
import org.junit.Test;
import kr.lul.common.util.SystemTimeProvider;
import kr.lu... |
package de.metas.handlingunits.order.api.impl;
/*
* #%L
* de.metas.handlingunits.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either ve... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
/**
* Copyright (C) 2013 Arman Gal
*
* 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 l... |
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
/**
* Description:
* 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a><br>
* Copyright (C), 2001-2018, Yeeku.H.Lee<br>
* This program is protected by copyright laws.<br>
* Program Name:<br>
* Date:<... |
package org.rest.client.jso;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArrayString;
public class PendingAnalytics extends JavaScriptObject {
protected PendingAnalytics(){}
public final native String getType() /*-{
return this.type;
}-*/;
public final native JsAr... |
/*
* Copyright (C) 2019 The Turms Project
* https://github.com/turms-im/turms
*
* 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
*
*... |
/*
* Copyright (c) Facebook, Inc. and 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 com.chizganov.puzzlers.leetcode.may;
import java.util.HashSet;
import java.util.Set;
/**
* <a href="https://leetcode.com/explore/featured/card/may-leetcoding-challenge/534/week-1-may-1st-may-7th/3317/">JewelsAndStones challenge</a>
*
* @author Ev Chizganov
*/
class JewelsAndStones {
int numJewelsInSt... |
package com.ngrok.definitions;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.Optional;
/**
* A cl... |
/*
* 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... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package com.youlai.common.core.constant;
/**
* 常量
*
* @author Mark sunlightcs@gmail.com
*/
public class RenrenConstant {
/** 超级管理员ID */
public static final int SUPER_ADMIN = 1;
/**
* 当前页码
*/
... |
/*
* 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.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.security.risk.authentication.cancel response.
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
public class AlipaySecurityRiskAuthenticationCa... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/talent/v4beta1/event.proto
package com.google.cloud.talent.v4beta1;
public interface JobEventOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobEvent)
com.google.protobuf.Message... |
import com.solacesystems.solclientj.core.SolEnum;
import com.solacesystems.solclientj.core.Solclient;
import com.solacesystems.solclientj.core.SolclientException;
import com.solacesystems.solclientj.core.event.MessageCallback;
import com.solacesystems.solclientj.core.event.SessionEventCallback;
import com.solacesystems... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package unluac.test;
public class LuaSpec {
public enum NumberFormat {
DEFAULT,
FLOAT,
INT32,
INT64
}
public LuaSpec() {
this.isDefault = true;
this.version = 0;
this.numberFormat = NumberFormat.DEFAULT;
this.strip = false;
... |
/* 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 io.flutter.plugins.flutter_plugin_android_lifecycle;
public final class R {
private R() {}
public static final class a... |
package br.com.jfernando.mudi.controller;
import java.security.Principal;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ExceptionHandler;
import... |
/**
* Copyright © 2013 enioka. 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 la... |
package org.opencds.cqf.tooling.npm;
import java.io.IOException;
import java.io.InputStream;
import org.hl7.fhir.exceptions.FHIRFormatError;
import org.hl7.fhir.r5.model.Library;
public interface ILibraryReader {
public Library readLibrary(InputStream stream) throws FHIRFormatError, IOException;
}
|
/*
* Copyright 2002-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 by ap... |
import java.util.LinkedList;
class Monitor {
LinkedList<Request> requests_s0, requests_s1, requests_s2, requests_s3;
Request request_s1_1, request_s1_2;
private int idx;
private boolean cpu;
double util_time_s0, util_time_s1_1, util_time_s1_2, util_time_s2, util_time_s3, no_of_requests, no_of_requests_s0,
... |
package nfs.entities.races.normalRaces;
import nfs.entities.cars.Car;
import nfs.entities.races.Race;
import nfs.utilities.Constants;
public abstract class NormalRace extends Race{
protected NormalRace(int length, String route, int prizePool) {
super(length, route, prizePool);
}
@Override
pr... |
package edu.neu.ccs.pyramid.tmp;
//package edu.neu.ccs.pyramid.tmp;
//import edu.neu.ccs.pyramid.util.DirWalker;
import edu.neu.ccs.pyramid.util.DirWalker;
import org.apache.commons.io.FileUtils;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
impor... |
/**
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.