text stringlengths 7 995k |
|---|
package api;
import api.core.AsyncKVStore;
import api.core.RocksDBConfiguration;
import api.core.exception.DeleteAllFailedException;
import api.core.exception.FindFailedException;
import api.core.exception.SaveFailedException;
import api.mapper.exception.SerDeException;
import java.util.ArrayList;
import java.util.L... |
/**
* 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... |
/*
* 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... |
package ru.szhernovoy.model;
import java.util.Date;
/**
* Created by admin on 27.11.2016.
*/
public class User {
private final String email;
private final String name;
private final String login;
private long createDate;
private Date create;
public String getEmail() {
return email;... |
package annotility;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.Messager;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.la... |
package cn.ve.message.netty;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerAdapter;
import io.netty.channel.ChannelHandlerContext;
import io.netty.util.ReferenceCountUtil;
/**
* @author ve
* @date 2022/2/24
*/
public class DiscardServerHandler2 extends ChannelHandlerAdapter {
@Override... |
package org.mili.order.dao;
import org.mili.order.entity.OrderOperateHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 订单操作历史记录
*
* @author sherlock
* @email mamenglong076@qq.com
* @date 2021-01-25 15:16:52
*/
@Mapper
public interface Orde... |
package com.kshrd.derphsar_api.configuration;
import com.google.common.collect.Lists;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.builders.ApiInfoBuilder;
im... |
package voss.discovery.iolib;
import voss.discovery.iolib.console.ConsoleException;
import java.io.IOException;
public interface Access {
void setMonitor(ProgressMonitor monitor);
ProgressMonitor getMonitor();
void close() throws IOException, ConsoleException;
} |
// This file is part of CPAchecker,
// a tool for configurable software verification:
// https://cpachecker.sosy-lab.org
//
// SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.cpachecker.pcc.strategy.partitioning;
import org.sosy_la... |
// DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//151. Reverse Words in a String
//Given an input string, reverse the string word by word.
//For example,
//Given s = "the sky is blue",
//return "blue... |
package edu.uw.comchat.ui.chat.chatroom;
import android.app.Application;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LifecycleOwner;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.Observer;
import com.android.v... |
/*
* 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.jeecg.common.util.jsonschema;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@Slf4j
public class JsonschemaUtil {
/**
* 生成JsonSchema
*
* @param descrip descrip
* @param propertyList... |
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class fail_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFact... |
package ar.com.kfgodel.function.arrays.boxed.chars.arrays.boxed;
import ar.com.kfgodel.function.arrays.boxed.chars.arrays.ArrayOfBoxedCharacterToArrayOfObjectFunction;
/**
* Date: 29/07/17 - 19:57
*/
public interface ArrayOfBoxedCharacterToArrayOfBoxedByteFunction extends ArrayOfBoxedCharacterToArrayOfObjectFunctio... |
/*
* 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... |
package javaposse.jobdsl.plugin;
import hudson.model.Item;
import hudson.model.listeners.ItemListener;
import java.util.logging.Logger;
public class SeedJobItemListener extends ItemListener {
private static final Logger LOGGER = Logger.getLogger(SeedJobItemListener.class.getName());
@Override
public voi... |
package cn.cici.frigate.i18n.manager.jpa.repository;
import cn.cici.frigate.i18n.manager.jpa.entity.CodeMessage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.List;
/**
* @d... |
/*
* 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 dev.sheldan.abstracto.core.command.exception;
import dev.sheldan.abstracto.core.command.model.exception.CommandParameterKeyValueWrongTypeExceptionModel;
import dev.sheldan.abstracto.core.exception.AbstractoRunTimeException;
import dev.sheldan.abstracto.core.templating.Templatable;
import java.util.List;
publ... |
package com.xeiam.xchange.hitbtc;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.xeiam.xchange.currency.CurrencyPair;
import com.xeiam.xchange.dto.Order;
import com.xeiam.xchange.dto.Order.OrderType;
import com.xeiam.xchange.dto.... |
package com.evernym.sdk.vcx.connection;
/**
* Created by abdussami on 05/06/18.
*/
import com.evernym.sdk.vcx.LibVcx;
import com.evernym.sdk.vcx.ParamGuard;
import com.evernym.sdk.vcx.VcxException;
import com.evernym.sdk.vcx.VcxJava;
import com.sun.jna.Callback;
import org.slf4j.Logger;
import org.slf4j.LoggerFac... |
/**
* Copyright (c) 2008-2010 Ardor Labs, Inc.
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
package com.ardor3d.util;
i... |
/* 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
* distribut... |
package io.basc.framework.messageing;
public class ObjectFragmentMessage<T> extends AbstractMessage<T> implements FragmentMessage<T> {
private int length;
private boolean last;
public ObjectFragmentMessage(T payload, int length, boolean last) {
super(payload);
this.length = length;
this.last = last;
}
pub... |
/**
* Copyright © 2020-2021 ForgeRock AS (obst@forgerock.com)
*
* 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 com.bestlmc.lihuamao.biz.vo;
import com.bestlmc.lihuamao.base.vo.BaseVO;
import lombok.Data;
/**
* @Description: 字典实体类
* @Author bestlmc
* @Date 2021/6/24 14:50
*/
@Data
public class SysDictVO extends BaseVO<SysDictVO> {
/**
* 自增键oid
*/
private Integer oid;
/**
* 字典名称
*/
... |
/*
* Copyright 2018-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... |
package com.fit.utils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream... |
package com.standards.libhikvision.activity.widget.player.video;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import com.hikvision.sdk.VMSNetSDK;
import com.hikvision.sdk.net.bean.CustomRect;
import com.hikvision.sdk.net.bean.PlaybackSpeed;
import com.hikvision.sdk.net.business.OnVMSNetSDKBusin... |
/*
* 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 ch.unisg.ics.interactions.wot.td.clients;
import ch.unisg.ics.interactions.wot.td.affordances.Form;
import ch.unisg.ics.interactions.wot.td.schemas.ArraySchema;
import ch.unisg.ics.interactions.wot.td.schemas.DataSchema;
import ch.unisg.ics.interactions.wot.td.schemas.ObjectSchema;
import ch.unisg.ics.interact... |
package com.eztexting.api.client.api.credits.model;
import com.eztexting.api.client.api.common.model.EzTextingModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class CreditBalance extends EzTextingModel {
private Long planCredits;
private Long anytimeCredits;
private Long totalCredits... |
/*
* Copyright (C) 2011 Google 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 ... |
/*
* 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 edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.templates.OI;
import edu.wpi.first.wpilibj.templates.subsystems.CameraMovement;
import edu.wpi.fir... |
/*
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* 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/LICEN... |
package com.theboss.kzeaddonfabric.wip;
import com.mojang.blaze3d.systems.RenderSystem;
import com.theboss.kzeaddonfabric.screen.Screen;
import net.minecraft.client.render.BufferBuilder;
import net.minecraft.client.render.Tessellator;
import net.minecraft.client.render.VertexFormats;
import net.minecraft.client.util.m... |
package br.com.rafael.webhipster.web.rest;
import com.codahale.metrics.annotation.Timed;
import br.com.rafael.webhipster.domain.PersistentToken;
import br.com.rafael.webhipster.domain.User;
import br.com.rafael.webhipster.repository.PersistentTokenRepository;
import br.com.rafael.webhipster.repository.UserRepository;... |
/*
* Copyright 2013-2017 Simba Open Source
*
* 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 com.yang.selectcontacts;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class MainActivity extends AppCompatActivity {
... |
package com.cezarykluczynski.stapi.server.food.mapper;
import com.cezarykluczynski.stapi.client.v1.rest.model.FoodBase;
import com.cezarykluczynski.stapi.model.food.dto.FoodRequestDTO;
import com.cezarykluczynski.stapi.model.food.entity.Food;
import com.cezarykluczynski.stapi.server.common.mapper.RequestSortRestMapper... |
package pl.uj.io.cuteanimals.model;
import java.util.List;
import pl.uj.io.cuteanimals.model.interfaces.IAttributes;
import pl.uj.io.cuteanimals.model.interfaces.ICharacter;
import pl.uj.io.cuteanimals.model.interfaces.IEquipment;
/**
* Provides methods to manage npc character.
*
* @version %I%
* @since 0.2.0-SNA... |
package org.samovich.cop2800.chapter4;
/**
* Filename CreatePolicies.java
* Created by Valery Samovich
* Written on 5/24/16
*/
public class CreatePolicies {
public static void main(String[] args) {
CarInsurancePolicy2 first = new CarInsurancePolicy2(123);
CarInsurancePolicy2 second = new CarI... |
/*
* Copyright (c) 2017, Adam <Adam@sigterm.info>
* 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
* li... |
package com.github.dergil.kompsys.dto.exception;
public class EntryNotFoundException extends RuntimeException {
public EntryNotFoundException(Class<?> clazz, long id) {
super(String.format("Entity %s with id %d not found", clazz.getSimpleName(), id));
}
public EntryNotFoundException(Class<?> clazz, String ... |
package com.example.islandmark.model;
import com.google.ar.sceneform.ux.BaseTransformableNode;
import com.google.ar.sceneform.ux.SelectionVisualizer;
public class CustomVisualizer implements SelectionVisualizer {
@Override
public void applySelectionVisual(BaseTransformableNode node) {
}
@Override
... |
package com.example.ankit.speechtotext;
import android.speech.tts.TextToSpeech;
import android.util.Log;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import java.util.Locale;
import android.app.Activity;
import android.os.Bundle;
impo... |
/*
* BSD 2-Clause License
*
* Copyright (c) 2021, Riley McGee
* 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,... |
package br.com.californiamobile.organizze.model;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.database.DatabaseReference;
import br.com.californiamobile.organizze.config.ConfiguracaoFirebase;
import br.com.californiamobile.organizze.helper.Base64Custom;
import br.com.californiamobile.organi... |
package io.stargate.auth;
import io.stargate.db.query.BoundDMLQuery;
import io.stargate.db.query.BoundSelect;
import io.stargate.db.query.PartitionKey;
import io.stargate.db.query.PrimaryKey;
import io.stargate.db.query.RowsImpacted;
import io.stargate.db.query.RowsRange;
import io.stargate.db.query.TypedValue;
import... |
package org.karp.k4t.data.content.provider.user;
import org.apache.commons.lang3.RandomUtils;
import org.karp.k4t.model.User;
import org.springframework.stereotype.Service;
import javax.validation.constraints.NotNull;
import java.time.ZonedDateTime;
@Service
public class UserDateOfRegistrationProvider {
public ... |
package com.hover.stax.utils.paymentLinkCryptography;
import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
imp... |
/*
* Copyright 2019-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... |
/**
* Copyright 2009-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
*
* Unle... |
package Factory.Pizza;
import Decarator.MixPizzaOrder;
public class MixStyleTraditionalPizza extends Pizza{
public MixStyleTraditionalPizza() {
//Mix pizza -> traditional
MixPizzaOrder mixPizzaOrder = new MixPizzaOrder();
mixPizzaOrder.MixTraditional();
name = mixPizzaOrder.getPi... |
/*
* A class representing a request a person would make when calling an elevator
*
* @author Matthew Grunauer
*/
public class Request{
private int sourceFloor;
private int destinationFloor;
private int timeEntered;
/*
* This method is the main constructor for an object of type Request
* ... |
package de.team33.libs.typing.v4;
import static java.util.Collections.emptyList;
class PlainClassType extends DiscreteType {
PlainClassType(final Class<?> rawClass) {
super(rawClass, emptyList());
}
} |
/*
* Multiverse 2 Copyright (c) the Multiverse Team 2011.
* Multiverse 2 is licensed under the BSD License.
* For more information please check the README.md file included
* with this project.
*/
package com.onarandombox.MultiverseSignPortals;
import com.dumptruckman.minecraft.util.Logging;
import com.onarandomb... |
package ex20.pyrmont.modelmbeantest1;
import javax.management.Attribute;
import javax.management.Descriptor;
import javax.management.MalformedObjectNameException;
import javax.management.MBeanOperationInfo;
import javax.management.MBeanParameterInfo;
import javax.management.MBeanServer;
import javax.management.MBeanSe... |
/*
* Copyright 2014-2019 Real 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.android.base.conts;
public class AcacheKeys {
public final static String LOGIN_CACHE = "key_login_cache";
public final static String USER_BASE_INFO = "key_user_base_cache";
public final static String ACCOUNT_PHONE = "key_user_phone";
public final static String HOME_NAVIGATION = "key_... |
package org.openobservatory.ooniprobe.ui.resultdetails;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import com.schibsted.spain.barista.rule.flaky.AllowFlaky;
import com.schibsted.spain.barista.rule.flaky.FlakyTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import or... |
/*
* Autopsy Forensic Browser
*
* Copyright 2019 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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://ww... |
/*
* Copyright (C) 2012 Ness Computing, Inc.
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applica... |
package io.sease.solr.qty;
import io.sease.solr.qty.domain.EquivalenceTable;
import io.sease.solr.qty.domain.QuantityOccurrence;
import io.sease.solr.qty.domain.Unit;
import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.search.LuceneQParserPlugin;
import... |
package com.codersong.shopcart.ui.shopcart.activity;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.app.Activity;
import android.content.res.AssetManager;
import android.graphics.Path;
import android.graphics.PathMeasure;
import android.os.Bundle;
import android.support.v7.ap... |
package org.smart4j.framework;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.smart4j.framework.core.ClassScanner;
import org.smart4j.framework.core.ConfigHelper;
import org.smart4j.framework.core.impl.DefaultClassScanner;
import org.smart4j.framework.dao.DataAccessor;
import org.smart... |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2004 Ondrej Lhotak
*
* 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 License, or (at your option)... |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... |
package com.github.mrysav.smiles;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
import io.socket.client.IO;
import io.socket.client.Socket;
import io.socket.emitter.Emitter;
import java.net.URISyntaxException;
import java.util.regex.Ma... |
/*
* 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
* distribut... |
package com.webank.wedatasphere.streamis.jobmanager.appconn.ref;
import com.webank.wedatasphere.dss.standard.app.development.WorkspaceRequestRef;
import com.webank.wedatasphere.dss.standard.app.sso.Workspace;
import com.webank.wedatasphere.dss.standard.common.entity.ref.AbstractRequestRef;
import java.util.List;
/**... |
/*
* Copyright 2002-2020 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 net.a6te.lazycoder.andropos.modelClass;
/**
* Created by Programmer on 5/21/2017.
*/
public class StockDatabaseModel {
private String ProductId;
private String ProductType;
private String ProductQuantity;
private String ProductFor;
public StockDatabaseModel(){
}
public Stock... |
/*
* 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 ... |
/**
* 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... |
/*
* Copyright 2017 LINE Corporation
*
* LINE Corporation licenses this file to you 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 r... |
package br.usp.bbt;
import org.apache.commons.csv.*;
import java.util.*;
import java.io.*;
/**
* Representa um registro que pode ser lido/escrito num arquivo.
*
* **Aviso:** Cuidado com a ordem dos dados na pilha. Para carregar o
* Registro de volta na memória os dados serão desempilhados em ordem
* reversa à qu... |
package com.quizemon.admin.controllers;
import com.quizemon.admin.ResponseExceptions;
import com.quizemon.admin.arangoentities.QuestionDao;
import com.quizemon.admin.arangorepositories.QuestionRepo;
import com.quizemon.admin.types.Question;
import org.springframework.beans.factory.annotation.Autowired;
import org.spri... |
/*
* 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.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 菜品简化接口套餐组明细信息
*
* @author auto create
* @since 1.0, 2020-12-10 14:08:02
*/
public class KbdishGroupDetailSimplifyInfo extends AlipayObject {
private static final long serialVersionUID = 664... |
package net.silve.smtpc.client.fsm;
import io.netty.handler.codec.smtp.SmtpResponse;
import net.silve.smtpc.client.SendStatus;
import net.silve.smtpc.message.Message;
import org.jetbrains.annotations.NotNull;
import java.util.Objects;
import static net.silve.smtpc.client.fsm.ConstantStates.INIT_STATE;
public class ... |
/*
* Copyright 2008 Google 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 i... |
/*
* Copyright © 2017-2021 Dominic Heutelbeck (dominic@heutelbeck.com)
*
* 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 r... |
package com.github.hcsp.datatype;
public class Cast {
// Cast an int to byte
// 将int类型转换成byte
public static byte int2byte(int i) {
return (byte) i;
}
// Cast an int to short
// 将int类型转换成short
public static short int2short(int i) {
return (short) i;
}
// Cast an int... |
/*
* 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 may ... |
package com.github.zitnik.heosnotifscrobbler;
import android.content.Context;
import java.util.concurrent.Executor;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import javax.security.auth.login.LoginException;
import de.umass.... |
package us.ihmc.atlas.ros;
import java.net.URI;
import java.util.LinkedHashMap;
import java.util.concurrent.ArrayBlockingQueue;
import controller_msgs.msg.dds.AtlasAuxiliaryRobotData;
import us.ihmc.humanoidRobotics.communication.packets.manipulation.AtlasElectricMotorPacketEnum;
import us.ihmc.utilities.ros.RosMainN... |
/*
* Copyright 2018 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 io.flutter.perf;
import com.google.gson.JsonObject;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.util.Dis... |
package io.nusmanov.hexagonal.library.domain.user.core.model;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@Embeddable
@EqualsAndHashCode
public class EmailAddress {
@Column(name="email")
... |
package tsg.mwe;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
import util.PrintProgress;
public class Convert_NYT_Connl {
String wordSuffix = ".words";
String lemmaSuffix = ".lemmas";
String posSuffix = ".pos";
//Fil... |
package pl.allegro.tech.build.axion.release.infrastructure.git;
import org.eclipse.jgit.api.TransportConfigCallback;
import org.eclipse.jgit.transport.HttpTransport;
import org.eclipse.jgit.transport.NetRCCredentialsProvider;
import org.eclipse.jgit.transport.SshTransport;
import org.eclipse.jgit.transport.UsernamePas... |
package com.java110.fee.listener.config;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.constant.BusinessTypeConstant;
import com.java110.utils.constant.ResponseConstant;
import com.java110.utils.constant.StatusConstant;
import com.java110.utils.exception.Listen... |
package ru.stqa.pft.addressbook.tests;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.ContactData;
import ru.stqa.pft.addressbook.model.Contacts;
import ... |
package org.ethereum.db;
import org.ethereum.config.SystemProperties;
import org.ethereum.core.AccountState;
import org.ethereum.core.Block;
import org.ethereum.core.Repository;
import org.ethereum.crypto.HashUtil;
import org.ethereum.datasource.*;
import org.ethereum.util.ByteUtil;
import org.ethereum.util.FastByteCo... |
/*
* 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... |
package org.folio.rest.impl;
import static java.util.Map.entry;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.apache.http.HttpStatus.SC_BAD_REQUEST;
import static org.apache.http.HttpStatus.SC_NO_CONTENT;
import static org.apache.http.HttpStatus.SC_UNPROCESSABLE_ENTITY;
import static org.folio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.