text stringlengths 7 995k |
|---|
package org.mozilla.javascript.tests.harmony;
import org.junit.Test;
import org.mozilla.javascript.typedarrays.NativeFloat32Array;
import org.mozilla.javascript.typedarrays.NativeFloat64Array;
import org.mozilla.javascript.typedarrays.NativeArrayBuffer;
import org.mozilla.javascript.typedarrays.NativeInt16Array;
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 ... |
package net.endrealm.buildrealm.data;
import org.bukkit.Material;
import org.bukkit.util.Vector;
public enum PieceType {
ROOM(Material.STONE_BRICKS, "Rooms", 1, 29, 21),
START_ROOM(Material.STONE_BRICKS, "Start Rooms", 1, 29, 21),
FINISH_ROOM(Material.STONE_BRICKS, "Finish Rooms", 1, 29, 21),
PATH(Mat... |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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.apa... |
package au.com.agic.apptesting.profiles.configuration;
import org.apache.commons.lang3.StringUtils;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import static com.google.common.base.Preconditions.checkArgument;
/**
* Represen... |
/*
* 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 (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/**
*
* Copyright (c) 2014, Deem 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 appl... |
package boa.datagen.bugForge;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.google.protobuf.ByteString;
import b4j.core.DefaultAttachment;
import b4j.core.DefaultComment;
import b4j.core.DefaultIssue;
import b4j.core.DefaultSearchData;
import b4j.core.I... |
package ca.uhn.hapi.fhir.docs;
/*-
* #%L
* HAPI FHIR - Docs
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* 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
*
* h... |
// Copyright 2018-2020 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
package com.mopub.mraid;
import androidx.annotation.NonNull;
import android.webkit.ConsoleMessage;
import android.webkit.JsResult;
import android.webkit.WebChromeClient;
import a... |
package com.github.donotspampls.velocityutils.commands;
import com.velocitypowered.api.command.Command;
import com.velocitypowered.api.command.CommandSource;
import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.api.proxy.ProxyServer;
import com.velocitypowered.api.proxy.server.RegisteredServer;
impo... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.egeria.connectors.ibm.igc.clientlibrary.model.generated.v11502;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeName;
import javax.annotation... |
package com.javasm.dao;
import com.javasm.entity.Enroll;
import java.util.List;
public interface EnrollDao extends BaseDao<Enroll> {
List<String> selectAllSchoolIds();
} |
package com.quickapi.server.web.dao.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
@TableName("project_api_page_data")
public class UserProjectApiPageData {
@TableId
private String userProjectPageDataId;
private String pr... |
package hr.fer.zemris.apr.hw04.ea.fitness;
/**
* @author dbrcina
*/
public class F3 extends FitnessFunction {
private final int n;
public F3(int n) {
this.n = n;
}
@Override
public int numberOfVariables() {
return n;
}
@Override
protected double calculateFitnessInt... |
package tests.wurstscript.objectreader;
import static org.junit.Assert.assertEquals;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.junit.Test;
import de.peeeq.wurstio.objectreader.ObjectFile;
import de.peeeq.wurstio.objectreader.ObjectFileType;
import de.peeeq.wur... |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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 la... |
package nioredis.clients.jedis;
import java.util.List;
import java.util.Set;
public interface MultiKeyCommands {
Long del(String... keys);
List<String> blpop(int timeout, String... keys);
List<String> brpop(int timeout, String... keys);
List<String> blpop(String... args);
List<String> brpop(St... |
package com.ssafy.ssafience.service.mail;
import com.ssafy.ssafience.model.mail.AuthResult;
import com.ssafy.ssafience.model.mail.SendMailRequest;
import com.ssafy.ssafience.model.mail.SendMailResult;
public interface MailService {
public SendMailResult sendValidKey(SendMailRequest request) throws Exception;
public... |
// BSD 3-Clause License
//
// Copyright (c) 2020, Scott Petersen
// 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,... |
/*
* Copyright 2018 Latitude Srls
*
* 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 agree... |
/**
* Copyright (C) 2013-2014 EaseMob Technologies. 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... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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... |
package com.bj58.chr.data.spider.wuba;
import org.apache.log4j.PropertyConfigurator;
import com.bj58.chr.data.spider.util.MapDbDuplicateRemover;
import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.model.OOSpider;
import us.codecraft.webmagic.scheduler.DuplicateRemovedScheduler;
import us.codecraft.webmag... |
/*
* Copyright 2013-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... |
package com.braintreepayments.api;
import androidx.annotation.Nullable;
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.concurrent.CountDownLatch;
import static junit.framew... |
package br.com.zupacademy.natacha.mercadolivre.email;
public interface MailerEmail {
void enviarEmail(DadosEmail dadosEmail);
} |
/****************************************************************
* 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... |
/*
* Copyright 2012 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 io.eventuate.messaging.kafka.spring.producer;
import io.eventuate.messaging.kafka.producer.EventuateKafkaProducerConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
@EnableConfigurationProperties(Eventua... |
/*
* dk.brics.automaton
*
* Copyright (c) 2001-2017 Anders Moeller
* 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
... |
package com.atguigu.gmall.sms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
package com.parameta.demo.mapper;
import com.parameta.demo.entity.EmployeeEntity;
import io.spring.guides.gs_producing_web_service.Employee;
import org.mapstruct.Mapper;
@Mapper
public interface EmployeeMapper {
Employee generateEntityToEmployee(EmployeeEntity employeeEntity);
} |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013 AlgorithmX2
*
* 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... |
package com.docuware.dev.schema._public.services.platform;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "DocumentAction")
@XmlEnum
public enum DocumentAction {
@XmlEnumValue("ReIntellix")
RE_INTELLIX("ReIn... |
package com.optimize.performance.launchstarter.task;
public interface TaskCallBack {
void call();
} |
/*
* Copyright (c) 2011-2019 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... |
package com.yugabyte.yw.commissioner.tasks.subtasks;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.ImmutableMap;
import com.google.common.net.HostAndPort;
import com.yugabyte.yw.commissioner.AbstractTaskBase;
import com.yugabyte.yw.commissioner.BaseTaskDependencies;
import com.yugab... |
package se.terhol.mathpractice;
/**
* Main method. Generates new user interface and starts method practiceMath().
*
* @author Tereza Holm
*/
public class Main {
public static void main(String args[]) {
UserInterface command = new UserInterface();
command.practiceMath();
}
} |
/*
The MIT License
Copyright (c) 2013 Mashape (http://mashape.com)
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, modif... |
package com.leetcode.top75.Tree;
/**
* Definition for a binary tree node.
*/
public class TreeNode {
public int val;
public TreeNode left;
public TreeNode right;
public TreeNode() {
}
public TreeNode(int val) {
this.val = val;
}
public TreeNode(int val, TreeNode left, TreeN... |
/*
Derby - Class org.apache.derby.impl.sql.compile.ExpressionClassBuilder
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 fi... |
package jp.ne.naokiur.design.pattern.composite;
public class Carbon extends Atom {
public Carbon() {
super("C");
}
public void bond(Atom atom) {
bonds.add(atom);
}
} |
package com.google.api.ads.adwords.jaxws.v201603.mcm;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Data object that represents a managed customer. ... |
package com.huellapositiva.util;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.extension.ConditionEvaluationResult;
import org.junit.jupiter.api.extension.ExecutionCondition;
import org.junit.jupiter.api.extension.ExtensionContext;
import java.util.concurrent.Executors;
@... |
package org.quicktheories.dsl;
import java.util.function.BiConsumer;
import java.util.function.BiPredicate;
import java.util.function.Function;
import java.util.function.Supplier;
import org.quicktheories.api.Pair;
import org.quicktheories.api.Subject2;
import org.quicktheories.core.Gen;
import org.quicktheories.core... |
/*
* 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 (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/**
* 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.aware.phone.ui;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.con... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.rule.stat;
import static net.sourceforge.pmd.lang.rule.stat.StatisticalRule.MINIMUM_DESCRIPTOR;
import static net.sourceforge.pmd.lang.rule.stat.StatisticalRule.SIGMA_DESCRIPTOR;
import static net.s... |
package com.github.dxee.jood.registry;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* ServiceDiscovery
*
* @author bing.fan
* 2018-08-02 14:44
*/
public interface ServiceDiscovery {
/**
* create service to consul
* @param serviceDefine
*/
void createService(Servi... |
/*Created By: Gugino
*Date Created: May 8, 2020
*/
package com.gugino.engine.gameobjects.objectcomponents;
import com.gugino.engine.GameManager;
import com.gugino.engine.gameobjects.GameObject;
import com.gugino.engine.gameobjects.enums.GameObjectComponentTypes;
public class ObjectGravityComponent extends GameObjectC... |
/**
* Copyright MaDgIK Group 2010 - 2015.
*/
package madgik.exareme.utils.sort;
import org.apache.log4j.Logger;
import java.util.LinkedList;
import java.util.Random;
/**
* @author Herald Kllapi <br>
* University of Athens /
* Department of Informatics and Telecommunications.
* @since 1.0
*/
pu... |
package com.brucetoo.listvideoplay.videomanage.ui;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.graphics.SurfaceTexture;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Handler;
import android.os.Looper;
import android.view.Surface;
import ... |
/*
* Copyright 2018 Andrew Chi Heng Lam
*
* 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 agr... |
package cn.licoy.encryptbody.annotation.encrypt;
import cn.licoy.encryptbody.enums.EncryptBodyMethod;
import cn.licoy.encryptbody.enums.SHAEncryptType;
import java.lang.annotation.*;
/**
* <p>加密{@link org.springframework.web.bind.annotation.ResponseBody}响应数据,可用于整个控制类或者某个控制器上</p>
* @author licoy.cn
* @version 201... |
package com.feiyue.service;
import java.util.List;
import com.feiyue.entiy.RepairBean;
import com.feiyue.entiy.ReportBean;
import com.feiyue.util.PageData;
/**
* 维修记录接口
* @author lsx
*
*/
public interface RepairBeanService {
//查询所有(报修表+维修表表)
public List<RepairBean> getQueryReportRepairBean();
//查询所有
pu... |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... |
package jp.mydns.sys1yagi.android.svgandroidsample;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Picture;
import android.os.Build;
import android.os.Bundle;
import android.os.Build.VERSION;
import android.view.... |
//给定一个二叉树,判断它是否是高度平衡的二叉树。
//
// 本题中,一棵高度平衡二叉树定义为:
//
//
// 一个二叉树每个节点 的左右两个子树的高度差的绝对值不超过 1 。
//
//
//
//
// 示例 1:
//
//
//输入:root = [3,9,20,null,null,15,7]
//输出:true
//
//
// 示例 2:
//
//
//输入:root = [1,2,2,3,3,null,null,4,4]
//输出:false
//
//
// 示例 3:
//
//
//输入:root = []
//输出:true
//
//
//
//
// 提示:
//
//
// 树中的节点数在范围 [... |
/*
* 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 com.drop.ttb.mvp.ui.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget... |
package QuickPALM;
import ij.*;
import ij.io.*;
import ij.measure.*;
import ij.plugin.*;
import ij.plugin.filter.*;
import ij.plugin.frame.*;
import ij.process.*;
import ij.gui.*;
import ij.measure.CurveFitter.*;
import java.awt.*;
public class Reconstruct_Dataset implements PlugIn
{
ImagePlus imp;
ImageProcessor ... |
package de.metas.vertical.pharma.vendor.gateway.msv3.common;
import static org.adempiere.model.InterfaceWrapperHelper.newInstance;
import static org.adempiere.model.InterfaceWrapperHelper.save;
import javax.annotation.Nullable;
import de.metas.organization.OrgId;
import de.metas.vertical.pharma.msv3.protocol.types.F... |
package com.lushuitv.yewuds.view.pullableview;
import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;
public class PullableWebView extends WebView implements Pullable
{
public PullableWebView(Context context)
{
super(context);
}
public PullableWebView(Context context,... |
package subway.controller;
import java.util.Arrays;
import subway.exception.InputException;
import subway.exception.SystemExitException;
import subway.view.OutputView;
public enum MainFunction {
RETRIEVE_ROUTE("1", "경로 조회", MainFunction::goToRouteController),
EXIT_SYSTEM("Q", "종료", MainFunction::exitSystem);
... |
/*
* (c) Copyright 2019 Palantir Technologies 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 ... |
/*
* Copyright 2002-2008 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.ambientideas.cryptography;
import java.util.Date;
public class UserAccount {
private Long accountId;
private Date accountCreationDate;
private String username;
private String emailAddress;
private String biography;
private String biographyRaw;
public UserAccount() {}
public... |
package mage.choices;
import mage.Mana;
import mage.constants.Outcome;
import mage.game.Game;
import mage.players.Player;
public class ManaChoice {
public static Mana chooseAnyColor(Player player, Game game, int amount) {
if (player == null) {
return null;
}
Mana mana = new Man... |
/*
* Copyright (c) 2012-2016 Arne Schwabe
* Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.api;
import android.annotation.TargetApi;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Componen... |
package example.service;
import example.repo.Customer891Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer891Service {
public Customer891Service(Customer891Repository repo) {
}
} |
package io.zero88.qwe.sql.query;
import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
import java.util.Objects;
import java.util.stream.Stream;
import io.zero88.qwe.sql.EntityMetadata;
import io.zero88.qwe.dto.msg.RequestFilter;
import io.vertx.core.json.JsonObject;
import lombok.NonNull;
/**
* Re... |
package cz.muni.ics.oidc.server.userInfo;
import cz.muni.ics.oidc.server.adapters.PerunAdapter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.LinkedList;
import java.util.List;
import java.util.Proper... |
package com.uddernetworks.newocr.character;
import com.uddernetworks.newocr.recognition.similarity.Letter;
import com.uddernetworks.newocr.utils.IntPair;
import java.util.*;
/**
* The superclass for characters containing data from the input image.
*
* @author Adam Yarris
* @version 2.0.0
* @since April 25, 2019... |
/*******************************************************************************
* Copyright 2017 Bstek
*
* 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/l... |
package org.coreasm.compiler.components.mainprogram;
import org.coreasm.compiler.CompilerEngine;
import org.coreasm.compiler.codefragment.CodeFragment;
import org.coreasm.compiler.components.mainprogram.statemachine.EngineState;
import org.coreasm.compiler.components.mainprogram.statemachine.StateMachine;
/**
* Help... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2015 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.wizards;
import com.google.appinventor.client.Ode;
import com.google.appinventor.client.OdeAsyncCal... |
/*
* Copyright 2002-2014 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 dk.via.service;
import java.io.IOException;
import java.util.ArrayList;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import... |
package seedu.address.testutil.statistics;
import java.util.HashMap;
import seedu.address.model.statistics.Statistics;
import seedu.address.model.statistics.StatisticsRecord;
/**
* A utility class containing a typical {@code Statistics} objects to be used in tests.
*/
public class TypicalStatistics {
private ... |
package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.response.BaseResponse;
/**
* Stas Parshin
* 01 July 2017
*/
public class RestrictChatMember extends BaseRequest<RestrictChatMember, BaseResponse> {
public RestrictChatMember(Object chatId, int userId) {
super(BaseResponse.class);
... |
package Util;
import android.util.Log;
import org.apache.commons.net.telnet.TelnetClient;
import java.io.BufferedInputStream;
import java.io.PrintStream;
import java.nio.charset.Charset;
/**
* Telnet操作类
* Created by fblife on 2017/3/28.
*/
public class TelnetUtil {
private static final String TAG = TelnetUt... |
package com.github.mmurak.scalemaker.functions;
public class CH extends Function {
public double calculateFunction(double value) {
return Math.log10((Math.exp(value) + Math.exp(-value)) / 2);
}
} |
// This file was automatically generated from IFCDOC at https://technical.buildingsmart.org/.
// Very slight modifications were made to made content align with ifcXML reference examples.
// Use this class library to create IFC-compliant (web) applications with XML and JSON data.
// Author: Pieter Pauwels, Eindhoven Uni... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.standalone;
import com.yahoo.config.FileReference;
import com.yahoo.config.application.api.FileRegistry;
import com.yahoo.filedistribution.fileacquirer.FileAcquirer;
import net.jpountz.l... |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package DataStructure;
import java.util.Comparator;
public class SimpleList<E> {
private Node<E> head;
private Comparator<E> comparator;
private boolean insert;
public boolean isInsert() {
return insert;
}
public void setInsert(boolean insert) {
this.insert = insert;
}
public SimpleList(SimpleList<E> l... |
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Cla... |
package com.liuwan.demo.datepicker;
import android.app.Dialog;
import android.content.Context;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.TextView;
import com.liuwan.demo.R;
import java.tex... |
package com.sudoplay.mc.pwcustom.modules.visibility.compat.crafttweaker;
import com.sudoplay.mc.pwcustom.modules.visibility.ModuleVisibility;
import crafttweaker.api.item.IIngredient;
import net.minecraft.item.ItemStack;
public class ActionRemoveRestriction
extends ActionVisibilityStage {
public ActionRemoveRe... |
package br.com.selat.userservice.repositories;
import br.com.selat.userservice.entities.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface UserRepository extends CrudRepository<User, Long> {
} |
/*
* Copyright 2013-2018 (c) MuleSoft, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/*
* Copyright 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... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.atalk.impl.neomedia.jmfext.media.renderer.video;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.view.View;
import org.atalk.... |
/*
* Copyright 2020 Brian L. Browning
*
* This file is part of the ibd-ends program.
*
* 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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.