text stringlengths 7 1.01M |
|---|
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.eql.session;
import org.elasticsearch.common... |
package seedu.docit.logic.parser;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
/**
* Stores mapping of prefixes to their respective arguments.
* Each key may be associated with multiple argument values.
* Values for a given key are st... |
package com.dexesttp.hkxpack.cli.components;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.xml.sax.SAXException;
import com.dexesttp.hkxpack.data.HKXFile;
import com... |
/**
*
*/
package com.strandls.observation.util;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import com.strandls.authentication_utility.util.AuthUtil;
import com.strandls.user.pojo.Role;
import com.strandls.user.pojo.User;
/**
* @author Abhishek Rudra
*
*/
public class TokenGenerator {... |
/*
* Copyright 2017
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* 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... |
/*
* 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.bugzhu.thirdpay.paymodule;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.widget.Toast;
import com.alipay.sdk.app.PayTask;
import com.bugzhu.thirdpay.R;
import java.util.Map;
/**
* Created by Pas... |
package org.fisco.bcos.web3j.crypto;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
import java.security.SignatureException;
import org.bouncycastle.math.ec.ECPoint;
import org.junit.Test;
public class SignTest {
private static final byte[] TEST_MESSAGE = "A test messa... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/group_service.proto
package com.google.monitoring.v3;
/**
* <pre>
* The `CreateGroup` request.
* </pre>
*
* Protobuf type {@code google.monitoring.v3.CreateGroupRequest}
*/
public final class CreateGroupRequest extends
... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 co... |
/*
* Copyright 2013-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package io.github.zeroone3010.geogpxparser;
import java.util.Arrays;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
import static java.util.function.Function.identity;
public enum CacheSize {
Micro("Micro"),
Small("Small"),
Regular("Regular"),
Large("Large"),
... |
package com.vitco.app.core.modes;
import com.vitco.app.core.container.DrawContainer;
/**
* Manages the mouse events for voxel interaction depending on the currently selected tool.
*/
public class VoxelAdapter extends AbstractAdapter {
// constructor
public VoxelAdapter(DrawContainer container) {
su... |
package org.anddev.andengine.entity.particle.modifier;
import static org.anddev.andengine.util.MathUtils.RANDOM;
import org.anddev.andengine.entity.particle.Particle;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 21:21:10 - 14.03.2010
*/
public class ExpireModifi... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE643_Xpath_Injection__getCookies_Servlet_71b.java
Label Definition File: CWE643_Xpath_Injection.label.xml
Template File: sources-sinks-71b.tmpl.java
*/
/*
* @description
* CWE: 643 Xpath Injection
* BadSource: getCookies_Servlet Read data from the first cookie ... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class dragon here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class dragon extends Actor
{
private GreenfootImage d1 = new GreenfootImage("dragon1.png");
private Gr... |
package com.bumptech.glide.request;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyLong;
import static org.mockito.Matchers.eq;
import static org.mockito.Mo... |
/*
* Copyright 2002-2006 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 requi... |
/*
* Copyright (c) 2002-2016 Gargoyle Software 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 applica... |
package module1188.a;
import javax.naming.directory.*;
import javax.net.ssl.*;
import javax.rmi.ssl.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et e... |
package kim.xiaom.blog.entity.queryObjects;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CommentExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public CommentExample() {
oredCriteria = new... |
package org.apache.maven.cli;
/*
* 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, Versi... |
// 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 ... |
/*
* Copyright 2012-2013 eBay Software Foundation and ios-driver committers
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
package com.skytala.eCommerce.domain.marketing.relations.trackingCode.model;
import java.util.Map;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Map;
import java.io.Serializable;
import com.skytala.eCommerce.domain.marketing.relations.trackingCode.mapper.TrackingCodeMapper;
public class Tra... |
package de.vogella.rcp.jfreechart.barchart;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
layout.setFixed(true);
}
}
|
/**
* 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 2016 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 "license" f... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package io.github.woodenbell.blix;
import java.io.IOException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Iterator;
import java.util.regex.*;
/**
* Internal utilities class.
* @author WoodenBell
... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.common.images;
import android.net.Uri;
import android.os.Parcel;
import com.google.android.gms.common.internal.Objects;
imp... |
package extracells.gui;
import appeng.api.storage.data.IAEFluidStack;
import extracells.Extracells;
import extracells.api.ECApi;
import extracells.container.ContainerFluidStorage;
import extracells.gui.widget.FluidWidgetComparator;
import extracells.gui.widget.fluid.AbstractFluidWidget;
import extracells.gui.widget.fl... |
package com.dogigiri.datastructures.linear.hashtables.exercise;
import java.util.LinkedList;
public class MoshHashTable {
private class Entry {
private int key;
private String value;
public Entry(int key, String value) {
this.key = key;
this.value = value;
... |
/**
* Response to a Probe Request.
*
* @author ajfc
* @date 22032016
*/
package pdu;
import java.sql.Timestamp;
public class ProbeResponsePDU extends PDU {
Timestamp timestamp;
/**
* Parametrized constructor.
* @param timestamp Timestamp of when the PDU is created.
*/
public ProbeRespons... |
package com.nowcoder.seckill;
import com.nowcoder.seckill.dao.ItemMapper;
import com.nowcoder.seckill.dao.ItemStockMapper;
import com.nowcoder.seckill.dao.PromotionMapper;
import com.nowcoder.seckill.entity.Item;
import com.nowcoder.seckill.entity.ItemStock;
import com.nowcoder.seckill.entity.Promotion;
import org.jun... |
/**
* Copyright (c) 2016, The National Archives <pronom@nationalarchives.gov.uk>
* 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... |
/*
* Copyright 2021 Shulie Technology, Co.Ltd
* Email: shulie@shulie.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/licenses/LICENSE-2.0
*
* Unless r... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Copyright 2022.1-2022
* starwhale.ai All right reserved. This software is the confidential and proprietary information of
* starwhale.ai ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
* in accordance with the terms of the license agreement you entered... |
/**
*/
package de.uka.ipd.sdq.dsexplore.qml.dimensions.presentation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.MissingResourceException;
import java.util.Strin... |
package garbagetown.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.confi... |
package com.neverpile.common.condition;
import com.neverpile.common.specifier.Specifier;
/**
* An {@link ConditionContext} provides access to contextual information that can be used in
* access decisions. The context information is managed as a tree of values addressed by keys which
* follow the naming conventions... |
/*
* 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 io.cloudevents.kafka.impl;
import io.cloudevents.SpecVersion;
import org.apache.kafka.common.header.Headers;
public final class KafkaSerializerMessageVisitorImpl extends BaseKafkaMessageVisitorImpl<KafkaSerializerMessageVisitorImpl, byte[]> {
public KafkaSerializerMessageVisitorImpl(Headers headers) {
... |
/*
* Licensed to Diennea S.r.l. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Diennea S.r.l. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this ... |
import java.util.Random;
public class Ex32array {
public static void main(String[] args) {
// TODO Auto-generated method stub
Random ran=new Random();
int a[][]=new int[5][7];
int a1[][]=new int[7][5];
for(int i=0;i<5;i++){
for(int j=0;j<7;j++){
a[i][j]=ran.nextInt(101);
a1[j][i]=a[i][j];
Sys... |
package io.onedev.server.web.editable.servicelocator;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import ... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
package com.webstore.models;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", nullable = false, updatable = false)
private Long id;
// Username with unique constraint
@Column(na... |
package com.dumai.xianjindai.view.xrecyclerview;
/**
* Created by jianghejie on 15/11/22.
*/
interface BaseRefreshHeader {
int STATE_NORMAL = 0;
int STATE_RELEASE_TO_REFRESH = 1;
int STATE_REFRESHING = 2;
int STATE_DONE = 3;
void onMove(float delta);
boolean releaseAction();
void refreshComplete();
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/chromeos/moblab/v1beta1/build_service.proto
package com.google.chromeos.moblab.v1beta1;
/**
* <pre>
* Response message for listing models.
* </pre>
*
* Protobuf type {@code google.chromeos.moblab.v1beta1.ListModelsResponse}
*/
public ... |
/*
MIT License
-----------
Copyright (c) 2019 Ivan Yurkov (MB "Stylo tymas" http://steel-team.net)
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 li... |
package com.sam_chordas.android.stockhawk.widget;
import android.annotation.TargetApi;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.support.... |
package org.realityforge.gwt.appcache.server.gwtp;
import javax.annotation.Nonnull;
import javax.servlet.http.HttpServletRequest;
import org.realityforge.gwt.appcache.server.propertyprovider.PropertyProvider;
public final class FormFactorPropertyProvider
implements PropertyProvider
{
@Nonnull
@Override
public... |
package seedu.address.model.person;
import java.util.List;
import java.util.function.Predicate;
import seedu.address.logic.commands.FindCommand;
import seedu.address.model.FindResults;
//@@author tanhengyeow
/**
* Tests that a {@code Person}'s {@code Comment} matches any of the keywords given.
*/
public class Comm... |
/*
* Copyright 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
package org.obapanel.jedis.collections;
import org.mockito.Mockito;
import org.mockito.invocation.InvocationOnMock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.ScanParams;
import redis.clients.jedis.ScanResu... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... |
package io.ebeaninternal.server.querydefn;
import io.ebean.*;
import io.ebean.OrderBy.Property;
import io.ebean.bean.CallOrigin;
import io.ebean.bean.ObjectGraphNode;
import io.ebean.bean.ObjectGraphOrigin;
import io.ebean.bean.PersistenceContext;
import io.ebean.event.BeanQueryRequest;
import io.ebean.event.readaudit... |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
// C++: class CvBoostParams
public class CvBoostParams extends CvDTreeParams {
protected CvBoostParams(long addr) { super(addr); }
//
// C++: CvBoostParams::CvBoostParams()
//
public CvBoostParams()
... |
package org.sagebionetworks.bridge.upload;
/** Enum defining the valid values for upload format. */
public enum UploadFormat {
V1_LEGACY,
V2_GENERIC,
}
|
/*
* Copyright (C) 2021 Scott Shaffer - 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 appl... |
package demo.model;
/**
* @author noear 2022/1/18 created
*/
public class UserModel {
public Integer id;
public String name;
}
|
/*
* 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 2021 TTT.
*
* 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 dao;
import models.Department;
import models.News;
import models.User;
import org.sql2o.Connection;
import org.sql2o.Sql2o;
import org.sql2o.Sql2oException;
import java.util.List;
public class Sql2oUsersDao implements IUsersDao{
private final Sql2o sql2o;
public Sql2oUsersDao(Sql2o sql2o) { this.sql... |
// Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package com.daml;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import com.daml.ledger.api.v1.ValueOuterClass;
import com.daml.ledger.jav... |
/**
* Copyright 2021 Shulie Technology, Co.Ltd
* Email: shulie@shulie.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/licenses/LICENSE-2.0
*
* Unless requi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.spring.data.cosmos.repository.query;
import com.azure.spring.data.cosmos.core.CosmosOperations;
import com.azure.spring.data.cosmos.core.query.CosmosQuery;
import org.springframework.data.repository.query.... |
/**
* 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.moon.core.lang.support;
import com.moon.core.lang.ThrowUtil;
import com.moon.core.util.ListUtil;
import java.util.Set;
/**
* @author moonsky
*/
public final class ClassSupport {
private ClassSupport() { ThrowUtil.noInstanceError(); }
public static Set<Class> addAllInterfaces(Set<Class> list, ... |
/*
* Copyright 2019 ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package com.cowthan.pattern1.factory.method;
/**
* 场景类,女娲
* @author qiaoliang
*
*/
public class Director_NvWa {
public static void main(String[] args) {
AbstractHumanFactory factory = new HumanFactory();
//===造白人
IHuman wh = factory.createHuman(WhiteHuman.class);
wh.getColor();
wh.say();
//===造黑... |
/**
* Copyright (c) 2010 Abbcc Corp.
* No 225,Wen Yi RD, Hang Zhou, Zhe Jiang, China.
* All rights reserved.
*
* "df.java is the copyrighted,
* proprietary property of Abbcc Company and its
* subsidiaries and affiliates which retain all right, title and interest
* therein."
*
* Revision History
*
* Date ... |
package ug.robot;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.ElapsedTime;
import ug.util.Param;
public class Shooter... |
/**
* 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 it.sorint.welearnbe.controllers.entity;
public class FullSessionFE extends SessionFE {
private CourseWithUnitsFE course;
public CourseWithUnitsFE getCourse() {
return course;
}
public void setCourse(CourseWithUnitsFE course) {
this.course = course;
}
}
|
package org.revolut.handler;
import com.google.gson.Gson;
import io.undertow.server.HttpHandler;
import io.undertow.server.HttpServerExchange;
import io.undertow.util.HttpString;
/**
* Created by Leo on 5/27/2018.
*/
public abstract class AbstractHttpHandler implements HttpHandler {
protected void writeRespons... |
// Copyright 2000-2018 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 com.intellij.internal.encodings;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.fileChooser.FileChooser;
import com.intellij.openapi.fileChoos... |
/*
* 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 ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataproc/v1/jobs.proto
package com.google.cloud.dataproc.v1;
public interface JobOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.Job)
com.google.protobuf.MessageOrBuilder {
/**
* ... |
package com.hs.LeetCode02;
/**
* TODO
*
* @author 微信公众号《和尚的破功之路》
* @date 2022/1/23 17:49
* version: 1.0
*/
public class LT23 {
public ListNode mergeKLists(ListNode[] lists) {
ListNode newList = new ListNode(Integer.MIN_VALUE);
ListNode newHead = newList;
for (int i = 0; i < lists.leng... |
/*
* 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 ... |
/*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.geoip.commands;
import com.maxmind.geoip2.record.Country;
import io.github.nucleuspowered.nucleus.Nucleus;
import io.g... |
/*
* #%L
* FHIR Implementation
* %%
* Copyright (C) 2018 DataScience 9 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
*... |
/*
* 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 textFormat;
import java.awt.*;
import javax.swing.*;
/**
* A program to test formatted text fields
* @version 1.04 2016-05-10
* @author Cay Horstmann
*/
public class FormatTest
{
public static void main(String[] args)
{
EventQueue.invokeLater(() ->
{
JFrame frame = new For... |
package cn.wowspeeder.ss;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.DatagramPacket;
import io.netty.channel.socket.nio.NioDatagramChannel;
import io.netty.handler.logging.LogLevel;
import... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* 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 ... |
/*
* Copyright (c) 2018 - Manifold Systems 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 ... |
package by.bsuir.verkpavel.db.ui;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import jav... |
package com.iot.security.api.vo.log;
import java.io.Serializable;
import java.util.Date;
public class LogInfo implements Serializable{
private String menu;
private String opt;
private String uri;
private Date crtTime;
private String crtUser;
private String crtName;
private String cr... |
package com.xudre.dogosfromouterspace;
import android.content.pm.ActivityInfo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private TextView scoreView;
private GameView gameView;
@Override... |
package com.mmonteiroc.addesso.manager.entity;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.mmonteiroc.addesso.entity.Category;
import com.mmonteiroc.addesso.exceptions.entity.CategoryNotFoundException;
import com.mmonteiroc.addesso.exceptions.petition.NotRecivedRequiredParamsException;
i... |
package others;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CustomerWithMoviesAndSalesStand {
... |
package com.wan.web.controller.system;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.ui.... |
/*L
* Copyright Northwestern University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.io/psc/LICENSE.txt for details.
*/
package edu.northwestern.bioinformatics.studycalendar.utility.osgimosis;
import edu.northwestern.bioinformatics.studycalendar.utility.osgimosis.people.... |
/*
* 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 2013, 2020 Nationale-Nederlanden, 2020 WeAreFrank!
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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.