text stringlengths 7 995k |
|---|
package VerificatorInterpritator.Tokens;
import java.util.ArrayList;
import java.util.List;
public class Function {
private String name;
private SimpleType argument;
private List<SimpleType> result = new ArrayList<>();
public String getName() {
return name;
}
public void setName(Stri... |
package com.t2tierp.folhapagamento.java;
import com.t2tierp.cadastros.java.ColaboradorVO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import ja... |
package ly.com.project.sample0503;
import android.opengl.GLES20;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import ly.com.base.utils.Constant;
import ly.com.base.utils.MatrixState;
import ly.com.base.utils.ShaderUtil;
/**
* @author:ly on 2019-11-23 21:05
* @mail:liuyan@zhi... |
/*-
* #%L
* anchor-feature
* %%
* Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche
* %%
* 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 witho... |
package org.innovateuk.ifs.user.transactional;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.user.domain.RoleProfileStatus;
import org.innovateuk.ifs.user.domain.User;
import org.innovateuk.ifs.user.mapper.RoleProfileStatusMapper;
import org.innovateuk.ifs.user.mapper.UserMapper;
i... |
package com.jx.intelligent.http.dao;
import android.content.Context;
import android.support.annotation.NonNull;
import com.jx.intelligent.constant.Constant;
import com.jx.intelligent.http.callback.HttpResponseCallback;
import com.jx.intelligent.util.HTTPSUtils;
import com.jx.intelligent.util.LogUtil;
import com.jx.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 ... |
/*
* ========================================================================
*
* 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 th... |
package org.cloudfoundry.credhub.endToEnd.v2.permissions;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.ResultActions;
import org.springframework.test.web.servlet.req... |
package music.util;
import jakarta.servlet.http.Cookie;
public class CookieUtil {
public static String getCookieValue(Cookie[] cookies, String cookieName) {
String cookieValue = "";
if (cookies != null) {
for (Cookie cookie : cookies) {
if (cookieName.equals(cookie.getName())) {
cookieValue = coo... |
package com.ceiba.envio.puerto.repositorio;
import com.ceiba.envio.modelo.entidad.Envio;
public interface RepositorioEnvio {
/**
* Permite crear un envio
* @param envio
* @return el id generado
*/
Long crear(Envio envio);
/**
* Permite actualizar un envio
* @param envio
... |
package org.sw.alarm;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.PowerManager;
import android.view.Window;
import android.view.WindowManager;
import trikita.... |
/*
* Copyright ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
package resonant.api;
/** Add this to a container class if using WatchedSlot to trigger the container on slot change */
public interface ISlotWatcher
{
/** Will trigger if the watched slot has changed */
public void slotContentsChanged(int slot);
} |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
/*
* Copyright 2002-2015 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 io.reactivex.observers;
import io.reactivex.Observer;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.Disposable;
import io.reactivex.internal.disposables.DisposableHelper;
import io.reactivex.internal.util.EndConsumerHelper;
public abstract class DefaultObserver<T> implements Observe... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... |
package com.example.brom.activitiesapp;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.... |
package com.skullmangames.darksouls.common.block;
import java.util.HashMap;
import java.util.Map;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.world.item.context.BlockPlaceContext;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.block.B... |
package com.awgp.org.service.registry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Bean;
import brave.sampler.Sampler;
@S... |
package org.zhenchao.chain.main;
import org.zhenchao.chain.hetero.AbstractMethodResultHandler;
import org.zhenchao.chain.hetero.ValueAHandler;
import org.zhenchao.chain.hetero.ValueBHandler;
import org.zhenchao.chain.hetero.ValueCHandler;
import org.zhenchao.chain.model.Result;
import org.zhenchao.chain.pure.AssetsHan... |
//
// ========================================================================
// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.bootsrc.nio.selector;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
public class Client1 {
public static void main(String[] args) throws IOException {
try {
SocketChannel socketChannel = SocketChan... |
package org.infinispan.statetransfer;
import org.infinispan.Cache;
import org.infinispan.persistence.spi.CacheLoader;
import org.infinispan.test.TestingUtil;
/**
* StateTransferTestingUtil.
*
* @author Galder Zamarreño
* @since 4.0
*/
public class StateTransferTestingUtil {
public static final String A_B_NAME... |
/*
* Copyright (C) 2011 The Guava 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 applicable law or agreed ... |
/**
* Copyright (C) 2015 Valkyrie RCP
*
* 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 t... |
/*
* Copyright 2016 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/* Copyright (c) 2019 AT&T Intellectual Property. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. ... |
package com.codermy.myspringsecurityplus.car.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartResolver;
import org.springframework.web.multipart.commons.CommonsMultipartResolver;
@Configuration
p... |
package edu.mum.cs.ds.atm.model;
public class Request {
private String actionType; //withdraw, check balance,
private String machineId;
private String cardNo;
private String branchCode;
private double amount;
private String status;
private String message;
private String accountId;
private int pin = 0;
publ... |
package antlr;
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/RIGHTS.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.2/antlr/Tool.java#1 $
*/
import java.io.*;
import antlr.collections.impl.BitSet;
import antlr.collections.impl.... |
package blt.moneys.beta.procedures;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.Entity;
public class QuickestFixEffectEffectStartedappliedProcedure {
public static void execute(Entity entity) {
if (entity == null)
return;
if (entity instanceof LivingEntity _entity)
_en... |
/*
* Copyright 2018-2020 Radicalbit S.r.l.
*
* 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... |
/***************************************************************************
* Copyright 2021 Kieker Project (http://kieker-monitoring.net)
*
* 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 a... |
package umm3601.ride;
import com.mongodb.MongoException;
import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;
import org.bson.Document;
import org.bson.ty... |
package com.fengwenyi.about_me.index.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @author Erwin Feng
* @since 2020/5/21
*/
@Controller
@RequestMapping
public class IndexController {
@RequestMapping("/")
public String ind... |
package com.example.sipanji.ui.gallery;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
package com.ljq1.house.autoconfig;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Impo... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.rappsilber.gui.components;
import java.awt.AWTEvent;
import java.awt.Color;
import java.awt.Component;
import java.awt.Eve... |
package com.example.springdemo.springdemo.selenium;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import java.util.List;
... |
// Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package io.mykit.data.monitor.mysql.binlog.impl.variable.status;
import io.mykit.data.monitor.mysql.common.util.MySQLConstants;
import io.mykit.data.monitor.mysql.common.util.ToStringBuilder;
import io.mykit.data.monitor.mysql.io.XInputStream;
import java.io.IOException;
public class QMicroseconds extends AbstractSt... |
package com.cg.spring.boot.demo.controller;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
public class EmployeeControllerTests {
pr... |
/* */ package classes.lrg.insider.plugins.tools.memoria.graphgen;
/* */
/* */ import cdc.clusters.ExtendedWeightedEdge;
/* */ import cdc.clusters.Node;
/* */ import lrg.insider.plugins.tools.memoria.graphgen.GraphvizExporter;
/* */ import lrg.insider.plugins.tools.memoria.graphgen.SystemGraph;
/* ... |
package Programs;
import java.util.Scanner;
public class Pattern_8 {
public static void main(String[] args) {
Scanner obj = new Scanner(System.in);
System.out.print("Enter Number of Rows :");
int n = obj.nextInt();
int number = 1;
for(int i =1;i<=n;i++){
for(int j =1;j<=n-i;j++) {
System.out.print(" ... |
// RobotBuilder Version: 1.5BB
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the bloc... |
/*
* Copyright 2014+ Carnegie Mellon University
*
* 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... |
/**
* Copyright (C) 2019 Patrice Brend'amour <patrice@brendamour.net>
*
* 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... |
/*
* Copyright 2021 The Flink Remote Shuffle 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 applicabl... |
// Copyright 2015 Google 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 by applicable... |
package org.moparscape.elysium.def;
/**
* The definition wrapper for items
*/
public class ItemBowStringDef {
/**
* The ID of the bow created
*/
public int bowID;
/**
* The exp given by attaching this bow string
*/
public int exp;
/**
* The level required to attach this ... |
package com.sequenceiq.cloudbreak.converter.stack.cluster.host;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.api.model.stack.cluster.host.HostMetadataResponse;
import com.sequenceiq.cloudbreak.converter.AbstractConversionServiceAwareConverter;
import com.sequenceiq.cloudbreak.doma... |
package org.springframework.roo.addon.test.addon.integration;
import static org.springframework.roo.model.RooJavaType.ROO_DATA_ON_DEMAND;
import static org.springframework.roo.model.RooJavaType.ROO_INTEGRATION_TEST;
import org.apache.commons.lang3.Validate;
import org.apache.felix.scr.annotations.Component;
import or... |
package com.atguigu.gulimall.order.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.ann... |
package Game.Creatures;
import Game.Actions.Dialog;
import Game.Quests.Quest;
import Game.Stuffs.StuffSubs.Equipments.Armor;
import Game.Stuffs.StuffSubs.Equipments.Weapon;
public class NPC extends Creature {
private String name;
private Quest quest;
private Dialog dialog;
public NPC(String name, int... |
package com.example.bot.spring;
import com.example.bot.spring.DietbotController.DownloadedContent;
import com.rivescript.RiveScript;
import java.util.Set;
import java.io.File;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import java.nio.file.Paths;
imp... |
package com.google.devrel.training.conference.domain;
import java.util.ArrayList;
import java.util.List;
import com.google.appengine.repackaged.com.google.common.collect.ImmutableList;
import com.google.devrel.training.conference.form.ProfileForm.TeeShirtSize;
import com.googlecode.objectify.annotation.Cache;
import ... |
package org.innovateuk.ifs.management.competition.setup.organisationaleligibility.controller;
import org.innovateuk.ifs.BaseControllerMockMVCTest;
import org.innovateuk.ifs.competition.resource.CompetitionOrganisationConfigResource;
import org.innovateuk.ifs.competition.resource.CompetitionResource;
import org.innovat... |
package org.simpleflatmapper.reflect.meta;
import org.simpleflatmapper.util.Consumer;
import org.simpleflatmapper.util.ProducerServiceLoader;
import java.util.ArrayList;
import java.util.ServiceLoader;
public final class AliasProviderService {
private AliasProviderService() { }
private static final AliasProvide... |
package com.auth.rest.api.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;
/**
*
*
* Interface that extends the {@link JpaRepository} and {@link JpaSpecificationE... |
package com.klinker.android.twitter_l.activities;
/*
* Copyright 2014 Luke Klinker
*
* 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
... |
/*
* Copyright (c) 2019 Baidu.com, 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 by applica... |
/*
* MIT License
* <p>
* Copyright (c) 2017 David Krebs
* <p>
* 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, co... |
package org.ovirt.engine.core.bll;
import javax.inject.Inject;
import org.ovirt.engine.core.common.businessentities.network.NetworkFilter;
import org.ovirt.engine.core.common.queries.IdQueryParameters;
import org.ovirt.engine.core.dao.network.NetworkFilterDao;
public class GetNetworkFilterByIdQuery extends QueriesCo... |
/*
* System Interface Library for games
* Copyright (c) 2007-2020 Andrew Church <achurch@achurch.org>
* Released under the GNU GPL version 3 or later; NO WARRANTY is provided.
* See the file COPYING.txt for details.
*
* src/sysdep/android/SysFont.java: Routines for drawing text using the
* Android system font.
... |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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... |
package org.wikipedia.settings.languages;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.A... |
/*
* 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 org.adligo.xml_io_tests.shared;
import org.adligo.models.params.shared.I_XMLBuilder;
import org.adligo.xml_io.shared.Xml_IOConstants;
public class MockConstants {
public static final String HEADER = Xml_IOConstants.HEADER + I_XMLBuilder.DOS_LINE_FEED + "<a:";
public static final String HEADER_2_NOEND = " ... |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from .idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
package rapid.ext.astrobee;
/** Grab control o... |
/*
* Copyright 2014 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 com.interview.linklist;
/**
* Date 03/24/2016
* @author Tushar Roy
*
* A linked list is given such that each node contains an additional random pointer which could point
* to any node in the list or null. Return a deep copy of the list.
*
* Time complexity is O(n)
* Space complexity is O(1)
*
* https... |
package com.ebay.dss.zds.rest.error.handler;
import com.ebay.dss.zds.exception.InterpreterExecutionException;
import com.ebay.dss.zds.exception.InterpreterServiceException;
import com.ebay.dss.zds.rest.error.match.ExceptionRuleService;
import com.ebay.dss.zds.rest.ExceptionRuleController;
import com.ebay.dss.zds.rest.... |
package org.yeastrc.spectral_storage.accept_import_web_app.servlets_upload_scan_file;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputSt... |
package com.google.android.gms.common.api.internal;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.android.gms.common.api.PendingResult;
import com.google.android.gms.common.api.PendingResult.zza;
import com.google.android.gms.common.api.Result;
import com.goog... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE90_LDAP_Injection__connect_tcp_52a.java
Label Definition File: CWE90_LDAP_Injection.label.xml
Template File: sources-sink-52a.tmpl.java
*/
/*
* @description
* CWE: 90 LDAP Injection
* BadSource: connect_tcp Read data using an outbound tcp connection
* GoodSource: A h... |
package com.boomi.flow.services.boomi.mdh.common;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.*;
@XmlRootElement(name = "batch")
public cla... |
/**
*
*/
package com.thinkgem.jeesite.test.dao;
import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.test.entity.TestData;
/**
* 单表生成DAO接口
* @author libn
* @version 2015-04-06
*/
@MyBatisDao
public interface Te... |
package fr.volax.tutoriel;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class TutorielCommand implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command cmd, Str... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
/**
* Copyright 2017-2018 The OpenTracing 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 applicable law or... |
package io.opensphere.core.cache.jdbc;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import io.opensphere.core.util.collections.CollectionUtilities;
import io.opensph... |
package org.embl.mobie.viewer.serialize;
import com.google.gson.*;
import org.embl.mobie.viewer.transform.AffineViewerTransform;
import org.embl.mobie.viewer.transform.NormalizedAffineViewerTransform;
import org.embl.mobie.viewer.transform.PositionViewerTransform;
import org.embl.mobie.viewer.transform.TimepointViewer... |
package com.jetbrains.jsonSchema.impl;
import com.intellij.codeInsight.completion.CompletionTestCase;
import com.intellij.codeInsight.daemon.impl.HighlightInfo;
import com.intellij.json.JsonLanguage;
import com.intellij.lang.LanguageAnnotators;
import com.intellij.lang.annotation.Annotator;
import com.intellij.lang.an... |
package com.hz;
import com.hz.players.BotPlayer;
import com.hz.players.DummyPlayer;
import com.hz.players.TicTacToe;
public class Main {
public static void main(String[] args) {
GameEngine engine = new GameEngine();
// player 1
TicTacToe playerOne = new DummyPlayer();
playerOne.... |
/*
* ICARUS2 Corpus Modeling Framework
* Copyright (C) 2014-2021 Markus Gärtner <markus.gaertner@ims.uni-stuttgart.de>
*
* 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... |
/*
* Origin of the benchmark:
* license: 4-clause BSD (see /java/jbmc-regression/LICENSE)
* repo: https://github.com/diffblue/cbmc.git
* branch: develop
* directory: regression/cbmc-java/ClassCastException3
* The benchmark was taken from the repo: 24 January 2018
*/
class A {}
class B {}
public... |
package com.czy.ext;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor;
import org.springframework.stereotype.Component;
/* InstantiationAwareBeanPostProcessor后置处理器是spring的一个扩展点,可以控制bean的属性注入 */
@Component
public class MyInstantiationA... |
package com.zkejid.constructor.managedimplementations.api.v1;
/**
* Attribution of implementation. Developer of the {@link ImplementationProducer} defines
* set of available and required attributions for given producer. User provides
* the set of attributions he desires to get on implementation of requested interfa... |
/*
* Copyright (c) 2016-2017, Adam <Adam@sigterm.info>
* 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
* ... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.kafka.bridge.http.base;
import io.strimzi.test.container.StrimziKafkaContainer;
import io.micrometer.core.instrument.MeterRegistry;
import io.strimzi.kafka.brid... |
package com.cgfay.filterlibrary.glfilter.base;
import android.content.Context;
import android.graphics.Bitmap;
import android.opengl.GLES30;
import com.cgfay.filterlibrary.glfilter.utils.OpenGLUtils;
/**
* 应用查找表(3D LUT)滤镜(512 x 512)
* Created by cain.huang on 2018/3/8.
*/
public class GLImage512LookupTableFilter... |
package com.computician.janusclientapi;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by ben.trent on 6/25/2015.
*/
public class JanusCreateSessionTransaction implements ITransactionCallbacks {
private final IJanusSessionCreationCallbacks callbacks;
public JanusCreateSessionTran... |
package com.huaweicloud.sdk.ecs.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.HashMap;
import java.util.Map;
import java.uti... |
package org.aanguita.jtcpserver.clientserver.server;
import java.io.Serializable;
import java.net.Socket;
/**
* Light server interface, for implementing a connection-less server that answers generic client requests
*/
public interface LightServerActionObject {
/**
* A client makes a new request
*
... |
/**
*
*/
package com.manan.busservice.service.operations;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.manan.busservice.dto.mapper.operations.BookingMapper;
import com.manan.busservice.d... |
/**
* Copyright 2017 SmartBear Software
*
* <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 applicable law or ... |
package com.typesafe.conductr.bundlelib.java;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.Executor;
import java.util.concurrent.CompletionStage;
import java.util.Optional;
import java.util.concurrent.ForkJoinPool;
import com.typesafe.conductr.lib.java.ConnectionHandler;
import com.ty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.