text stringlengths 7 995k |
|---|
package com.rhc.jdg.util;
import java.util.Map;
public class MapUtil {
public static String contents(Map<String,String> map) {
StringBuilder toReturn = new StringBuilder();
for (String key : map.keySet()) {
toReturn.append(key + ":" + map.get(key));
toReturn.append(",");
}
if (toReturn.length() == 0) {... |
package com.one.more.fragment.impl;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.one.more.R;
import com.one.util.frag... |
package mage.cards.w;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.DeathtouchAbility;
import mage.abilities.keyword.LifelinkAbility;
import mage.cards.CardImpl;
import m... |
/**
* JLibs: Common Utilities for Java
* Copyright (C) 2009 Santhosh Kumar T <santhosh.tekuri@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of ... |
package com.guokr.simbase.command;
import com.guokr.simbase.SimCallback;
import com.guokr.simbase.SimCommand;
import com.guokr.simbase.SimEngine;
public class VList extends SimCommand {
@Override
public String signature() {
return "s";
}
@Override
public void invoke(SimEngine engine, Str... |
package com.yankaizhang.spring.beans.factory.config;
import com.yankaizhang.spring.beans.factory.BeanFactory;
/**
* bean定义的处理器<br/>
* IoC 容器允许 BeanFactoryPostProcessor 在容器实例化任何 bean 之前读取 bean 的定义,并可以修改它
* @author dzzhyk
* @since 2020-12-02 14:41:05
*/
public interface BeanFactoryPostProcessor {
/**
* ... |
package com.ruoyi.system.service;
import java.util.List;
import com.ruoyi.common.core.domain.Ztree;
import com.ruoyi.system.domain.SysDept;
import com.ruoyi.system.domain.SysRole;
/**
* 部门管理 服务层
*
* @author ruoyi
*/
public interface ISysDeptService
{
/**
* 查询部门管理数据
*
* @param dept 部门信息
*... |
/*
* Copyright © 2014 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.example.somentespring;
import org.springframework.stereotype.Component;
@Component
public class MeuComponente {
private Pessoa pessoa;
public MeuComponente() {
pessoa = new Pessoa("Joao", 23);
}
public Pessoa getPessoa() {
return pessoa;
}
} |
package org.colorcoding.ibas.importexport.data;
import org.colorcoding.ibas.bobas.mapping.Value;
/**
* 文本段落
*
* @author Niuren.Zhu
*
*/
public enum emTextSegment {
/**
* 字段落
*/
@Value("WD")
WORD,
/**
* 单元格
*/
@Value("CL")
CELL,
} |
/**
* 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.containerservice.v2017_09_30.implementation;
imp... |
/*
* Copyright 2012-2021 Erwin Müller <erwin.mueller@anrisoftware.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 r... |
//start line index in expected file is 2
package com.puppycrawl.tools.checkstyle.grammar;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.ArrayList;
import java.util.Collections;
import jav... |
package com.example.traveller.Login;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.TextView;
import androi... |
/*
* Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.espirit.moddev.moduleinstaller;
import com.espirit.moddev.moduleinstaller.webapp.WebAppIdentifierParser;
import com.espirit.moddev.shared.StringUtils;
import de.espirit.common.VisibleForTesting;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.util.*;
import stat... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Nov 06 13:17:09 GMT 2020
*/
package org.dom4j.io;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import ... |
package com.toobei.tb.entity;
import com.toobei.common.entity.BaseEntity;
public class ProductProfitModel extends BaseEntity {
/** serialVersionUID*/
private static final long serialVersionUID = 4320889048811653573L;
private String profit;
private String investAmount;
private String productId;
public String ge... |
package com.vip.saturn.job.internal.execution;
import java.util.Date;
/**
*
* @author xiaopeng.he
*
*/
public class NextFireTimePausePeriodEffected {
private Date nextFireTime;
public Date getNextFireTime() {
return nextFireTime;
}
public void setNextFireTime(Date nextFireTime) {
this.nextFireTime = n... |
package com.doctor.finder.model;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Profile {
@SerializedName("first_name")
private String first_name;
@SerializedName("middle_name")
private String middle_name;
@SerializedName("last_name")
private String... |
/*
* Copyright 2017-2021 Sanofi and 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
*
* ... |
/*
* 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 not ... |
/*
* Divroll, Platform for Hosting Static Sites
* Copyright 2018, Divroll, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not... |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.fudgemsg;
import org.fudgemsg.FudgeMsg;
import org.fudgemsg.MutableFudgeMsg;
import org.fudgemsg.mapping.FudgeBuilder;
import org.fudgemsg.mapping.Fu... |
package br.com.fgr.magias.dao;
public interface DaoService {
boolean create(Gravavel gravavel);
Gravavel read();
void update();
void delete();
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 2019 Practice Insight Pty Ltd. All Rights Reserved.
*/
package io.wisetime.connector.utils;
import ch.qos.logback.core.PropertyDefinerBase;
import io.wisetime.connector.config.RuntimeConfig;
/**
* Logback property definer.
*
* @author vadym
*/
public class RuntimeConfigPropertyDefiner extend... |
package com.chan.englishbaby.utils;
/**
* Created by chan on 16/6/22.
*/
public class ConstUtil {
public static final short ITEM_NONE = 0x01;
public static final short ITEM_LEVEL_0 = 0x02;
public static final short ITEM_LEVEL_1 = 0x04;
public static final short ITEM_LEVEL_2 = 0x08;
public static ... |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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 a... |
// "final" "false"
sealed interface Parent permits C<caret>hild {}
interface Child {} |
package com.maximuspayne.navycraft.commands.shipyard;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.BlockFace;
import org.bukkit.block.Sign;
import org.bukkit.entity.Player;
import com.maximuspayne.navycraft.NavyCraft;
import com.maximuspayne.navycraft.Utils... |
/*
* Tencent is pleased to support the open source community by making Tinker available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in
* compliance with the License. You may obtain 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 ... |
/*******************************************************************************
* 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.
*
*... |
package com.example.programador.Controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.Ge... |
package jsat.classifiers.calibration;
import jsat.classifiers.Classifier;
import jsat.classifiers.DataPoint;
/**
* Many algorithms linear a binary separation between two classes <i>A</i> and
* <i>B</i> by representing the target labels with a {@code -1} ad {@code 1}. At
* prediction, the output is a real valued n... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
/*
* Copyright (C) 2011 Thomas Akehurst
*
* 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 ws.cache3;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for putResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* ... |
/*
* 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 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 ... |
/* Copyright (C) 2013 TU Dortmund
* This file is part of AutomataLib, http://www.automatalib.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/licen... |
/*
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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... |
package com.sectong.domain.mongomodle;
import java.io.Serializable;
import java.util.List;
import java.util.stream.Collectors;
/**
* Created by xueyong on 16/7/14.
* mobileeasy.
*/
public class RoomConvter implements Serializable {
private String name;
private String currentModel;
private List<EquipMe... |
package generated.zcsclient.admin;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for exportMailboxRequest complex type.
*
* <p>The following schema fragme... |
package org.firstinspires.ftc.team11288;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Servo;
import co... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... |
/*
* 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 ... |
import java.util.Arrays;
// 测试用例来自「力扣」第 239 题:滑动窗口的最大值
// https://leetcode-cn.com/problems/sliding-window-maximum/
public class SolutionLeetCode0239_2 {
/**
* 使用了反向查找技术
*/
public class IndexMaxHeap {
private int[] data;
private int[] indexes;
private int[] reverses;
... |
package com.hampcode.model.repository.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.TypedQuery;
import com.hampco... |
/*
* Copyright 2020-Present The Serverless Workflow Specification Authors
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
... |
package {{packageName}};
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.security.access.expression.SecurityExpressionOperations;
import org.springframework.security.authentication.AuthenticationTrustResolver;
import org.sp... |
/*-
* ---license-start
* Corona-Warn-App / cwa-verification
* ---
* Copyright (C) 2020 - 2022 T-Systems International GmbH and all other 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... |
package hello;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) throws Exception {
SpringApplication.run(Application.class, args);
}
} |
package org.basex.io.random;
import java.io.*;
import org.basex.data.*;
import org.basex.io.*;
/**
* This abstract class defines the methods for accessing the
* database table representation.
*
* @author BaseX Team 2005-13, BSD License
* @author Christian Gruen
*/
public abstract class TableAccess {
/** Meta... |
package e.domain;
public class CarBody {
private int id;
private String descript;
public CarBody() {
}
public CarBody(int id) {
this.id = id;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getDescrip... |
package module14packageJava0;
import java.lang.Integer;
public class Foo58 {
Integer int0;
public void foo0() {
new module14packageJava0.Foo57().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
foo3... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE113_HTTP_Response_Splitting__PropertiesFile_setHeaderServlet_45.java
Label Definition File: CWE113_HTTP_Response_Splitting.label.xml
Template File: sources-sinks-45.tmpl.java
*/
/*
* @description
* CWE: 113 HTTP Response Splitting
* BadSource: PropertiesFile Read data... |
package com.glebow;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringCloudTaskApplicationTests {
@Test
public void context... |
package services;
import utils.Dir;
public interface EntityService extends MobService, Cloneable{
/* Observators */
public int getHP();
/* Constructors */
/**
* @pre hp > 0
* @post Hp(init(E,x,y,D,hp)) = hp
*/
public void init(EnvironmentService env, int x, int y, Dir d, int hp);
/* Operators */
... |
package it.angelic.soulissclient;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import java.util.List;
import it.angelic.soulissclient.drawer.DrawerMenuHelper;
import it.angelic.soulisscl... |
package com.oakinvest.cerise.util.generic;
/**
* Cerise error codes.
* For every field : required, invalid, too_large, too_small, expired, unverified, unsupported.
*
* @author straumat
*/
@SuppressWarnings("unused")
public enum CeriseErrorCode {
/**
* mode not set.
*/
mode_required,
/**
... |
/*-
* ==========================LICENSE_START=================================
* PolyGenesis Platform
* ========================================================================
* Copyright (C) 2015 - 2019 Christos Tsakostas, OREGOR LTD
* ========================================================================
* L... |
/**
* Copyright 2018 Confluent Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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")... |
package com.longluo.offer;
import java.util.Arrays;
/**
* 剑指 Offer 61. 扑克牌中的顺子
* <p>
* 从扑克牌中随机抽5张牌,判断是不是一个顺子,即这5张牌是不是连续的。2~10为数字本身,A为1,J为11,Q为12,K为13,
* 而大、小王为0,可以看成任意数字。A不能视为14。
* <p>
* 示例 1:
* 输入: [1,2,3,4,5]
* 输出: True
* <p>
* 示例 2:
* 输入: [0,0,1,2,5]
* 输出: True
* <p>
* 限制:
* 数组长度为5
* 数组的数取值为[0, 13]... |
package org.loomdev.api.entity.passive;
public interface Mule extends AbstractDonkey {
} |
package sam.myutils;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UncheckedIOException;
import java.util.ArrayList;
import java.util.concurrent.Callable;
import java.util.function.Consumer;
import sam.string.StringWriter2;
public interface MyUtilsException {
static final Consumer<Throwable... |
package com.oreilly;
import org.junit.jupiter.api.*;
import java.lang.reflect.Method;
import java.util.Optional;
@TestInstance(TestInstance.Lifecycle.PER_METHOD)
public class LifeCycleTest {
public LifeCycleTest() {
System.out.println("Constructor");
}
@BeforeAll
static void init() {
... |
/*
* Copyright 2018 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, softw... |
/*
* 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 mekanism.common;
import java.util.Map;
import mekanism.common.BlockMachine.MachineType;
import mekanism.common.RecipeHandler.Recipe;
public class TileEntityEnrichmentChamber extends TileEntityElectricMachine
{
public TileEntityEnrichmentChamber()
{
super("Chamber.ogg", "Enrichment Chamber", "/mods/mekani... |
package cool.scx;
/**
* Scx 核心 handler , 有返回值 , 不允许抛出异常 .
*
* @param <A> 参数类型
* @param <R> 返回值类型
* @author scx567888
* @version 1.7.3
*/
public interface ScxHandlerR<A, R> {
/**
* handle
*
* @param a 参数
* @return 异常
*/
R handle(A a);
} |
package org.knowm.xchange.liqui;
import javax.ws.rs.FormParam;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.knowm.xchange.liqui.Liqui.Pairs;
import org.knowm.xchange.liqui.dto.account.result.LiquiAccountInf... |
/*
* 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 ... |
/*
* 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.mafour.api.service.seo;
public interface SeoService {
void push(String bookName, String slugName);
void push(String bookId);
} |
package au.gov.amsa.ais;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import java.security.KeyManagementException;
import java.security.No... |
package org.jmqtt.web.helper;
/**
* 消息来源
* MsgFromType.java.
*
* @author zj
* @version 1.0.1 2020年2月14日
* @revision zj 2020年2月14日
* @since 1.0.1
*/
public enum MsgFromType {
WEB, //web直接下发的
CLUSTER //内部集群转发的
} |
package com.bugsnag.android.mazerunner.scenarios;
import android.content.Context;
import androidx.annotation.NonNull;
import com.bugsnag.android.Configuration;
public class CXXSignalOnErrorFalseScenario extends Scenario {
static {
System.loadLibrary("bugsnag-ndk");
System.loadLibrary("monochrom... |
/*
* Copyright 2014 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 ... |
/**
*
* Copyright 2017 Florian Erhard
*
* 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.github.cc3002.finalreality.gui;
import com.github.cc3002.finalreality.Controller.GameController;
import com.github.cc3002.finalreality.Controller.phases.FirstCharacterPhase;
import com.github.cc3002.finalreality.Controller.phases.InvalidActionException;
import com.github.cc3002.finalreality.gui.nodes.Movab... |
package at.jku.sea.cloud.navigator.implementation;
import at.jku.sea.cloud.Artifact;
import at.jku.sea.cloud.navigator.TerminalOperation;
import at.jku.sea.cloud.stream.Context;
class TerminalNavigator<T> implements TerminalOperation<T> {
private TerminalOperation<? extends Artifact> upstream;
private String p... |
package com.allever.lose.weight.ui.dialog;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.RadioButton;
import com.allever.lose.weight.R;
import com.allever.lose.weight.base.BaseDialog;
/**
* Created by Mac on 18/3/13.
*/
public class WeightUnitDial... |
package com.denizenscript.denizen.paper.events;
import com.denizenscript.denizen.events.BukkitScriptEvent;
import com.denizenscript.denizen.objects.EntityTag;
import com.denizenscript.denizen.objects.LocationTag;
import com.denizenscript.denizen.utilities.implementation.BukkitScriptEntryData;
import com.denizenscript.... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
/*
* Copyright 2013 LinkedIn Corp
*
* 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.jbooktrader.platform.strategy;
import com.jbooktrader.platform.marketbook.*;
import com.jbooktrader.platform.model.*;
import com.jbooktrader.platform.model.ModelListener.*;
import com.jbooktrader.platform.util.ntp.*;
import java.util.*;
/**
* @author Eugene Kononov
*/
public class StrategyRunner {
... |
package org.jvnet.jaxb2_commons.xml.bind.model;
import javax.xml.namespace.QName;
import org.jvnet.jaxb2_commons.xml.bind.model.origin.MElementInfoOrigin;
public interface MElementInfo<T, C extends T> extends
MElementTypeInfo<T, C, MElementInfoOrigin>, MPackaged, MContained,
MContainer {
public QName getElemen... |
package com.markyang.framework.gateway.config;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
* feign调用配置
* @author yangchangliang
*/
@Configuration
@EnableFeignClients(base... |
package com.elusivehawk.util.math;
/**
*
* Compatibility class for porting over math libraries.
* <p>
* NOTICE: Always deprecated; Refactor your code to use more flexible {@link VectorF}s!
*
* @author Elusivehawk
*/
@Deprecated
public class Vector4f extends Vector3f
{
public float w = 0f;
public Vector4f(... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import edu.wpi.cscore.UsbCamera;
import edu.wpi.first.cameraserver.CameraServer;
import edu.wpi.firs... |
package com.abewy.android.apps.klyph.messenger.adapter.holder;
import android.widget.ImageButton;
import android.widget.TextView;
public class TextButtonItemHolder
{
private TextView text;
private ImageButton button;
public TextButtonItemHolder(TextView text, ImageButton button)
{
this.text = text;
this.bu... |
package io.keyko.monitoring.agent.server.eventeumserver.integrationtest;
import io.keyko.monitoring.agent.core.dto.event.ContractEventDetails;
import io.keyko.monitoring.agent.core.dto.event.ContractEventStatus;
import io.keyko.monitoring.agent.core.dto.event.filter.ContractEventFilter;
import io.keyko.monitoring.agen... |
/*
* Copyright 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.design;
import static net.sourceforge.pmd.properties.PropertyFactory.booleanProperty;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.