text stringlengths 7 995k |
|---|
package org.mp4parser.muxer.tracks.webvtt.sampleboxes;
import org.mp4parser.Box;
import org.mp4parser.IsoFile;
import org.mp4parser.tools.IsoTypeWriter;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.WritableByteChannel;
public class VTTEmptyCueBox implements Box {
public VTTEmp... |
package com.sayee.sxsy.newModules.commentary.service;
import com.sayee.sxsy.common.utils.IdGen;
import com.sayee.sxsy.newModules.commentary.dao.VideoCommentaryMapper;
import com.sayee.sxsy.newModules.commentary.entity.VideoCommentary;
import com.sayee.sxsy.newModules.commentary.entity.VideoCommentaryExample;
import or... |
/*
* Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute
*
* 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-... |
package com.movies.movies_app.rest;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam... |
package com.devsuperior.dsdeliver.services;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.devsuperior.dsdeliver.dto.Pr... |
package net.minecraft.item;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagIntArray;
import net.minecraft.util.StatCollector;
public class ItemFireworkCharge extends Item
{
publ... |
/*
* Below is the copyright agreement for IMCJava.
*
* Copyright (c) 2010-2016, Laboratório de Sistemas e Tecnologia Subaquática
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - R... |
/*
* Copyright 2008 JRimum 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 law or agreed to in writin... |
package com.dreamlin.colortextview;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute... |
package com.zup.ecommerce.opiniao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
public interface OpiniaoRepository extends JpaRepository<Opiniao, Long> {
@Query(value = "SELECT AVG(o.nota) FROM Opiniao o WHERE o.produto.id = :idProduto")
... |
package com.bore.it.mydo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframe... |
/**
* Copyright 2014 Emmanuel Bourg
*
* 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... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.exoplayer2.source.smoothstreaming.manifest;
import android.net.Uri;
import com.google.android.exoplayer2.Format;
import com.goo... |
package com.compositesw.services.system.admin.user;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import com.compositesw.services.system.util.common.BaseResponse;
/**
* <p>Java class for addUsersToGroupResponse complex typ... |
package nl.maarten.naberink.cryptoexchange.view.query.data;
public class PriceInfo {
private final BuyOrderData buyOrderData;
private final SellOrderData sellOrderData;
public BuyOrderData getBuyOrderData() {
return buyOrderData;
}
public SellOrderData getSellOrderData() {
return sellOrderData;
}
public ... |
package net.ibizsys.paas.control.counter;
/**
* 系统计数器接口
* @author Administrator
*
*/
public interface ICounter
{
} |
package com.planet_ink.coffee_mud.MOBS;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.co... |
// instantiated with jti.pl from ReadOnlyVector
/****************************************************************************
Copyright 2001-2018 Sphenon GmbH
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
... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package uk.dioxic.mgenerate.core.operator.numeric;
import uk.dioxic.mgenerate.common.annotation.Operator;
import uk.dioxic.mgenerate.common.annotation.OperatorProperty;
import uk.dioxic.mgenerate.core.operator.AbstractOperator;
import uk.dioxic.mgenerate.core.util.FakerUtil;
@Operator({"integer", "number", "int", "mg... |
package distributed.recommendation;
import at.mkaran.thesis.common.CurveRecommendationListDTO;
import at.mkaran.thesis.common.ResponseDTO;
/**
* Listener to listen for new results from the recommendation service
*/
public interface RecommendationListener {
void onResult(ResponseDTO result);
void onError(Exc... |
/*
* Copyright (C) 2013 Square, 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 agre... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
/*
* 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... |
package ru.job4j.pattern.strategy;
/**
* Square.
*/
public class Square implements Shape {
/**
* Square size.
* Must be greater then 0.
*/
private int squareSize;
/**
* Returns the square shape.
*
* @return String Square in console.
*/
@Override
public String picture() {
// New line symbol.
S... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... |
package se.cygni.paintbot.eventapi.request;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import se.cygni.paintbot.api.model.GameSettings;
import se.cygni.paintbot.eventapi.ApiMessage;
import se.cygni.paintbot.eventapi.type.ApiMessageType;
@ApiMessageType
p... |
package mars.mips.instructions.syscalls;
import mars.util.*;
import mars.mips.hardware.*;
import mars.*;
/*
Copyright (c) 2003-2006, Pete Sanderson and Kenneth Vollmar
Developed by Pete Sanderson (psanderson@otterbein.edu)
and Kenneth Vollmar (kenvollmar@missouristate.edu)
Permission is hereby granted, fre... |
/*
* Copyright (c) 2005-2022 Xceptance Software Technologies GmbH
*
* 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 me.mrdaniel.npcs.commands.action;
import org.spongepowered.api.command.CommandException;
import org.spongepowered.api.command.args.CommandContext;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.format.TextColors;
import me.mr... |
package Misc.Java8;
import java.util.Comparator;
import java.util.TreeMap;
public class SortTreeMap {
public static class Custom{
private int rank;
private String name;
public Custom(int rank, String name) {
this.rank = rank;
this.name = name;
}
@O... |
package com.applozic.mobicomkit.api.attachment;
import android.content.Context;
import android.content.ContextWrapper;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.ThumbnailUtils;
import android.net.Uri;
import android.os.Environment;
import android.os.Handler;
import and... |
package org.gradle.test.performance.mediummonolithicjavaproject.p496;
public class Production9925 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
... |
package mage.cards.r;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
i... |
package no.nav.pensjon.selv.config;
import no.stelvio.common.context.support.ComponentIdHolder;
import org.springframework.context.annotation.Bean;
public class CfgPenContext {
@Bean
public ComponentIdHolder componentIdHolder(){
return new ComponentIdHolder("PP01");
}
// <bean id="componentIdH... |
/*******************************************************************************
* The MIT License
*
* Copyright (c) 2019 knokko
*
* 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 with... |
/**
* 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 m... |
package org.springframework.roo.addon.finder;
import static org.springframework.roo.model.JavaType.STRING;
import static org.springframework.roo.model.JpaJavaType.ENTITY_MANAGER;
import static org.springframework.roo.model.JpaJavaType.TYPED_QUERY;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import ... |
package org.opencm.governance;
public class GovernanceProperty {
private String component;
private String instance;
private String key;
private String value;
public GovernanceProperty() {
}
public String getComponent() {
return this.component;
}
public void setComp... |
package com.fuzs.puzzleslib.element;
import com.fuzs.puzzleslib.config.ConfigManager;
import com.fuzs.puzzleslib.config.deserialize.EntryCollectionBuilder;
import com.google.common.collect.Lists;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.com... |
package com.openxc.measurements;
import com.openxc.units.Level;
import com.openxc.util.Range;
/**
* VolumeSetPoint will set the volume directly to any point between
* minimum (0) and maximum (31)
*/
public class VolumeSetPoint extends BaseMeasurement<Level> {
private final static String ID = "set_point_volume"... |
package ezvcard.parameter;
import java.util.Collection;
import ezvcard.property.Impp;
/*
Copyright (c) 2012-2020, Michael Angstadt
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. Redistribut... |
package com.commercetools.api.models.order_edit;
import java.util.*;
import java.util.function.Function;
import io.vrap.rmf.base.client.Builder;
import io.vrap.rmf.base.client.utils.Generated;
@Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen")
pub... |
/**
* CS1632 Deliverable 4
*
* @author Nick Taglianetti
* @author Michael Oles
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.*;
import org.mockito.*;
public class MonkeySimTest {
// Test that the first Monkey in monkeyList has a monkeyNum of 1
@Test()
public void testFirstMon... |
/*
* Copyright 2000-2016 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 onethreeseven.trajsuitePlugin.transaction;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.function.Consumer;
/**
* Essentially a thread-safe count-down timer whe... |
package Datenstruktur;
import Datenstruktur.Kategorie.names;
public class Bank {
public static enum names{
DKB("d"),
Postbank("p"),
Sparkasse("s");
private String _id;
private names(String id){
_id = id;
}
public String getID(){
return _id;
}
public static names getName(String id){
for... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
package edu.northeastern.cs5520.todo_adrienne.data;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
public class ToDoInMemoryDataSource implements IToDoDataSource{
private MutableLiveData<List<ToDo>... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.wenyu.hydroelements.hydrostation.dispatchgraph;
import java.util.List;
public class DispatchGraph{
//水库名称
private String stationName;
//调度图的多条调度线
private List<DispatchLine> dispacthline;
public String getStationName() {
return stationName;
}
public void setStationName(String stationName) {
t... |
package powercraft.api.recipes;
public interface PC_IRecipe {
public boolean canBeCrafted();
} |
package aiqiyi;
import java.util.Scanner;
public class Test001 {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
String s = in.next();
StringBuilder sb = new StringBuilder();
int index = 0;
for(int i=0;i<s.length();){
index = i;
for(int j=i;j<s.length();j++){
if(s.c... |
package com.jyhuang.springcloud.mapper;
import com.jyhuang.springcloud.entity.Dept;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface DeptMapper {
@Insert("insert into dept(dept_n... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayMarketingCardActivateformQueryModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayMarketingCardActivateformQueryResponse;
import com.alipay.api.Alipa... |
/*
* 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 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package Controller;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import java.awt.*;
import java.net.URL;
import java.util.ResourceBundle;
public class PatientViewController extends ViewController {
@FXML private Button btRegister;
@FXML private Button btCancel;
... |
/*
* 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 com.michaelgrenon.chargerks.cg;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.HashMap;
import jav... |
package rocks.danielw.security.registration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
import rocks.danielw.model.email.RegistrationVerificationEmail;
import rocks.danielw.service.email.EmailSe... |
/*
* Copyright (C) 2015 - 2022 Green Screens Ltd.
*/
package io.greenscreens.client;
/* for build2()
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
*/
import java.net.URI;
import java.security.Key;
import java.security.KeyManagementEx... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.dotwebstack.framework.backend.rdf4j;
import java.util.Map;
import lombok.NonNull;
import org.eclipse.rdf4j.rio.RDFFormat;
public final class FileFormats {
private static final Map<String, RDFFormat> FORMATS = Map.of("trig", RDFFormat.TRIG, "nq", RDFFormat.NQUADS);
private FileFormats() {}
public ... |
/**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... |
/*
* Copyright 2015,2016 agwlvssainokuni
*
* 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 dk.presentation.mapstruct.order.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Represent an order item li... |
package net.seesharpsoft.intellij.plugins.filepreview;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.options.SearchableConfigurable;
import com.intellij.ui.CheckBoxWithColorChooser;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetb... |
package com.example.soma.cameraviewtest;
import java.util.ArrayList;
/**
* Created by jihaeseong on 15. 11. 3..
*/
public class data {
public String result;
public String message;
public String device_id;
public String img;
public class detected_entity{
public String id;
public S... |
package threadPool.order.waiteStrategy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.TimeUnit;
/**
* YieldingWaitStrategy是可以被用在低延迟系统中的两个策略之一,
* 这种策略在减低系统延迟的同时也会增加CPU运算量。
* YieldingWaitStrategy策略会循环等待sequence增加到合适的值。
* 循环中调用Thread.yield()允许其他准备好的线程执行。
* 如果需要高性能而且事件消费者线程比逻辑... |
package org.robolectric.shadows;
import static com.google.common.truth.Truth.assertThat;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import com.google.common.io.Files;
import java.io.File;
import java.nio.charset.StandardCharsets;
import libcore.io.IoUtils;
import org.junit.Rule;
import org.junit.Test;
impo... |
// Copyright 2014 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 org.chromium.content.browser;
import android.content.pm.ActivityInfo;
import android.os.Build;
import android.test.suitebuilder.annotation.Medium... |
/*
* 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 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 may ... |
/*
* 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.appsmith.server.constants;
public enum EnvVariables {
APPSMITH_INSTANCE_NAME,
APPSMITH_MONGODB_URI,
APPSMITH_REDIS_URL,
APPSMITH_MAIL_ENABLED,
APPSMITH_MAIL_FROM,
APPSMITH_REPLY_TO,
APPSMITH_MAIL_HOST,
APPSMITH_MAIL_PORT,
APPSMITH_MAIL_SMTP_AUTH,
APPSMITH_MAIL_USERNA... |
package backtype.storm.testing;
import backtype.storm.Config;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.transactional.TransactionAttempt;
import backtype.storm.coordination.BatchOutputCollector;
import backtype.storm.transactional.partitioned... |
/*
* 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... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
package wannabit.io.cosmostaion.network;
import com.google.gson.JsonObject;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import wannabit.io.cosmostaion.network.req.ReqTx;
import wannabit.io.cosmostaion.network.req.ReqTxToken;
import wannabit.io.cosmostaion.network.req.ReqTxVal;
impor... |
/*
* 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 2009 Kazuyuki Shudo, and contributors.
*
* 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 applic... |
package org.bouncycastle.asn1.cryptopro;
import java.math.BigInteger;
import java.util.Enumeration;
import java.util.Hashtable;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers;
import org.bouncycastle.crypto.params.ECDomainParameters;
import org... |
package com.drye.myblog.demo.service;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* The type Article service test.
... |
/*
* 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 travel;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import org.scribble.main.ScribbleRuntimeException;
import org.scribble.net.ObjectStreamFormatter;
import org.scribble.net.scribsock.ScribServerSocket;
import org.scribble.net.scribsock.SocketChannelServer;
import org.scribble.... |
package id.co.ardata.megatrik.megatrikdriver.utils;
import android.content.Context;
import android.content.SharedPreferences;
public class SessionManager {
SharedPreferences pref;
SharedPreferences.Editor editor;
Context _context;
int PRIVATE_MODE = 0;
private static final String PREF_NAME = "Me... |
package ru.job4j.array;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class BubbleSortTest {
@Test
public void whenSortArrayWithTenElementsThenSortedArray() {
//напишите здесь тест, проверяющий сортировку массива из 10 элементов методо... |
package org.orangepalantir.genericpca;
import lightgraph.DataSet;
import lightgraph.Graph;
import lightgraph.GraphPoints;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import java.awt.Dimension;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import jav... |
package org.firstinspires.ftc.teamcode.opmodes.tuning;
import com.acmerobotics.dashboard.FtcDashboard;
import com.acmerobotics.dashboard.config.Config;
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.profile.MotionPro... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.... |
package com.frightanic.smn.api.geojson;
import com.frightanic.smn.api.SmnRecord;
import com.google.common.collect.Lists;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Tests FeatureCollection.
*/
public class FeatureCollection... |
package lighthouse.puzzle.ui.sidebar;
import javax.swing.JComponent;
import javax.swing.JLabel;
import lighthouse.ui.SwingViewController;
import lighthouse.puzzle.ui.board.viewmodel.BoardStatistics;
import lighthouse.ui.util.LayoutUtils;
public class BoardStatisticsViewController implements SwingViewController {
pr... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.List;
public class MovableObject extends Actor
{
int speed;
public void act()
{
}
public void move( String direction )
{
int x = getX();
int y = getY();
if ( d... |
/**
* Copyright (c) 2013, Facebook, Inc.
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package net.o... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
/*
* Copyright 2019 Red Hat
*
* 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 ... |
/*
* Kubernetes
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.14.2
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class... |
package com.java2nb.novel.core.schedule;
import com.java2nb.novel.core.cache.CacheKey;
import com.java2nb.novel.core.cache.CacheService;
import com.java2nb.novel.entity.Book;
import com.java2nb.novel.service.BookService;
import com.java2nb.novel.service.SearchService;
import lombok.RequiredArgsConstructor;
import lomb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.