text stringlengths 7 995k |
|---|
/**
* Copyright 2017 University of Victoria
*
* 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, including without limitation the
* rights to use, copy, modify, merge... |
/**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
... |
package org.kodejava.example.util;
import java.util.Set;
import java.util.TreeSet;
public class TreeSetDemo {
public static void main(String[] args) {
// The TreeSet class is an implementation of a SortedSet, this means
// that when your are using the TreeSet to store you data collections
... |
package com.vignesh.nfccardreader.utils;
import android.nfc.tech.IsoDep;
import android.util.Log;
import com.vignesh.nfccardreader.BuildConfig;
import com.vignesh.nfccardreader.parser.IProvider;
import java.io.IOException;
public class Provider implements IProvider{
private IsoDep tagCom;
public void setT... |
package com.shangsc.platform.model.base;
import com.shangsc.platform.core.model.BaseModel;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings("serial")
public abstract class BaseDictType<M extends BaseDictType<M>> extends BaseModel<M> implements IBe... |
/*
* Copyright (C) 2014 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.egoveris.te.base.model.rest;
public class HistoryWsDTO {
// status
private String status;
// date
private String date;
// desc
private String desc;
/**
* @return the status
*/
public String getStatus() {
return status;
}
/**
* @param status the status to set
*/
public void setStat... |
/*
* Copyright 2021 German Vekhorev (DarksideCode)
*
* 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 applicabl... |
package leetCode.day21;
/**
* @author liqiqi_tql
* @date 2021/2/21 -12:05
*/
public class T32 {
class Solution {
public int longestValidParentheses(String s) {
int n = s.length();
int[] dp = new int[n];//dp是以i处括号结尾的有效括号长度
int max_len = 0;
//i从1开始,一个是单括号无效,... |
package javacore.Xnio.test;
import java.io.IOException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
public class DirectoryStreamTest {
public static void main(String[] args) {
Path dir = Paths.get("pasta");
try(DirectoryS... |
/*
* Copyright (c) 2018 Dimitri Watel
*/
package gui;
import javafx.scene.Node;
import javafx.scene.image.ImageView;
import javafx.scene.input.MouseEvent;
import util.MouseListener;
import util.Ressources;
import util.widget.VirtualKeyboard;
import java.util.Optional;
class SymbolSettingsRectangle extends Setting... |
package fr.univ_tours.polytech.di4.project.data.api.weather;
import java.io.Serializable;
/**
* @author Archat Mathieu
* @version 0.1
* This class store wind description
*/
public class Wind implements Serializable {
private double speed;
private double deg;
/**
* get wind speed
*... |
package com.voting_app.services.interfaces;
import com.voting_app.models.Constituency;
/**
********************************************************************
* Generic service interface for a Constituency Repository
*
* @author Kyle Williamson
* @version 1.0.0
**************************************************... |
/*
* ExecutionFilter.java
*
*/
package com.autoStock.trading.platform.ib.core;
public class ExecutionFilter{
public int m_clientId;
public String m_acctCode;
public String m_time;
public String m_symbol;
public String m_secType;
public String m_exchange;
public String m_side;
... |
package pro.leaco.curiosity.db.g.service;
import java.util.ArrayList;
import java.util.List;
public class GDataDtoExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table biz_data
*
* @mbg.generated
*/
protected String orderByClause... |
/*
* 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.github.jpoetker.minecraft.builders;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer;
import net.minecraft.item.*;
import net.minecraftforge.common.ToolType;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetExcepti... |
package bugs.stackoverflow.belisarius.commands;
import bugs.stackoverflow.belisarius.services.MonitorService;
import bugs.stackoverflow.belisarius.utils.CommandUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sobotics.chatexchange.chat.Message;
public class RebootCommand implements Command ... |
/*
* Copyright (c) 2018 Cloudera, Inc. All Rights Reserved.
*
* Portions Copyright (c) Copyright 2013-2018 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.
* You may o... |
import java.util.Scanner;
/**
* Migrado de Bluej a IntelliJ 24062018
* @author Dorian Flores Lopez
* @version 25062018
*/
public class Principal {
static int[] coordUno,coordDos;
static int columnas;
static int filas;
static int inicio,destino;
static Tablero tab;
Principal(int columnas,in... |
/*
* Copyright 2010-2021 Australian Signals Directorate
*
* 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 appl... |
// Copyright 2010 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 applicable law o... |
package mage.cards.a;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AttacksCreatureYouControlTriggeredAbility;
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
import mage.abilities.condition.common.SourceOnBattlefieldOrCommandZoneCondition;
import mage.abilities.costs... |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.basics.index;
import com.opengamma.strata.collect.named.ExtendedEnum;
/**
* Constants and implementations for commonly used Floating rate names.
* <p>... |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.value.properties;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import com.google.common.collec... |
/*
* Copyright 1999-2019 Seata.io Group.
*
* 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... |
/*
* 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 ... |
/* 5.1 You are given two 32-bit numbers, N and M, and two bit positions,
* i and j. Write a method to set all bits between i and j in N equal to M
* (e.g., M becomes a substring of N located at i and starting at j).
*
* EXAMPLE:
* Input: N = 10000000000, M = 10101, i = 2, j = 6
* Output: N = 10001010100
* */ |
/*
* Copyright (C) 2017 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... |
package nl.captcha.servlet;
import nl.captcha.audio.Sample;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletResponse;
import javax.sound.sampled.AudioFileFormat;
impo... |
/* 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... |
package com.amsavarthan.game.trivia.utils;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DatabaseHelper extends SQLiteOpenHelper {
public static final String TABLE_NAME = "session";
public static final String _ID =... |
package org.socraticgrid.hl7.services.eps;
import javax.jws.WebParam;
import javax.jws.WebService;
import org.socraticgrid.hl7.services.eps.exceptions.FeatureNotAvailableException;
import org.socraticgrid.hl7.services.eps.exceptions.NoSuchItemException;
import org.socraticgrid.hl7.services.eps.exceptions.NoSuchTopicE... |
package com.sebastian_daschner.jaxrs_analyzer.analysis.bytecode.collection;
import com.sebastian_daschner.jaxrs_analyzer.LogProvider;
import com.sebastian_daschner.jaxrs_analyzer.model.instructions.*;
import com.sebastian_daschner.jaxrs_analyzer.model.methods.MethodIdentifier;
import org.objectweb.asm.Handle;
import 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 agreed to in writing, software
* distribut... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2014 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
public class DeleteTestElement_0005fRight_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _j... |
/*
* Copyright 2016-2021 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 com.brmuncey.shortcutcalculator.Model;
import com.brmuncey.shortcutcalculator.Controller.CartController;
import java.text.NumberFormat;
public class CartItem {
private double price;
private ItemType type;
private double priceWTax;
CartItem(double price, ItemType type){
this.price = ... |
package dataStructure;
import Algorithm.shortestPath.Graph;
import org.junit.Test;
public class MinGraphDisTest {
@Test
public void testDijkstra() {
Graph instance = new Graph(15);
instance.addEdge(1, 5, 5);
instance.addEdge(2, 5, 10);
instance.addEdge(3, 7, 7);
instanc... |
/*
* The MIT License
*
* Copyright 2014 Kamnev Georgiy (nt.gocha@gmail.com).
*
* Данная лицензия разрешает, безвозмездно, лицам, получившим копию данного программного
* обеспечения и сопутствующей документации (в дальнейшем именуемыми "Программное Обеспечение"),
* использовать Программное Обеспечение без огранич... |
/*
* This file was automatically generated by EvoSuite
* Wed Nov 11 01:25:22 GMT 2020
*/
package Newzgrabber;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import Newzgrabber.Base64Decoder;
import Newzgrabber.BufferedCustomInputStream;
import Newzgrabb... |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.atguigu.gmall.pms.dao;
import com.atguigu.gmall.pms.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* spu信息
*
* @author lixianfeng
* @email lxf@atguigu.com
* @date 2019-12-31 09:59:59
*/
@Mapper
public interface SpuInfoD... |
/**
* Traq Java API Client.
*
* @author Jack Polgar <jack@polgar.id.au>
* @license Apache-2.0
*/
package traq.models;
import java.io.IOException;
import java.util.ArrayList;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import traq.API;
/**
* Site mo... |
package net.demilich.metastone.game.cards.concrete.warrior;
import net.demilich.metastone.game.cards.MinionCard;
import net.demilich.metastone.game.cards.Rarity;
import net.demilich.metastone.game.entities.heroes.HeroClass;
import net.demilich.metastone.game.entities.minions.Minion;
import net.demilich.metastone.game.... |
/*
* Copyright 2018 The Higgs 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 agree... |
/*
* Copyright 2008-2009 the original 赵永春(zyc@hasor.net).
*
* 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... |
package com.team41.boromi;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import com.team41.boromi.auth.WelcomeFragment;
import com.team41... |
/*
* 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.lhalcyon.dapp.ui.base;
import android.content.Context;
import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import androidx.fragment.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Vi... |
package io.invertase.jet;
import android.app.Activity;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
publi... |
/*
* Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
*
* License for BK-BASE 蓝鲸基础平台:
* ----------------------------------------------... |
/**
* Message Queue.
*/
package io.wms.ib.domain.facade.mq; |
package lab_four;
/**
* Created by Asseel Tarish Alazazi on 2/1/2022.
*/
public class CircularLinkedList <E>{
private Node<E> tail=null;
private int size=0;
public CircularLinkedList() {
}
public boolean isEmpty(){
return size==0;
}
public int size(){
return size;
... |
package dev.vepsertine.javafatebackend.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
@Entity
@Table(name = "mapmarker")
public class MapMarker {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long mapmarkerid;
private String title,... |
package nl.gertontenham.ords.templates.db;
/**
* Database column object. Includes some metadata and the value
*/
public class GenericData {
private final String columnType;
private final int columnNullable;
private final int columnPrecision;
private final int columnScale;
private final int colum... |
package com.flowci.docker.domain;
import java.util.HashMap;
import java.util.Map;
public abstract class Variables {
public static final String NODE_NAME = "K8S_NODE_NAME";
public static final String POD_NAME = "K8S_POD_NAME";
public static final String POD_IP = "K8S_POD_IP";
public static final St... |
/*
*
* 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"); y... |
package android.databinding.adapters;
import android.content.Context;
import android.databinding.ObservableList;
import android.databinding.ObservableList.OnListChangedCallback;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import androi... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2019 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 applica... |
/*
* 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... |
package com.lordofthejars.nosqlunit.neo4j;
import org.neo4j.rest.graphdb.RestGraphDatabase;
public class ManagedNeoServerConfigurationBuilder {
private final Neo4jConfiguration neo4jConfiguration;
private ManagedNeoServerConfigurationBuilder() {
super();
this.neo4jConfiguration = new Neo4jConfiguration();
}... |
/**
* Copyright 2014 Kakao Corp.
*
* Redistribution and modification in source or binary forms are not permitted without specific prior written permission.??
*
* 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 c... |
/**
* Copyright 2009-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
*
* Unle... |
package technology.mainthread.apps.isitup.data;
import com.crashlytics.android.Crashlytics;
import timber.log.Timber;
public class CrashlyticsTree extends Timber.Tree {
@Override
public void e(String message, Object... args) {
logToCrashlytics(new RuntimeException("Non-Fatal Error Log"), message, ar... |
/*
* Copyright 2015 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... |
package com.liuyanzhao.ssm.blog.enums;
/**
* @author 言曌
* @date 2018/11/17 下午4:47
*/
public enum LinkStatus {
NORMAL(1, "显示"),
HIDDEN(0, "隐藏");
private Integer value;
private String message;
LinkStatus(Integer value, String message) {
this.value = value;
this.message = messa... |
package code;
import javafx.animation.*;
import javafx.fxml.FXML;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.effect.BoxBlur;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.util.Duration;
impor... |
// 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.auction.beans;
/**
*
* @author weijia
* @func 拍品粗略信息封装
* @since 2016/10/28 00:20:00
*/
public class SimpleAuctionInfo {
/** 拍品编号 */
private Integer auction_id;
/** 拍品名称 */
private String auction_name;
/** 拍品图片 */
private String img_url;
/** 起拍价 */
private Double starting_price;
/** 拍品状态 */
... |
package frc.robot.commands.autonomous;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj2.command.CommandBase;
import edu.wpi.first.wpilibj2.command.CommandScheduler;
import frc.robot.Constants;
import edu.wpi.first.wpilibj.XboxController;
import frc.robot.subsystems.Launcher;
import frc.robot.subsystem... |
package io.datakernel.http;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* This is a util class that provides a mean to render any exception into an {@link HttpResponse}
* with the stacktrace rendered nicely.
* It also generates link t... |
package Breccia.parser;
/** An alarm point in Breccia.
*
*/ @TagName("AlarmPoint") @DataReflector
public interface AlarmPoint extends Point {
// ━━━ M a r k u p ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/** The default implementation returns ‘AlarmPoint’.
... |
/*
* Copyright 2012-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... |
/**
* 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 mekanism.client.render.item.block;
import com.mojang.blaze3d.matrix.MatrixStack;
import javax.annotation.Nonnull;
import mekanism.client.model.ModelQuantumEntangloporter;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.Vector3f;
import net.minecraft.client.renderer.... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 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 com.github.bfg.eureka.dns;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.util.concurrent.Future;
import lombok.NonNull;
import lombok.experimental.UtilityClass;
import lombok.val;
import java.util.List;
import java.util.c... |
/*
* Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-CI 蓝鲸持续集成平台 is licensed under the MIT license.
*
* A copy of the MIT License is included in this file.
*
*
* Terms of the MIT... |
package com.example.Models.OperationSection.OperationGenerator;
import com.example.EnumTypes.ItemType;
import com.example.Models.OperationSection.Operation.Operation;
import com.example.Models.OperationSection.OperationImages.OperationImages;
import java.util.ArrayList;
import java.util.Random;
public class Operation... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.subsystems;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel;
import co... |
package com.ruoyi.wx.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* 科目详情对象 wx_subject_details
*
* @author ruoyi
* @date 2021-02-23
*/
public cl... |
package com.shop.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import com.shop... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package at.ebinterface.validation.rtr.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
*... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
//Problem580A.java
import java.util.*;
import java.lang.*;
public class Problem580A{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] arr = new int[n];
for(int i=0; i<arr.length; i++)
arr[i] = sc.nextInt();
int max = 1;
int count = 1;
for(in... |
package com.github.lapesd.hdtss.controller.websocket.task;
import com.github.lapesd.hdtss.controller.execution.QueryInfo;
import com.github.lapesd.hdtss.controller.execution.SparqlExecutor;
import com.github.lapesd.hdtss.controller.websocket.SparqlSessionContext;
import io.micronaut.websocket.WebSocketSession;
import ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 PrograMonks
*
* 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, including without limitation the rights
* to use, ... |
/*
* Copyright 2009-2014 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 org.telegram.abilitybots.api.sender;
import org.telegram.telegrambots.api.methods.*;
import org.telegram.telegrambots.api.methods.games.GetGameHighScores;
import org.telegram.telegrambots.api.methods.games.SetGameScore;
import org.telegram.telegrambots.api.methods.groupadministration.*;
import org.telegram.tel... |
package org.pdfclown.samples.cli;
import java.awt.geom.Dimension2D;
import java.awt.geom.Point2D;
import java.io.IOException;
import org.pdfclown.documents.Document;
import org.pdfclown.documents.Page;
import org.pdfclown.documents.PageFormat;
import org.pdfclown.documents.PageFormat.OrientationEnum;
import org.pdfcl... |
package br.com.zupacademy.felipe.gadelha.casadocodigo.api.dto.request;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import br.com.zupacademy.felipe.gadelha.casadocodigo.api.validator.annotation.UniqueValue;
import br.com.zupacademy.felipe.gadelha.casadocodigo.domain.entit... |
// Copyright 2014 Google Inc. All Rights Reserved.
package com.examples.youtubeapidemo;
/**
* Static container class for holding a reference to your YouTube Developer Key.
*/
public class DeveloperKey {
/**
* Please replace this with a valid API key which is enabled for the
* YouTube Data API v3 service. G... |
/*
* 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... |
package com.ociweb.gl.impl.stage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ociweb.gl.api.MsgCommandChannel;
import com.ociweb.gl.impl.ChildClassScannerVisitor;
import com.ociweb.gl.impl.schema.TrafficOrderSchema;
import com.ociweb.pronghorn.pipe.Pipe;
class PrivateTopicReg implements Child... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.