text stringlengths 7 995k |
|---|
/*
* 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 2020 Universitat Politècnica de València
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
package com.example.gateway.controller;
import com.example.gateway.config.RibbonConfiguration;
import com.example.gateway.model.Task;
import com.example.gateway.model.TestServiceResponse;
import com.example.gateway.repo.TaskRepo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans... |
package de.codecentric.spring.boot.chaos.monkey.endpoints;
import com.fasterxml.jackson.annotation.JsonInclude;
import de.codecentric.spring.boot.chaos.monkey.configuration.AssaultException;
import de.codecentric.spring.boot.chaos.monkey.configuration.AssaultExceptionConstraint;
import de.codecentric.spring.boot.chaos... |
package priv.thinkam.rent.dao.wufengye_zhiyoumohu.po;
import java.io.Serializable;
public class User implements Serializable {
/**
* 用户编号
*
* @mbg.generated
*/
private Integer userId;
/**
* 用户名
*
* @mbg.generated
*/
private String username;
/**
* 密码
... |
package io.github.jaredpetersen.kafkaconnectredis.source.listener.subscriber;
import io.github.jaredpetersen.kafkaconnectredis.source.listener.RedisMessage;
import java.util.Random;
import java.util.concurrent.ConcurrentLinkedQueue;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.ass... |
package com.redhat.gps.pathfinder.domain;
/*-
* #%L
* Pathfinder
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2018 RedHat
* %%
* 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
*
* ... |
/*
* Copyright 2006-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.linkedin.thirdeye.impl;
import com.linkedin.thirdeye.api.DimensionKey;
import com.linkedin.thirdeye.api.StarTreeConfig;
import com.linkedin.thirdeye.api.StarTreeConstants;
import com.linkedin.thirdeye.api.StarTreeQuery;
import com.linkedin.thirdeye.api.TimeRange;
import java.util.Collections;
import java.... |
/*
* 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... |
/*
* Copyright (C) 2009 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 segmented_control.widget.custom.android.com.segmentedcontrol.item_row_column;
import android.graphics.Typeface;
import android.support.annotation.NonNull;
import android.view.View;
import section_layout.widget.custom.android.com.sectionlayout.distributive_section_layout.DistributiveSectionLayout;
/**
* Crea... |
/* */ package jp.cssj.sakae.pdf.c.a.b;
/* */
/* */ import java.awt.Shape;
/* */ import java.io.IOException;
/* */ import jp.cssj.sakae.a.b.a;
/* */ import jp.cssj.sakae.a.b.c;
/* */ import jp.cssj.sakae.a.d;
/* */ import jp.cssj.sakae.c.b;
/* */ import jp.cssj.sakae.c.c;
/* */ i... |
/*
* $Id: UserContractPK.java,v 1.4 2010/02/04 19:40:41 pjfsilva Exp $
*
* Copyright (c) Critical Software S.A., All Rights Reserved.
* (www.criticalsoftware.com)
*
* This software is the proprietary information of Critical Software S.A.
* Use is subject to license terms.
*
* Last changed on $Date: 2010/02/04... |
package org.motechproject.mobileforms.api.service;
import org.motechproject.mobileforms.api.domain.FormGroup;
import java.util.List;
import java.util.Map;
/**
* \defgroup MobileForms Mobile Forms
*/
/**
* \ingroup MobileForms Mobile forms service interface, allows listing available mobile form groups. and get fo... |
package com.jacamars.dsp.rtb.geo;
/**
* Contains the solution to a GPS to zipcode, county, city, and state query.
* @author David Boulette
*
*/
public class Solution {
public String state;
public String county;
public String city;
public int code;
public double lon;
public Solution() {
}
public St... |
package site.geni.farlands.mixins.client.item;
import net.minecraft.item.BoneMealItem;
import net.minecraft.particle.ParticleEffect;
import net.minecraft.particle.ParticleTypes;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.WorldAccess;
import org.spongepowered.asm.mixin.Mixin;
import org.spongep... |
package abi45_0_0.host.exp.exponent.modules.api.reanimated.nodes;
import abi45_0_0.com.facebook.react.bridge.ReadableMap;
import abi45_0_0.host.exp.exponent.modules.api.reanimated.NodesManager;
import java.util.Stack;
public class ParamNode extends ValueNode {
private final Stack<Integer> mArgsStack;
private Str... |
package com.github.feifuzeng.middleware.feign.service.impl;
import com.github.feifuzeng.middleware.feign.client.BadGuyFeignClient;
import com.github.feifuzeng.middleware.feign.service.BadGuyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import ... |
package com.why.jcartstoreback.dto.out;
public class OrderListOutDTO {
private Long orderId;
private Integer customerId;
private String customerName;
private Integer totalProducts;
private Byte status;
private Double totalPrice;
private Long createTimestamp;
public Long getOrderId() {
... |
package ru.gosuslugi.im.ws.service;
import ru.gosuslugi.im.types.thirdpartyorderservicetypes.AddUserOrderRequest;
import ru.gosuslugi.im.types.thirdpartyorderservicetypes.AddUserOrderResponse;
import ru.gosuslugi.im.types.thirdpartyorderservicetypes.GetLimitResponse;
import ru.gosuslugi.im.types.thirdpartyorderservice... |
/*
* 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 edu.cmu.cs.mvelezce.adapters.guessANumber;
import edu.cmu.cs.mvelezce.adapters.BaseAdapter;
import java.util.Arrays;
import java.util.List;
public abstract class AbstractGuessANumberAdapter extends BaseAdapter {
public static final String PROGRAM_NAME = "GuessANumber";
public static final String MAIN_CL... |
package org.robockets.deepspace.drivetrain;
import edu.wpi.first.wpilibj.command.Command;
import org.robockets.deepspace.Robot;
public class DriveTimed extends Command {
private double speed;
private double time;
public DriveTimed(double speed, double time) {
requires(Robot.drivetrain);
this.speed = speed;
... |
package application;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.util.Calendar;
import java.util.Date;
public class Program {
public static void main(String[] args) throws ParseException {
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:m... |
/*
* 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.pi4j.plugin.raspberrypi.provider.gpio.digital;
/*
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: PLUGIN :: RaspberryPi Platform & Providers
* FILENAME : RpiDigitalInputProviderImpl.java
*
* This file is part o... |
package com.yt.easyfloat.widget.appfloat;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.widget.FrameLayout;
import com.yt.easyfloat.data.FloatConfig;
import c... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.apimanagement.v2019_01_01.implementation;
import... |
package com.example.android.architecture.blueprints.todoapp.util;
import java.lang.System;
@kotlin.Metadata(mv = {1, 5, 1}, k = 2, d1 = {"\u00006\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0... |
package com.akylas.carto.additions;
import android.os.Handler;
import android.util.Log;
import com.carto.geometry.Geometry;
import com.carto.layers.VectorEditEventListener;
import com.carto.layers.VectorElementDragPointStyle;
import com.carto.layers.VectorElementDragResult;
import com.carto.styles.PointStyle;
import ... |
/*
* 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... |
/**
* Copyright 2018 - Onsite Developments
* @author Matt Wynyard November 2018
* @version 0.2
*/
package Bluetooth;
import TCPConnection.CameraApp;
import javax.bluetooth.BluetoothStateException;
import javax.bluetooth.DeviceClass;
import javax.bluetooth.DiscoveryAgent;
import javax.bluetooth.DiscoveryListener;... |
package com.example.android.bakeme.ui;
import android.content.Intent;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.android.bakeme.R;
import com.example.android.bakeme.data.Recipe;
import com.example.android.bakeme.data.Rec... |
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 (c) 2005, 2008 IBM Corporation and others.
* 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, an... |
/*
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
/**
* Copyright 2009-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
*
* Unle... |
/*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.mber.topic.multithreading.alishev.lesson30_Callable_and_Future;
// Callable и Future
// можем получать значения от потоков как от обычных методов
// можем пробрасывать исключения и ловить в главном потоке
import java.util.Random;
import java.util.concurrent.*;
public class Main {
public static void m... |
package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_in... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
package com.wushiqian.activity;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import com.example.wushiqian.one_wushiqian.R;
import com.wushiqian.util.LogUtil;
import java.util.ArrayList... |
/**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... |
package com.wavesplatform.wallet.v2.util.drag_helper;
import android.graphics.Canvas;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
public class SimpleItemTouchHelperCallback extends ItemTouchHelper.Callback... |
package com.heliosapm.metrichub.speedment.tsdb.public_.tsd_tsmeta.generated;
import com.heliosapm.metrichub.speedment.tsdb.public_.tsd_metric.TsdMetric;
import com.heliosapm.metrichub.speedment.tsdb.public_.tsd_tsmeta.TsdTsmeta;
import com.speedment.runtime.config.identifier.ColumnIdentifier;
import com.speedment.runt... |
/*
* Copyright 2012-2015 Broad Institute, Inc.
*
* 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 2019 Alex Andres
*
* 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 ... |
package norswap.sigh.ast;
import norswap.autumn.positions.Span;
import norswap.utils.Util;
public final class ForNode extends StatementNode
{
public final VarDeclarationNode variable;
public final ExpressionNode condition;
public final AssignmentNode operation;
public final StatementNode body;
... |
package org.apache.maven.resolver.internal.ant;
/*
* 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 Apa... |
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* Copyright 2012-2016 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... |
package com.ley.springboot.commons.web;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.ApiInfo;
import springfox.documentation.spi.DocumentationType;
i... |
package com.linkinpark213.compiler.analyzer.syntactic.v.vt.operator;
import com.linkinpark213.compiler.analyzer.lexical.tokens.Token;
import com.linkinpark213.compiler.analyzer.semantic.Symbol;
import com.linkinpark213.compiler.analyzer.semantic.SymbolList;
import com.linkinpark213.compiler.analyzer.syntactic.v.vt.VT;... |
package io.quarkus.ts.openshift.sqldb.multiplepus;
import io.quarkus.hibernate.orm.PersistenceUnit;
import io.quarkus.panache.common.Sort;
import io.quarkus.ts.openshift.sqldb.multiplepus.model.vegetable.Vegetable;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.transaction.Transactio... |
/*
* MIT License
*
* Copyright (c) 2021 Shiru ka
*
* 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,... |
/*
* Copyright 2020-2024 Limbo Team (https://github.com/limbo-world).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... |
/*
* * Copyright (C) 2013-2019 Matt Baxter https://kitteh.org
*
* 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, co... |
package com.example.angsala.flixster;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View... |
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.onnx;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.onnx.global.onnx.*;
@Name("std::set<int>") @Properties(inherit = org.bytedeco.onnx.presets.onnx.class... |
/*
* 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 2015-2017 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
package net.minecraft.block;
import net.minecraft.state.BooleanProperty;
import net.minecraft.state.EnumProperty;
import net.minecraft.state.Property;
import net.minecraft.state.StateContainer;
import net.minecraft.state.properties.BlockStateProperties;
import net.minecraft.state.properties.RailShape;
import net.minec... |
package com.supergreenowl.tunnel.model;
/**
* Possible different states a soldier may be in.
* @author luke
*
*/
public enum SoldierState {
/**
* State for a soldier that is stopped and waiting for the soldier in front.
* The soldier could be waiting for an enemy to die or a friendly soldier to walk out the... |
package com.gnirt69.mscrum;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
supe... |
package com.citelic.game.entity.player.content.cutscenes.actions;
import com.citelic.game.ForceTalk;
import com.citelic.game.entity.npc.NPC;
import com.citelic.game.entity.player.Player;
public class NPCForceTalkAction extends CutsceneAction {
private String text;
public NPCForceTalkAction(int cachedObjectIndex, ... |
/*
* Copyright 2017 John Grosh <john.a.grosh@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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.applozic.mobicomkit.stego;
import android.graphics.Bitmap;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class StegoProcessor {
private String message;
public StegoProcessor(String message) {
this.message = message;
}
public String prepareMe... |
/*
* My API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually... |
/*
* Copyright 2014-2019 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 ru.job4j.chess.figures.white;
import ru.job4j.chess.ImposibleMoveException;
import ru.job4j.chess.figures.Cell;
import ru.job4j.chess.figures.Figure;
/**
* class RookWhite implements Figure.
*
* @author Maxim Borisov (mail: mixed2004@mail.ru)
* @version 1
* @since 13.06.2018
*/
public class RookWhite i... |
package edu.towson.cis.cosc455.fsaint1.project1.interfaces;
import edu.towson.cis.cosc455.fsaint1.project1.implementation.CompilerException;
/**
* COSC 455 Programming Languages: Implementation and Design.
*
* A Simple Syntax Analyzer adapted from Sebesta (2010) by Josh Dehlinger,
* modified by Adam Conover (2012... |
package com.github.nalukit.bootstarternalu.server.resource;
import com.github.nalukit.bootstarternalu.server.resource.filter.LoggingRequestFilter;
import com.github.nalukit.bootstarternalu.server.resource.filter.LoggingResponseFilter;
import javax.ws.rs.core.Application;
import java.util.HashMap;
import java.util.Has... |
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package cn.hutool.core.date;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.BetweenFormater.Level;
import cn.hutool.core.date.format.FastDateFormat;
import org.junit.Assert;
import org.junit.Test;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.LocalDate;
import ja... |
package dev.mtbt.imagej;
import ij.gui.Roi;
public interface IRoiObserverListener {
public void roiModified(Roi roi, int id);
} |
/*
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.fb.hack.vo;
/**
* Created with IntelliJ IDEA.
* User: liji
* Date: 16/7/11
* Time: 下午2:51
* To change this template use File | Settings | File Templates.
*/
public class BaseResponse {
/**
* 状态码
*/
private int code = 0;
/**
* 信息
*/
private String message = "FAILUR... |
/*
* Copyright 2018-present Open Networking Foundation
* Copyright © 2020 camunda services GmbH (info@camunda.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.apach... |
package org.broadinstitute.ddp.json.admin.participantslookup;
import com.google.gson.annotations.SerializedName;
import org.broadinstitute.ddp.model.user.EnrollmentStatusType;
/**
* One participant lookup result data
*/
public abstract class ParticipantsLookupResultRowBase extends ResultRowBase {
@SerializedNa... |
package module327packageJava0;
import java.lang.Integer;
public class Foo11 {
Integer int0;
Integer int1;
Integer int2;
Integer int3;
public void foo0() {
new module327packageJava0.Foo10().foo6();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3... |
package ca.mimic.oauth2library;
class AuthState {
protected static final int ACCESS_TOKEN = 0;
protected static final int REFRESH_TOKEN = 1;
private static final int NO_AUTH = 0;
private static final int BASIC_AUTH = 1;
private static final int AUTHORIZATION_AUTH = 2;
private static final int ... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.actions;
import com.intellij.dvcs.DvcsUtil;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
impo... |
package edu.eg.csed.mans.chess;
public enum MoveType {
GiveUp,
NoMove,
Move,
PawnRush,
Capture,
EnPassant,
KingSideCastling,
QueenSideCastling
} |
package gov.nist.javax.sip.address;
import gov.nist.javax.sip.parser.*;
import java.text.ParseException;
import javax.sip.address.*;
/**
* Implementation of the JAIN-SIP address factory.
* @version JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:28 $
*
* @author M. Ranganathan <mranga@nist.gov> <br/>
*
... |
package org.uniprot.store.job.common.writer;
import static org.slf4j.LoggerFactory.getLogger;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
import net.jodah.failsafe.... |
package io.collapp.web.helper;
import io.collapp.model.UserWithPermission;
import javax.servlet.http.HttpServletRequest;
public interface OwnershipChecker {
boolean hasOwnership(HttpServletRequest request, UserWithPermission user);
} |
package ysoserial.payloads.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by dusanklinec on 12.08.16.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public ... |
<%#
Copyright 2013-2017 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.plugin.ij.compiler;
import com.google.common.base.Joiner;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.c... |
package com.gmail.raynlegends.adventofcode.puzzles;
import com.gmail.raynlegends.adventofcode.Puzzle;
import com.gmail.raynlegends.adventofcode.PuzzleUtils;
public class _02_2_Puzzle implements Puzzle {
@Override
public String calculate(String input) {
int totalLength = 0;
for (String line : input.split(" "))... |
package ru.stqa.pft.rest;
public class Issue {
private int id;
private String subject;
private String description;
public int getId() {
return id;
}
public Issue withId(int id) {
this.id = id;
return this;
}
public String getSubject() {
return subject;
}
public Issue withSubjec... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package ru.otus.homework20210414;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class HomeworkApplication {
public static void main(String[] args) {
SpringApplication.run(HomeworkApplication.class, args... |
/*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package one.empty3.feature.app;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Movie;
import android.graphics.Pa... |
package com.econetwireless.epay.dao.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
/**
* Created by tnyamakura on 29/11/2016.
*/
@Configuration
@EnableJpaRepositor... |
/*
* Copyright 2015 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 applica... |
package org.springblade.manage.waybill.page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.common.BasePage;
/**
* @program: SafetyStandards
* @description: OperationsPage
* @author: hyp
* @create:... |
/*
* Copyright (c) 2014. igitras.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.