text stringlengths 7 1.01M |
|---|
package io.onedev.server.web.opengraph;
public enum OpenGraphHeaderMetaType {
Image,
Title,
Description,
Url;
@Override
public String toString() {
switch(this) {
case Image: return "og:image";
case Title: return "og:title";
case Description: return "og:description";
case Url: return "og:url";
... |
package com.java2nb.novel.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.java2nb.novel.entity.News;
import lombok.Data;
import java.util.Date;
/**
* @author Administrator
*/
@Data
public class NewsVO extends News {
@JsonFormat(timezone = "GMT+7", pattern = "dd-MM-yyyy")
private Date cr... |
public class TileEntityMobSpawnerRenderer {
// Failed to decompile, took too long to decompile: net/minecraft/client/renderer/tileentity/TileEntityMobSpawnerRenderer
} |
package com.zhou.blog.service;
import com.zhou.blog.vo.Result;
import com.zhou.blog.vo.TagVo;
import java.util.List;
public interface TagService {
List<TagVo> findTagsByArticleId(Long articleId);
Result hots(int limit);
/*
* 查询所有文章标签
* */
Result findAll();
Result findDetailById(Long i... |
package com.jl.crm.client;
import org.springframework.social.connect.*;
import org.springframework.web.client.HttpStatusCodeException;
/** @author Josh Long */
public class CrmApiAdapter implements ApiAdapter<CrmOperations> {
@Override
public boolean test(CrmOperations customerServiceOperations) {
boolean everyt... |
package com.wangqing.chilemeserver.repository;
import com.wangqing.chilemeserver.object.dbo.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repos... |
package com.actuator;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ActuatorApplicationTests {
@Test
void contextLoads() {
}
}
|
package it.univaq.mwt.business;
import java.util.List;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
import it.univaq.mwt.business.model.*;
public interface AlbumService {
Album getAllCanzoniByAlbumId(int albumId);
List<Album> getAllAlbumsByGroupId(int groupId);
void deleteAlbum(in... |
package com.main.daycare_administrative_system;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
impo... |
package cz.metacentrum.perun.webgui.json.registrarManager;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONNumber;
import com.google.gwt.json.client.JSONObject;
import cz.metacentrum.perun.webgui.client.PerunWebSession;
import cz.me... |
package com.elastisys.autoscaler.core.monitoring.systemhistorian.api.types;
import com.elastisys.autoscaler.core.api.types.MetricValue;
import com.elastisys.autoscaler.core.autoscaler.AutoScaler;
import com.elastisys.autoscaler.core.monitoring.systemhistorian.api.SystemHistorian;
import com.elastisys.autoscaler.core.p... |
package ufc.rest.response;
public class UserAuthenticationResponse extends ResponseMessage {
private String token;
protected UserAuthenticationResponse() {
}
public UserAuthenticationResponse(String token) {
this.token = token;
}
public String getToken() {
retu... |
package org.jgroups.demos;
import org.jgroups.JChannel;
import org.jgroups.Receiver;
import org.jgroups.View;
import org.jgroups.util.Util;
/**
* Demos the reception of views using a PullPushAdapter. Just start a number of members, and kill them
* randomly. The view should always be correct.
*/
public class Vie... |
package org.docksidestage.hangar.dbflute.exentity.customize;
import org.docksidestage.hangar.dbflute.bsentity.customize.BsForcedType;
/**
* The entity of ForcedType.
* <p>
* You can implement your original methods here.
* This class remains when re-generating.
* </p>
* @author DBFlute(AutoGenerator)
*/
public ... |
package it.blackhat.symposium.actions.tag;
import it.blackhat.symposium.actions.Action;
import it.blackhat.symposium.managers.TagManager;
import it.blackhat.symposium.managers.TagModelManager;
import it.blackhat.symposium.models.Tag;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
... |
/*
* $Header$
* $Revision$
* $Date$
*
* ====================================================================
*
* Copyright 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
/*
* Copyright 2015-present Open Networking Foundation
*
* 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 appli... |
package com.captstudios.games.tafl.core.es.model.rules;
import com.badlogic.gdx.utils.Array;
import com.captstudios.games.tafl.core.enums.DrawReasonEnum;
import com.captstudios.games.tafl.core.es.model.TaflMatchObserver;
import com.captstudios.games.tafl.core.es.model.ai.optimization.BitBoard;
import com.captstudios.g... |
package com.knits.kncare.controller;
import com.fasterxml.jackson.annotation.JsonView;
import com.knits.kncare.dto.EmailDto;
import com.knits.kncare.dto.MemberDto;
import com.knits.kncare.dto.Views;
import com.knits.kncare.dto.search.MemberSearchDto;
import com.knits.kncare.model.Member;
import com.knits.kncare.reposi... |
package cn.hutool.json;
import java.io.Serializable;
/**
* JSON配置项
*
* @author looly
* @since 4.1.19
*/
public class JSONConfig implements Serializable {
private static final long serialVersionUID = 119730355204738278L;
/**
* 是否有序,顺序按照加入顺序排序
*/
private boolean order;
/**
* 是否忽略转换过程中的异常
*/
private b... |
package frontend.slogo.team04;
import javafx.beans.property.BooleanProperty;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.ContentDisplay;
/**
* Created data structure to create a Toggle (works closely with Boolean Property)
* @author Ryan St Pierre
*/
public class Toggl... |
package org.batfish.common.plugin;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.SortedMap;
import org.batfish.common.traceroute.TraceDag;
import org.batfish.... |
package com.central.gateway.filter.pre;
import com.central.common.utils.AddrUtil;
import com.central.log.monitor.PointUtil;
import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext;
import eu.bitwalker.useragentutils.UserAgent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.clou... |
package com.xian.mall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xian.common.utils.PageUtils;
import com.xian.mall.product.entity.SkuInfoEntity;
import java.util.Map;
/**
* sku信息
*
* @author lishouxian
* @email li.shouxian@outlook.com
* @date 2020-09-15 19:22:23
*/
... |
//,temp,JournalCorruptionExceptionTest.java,144,171,temp,MKahaDBTxRecoveryTest.java,468,500
//,3
public class xxx {
private void corruptTxStore(String pathToDataDir, boolean truncate) throws Exception {
LOG.info("Path to broker datadir: " + pathToDataDir);
RandomAccessFile randomAccessFile = new Ra... |
package net.sf.l2j.gameserver.model.group;
import java.util.List;
import net.sf.l2j.commons.random.Rnd;
import net.sf.l2j.gameserver.model.WorldObject;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.network.SystemMessageId;
import net.sf.l2j.gameserver.network.serverpackets.Cr... |
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (4.2.0-SNAPSHOT).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.api;
import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet;
import org.springfr... |
package org.yuno.apps.dragdropmanager.app;
import org.yuno.apps.dragdropmanager.DragDropManager;
import android.os.Bundle;
public class Activity extends android.app.Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
DragDropManager.createInstance(this);
super.onCreate(savedInstanceState... |
package org.isisaddons.module.publishmq.dom.contracttests.with;
import com.google.common.collect.ImmutableMap;
import org.incode.module.base.dom.with.ComparableByNameContractTestAbstract_compareTo;
import org.incode.module.base.dom.with.WithNameComparable;
/**
* Automatically tests all domain objects implementing
... |
package com.ctrip.framework.cs;
import com.ctrip.framework.cs.util.DesUtil;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Created by jiang.j on 2016/5/3.
*/
public class DesUtilTest {
@Test
public void testEncrypt(){
String key="somekey09!@%%$";
String data = "he... |
/**
* 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) 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... |
package com.zou.gulimall.coupon.dao;
import com.zou.gulimall.coupon.entity.CouponHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 优惠券领取历史记录
*
* @author zou
* @email zouhuan@qq.com
* @date 2021-01-04 20:53:47
*/
@Mapper
public interface Co... |
package org.vitrivr.cineast.core.db.dao;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.cineast.core.data.entities.MediaSegmentMetadataDescriptor;
import org.vitrivr.cineast.core.data.providers.primitive.PrimitiveTypeProvider;
import org.vitrivr.cineast.core.data... |
/* GENERATED SOURCE. DO NOT MODIFY. */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html#License
/**
*******************************************************************************
* Copyright (C) 1996-2016, International Business Machines Corporation and
* ... |
/*
* 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 Entidades;
/**
*
* @author PC
*/
public class Banco {
String nombreBanco;
public Banco(String nombreBanco) {
... |
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Test {
@org.junit.Test
public void run1(){
ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
}
}
|
package org.condast.wph.core.def;
import java.util.Date;
public interface IEventLocation extends ILocation{
public enum EventTypes{
ACTUAL_TIME_OF_DEPARTURE,
ESTIMATED_TIME_OF_ARRIVAL;
@Override
public String toString() {
String str = super.toString();
switch( this ){
case ACTUAL_TIM... |
package io.deephaven.kafka.publish;
import io.deephaven.chunk.attributes.Values;
import io.deephaven.engine.table.Table;
import io.deephaven.engine.table.ColumnSource;
import io.deephaven.chunk.Chunk;
import io.deephaven.engine.table.ChunkSource;
import io.deephaven.chunk.ObjectChunk;
import io.deephaven.engine.table.... |
/*
* 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... |
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.buil... |
package ro.ase.csie.cts.dp.singleton;
public class ConexiuneBD {
String ip;
int port;
String bd;
//referinta catre obiectul unic
//lazy-instantiation
private static ConexiuneBD conexiune = null;
private ConexiuneBD() {
System.out.println("Creare conexiune");
}
private ConexiuneBD(String ip, int port, S... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://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... |
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. 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/... |
// Copyright 2013 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... |
package nextstep.subway.ui.handler;
import nextstep.subway.exception.ServiceException;
import nextstep.subway.exception.line.LineNotFoundException;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControl... |
package com.github.maicmiller;
public class Main {
public static void main(String[] args) {
ListaCircular<String> listaCircular = new ListaCircular<>();
listaCircular.add("c0");
System.out.println(listaCircular);
// Vamos resolver o índice 0...
listaCircular.remove(0);
... |
/**
* Copyright (C) 2015 Red Hat, 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... |
public class QualSeuNome02 {
public static void main(String[] args) {
/**
* O programa utiliza uma caixa de diálogo JOptionPane predefinida
* chamada ( caixa de diálogo de entrada ) que permite ao
* usuário inserir dados em um programa.
* A linha 15 usa o método showIn... |
/*
* Copyright © 2019 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 ag... |
package io.fabric8.api.scr;
import java.util.Map;
public interface Configurer {
/**
* Configures the specified instance with the provided configuration.
* @param configuration The configuration.
* @param target The target that will receive the configuration.
* @param <T>
*/
<T... |
package com.hz.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* 交易
* @author CHUANQI.DONG
* @version 创建时间:2018年12月2日 上午9:50:38
* @ClassName 类名称
* @Description 类描述
*
*/
@Data
@AllArgsConstructor
public class Transaction {
private final Trader trader;
private final int year;... |
/*
* Copyright 2010 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... |
/*
* 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... |
/*
* Copyright 2007 Outerthought bvba and Schaubroeck nv
*
* 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 org.zhongweixian.cc.service.impl;
import com.alibaba.fastjson.JSON;
import org.cti.cc.entity.CallDetail;
import org.cti.cc.entity.CallDevice;
import org.cti.cc.entity.CallLog;
import org.cti.cc.entity.PushFailLog;
import org.cti.cc.mapper.CallDetailMapper;
import org.cti.cc.mapper.CallDeviceMapper;
import org.... |
package com.technology.oracle.scheduler.batchrole.client.ui.form.detail;
import static com.technology.oracle.scheduler.batchrole.client.BatchRoleClientConstant.batchRoleText;
import static com.technology.oracle.scheduler.batchrole.shared.field.BatchRoleFieldNames.PRIVILEGE_CODE;
import static com.technology.oracl... |
package main;
import java.util.Scanner;
public class Principal {
static Scanner sc = new Scanner(System.in);
final static int num = 2; //Numero de aeropuertos
static AereoPuerto aereoPuerto[]= new AereoPuerto[num];
static String nombreAereopuerto;
static AereoPuerto aero;
public static void main(... |
/**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* 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, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
... |
/*
* 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.example.mytips.login;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.util.Patterns;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import a... |
/*
* Copyright 2006-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 app... |
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
package com.starrocks.sql.optimizer.rule.transformation;
import com.google.common.collect.Lists;
import com.starrocks.sql.optimizer.OptExpression;
import com.starrocks.sql.optimizer.OptimizerContext;
import com.starrock... |
/*
* Copyright to 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 applicable... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Nov 30 00:06:20 GMT 2020
*/
package com.lts.io;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import or... |
package io.vertx.test.codegen.testdataobject;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
/**
* @author <a href="mailto:julien@julienviet.com">Julien Viet</a>
*/
@DataObject
public interface JsonObjectSetter {
JsonObjectSetter setJsonObject(JsonObject s);
}
|
package org.jhaws.common.web.wicket.qtip;
import org.jhaws.common.web.wicket.CssResourceReference;
import org.jhaws.common.web.wicket.JavaScriptResourceReference;
import org.jhaws.common.web.wicket.WicketApplication;
// v3.0.3
/**
* @see http://qtip2.com
*/
public class QTip {
public static JavaScriptResourceRe... |
/**
*
*/
package com.allendowney.thinkdast;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Implementation of a Map using a List of entries, so most
* operations are linear time.
*
* @author downey
* @pa... |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2021 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
package edu.jhu.thrax.util.exceptions;
public class MalformedInputException extends Exception
{
private static final long serialVersionUID = 5544L;
public MalformedInputException()
{
super();
}
public MalformedInputException(String input)
{
super(input);
}
}
|
/**
* THE INFORMATION AND SPECIFICATIONS IN THIS DEVELOPER KIT ARE SUBJECT TO CHANGE WITHOUT NOTICE.
* ALL INFORMATION AND SPECIFICATIONS IN THIS DEVELOPER KIT ARE PRESENTED WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED. YOU TAKE FULL RESPONSIBILITY FOR YOUR USE OF THE DEVELOPER KIT.
* THE DEVELOPER KIT IS ... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
package com.ruoyi.framework.security.handle;
import com.alibaba.fastjson.JSON;
import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.constant.HttpStatus;
import com.ruoyi.common.utils.ServletUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.framework.manager.AsyncManager;
import ... |
/*
* Copyright 2000-2022 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package ncu.cc.digger.entities;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;
@Entity
@Table(name = "report_histories", schema = "digger_db", catalog = "")
public class ReportHistoryEntity {
private Integer id;
private String zoneId;
private String parentZone;
privat... |
package com.amcharts.json;
import java.util.List;
import com.amcharts.api.IsCategoryAxis;
import com.amcharts.api.IsDateFormat;
import com.amcharts.api.IsFunction;
public final class CategoryAxis extends AxisBase implements IsCategoryAxis
{
private double autoRotateAngle;
private double autoRotateCount;
private... |
package org.codefilarete.stalactite.sql.result;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.Function;
import java.util.function.Supplier;
import org.codefilarete.tool.Ref... |
package org.usfirst.frc4388.utility;
/**
* Interface for loops, which are routine that run periodically in the robot code (such as periodic gyroscope
* calibration, etc.)
*/
public interface Loop {
public void onStart(double timestamp);
public void onLoop(double timestamp);
public void onStop(double ... |
/*
* Copyright (C) 2016-2019 crDroid Android 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 ... |
import org.checkerframework.checker.testchecker.wholeprograminference.qual.Sibling2;
import org.checkerframework.checker.testchecker.wholeprograminference.qual.Top;
import org.checkerframework.checker.testchecker.wholeprograminference.qual.WholeProgramInferenceBottom;
public class UsesAnonymous {
void method() {
... |
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 org.firstinspires.ftc.teamcode.unitTests.dummy;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.IntentSender;
import... |
/*
* 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... |
/*
* 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.berkgokden.chess.pieces;
import com.berkgokden.chess.Piece;
import com.berkgokden.chess.PieceType;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Tests the methods of Knight Piece.
*/
public class KnightTest {
@Test
public void shouldPassWhenPieceTypeReturnsAsKnight() throws Ex... |
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries. 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
*/
pac... |
/**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
package de._125m125.kt.ktapi.smartCache;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.time.Clock;
import java.time.Instant;
import java.time.ZoneId;
import java.util.Arrays;
import java.util.Optional;
import org.junit.Before;
import org.junit.Test;
import de._1... |
package io.github.jhipster.registry.web.rest;
import com.codahale.metrics.annotation.Timed;
import io.github.jhipster.registry.web.rest.dto.UserDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springfram... |
/**
* 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 kr.co.popone.fitts.feature.push.order;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import kr.co.popone.fitts.feature.order.detail.OrderDetailActivity;
final class PaymentCancelMisPriceFragment$onViewCreated$2 implements OnClickListener {
final /* s... |
package colin.web.homework.service;
import colin.web.homework.core.dao.decoratedao.NavManageDao;
import colin.web.homework.core.pojo.Homework_Nav_Manage_Entity;
import colin.web.homework.core.rowmapper.DefaultRowmapper;
import colin.web.homework.core.vo.HomeworkNavManageVo;
import colin.web.homework.tools.DateToolsUti... |
package org.sv.flexobject.hadoop.mapreduce.input.mongo.oplog;
import org.sv.flexobject.hadoop.mapreduce.input.ConfiguredInputFormat;
import org.sv.flexobject.hadoop.mapreduce.input.InputConf;
import org.sv.flexobject.util.InstanceFactory;
public class OplogInputFormat<K,V> extends ConfiguredInputFormat<K,V> {
@O... |
package colesico.framework.rpc.clientapi;
/**
* RPC request handler called before request been sent.
* Can be used to enrich request with custom values (security principal, profile, tracing id, e.t.c.)
*/
public interface RpcRequestHandler<Q> {
void onRequest(Q request);
}
|
/*
* Copyright 2008 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... |
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.digitalarchitecture.outtopic;
import org.odpi.openmetadata.accessservices.digitalarchitecture.connectors.outtopic.DigitalArchitectureOutTopicServerConnector;
import org.odpi.... |
package com.polydes.scenelink.data;
import com.polydes.scenelink.SceneLinkExtension;
import com.polydes.scenelink.ui.MainPage;
public class PageLink extends Link
{
public PageLink(int id)
{
super(id);
}
@Override
public void open()
{
MainPage.get().switchToPage(id);
}
@Override
public Object getModel(... |
/*
* Copyright (c) 1997, 2001, 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 ... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.