text stringlengths 7 1.01M |
|---|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.basex.query.util.collation;
import static org.basex.util.Token.*;
import org.basex.util.*;
/**
* Case-insensitive collation.
*
* @author BaseX Team 2005-22, BSD License
* @author Christian Gruen
*/
final class NoCaseCollation extends Collation {
@Override
public int compare(final byte[] string, ... |
/*
* Copyright 2015 Alexey Andreev.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
package com.duwanga.mall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.duwanga.common.utils.PageUtils;
import com.duwanga.mall.order.entity.OrderReturnReasonEntity;
import java.util.Map;
/**
* 退货原因
*
* @author duwanga
* @email zzx451263@gmail.com
* @date 2021-08-04 21:51:... |
package business.mission.missionmanager.service;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class AssignMissionServiceTest {
@Before
public void setUp() throws Exception {
}
@Test
public void assignMission() {
assertEquals(true,true);
}
... |
/*
* 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.huaweicloud.sdk.servicestage.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 com.huaweicloud.sdk.servicestage.v2.model.Reso... |
package com.example.neighbourinneed;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.wid... |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2020 Adobe
~
~ 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/li... |
/*
* 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 ... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v7.view.menu;
import android.graphics.drawable.Drawable;
// Referenced classes of package android.support.v7.view.menu:
// Menu... |
package org.lwjglb.game;
import org.joml.Vector2f;
import org.joml.Vector3f;
import org.joml.Vector4f;
import static org.lwjgl.glfw.GLFW.*;
import org.lwjglb.engine.IGameLogic;
import org.lwjglb.engine.MouseInput;
import org.lwjglb.engine.Scene;
import org.lwjglb.engine.SceneLight;
import org.lwjglb.engine.Window;
imp... |
package com.stackroute.quizify.recommendationservice.controller;
import com.stackroute.quizify.recommendationservice.domain.Game;
import com.stackroute.quizify.recommendationservice.domain.GameTypeOfGenre;
import com.stackroute.quizify.recommendationservice.service.GameTypeOfGenreService;
import io.swagger.annotations... |
/*******************************************************************************
* Copyright 2020 IBM Corporation and others.
*
* 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... |
// 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 2017 JanusGraph 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 agree... |
/*
* Copyright (c) 2017-2018. 放牛极客<l_iupeiyu@qq.com>
* <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
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required b... |
package seedu.address.storage;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;
import java.util.logging.Logger;
import seedu.address.commons.core.LogsCenter;
import seedu.address.commons.exceptions.DataConversionException;
import seedu.address.model.ReadOnlyAddressBook;
import seedu.... |
/*
* P_MethodNameContainsGroups.java
* Copyright © 1993-2018, The Avail Foundation, LLC.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain th... |
package com.scarlet.ui.difficultymenu;
import android.util.Log;
import android.view.MotionEvent;
import com.scarlet.graphics.opengl.Renderer;
import com.scarlet.graphics.opengl.Text;
import com.scarlet.graphics.opengl.animation.UIAnimation;
import com.scarlet.math.Matrix4f;
import com.scarlet.math.Vector3f;
import co... |
package com.dennyy.oldschoolcompanion.models.AchievementDiary;
import com.dennyy.oldschoolcompanion.enums.DiaryType;
import com.dennyy.oldschoolcompanion.helpers.Constants;
import java.util.ArrayList;
public class Diary {
public DiaryType diaryType;
public ArrayList<DiaryRequirement> requirements = new Array... |
/*
* 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... |
import java.util.ArrayList;
import java.util.Arrays;
public class WordPuzzle {
public static String runWordPuzzle(String inputString) {
char[] vowels = {'A', 'a', 'E', 'e', 'I', 'i', 'O', 'o', 'U', 'u'};
String puzzleString = inputString;
for ( char vowel : vowels ) {
puzzleString = puzzleString.r... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* ... |
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Random;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.junit.*;
public class Tests {
@Test public void startOfLine() {
Pattern regex = new RegExpBuilder()
.startOfLine(... |
/*
* 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.firstlinecode.granite.cluster.im;
import java.util.concurrent.locks.Lock;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import org.springframework.stereotype.Component;
import com.firstlinecode.basalt.protocol.core.JabberId;
import com.firstlinecode.basalt.protocol.core.ProtocolE... |
package com.imxushuai.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品属性
*
*/
@Data
@TableName("pms_attr")
public class AttrEntity implements Serializa... |
/*
* Copyright (c) 2019-2022 "Neo4j,"
* Neo4j Sweden AB [https://neo4j.com]
*
* This file is part of Neo4j.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apach... |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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://... |
/*
* 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 Indra Soluciones Tecnologías de la Información, S.L.U.
* 2013-2019 SPAIN
*
* 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... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright 2014-2018 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.github.huobidev;
public class Order { // 此类型为需要使用的消息内容
private Long id;
private Long ts;
private String symbol;
private Double price;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getTs() {
return ... |
/*
* $RCSfile: UUIDListBox.java,v $
*
*
* Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistribution of source code must retain t... |
package net.thevpc.nuts.runtime.standalone.format.props;
import java.util.*;
import net.thevpc.nuts.*;
import net.thevpc.nuts.runtime.standalone.format.DefaultFormatBase;
import net.thevpc.nuts.runtime.standalone.format.ObjectOutputFormatWriterHelper;
import net.thevpc.nuts.runtime.standalone.util.CoreStringUtils;
im... |
package one.jodi.core.datastore;
import one.jodi.etl.internalmodel.Lookup;
import one.jodi.etl.internalmodel.Mappings;
import one.jodi.etl.internalmodel.Source;
import one.jodi.etl.internalmodel.SubQuery;
/**
* Interface of the context object for the strategy to define the model code of
* the data store. It is mos... |
package p;
class A {
void x() {
}
protected void m() {
}
}
class B extends A {
}
|
package com.crossbowffs.javautils.calculator.operators;
public class NegateOperator extends UnaryOperator {
@Override
protected double operate(double num) {
return -num;
}
}
|
package me.egg82.tcpp.extended;
import ninja.egg82.configuration.AbstractConfiguration;
import ninja.leaping.configurate.ConfigurationNode;
public class Configuration extends AbstractConfiguration {
public Configuration(ConfigurationNode root) {
super(root);
}
}
|
package Libs.DataStruct;
public class BufferCV
{
public static final int INIT_ELEM_CAPACITY = 32; // 默认分配 32 元素
public static final int INIT_CAPACITY = 1 * 1024; // 默认分配 1 K
public static final int MAX_CAPACITY = 8 * 1024 * 1024; // 最大允许分配 8 M
} |
/*
* Copyright 2003-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... |
package br.com.alinesoftware.mb.infra;
import java.io.Serializable;
import java.util.Date;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
import javax.persistenc... |
/*
* ProfileMap.java
*
* Endpoint profiles manager
*
* This program is part of Wanhive IoT Platform.
*
* Apache-2.0 License
* Copyright 2020 Wanhive Systems Private Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
/*
* 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)2016 Prometheus Consulting
*
* 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... |
package fr.wcs.dojo.jee.web;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.Log... |
/**
* Copyright Microsoft Corporation
*
* 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... |
/* Copyright (C) 2017-2019 Andreas Shimokawa, Carsten Pfeiffer, Matthieu
Baerts, Roi Greenberg
This file is part of Gadgetbridge.
Gadgetbridge is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foun... |
package mockedScrapers;
import net.minidev.json.JSONObject;
import org.jsoup.Jsoup;
import scrapers.GithubDataScraper;
import java.io.File;
import java.io.IOException;
public class MockedGithubDataScraper extends GithubDataScraper {
public MockedGithubDataScraper(String[] languages) {
super(languages);
... |
package com.inmensia.greeter.api.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "GreetingResponse", description = "Greeting response")
public class GreetingResponse {
private Integer port;
private String message;
public GreetingRes... |
package pt.up.fe.specs.clava.weaver.abstracts.joinpoints;
import org.lara.interpreter.weaver.interf.events.Stage;
import java.util.Optional;
import org.lara.interpreter.exception.AttributeException;
import pt.up.fe.specs.clava.weaver.enums.StorageClass;
import java.util.List;
import org.lara.interpreter.weaver.interf.... |
/*
* $Id$
*
* Copyright (c) 2016, Simsilica, LLC
* 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
... |
package org.activiti.core.common.spring.project;
import java.io.IOException;
import org.activiti.core.common.project.model.ProjectManifest;
import org.activiti.core.common.spring.project.conf.ProjectModelAutoConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factor... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.10.11 at 12:10:4... |
package io.airlift.command.command;
import java.util.List;
import io.airlift.command.*;
@Groups({
@Group(name = "groupInsideOfGroups", description = "my nested group", defaultCommand = CommandWithGroupsAnnotation.class,commands = {CommandAdd.class})
})
@Command(name = "commandWithGroupsAnno", description = "... |
/*
* 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 co.innovaciones.repository;
import org.springframework.stereotype.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import co.innovaciones.model.Compensacion;
@Repository
public interface CompensacionRepository extends JpaRepository<Compensacion, Integer> {
} |
/*
* */
package com.synectiks.process.server.shared.security;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.pam.FirstSuccessfulStrategy;
import org.apache.shiro.realm.Realm;
imp... |
package com.onlinevet.clinic.model;
import java.time.LocalDate;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.springframework.format.annotation... |
package com.atlassian.confluence.plugins.slack.spacetochannel.listener;
import com.atlassian.confluence.user.ConfluenceUser;
import com.atlassian.crowd.event.user.UserDeletedEvent;
import com.atlassian.crowd.event.user.UserEditedEvent;
import com.atlassian.crowd.model.user.User;
import com.atlassian.event.api.EventPub... |
package myPackage.employeeCustomerManagement;
import myPackage.accountManagement.Customer;
import java.io.*;
import java.lang.*;
public class Bank implements CustomerOperations,EmployeeOperations
{
private Customer[] customers=new Customer[50]; //Customer insertion limit
private Employee[] employees=new Employee[50]... |
package app.insti.flutter;
import io.flutter.embedding.android.FlutterActivity;
public class MainActivity extends FlutterActivity {
}
|
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.rockets12.lunchcast;
import com.rockets12.lunchcast.backendless.Order;
import com.rockets12.lunchcast.backendless.OrderItem;
import com.rockets12.lunchcast.backendless.Restaurant;
import com.rockets12.lunchcast.backendless.Tag;
import java.util.List;
/**
* Created by Stevan Kovacevic on 2/23/16.
*/
pub... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
/*
* The MIT License (MIT)
*
* Copyright © 2021, Alps BTE <bte.atchli@gmail.com>
*
* 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... |
/**
* 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 net.brunomendola.querity.spring.data.jpa;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QuerityJpaTestApplication {
public static void main(String[] args) {
SpringApplication.run(QuerityJpaTestA... |
/**
* Copyright (C) 2011 LShift 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 a... |
package smtcodan.quickfixes.introduceimpl.actions;
import org.eclipse.cdt.core.model.ICElement;
import org.eclipse.cdt.core.model.ISourceReference;
import org.eclipse.cdt.core.model.IStructureDeclaration;
import org.eclipse.cdt.core.model.IWorkingCopy;
import org.eclipse.cdt.internal.ui.cview.CView;
import org.eclipse... |
package common;
/**
* @author Carlos Piñan
*/
public class Geometry {
/**
* Given a point and a segment.
* <p>
* Returns true if the point is in the segment
*
* @param p
* @param s
* @return
*/
public static boolean onSegment(
Point p,
Segment ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... |
package com.tjhello.easy.billing.java;
import android.app.Activity;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.tjhello.lib.billing.base.anno.BillingName;
import com.tjhello.lib.billing.base.anno.ProductType;
import com.tjhello.lib.billing.base.... |
package org.hl7.fhir.dstu2.model;
/*-
* #%L
* org.hl7.fhir.dstu2
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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:/... |
/*
* Copyright 2017 MovingBlocks
*
* 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... |
/*
* 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 Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be us... |
package com.zhao.ad.search.index.keyword;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Created by Qinyi.
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UnitKeywordObject {
private Long unitId;
private String keyword;
}
|
/*
package com.github.linyuzai.connection.loadbalance.netty.handler;
import com.github.linyuzai.connection.loadbalance.core.concept.AbstractConnection;
import com.github.linyuzai.connection.loadbalance.core.concept.Connection;
import com.github.linyuzai.connection.loadbalance.core.message.Message;
import com.github.li... |
package net.sf.jabref.logic.integrity;
import java.util.Optional;
import net.sf.jabref.logic.l10n.Localization;
public class PersonNamesChecker implements ValueChecker {
@Override
public Optional<String> checkValue(String value) {
String valueTrimmedAndLowerCase = value.trim().toLowerCase();
... |
/*
* Copyright 2002-2016 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.x.processplatform.assemble.surface.jaxrs.applicationdict;
import org.apache.commons.lang3.StringUtils;
import com.google.gson.JsonElement;
import com.x.base.core.container.EntityManagerContainer;
import com.x.base.core.container.factory.EntityManagerContainerFactory;
import com.x.base.core.http.ActionResu... |
package io.lambdacube.component.demo.basic;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
import io.lambdacube.component.annotation.ComponentProperty;
@ComponentProperty("custom.alias")
@Target(ElementType.TYPE)
public @interface Alias {
String value();
}
|
package com.veal98.linkedlist;
import com.veal98.bean.ListNode;
public class ReverseNodesInKGroup_25 {
public ListNode reverseKGroup(ListNode head, int k) {
if (head == null || head.next == null) {
return head;
}
// 找到第 k + 1 个节点(作为进入第一段递归调用的末尾节点)
ListNode tail = head... |
package com.home.commonBase.constlist.generate;
/** (generated by shine) */
public class PlayerPartDataType
{
/** 起始 */
public static final int off=5203;
/** 计数 */
public static final int count=5222;
/** 成就数据 */
public static final int Achievement=5203;
/** 活动数据 */
public static final int ... |
/*
* Copyright 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 applicabl... |
/* file: PredictionBatch.java */
/*******************************************************************************
* Copyright 2014-2018 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, informati... |
package com.annimon.tsvc.tasks;
import com.annimon.tsvc.ExceptionHandler;
import com.annimon.tsvc.Util;
import com.annimon.tsvc.model.TwitchVideo;
import java.util.ArrayList;
import java.util.List;
import javafx.concurrent.Task;
import org.json.JSONArray;
import org.json.JSONObject;
/**
*
* @author aNNiMON
*/
publ... |
/*
* Copyright 2016-2019 Tim Boudreau, Frédéric Yvon Vinet
*
* 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 a... |
package dev.sheldan.abstracto.moderation.repository;
import dev.sheldan.abstracto.core.models.database.AUserInAServer;
import dev.sheldan.abstracto.moderation.model.database.ReactionReport;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.time... |
/*
* 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... |
// Copyright 2014 The Bazel Authors. 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 appl... |
package org.gradle.test.performance.mediummonolithicjavaproject.p56;
import org.gradle.test.performance.mediummonolithicjavaproject.p55.Production1119;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test1122 {
Production1122 objectUnderTest = new Production1122();
@Test
pub... |
package fr.catcore.translatedlegacy.font;
public class UnicodeTextureGlyph implements RenderableGlyph {
private final int width;
private final int height;
private final int id;
private final int imagePointer;
UnicodeTextureGlyph(int width, int height, int id, int imagePointer) {
this.widt... |
/*
* ====================================================================
*
* 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... |
/*
* Copyright 2014-2019 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 com.mob.thor.rpc.remoting.api.transport;
import com.mob.thor.rpc.common.URL;
import com.mob.thor.rpc.remoting.api.RemotingException;
import com.mob.thor.rpc.remoting.api.ThorChannel;
import com.mob.thor.rpc.remoting.api.ThorChannelHandler;
public abstract class AbstractChannel extends AbstractPeer impl... |
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2015 Adobe
* %%
* 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... |
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE
package org.bytedeco.gsl;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.byt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.