text stringlengths 7 1.01M |
|---|
package com.codepath.instagramviewer.adapters;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.codepath... |
package org.jsoup.parser;
import org.jsoup.helper.Validate;
/**
* A character queue with parsing helpers.
*
* @author Jonathan Hedley
*/
public class TokenQueue {
private String queue;
private int pos = 0;
private static final Character ESC = '\\'; // escape char for chomp balanced.
/**
... |
package com.cyecize.http;
import java.util.List;
import java.util.Map;
public interface HttpRequest {
void setMethod(String method);
void setRequestURL(String requestUrl);
void setContentLength(int contentLength);
void setSession(HttpSession session);
void addHeader(String header, String valu... |
package com.weberfly.entities;
/*******************************************************************************
* 2017, All rights reserved.
*******************************************************************************/
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
impor... |
package plugin.doors;
import java.util.Objects;
import io.astraeus.game.world.Direction;
import io.astraeus.game.world.Position;
import io.astraeus.game.world.entity.object.GameObject;
import io.astraeus.game.world.entity.object.GameObjectType;
/**
* Represents a door object in the game world.
*
* @au... |
/*
* Copyright 2011-2021 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... |
/**
* \file ListWznmQBlkAItem.java
* Java API code for record set of table TblWznmQBlkAItem
* \copyright (C) 2018-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
package apiwznm;
import java.util.*;
import org.w3c.dom.*;
import... |
package net.jackw.olep.common.store;
import org.apache.kafka.common.serialization.Serializer;
import org.apache.kafka.common.utils.Bytes;
import org.apache.kafka.streams.state.KeyValueBytesStoreSupplier;
import org.apache.kafka.streams.state.KeyValueStore;
public class ChronicleMapKeyValueBytesStoreSupplier<K, V> imp... |
package org.monjasa.application.model.risk;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.monjasa.application.model.Evaluation;
import javax.persiste... |
package com.streem.selectcontact;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.provider.ContactsContract.CommonDataKinds.Email;
import android.provider.ContactsContract.CommonDataKinds.Phone;
i... |
package com.udacity.jdnd.course3.critter.entity;
import com.udacity.jdnd.course3.critter.entity.enums.EmployeeSkill;
import lombok.Data;
import javax.persistence.*;
import java.time.LocalDate;
import java.util.List;
import java.util.Set;
@Entity
@Data
public class Schedule extends BaseEntity {
private LocalDate ... |
package org.sheepy.lily.vulkan.process.graphic.pipeline.builder;
import static org.lwjgl.vulkan.VK10.*;
import org.lwjgl.system.MemoryStack;
import org.lwjgl.vulkan.VkPipelineMultisampleStateCreateInfo;
public class MultisampleBuilder
{
public VkPipelineMultisampleStateCreateInfo allocCreateInfo(MemoryStack stack)
... |
package com.roberto.avitec.repository;
import com.roberto.avitec.domain.entities.TabelaPadrao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface TabelaPadraoRepository extends JpaRepository<TabelaPadrao, Long> {}
|
package CliqueSearchPack;
import java.util.*;
import java.io.*;
import java.lang.StrictMath;
import java.lang.Double;
import GraphPack.WeightedVertexPack.WeightedVertex;
import GraphPack.WeightedVertexPack.VertexPack.Vertex;
import InterfacePack.IntRelate;
import TwoParametersInterfacePack.TwoParametersBehavior;
impo... |
/*
* Copyright 2015-2020 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.codeborne.selenide.collections;
import com.codeborne.selenide.CollectionCondition;
import com.codeborne.selenide.ex.ListSizeMismatch;
import com.codeborne.selenide.impl.CollectionSource;
import org.openqa.selenium.WebElement;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullBy... |
/*
* Copyright (c) 2018 Cloudera, Inc. All Rights Reserved.
*
* Portions Copyright (c) Copyright 2013-2018 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.
* You may o... |
/*
* Copyright (c) 2014 Cisco Systems, Inc. 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,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package eu.v... |
/*
* Copyright 2019 Scott Logic 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 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 net.daw.dao.specificDaoImplementation_0;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.Result... |
/*
* © 2020. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.io.sink;
import edu.ie3.datamodel.exceptions.SinkException;
import edu.ie3.datamodel.io.connectors.InfluxDbConnector;
imp... |
/*
* 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.werb.mycalendardemo;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.suppor... |
package depends.extractor.java;
// Generated from C:/Users/y50016379/DevEcoStudioProjects/depends-master/src/main/antlr4/depends/extractor/java\JavaParser.g4 by ANTLR 4.8
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
* This class provides an empty implementation of {@link JavaParserVisitor},
... |
package io.wren.libs;
import io.wren.utils.Wren;
import io.wren.value.Obj;
import io.wren.value.ObjClass;
import io.wren.value.Value;
import io.wren.vm.WrenVM;
public class WrenObject {
public static boolean not(Value[] stack, int stackStart, int numArgs) {
return Wren.RETURN(stack, stackStart, false);
... |
package com.oculussoftware.util;
/**
* $Workfile: MC.java $
* Date: 4/25/00
* Description: MC (mini-CRM) helps get objects with less typing.
*
* Copyright 7-01-2000 Oculus Software. All Rights Reserved.
*
* @author J. Coles
* @version 1.2
*/
/*
* $History: MC.java $
*
* ***************** Version 3 ******... |
// ========================================================================
// $Id: MsieSslHandler.java,v 1.3 2005/08/13 00:01:26 gregwilkins Exp $
// Copyright 2003-2004 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, V... |
package gulimall.coupon.dao;
import gulimall.coupon.entity.SkuFullReductionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品满减信息
*
* @author lu
* @email 574812239@qq.com
* @date 2022-01-29 13:31:51
*/
@Mapper
public interface SkuFullReductionD... |
package org.infinispan.server.router.router;
import java.net.InetAddress;
import org.infinispan.server.router.RoutingTable;
/**
* The EndpointRouter interface. Currently the EndpointRouter is coupled closely with the the {@link Protocol} it implements.
*
* @author Sebastian Łaskawiec
*/
public interface Endpoint... |
package org.edx.mobile.view.custom;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
import androidx.appcompat.widget.AppCompatTextView;
impor... |
package com.app.qunadai.content.presenter.v5;
import com.app.qunadai.bean.BannerBean;
import com.app.qunadai.bean.PersonBean;
import com.app.qunadai.bean.base.BaseBean;
import com.app.qunadai.bean.v5.Floors;
import com.app.qunadai.bean.v5.Products;
import com.app.qunadai.content.contract.v5.Home5Contract;
import com.a... |
package uk.ac.cam.cares.jps.setupjob.test;
import org.json.JSONObject;
import org.junit.Test;
import uk.ac.cam.cares.jps.dispersion.episode.EpisodeAgent;
public class SetupJobTest {
@Test
public void testjob() {
JSONObject jo= new JSONObject();
jo.put("runWholeScript",true);
String datapath="C:\\JPS_DAT... |
package org.firstinspires.ftc.teamcode.hardwaremaps.motors;
import com.arcrobotics.ftclib.hardware.motors.Motor;
import com.arcrobotics.ftclib.hardware.motors.MotorEx;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.HardwareMap;
public class HowlersMotor implements Motor {
... |
/*
* Copyright 2011-2016 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 2015-present Facebook, 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... |
/**
* Copyright (C) 2019 Expedia 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.codingchili.core.storage.exception;
import com.codingchili.core.configuration.CoreStrings;
import com.codingchili.core.context.CoreException;
import com.codingchili.core.protocol.ResponseStatus;
/**
* Throw when attempting to put-if-absent but value is not absent.
*/
public class ValueAlreadyPr... |
package Services;
import java.io.*;
public class Subscribers_Handler
{
public static void Subscribers(String subscriber_name,String symbol)
{
String file_name = symbol+".txt";
FileOutputStream details;
try
{
details = new FileOu... |
/**
* 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
* "Li... |
package com.github.seckillsystem.queue.kafka;
import com.github.seckillsystem.common.CommonResult;
import com.github.seckillsystem.common.redis.RedisUtil;
import com.github.seckillsystem.common.webSocket.WebSocketServer;
import com.github.seckillsystem.service.SeckillService;
import org.springframework.beans.factory.a... |
package pers.zhc.tools.utils;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.os.Handler;
import pers.zhc.tools.BaseActivity;
import pers.zhc.u.FileU;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOut... |
/* Copyright (c) 2019 AT&T Intellectual Property. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. ... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Nov 30 11:26:26 GMT 2020
*/
package freemind.controller;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
... |
package com.raul.libraryproject.app.controller;
import java.util.Map;
import java.util.NoSuchElementException;
import com.raul.libraryproject.model.book.Book;
import com.raul.libraryproject.model.dao.DAO;
import com.raul.libraryproject.model.facades.BookSearcher;
import com.raul.libraryproject.model.facades.QueueMana... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.networknt.oas.model.impl;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.databind.JsonNode;
import com.networknt.jsonoverlay.Builder;
import com.networknt.jsonoverlay.IJsonOverlay;
import com.networknt.jsonoverlay.JsonOverlay;
import com.networknt.jsonoverlay.Overla... |
/*
* Pore
* Copyright (c) 2014-2016, Lapis <https://github.com/LapisBlue>
*
* The MIT License
*
* 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 ... |
package org.scoalaonline.api.model;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;
import org.scoalaonline.api.serializer.SongSerializer;
import javax.persistence.*;
im... |
/*
* Copyright (c) 2021, the hapjs-platform Project Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.hapjs;
import android.app.Activity;
import android.content.Intent;
public class ActivityHookManager {
private static ActivityHook sActivityHook;
public static void init(ActivityHook acti... |
/*
* spoonacular API
* The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
/*
* Copyright 2017, BAE Systems Limited and GE Aviation Limited.
*
* This software and its outputs are not claimed to be fit or safe for any purpose. Any user should
* satisfy themselves that this software or its outputs are appropriate for its intended purpose.
*/
package com.iawg.ecoa.gui;
import java.awt.Col... |
package seedu.address.model.util;
import java.util.Arrays;
import java.util.Set;
import java.util.stream.Collectors;
import seedu.address.model.AddressBook;
import seedu.address.model.ReadOnlyAddressBook;
import seedu.address.model.name.Name;
import seedu.address.model.person.Address;
import seedu.address.model.perso... |
package de.srendi.advancedperipherals.common.util;
import de.srendi.advancedperipherals.AdvancedPeripherals;
import net.minecraftforge.event.TickEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import java.util.ArrayDeque;
import java.util.Queue;
@Mod.EventBusSu... |
package org.apache.spark.deploy;
/**
* Testing class that creates a Spark standalone process in-cluster (that is, running the
* spark.deploy.master.Master and spark.deploy.worker.Workers in the same JVMs). Executors launched
* by the Workers still run in separate JVMs. This can be used to test distributed operation ... |
package customView;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Handler;
import android.os.Message;
import android.util.AttributeSet;
import android.view.Surface;
import android.vi... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* Copyright © 2018 Shaburov Oleg
*
* 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 ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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.05.26 at 1... |
package net.moddingplayground.thematic.api.item;
import net.minecraft.block.entity.BannerPattern;
import net.minecraft.item.BannerPatternItem;
import net.minecraft.tag.TagKey;
import net.moddingplayground.thematic.api.theme.Theme;
import net.moddingplayground.thematic.api.theme.Themed;
public class ThemedBannerPatter... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2007, 2009, 2010, 2011, 2013, 2014, 2016 Synacor, Inc.
*
* 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 Foundati... |
package com.github.wangji92.arthas.plugin.common.command;
import com.github.wangji92.arthas.plugin.common.enums.ShellScriptCommandEnum;
import com.github.wangji92.arthas.plugin.common.enums.ShellScriptVariableEnum;
import com.github.wangji92.arthas.plugin.constants.ArthasCommandConstants;
import com.github.wangji92.ar... |
/*
* Copyright 2015-2020 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.hryzx.movieapp.ui.home;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.viewpager.widget.ViewPager;
import com.google.android.material.tabs.TabLayout;
import com.hryzx.movieapp.R;
public class HomeActivity extends AppCompatActivity {
@Override
protecte... |
/*
* Copyright (c) 2008-2015, Hazelcast, 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 ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/product_search_service.proto
package com.google.cloud.vision.v1;
/**
*
*
* <pre>
* Request message for the `ListReferenceImages` method.
* </pre>
*
* Protobuf type {@code google.cloud.vision.v1.ListReferenceImagesRequ... |
package com.boltenkov.Calculator.security;
import com.boltenkov.Calculator.model.User;
import com.boltenkov.Calculator.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.use... |
// Copyright © 2008-2011 Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://dimdwarf.sourceforge.net/LICENSE
package end2endtests;
import end2endtests.apps.echo.EchoApp;
import end2endtests.runner.*;
import org.junit.*;
public class SessionMe... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package remote;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
public class LaunchServer {
public static void main(String[] args) {
try {
// Export the remote math object to the Java RMI runtime so that it
// can receive incoming remote calls.
// Because Remote... |
public class VisitorNum extends SimpleNode {
private int value;
public VisitorNum(int id) { super(id); }
public void setValue(String str) {value = Integer.parseInt(str);}
public int getValue() {return value;}
public String toString() { return "Num: " + value; }
public Obj... |
/*
* Copyright 2002-2017 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 ru.web.adressbook.tests;
import org.testng.annotations.Test;
import ru.web.adressbook.model.GroupData;
public class GroupDeletionTests extends TestBase {
@Test
public void testGroupDeletion() {
app.getNavigationHelper().gotoGroupPage();
if (! app.getGroupHelper().isThereAGroup()... |
package demo.binea.com.drawabledemo.activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.ImageView;
import demo.binea.com.drawabledemo.R... |
package solace.game;
import solace.io.Config;
import solace.util.*;
import java.util.*;
import java.text.DecimalFormat;
/**
* Represents a shop in the game world.
* @author Ryan Sandor Richards
*/
public class Shop {
Room room;
List<ShopItem> items = new ArrayList<ShopItem>();
String id = null;
String name... |
/*
* Copyright 2013 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... |
package io.github.ganchix.bitcoinj.properties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* BitcoinJ Properties.
* <p>
* Created by Rafael Ríos.
*/
@Getter
@Setter
@ConfigurationProperties(prefix = "bitcoinj")
public class BitcoinJPr... |
package models;
public class Child {
private String childName;
public String getChildName() {
return childName;
}
public void setChildName(String childName) {
this.childName = childName;
}
} |
package com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.conte... |
/*
* Copyright 2020, 2021, Ludovic Henry
*
* 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, copy, modify, merge, pu... |
/**
* 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.accounting.system.dtos.pagination;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.quarkus.mongodb.panache.PanacheQuery;
import org.accounting.system.entities.projections.ProjectionQuery;
import org.eclipse.microprofile.openapi.annotations.enums.SchemaType;
import org.eclipse.microprofile.o... |
// 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.graphics;
import java.util.Comparator;
// Referenced classes of package android.support.v7.graphics:
// ColorCutQuantizer
s... |
package com.ztxue.admin.bean;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* @author:sunping
* @description:人员信息返回实体
* @date:2021-05-18
*/
@Setter
@Getter
public class ResultUser {
/**
* 主键ID
*/
@JSONField(ordinal = 1... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
package com.coolweather.android.db;
import org.litepal.crud.DataSupport;
/**
* Created by jinzhicheng on 2017/10/24.
* 省级表
*/
public class Province extends DataSupport {
private int id;
private String provinceName;
private int provinceCode;
public int getId() {
return id;
}
publi... |
/**
* Copyright 2013 Apache Software 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 applicable l... |
//给你两个整数 memory1 和 memory2 分别表示两个内存条剩余可用内存的位数。现在有一个程序每秒递增的速度消耗着内存。
//
// 在第 i 秒(秒数从 1 开始),有 i 位内存被分配到 剩余内存较多 的内存条(如果两者一样多,则分配到第一个内存条)。如果两者剩余内存都不足 i 位,
//那么程序将 意外退出 。
//
// 请你返回一个数组,包含 [crashTime, memory1crash, memory2crash] ,其中 crashTime是程序意外退出的时间(单
//位为秒), memory1crash 和 memory2crash 分别是两个内存条最后剩余内存的位数。
//
//
//
//... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
/*
* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.
*/
package com.supermap.gaf.authority.service;
im... |
package br.com.zup.mercadolivre.exceptions;
import org.springframework.validation.FieldError;
import org.springframework.validation.ObjectError;
import java.time.LocalDateTime;
import java.util.List;
public class ErrorObject {
private LocalDateTime currentTime;
private List<FieldError> message;
private... |
/*
* Copyright 2011-2016 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 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 applica... |
package org.codehaus.mojo.mrm.plugin;
/*
* Copyright 2011 Stephen Connolly
*
* 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
*
* Unl... |
/**
* Copyright (c) 2010-2018 Mark Allen, Norbert Bartels.
*
* 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, copy,... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.eventgrid.samples;
import com.azure.core.credential.AzureKeyCredential;
import com.azure.core.credential.AzureSasCredential;
import com.azure.core.models.CloudEventDataFormat;
import com.azure.... |
package com.example.mtking.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.example.mtking.R;
public class WelcomeActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInsta... |
package com.teambition.talk.ui.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.vie... |
/**
* Copyright 2009-2017 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
*
* Unle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.