text stringlengths 7 995k |
|---|
package org.iton.messenger.api;
import io.netty.buffer.ByteBuf;
import org.iton.messenger.core.TLContext;
import java.io.IOException;
import static org.iton.messenger.core.utils.StreamingUtils.readLong;
import static org.iton.messenger.core.utils.StreamingUtils.writeLong;
public class TLInputVideoFileLocation exten... |
package com.example.mybatis.demomybatis.entity;
import java.io.File;
import java.io.IOException;
import org.junit.Test;
/**
* @author jacksparrow414
* @date 2021/4/11
*/
public class ChildExceptionTest {
public class Father {
public void father_function() throws IOException {
new File(... |
/**
* Copyright (C) 2004-2011 Jive Software. 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 requir... |
package com.kintone.client.model.app.report;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.Simpl... |
package ml.bastiaan.rfidviewer.activities;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.IntentFilter;
import android.nfc.tech.NfcA;
import android.nfc.tech.MifareClassic;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.os.Bundle;
import android.os.Handle... |
package edu.fatec.profg.contactlist;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public... |
package linea;
import javax.swing.JOptionPane;
public class TestLinea{
public static void main(String arg[]){
Linea la=new Linea(new Punto(0.0,0.0),new Punto(1.0,1.0));
Linea lb=new Linea(new Punto(0.0,0.0),new Punto(-1.0,1.0));
JOptionPane.showMessageDialog(null,"La linea es de: "+la.imprime_linea());
JO... |
/*
* Copyright 2015-2018 Micro Focus or one of 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... |
package com.starkinc.stopic.repository;
import com.starkinc.stopic.dto.TopicsDTO;
import com.starkinc.stopic.entity.Message;
import com.starkinc.stopic.entity.Topic;
/**
* @author RajaSushanth
*
*/
public interface TopicCustomRepository {
Topic findAndUpdateMessage(String topicName, Message message);
TopicsDTO f... |
/* Copyright (c) 2012-2013 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Cont... |
package com.nimbus.engine.extension;
import com.nimbus.engine.Nimbus;
import com.nimbus.engine.Renderer;
import com.nimbus.engine.ecs.Datastore;
public abstract class AScene {
private Datastore datastore;
// Instantiate the data store
protected AScene() {
datastore = new Datastore();
}
// Life cycle method:... |
package com.example.oigami.twimpt.twimpt;
import com.example.oigami.twimpt.twimpt.TwimptLogData;
import com.example.oigami.twimpt.twimpt.room.TwimptRoom;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.C... |
package de.uniks.networkparser.gui;
/*
The MIT License
Copyright (c) 2010-2016 Stefan Lindel https://www.github.com/fujaba/NetworkParser/
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 ... |
/*
* Copyright (c) 2019-present AlanWang4523 <alanwang4523@gmail.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.g4mesoft.word;
public class WordEquationSubscript extends WordEquationElement {
public final WordEquationSymbol primary;
public final WordEquationSymbol subscript;
public WordEquationSubscript(WordEquationSymbol primary, WordEquationSymbol subscript) {
this.primary = primary;
this.subscript = sub... |
/**
* 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 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... |
/* SPDX-License-Identifier: Apache-2.0 */
package io.openlineage.spark.agent.lifecycle;
import com.google.common.collect.ImmutableList;
import io.openlineage.client.OpenLineage;
import io.openlineage.client.OpenLineage.Dataset;
import io.openlineage.client.OpenLineage.InputDataset;
import io.openlineage.client.OpenLi... |
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package com.odelan.qwork.ui.activity.main;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
im... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 广告内容查询
*
* @author auto create
* @since 1.0, 2018-01-10 14:43:22
*/
public class KoubeiAdvertDeliveryDiscountAuthwebBatchqueryModel extends AlipayObject {
private static final long serialVe... |
package hello;
import java.util.ArrayList;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/*
* Class used for API Endpoint testing
*/
@RestController
public class OSMNodeContr... |
/*
* Copyright 2014 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 required by applicable law or agreed to in ... |
/*
* Copyright 2016 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... |
package org.zstack.network.service.vip;
import org.zstack.header.message.APIEvent;
/**
* Created by frank on 6/15/2015.
*/
public class APIUpdateVipEvent extends APIEvent {
private VipInventory inventory;
public VipInventory getInventory() {
return inventory;
}
public void setInventory(Vip... |
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: test.fbe
// Version: 1.2.0.0
package test.fbe;
import java.io.*;
import java.lang.*;
import java.lang.reflect.*;
import java.math.*;
import java.nio.ByteBuffer;
import java.nio... |
package carpet.mixins;
import carpet.CarpetSettings;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.server.world.ServerWorld;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.i... |
/*
* 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 uk.gov.ida.hub.config.domain;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.exc.InvalidFormatException;
import org.hamcrest.core.StringContains;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import javax.validation.Constrain... |
package ro.uvt.space.main;
import static javax.media.opengl.GL.GL_BACK;
import static javax.media.opengl.GL.GL_COLOR_BUFFER_BIT;
import static javax.media.opengl.GL.GL_CULL_FACE;
import static javax.media.opengl.GL.GL_DEPTH_BUFFER_BIT;
import static javax.media.opengl.GL.GL_DEPTH_TEST;
import static javax.media.opengl... |
/*
* (C) Copyright IBM Corp. 2016, 2021
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.client;
import java.util.List;
import java.util.Map;
import javax.ws.rs.core.MultivaluedHashMap;
import javax.ws.rs.core.MultivaluedMap;
import com.ibm.fhir.model.type.code.ResourceType;
/**
* This class is... |
package org.ban.google_scholar;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.concurrent.ExecutionException;
/**
* User: ban
* Date: 9. 6. 2015
* ... |
package io.connectedhealth_idaas.eventbuilder.dataobjects.clinical.hl7;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
public class IPR {
private String IPR_1_IPRIdentifier;
private String IPR_2_ProviderCrossReferenceIdentifier;
private String IPR_3_PayerCrossReferenceIdentifier;
p... |
package com.greenlemonmobile.app.ebook.adapter;
import java.io.File;
import java.util.ArrayList;
import org.ebookdroid.CodecType;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package mage.cards.f;
import java.util.UUID;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.keyword.MadnessAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.Target... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/common/criteria.proto
package com.google.ads.googleads.v9.common;
/**
* <pre>
* An age range criterion.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v9.common.AgeRangeInfo}
*/
public final class AgeRangeInfo... |
/**
* Copyright (c) 2011-2013, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list o... |
/*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
// A rule is a mySQL query string that should return a number, a range of expected values and a brief description.
/** \page ExampleRulesFile
Example rules file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
max(ARTreasureHunt totalTime)
SELECT MAX(totalTime) FROM mygame.ARTreasureHunt
2000
10000
min(augmentedresistance totalTime)... |
/*
* 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 no.ntnu.epsilon_backend.tables;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Generat... |
package com.baronzhang.android.weather.activity.component;
import com.baronzhang.android.weather.activity.CityManagerActivity;
import dagger.Component;
import com.baronzhang.android.weather.ApplicationComponent;
import com.baronzhang.android.weather.activity.module.CityManagerModule;
import com.baronzhang.android.wea... |
package com.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.SkuBoundsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品spu积分设置
*
* @author fengge
* @email fengge@atguigu.com
* @date 2020-09-21 19:42:53
*/
@Mapper
public interface ... |
/*
* 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 (c) Microsoft and contributors. 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 r... |
package Medium;
import org.junit.Test;
import static org.junit.Assert.*;
public class MaxProdSubArrayTest {
@Test
public void maxProduct() {
MaxProdSubArray maxProdSubArray = new MaxProdSubArray();
int [] nums;
int res;
// nums = new int[]{2, 3, -2, 4};
// res = maxProd... |
package com.google.android.gms.common.api;
import com.google.android.gms.common.api.Result;
/* compiled from: com.google.android.gms:play-services-basement@@17.3.0 */
public class Response<T extends Result> {
private T zza;
public Response() {
}
protected Response(T t) {
this.zza = t;
}
... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.sync.v1.service.synclist;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.twilio.Twilio;
import com.twilio.converter.DateConverter;
import com.twilio.converter.Pro... |
package com.dotcms.rest.annotation;
import com.dotcms.repackage.javax.ws.rs.NameBinding;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* When your resource method needs a initial attributes on the... |
package com.ve.locker.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 时区枚举
*
* @author yezhiqiu
* @date 2021/08/13
*/
@Getter
@AllArgsConstructor
public enum ZoneEnum {
/**
* 上海
*/
SHANGHAI("Asia/Shanghai", "中国上海");
/**
* 时区
*/
private final String zone;... |
/**
* 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.cheng.jetblog.web;
import com.cheng.jetblog.service.BlogService;
import com.cheng.jetblog.service.CategoryService;
import com.cheng.jetblog.service.TagService;
import com.cheng.jetblog.vo.BlogQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageab... |
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ecs20140526.models;
import com.aliyun.tea.*;
public class DetachKeyPairResponse extends TeaModel {
@NameInMap("RequestId")
@Validation(required = true)
public String requestId;
@NameInMap("TotalCount")
@Validation(required ... |
/*
Copyright 2015 Google 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 by applicable law or agreed to in ... |
/*
Derby - Class org.apache.derby.impl.sql.compile.FromList
Copyright 1997, 2004 The Apache Software Foundation or its licensors, as applicable.
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... |
package com.uwetrottmann.shopr.ui.explanation;
import com.uwetrottmann.shopr.algorithm.model.Attributes.Attribute;
import com.uwetrottmann.shopr.algorithm.model.Sex;
public class GenderPreferenceActivity extends PreferenceGridActivity {
public static final String TAG = GenderPreferenceActivity.class
.getSimpleNa... |
package com.auth0.client.mgmt;
import com.auth0.client.HttpOptions;
import com.auth0.client.MockServer;
import com.auth0.client.ProxyOptions;
import com.auth0.net.Telemetry;
import com.auth0.net.TelemetryInterceptor;
import okhttp3.*;
import okhttp3.logging.HttpLoggingInterceptor;
import org.junit.After;
import org.ju... |
package com.cjburkey.bullet.parser.component.expression;
import com.cjburkey.bullet.antlr.BulletLangParser;
import com.cjburkey.bullet.parser.Base;
import com.cjburkey.bullet.parser.BaseV;
import com.cjburkey.bullet.parser.RawType;
import com.cjburkey.bullet.parser.component.Scope;
import it.unimi.dsi.fastutil.objects... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TransactionEnvironment1Code.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleTy... |
package com.wmct.jianbing.luciaweather.service;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.IBinder;
import android.os.SystemClock;
import android.preference.PreferenceManager;
... |
/*******************************************************************************
* Copyright (c) 2006-2010 eBay 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
... |
package org.nick.wwwjdic.app.kanjivg;
import com.googlecode.objectify.Key;
import org.nick.wwwjdic.app.server.CacheController;
import javax.inject.Inject;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.List;
import java.util.logging.Logger;
import java.util.zip.GZIPInputStream;
imp... |
package com.tele.udpplayer.activity;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.text.TextUtils;
import android.view.MotionEvent;... |
package rsc.publisher;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
import rsc.subscriber.IntReducer;
public final class PublisherMaxInt extends PublisherSource<Integer, Integer> {
public PublisherMaxInt(Publisher<? extends Integer> source) {
super(source);
}
@Ov... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.ice.restring;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mockito.... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* (c) 2005 David B. Bracewell
*
* 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, Ve... |
/*
* Copyright (C) 2016 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... |
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package edu.bridge.controller;
import edu.bridge.domain.CommonRequestBody;
import edu.bridge.domain.CommonResult;
import edu.bridge.domain.Profile;
import edu.bridge.service.ProfileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import... |
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class VisionExperiment {
public static final int WIDTH = 16;
public static final int HEIGHT = 16;
/**
* This method preps an image for input into a neural network.
*
* @param image Th... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2019 Developer Gao.
*
* 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 w... |
package ygf.tinyrpc.jessie;
public class Config {
} |
package com.dlsc.preferencesfx.util;
import static com.dlsc.preferencesfx.util.Ascii.containsIgnoreCase;
import com.dlsc.preferencesfx.model.Category;
import com.dlsc.preferencesfx.model.Group;
import com.dlsc.preferencesfx.model.PreferencesFxModel;
import com.dlsc.preferencesfx.model.Setting;
import com.google.commo... |
/*
* 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... |
/*
* 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 br.senac.sp.grupoum.projectpiiv.controllers;
import br.senac.sp.grupoum.projectpiiv.models.Produto;
import dao.ProdutoDAO;
imp... |
package api.rest.privateapi.read.completebalances;
import api.rest.Json;
import api.rest.privateapi.read.completebalances.dto.CompleteBalanceDto;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import lombok.extern.log4j.Log4j2;
import java.util.Map;
@Log4j2
public class CompleteBalances imple... |
/*
* 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 br.com.pizzaria.pizzaria.controller.backoffice;
import br.com.pizzaria.pizzaria.entity.Usuario;
import br.com.pizzaria.pizzari... |
package org.contentmine.svg2xml.util;
import java.util.List;
import java.util.regex.Pattern;
import org.junit.Assert;
import org.apache.log4j.Logger;
import org.junit.Ignore;
import org.junit.Test;
public class TextFlattenerTest {
private final static Logger LOG = Logger.getLogger(TextFlattenerTest.class);
@Tes... |
package com.inflectra.spiratest.addons.junitextension.soap;
import javax.xml.ws.WebFault;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.6 in JDK 6
* Generated source version: 2.1
*
*/
@WebFault(name = "ServiceFaultMessage", targetNamespace = "http://schemas.datacontract.org/2004/07/Inflectra... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.sequenceiq.datalake.flow.diagnostics;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.dyngr.Polling;
import com.dyngr.core.AttemptResults;
import com.sequenceiq.clo... |
/*
* Copyright 2021-2021 Alfresco Software, 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 ... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.aws.sqs;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInsensit... |
/**
The MIT License (MIT)
Copyright (c) 2010-2021 head systems, ltd
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... |
package eu.chargetime.ocpp.feature.profile;
/*
ChargeTime.eu - Java-OCA-OCPP
Copyright (C) 2015-2016 Thomas Volden <tv@chargetime.eu>
MIT License
Copyright (C) 2016-2018 Thomas Volden
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file... |
package indi.tiandi.nlp.evaluation.impl;
import indi.tiandi.nlp.Seg;
import indi.tiandi.nlp.Term;
import org.lionsoul.jcseg.tokenizer.core.*;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
public class JcsegImpl extends Seg {
private final static Jcse... |
package com.sequenceiq.freeipa.entity.util;
import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference;
public class ListStringToString extends ListToString<String> {
private static final TypeReference<List<String>> TYPE_REFERENCE = new TypeReference<>() { };
public TypeReference<List<Strin... |
package ${package}.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.ParameterBuilder;
import springfox.documentation.builders.PathSelectors;
import spr... |
package com.xyzstudio.algorithm;
import com.xyzstudio.math.Vector3;
public class ComplementaryFilterFusion implements FusionInterface {
public final static float FILTER_COEFFICIENT = 0.98f;
@Override
public Vector3 orientationFusion(Vector3 accMagOrientation,
Vector3 gyroOrientation) {
// TODO Auto-generat... |
/*
* Copyright 2015 The AppAuth for Android Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/*
* 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 vproxyapp.app.cmd.handle.resource;
import vproxyapp.app.Application;
import vproxyapp.app.cmd.Command;
import vproxyapp.app.cmd.Resource;
import vproxyapp.app.cmd.ResourceType;
import vproxybase.component.elgroup.EventLoopGroup;
import vproxybase.component.elgroup.EventLoopWrapper;
import vproxybase.util.excep... |
/*
*
* This file was generated by LLRP Code Generator
* see http://llrp-toolkit.cvs.sourceforge.net/llrp-toolkit/
* for more information
* Generated on: Sun Apr 08 14:14:12 EDT 2012;
*
*/
/*
* Copyright 2007 ETH Zurich
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
* you may not use ... |
package cn.datax.service.data.metadata.controller;
import cn.datax.common.core.JsonPage;
import cn.datax.common.core.R;
import cn.datax.common.validate.ValidationGroups;
import cn.datax.service.data.metadata.api.dto.MetadataColumnDto;
import cn.datax.service.data.metadata.api.entity.MetadataColumnEntity;
import cn.dat... |
package edu.columbia.cs.psl.test.phosphor;
import org.junit.Test;
public class LambdaObjTagITCase {
@Test
public void testEmptyLambda() throws Exception {
Runnable r = () -> {
};
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.