text stringlengths 7 995k |
|---|
package com.umlaut.patterntraining.strategy;
import com.tngtech.valueprovider.ValueProvider;
import static com.tngtech.valueprovider.ValueProviderFactory.createRandomValueProvider;
public class ItemTestdatenErzeuger {
private ItemTestdatenErzeuger() {
}
public static Item.ItemBuilder standardItemBuilder... |
/*
* Copyright 2021 Jeremy KUHN
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.temptarget;
import java.util.concurrent.ConcurrentMap;
import org.springframework.context.Lifecycle;
import com.google.common.collect.MapMaker;
imp... |
/*
* 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... |
/*
* Copyright (c) 2008-2018, 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 2019 the Vicuna Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package net.twerion.armada.advisor.resource;
public enum ResourceUsage {
HEALTHY,
CRITICAL,
SEVERE
} |
/*
* Copyright 2019 Haulmont.
*
* 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.smilehappiness.aspect.operate;
import com.alibaba.fastjson.JSON;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.smilehappiness.utils.SpringUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.List;
... |
/*
* Copyright 2021 Matt Malec, and the Pterodactyl4J 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 the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
package com.huohuzhihui.framework.security.mobile;
import com.huohuzhihui.common.utils.SecurityUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authenticat... |
package org.sagebionetworks.bridge.services;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.sagebionetworks.bridge.BridgeConstants.API_DEFAULT_PAGE_SIZE;
import static org.sagebionetworks.bridge.BridgeConstants.API_MAXIMUM_PAGE_SIZE;
import org.joda.time.DateTime;
import org.spring... |
/*
* Copyright 2000-2020 Vaadin 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 law or agreed to... |
package com.jaquadro.minecraft.gardenstuff.integration.lantern;
import com.jaquadro.minecraft.gardenapi.api.component.StandardLanternSource;
import com.jaquadro.minecraft.gardencore.util.RenderHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import... |
package com.dookh_28435;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName() {
... |
package com.gorban.study.lambda.methodReferenceWithGenerics;
public class GenericMethodRefDemo {
// This method has the MyFunc functional interface as the
// type of it's first parameter. The other two parameters
// receive an array and a value, both of type T.
static <T> int myOp(MyFunc<T> f, T[] val... |
package com.commercetools.api.models.me;
import java.time.*;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
import io.vrap.rmf.base.client.utils.Generated;
import org.apache.commons.la... |
package com.main.parse;
import com.database.mysql.LibraryDocumentationDB;
import com.database.mysql.MigrationSegments;
import com.database.mysql.MigrationSegmentsDB;
import com.library.Docs.MethodDocs;
import com.library.Docs.ParseHTML;
import com.library.source.DownloadLibrary;
import com.segments.build.TerminalComma... |
/*
* Copyright 2018-2018 adorsys GmbH & Co KG
*
* 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 ... |
//,temp,sample_3289.java,2,16,temp,sample_2180.java,2,16
//,2
public class xxx {
public HttpServerSharedPipelineFactory(NettySharedHttpServerBootstrapConfiguration configuration, HttpServerConsumerChannelFactory channelFactory, ClassResolver classResolver) {
this.configuration = configuration;
this.channelFactory = cha... |
package no.ssb.dc.test.server;
public interface TestUriResolver {
String testURL(String uri);
} |
package com.decoverri.treasuregenerator.model;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by decoverri on 04/02/16.
*/
public class TreasureType implements Serializable {
private Character letter;
private String name;
private String description;
private ArrayList<Value> ... |
/*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package io.pillopl.library.lending.book.application;
import io.pillopl.library.catalogue.BookId;
import io.pillopl.library.lending.book.model.Book;
import io.pillopl.library.lending.book.model.BookRepository;
import io.vavr.control.Option;
import java.util.HashMap;
import java.util.Map;
class InMemoryBookRepo implem... |
/**
* 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... |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... |
/*
* Copyright 2008-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... |
/*
* 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.company.Siaod.Stacks;
public class FixedCapacityStacksofstring {
private String[] s;
private int N = 0;
public FixedCapacityStacksofstring (int capacity) { s = new String [capacity] ; }
public boolean isEmpty(){return N == 0; }
public void puch(String item) {s[N++] = item; }
... |
package entities;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
@Entity
@Table(name = "bikes")
public class Bike extends Vehicle {
public Bike() {
}
public Bike(String type, String model, BigDecimal price, String fuelType) {
super(type, model, pr... |
// Author: Rodney Shaghoulian
// Github: github.com/RodneyShag
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int t = s.nextInt();
... |
package org.testng.internal;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.testng.Assert;
import org.testng.IClass;
import org.testng.IRetryAnalyzer;
import org.testng.ITestClass;
import org.testng.ITestNGMethod;
impo... |
package gui.dialog;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.testfx.api.FxRobot;
import org.testfx.api.FxToo... |
/*
* MIT License
*
* Copyright (c) 2020 Stefan Heindorf, Yan Scholten, Henning Wachsmuth,
* Axel-Cyrille Ngonga Ngomo, Martin Potthast
*
* 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 Softwar... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
/*
* This file was automatically generated by EvoSuite
* Fri Nov 27 10:55:24 GMT 2020
*/
package com.werken.saxpath;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import com.werken.saxpath.Token;
import com.werken.saxpath.XPathLexer;
import org.evosuit... |
/*
* * Copyright (C) 2013-2014 Matt Baxter http://kitteh.org
*
* 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, cop... |
package dev.rise.util.player;
import lombok.experimental.UtilityClass;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.JsonToNBT;
import net.minecraft.util.ResourceLocation;
import java.util.Base64;
import java.util.UUID;
@UtilityClass
p... |
package com.battlelancer.seriesguide.thetvdbapi;
/**
* Thrown when a {@link TvdbTools} Cloud operation fails.
*/
public class TvdbCloudException extends TvdbException {
public TvdbCloudException(String message, Throwable throwable) {
super(message, throwable, TvdbException.Service.HEXAGON, false);
}... |
package com.codepath.apps.restclienttemplate.helpers;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
/**
* Given a date String of the format given by the Twitter API, returns a display-formatted
* String representing the... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos;
import com.azure.cosmos.implementation.apachecommons.collections.list.UnmodifiableList;
import com.azure.cosmos.implementation.batch.ItemBatchOperation;
import com.azure.cosmos.models.PartitionKey... |
package edu.fiuba.algo3.modelo.bloque;
public interface BloquesDeSecuencia {
void agregarBloque(Bloque bloque);
} |
package com.ev.linbo.backend.modules.ums.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ev.linbo.backend.modules.ums.mapper.UmsAddressMapper;
import com.ev.linbo.backend.modules.ums.model.UmsAddress;
impor... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__byte_console_readLine_predec_54c.java
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-54c.tmpl.java
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: console_readLine Read data from the console... |
/*
* (C) Copyright 2017-2019 OpenVidu (https://openvidu.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package me.cxj.j3dtiles.utils;
/**
* Created by vipcxj on 2018/10/30.
*/
public class StreamUtils {
public static short bytes2ShortLE(byte b1, byte b2) {
short mask = 0xff;
return (short) ((b1 & mask) | (b2 & mask << 8));
}
public static short bytes2ShortLE(byte[] bytes, int offset) {
... |
/*
* Copyright 2013-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... |
/*
* © Copyright IBM Corp. 2014
*
* 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 ... |
// Copyright 2017 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 io.flutter.app;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle... |
/*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxauth.model.config;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.an... |
/*
* Copyright 2015 The SageTV Authors. 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 ap... |
/*******************************************************************************
* Copyright (C) 2018 Joao Sousa
*
* 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, in... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package ru.stqa.pft.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
public class PointTests {
@Test
public void testarea(){
Point p1 = new Point(4,3);
Point p2 = new Point(1,2);
Point p3 = new Point(2,1);
Point p4 = new Point(1,2);
Assert.assertEquals(p1.distance(p2) ... |
/*
* MIT License
*
* Copyright (c) 2020 Pim van der Loos
*
* 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... |
/*
* Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.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 requ... |
package com.yash.ptmtoolapp.serviceimpl;
import java.sql.PreparedStatement;
import java.util.List;
import com.yash.ptmtoolapp.dao.UserDAO;
import com.yash.ptmtoolapp.daoimpl.UserDaoImpl;
import com.yash.ptmtoolapp.domain.User;
import com.yash.ptmtoolapp.exception.InvalidLoginException;
import com.yash.ptmtoolapp.exce... |
package android.bishe.bean;
/**
* Created by Lenovo on 2016/3/19.
*/
public class WeatherBean {
private static final long serialVersionUID = 1L;
/**
* temperature
*/
private String temperature;
/**
* weather
*/
private String weather;
/**
* wind
*/
private S... |
/*
* 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 ma... |
/*
* Copyright 2015-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 "licen... |
/*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) 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
* ... |
package javax0.geci.tutorials.simplest;
import javax0.geci.engine.Geci;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
@SuppressWarnings("SameReturnValue")
@javax0.geci.annotations.Geci("HelloWorldTest")
public class HelloWorldTest3 {
@Test
public void generateOkay() throws Excep... |
package org.mfh114.chashi.graph.eventEmiter;
import java.util.concurrent.CountDownLatch;
public class Task implements Runnable {
private final VertexCallback vertexCallback;
private final CountDownLatch latch;
public Task(final VertexCallback vertexCallback, final CountDownLatch latch) {
this.vertexCallback = ... |
package com.skyworth.myapp;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.os.SystemProperties;
import android.util.Log;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MainActivity extends AppCompatActivity {
@Overrid... |
/*
* 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... |
package com.java110.hardwareAdapation.api;
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.constant.ResponseConstant;
import com.java110.utils.exception.InitConfigDataException;
import com.java110.utils.exception.InitDataFlowContextException;
import com.java110.core.base.controller.BaseController;
imp... |
package ${package}.general.common.impl.config;
import javax.inject.Named;
import org.springframework.security.web.csrf.CsrfToken;
import com.devonfw.module.json.common.base.ObjectMapperFactory;
/**
* The MappingFactory class to resolve polymorphic conflicts within the ${rootArtifactId} application.
*/
@Named("App... |
/*
* 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) 2011-2017, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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
*
* http://www... |
package ru.stqa.pft.mantis.appmanager;
import org.subethamail.wiser.Wiser;
import org.subethamail.wiser.WiserMessage;
import ru.stqa.pft.mantis.model.MailMessage;
import javax.activation.MimetypesFileTypeMap;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import java.io.IOException;
imp... |
/**
* Copyright 2013 Petros Pissias.
*
* 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... |
package de.exxcellent.challenge.business_logic;
import de.exxcellent.challenge.domain_model.weather.WeatherData;
import de.exxcellent.challenge.domain_model.weather.WeatherEntry;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
c... |
/*
* Copyright (c) 2011, grossmann
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions an... |
package com.cdyne.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>Th... |
package au.com.totemsoft.openbanking.cds.v1.model;
import java.util.Objects;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
impor... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.objectivec;
import java.io.Reader;
import java.util.Map;
import net.sourceforge.pmd.lang.AbstractParser;
import net.sourceforge.pmd.lang.ParserOptions;
import net.sourceforge.pmd.lang.TokenManager... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
/*
* Copyright 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
package com.minji.idusbackend.admin;
import com.minji.idusbackend.admin.model.OptionDTO;
import com.minji.idusbackend.admin.model.OptionSelectDTO;
import com.minji.idusbackend.admin.model.ProductDTO;
import com.minji.idusbackend.admin.model.ProductImageUploadDTO;
import org.springframework.beans.factory.annotation.Aut... |
package com.shouguouo.extract;
import com.google.common.collect.Lists;
import com.shouguouo.extract.database.DatabaseMeta;
import com.shouguouo.extract.enums.ExtractType;
import com.shouguouo.extract.runner.AbstractRunner;
import com.shouguouo.extract.runner.Exchanger;
import com.shouguouo.extract.runner.ReaderRunner;... |
// Wav file IO class
// A.Greensted
// http://www.labbookpages.co.uk
// File format is based on the information from
// http://www.sonicspot.com/guide/wavefiles.html
// http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/wave.htm
// Version 1.0
package cafe.audio;
/*
* http://www.labbookpages.co.uk/audio/javaWavFi... |
/**
* 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 randoop.operation;
import java.util.List;
import randoop.ExecutionOutcome;
import randoop.NormalExecution;
import randoop.sequence.Variable;
import randoop.types.Type;
import randoop.types.TypeTuple;
/**
* An {@link Operation} to perform an explicit cast. NOTE: there is no actual checking of the types
* bei... |
package com.cloudera.framework.example.one.test;
import static com.cloudera.framework.common.Driver.SUCCESS;
import static com.cloudera.framework.example.one.stream.Stream.PROPERTY_BATCH_SIZE;
import static com.cloudera.framework.example.one.stream.Stream.PROPERTY_POLL_MS;
import static com.cloudera.framework.example.... |
package com.google.sps.servlets;
import java.util.ArrayList;
import java.util.List;
import java.io.IOException;
import java.io.File;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/** Servle... |
package com.linesegment;
import java.awt.*;
public class MainLineSegment {
public static void main(String[] args) {
Point firstPoint = new Point();
firstPoint.setLocation(0, 0);
Point secondPoint = new Point();
secondPoint.setLocation(50, 50);
LineSegment lineSegment = ne... |
package com.hazelcast.map.impl.operation;
import com.hazelcast.config.MapConfig;
import com.hazelcast.map.impl.MapContainer;
import com.hazelcast.map.impl.MapContextQuerySupport;
import com.hazelcast.map.impl.MapService;
import com.hazelcast.map.impl.MapServiceContext;
import com.hazelcast.map.impl.QueryResult;
import... |
package com.github.slondy.lifestyleapp;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class AddUserActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layo... |
package se.cygni.snake.api.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SnakeInfo {
final String name;
final int points;
final String id;
final int[] positions;
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"); you may ... |
// Template Source: BaseEntityCollectionRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------... |
package games.aternos.odessa.gameapi.eventhook.handler;
import games.aternos.odessa.gameapi.eventhook.Hook;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerEggThrowEvent;
import java.util.ArrayList;
import java.util.List;
public class PlayerEggThrowEventHo... |
package com.stylefeng.guns.rest.common;
/**
* 测试用的
*
* @author 格调先生
* @date 2017-08-25 16:47
*/
public class SimpleObject {
private String user;
private String name;
private String tips;
private Integer age;
public String getName() {
return name;
}
public void setName(Str... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
// Copyright 2000-2020 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.ide.plugins;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.application.ex.ApplicationInfoEx;
import com.intellij.openapi.extensions.PluginId... |
package net.gini.switchsdk;
import static junit.framework.Assert.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import android.content.Contex... |
package com.jm.newvista.mvp.presenter;
import android.annotation.SuppressLint;
import android.os.AsyncTask;
import com.jm.newvista.mvp.base.BasePresenter;
import com.jm.newvista.mvp.model.ClearCacheModel;
import com.jm.newvista.mvp.view.ClearCacheView;
import java.util.List;
import lecho.lib.hellocharts.model.PieCh... |
package com.example.sency.loadmore;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.AbsListView;
import android.widget.ListView;
/**
* Created by sency on 2016/8/5.
*/
public class LoadList... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.devtestlabs.v2018_09_15;
import java.util.List;
... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.