text stringlengths 7 1.01M |
|---|
/*
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... |
/*<license>
Copyright 2004 - $Date$ by PeopleWare n.v..
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 model;
import java.util.Arrays;
/**
* Class describing a vehicle. Also contains all properties of a circular unit.
*/
public class Vehicle extends CircularUnit {
private final long playerId;
private final int durability;
private final int maxDurability;
private final double maxSpeed;
pri... |
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package com.chrisleung.notifications.tools.restapi.benchmark;
import java.util.ArrayList;
import java.util.Date;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
public class DeleteNotificationRequest extends Request {
... |
/*
* Copyright 2012-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 requ... |
/*
* Copyright 2015 E.Hooijmeijer / www.ctrl-alt-dev.nl
*
* 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.jetbrains.skija;
import java.util.Arrays;
import org.jetbrains.skija.test.Executable;
import org.jetbrains.skija.test.TestRunner;
import static org.jetbrains.skija.test.TestRunner.assertArrayEquals;
import static org.jetbrains.skija.test.TestRunner.assertEquals;
import static org.jetbrains.skija.test.Test... |
package org.roaringbitmap.circuits.adder;
import java.util.Arrays;
import org.roaringbitmap.RoaringBitmap;
/**
* A adder will add the bitmaps as 0-1 counters.
*
*/
public class BSTMAdder implements Adder {
@Override
public RoaringBitmap[] add(RoaringBitmap... set) {
final int numSumBitmaps = 32 -... |
package responsibility.handler;
/**
* @Author: Jeremy
* @Date: 2020/9/1 22:12
*/
public class StudentHandler extends Handler {
@Override
protected void doHandle(ScholarshipApplyForm form) {
form.setStatus("The form has been fulfilled. Wait for mentor to sign.");
}
}
|
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.marketing.card.template.modify response.
*
* @author auto create
* @since 1.0, 2019-08-08 19:58:29
*/
public class AlipayMarketingCardTemplateModifyRespon... |
package org.swrlapi.factory;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLDataPropertyExpression;
import org.swrlapi.builtins.arguments.SWRLBuiltInArgumentType;
import org.swrlapi.builtins.arguments.SWRLBuil... |
package com.zuolg.fairytaleworld.view;
public interface HomeView {
/**
* 加载
*/
public void onLoad();
/**
* 更新
*/
public void onRefresh();
/**
* 更新
*/
public void onReset();
/**
* 提交
*/
public void onCommit();
/**
* 显示错误
*
* ... |
/*
* Copyright (c) 2004 World Wide Web Consortium,
*
* (Massachusetts Institute of Technology, European Research Consortium for
* Informatics and Mathematics, Keio University). All Rights Reserved. This
* work is distributed under the W3C(r) Software License [1] in the hope that
* it will be useful, but WITHOUT 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 com.jiahaoliuliu.chapter3.stacksandqueues.q2stackmin;
import java.util.EmptyStackException;
public class Q2MyStackMin {
private Node top;
private static class Node {
private final int data;
/**
* The minimum is used to take a snapshot of the minimum
* values on its ... |
/**
* Refer to this link https://stackoverflow.com/a/50958900 to learn how to run tags from within
* IntelliJ.
*/
package com.rationaleemotions.tags; |
package com.flipkart.foxtrot.server.resources;
import com.codahale.metrics.annotation.Timed;
import com.flipkart.foxtrot.server.cluster.ClusterManager;
import com.flipkart.foxtrot.server.cluster.ClusterMember;
import com.hazelcast.cluster.Member;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOper... |
package io.quarkus.deployment.configuration;
import static io.quarkus.deployment.util.ReflectUtil.rawTypeOf;
import static io.quarkus.deployment.util.ReflectUtil.rawTypeOfParameter;
import static io.quarkus.deployment.util.ReflectUtil.reportError;
import static io.quarkus.deployment.util.ReflectUtil.toError;
import st... |
package com.arzio.arziolib.api.impl;
import java.net.URL;
import java.util.logging.Logger;
import org.apache.commons.io.IOUtils;
import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import... |
package com.zendesk.maxwell.schema;
/* represents the schema of the `maxwell` databases, and contains code around upgrading
* and managing that schema
*
* TODO: move all this into MysqlSchemaStore
*/
import java.sql.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.io.InputStream;
import java.i... |
package com.vincentklim.deck;
/**
* <description>
*
* @author Vincent Lim
* @version August 02, 2018
*/
public class Deck {
}
|
/**
* Automatically generated file. DO NOT MODIFY
*/
package org.nativescript.modal622;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "org.nativescript.modal622";
public static final String BUILD_TYPE = "debug";
... |
/*
* Copyright 2012 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 ap... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/**
*
*/
package pl.projewski.bitcoin.store.json; |
package recurssion;
import java.util.Scanner;
public class AllUniquePathWithObstacle {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
while(t-- > 0){
int n = sc.nextInt();
int m = sc.nextInt();
... |
package com.gi.simpleprograms.concurrency;
public class ThreadOne extends Thread {
AnObjectClass anObjectClass;
public ThreadOne(AnObjectClass anObjectClass) {
super();
this.anObjectClass = anObjectClass;
}
@Override
public void run() {
// TODO Auto-generated method stub
anObjectClass.pri... |
/*
* Copyright 2018 Karl Dahlgren
*
* 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 (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.turbomodule.core;
import androidx.annotation.GuardedBy;
import androidx.annotation.NonNull;
import andr... |
package org.deeplearning4j.datasets.iterator.callbacks;
import lombok.extern.slf4j.Slf4j;
import org.nd4j.linalg.dataset.DataSet;
import java.io.File;
import java.util.concurrent.atomic.AtomicLong;
/**
* This callback does DataSet deserialization of a given file.
*
* @author raver119@gmail.com
*/
@Slf4j
public c... |
package edu.gdei.gdeiassistant.Exception.AuthenticationException;
/**
* 上传的图片不包含身份证信息时,抛出该异常
*/
public class NonIDCardInfoException extends Exception {
public NonIDCardInfoException() {
}
public NonIDCardInfoException(String message) {
super(message);
}
}
|
/*
* 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 com.team142.gg.server.controller.runnable;
import com.team142.gg.server.controller.MessageManager;
import com.team142.gg.serve... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* http://www.project-hop.org
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have... |
/**
* 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 io.github.quickmsg.core.http.model;
import lombok.Data;
/**
* @author luxurong
*/
@Data
public class LoginDo {
private String username;
private String password;
}
|
package io.onedev.server.util.jetty;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* This servlet serves static web assets from classpath.
*
* @author robin
*
*/
public class ClasspathAssetServlet extends AssetServlet {
private static final long serialVersionUID = 1L;
... |
package net.wolfesoftware.jax.semalysis;
import net.wolfesoftware.jax.ast.Modifier;
public class Method extends TakesArguments
{
public String name;
public short modifiers;
public Method(Type declaringType, Type returnType, String name, Type[] argumentSignature, short modifiers)
{
su... |
package cmps252.HW4_2.UnitTesting;
import static org.junit.jupiter.api.Assertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import cmps252.HW4_2.... |
package libra.Commands.Moderation;
import libra.Config.Config;
import libra.Database.Database;
import libra.Utils.Command.Command;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
import net.dv8tion.jda.api.interactions.co... |
package voogasalad.gameauthoringenvironment.gui.levelconfig.nodes;
import javafx.scene.control.TextField;
public class NumberTextField extends TextField {
public NumberTextField(){
this.setPrefWidth(40);
}
}
|
/*
* 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 DiagramaFlujo;
import java.awt.Color;
import javax.swing.JTextField;
/**
*
* @author Arles Cerrato
*/
public class Lea ext... |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CustomizationIpV6Generator complex type.
*
* <p>The following schema fragment... |
/*
* Apache Fineract
* Apache Fineract is a secure, multi-tenanted microfinance platform The goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform<br>The [reference app](https://cui.fineract.dev) (username: mifos, password: password) works on the same demo tena... |
package net.booru.adventofcode2017;
class Day10
{
// this is really quick and dirty, terrible code, and mutable *ugh*
static void run()
{
test();
int value = part1(makeInputArray(256), 106,16,254,226,55,2,1,166,177,247,93,0,255,228,60,36);
System.out.println("part1: " + value);
... |
package top.woilanlan.polymorphism.test;
import org.junit.Test;
import top.woilanlan.polymorphism.CovariantReturn;
import top.woilanlan.polymorphism.FieldAccess;
import top.woilanlan.polymorphism.Frog;
import top.woilanlan.polymorphism.PolyConstructors;
import top.woilanlan.polymorphism.PrivateOverride;
import top.wo... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.svn.branchConfig;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.in... |
/*
* Copyright 2018-2020 The Code Department.
*
* 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... |
package mapsoft.com.costomtopbar.service.socket.update;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
/**
* @author: vision
* @function:
* @date: 16/8/16
*/
public class Util {
public static int getVersionCode(Context context) {
int... |
package txtfnnl.pipelines;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.Po... |
package com.microsoft.bingads.v10.api.test.entities.budget.write;
import com.microsoft.bingads.v10.api.test.entities.budget.BulkBudgetTest;
import com.microsoft.bingads.v10.bulk.entities.BulkBudget;
import com.microsoft.bingads.internal.functionalinterfaces.BiConsumer;
import java.util.Arrays;
import java.util.Collect... |
package com.example.ggxiaozhi.italker;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.graphics.drawable.ColorDrawable;
import android.text.TextU... |
/*
* Copyright 2015, The Querydsl Team (http://www.querydsl.com/team)
*
* 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 ... |
package io.github.ololx.cranberry.statement.internal.util;
import java.util.Collection;
import java.util.Map;
/**
* The type Statements.
*
* @author Alexander A. Kropotin
* project cranberry
* created 2020 -03-09 20:21
*/
public final class Statements {
/**
* State not null.
*
* @param obj ... |
/*
* Copyright 2021 MicroEJ Corp. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be found with this software.
*/
/**
* Contains the Circular dotted progress page.
*/
@ej.annotation.NonNullByDefault
package com.microej.demo.widget.circulardottedprogress; |
package com.ustwo.clockwise.companion;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.data.FreezableUtils;
import com.google.android.gms.wearable.DataEvent;
import com.google.android.gms.wea... |
package com.alibaba.com.caucho.hessian.io.beans;
import java.io.Serializable;
/**
*/
public class SubUser extends BaseUser implements Serializable {
private static final long serialVersionUID = 4017613093053853415L;
private String userName;
@Override
public String getUserName() {
return user... |
package io.dropwizard.redis.netty;
import com.codahale.metrics.MetricRegistry;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.io.Resources;
import io.dropwizard.configuration.YamlConfigurationFactory;
import io.dropwizard.jackson.DiscoverableSubtypeResolver;
import io.dropwizard.jackson.J... |
package app.hongs.db;
import app.hongs.HongsError;
import app.hongs.HongsException;
import app.hongs.db.DB.Roll;
import app.hongs.util.Dict;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.uti... |
package live;
/**
* Created by m on 9/2/16.
*/
public class ReferencePlayground {
}
|
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.fra.provider;
import static org.testng.AssertJUnit.assertEquals;
import java.util.LinkedHashMap;
import org.testng.annotatio... |
package com.gps.payroll.profileAndAbout;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os... |
/**
* Copyright (c) 2013-2014, JCabi.com
* 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 list of condition... |
package com.dimple.utils.web;
import com.dimple.utils.StringUtils;
import lombok.Data;
/**
* @className: PageDomain
* @description: 分页数据
* @Version: 1.1
*/
@Data
public class PageDomain {
/**
* 当前记录起始索引
*/
private Integer pageNum;
/**
* 每页显示记录数
*/
private Integer pageSize;
... |
package com.innominds.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {
private static final long serialVersionUID = 1L;
public ResourceNotFou... |
/*
* Copyright 2014-2018 Rudy De Busscher (https://www.atbash.be)
*
* 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 requir... |
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.android_webview;
import android.content.Context;
import android.os.StrictMode;
import org.chromium.android_webview.policy.AwPolicyP... |
package seedu.address.logic.commands;
import static java.util.Objects.requireNonNull;
import java.util.Arrays;
import java.util.List;
import seedu.address.commons.core.Messages;
import seedu.address.commons.core.index.Index;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.model.... |
/*
* Copyright (c) 2015, 2015, 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 ... |
/*
* 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 com.mycompany.escolar.servlet;
import com.google.gson.Gson;
import com.mycompany.escolar.dao.DBDAO;
import com.mycompany.escol... |
package module440packageJava0;
import java.lang.Integer;
public class Foo5 {
Integer int0;
Integer int1;
public void foo0() {
new module440packageJava0.Foo4().foo3();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
}
|
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2020, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.constraints.extension.nary;
import ... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.wada811.android.material.design.colors;
public final class R {
public static final class anim {
public static final int abc... |
package com.arzin.btrove;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class Settings extends PreferenceActivity{
@SuppressWarnings("deprecation")
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(sav... |
package mit.cadlab.dome3.api.demo.hla;
import hla.rti1516.*;
import se.pitch.prti1516.LogicalTimeDouble;
public class AirplaneFederate extends TimeSynchronizedMessagingFederate {
public static String AIRPLANE_1_ID = "AIRPLANE-1";
public static String AIRPLANE_2_ID = "AIRPLANE-2";
private int tar... |
package com.handcycle;
import android.content.Intent;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
public class SplashActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
s... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* 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
*... |
package bookshop2.seller.incoming.orderBooks;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import org.aries.message.Message;
import org.aries.message.util.MessageConstants;
import org.aries.tx.AbstractListenerForRMIUnitTest;
import org.aries.util.FieldUtil;
import org.aries.valida... |
package org.simpleflatmapper.datastax.impl;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.Row;
import org.simpleflatmapper.util.Enumarable;
public class ResultSetEnumarable implements Enumarable<Row> {
private final ResultSet resultSet;
private Row currentRow;
public ResultS... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.spring.webflux.client;
import static io.opentelemetry.javaagent.tooling.ClassLoaderMatcher.hasClassesNamed;
import static io.opentelemetry.javaagent.tooling.bytebuddy.matcher.AgentEl... |
package com.github.badoualy.telegram.tl.api.request;
import com.github.badoualy.telegram.tl.TLContext;
import com.github.badoualy.telegram.tl.api.TLAbsInputUser;
import com.github.badoualy.telegram.tl.api.TLAbsUpdates;
import com.github.badoualy.telegram.tl.core.TLMethod;
import com.github.badoualy.telegram.tl.core.TL... |
package com.hbelmiro.microprofile.cdi;
import io.quarkus.test.junit.NativeImageTest;
@NativeImageTest
public class NativeExampleResourceIT extends ExampleResourceTest {
// Execute the same tests but in native mode.
} |
package com.alanlapierre.merchants.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.alanlapierre.merchants.model.Plan;
public interface PlanRepository extends JpaRepository<Plan, Long> {
}
|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
import android.os.SystemClock;
import android.view.View;
import androidx.annotation.GuardedB... |
package org.apache.maven.model;
/*
* 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, Ver... |
/**
* Copyright 2005-2019 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 requ... |
package es.geeksusma.warehouse.api.dto;
import javax.validation.constraints.NotBlank;
public class NewItemRequest {
@NotBlank(message = "Serial number is mandatory")
private String serialNumber;
@NotBlank(message = "Name is mandatory")
private String name;
private String description;
private ... |
package org.jmusixmatch;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Map;
/**
* Helper Utility Class
*
* @author Sachin Handiekar
* @version 1.0
*/
public final class Helper {
/**
* Private constructor to prevent instantiation.
*/
private Helper() {
// do ... |
/*
* Copyright 2020 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 ... |
public class CosSim {
/**
* Calculates the cosine similarity of two vectors of any length
*
* @param v1 Vector 1
* @param v2 Vector 2
* @return a double representing the cosine similarity.
*/
public double CosSim(double[] v1, double[] v2) {
double norm1 = 0;
doub... |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2016 Eric Lafortune @ GuardSquare
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the F... |
package com.xiejr.actuator.enums;
import com.baomidou.mybatisplus.generator.config.IDbQuery;
import com.baomidou.mybatisplus.generator.config.querys.*;
import java.util.Arrays;
import java.util.List;
/**
* @description 数据库类型枚举
* @author: xiejiarong
* @create: 2020/06/22
**/
public enum DbType {
/**
* m... |
package com.eshikhon.project.covid19.model;
import com.google.gson.annotations.SerializedName;
public class LatestStatByCountry {
@SerializedName("id")
private String id;
@SerializedName("country_name")
private String countryName;
@SerializedName("total_cases")
private String totalCases;
... |
/*
* (C) Copyright IBM Corp. 2019, 2021
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.model.type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
import com.ibm.fhir.model... |
/*
* Copyright 2006 Webmedia Group 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 agree... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.opencensusshim.metrics;
import static io.opentelemetry.sdk.testing.assertj.MetricAssertions.assertThat;
import io.opencensus.contrib.exemplar.util.ExemplarUtils;
import io.opencensus.stats.Aggregation;
impor... |
package com.coderwjq.a03_androidaidldemo;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by coderwjq on 2017/4/21.
*/
public class Book implements Parcelable {
public static final Creator<Book> CREATOR = new Creator<Book>() {
@Override
public Book createFromParcel(Parcel ... |
/**
* iBizSys 5.0 机器人生产代码(不要直接修改当前代码)
* http://www.ibizsys.net
*/
package com.sa.unip.app.srv.wf.ctrlmodel;
import java.util.ArrayList;
import java.util.List;
import net.ibizsys.paas.util.StringHelper;
import net.ibizsys.paas.web.AjaxActionResult;
import net.ibizsys.paas.web.WebContext;
import net.ibizsys.paas.u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.