text stringlengths 7 995k |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.util.ArrayList;
import java.util.List;
... |
package ba.unsa.etf.rpr;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.input.KeyCode;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundFill;
import javafx.stage.Stage;
import org.junit.jupiter.api.Test... |
/**
* Copyright (c) 2013-2017, phandom.org
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditi... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.... |
package com.alvis.exam.viewmodel.teacher.classes;
import lombok.Data;
import javax.validation.constraints.NotBlank;
@Data
public class ClassesEditVM {
private Integer id;
@NotBlank
private String name;
} |
package frc.robot;
import edu.wpi.first.wpilibj.Joystick;
import frc.robot.commands.ArcadeDriveCommand;
import frc.robot.commands.CommandFactory;
import frc.robot.subsystems.SubsystemManager;
public class OperatorInterface {
private Joystick driveStick;
private JoystickButtonManager joystickManager;
priv... |
/**
* Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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 vers... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package animadicer.connection;
import java.io.BufferedReader;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
/**
*
* @author Fernando
*/
public class Descarga... |
package org.intermine.bio.postprocess;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/les... |
package com.buuz135.industrial.tile.generator;
import com.buuz135.industrial.api.recipe.IReactorEntry;
import com.buuz135.industrial.proxy.client.infopiece.BioreactorEfficiencyInfoPiece;
import com.buuz135.industrial.tile.CustomElectricMachine;
import com.buuz135.industrial.utils.ItemStackUtils;
import com.buuz135.ind... |
package com.hundsun.network.gates.wangjiang.biz.dao.auction;
import com.hundsun.network.gates.qingbo.biz.domain.auction.AuctionHall;
public abstract interface AuctionHallDAO
{
public abstract int deleteByPrimaryKey(Long paramLong);
public abstract void insert(AuctionHall paramAuctionHall);
public abstract Auc... |
package net.cliff3.maven.common.util.crypto;
import java.math.BigInteger;
import java.security.Key;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.RSAPrivateKeySpec;
import java.security.spec.RSAPublicKeySpec;... |
package fr.o80.lib.abtesting;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
/**
* @author Olivier Perez
*/
public class ABPercentConfig {
private final String name;
private final String defaultValue;
private final List<ABPercentCase> cases;
ABPercentConfig(... |
/*
* 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 ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE113_HTTP_Response_Splitting__URLConnection_setHeaderServlet_16.java
Label Definition File: CWE113_HTTP_Response_Splitting.label.xml
Template File: sources-sinks-16.tmpl.java
*/
/*
* @description
* CWE: 113 HTTP Response Splitting
* BadSource: URLConnection Read data from... |
package com.aidriveall.cms.service.mapper;
import com.aidriveall.cms.domain.*;
import com.aidriveall.cms.service.dto.DataDictionaryDTO;
import org.mapstruct.*;
/**
* Mapper for the entity {@link DataDictionary} and its DTO {@link DataDictionaryDTO}.
*/
@Mapper(componentModel = "spring", uses = {})
public interface... |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.commerce.educate.competitionapply.status.sync response.
*
* @author auto create
* @since 1.0, 2021-12-08 21:33:58
*/
public class AlipayCommerceEducateCompetitionapplyStatusSyncResponse extends AlipayResponse {
pr... |
package org.malagu.panda.dorado.linq.policy.impl;
import java.util.ArrayList;
import java.util.List;
import org.malagu.panda.dorado.linq.lin.Linq;
import org.malagu.panda.dorado.linq.parser.CriterionParser;
import org.malagu.panda.dorado.linq.policy.CriteriaContext;
import com.bstek.dorado.data.provider.Criteria;
/... |
/*
* AtmosphereTestCase.java
* WhirlyGlobeLib
*
* Created by jmnavarro
* Copyright 2011-2014 mousebird consulting
*
* 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://ww... |
package objects;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Target;
@Target({ TYPE, FIELD, METHOD })
public @interface DefEntity {
} |
/*
* Copyright (c) 2008-2022, 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 no.nav.foreldrepenger.regler.uttak.fastsetteperiode.betingelser;
import no.nav.foreldrepenger.regler.uttak.fastsetteperiode.FastsettePeriodeGrunnlag;
import no.nav.fpsak.nare.doc.RuleDocumentation;
import no.nav.fpsak.nare.evaluation.Evaluation;
import no.nav.fpsak.nare.specification.LeafSpecification;
@RuleD... |
package controllers;
import java.util.List;
import models.Categoria;
import models.Produto;
import models.ItemPedido;
import play.*;
import play.mvc.*;
import views.html.*;
public class Application extends Controller {
List<Categoria> categorias = Categoria.find.all();
List<Produto> produtos = Produto.find.all();... |
package symbols;
import java.awt.*;
import java.util.ArrayList;
public class Part {
private ArrayList<MusicSymbol> musicSymbols;
public Part() {
musicSymbols = new ArrayList<MusicSymbol>();
}
public void addNote(Note note) {
musicSymbols.add(note);
}
public void addPause(Pau... |
package net.remew.LanceOfLonginusMod.client;
import org.lwjgl.opengl.GL11;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.IIte... |
/*
* Copyright 2013 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 ... |
/**
* Mars Simulation Project
* TrainingUtils.java
* @version 3.1.0 2019-09-19
* @author Manny Kung
*/
package org.mars_sim.msp.core.person;
/**
* The TrainingUtils class derives the role prospects from a person's prior training
*/
public class TrainingUtils {
// 19 trainings
// BIOETHICAL
// EXTREME_ENV_O... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__short_console_readLine_multiply_75a.java
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-75a.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: console_readLine Read data from the console... |
/*
* 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 app... |
package com.renewable.terminal.util;
import com.renewable.terminal.exception.serial.*;
import gnu.io.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.TooManyListenersException;
/... |
package com.tools.core.thread;
import com.tools.core.lang.Assert;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.AbstractExecutorService;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util... |
/* */ package org.apache.http.conn.ssl;
/* */
/* */ import java.security.cert.X509Certificate;
/* */ import java.util.Arrays;
/* */ import org.apache.http.util.Args;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */... |
package com.resume.pojo;
public class GitHub {
private Integer id;
private String name;
private String description;
private String href;
private String color;
private String language;
private String star;
public GitHub(Integer id, String name, String description, String href, Str... |
package org.firstinspires.ftc.teamcode;
import android.graphics.Color;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.