text stringlengths 7 995k |
|---|
/*
* Free & Fair Colorado RLA System
*
* @title ColoradoRLA
* @created Jul 28, 2017
* @copyright 2017 Colorado Department of State
* @license SPDX-License-Identifier: AGPL-3.0-or-later
* @creator Daniel M. Zimmerman <dmz@freeandfair.us>
* @description A system to assist in conducting statewide risk-limiting au... |
package com.packtpub.springsecurity;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.util.concurrent.TimeUnit;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
public class WebDriverTest {
private WebDriver driver;
private String baseUrl;
private boolean accept... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchlib.expression;
import com.yahoo.vespa.objects.Identifiable;
/**
* This abstract expression node represents the result value of execution.
*
* @author baldersheim
* @autho... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_Cleartext_Tx_Sensitive_Info__URLConnection_driverManager_53a.java
Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info.label.xml
Template File: sources-sinks-53a.tmpl.java
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSo... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/*
* Add a favorite quote to the bottom of the clock
*/
public class QuoteLabel extends JLabel implements ActionListener {
private String QUOTE;
QuoteLabel(String quote) {
QUOTE = quote... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.processing;
import com.yahoo.searchdefinition.Search;
import com.yahoo.searchdefinition.derived.IndexingScript;
import com.yahoo.vespa.indexinglanguage.expressions.E... |
package test;
import org.junit.*;
import static org.junit.Assert.*;
import game.*;
public class DeckTest {
Deck d;
Builder b;
Building b2;
@Before()
public void setUp() {
d = new Deck();
b = new Builder("Jean",5,4,2,1,18, "../data/images/cartes/ouvriers/1.png");
d.addBuild... |
package com.glaze.gulimall.coupon.dao;
import com.glaze.gulimall.coupon.entity.SkuLadderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品阶梯价格
*
* @author hujie
* @email 1004496882@gmail.com
* @date 2022-03-26 20:27:36
*/
@Mapper
public interfac... |
/*
* 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;
import io.github.nucleuspowered.nucleus.internal.annotations.RegisterService;
import io.github.nucleuspowered.n... |
/*
* Copyright 2019 EPAM Systems
*
* 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 ... |
package com.reactnativevietnam;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.annotation.Nullable;
import android.net.Uri;
import android.provider.Settings;
import com.facebook.react.bridge.ReactMeth... |
/*
* Copyright 2002-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 a... |
package ${basePackage}.controllers;
import ${basePackage}.domain.user.User;
import ${basePackage}.domain.scheduler.Scheduler;
import ${basePackage}.domain.scheduler.repeat.SchedulerRepeat;
import ${basePackage}.domain.scheduler.repeat.SchedulerRepeatService;
import com.chequer.axboot.core.api.response.Responses;
impo... |
package com.onelogin.saml2.settings;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.PrivateKey;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.ut... |
/**
* Copyright 2009-2017 the original author or authors.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless requir... |
/*
* Copyright 2015-2021 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.github.mwolf1963.improvementtracker.repositories;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.github.mwolf1963.improvementtracker.models.*;
@Repository
public interface ImprovementRepository extends Jpa... |
package com.ifttt.location;
import android.util.Log;
final class Logger {
private static final String TAG = "ConnectLocation";
private static Boolean canLogEvent = false;
static void setLoggingEnabled(Boolean enabled) {
canLogEvent = enabled;
}
static void log(String message) {
... |
/*
* Copyright 2002-2009 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... |
/*
* Notice: This is a modified version of a libgdx file. See https://github.com/libgdx/libgdx for the original work.
*
* Copyright 2011 See libgdx AUTHORS file.
*
* 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... |
package com.media.yanhaolu.utils.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by yanhaolu on 2017/8/25.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
pub... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.LocalObjectReferenceBuilder;
import io.stri... |
package com.df4j.base.utils;
import com.df4j.base.exception.DfException;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.lang.Nullable;
import org.springframework.stereotype.Co... |
/*
* Copyright (c) 2008-2013, Hazelcast, 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 ... |
/* Copyright 2004 - 2007 Kasper Nielsen <kasper@codehaus.org> Licensed under
* the Apache 2.0 License, see http://coconut.codehaus.org/license.
*/
package org.coconut.cache.pocket;
import java.io.Serializable;
import java.lang.ref.SoftReference;
import java.util.Iterator;
import java.util.Map;
/**
* We do not kee... |
package com.vmware.avi.vro.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.vmware.o11n.plugin.sdk.a... |
package com.bootdo.oa.service;
import com.bootdo.oa.domain.NotifyRecordDO;
import java.util.List;
import java.util.Map;
/**
* 通知通告发送记录
*
* @author chglee
* @email 1992lcg@163.com
* @date 2017-10-09 17:18:45
*/
public interface NotifyRecordService {
NotifyRecordDO get(Long id);
List<NotifyRecordDO> list(... |
package wannabit.io.cosmostaion.fragment.chains.nft;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.Nullable;
import java.math.BigDecimal;
import wannabit.... |
/**
* Copyright (C) 2017 geneXplain GmbH, Wolfenbuettel, Germany
*
* Author: Philip Stegmaier
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
* OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO... |
package com.mapswithme.maps.widget.placepage;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
import androidx.annotation.NonNull;
import com.trafi.anchorbottomsheetbehavior.AnchorBottomSheetBehavior;
class PlacePageGestureListener extends GestureDetector.SimpleOnGestur... |
package com.github.fbascheper.quarkus.zerocode.extension.step;
/**
* A [ZeroCode](https://www.zerocode.io) step executor to await a given time in milliseconds.
*
* @author Erik-Berndt Scheper
* @since 01-12-2020
*/
public class AwaitMillisTestStepExecutor implements ZeroCodeTestStepExecutor<Integer, Boolean> {
... |
package com.sequenceiq.cloudbreak.cloud.model;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;
import com.seque... |
package me.hypocrite30.rpc.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
/**
* @Author: Hypocrite30
* @Date: 2022/1/18 21:40
*/
@AllArgsConstructor
@Getter
@ToString
public enum CompressTypeEnum {
GZIP((byte) 0x01, "gzip");
private final byte code;
priv... |
package com.youzu.taobao.base.json;
import com.youzu.taobao.base.json.favforum.AddFavForumVariables;
public class AddForumJson extends BaseJson {
private static final long serialVersionUID = -1948992055549669100L;
private AddFavForumVariables variables;
public AddFavForumVariables getVariables() {
return variab... |
package com.icon.gulimall.product.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ic... |
/*
* 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 com.example.wingbu.usetimestatistic.utils;
import android.util.Log;
/**
* Created by Wingbu on 2017/7/18.
*/
public class StringUtils {
public static final String TAG = "StringUtils";
//按行写入文件的字符串,格式如下:
public static String getInputString(long timeStamp,String className, int type,l... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.fcgl.madrid.user.payload.request;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
public class SignUpRequest {
@NotBlank
private String name;
@NotBlank
@Email
private String email;
@NotBlank
private String password;
public String ... |
/**
* Copyright 2008-2017 Qualogy Solutions B.V.
*
* 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) 2009-2014, Peter Abeles. All Rights Reserved.
*
* This file is part of Efficient Java Matrix Library (EJML).
*
* 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
*
* ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE197_Numeric_Truncation_Error__short_File_06.java
Label Definition File: CWE197_Numeric_Truncation_Error__short.label.xml
Template File: sources-sink-06.tmpl.java
*/
/*
* @description
* CWE: 197 Numeric Truncation Error
* BadSource: File Read data from file (named c:\data... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package pl.polsl.webexchange.operation;
import lombok.Value;
import java.time.LocalDateTime;
@Value
public class OperationHistory {
Long id;
LocalDateTime dateTime;
String operationMessage;
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The Ta... |
/*
*
* Copyright 2013 Netflix, 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... |
package com.efp.common.util;
import com.intellij.lang.xml.XMLLanguage;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.codeStyle.CodeStyleManager;
import com.intellij.psi.s... |
// find the FINISH ME comments
// you also need to follow what is happening
// you will be asked to build your own programs
// later on (with some help ofcourse)
// FINISH ME
// put your name here
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
public class PostfixEvaluator e... |
/*
* 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.example.service.gateway.customers;
import lombok.Builder;
import lombok.Value;
import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.UUID;
@Value
@Builder
public class CustomerDetailsDto {
UUID customerId;
CustomerName name;
Email email;
LocalDate dateOfBirth;
Z... |
/*
* Copyright 2018 Confluent Inc.
*
* Licensed under the Confluent Community License (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.confluent.io/confluent-community-license
*
* Unless required by applicable law or a... |
/*
* Copyright 2017 Rozdoum
*
* 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... |
package com.pan.blog.dao;
import com.pan.blog.entities.Blog;
import com.pan.blog.entities.Category;
import javax.persistence.EntityNotFoundException;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Jp... |
package org.javers.repository.jql;
import org.javers.common.exception.JaversException;
import org.javers.common.exception.JaversExceptionCode;
import org.javers.common.validation.Validate;
import org.javers.core.CommitIdGenerator;
import org.javers.core.Javers;
import org.javers.core.metamodel.object.GlobalId;
import ... |
package com.dima.func.parser;
/**
* Position information
*/
public class LocationEntity {
public int offset;
public int length;
} |
package p019d.p273h.p276c.p282f;
/* renamed from: d.h.c.f.ga */
/* compiled from: RewardedInterstitialSmashApi */
public interface C12873ga {
} |
/*
* 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 decodepcode;
import java.io.File;
import java.io.IOException;
public class DirTreePTmapper implements PToolsObjectToFileMapper {
File rootDir;
public DirTreePTmapper( ) {}
public DirTreePTmapper( File _rootDir)
{
rootDir = _rootDir;
}
static String filterFileName( String fname)
{
if (fname == null... |
/*
* 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.objects.tl.api;
import static io.objects.tl.StreamUtils.*;
import static io.objects.tl.TLObjectUtils.*;
import io.objects.tl.TLContext;
import io.objects.tl.core.TLVector;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.Integer;
import java.lang.Overrid... |
package com.example.parsetagram.adapters;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerv... |
/*
* 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 ... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.aws2.sts;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory;
... |
package com.pranavj7.mnist.view;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
public class DrawRenderer {
/**
* Draw lines to canvas
*/
public static void renderModel(Canvas canvas, DrawModel model, Paint paint,
int... |
package com.qaprosoft.carina.work.mobile.gui.pages.utils.enums;
public enum HeightType {
FEET_INCHES("Feet & Inches"),
CENTIMETERS("Centimeters");
String name;
HeightType(String name) {
this.name = name;
}
public String getName() {
return name;
}
} |
// This file is licensed under the Elastic License 2.0. Copyright 2021 StarRocks Limited.
package com.starrocks.meta;
import java.util.regex.Pattern;
public class BlackListSql {
public BlackListSql(Pattern pattern, long id) {
this.pattern = pattern;
this.id = id;
}
public Pattern pattern;... |
package com.statemachinesystems.envy;
import com.statemachinesystems.envy.common.StubConfigSource;
import com.statemachinesystems.envy.sources.DelegatingConfigSource;
import org.junit.Test;
import static org.junit.Assert.assertThat;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatch... |
package net.haesleinhuepf.clij2.plugins;
import net.haesleinhuepf.clij.clearcl.interfaces.ClearCLImageInterface;
import net.haesleinhuepf.clij.macro.CLIJMacroPlugin;
import net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor;
import net.haesleinhuepf.clij.macro.documentation.OffersDocumentation;
import net.haesleinhuepf.... |
package com.alexsav.stayfit.adapters;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.util.TypedValue;
import android.vie... |
package sample.util;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.math.*;
import org.junit.jupiter.api.Test;
public class CalculatorTest {
@Test
public void 単純な四則演算検証() {
// (10 + 2 - 4) * 4 / 8 = 4
assertEquals(
4,
Calculator.ini... |
/*
* 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 bg.jug.magman.content;
import org.eclipse.microprofile.metrics.MetricUnits;
import org.eclipse.microprofile.metrics.annotation.Metered;
import javax.transaction.Transactional;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.time.LocalDate;
import java.uti... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.util.gc;
import java.lang.ref.WeakReference;
public abstract class GcUtils {
public static void awaitGc() throws InterruptedException {
Object obj = new Object();
WeakReference<Obj... |
package it.andreafailli.remindme;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;
... |
/*
* Copyright (c) 2018, TheLonelyDev <https://github.com/TheLonelyDev>
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* 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. Redistribution... |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* 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... |
package fi.fmi.avi.model.sigmet.immutable;
import static java.util.Objects.requireNonNull;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.UnaryOperator;
import org.inferred.freebuilder.FreeBuilder;
import com.fasterxml.jackson.annot... |
package com.marsye.vipvideo.widget;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import androi... |
package com.yzxie.easy.log.common.data.rpc;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @author xieyizun
* @date 25/11/2018 14:07
* @description:
*/
@Data
public class LogTypeWithApps implements Serializable {
private String logType;
private List<String> apps;
} |
package org.plantuml.idea.grammar.psi;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFileFactory;
import org.plantuml.idea.lang.PlantUmlFileImpl;
import org.plantuml.idea.lang.PlantUmlFileType;
public class PumlElementFactory {
public static PumlItem ... |
/*
* 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 circleland.Effects;
import circleland.CircleEffect;
import circleland.CircleEntity;
/**
*
* @author Jeff
*/
public class ... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package BattleFight;
public enum Result {
HARM, SUNK, WATER, SHIP, MISSED;
} |
/*
Copyright 2012 Selenium committers
Copyright 2012 Software Freedom Conservancy
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... |
/* Copyright 2009 by the Oxford University Computing Laboratory
This file is part of HermiT.
HermiT is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... |
package com.gym.shancai.http.base;
/**
* 创建:gym
* 日期:2017-01-17.
* 说明:
* 备注:
*/
public class ResponseBean {
String body;
int code;
String msg;
public int getCode() {
return code;
}
public ResponseBean setCode(int code) {
this.code = code;
return ResponseBean.thi... |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
package net.gvsun.timetable.internal.timetable;
import lombok.Data;
import lombok.ToString;
import java.io.Serializable;
/**
* Descriptions:备份分页列表的DTO对象
*
* @author weicheng
* @date 2018-09-04
*/
@Data
@ToString
public class TimetableHistoryByPageDTO implements Serializable {
/**
* 当前页
*/
p... |
package com.anaskhansays.incontro.incontroUtils;
import android.content.Context;
import android.content.SharedPreferences;
public class PreferencesManager {
private SharedPreferences sharedPreferences;
public PreferencesManager(Context context){
sharedPreferences=context.getSharedPreferences(Constant... |
/*******************************************************************************
* 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... |
/*
* Copyright (C) 2012-2015 Paul Watts (paulcwatts@gmail.com), University of South Florida,
* Benjamin Du (bendu@me.com), 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 ... |
package org.jeewx.api.coupon.location.model;
public class Gift {
//基本的卡券
private BaseInfo base_info;
//礼品券专用
private String gift;
public BaseInfo getBase_info() {
return base_info;
}
public void setBase_info(BaseInfo base_info) {
this.base_info = base_info;
}
public String getGift() {
return gift;
}
... |
package com.atguigu.gmall.cart.feign;
import com.atguigu.gmall.ums.api.GmallUmsApi;
import org.springframework.cloud.openfeign.FeignClient;
@FeignClient("ums-service")
public interface GmallUmsFeignClient extends GmallUmsApi {
} |
package com.xywei.dao;
import com.xywei.model.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface UserDao {
int insert(User user);
List<User> selectUsers();
} |
package com.empyr.api.util;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/**
* This ultimately is a direct copy of the Jackson TypeReference class
* that was copied so as to avoid a direct dependency on Jackson in the
* base EmpyrClient.
*
* @author jcuzens
*/
public abstract clas... |
/*
* Copyright 2012 Carnegie Mellon University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.ngt.streamingwithflink;
import com.ngt.streamingwithflink.util.SensorReading;
import com.ngt.streamingwithflink.util.SensorSource;
import org.apache.flink.api.common.eventtime.SerializableTimestampAssigner;
import org.apache.flink.api.common.eventtime.WatermarkStrategy;
import org.apache.flink.api.common.f... |
package threads.server.magic.entries;
import androidx.annotation.NonNull;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Formatter that handles the C %0.2f type formats appropriately. I would have used the {@link java.util.Formatter} but
* you can't pre-parse those for some stupid reason. Al... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.