text
stringlengths
7
995k
/* * Copyright (c) WhatsApp Inc. and its affiliates. * 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. */ package org.dynamicsoft.dankanimestickerswa; import android.content.ContentResolver; import android.c...
package com.nitorcreations.willow.messages; public class NetInterface extends AbstractMessage { public String name; public long rxBytes; public long rxPackets; public long rxErrors; public long rxDropped; public long rxOverruns; public long rxFrame; public long txBytes; public long txPackets; publi...
package org.infinispan.server.test.client.hotrod; import static org.infinispan.server.test.util.ITestUtils.SERVER1_MGMT_PORT; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOExcepti...
import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Scanner; public class P3_Opinion_Poll { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); List<Person> people = n...
/* * Copyright 2020. Huawei Technologies Co., Ltd. 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 * * https://www.apache.org/licenses/LICENSE-2.0 *...
/** * Copyright 2006-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/* * File: TRectangle.java * This file is part of Tico, an application * to create and perform interactive communication boards to be * used by people with severe motor disabilities. * * Authors: Pablo Muñoz * * Date: 16-Nov-2005 * * Company: Universidad de Zaragoza, CPS, DIIS * * License: * T...
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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 agre...
package org.dms.DMS.util; import org.springframework.context.ApplicationContext; /** * Helper class to get access to a spring managed bean instance from any class */ public class ApplicationContextHelper implements IApplicationContextHelper { private ApplicationContext applicationContext; private static App...
/* * The MIT License * * Copyright 2019 Intuit Inc. * * 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, modi...
/* * 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 CAAYcyclic.SystemAdiminClient.api.model; import com.google.gson.JsonElement; import com.google.gson.JsonPrimitive; import com....
/* * RoughMap.java: a class to provide a rough set * for TaxoNote based on Nomencurator data model * * Copyright (c) 2002, 2014, 2015 Nozomi `James' Ytow * All rights reserved. */ /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
/* * 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 ...
/* * 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 exercicio01; /** * * @author joao_ */ public class Produto { public String nome; public String descricao; publ...
package brute_force; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.PriorityQueue; /** * * @author minchoba * 백준 1417번: 국회의원 선거 */ public class Boj1417 { private static class Pair implements Comparable<Pair>{ int cnt; public Pair(int cnt) { this.cnt = cnt; } @...
package controlP5; /** * controlP5 is a processing gui library. * * 2007-2010 by Andreas Schlegel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 * of the L...
package com.nateshao.sword_offer2.Code_29_spiralOrder; /** * @date Created by 邵桐杰 on 2022/3/20 23:03 * @微信公众号 千羽的编程时光 * @个人网站 www.nateshao.cn * @博客 https://nateshao.gitee.io * @GitHub https://github.com/nateshao * @Gitee https://gitee.com/nateshao * Description: https://leetcode-cn.com/problems/shun-shi-zhen-da...
package com.ruihai.xingka.api.model; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by apple on 15/9/3. */ public class UserPhotoTopicRepo extends XKRepo { @SerializedName("myPhotoTopicMessages") private List<UserPhotoTopic> userPhotoTopicList; @SerializedName(...
/* * Copyright 2011-2020 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.intellij.grammar.psi.impl; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.TextRange; import com.intellij.patterns.ElementPattern; impo...
package ruolan.com.myhearts.entity; import java.io.Serializable; import java.util.List; /** * Created by Administrator on 2016/10/21. */ public class LordDetailBean implements Serializable { /** * errorCode : 0 * errorStr : success * resultCount : 30 * score : 0 * balance : 0 * ...
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; import com.fasterxml.jackson.databind.JsonNode; import io.airbyte.commons.json.Jsons; import io.airbyte.oauth.BaseOAuthFlow; import io.airbyte.oauth.MoreOAuthParameters; import java.util.Map; import org.junit.jupiter.api....
package au.gov.dva.dvasopapi.tests.mocks; import au.gov.dva.sopapi.interfaces.ProcessingRule; import au.gov.dva.sopapi.interfaces.model.Condition; import au.gov.dva.sopapi.interfaces.model.Factor; import au.gov.dva.sopapi.interfaces.model.SoP; import au.gov.dva.sopapi.interfaces.model.SoPPair; import com.google.common...
/** * 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 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 u...
package com.example.asus.tastenews.news.widget; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ProgressBar; import android.widget.Toast; import com.example.asus.tastenews.R; import com.example.asus.tastenews.beans.NewsBean; ...
/** * Copyright (c) 2016-2019 谷粒开源 All rights reserved. * * https://www.guli.cloud * * 版权所有,侵权必究! */ package com.yima.common.utils; import org.apache.commons.lang.StringUtils; import org.joda.time.DateTime; import org.joda.time.LocalDate; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.D...
package cha3; public class Exercise2 extends MyLinkedList { }
/* * Copyright 2017-2018 the original author(https://github.com/wj596) * * <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 * * ...
/* * 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.xrengine.xr.videocompressor.isoparser.boxes.dolby; import com.xrengine.xr.videocompressor.isoparser.boxes.iso14496.part1.objectdescriptors.BitReaderBuffer; import com.xrengine.xr.videocompressor.isoparser.boxes.iso14496.part1.objectdescriptors.BitWriterBuffer; import com.xrengine.xr.videocompressor.isopars...
/* * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package com.yyx.yyxframe; import android.content.Context; import android.content.res.AssetManager; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.support.annotation.ColorRes; import android.support.annotation.DrawableRes; impor...
package io.onedev.server.util.inputspec.passwordinput.defaultvalueprovider; import java.io.Serializable; import io.onedev.server.web.editable.annotation.Editable; @Editable public interface DefaultValueProvider extends Serializable { String getDefaultValue(); }
package nl.team_goliath.app.model; import com.google.protobuf.Message; public interface MessageListener { void onMessageReceived(Message message); void onError(String message); }
package uk.gov.hmcts.reform.iacasenotificationsapi.infrastructure.security.idam; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.springframework....
/* * Copyright (c) 2022 vitasystems GmbH and Hannover Medical School. * * This file is part of project openEHR_SDK * * 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...
package org.eurekaclinical.emorysendtoehcdwh.test; /*- * #%L * Eureka! Clinical User Agreement Service * %% * Copyright (C) 2016 Emory University * %% * 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 ...
package com.xugc.user.service; import com.xugc.user.domain.User; import java.util.List; import java.util.Map; /** * Created by xuguocheng on 2016/12/3. */ public interface UserService { public Map<String, Object> getAllUsers(); }
/* * Copyright (C) 2007 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.yandex.burp.extensions.plugins.audit; import burp.*; import com.yandex.burp.extensions.plugins.CustomScanIssue; import com.yandex.burp.extensions.plugins.config.BurpMollyPackConfig; import java.net.URL; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.UUID; imp...
package ${groupId}.${domain}.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiResponse; import io.swagger.annotations.ApiResponses; import ${groupId}.${domain}.entity.${domainCamelCase}; import ${groupId}.${domain}.dto.${domainCamelCase}InputDt...
/* * Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending */ package io.deephaven.db.v2.by; import io.deephaven.base.verify.Require; import io.deephaven.base.verify.Assert; import io.deephaven.util.QueryConstants; import io.deephaven.db.v2.hashing.*; // this is ugly to have twice, but we do need it twice f...
package net.wolftail.impl; public interface ExtensionsMinecraftServer { ImplMPCRoot wolftail_getRootManager(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cz.nkp.urnnbn.core.persistence.impl.statements; import java.sql.PreparedStatement; import java.sql.SQLException; import cz.nkp.urnnbn.core.dto.UrnNbnGenerator; import cz.nkp.urnnbn.core.persistence.UrnNbnGenera...
package com.dm.wallpaper.board.fragments.dialogs; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import andr...
package org.knowm.xchange.binance.service; import static org.knowm.xchange.binance.BinanceResilience.REQUEST_WEIGHT_RATE_LIMITER; import java.io.IOException; import org.knowm.xchange.binance.BinanceAuthenticated; import org.knowm.xchange.binance.BinanceExchange; import org.knowm.xchange.binance.dto.meta.BinanceSystem...
package com.scwang.smartrefresh.header; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.os.Build; import android.support.annotation.IdRes; import android.support.annotation...
// C08_BitwiseOperators.java /* The bitwise operators come from C's low-level orientation. * Where you often manipulate hardware directly and must set * the bits in hardware registers. Java was originally designed * to be embedded in TV set-top boxes, so this low-level orientation * still made sense. However, ...
package hudson.plugins.tfs.model; public class BuildParameter { public String name; public String value; }
/* * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. 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 *...
/* * 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.hedera.services.context; /*- * ‌ * Hedera Services Node * ​ * Copyright (C) 2018 - 2020 Hedera Hashgraph, 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 * * ...
package domain.message; import org.junit.Test; import static org.junit.Assert.*; public class QueueMessageTest { @Test public void getHeader() { final QueueMessage msg = new QueueMessage("weather", "18"); assertEquals("weather", msg.getHeader()); } @Test public void getBody() { ...
package com.hanzo.system.service; import com.hanzo.system.entity.SocialUserAuth; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author thy * @since 2020-12-04 */ public interface ISocialUserAuthService extends IService<SocialUserAuth> { }
package misterl2.sfutilities.database; import misterl2.sfutilities.database.datatypes.ChestLogRow; import misterl2.sfutilities.database.datatypes.LocationDataClass; import misterl2.sfutilities.database.datatypes.LogRow; import org.slf4j.Logger; import org.spongepowered.api.Sponge; import org.spongepowered.api.service....
package org.basex.core.cmd; import static org.basex.core.Text.*; import org.basex.core.*; import org.basex.core.parse.*; import org.basex.core.parse.Commands.*; import org.basex.data.*; import org.basex.io.*; import org.basex.util.list.*; /** * Evaluates the 'drop database' command and deletes a database. * * @au...
package com.ssm.entity; import java.io.Serializable; import java.util.List; public class Module implements Serializable{ /** * @description: * @version 1.0 * @author IMANON * @createDate 2014-1-19;下午10:50:53 */ private static final long serialVersionUID = -802635025492388679L; /** * This field...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; /** * Protobuf type {@code POGOProtos.Rpc.OpenCombatSessionOutProto} */ public final class OpenCombatSessionOutProto extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_inser...
package mage.cards.c; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.cards.Cards; import mage.cards.CardsImpl; import mage.constants.CardType; import mage.constants.Outcome...
package com.zebra.common.exception.user; /** * 用户错误记数异常类 * * @author ruoyi */ public class UserPasswordRetryLimitCountException extends UserException { private static final long serialVersionUID = 1L; public UserPasswordRetryLimitCountException(int retryLimitCount) { super("user.password.retr...
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package com.google.code.beanmatchers; import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanConstructor; import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEquals; import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEqualsExcluding; import static com.google.code.beanmatch...
package personalfinance.gui.table; import personalfinance.gui.table.model.CurrencyTableModel; import personalfinance.gui.table.renderer.MainTableCellRenderer; import personalfinance.model.Currency; import personalfinance.settings.Style; import personalfinance.settings.Text; import javax.swing.*; import java.awt.*; p...
package fi.hh.swd4tn020.CocktailList.domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Kayttaja { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Co...
package com.haisenhong.flicker.data.models.responses; import android.os.Parcelable; import java.util.Arrays; /** * Created by hison7463 on 10/12/16. */ public class GetMoviesResponse { private int page; private Result[] results; private Date dates; private int total_pages; private int total_r...
package de.gurkenlabs.litiengine.sound; import javax.sound.sampled.AudioFormat; public interface Track extends Iterable<Sound> { public AudioFormat getFormat(); }
package com.mishinyura.university.services.impl; import com.mishinyura.university.dao.TimeDAO; import com.mishinyura.university.domain.Time; import com.mishinyura.university.services.TimeService; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import jav...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package io.axoniq.demo.tep; import io.axoniq.demo.tep.model.CreateDummyAggregateCommand; import org.axonframework.commandhandling.gateway.CommandGateway; import org.axonframework.config.EventProcessingConfiguration; import org.axonframework.eventhandling.EventTrackerStatus; import org.axonframework.eventhandling.Track...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
package strategy; public class Ryu extends Fighter { public Ryu(KickBehavior kickBehavior, JumpBehavior jumpBehavior) { super(kickBehavior, jumpBehavior); } public void display() { System.out.println("Ryu"); } }
package com.ketai.gmall.sms.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.atguigu....
/** * Copyright 2015 Huawei Technologies Co., Ltd. All rights reserved. * eSDK is 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 * *...
package com.divinitor.discord.wahrbot.core.config.dyn; public interface BooleanDynConfigHandle { boolean getBoolean(); }
/* * Fixture Monkey * * Copyright (c) 2021-present NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package com.ornoma.httpcache.file; import com.ornoma.httpcache.Cache; import com.ornoma.httpcache.ProxyCacheException; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; /** * {@link Cache} that uses file for storing data. * * @author Alexey Danilov (danikula@gmail.com). */ public ...
/* * 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.hederahashgraph.builder; /*- * ‌ * Hedera Services API * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, 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 * * ...
package com.lucasmira.dscatalog.components; import java.util.HashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken; import org.springframework.security.oauth2.common.OAuth2AccessToken; import org.springf...
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software ...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2015-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 * * http://www.apache.org/license...
package com.withabound.models.documents.account_statements; import lombok.Builder; import lombok.Setter; @Builder @Setter public class AccountStatementDocumentSummary { private Double beginningBalance; private Double endingBalance; private Double interestPercentage; private Double interestAmount; privat...
package com.alibaba.graphscope.groot.frontend.write; import com.alibaba.maxgraph.common.config.CommonConfig; import com.alibaba.maxgraph.common.config.Configs; import com.alibaba.maxgraph.common.RoleType; import com.alibaba.graphscope.groot.rpc.ChannelManager; import com.alibaba.graphscope.groot.rpc.RoleClients; impo...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.example.infosetreactnative; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClien...
package Abstraction.Lab.P02CarShopExtended; public interface Rentable extends Car{ Integer getMinRentDay(); Double getPricePerDay(); }
/** * This client was automatically generated by Segment Typewriter. ** Do Not Edit ** */ package com.segment.generated; import java.util.*; import com.segment.analytics.Analytics; import com.segment.analytics.Options; import com.segment.analytics.Properties; import android.content.Context; import androidx.annotatio...
/** * Copyright 2014 Internet2 * * 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 ...
/* * Copyright (c) 2002-2018 Gargoyle Software 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 ...
/* * 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 dp.resolver.asp; import dp.resolver.parse.exception.NoConflictException; import java.io.IOException; import java.util.*; /********************************* Created by Fabian Oraze on 21.01.21 *********************************/ public class AnswerSetData { private Map<String, Integer> idMap; priva...
package br.com.felipemaxplay.pringbootjpa.controller; import br.com.felipemaxplay.pringbootjpa.model.entity.Produto; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; import java.util.Optional; public interface ProdutoControllerInt { @Po...
package com.geekbang.shengfq.week2.netty.echo; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageCodec; import io.netty.handler.codec.http.FullHttpRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; /** * 系统...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE113_HTTP_Response_Splitting__console_readLine_setHeaderServlet_07.java Label Definition File: CWE113_HTTP_Response_Splitting.label.xml Template File: sources-sinks-07.tmpl.java */ /* * @description * CWE: 113 HTTP Response Splitting * BadSource: console_readLine Read dat...
package ru.betterend.entity; import java.util.List; import java.util.Random; import net.minecraft.block.Blocks; import net.minecraft.entity.EntityType; import net.minecraft.entity.ItemEntity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.SpawnReason; import net.minecraft.entity.attribute.Defau...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
/* * Copyright (c) 2014, Victor Nazarov <asviraspossible@gmail.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 no...
package com.gmy.gulimall.member.service; import com.baomidou.mybatisplus.extension.service.IService; import com.gmy.common.utils.PageUtils; import com.gmy.gulimall.member.entity.MemberLoginLogEntity; import java.util.Map; /** * 会员登录记录 * * @author gmy * @email guanmengyang528@gmail.com * @date 2022-03-17 11:33:1...
/* * 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 required by a...
/* * Copyright 2019 TWO SIGMA OPEN SOURCE, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2015 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...