text stringlengths 7 995k |
|---|
// 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.MotorType;... |
package org.usfirst.frc5124.WestTorranceLearn.subsystems;
import org.usfirst.frc.team5124.robot.RobotMap;
import edu.wpi.first.wpilibj.VictorSP;
import edu.wpi.first.wpilibj.command.Subsystem;
public class Shooters extends Subsystem {
private final VictorSP leftShooter = new RobotMap().shootersShooterMotorLeft;
... |
package com.mammen.ui.javafx.dialog.add_waypoint;
import javafx.fxml.FXML;
import javafx.scene.control.TextField;
import javafx.scene.control.TextFormatter;
import javafx.util.converter.DoubleStringConverter;
public class AddWaypointDialogController
{
@FXML
private TextField
txtWX, // X-Coord
txt... |
/*
* MIT License
*
* Copyright (c) 2020 Chainmail Studios
*
* 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... |
/*
* Created on Sep 23, 2006
*
* 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 writ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.0... |
package com.xcz.nurse;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition... |
package cn.cerc.jmis.queue;
import org.apache.log4j.Logger;
import cn.cerc.jbean.client.LocalService;
import cn.cerc.jbean.core.BookHandle;
import cn.cerc.jbean.core.ServerConfig;
import cn.cerc.jdb.core.TDateTime;
import cn.cerc.jdb.queue.QueueMode;
import cn.cerc.jdb.queue.QueueQuery;
import cn.cerc.jdb.queue.Queue... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.fugerit.java.core.util.format;
public class TimeFormatDefault {
public static final String TIMESTAMP_ISO_TZ = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
public static final String DATE_YYYY_MM_DD = "yyyy-MM-dd";
public static final String TIMESTAMP_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
} |
package de.bogenliga.application.business.user.impl.business;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.authentication.AuthenticationDetailsSource;
import org.springframework.security.web.authentication.WebAuthenticationDetails;
import org.springframework.stereotype.Component;
... |
package com.zw.platform.domain.share;
import com.alibaba.fastjson.JSONObject;
/**
* <p>
* Title:油箱形状Util
* <p>
* Copyright: Copyright (c) 2016
* <p>
* Company: ZhongWei
* <p>
* team: ZhongWeiTeam
*
* @version 1.0
* @author: nixiangqian
* @date 2017年05月23日 10:19
*/
public class ShapeUtil {
static JSO... |
package STRING.outputs;
import java.io.*;
import java.lang.*;
class output3
{
public static void main(String[]args)
{
int age=9;
String s="He is" +age+ "years old";
System.out.println(s);
}
} |
/**
* vertigo - application development platform
*
* Copyright (C) 2013-2022, Vertigo.io, team@vertigo.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
package jetbrains.mps.lang.plugin.constraints;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.BaseConstraintsAspectDescriptor;
import jetbrains.mps.smodel.runtime.ConstraintsDescriptor;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescr... |
package com.planet_ink.coffee_mud.core.collections;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.NoSuchElementException;
/*
Copyright 2012-2018 Bo Zimmerman
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... |
package br.org.arquitetura.model.persistence.entity;
import java.io.Serializable;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
public interface IEntidade extends Serializable {
public int getId();
public void setId(@NotNull @Max(Integer.MAX_VALUE) int id);
} |
/*
* 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... |
/*
* 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.example.feifei.paipaipai;
import android.app.Fragment;
import android.graphics.Bitmap;
import android.media.MediaMetadataRetriever;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import android.util.DisplayMe... |
package edu.wpi.grip.core.operations.opencv;
import edu.wpi.grip.annotation.operation.OperationCategory;
import edu.wpi.grip.core.Operation;
import edu.wpi.grip.core.OperationDescription;
import edu.wpi.grip.core.util.Icon;
public interface CVOperation extends Operation {
/**
* Default builder for OpenCV Operat... |
/*
Copyright (C) 2013-2021 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... |
package seedu.address.testutil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import seedu.address.model.client.Note;
public class TypicalNotes {
public static final Note SCHOOL = new NoteBuilder()
.withNote("Studies at NUS")
.build();
public static fin... |
package org.apereo.cas.services;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.WebApplicationServiceFactory;
import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
/**
* This is {@link RegisteredServiceAuthorizer}.
*
* @au... |
/*
* Copyright 2015 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 applic... |
/**
* 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 es.rcs.tfm.main.boot;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import es.rcs.tfm.main.AppNames;
import es.rcs.tfm.main.config.AuditConfig;
import es.rcs.tfm.main.config.CacheConfig;
import es.rcs.tfm.main.config.DatabaseConfig;
import e... |
package com.example.tourpackage;
import java.security.PrivateKey;
public class TourData {
private String itemName;
private String itemDescription;
private String itemPrice;
private int itemImage;
public TourData(String itemName, String itemDescription, String itemPrice, int itemImage) {
... |
package io.github.edmm.plugins.compose.model;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import io.github.edmm.core.TransformationHelper;
import io.github.edmm.docker.Container;
import io.github.edmm.model.Property;
import io.github.edmm.model.component.MongoDb;
import io.github.... |
package com.thinkerwolf.hantis.orm;
import java.io.Closeable;
import java.io.IOException;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.LinkedHashMap;
import java.util.Map;
import com.thinkerwolf.hantis.cache.Cache;
import com.thinkerwolf.hantis.common.NameHandler;
import com.thinkerwo... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v1/enums/ad_group_type.proto
package com.google.ads.googleads.v1.enums;
public interface AdGroupTypeEnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v1.enums.AdGroupTypeEnum)
com... |
//,temp,TestCachingStrategy.java,296,340,temp,TestCachingStrategy.java,214,249
//,3
public class xxx {
@Test(timeout=120000)
public void testFadviseAfterWriteThenRead() throws Exception {
// start a cluster
LOG.info("testFadviseAfterWriteThenRead");
tracker.clear();
Configuration conf = new HdfsConf... |
package org.sagebionetworks.bridge.dynamodb;
import static com.google.common.base.Preconditions.checkArgument;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.sagebionetworks.bridge.models.backfill.BackfillStatus;
import org.sagebionetworks.bridge.models.backfill.BackfillTask;
import com... |
/**
* Copyright (C) 2016 Hurence (support@hurence.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 a... |
package homework7;
import java.util.HashMap;
public class _15211301_WeiXiao_7_BookCatalog {
HashMap<String,_15211301_WeiXiao_7_ProductSpecification> books= new HashMap<>();
_15211301_WeiXiao_7_PricingStrategyFactory factory=_15211301_WeiXiao_7_PricingStrategyFactory.getInstance();
public _15211301_WeiXi... |
package org.onvif.ver10.schema;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
impo... |
package org.wikipathways.wp2rdf.ontologies;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.Resource;
/**
* Vocabulary definitions from http://www.ontologydesignpatterns.org/ont/dul/DUL.owl
* @author Auto-generated by schemagen on 14 Sep 201... |
package team.serenity.storage.userprefs;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;
import team.serenity.commons.exceptions.DataConversionException;
import team.serenity.model.userprefs.ReadOnlyUserPrefs;
import team.serenity.model.userprefs.UserPrefs;
/**
* Represents a stora... |
package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_MEAN;
import java.util.ArrayList;
import seedu.address.logic.CommandHistory;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.model.Mode... |
package org.eclipse.leshan.server;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.apache.commons.configuration.XMLConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Lwm2mServerConfig {
private static final String CONFIG_FILENAME = "c... |
package com.arui.mall.core.seckill.mapper;
import com.arui.mall.model.pojo.entity.SeckillProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author ...
* @since 2021-11-17
*/
public interface SeckillProductMapper extends BaseMapper<SeckillProduct> {
} |
/*
* 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... |
/**
* Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org>
* Copyright (C) 2011 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/li... |
package com.applikeysolutions.cosmocalendar.settings.selection;
import com.applikeysolutions.cosmocalendar.utils.SelectionType;
public interface SelectionInterface {
@SelectionType
int getSelectionType();
void setSelectionType(@SelectionType int selectionType);
} |
//,temp,AlignedPlannerWithGreedy.java,103,111,temp,GreedyReservationAgent.java,77,85
//,2
public class xxx {
@Override
public boolean updateReservation(ReservationId reservationId, String user,
Plan plan, ReservationDefinition contract) throws PlanningException {
LOG.info("updating the following Reservat... |
/*
* BSD 2-Clause License
*
* Copyright (c) 2021, Ondrej Fischer
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice... |
package com.tngtech.archunit.example.onionarchitecture.domain.service;
@SuppressWarnings("unused")
public class OrderQuantity {
private final int quantity;
public OrderQuantity(int quantity) {
if (quantity <= 0) {
throw new IllegalArgumentException("Quantity must be positive");
}
... |
package me.sharpjaws.sharpsk.hooks.WorldEdit.enums;
public enum SchemFacingDirection {
NORTH, EAST, SOUTH, WEST, INVALID;
public final static Integer getDegree(SchemFacingDirection dir) {
switch (dir) {
case NORTH:
return 0;
case EAST:
return 90... |
package com.js.interpreter.tokens.grouping;
import com.js.interpreter.linenumber.LineInfo;
import com.js.interpreter.tokens.Token;
public class ClassToken extends GrouperToken {
public ClassToken(LineInfo line) {
super(line);
}
@Override
public String toString() {
StringBuilder result... |
package com.streamacho.meeting.config.swagger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.Docu... |
package com.mapswithme.maps.maplayer;
import java.util.ArrayList;
import java.util.List;
public class LayersUtils
{
public static List<Mode> getAvailableLayers()
{
List<Mode> availableLayers = new ArrayList<>();
availableLayers.add(Mode.ISOLINES);
availableLayers.add(Mode.SUBWAY);
return available... |
package cn.zcq.base.model;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings("serial")
public abstract class BaseZcqCopyZz<M extends BaseZcqCopyZz<M>> extends Model<M> implements IBean {
public void se... |
package br.com.randomthings.exception;
public class AuthorizationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public AuthorizationException(String msg) {
super(msg);
}
public AuthorizationException(String msg, Throwable cause) {
super(msg, cause);
}
} |
/**
* Copyright 2016 LinkedIn Corp. 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 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
* distribut... |
package shiver.me.timbers.aws.ec2;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
i... |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... |
/**
* Copyright © 2016-2021 The Thingsboard 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 applicab... |
/*
* OpenALPR Cloud API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 2.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the... |
// 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 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* 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.stoldo.fitness_app_android.fragments;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.text.InputType;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.vie... |
package com.smartg.swing.treetable;
import java.awt.Component;
import java.awt.Graphics;
import javax.swing.Icon;
public class CompoundIcon implements Icon {
private Icon firstIcon;
private Icon secondIcon;
private int gap;
public CompoundIcon() {
}
public CompoundIcon(int gap) {
this(nul... |
package de.craften.ui.swingmaterial.fonts;
import java.awt.*;
import java.io.IOException;
import java.io.InputStream;
/**
* The Roboto font.
*
* @see <a href="https://www.google.com/design/spec/resources/roboto-noto-fonts.html">Roboto & Noto fonts (Google design guidelines)</a>
*/
public class Roboto {
pu... |
package com.bmsoft.cloud.file.dto;
import com.bmsoft.cloud.file.entity.File;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* <p>
* 实体类
* 文件... |
/*
* 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... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.cab.libmgmt.ui;
/**
*
* @author Jack Sparrow
*/
public class Welcome extends javax.swing.JFrame {
/**
* Crea... |
/*
* Copyright (c) 2018 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com>
* All Rights Reserved.
*/
package me.zhanghai.android.bytecoder.library;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Transform a method to invoke an instance method declared in a class.
*/
@Target({ ElementT... |
package ca.pfv.spmf.algorithms.frequentpatterns.haui_miner;
/* This is an implementation of the HAUI-Miner algorithm.
*
* Copyright (c) 2016 HAUI-Miner
*
* This file is part of the SPMF DATA MINING SOFTWARE * (http://www.philippe-fournier-viger.com/spmf).
*
*
* SPMF is free software: you can redistribute it and/... |
package cn.productai.api.pai.entity.dataset;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Dataset {
@JsonProperty("status")
private String status;
@JsonProperty("n_downloaded")
private int downloaedCount;
@JsonProperty("description")
private String description;
@Js... |
package org.apereo.cas.authentication.principal.resolvers;
import org.apereo.cas.authentication.AuthenticationHandler;
import org.apereo.cas.authentication.CoreAuthenticationUtils;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.authentication.principal.NullPrincipal;
import org.apereo.cas.authe... |
/*
* Copyright 2015-2016 USEF 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 or agree... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package au.com.mineauz.minigames.objects;
import au.com.mineauz.minigames.config.MinigameSave;
import au.com.mineauz.minigames.Minigames;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.event.inventory.Inventory... |
/*
* Copyright 2018 The gRPC 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... |
package jcart.administration.back.cjc.dto.out;
public class AdministratorLoginOutDTO {
private String token;
private Long expireTimestamp;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public Long getExpireTimestamp(... |
package org.radargun.service;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import com.hazelcast.config.Config;
import com.hazelcast.config.XmlConfigBuilder;
import com.hazelcast.core.Hazelcast;
import co... |
package mage.cards.e;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import mage.MageInt;
import mage.MageObject;
import mage.MageObjectReference;
import mage.abilities.Ability;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.effects.OneShotEffect;
import mage.cards.... |
/* GENERATED SOURCE. DO NOT MODIFY. */
/*
* Copyright 2016 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/LICEN... |
/*
* 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 ... |
package org.dtk;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.util.zip.GZIPOut... |
/*
* Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (https://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.test.unit;
import java.math.BigDecimal;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.c... |
/*
* Copyright (c) 2010-2016. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
/*
* Copyright (c) 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
*
* 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
* distr... |
package com.zgy.bootintegration.pojo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.bao... |
/**
* 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 it.unitn.web.centodiciotto.servlets.patient;
import it.unitn.web.centodiciotto.persistence.dao.PhotoDAO;
import it.unitn.web.centodiciotto.persistence.dao.exceptions.DAOException;
import it.unitn.web.centodiciotto.persistence.dao.exceptions.DAOFactoryException;
import it.unitn.web.centodiciotto.persistence.dao... |
//package leetCode.day44;
//
///**
// * @author liqiqi_tql
// * @date 2021/4/14 -22:30
// */
//public class T150 {
// public int evalRPN(String[] tokens){
//
// }
//} |
package com.aohanyao.ue;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android devi... |
package com.mmadu.identity.providers.client.authentication;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.stereotype.Component;
@Component
... |
package com.egbert.rconcise.task;
import android.app.Activity;
import java.lang.ref.WeakReference;
import java.util.concurrent.FutureTask;
/**
* Created by Egbert on 4/16/2019.
*/
public class CustomFuturetask extends FutureTask {
private int taskId;
private WeakReference<Activity> activity;
public C... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.spring.autoconfigure.cosmos;
import com.azure.spring.data.cosmos.repository.config.CosmosRepositoryConfigurationExtension;
import com.azure.spring.data.cosmos.repository.config.EnableCosmosRepositories;
i... |
package com.baidu.beidou.navi.pbrpc.client;
import com.baidu.beidou.navi.pbrpc.client.ha.LoadBalanceStrategy;
/**
* 高可用Pbrpc远程服务的定位器,一般用于基于一个标示(例如,IP:PORT串、或者LDAP名称)来获取远程服务实际IP:PORT列表
*
* @author zhangxu
*/
public interface HAPbrpcServerLocator {
/**
* 标示(例如,IP:PORT串、或者LDAP名称)来获取远程服务实际IP:PORT列表,进而构造一个高可... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE197_Numeric_Truncation_Error__short_random_13.java
Label Definition File: CWE197_Numeric_Truncation_Error__short.label.xml
Template File: sources-sink-13.tmpl.java
*/
/*
* @description
* CWE: 197 Numeric Truncation Error
* BadSource: random Set data to a random value
* G... |
package ru.job4j.tracker;
/**
* interface UserAction
* part of project tracker
*
* @author Volodymyr Martynenko (VolodymyrV.Martynenko@gmail.com)
* project job4j lesson 5.2
* @version 1.0
* @since 22.10.2018
*/
public interface UserAction {
/**
* Метод возвращает ключ опции.
*
* @return ключ... |
package com.at.hal9000.domain.data.repository.model;
import lombok.AllArgsConstructor;
@AllArgsConstructor
public class AddCard {
public final String type = "addCard";
public final String cardId;
public final String name;
} |
package water.rapids.ast.prims.mungers;
import water.MRTask;
import water.fvec.Chunk;
import water.fvec.Frame;
import water.fvec.NewChunk;
import water.fvec.Vec;
import water.rapids.Env;
import water.rapids.ast.AstRoot;
import water.rapids.vals.ValFrame;
import water.rapids.ast.AstPrimitive;
import java.util.Arrays;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.