text stringlengths 7 995k |
|---|
package com.leyou.shardingsphere.utils;
import io.shardingsphere.api.algorithm.sharding.ListShardingValue;
import io.shardingsphere.api.algorithm.sharding.ShardingValue;
import io.shardingsphere.api.algorithm.sharding.complex.ComplexKeysShardingAlgorithm;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
impo... |
/*
* Copyright 2008 Marc Boorshtein
*
* 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 ... |
/*
* 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 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) 2008-2021, 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 ... |
package com.revosleap.blurrylayout;
import android.content.Context;
import android.graphics.Bitmap;
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RenderScript;
import android.renderscript.ScriptIntrinsicBlur;
class GaussianBlur {
private static Bitmap bl... |
package com.tuling.tulingmall.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class UmsIntegrationChangeHistoryExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UmsIntegrationChangeHistoryExamp... |
package ru.program_code.sareth.Sloth.autoParser.DAOSimple;
import java.sql.SQLException;
import java.util.List;
public interface SearchQueryesGettingResultsIface {
public List<SearchQueryesObject> getAll() throws SQLException;
public SearchQueryesObject getElementById(int id) throws SQLException ;
public List<Sear... |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package blf.configuration;
import blf.core.values.ValueMutator;
import blf.core.values.Variables;
import io.reactivex.annotations.NonNull;
/**
* ValueMutatorSpecification
*/
public class ValueMutatorSpecification {
private final ValueMutator mutator;
private ValueMutatorSpecification(ValueMutator mutator) ... |
package com.young.share.model;
/**
* 排行榜的主界面
*
* Created by Nearby Yang on 2015-12-15.
*/
public class RankBean {
private int backgroundColor;
private int iconId;
private String imageText;
public int getBackgroundColor() {
return backgroundColor;
}
public void setBackgroundColor(... |
package gestion_formation_interne_edit;
import javax.annotation.Resource;
import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframe... |
package com.obtuse.util;
/*
* Copyright © 2012 Obtuse Systems Corporation.
*/
/**
* Describe something that wants to be informed when a trace file is emitted.
*/
public interface TraceFileManager {
void newTraceFile( String traceFileName, long timeStamp );
} |
package de.jowisoftware.rpgsoundscape.player.exception;
public interface HasLink {
String getSolveLink();
} |
/*
* Copyright 2019 ViiSE.
*
* 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 w... |
/*
* Copyright (C) 2008 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 ... |
package gameoflife;
public interface GameOfLife_interface extends gameoflife.BenchmarkBase_interface
{
void run();
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.eventhubs;
import com.azure.core.amqp.AmqpRetryOptions;
import com.azure.core.amqp.AmqpTransportType;
import com.azure.core.amqp.ProxyAuthenticationType;
import com.azure.core.amqp.ProxyOptions;... |
package org.madlonkay.testapp;
import android.support.v7.app.AppCompatActivity;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class GeneratedCodeTest {
@Test
public void activityClass() {
assertEquals(AppCompatActivity.class, L10nFixActivity.class.getSuperclass());
}... |
/*
* Copyright (c) 2005-2019 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* ... |
/**
* Ternary search is similar to binary search except that it works on a function which decreases and
* then increases. This implementation of ternary search returns the input value corresponding with
* the minimum output value of the function you're searching on.
*
* <p>Time Complexity: O(log(high - low)).
*
... |
/*
* Copyright 2020 Maqdoom. 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 applicable law or agree... |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... |
package org.folio.models;
import java.util.Objects;
import static org.apache.commons.lang3.StringUtils.EMPTY;
public class FundExtNoExpenseClassExtNoPair {
public static final String DASH = "-";
private final String fundExtNo;
private final String expenseClassExtNo;
public FundExtNoExpenseClassExtNoPair(Str... |
package com.github.ivanjermakov.jtrue.predicate;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import java.util.Collection;
import java.util.function.Predicate;
public class Size implements Predicate<Collection<?>> {
private final int size;
public Size(int size) {
this.si... |
package com.github.elasticsearch;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtil... |
/*
* 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.uniauth.code.keycloak.providers.rest;
import org.keycloak.provider.ProviderConfigProperty;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static org.keycloak.provider.ProviderConfigProperty.*;
public final class ConfigurationProperties {
public static final Str... |
package com.github.xuqplus.hi.leetcode.q0100.q0128;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
/**
* 最长连续序列
* hard
* https://leetcode-cn.com/problems/longest-consecutive-sequence/
*/
@Slf4j
public class ATest {
@Test
void a() {
Solution solution = new Solution();
... |
package ca.on.oicr.gsi.shesmu.compiler;
import ca.on.oicr.gsi.shesmu.compiler.ListNode.Ordering;
import ca.on.oicr.gsi.shesmu.compiler.Target.Flavour;
import ca.on.oicr.gsi.shesmu.plugin.types.Imyhat;
import java.nio.file.Path;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.... |
package net.glowstone.block.data.props;
import net.glowstone.block.data.states.StatefulBlockData;
import net.glowstone.block.data.states.reports.BooleanStateReport;
import net.glowstone.processor.block.data.annotations.AssociatedWithProps;
import net.glowstone.processor.block.data.annotations.PropertyAssociation;
impo... |
/*
* 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 2012-2017 qifu of copyright Chen Xin Nien
*
* 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 b... |
/*
* Copyright (C) 2014 Google Inc.
* Licensed to 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
... |
package less_1.duck;
import less_1.duck.impl.MallardDuck;
/**
* @author shufd
* @version 1.0
* @date 2017-12-19 0:19
*/
public class MiniDuckSimulator {
public static void main(String[] args) {
Duck mallard = new MallardDuck();
mallard.performQuack();
mallard.performFly();;
}
} |
/*
* 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 se.idsec.sigval.commons.algorithms;
import se.idsec.sigval.commons.data.SigValIdentifiers;
/**
* Enumeration of public key t... |
package com.marchnetworks.device_ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
... |
package moriyashiine.bewitchment.common.block.juniper;
import moriyashiine.bewitchment.common.block.entity.TaglockHolderBlockEntity;
import moriyashiine.bewitchment.common.block.entity.interfaces.TaglockHolder;
import net.minecraft.block.BlockEntityProvider;
import net.minecraft.block.BlockState;
import net.minecraft.... |
package com.ltsoft.graphql.provider;
import com.ltsoft.graphql.TypeProvider;
import graphql.language.Definition;
import graphql.language.UnionTypeDefinition;
import graphql.schema.TypeResolver;
import graphql.schema.idl.RuntimeWiring;
import java.util.function.UnaryOperator;
public class UnionTypeProvider implements... |
/*
* Copyright (C) 2013 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... |
import org.junit.Assert;
import org.junit.Test;
import static org.junit.Assert.*;
public class Q00205sTest {
Q00205s q00205s = new Q00205s();
@Test
public void isIsomorphic() {
Assert.assertTrue(q00205s.isIsomorphic("paper", "title"));
Assert.assertTrue(q00205s.isIsomorphic("egg", "add")... |
/**
* Get_Page1ResultsType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.cognos.developer.schemas.raas.Returns__by__Order__Method___x002d__Prompted__Chart;
public class Get_Page1ResultsType implements java.io.Serializable {... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package ro.pub.cs.systems.eim.lab07.xkcdcartoondisplayer.network;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import ... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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 ob... |
package com.atlassian.activeobjects.plugin;
import com.atlassian.activeobjects.ActiveObjectsPluginException;
import com.atlassian.activeobjects.EntitiesValidator;
import com.atlassian.activeobjects.admin.PluginInfo;
import com.atlassian.activeobjects.admin.PluginToTablesMapping;
import com.atlassian.activeobjects.conf... |
package gwt.material.design.demo.client.application.style.blueprint;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2016 GwtMaterialDesign
* %%
* 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... |
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Element;
import java.util.HashMap;
import java.io.FileWriter;
import java.io.BufferedWriter;
i... |
/**
* 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... |
import java.io.Serializable;
public class Message implements Serializable {
private String str;
private Integer num;
public Message(String str, Integer num) {
this.str = str;
this.num = num;
}
public String getStr() {
return this.str;
}
public Integer getNum() {
... |
//
// ========================================================================
// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
class GMI0tPAqXjp {
}
class lC {
}
class dXb {
public pWW9Wi[] kT;
public void[] b5HYKAcRSZhOI (boolean[] wnU2qcaIg) {
E0VRW UCmgBxMRvT;
int Dd02BRZLkDR2kt = new VrShMm58XvbUQ().urXtQFB = 2.DlqtWwZEtrKMAh;
yv0NdrogFd_0oD ew_XRFRFzYqaoG;
while ( null.kYAR_lE7()) {
... |
// Copyright (C) 2020 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 applicable ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__console_readLine_array_size_10.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-10.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array Index
* BadSource... |
package dev.vality.magista.service;
import dev.vality.magista.dao.ChargebackDao;
import dev.vality.magista.domain.enums.ChargebackStage;
import dev.vality.magista.domain.enums.InvoiceEventType;
import dev.vality.magista.domain.tables.pojos.ChargebackData;
import dev.vality.magista.domain.tables.pojos.PaymentData;
impo... |
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package org.hl7.fhir.dstu2016may.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... |
package azmimuhammad.com.materialdesign.appbarlayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuIt... |
/*
* MIT License
*
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
*
* 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 r... |
/*
*
* Autopsy Forensic Browser
*
* Copyright 2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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
*
* ht... |
/*
// Definition for a Node.
class Node {
int val;
Node next;
Node random;
public Node(int val) {
this.val = val;
this.next = null;
this.random = null;
}
}
*/
class Solution {
public Node copyRandomList(Node head) {
if (head == null) return null;
... |
package com.meng.gui.helpers;
import com.badlogic.gdx.utils.Pool;
import com.meng.insLogic.EclBullet;
import com.badlogic.gdx.math.*;
import com.meng.gui.bullets.ReimuShoot;
import com.meng.gui.bullets.PersuationNeedle;
import com.meng.gui.bullets.laser.FixLaser;
import com.meng.gui.bullets.laser.ShootLaser;
public f... |
package io.wispforest.owo.compat.rei;
import io.wispforest.owo.itemgroup.OwoItemGroup;
import io.wispforest.owo.util.OwoCreativeInventoryScreenExtensions;
import me.shedaniel.math.Rectangle;
import me.shedaniel.rei.api.client.plugins.REIClientPlugin;
import me.shedaniel.rei.api.client.registry.screen.ExclusionZones;
i... |
package com.portfolio.file.model.impl;
import java.util.Collection;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import com.portfolio.file.model.UserModel;
/**
* ユーザー詳細情報の拡張クラス.
*
*/
public class UserDetailsImpl implements UserDetail... |
/**
* 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 trycatch_out;
import java.io.File;
import java.net.MalformedURLException;
public class TestWrappedLocal2 {
public void foo() {
File file= null;
/*[*/int i;
try {
i = 10; int x;
file.toURL();/*]*/
} catch (MalformedURLException e) {
}
i= 20;
}
} |
package me.SuperRonanCraft.BetterRTP.references.file;
import me.SuperRonanCraft.BetterRTP.BetterRTP;
import org.bukkit.configuration.file.YamlConfiguration;
import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
public class LangFile {
p... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
/*
* Copyright (C) 2016-2019 HERE Europe 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... |
package com.criminal.menabenyamen.taskr.swipe;
import android.content.Context;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLa... |
/*
* 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... |
import java.util.Scanner;
public class NicoloFrisianiArea {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double Xab;
double Yab;
double Xbc;
double Ybc;
double Xac;
double Yac;
System.out.println("Enter the first x coordinate: ");
int x1 = input.nextInt();... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE80_XSS__Servlet_listen_tcp_15.java
Label Definition File: CWE80_XSS__Servlet.label.xml
Template File: sources-sink-15.tmpl.java
*/
/*
* @description
* CWE: 80 Cross Site Scripting (XSS)
* BadSource: listen_tcp Read data using a listening tcp connection
* GoodSource: A ha... |
package proguard.classfile.attribute.visitor;
import proguard.classfile.Clazz;
import proguard.classfile.LibraryClass;
import proguard.classfile.LibraryMember;
import proguard.classfile.Method;
import proguard.classfile.ProgramClass;
import proguard.classfile.ProgramMember;
import proguard.classfile.attribute.Attribut... |
package me.paulf.wings.util;
import com.google.common.base.CaseFormat;
import com.google.common.base.Converter;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.registries.IForgeRegistry;
import net.minecraftforge.registries.IForgeRegistryEntry;
public final class Util {
private Util() {
... |
/*
* 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.trip.webpro.Service;
import com.trip.webpro.Entity.User;
//@Service
public interface UserService{
public boolean register(User user);
public User login(String user_email,String user_password);
}
//public class UserService {
// public final UserDao userDao;
//
// public UserService(UserDao us... |
/*******************************************************************************
* Copyright 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you 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 ... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* 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")... |
package io.ebean.tools.init;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
public class MavenPomWriter {
private final MavenPom pom;
private final FileWriter writer;
private String newLine = "\n";
private final String indent0;
private final String inde... |
package com.example.spring.mogo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.conf... |
/*
* Copyright (c) 2011 LinkedIn, 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 agree... |
/*
* Copyright 2010-2020 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 "lice... |
package com.jackie.myapp.model;
import java.util.Date;
public class Fileinfo {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column fileinfo.id
*
* @mbg.generated Thu Mar 28 11:08:46 CST 2019
*/
private Integer id;
/**
*... |
package com.alibaba.druid.bvt.pool.exception;
import java.sql.SQLException;
import com.alibaba.druid.PoolTestCase;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.pool.vendor.OracleExceptionSorter;
import com.alibaba.druid.stat.JdbcSt... |
package io.github.harha.rest;
import java.util.ArrayList;
import java.util.Arrays;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;... |
package com.skeqi.mes.pojo.chenj.srm;
import java.util.Date;
/**
* @author ChenJ
* @date 2021/7/20
* @Classname CSrmAssessRecordH
* @Description ${Description}
*/
/**
* 评估档案头表
*/
public class CSrmAssessRecordH {
/**
* 评估档案头id
*/
private Integer id;
/**
* 档案编号
*/
private ... |
package io.swagger.api;
import java.math.BigDecimal;
import io.swagger.model.Client;
import org.joda.time.LocalDate;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.MediaType;
import o... |
/*
* 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 ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.cursoemvideo.operadores;
/**
*
* @author ferfe
*/
public class TelaValores extends javax.swing.JFrame {
/**
*... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package shuaicj.hello.regex;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.regex.Pattern;
import org.junit.Test;
/**
* Test Pattern.
*
* @author shuaicj 2018/03/02
*/
public class PatternTest {
// pattern for JWT token, Base64URL encoding
private static final Pattern patter... |
/*
Copyright 2017, Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... |
package com.automationpractice.ecommerce.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.Select;
import org.testng.Assert;
public class TestCase24DownloadInvoiceAfterPurc... |
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http.ssl.impl;
import com.google.inject.Inject;
import com.yahoo.component.AbstractComponent;
import com.yahoo.jdisc.http.ConnectorConfig;
import com.yahoo.jdisc.http.ssl.SslCo... |
/*
* Copyright 2015-present Open Networking Laboratory
*
* 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 appli... |
package de.mpicbg.scf.imgtools.image.create.image;
import ij.IJ;
import ij.ImagePlus;
import ij.measure.Calibration;
import ij.plugin.Duplicator;
import net.imglib2.Cursor;
import net.imglib2.RandomAccess;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.algorithm.stats.ComputeMinMax;
import net.imglib2... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.emmanet.controllers;
/*
* #%L
* InfraFrontier
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2015 EMBL-European Bioinformatics Institute
* %%
* Licensed under the Apache License, Version 2.0 (the "License... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.