text stringlengths 7 995k |
|---|
/*
* 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... |
package me.gav06.cobalt.mixin;
import me.gav06.cobalt.Cobalt;
import net.minecraft.client.renderer.EntityRenderer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.Callb... |
/* The following code was generated by JFlex 1.4.1 on 10/7/12 12:43 AM */
/*
* 07/14/2014
*
* NSISTokenMaker.java - Scanner for NSIS installer scripts.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rsyntaxt... |
package point.of.sale;
public class StoreToggles {
public static boolean isEnableHash = true;
public static boolean isEnableArray = true;
public static boolean isUnderTest = false;
public static boolean discountAllItems = false;
} |
package com.hazelcast.client;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.client.test.TestHazelcastFactory;
import com.hazelcast.config.Config;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.nio.serialization.Portable;
import com.hazelcast.ni... |
package com.richard.learn.controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.richard.learn.component.AppConf... |
// 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.openapi.wm.impl.welcomeScreen;
import com.intellij.ide.GeneralSettings;
import com.intellij.idea.SplashManager;
import com.intellij.openapi.Disposable;
impor... |
package com.jtravan.config;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.context.FhirVersionEnum;
import ca.uhn.fhir.validation.FhirValidator;
import com.jtravan.config.loader.ValidatorLoader;
import com.jtravan.config.loader.ValidatorType;
import com.jtravan.exceptions.UnhandledFhirVersionException;
imp... |
package ox.softeng.metadatacatalogue.test.domain.core;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import org.flywaydb.test.annotation.FlywayTest;
import org.junit.Assert;
import org... |
package com.stylefeng.guns.rest.common.persistence.dao;
import com.stylefeng.guns.rest.common.persistence.model.MoocFilmInfoT;
import com.baomidou.mybatisplus.mapper.BaseMapper;
/**
* <p>
* 影片主表 Mapper 接口
* </p>
*
* @author yan_gt
* @since 2018-12-16
*/
public interface MoocFilmInfoTMapper extends BaseMapper<M... |
/*
* Kafka Admin REST API
* An API to provide REST endpoints for query Kafka for admin operations
*
* The version of the OpenAPI document: 0.3.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*... |
package uk.gov.hmcts.reform.civil.assertion;
import org.assertj.core.api.AbstractAssert;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
public class DayAssert extends AbstractAssert<DayAssert, LocalDate> {
public DayAssert(LocalDate ... |
/*
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... |
package cn.router.api.base;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import cn.router.api.method.WeRouterPath;
import cn.router.werouter.annotation.bean.RouterBean;
/**
* Created to :
*
* @author WANG
* @date 2018/11/23
*/
public class DataStorage {
public static Map<String, ... |
/*
* Copyright 2014-2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... |
/*
* Copyright 2011-2014 Rafael Iñigo
*
* 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... |
/*
* Copyright (c) 2011-2017 Pivotal Software 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
*
* Unles... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2016 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.
*/
package ti.modules.titanium.ui;
import org.appcelerator.kroll.KrollDict;
import o... |
package com.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.SeckillSessionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 秒杀活动场次
*
* @author guiban
* @email guiban@atguigu.com
* @date 2020-10-28 17:11:25
*/
@Mapper
public interfac... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.video.v1;
import com.twilio.base.Creator;
import com.twilio.converter.Converter;
import com.twilio.converter.Promoter;
import com.twilio.exception.ApiConnectionException;
import ... |
package com.minhasKamal.ultimateCalculator.calculators.unitConverter;
import java.util.function.Function;
class UnitConverterOperation {
public interface UnitConverter<T>{
double convert(T from, T to, double input);
}
public enum Area implements UnitConverter<Area>{
SQUARECENTIMETER(10000... |
package la.renzhen.remoting.netty;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandler;
import io.netty.channel.socket.SocketChannel;
import io.netty.util.concurrent.DefaultEventExecutorGroup;
import io.netty.util.concurrent.EventExecutorGroup;
import la.renzhen.remoting.RemotingConfig;
import la.r... |
package br.com.thordrugstore.farmacia.view;
import br.com.thordrugstore.farmacia.DAO.ClienteDAO;
import br.com.thordrugstore.farmacia.DAO.ItemVendaDAO;
import br.com.thordrugstore.farmacia.DAO.ProdutoDAO;
import br.com.thordrugstore.farmacia.DAO.VendaDAO;
import br.com.thordrugstore.farmacia.model.Cliente;
import br.c... |
/*
* MIT License
*
* Copyright (c) 2017-2018 nuls.io
*
* 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, mod... |
/*
* Copyright 2012-2017 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) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* 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/license... |
package cn.stt.zabbix.api2.dto;
import java.util.ArrayList;
import java.util.List;
/**
* @author wangzhen3
* @version 2017/12/01
*/
public class ZabbixItem {
private String itemId;
private String name;
private String hostId;
private String hostIp;
private String key;
private Integer del... |
package br.com.zup.desafios.proposta.utils.annotation;
import org.hibernate.validator.constraints.CompositionType;
import org.hibernate.validator.constraints.ConstraintComposition;
import org.hibernate.validator.constraints.br.CNPJ;
import org.hibernate.validator.constraints.br.CPF;
import javax.validation.Constraint... |
// Copyright 2000-2018 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.psi.impl.source.resolve.reference.impl;
import com.intellij.codeInsight.completion.*;
import com.intellij.codeInsight.lookup.ExpressionLookupItem;
import com... |
package com.haulmont.sample.petclinic.service;
import com.haulmont.cuba.core.global.DataManager;
import com.haulmont.cuba.core.global.TimeSource;
import com.haulmont.sample.petclinic.entity.pet.Pet;
import com.haulmont.sample.petclinic.entity.visit.Visit;
import java.util.Optional;
import javax.inject.Inject;
import o... |
/*******************************************************************************
* MoonLight: a light-weight framework for runtime monitoring
* Copyright (C) 2018-2021
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache Li... |
package org.adbcj.mysql.codec.decoding;
import io.netty.channel.Channel;
import org.adbcj.ResultHandler;
import org.adbcj.mysql.codec.*;
import org.adbcj.mysql.codec.packets.ResultSetFieldResponse;
import org.adbcj.support.DefaultDbFuture;
import java.io.IOException;
import java.io.InputStream;
import java.util.Array... |
package gov.nara.nwts.ftapp.gui;
import java.awt.BorderLayout;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**
* UI component allowing the selction of the root directory for a File Test.
* Note: this pre-dates the creation of the {@link FileSelec... |
package com.danilojakob.warehousemanagement.repository;
import com.danilojakob.warehousemanagement.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
/**
* User Repository
* @copyright Danilo Jakob
*/
@Repository
... |
package src;
import java.util.Stack;
public class PrintTreeInSpiralForm {
public static void main(String[] args) {
Tree root = new Tree(9);
root.left = new Tree(18);
root.left.left = new Tree(19);
root.left.left.left = new Tree(81);
root.left.left.right = new Tree(10);
root.left.right = new Tree(7);
r... |
package Everest.Framework.Mvc.Service;
import Everest.Framework.Core.Exception.InputOutputException;
import Everest.Framework.Core.Inject.Singleton;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.SimpleModule;
... |
/*
* Copyright (C) 2019 Knot.x 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 law or agr... |
/*
* Copyright 2014-2018 Groupon, Inc
* Copyright 2014-2018 The Billing Project, LLC
*
* The Billing Project 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... |
package org.algohub.engine.util;
import java.util.Arrays;
public interface Equals {
/**
* More powerful than java.util.Objects.equals().
*/
static boolean equal(Object a, Object b) {
if (a == b) {
return true;
} else if (a == null || b == null) {
return false;
}
boolean eq;
... |
package io.jenkins.plugins.todeclarative.converter.publisher;
import hudson.Extension;
import hudson.tasks.Mailer;
import hudson.tasks.Publisher;
import io.jenkins.plugins.todeclarative.converter.api.ConverterRequest;
import io.jenkins.plugins.todeclarative.converter.api.ConverterResult;
import io.jenkins.plugins.tode... |
/*******************************************************************************
* Copyright (c) 2015 The University of Reading
* 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. Redis... |
package hex.optimization;
import water.Iced;
import water.util.ArrayUtils;
import water.util.Log;
import java.util.Arrays;
/**
* Created by tomasnykodym on 9/29/15.
*/
public class OptimizationUtils {
public static class GradientInfo extends Iced {
public double _objVal;
public double [] _gradient;
... |
/*
* Copyright 2012-2014 Netherlands eScience Center.
*
* 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 the following location:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
package com.zupacademy.caroline.mercadolivre.MercadoLivre.Handler;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.... |
/*
* Copyright (c) 2011-2014 Julien Nicoulaud <julien.nicoulaud@gmail.com>
*
* 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 f... |
package org.dddjava.jig.presentation.view.poi.report.formatter;
import org.dddjava.jig.domain.model.jigmodel.businessrules.BusinessRules;
import org.dddjava.jig.domain.model.jigpresentation.collections.CollectionField;
import org.dddjava.jig.presentation.view.poi.report.ConvertContext;
import org.dddjava.jig.presentat... |
package com.company.cashman.algorithm;
import java.util.Set;
import com.company.cashman.lib.Denomination;
/**
*CashMan algorithm for with drawing an amount from the given available currency set.
*/
@FunctionalInterface
public interface CashManAlgorithm {
/**
* With draws the user provided amount from Cas... |
package com.wynprice.minify.util;
public record Registered<T>(T object, String name) {
} |
package com.bombergame.modelos;
import android.content.Context;
import android.graphics.Canvas;
import android.util.Log;
import com.bombergame.R;
import com.bombergame.graficos.Ar;
import com.bombergame.graficos.Sprite;
import com.bombergame.modelos.mejoras.MejoraBomba;
import com.bombergame.modelos.mejoras.MejoraExp... |
package org.openapitools.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.... |
package mx.sharkit.web.view.administracion;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
impor... |
/*
* Swift Parallel Scripting Language (http://swift-lang.org)
* Code from Java CoG Kit Project (see notice below) with modifications.
*
* Copyright 2005-2014 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
package com.imooc.smartbutler.adapter;
/*
* 项目名: SmartButler
* 包名: com.imooc.smartbutler.adapter
* 文件名: GridAdapter
* 创建者: LGL
* 创建时间: 2016/11/19 0:17
* 描述: 妹纸适配器
*/
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
i... |
package mage.cards.g;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.ContinuousEffect;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword... |
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package cn.shiwei.hr.web.controller;
import cn.shiwei.hr.service.IDepartmentService;
import cn.shiwei.hr.domain.Department;
import cn.shiwei.hr.query.DepartmentQuery;
import cn.shiwei.hr.util.AjaxResult;
import cn.shiwei.hr.util.PageList;
import com.baomidou.mybatisplus.plugins.Page;
import org.springframework.beans.f... |
package com.github.edgar615.gateway.core.plugin.predicate;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import com.github.edgar615.gateway.core.dispatch.ApiContext;
import com.github.edgar615.util.base.Randoms;
import io.vertx.core.http.HttpMethod;
import org.junit.As... |
package org.nearbyshops.enduserappnew.ViewHolders.ViewHolderUtility.Models;
public class MarketHelplineData {
} |
/*
* Copyright (c) 2020. 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, so... |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... |
/*
* 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 app... |
/*
* Decompiled with CFR 0_79.
*/
package org.anddev.andengine.util.pool;
import org.anddev.andengine.util.pool.GenericPool;
import org.anddev.andengine.util.pool.PoolItem;
public abstract class Pool<T extends PoolItem>
extends GenericPool<T> {
public Pool() {
}
public Pool(int n) {
super(n);
... |
/*
* 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.dbflute.erflute.editor.controller.command.diagram_contents.element.connection;
import java.util.ArrayList;
import java.util.List;
import org.dbflute.erflute.editor.controller.command.AbstractCommand;
import org.dbflute.erflute.editor.controller.editpart.element.node.DiagramWalkerEditPart;
import org.dbflu... |
/*
* 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... |
package com.godfunc.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Se... |
package org.kimbs.ims.repository;
import org.kimbs.ims.domain.SendProfile;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface SendProfileRepository extends JpaRepository<SendProfile, Long> {
} |
package com.app.edit.response.coverletter;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@AllArgsConstructor
@Getter
@Setter
public class GetMainCoverLettersRes {
List<GetCoverLettersRes> todayCoverLetters;
List<GetCoverLettersRes> waitingForCommentCove... |
package com.scheible.es2020parser;
import java.io.IOException;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
/**
*
* @author sj
*/
public class ClassFieldsTest extends AbstractJavaScriptParserTest {
stati... |
package com.cyecize.summer.areas.validation.constraints;
import com.cyecize.summer.areas.validation.annotations.Constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTI... |
/*
Copyright 2020. Huawei Technologies Co., Ltd. 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
https://www.apache.org/licenses/LICENSE-2.0
Unless ... |
/*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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 r... |
/*
* Copyright 2012-2022 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 org.jbehave.core.embedder;
import java.io.File;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import org.jbehave.core.failures.BatchFailures;
import org.jbehave.core.model.Meta;
import org.jbehave.core.model.Story;
import org.jbehave.core.model.StoryDuration;... |
/*
* 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.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 通用对外基础数据服务
*
* @author auto create
* @since 1.0, 2021-08-12 11:14:11
*/
public class AnttechBlockchainDefinDataserviceOcrSubmitModel extends AlipayObject {
private static final long serialV... |
/*
* 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 uk.gov.hmcts.reform.iacasenotificationsapi.domain.personalisation.legalrepresentative;
import static java.util.Objects.requireNonNull;
import com.google.common.collect.ImmutableMap;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Map;
import javax.validation.constraints... |
package act.cli.tree;
/*-
* #%L
* ACT Framework
* %%
* Copyright (C) 2014 - 2017 ActFramework
* %%
* 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/lic... |
/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Li... |
package ui;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
import kernel.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.event.*;
/**
* testCase1 = "covering feathers AND swims t AND wings swimming AND feet webbed AND flies f";
* testCase2 = "covering hair AND eats cud A... |
package com.zendesk.maxwell.row;
import com.google.common.collect.Lists;
import com.zendesk.maxwell.MaxwellTestJSON;
import com.zendesk.maxwell.errors.ProtectedAttributeNameException;
import com.zendesk.maxwell.producer.MaxwellOutputConfig;
import com.zendesk.maxwell.replication.BinlogPosition;
import com.zendesk.maxw... |
package io.nosqlbench.virtdata.library.basics.shared.from_long.to_double;
import io.nosqlbench.virtdata.api.annotations.Categories;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.annotations.Example;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import java... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
import android.annotation.TargetApi;
import android.content.res.Resources;
import android.o... |
package codigo;
public interface ConstructorComputadoras {
void agregarCPU();
void agregarGPU();
void agregarRAM();
void agregarPSU();
} |
package uz.paycom.payment;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.... |
/*
* Copyright 2018 Expedia, 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... |
package de.uni_hildesheim.sse.jmx.services.dynamic;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import javax.management.Attribute;
import javax.management.AttributeList;
import javax.management.AttributeNotFoundException;
import javax.management.DynamicMBean;
import javax.management... |
package org.codehaus.jackson.map.ser;
import org.codehaus.jackson.map.BaseMapTest;
import java.io.IOException;
import java.util.*;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.annotate.*;
import org.codehaus.jackson.map.*;
import org.codehaus.jackson.map.annotate.JsonSerialize;
/**
* This... |
/**
*
*/
package com.github.maumay.jenjinn.utils;
import java.util.List;
import java.util.Map;
import com.github.maumay.jenjinn.base.Square;
import com.github.maumay.jenjinn.bitboards.BitboardIterator;
import com.github.maumay.jflow.iterators.Iter;
import com.github.maumay.jflow.vec.Vec;
/**
* @author ThomasB
*/... |
package springboot.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import springboot.entity.Service;
import java.util.Optional;
public interface ServiceRepo extends JpaRepository<Service, Integer> {
Optional<Service> findById(Integer id);
} |
/*
* Copyright © 2022 SNOMED International
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package com.mango.log.properties;
import com.zaxxer.hikari.HikariConfig;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* 日志数据源配置
* logType=db时生效(非必须),如果不配置则使用当前数据源
*/
@Setter
@Getter
@ConfigurationProperties(prefix = "mango.audit-com.man... |
package com.codepath.codepathtodoapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
... |
package com.hoxfon.react.RNTwilioVoice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.media.AudioManager;
import android.util.Log;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge... |
/*
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
* Eclipse Public License version 1.0
* GNU General Public License version 2
* GNU Lesser General Public... |
/*
* Copyright (c) 2021 fanmu All Rights Reserved.
*
* 创建人:mumu
* 联系方式:fanmu_projects@163.com
* 开源地址: https://github.com/fanmu-projects
*/
package com.fanmu.muwu.common.config.properties;
import lombok.Data;
/**
* The class Async task properties.
*
*/
@Data
public class SwaggerProperties {
private String ... |
/*
* Copyright 2002-2019 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... |
/* 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 kafka.examples;
import java.util.Map;
import org.apache.kafka.clients.producer.ProducerInterceptor;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.clients.producer.RecordMetadata;
/**
* Created by Anur IjuoKaruKas on 2018/6/15
*/
public class ProducerInterCeptorDemo implemen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.