text
stringlengths
7
995k
package com.wlp.gulimall.product.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annot...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.lemonfish.lemonmall.member; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MemberApplication { public static void main(String[] args) { SpringApplication.run(MemberApplication.class, a...
package org.apache.ignite.internal.benchmarks.jmh.sequence.generated; public class JmhSequenceBenchmark_jmhType_B3 extends JmhSequenceBenchmark_jmhType_B2 { boolean p000, p001, p002, p003, p004, p005, p006, p007, p008, p009, p010, p011, p012, p013, p014, p015; boolean p016, p017, p018, p019, p020, p021, p022, p...
/* * 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 intelat_cliente; import java.awt.Dimension; import java.awt.Toolkit; import javax.swing.Icon; import javax.swing.ImageIcon; im...
package main.java.app.javache.server; import main.java.app.javache.Application; import main.java.app.javache.handlers.ConnectionHandler; import main.java.app.javache.handlers.RequestHandler; import main.java.app.javache.io.ConsoleOutputWriter; import java.io.IOException; import java.net.ServerSocket; import java.net...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package org.fenixedu.bi.controller.wsdm007; import org.fenixedu.academic.domain.Professorship; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.s...
// 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 ch.qos.logback.core.util; public class IncompatibleClassException extends Exception { IncompatibleClassException(Class class1, Class class2) {...
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
package com.pubmedknowledgegraph.worker.pubmedknowledgegraph_worker.job; import com.pubmedknowledgegraph.worker.pubmedknowledgegraph_worker.service.ParseAnnotateAfterService; import org.springframework.amqp.core.AmqpTemplate; import org.springframework.amqp.rabbit.connection.ConnectionFactory; import org.springframewo...
package medium.leetcode474; import java.util.HashMap; import java.util.Map; /** * 一和零: * 在计算机界中,我们总是追求用有限的资源获取最大的收益。 * 现在,假设你分别支配着 m 个 0 和 n 个 1。另外,还有一个仅包含 0 和 1 字符串的数组。 * 你的任务是使用给定的 m 个 0 和 n 个 1 ,找到能拼出存在于数组中的字符串的最大数量。每个 0 和 1 至多被使用一次。 * * 注意: * 给定 0 和 1 的数量都不会超过 100。 * 给定字符串数组的长度不会超过 600。 * 示例 1: * 输入: Ar...
/* * Copyright 2014 Vitaly Litvak (vitavaque@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 required by appl...
/* * The MIT License (MIT) * Copyright (c) 2014 Lemberg Solutions Limited * 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...
/* * (c) 2018. Chamberlain Group, Inc. All rights reserved. All * information within this file and associated files, including all information * and files transferred with this file are CONFIDENTIAL and the proprietary * property of The Chamberlain Group, Inc. */ package com.chamberlain.drop.network.framework.ser...
package Infra; public class SimpleEdge { private String src, dst, label; public SimpleEdge(String src, String dst, String label) { this.src=src; this.dst=dst; this.label=label; } public SimpleEdge(RelationshipEdge edge) { this.src=((DataVertex)edge.getSource())....
package com.overwhale.colibri_so.frontend.service; import com.overwhale.colibri_so.backend.entity.Tag; import com.overwhale.colibri_so.backend.repository.TagRepository; import com.overwhale.colibri_so.frontend.dto.TagDto; import com.overwhale.colibri_so.frontend.mapper.TagMapper; import org.springframework.data.domain...
package com.github.caelis.violake.example.app.views.exampe3; import android.view.View; import com.github.cronosun.violake.android.ext.Recipe; import com.github.cronosun.violake.android.ext.RecipeSelector; import com.github.cronosun.violake.android.ext.RecipeSelectorBuilder; import com.github.cronosun.violake.android....
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/** * Copyright 2021 Tianmian Tech. 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 ...
/* * 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 io.artoo.lance.scope.random; import io.artoo.lance.func.Func; import io.artoo.lance.scope.Random; public final class Decimal64 implements Random<Double> { private final Binary bit; public Decimal64(final Binary bit) {this.bit = bit;} @Override public <R> R let(final Func.MaybeFunction<? super Double...
package jetbrains.mps.lang.textGen.dataFlow; /*Generated by MPS */ import jetbrains.mps.lang.dataFlow.DataFlowBuilder; import jetbrains.mps.lang.dataFlow.DataFlowBuilderContext; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations; import org.jetbrains...
package ru.metrovagonmash.mapper; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Mappings; import ru.metrovagonmash.model.Employee; import ru.metrovagonmash.model.dto.EmployeeDTO; //@Component @Mapper(componentModel = "spring") public interface EmployeeMyMapper extends VCMapper<Employ...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
package com.provectus.kafka.ui.base; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.logevents.SelenideLogger; import com.provectus.kafka.ui.pages.Pages; import com.provectus.kafka.ui.screenshots.Screenshooter; import com.provectus.kafka.ui.steps.Steps; import io.github.cdimascio.dotenv.Dote...
package com.videlov.cyclist.decompiler; import org.benf.cfr.reader.api.OutputSinkFactory; import org.benf.cfr.reader.api.SinkReturns; import java.util.*; import java.util.function.Consumer; class OutputConsumer implements OutputSinkFactory { private Map<String, Set<String>> packages = new HashMap<>(); priva...
package com.vsc.ui.views.dashboard; import com.vaadin.flow.component.Tag; import com.vaadin.flow.component.dependency.HtmlImport; import com.vaadin.flow.component.html.Div; import com.vaadin.flow.component.html.H4; import com.vaadin.flow.component.html.Span; import com.vaadin.flow.component.polymertemplate.Id; import ...
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with * the Southern California Earthquake Center (SCEC, http://www.scec.org) * at the University of Southern California and the UnitedStates Geological * Survey (USGS; http://www.usgs.gov) *...
package io.github.vpavic.oauth2.client; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.stream.Stream; import com.nimbusds.oauth2.sdk.id.ClientID; impor...
package org.apereo.cas.configuration.model.support.couchbase; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.io.Serializable; /** * This is {@link...
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, 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 th...
package com.luck.picture.lib.adapter; import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.luck.picture.lib.R; import ...
/* * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * 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 * ...
/* ========================================================================== * Copyright 2006 Mevenide Team * * 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....
/* * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. * 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 Softwa...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.sql.fluent.inner; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.azure.core.m...
/** * Copyright 2020 DREAMWAGON LLC * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the followin...
package com.baomidou.plugin.idea.mybatisx.tip.hashmark; import com.baomidou.plugin.idea.mybatisx.dom.model.Mapper; import com.baomidou.plugin.idea.mybatisx.dom.model.ResultMap; import com.intellij.codeInsight.completion.CompletionResultSet; import com.intellij.codeInsight.lookup.LookupElementBuilder; /** * 提示 result...
package cat.altimiras.glacier.backupper; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.commons.cli.OptionGroup; import org.apac...
/* * Copyright 2018 ConsenSys AG. * * 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 wr...
package listeners; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.events.AbstractWebDriverEventListener; class HighlighterEventListener extends AbstractWebDriverEventListener ...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.atguigu.netty.dubborpc.publicinterface; //这个是接口,是服务提供方和 服务消费方都需要 public interface HelloService { String hello(String mes); }
/* FeatureIDE - A Framework for Feature-Oriented Software Development * Copyright (C) 2005-2013 FeatureIDE team, University of Magdeburg, Germany * * This file is part of FeatureIDE. * * FeatureIDE is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public Lice...
package com.youzu.clan.base.util.view.threadandarticle; import android.app.Activity; import com.kit.utils.ListUtils; import com.kit.utils.intentutils.IntentUtils; import com.youzu.clan.R; import com.youzu.clan.base.json.forumnav.NavForum; import com.youzu.clan.base.util.ClanUtils; import com.youzu.clan.base.util.Toas...
/* * Copyright 2014-2019 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...
/* * 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.analytics.synapse.artifacts.models; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.fasterxml....
package io.connectedhealth_idaas.eventbuilder.dataobjects.financial.hipaa; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; public class ADT { private String ADT_01_ParturitionStatusCode; private String ADT_02_Date; private String ADT_03_TestPeriodorIntervalValue; private String ADT_04_UnitofTimePeri...
/* * Copyright 2021 Bundesrepublik Deutschland * * 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 de.markusfisch.android.shadereditor.opengl; import android.opengl.GLES20; class Program { private static String infoLog; static String getInfoLog() { return infoLog; } static int loadProgram( String vertexShader, String fragmentShader) { int vs, fs, p = 0; if ((vs = compileShader( GLES2...
package com.ibm.kafkastream.pipe.model; public class PipeProducerResponse { private String status; public PipeProducerResponse(String status) { super(); this.status = status; } public String getStatus() { return status; } }
package model; public class Weapon { private String name; private int damageMax; private String damageType; public Weapon() { } public Weapon(String name, int damageMax, String damageType) { this.name = name; this.damageMax = damageMax; this.damageType = damageType; ...
package com.sap.gtt.v2.sample.pof.rest.service; import com.sap.gtt.v2.sample.pof.domain.Event; import com.sap.gtt.v2.sample.pof.domain.ProcessEventDirectory; import com.sap.gtt.v2.sample.pof.service.client.GTTCoreServiceClient; import org.springframework.stereotype.Component; import org.springframework.web.util.UriCom...
/** * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/** Copyright 2017 Andrea "Stock" Stocchero Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
package sample; public class Util { public static double rounded(double num) { return Math.round(num*1000)/1000.0; } }
package com.oneandone.iocunit.analyzer.excludedclasses; import javax.inject.Inject; import com.oneandone.iocunit.analyzer.BaseTest; import com.oneandone.iocunit.analyzer.annotations.TestClasses; import com.oneandone.iocunit.analyzer.excludedclasses.pcktoinclude.ToExclude; /** * @author aschoerk */ public class In...
package uk.gov.companieshouse.payments.admin.web.interceptor; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import org.springfram...
package org.altbeacon.beacon.service; import android.annotation.TargetApi; import android.app.job.JobParameters; import android.app.job.JobService; import android.bluetooth.le.ScanRecord; import android.bluetooth.le.ScanResult; import android.content.ComponentName; import android.content.Context; import android.conten...
package org.ko.prototype.rest.menu.condition; import org.ko.prototype.data.bean.PageCondition; public class QueryMenuCondition<MenuDTO> extends PageCondition<MenuDTO> { }
// Copyright 2014 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 ca.uhn.fhir.jpa.subscription.module; import ca.uhn.fhir.jpa.subscription.module.cache.SubscriptionRegistry; import ca.uhn.fhir.jpa.subscription.module.channel.SubscriptionChannelRegistry; import ca.uhn.fhir.jpa.subscription.module.config.TestSubscriptionDstu3Config; import ca.uhn.fhir.util.StopWatch; import or...
package evilcraft.entities.monster; import net.minecraft.client.renderer.entity.Render; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import evilcraft.api.Helpers; import evilcraft.api.config.ElementTypeCategory; import evilcraft.api.config.MobConfig; import evilcraft.api.config.configu...
package graphics; import java.awt.Dimension; import java.awt.GridLayout; import java.util.ArrayList; import java.util.Collections; import javax.swing.JPanel; import resources.Character; import resources.Resources; /** * Class to display a panel detailing all players in game * * @author George Kaye * */ @Sup...
package info.mornlight.gw2s.android.ui; import java.util.List; import android.app.Activity; import android.os.Bundle; import android.content.Loader; import android.view.LayoutInflater; import android.view.View; import android.widget.BaseAdapter; import android.widget.ListView; public abstract class ItemListFragment<...
/* * Copyright (C) 2017-2017 DataStax 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 agr...
/* * Copyright 2015 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...
package com.odysee.app; import android.content.BroadcastReceiver; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.view.View; import androidx.annotation.NonNull; import an...
package com.raven.multithreaded.concurrentutil.condition; import java.util.concurrent.locks.*; /** * @PackageName: com.raven.multithreaded.concurrentutil.condition * @ClassName: ConditionTest * @Blame: raven * @Date: 2021-08-31 9:23 * @Description: */ public class ConditionTest { public static void main(Str...
package com.distrimind.bouncycastle.mail.smime.examples; import java.io.FileInputStream; import java.security.cert.X509Certificate; import java.util.Collection; import java.util.Iterator; import java.util.Properties; import javax.mail.BodyPart; import javax.mail.Multipart; import javax.mail.Session; import javax.mail...
package com.ljc.mymall.product.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ljc.c...
package cn.hutool.core.lang; import cn.hutool.core.lang.func.Func0; import cn.hutool.core.util.ArrayUtil; import cn.hutool.core.util.ClassUtil; import cn.hutool.core.util.ReflectUtil; import cn.hutool.core.util.StrUtil; import java.util.HashMap; /** * 单例类<br> * 提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回<br>...
/* * Copyright 2012 Phil Pratt-Szeliga and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.testcases.rootbeertest.serialization; import org.trifort.rootbeer.runtime.Kernel; public class ZeroLengthArrayRunOnGpu implements Kernel { priva...
package com.example.xzh.videodownloaddemo.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextVi...
package uk.gov.hmcts.reform.sandl.snlrules.controllers; import org.kie.api.runtime.ClassObjectFilter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation....
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
// Generated from D:/Code/IdeaProjects/PersonalCode/action/spring-rest/sr-service-impl/src/main/resources\QueryExpression.g4 by ANTLR 4.8 package com.silentcloud.springrest.service.impl.query.antlr.gen; import org.antlr.v4.runtime.tree.ParseTreeVisitor; /** * This interface defines a complete generic visitor for a pa...
/* * FactSet Symbology API * The FactSet Symbology API provides symbol resolution services, allowing clients to translate market identifiers into various symbology types such as, FactSet Permanent Identifiers, CUSIP, ISIN, SEDOL, Tickers, and Bloomberg FIGIs. <p>Factset's Symbology API sits at the center of its hub-a...
package com.javarush.task.task24.task2401; import java.lang.reflect.Method; public class Util { // Пример того, как можно использовать интерфейс-маркер // Этот метод подходит только для классов, реализующих SelfInterfaceMarker public static void testClass(SelfInterfaceMarker interfaceMarker) throws Unsupp...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package com.microsoft.azure.sdk.iot.provisioning.service; import com.microsoft.azure.sdk.iot.deps.transport.http.HttpMethod; import com.microsoft.azure.sdk.iot.deps.tr...
package ru.majordomo.hms.personmgr.service.scheduler; import net.javacrumbs.shedlock.core.SchedulerLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationEventPublisher; import org.springframework.ster...
/* author : oloop */ public class RandomPoints { public static void main(String[] args) { int n = Integer.parseInt(args[0]); StdDraw.setPenRadius(0.004); for (int i = 0; i < n; i++) { double x = StdRandomP.gaussian(.5, .1); ...
/* * Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose * * 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...
/* * 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 ...
// automatically generated by the FlatBuffers compiler, do not modify package io.github.api7.A6.HTTPReqCall; public final class Action { private Action() { } public static final byte NONE = 0; public static final byte Stop = 1; public static final byte Rewrite = 2; public static final String[] names = { "N...
package com.example.administrator.taoyuan.utils; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.List; /** * Created by Administrator on 2016/10/19. */ public class MyFragmentPagerAdapter extends FragmentPag...
/* * 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 Controladora; import javax.persistence.Persistence; import UBD.*; import UML.*; import Vista.*; import java.util.ArrayList; im...
/* * 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 2000-2015 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...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/******************************************************************************* * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
package com.mycompany.app; import com.microsoft.azure.sdk.iot.device.Message; import com.mycompany.app.MessageSender.EventCallback; import com.mycompany.app.MessageSender.TelemetryDataPoint; import java.time.LocalDateTime; import java.util.Random; /** * Created by Jan on 17.07.2017. */ public class SensorSimulatio...
package org.jetbrains.plugins.scala.worksheet.reporters; public interface ILoopWrapperReporter { void report(String severity, Integer line, Integer column, String lineContent, String message); default void internalDebug(String message) {}; }
/* * Copyright 2015 Ben Manes. 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 applicab...
/* * 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...
/* * Copyright 2014-2019 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 academy.hekiyou.door.mock; import academy.hekiyou.door.model.Channel; import academy.hekiyou.door.model.Invoker; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.logging.Level; import java.util.logging.Logger; import java.util...
package org.nd4j.linalg.api.ops.impl.accum; import org.nd4j.autodiff.samediff.SDVariable; import org.nd4j.autodiff.samediff.SameDiff; import org.nd4j.linalg.api.ndarray.INDArray; import java.util.Collections; import java.util.List; /** * Squared norm (sum_i x_i^2) reduction operation * * @author Alex Black */ ...