text stringlengths 7 995k |
|---|
package io.github.easymodeling.modeler.field.number;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.CodeBlock;
import io.github.easymodeling.modeler.FieldPattern;
import io.github.easymodeling.modeler.field.ModelField;
import io.github.easymodeling.randomizer.Randomizer;
import io.github.easymode... |
package org.javaee7.websocket.endpoint.javatypes;
import javax.websocket.OnMessage;
import javax.websocket.server.ServerEndpoint;
/**
* @author Arun Gupta
*/
@ServerEndpoint("/websocket-int")
public class MyEndpointInt {
@OnMessage
public int echoInt(int i) {
System.out.println("echoInt");
... |
package product;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import pages.HomePage;
import pages.ProductInfoPage;
import pages.ResultsPage;
public class SearchProductTest extends BaseTest{
HomePage homePage = new HomePage(driver);
ResultsPage resultsPage = new ResultsPage(driver);
Produ... |
package study_dropwizard;
import io.dropwizard.Application;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import study_dropwizard.health.TemplateHealthCheck;
import study_dropwizard.resources.HelloWorldResource;
public class DwApplication extends Application<DwConfiguration> {
pub... |
package com.nkasenides.athlos.generator.services;
import com.nkasenides.athlos.editor.Main;
import com.nkasenides.athlos.editor.model.service.ServiceModel;
import com.nkasenides.athlos.editor.model.service.ServiceType;
import com.nkasenides.athlos.editor.model.type.ActionModel;
import com.nkasenides.athlos.editor.util... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_getParameter_Servlet_multiply_81_bad.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-81_bad.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: getParameter_Servlet Read data... |
/*
* 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 ... |
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;
imp... |
/**
* 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 m... |
package com.ysy.tmall.member.config;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttrib... |
package com.dihanov.musiq.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by dimitar.dihanov on 2/22/2018.
*/
public class Toptracks {
@SerializedName("track")
@Expose
private List<Track> track = null;
@Ser... |
/**
* Copyright 2019 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 required by... |
package de.srendi.advancedperipherals.common.blocks;
import de.srendi.advancedperipherals.common.blocks.base.BaseBlock;
import de.srendi.advancedperipherals.common.setup.TileEntityTypes;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;
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 ... |
package com.example.application.data.service;
import com.example.application.data.entity.Libro;
import java.util.Collection;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.vaadin.crudui.crud.CrudListener;
import com.example.application.data.repos... |
package org.apereo.cas.support.events.service;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.support.events.AbstractCasEvent;
/**
* This is {@link CasRegisteredServiceDeletedEvent}, signaled
* when a service is removed from the regis... |
package ch.epfl.sweng.tutosaurus.SearchFactory;
import com.google.firebase.database.Query;
import ch.epfl.sweng.tutosaurus.helper.DatabaseHelper;
/**
* A criterion to search for all tutors.
*/
public class ShowFullTutorList implements SearchCriterion {
private DatabaseHelper dbh;
@Override
public Que... |
/*
* 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 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 (c... |
// Copyright (c) 2015-2018 Krzysztof Ciomek
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, ... |
package tax;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import java.time.LocalDate;
import static java.time.Month.APRIL;
import static org.assertj.core.api.Assertions.assertThat;
import static tax.FuelType.*;
public class TaxCalculatorAfterFirstYearForExpensiveVehiclesTest {
priva... |
import java.io.*;
public class Main {
public static boolean[] arr;
public static int n, k;
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
String[] st = br.readLine().split(" ");
... |
/*
Copyright 2016 Goldman Sachs.
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,
softw... |
/**
* Copyright Verimag laboratory.
*
* contributors:
* Marc Pouhliès
* Jacques Combaz (jacques.combaz@univ-grenoble-alpes.fr)
*
* This software is a computer program whose purpose is to generate
* executable code from BIP models.
*
* This software is governed by the CeCILL-B license under French law and... |
/**
* This file was auto-generated by the Titanium Module SDK helper for Android
* Appcelerator Titanium Mobile
* Copyright (c) 2009-Present by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
*... |
/*
* Copyright 2013-2018 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.vertx.ext.web.api.service.generator.model;
import io.vertx.codegen.*;
import io.vertx.codegen.doc.Doc;
import io.vertx.codegen.doc.Text;
import io.vertx.codegen.type.ClassTypeInfo;
import io.vertx.codegen.type.ParameterizedTypeInfo;
import io.vertx.codegen.type.TypeInfo;
import io.vertx.codegen.type.TypeMir... |
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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.annotat... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.omnibox.status;
import static org.chromium.content_public.browser.test.util.TestThreadUtils.runOnUiThreadBlocking;
i... |
package seedu.organizer.commons.events.ui;
import seedu.organizer.commons.events.BaseEvent;
/**
* An event requesting to view the help page.
*/
public class ShowHelpRequestEvent extends BaseEvent {
@Override
public String toString() {
return this.getClass().getSimpleName();
}
} |
/**
* 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 (c) 2008-2019, 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.mssoft.pms.ui.util;
public enum FontWeight {
LIGHTER("lighter"),
NORMAL("normal"),
BOLD("bold"),
BOLDER("bolder"),
_100("100"),
_200("200"),
_300("300"),
_400("400"),
_500("500"),
_600("600"),
_700("700"),
_800("800"),
_900("900");
private String value;
FontWeight(String value) {
this.v... |
package com.android.example.leanback.fastlane;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.android.example.leanback.R;
public class VideoDetailsActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
//package io.github.pikaq.command;
//
//import io.github.pikaq.PikaqConst;
//import io.github.pikaq.remoting.protocol.command.CommandCode;
//import io.github.pikaq.remoting.protocol.command.DefaultRemoteCommandFactory;
//import io.github.pikaq.remoting.protocol.command.RemoteCommand;
//
//public class RemoteCommandFact... |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
/**
* Public API related to mock method invocations.
*/
package org.mockito.invocation; |
/* ====================================================================
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 Y... |
/** Automatically generated file. DO NOT MODIFY */
package lcl.android;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package net.qihoo.xlearning.jobhistory;
import net.qihoo.xlearning.webapp.AMParams;
import org.apache.hadoop.mapreduce.v2.app.AppContext;
import org.apache.hadoop.yarn.webapp.hamlet.Hamlet;
import org.apache.hadoop.yarn.webapp.hamlet.Hamlet.TABLE;
import org.apache.hadoop.yarn.webapp.view.HtmlBlock;
import com.google... |
/*
* 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... |
/*
* Copyright (C) 2019 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... |
/*
* File created on Apr 7, 2019
*
* Copyright (c) 2019 Carl Harris, Jr
* and others as noted
*
* 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/LI... |
/*
* 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 ... |
/**
* @Project: communityFocus
* @FilePath: com.newenv.communityFocus.sqtj.dao.SqtjDao.java
* @Description: 商圈统计dao
* @author: mingjie.lu
* @date: 2016年4月21日 下午4:54:54
*/
package com.newenv.communityFocus.dao;
import java.text.ParseException;
import java.util.List;
import java.util.Map;
import org.nutz.dao.enti... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v3/resources/ad_group_criterion.proto
package com.google.ads.googleads.v3.resources;
public interface AdGroupCriterionOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v3.resources.AdGrou... |
/*
* 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 the University of California, Berkeley 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 no... |
package applica.framework.fileserver.servlets;
import applica.framework.fileserver.*;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServle... |
package com.hk.xia.mybatisplus.generator.code.dao;
import com.hk.xia.mybatisplus.generator.code.pojo.Employer;
/**
* 通用 Mapper 代码生成器
*
* @author mapper-generator
*/
public interface EmployerDao extends tk.mybatis.mapper.common.Mapper<Employer> {
} |
/*
* (C) Copyright IBM Corp. 2014, 2016 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... |
/*
* Copyright 2002-2012 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.ctrip.xpipe.redis.checker;
/**
* @author lishanglin
* date 2021/3/14
*/
import com.ctrip.xpipe.redis.checker.alert.AlertManagerTest;
import com.ctrip.xpipe.redis.checker.alert.manager.AlertPolicyManagerTest;
import com.ctrip.xpipe.redis.checker.alert.message.holder.DefaultAlertEntityHolderTest;
import ... |
package ua.odessa.ghelen.pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class LoginPage extends EveryPage {
public LoginPage(PageManager page) {
super(page);
}
@FindBy(id = "Email")
private WebElement loginField;
@FindBy(id = "Password")
private WebElement ... |
package com.qiuzhongrun.classloader.initial.sequence.test1;
import com.qiuzhongrun.classloader.initial.sequence.Test;
public class Tester implements Test {
public static void main(String[] args) {
Son son = new Son();
}
} |
class TUA5nYy {
public static void h7Qw (String[] JOU8XGaHFu) {
loG2aDq_vJj[][][] Fl;
boolean tAUZ = false.r9_TdHMwQkyv = UnxXnajDnJ().AhooaqNas6;
return;
int QgFgz = !u2()[ !null[ --11684836.D()]];
boolean[] jTR3wv_ = !!new void[ !!-true.shBaXWmew7R()][ WrdnUjhoBR.Z30BM... |
/*
* Copyright 2014 Alexey Andreev.
*
* 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... |
// $ANTLR 3.0.1 /Users/benjamincoe/HackWars/C.g 2009-01-01 16:21:19
package Hackscript;
import Hackscript.Model.*;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import org.antlr.runtime.tree.*;
public class CParser extends Parser {
public static final S... |
package com.textspeed.app.message;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import java.util.ArrayList;
import java.util.List;
/**
* Created by crimson on 04.04.2015.
*/
public class MessageUtil {
private final static Uri MESSAGES_URI = Uri.parse("content://sms/"... |
package xyz.rexlin600.websocket.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
/**
* Web socket config
*
* @author hekunlin
*/
@Configuration
public class WebSock... |
package net.morbz.minecraft.blocks;
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 Merten Peetz
*
* 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 wit... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Wed May 20 12:25:18 GMT 2020
*/
package com.alibaba.fastjson;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;... |
package com.mizo0203.lilywhite.util;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.linecorp.bot.model.PushMessage;
import com.linecorp.bot.model.ReplyMessage;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStre... |
/*
* Copyright (c) 2020 Gomint team
*
* This code is licensed under the BSD license found in the
* LICENSE file in the root directory of this source tree.
*/
package io.gomint.world.block;
/**
* @author geNAZt
* @version 1.0
* @stability 3
*/
public interface BlockBrickBlock extends Block {
} |
/***************************************************************************
* Copyright (c) 2014-2015 VMware, 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
*
... |
/*
*
* This file is part of the iText (R) project.
Copyright (c) 1998-2018 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free ... |
/*
Derby - Class com.pivotal.gemfirexd.internal.impl.sql.execute.IndexChanger
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 thi... |
package com.mana_wars.ui.widgets.base;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
public interface BuildableUI {
Actor build();
} |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.93
* Generated at: 2019-04-02 08:31:09 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms.cast;
public final class R {
public static final class drawable {
public static final int ca... |
/*
* 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... |
/*
* Copyright 2017-2020 Alfresco Software, 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 applicable ... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies;
import java.util.Iterator;
import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand;
import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr... |
package com.went.core.erabatis.component;
import com.went.core.erabatis.center.SqlSegment;
/**
* <p>Title: Table</p>
* <p>Description: 数据库表</p>
* <p>Copyright: Shanghai era Information of management platform, Inc. Copyright(c) 2017</p>
*
* @author Wen TieHu
* @version 1.0
* <pre>History: 2017/11/2 We... |
// Copyright 2000-2019 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.refactoring.extractMethod;
import com.intellij.application.options.CodeStyle;
import com.intellij.codeInsight.ExceptionUtil;
import com.intellij.codeInsight.... |
package com.supermarket;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
/**
* This Class con... |
/*
* Copyright 2003 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
package bamboo.util;
import java.util.List;
public class Pager<T> {
public final long pageSize = 100;
public final long currentPage;
public final long lastPage;
public final long offset;
public final long totalItems;
public final List<T> items;
public Pager(long page, long totalItems, Pag... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
/*
* 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 seedu.address.model.tag;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.testutil.Assert.assertThrows;
import org.junit.jupiter.api.Test;
public class CleanStatusTagTest {
@Test
public void constructor... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
package com.alibaba.alink.operator.common.dataproc;
import org.apache.flink.api.java.tuple.Tuple4;
import org.apache.flink.types.Row;
import com.alibaba.alink.operator.common.utils.PrettyDisplayUtils;
import org.apache.commons.lang3.ArrayUtils;
import java.io.Serializable;
import java.util.Arrays;
import java.util.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 org.oddjob.arooa.beandocs;
import org.oddjob.arooa.ArooaType;
public interface ArooaDocFactory {
/**
* Create a set of {@link ArooaDoc} for the given {@link ArooaType}.
*
* @param type
* @return
*/
public ArooaDoc createBeanDocs(ArooaType type);
} |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org... |
package codeu.controller;
import codeu.model.data.User;
import codeu.model.store.basic.UserStore;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.junit.Befo... |
package pinacolada.cards.fool.ultrarare;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import com.megacrit.cardcrawl.powers.JuggernautPower;
import pinacolada.cards.base.CardSeries;
import pinacolada.cards.base.CardUseInfo;
import pinacolada.cards.base... |
/*
* Copyright (c) 2017, Cameron <moberg@tuta.io>
* Copyright (c) 2018, Levi <me@levischuck.com>
* 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 ... |
package org.jboss.resteasy.api.validation;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.validation.ConstraintViolation;
public class SimpleViolationsContainer implements Serializable
{
private static final long serialVersionUID = -7895854137980651540L;
private Set<... |
package restPackage;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.eclipse.jdt.core.dom.MethodDeclaration;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class MethodHidingFactor {
double visibleMethods = 0;
double invisib... |
package test_with_remote_apis.web_api;
import com.github.seratch.jslack.Slack;
import com.github.seratch.jslack.api.methods.SlackApiException;
import com.github.seratch.jslack.api.methods.response.mpim.*;
import com.github.seratch.jslack.api.methods.response.users.UsersListResponse;
import com.github.seratch.jslack.ap... |
/**
* AET
*
* Copyright (C) 2013 Cognifide Limited
*
* 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.github.danielflower.mavenplugins.release;
import static java.lang.String.format;
import org.apache.maven.plugin.logging.Log;
import org.eclipse.jgit.transport.JschConfigSessionFactory;
import org.eclipse.jgit.transport.OpenSshConfig;
import org.eclipse.jgit.util.FS;
import com.jcraft.jsch.IdentityReposit... |
package club.zstuca.myzstu.boot.robot.listener;
import catcode.CatCodeUtil;
import club.zstuca.myzstu.utils.http.HttpUtil;
import love.forte.simbot.annotation.Filter;
import love.forte.simbot.annotation.Listen;
import love.forte.simbot.annotation.Listener;
import love.forte.simbot.api.message.events.GroupMsg;
import l... |
/*
* Copyright (C) 2014 Square, 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 agre... |
/*
* Copyright 2017 Skolkovo Institute of Science and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.