text
stringlengths
3
1.05M
var searchData= [ ['b_1813',['b',['../structpvr_1_1_swizzle_channels.html#a5b7e9cab3923f0fc1548222249802eea',1,'pvr::SwizzleChannels']]], ['binding_1814',['binding',['../structpvr_1_1effect_1_1_texture_ref.html#ac4abda6fd8ac8dde802f466a0fb82cb1',1,'pvr::effect::TextureRef::binding()'],['../structpvr_1_1effect_1_1_d...
from __future__ import division import numpy as np import scipy.stats as st from numpy.testing import assert_array_almost_equal from tensorprob import ( Exponential, MigradOptimizer, Mix2, Mix3, MixN, Model, Normal, Parameter, Poisson ) def test_mix2_fit(): with Model() as mo...
"{}".format(1, 2)
// // main.c // QuickSort // // Created by NapoleonYoung on 2018/11/13. // Copyright © 2018年 NapoleonYoung. All rights reserved. // #include <stdio.h> int array[101], n; void quickSort(int left, int right) { int temp, i, j, t; if (left > right) { return; } temp = array[left]...
/** * convertapi * Convert API lets you effortlessly convert file formats and types. * * OpenAPI spec version: v1 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.5 * * Do not edit the class man...
/* * FreeRTOS Defender V3.0.3 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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, inclu...
import path from 'path' import writeJson from '../write-json' import fs from 'fs' import jsonStringify from 'json-stringify-pretty-compact' describe('writeJson', () => { const dirTestPath = path.join(__dirname, 'writeJson') beforeEach((done) => { fs.mkdir(dirTestPath, done) }) afterEach(async (done) => {...
# Copyright 2018 Jörg Franke # # 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, s...
# Copyright 2017 The TensorFlow 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 applica...
import copy import logging import typing import warnings from typing import Any, Dict, Iterator, List, Optional, Text from rasa_sdk.events import EventType if typing.TYPE_CHECKING: # pragma: no cover from rasa_sdk.types import DomainDict, TrackerState logger = logging.getLogger(__name__) ACTION_LISTEN_NAME = ...
""" * Unravel * Interactive Disassembler * (c) 2013 Tiago Rezende * * Motorola 68k driver """ from unravel_base import * def M68K_Invalid_Insn(op, at, image): return Insn('invalid', ['invalid'], at, 2, {}, []) def M68K_decode_size_A(op): size_field = (op & (0x60)) >> 6 sizes = [ {id: "b", size:1}, {id: "w"...
// # 1 "parse.c" // # 1 "<built-in>" // # 1 "<command-line>" // # 1 "parse.c" // # 19 "parse.c" // # 1 "mutt.h" 1 // # 19 "mutt.h" // # 1 "config.h" 1 // # 20 "mutt.h" 2 // # 1 "/usr/include/stdio.h" 1 3 4 // # 28 "/usr/include/stdio.h" 3 4 // # 1 "/usr/include/features.h" 1 3 4 // # 329 "/usr/include/features.h" 3 4 ...
/* @ @licstart The following is the entire license notice for the JavaScript code in this file. Copyright (C) 1997-2017 by Dimitri van Heesch This program 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 Foundation; either ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:43 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/MetricsKit.framework/MetricsKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
// https://forums.getdrafts.com/t/script-step-post-to-github-without-working-copy/3594 const credential = Credential.create("gitlab repo", "gitlab repo"); credential.addTextField('username', "Username") credential.addTextField('repo', 'Repo') credential.addPasswordField('key', "access token") credential.authorize() ...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
from django.db import models from django.utils.encoding import python_2_unicode_compatible from nxxcgram.users import models as user_models from nxxcgram.images import models as image_models # Create your models here. class Notification(image_models.TimeStampedModel): TYPE_CHOICES = ( ('like', 'Like'), ...
__author__ = 'we32zac' from pyEOM.datasets import Dataset as DatasetAbs class Dataset(DatasetAbs): shortname = 'MOD10C1' platform = 'Terra' collection = '005' rastertype = 'CMG' timeInterval = 'P1D' host = 'n5eil01u.ecs.nsidc.org' dir = '/SAN/MOST/MOD10C1.005' sources =...
/* * Every NEW message will be created with this protection. When a * message is filed it retains its protection, so this only applies * to messages coming in through inc. */ char *msgprot = "0664";
"""add iy_article slug Revision ID: 37b32fa5627f Revises: Create Date: 2019-07-14 10:29:50.071210 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '37b32fa5627f' down_revision = None branch_labels = None depends_on = None ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import pwndbg.color.theme as theme import pwndbg.config as config from pwndbg.color import generateColorFunction config_arrow_color = theme.ColoredParameter('chain-arrow-color', 'normal', 'color of chain formatting (arrow)') config_contiguous_color = theme.ColoredPar...
"""Utilities for processing BaseSpace projects.""" from gencove.command.utils import sanitize_string def get_line(basespace_project): """Build a list of relevant data to be printed. Args: basespace_project (BaseSpaceProject): instance of BaseSpace project Returns: list(str): list of rele...
const lang = require("./lang"); const qdb = require('quick.db'); const ceny = require("./ceny.json"); const Discord = require("discord.js"); const fs = require("fs"); const levels = JSON.parse(fs.readFileSync("./Config/levele.json", "utf8")); const rangi = JSON.parse(fs.readFileSync("./Config/rangi.json", "utf8")...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 AmLogic, Inc. * Michael Turquette <mturquette@baylibre.com> */ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/init.h> #include <linux/of_device.h> #include <linux/mfd/syscon.h> #include <linux/platform_device.h> #include <linux/regm...
from assetmunki.interop import Serializeable class User(Serializeable): _url_relative = '/users' _attrs = [ 'id', 'first_name', 'last_name', 'username', 'email', 'phone', 'website', 'address', 'city', 'state', 'country', 'zip', 'company', 'manager', 'jobtitle', 'employee_num',...
// // XTUICollectionView.h // XTSample // // Created by 崔明辉 on 2018/3/15. // Copyright © 2018年 UED Center, YY Inc. All rights reserved. // #import "XTUIScrollView.h" @class XTUICollectionView; @protocol XTUICollectionViewExport <XTUIViewExport, JSExport> + (NSString *)xtr_refreshControl:(NSString *)objectRef; +...
'use strict'; const fs = require('fs'); const path = require('path'); const resolve = require('resolve'); const paths = require('./paths'); /** * Get webpack aliases based on the baseUrl of a compilerOptions object. * * @param {*} options */ function getWebpackAliases(options = {}) { const baseUrl = options.bas...
// load data if needed const fs = require("fs"); let noteData = []; // routing module.exports = function(app) { // API GET Requests // Read db.json and reaturn all of the saved notes as JSON app.get("/api/notes", function(req, res) { noteData = fs.readFileSync("./db/db.json", {encoding: "utf8",}); ...
// // Hopper Disassembler SDK // // (c)2014 - Cryptic Apps SARL. All Rights Reserved. // http://www.hopperapp.com // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FO...
# Copyright 2019 Quantapix 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 applicable l...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2014-2021 Megvii Inc. All rights reserved. import megengine.module as M from .yolo_head import YOLOXHead from .yolo_pafpn import YOLOPAFPN class YOLOX(M.Module): """ YOLOX model module. The module list is defined by create_yolov3_modules functio...
import logging from gensim import corpora, models, similarities logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) documents = ["Human machine interface for lab abc computer applications", "A survey of user opinion of computer system response time", "...
# -*- coding: utf-8 -*- import robot from AppiumFlutterLibrary.utils import ApplicationCache from AppiumFlutterLibrary.keywords.keywordgroup import KeywordGroup from appium.webdriver import Remote class _ApplicationManagementKeyWords(KeywordGroup): def __init__(self): self._cache = ApplicationCache() ...
/* 15.2.12.3 Extended File Properties Part */ /* [MS-OSHARED] 2.3.3.2.[1-2].1 (PIDSI/PIDDSI) */ var EXT_PROPS/*:Array<Array<string> >*/ = [ ["Application", "Application", "string"], ["AppVersion", "AppVersion", "string"], ["Company", "Company", "string"], ["DocSecurity", "DocSecurity", "string"], ["Manager", "Mana...
/*jslint browser: true, unparam: true, todo: true, plusplus: true*/ /*globals define: true, MutationObserver: false, requestAnimationFrame: false, performance: false, btoa: false*/ 'use strict'; import isPrintableKeyEvent from 'is-printable-key-event'; export default function (self) { var wheeling; self.stopPropa...
""" Based on initial work from django-debug-toolbar """ import re from datetime import datetime try: from django.db import connections except ImportError: # Django version < 1.2 from django.db import connection connections = {'default': connection} from django.conf import settings as django_settings ...
import plotly.graph_objs as go import plotly.io as pio from collections import namedtuple, OrderedDict from ._special_inputs import IdentityMap, Constant, Range from _plotly_utils.basevalidators import ColorscaleValidator from plotly.colors import qualitative, sequential import math import pandas as pd import numpy as...
import requests class LoginWebsiteName: """登录程序结构""" # 登录操作会话对象 session = requests.session() def __init__(self, username: str, password: str, **kwargs): self.username = username self.password = password pass def login(self) -> dict: """执行登录操作 :return: `rty...
import db from '../models'; const { EventCenter, Event, Facility } = db; class EventCenterController { /** * Creates a new center * @param{Object} req - api request * @param{Object} res - route response * @return{json} */ static createCenter(req, res) { EventCenter .create({ name:...
from chembl_webresource_client.new_client import new_client import pandas as pd from pandas import json_normalize import json import argparse from io import StringIO import sys def trg_mol(chembl_trg_id): chembl_trg_id = chembl_trg_id.strip() mol_1=list(new_client.activity.filter(target_chembl_id =chembl_trg_i...
from dataclasses import dataclass from typing import Dict, List, Tuple from flaxlight.types.blockchain_format.sized_bytes import bytes32 from flaxlight.types.condition_with_args import ConditionWithArgs from flaxlight.types.condition_opcodes import ConditionOpcode from flaxlight.util.streamable import Streamable, stre...
#!/usr/bin/python # # Compute MMANA geometry for vertical quad antenna. # Copyright (C) 2005 Serge Vakulenko <vak@cronyx.ru> # import math # Parameters of antenna MHz = 21.050 # Resonant frequency R = 0.001 # Wire radius # Wave length with experimental correction wave = 300/MHz * 1.058 H = wave/4 print "Vertical q...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file typeManager.h * @autho...
////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this ...
#!/usr/bin/env python # --------------------------------------------------------- # IOU Tracker # Copyright (c) 2017 TU Berlin, Communication Systems Group # Licensed under The MIT License [see LICENSE for details] # Written by Erik Bochinski # --------------------------------------------------------- from time impor...
# Imports from .base import BasePlatform from .github import GitHubPlatform from .bitbucket import BitbucketPlatform from .friendcode import FriendCodePlatform from .assembla import AssemblaPlatform from .gitlab import GitLabPlatform # Supported platforms PLATFORMS = ( # name -> Platform object ('github', Git...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertie...
import os import random import time import numpy as np import argparse from src.utils import build_optim, build_lrscheduler, LRSchedulerC, VisualDLC, build_transform, TwoCropTransform from src.models.supcon import SupConLoss, SupConResNet, SupConModel from tools.configsys import CfgNode as CN import paddle from paddl...
/* eslint-disable no-console */ import { ipcRenderer } from 'electron'; import { push } from 'connected-react-router'; import { serverLogsReceived, clearLogs, setServerArgs } from './ServerMonitor'; import settings from '../../shared/settings'; import i18n from '../../configs/i18next.config.renderer'; export const SER...
// START CUSTOM REVEAL.JS INTEGRATION (function() { if (typeof window.addEventListener === 'function') { var hljs_nodes = document.querySelectorAll('pre code'); for (var i = 0, len = hljs_nodes.length; i < len; i++) { var element = hljs_nodes[i]; // trim whitespace if data-trim attribute is pres...
# Detect English module # http://inventwithpython.com/hacking (BSD Licensed) # To use, type this code: # import detectEnglish # detectEnglish.isEnglish(someString) # returns True or False # (There must be a "dictionary.txt" file in this directory with all English # words in it, one word per line. You can download ...
/* TimelineJS - ver. 2.26.4 - 2013-11-26 Copyright (c) 2012-2013 Northwestern University a project of the Northwestern University Knight Lab, originally created by Zach Wise https://github.com/NUKnightLab/TimelineJS This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0....
# Copyright 2018 The TensorFlow Hub 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 app...
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
'use strict' const { Router } = require('express'); const router = Router() /*The Router() express method creates a new router object (fucntion). Once created we can add middleware and http method routes to it. Then call it as a call back in a middleware. This way to implement routes help us groupe the routes by entity...
"use strict"; var _a, _b, _c, _d, _e; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsOrganizationsOrganization = exports.DataAwsOrganizationsOrganizationRoots = exports.DataAwsOrganizationsOrganizationRootsPolicyTypes = exports.DataAwsOrganizationsOrganizationNonMasterAccounts = exports.D...
#include <stdint.h> #include <limits.h> #include <signal.h> #ifdef assert #undef assert #endif #ifdef NULL #undef NULL #endif #define NULL ((void*)0) #define bool _Bool #define true 1 #define false 0 #define assert(x) \ do{ \ if (!(x)){ \ printf("%s: %u (%s): %s: Assertion Failed",__FILE__,__LINE__,__func__,#x...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { fetchReportsList } from 'base/redux/actions/Actions'; import styles from './_reports-list-content.scss'; import HeaderAreaLayout from 'base/components/layout/HeaderAreaLayout'; import Heade...
/* * Author: Darío Marcos Casalé (795306) * Filename: publicGameController.js * Module: controllers/common * Description: game controller for each public room */ const GameController = require("./gameController"); /** * Object that controls the flow of a public game (including rematches) */ class PublicGameCon...
""" The AuthorisationToken is used to authorize the requests which get made. Every token has an activation_time and a access_token property which have to be present. The refresh_token property is only present if you use a authorization flow which provides a refresh_token. """ # ########################################...
import unittest from tests import * if __name__ == "__main__": unittest.main()
import React from "react"; import { graphql } from "gatsby" import Layout from "../components/layout/Layout"; import {Container} from "react-bootstrap"; import '../styles/recipe.scss'; const SpicePage = ({data}) => { const { markdownRemark } = data; const { frontmatter } = markdownRemark; return (<Layout>...
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2018, Anaconda, Inc. and Intake contributors # All rights reserved. # # The full license is in the LICENSE file, distributed with this software. #------------------------------------------------------------------------...
""" Plot planes from joint analysis files. Usage: plot_slices.py <files>... [--output=<dir>] Options: --output=<dir> Output directory [default: ./frames] """ import h5py from os import path import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt from mpl_toolkits.axes_gri...
// function pilih_bulann(myForm){ // var selIndex=myForm.ListBulan.selectedIndex; // alert(myForm.ListBulan.option.length); // }
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2016-2019 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Test CLI.""" import os from invenio_files_rest.cli import files as cmd def te...
/**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
import numpy as np import random from cost_functions import * from constants import * # TODO - tweak weights to existing cost functions WEIGHTED_COST_FUNCTIONS = [ (time_diff_cost, 10), (s_diff_cost, 100), (d_diff_cost, 100), (efficiency_cost, 10), (max_jerk_cost, 100), (to...
/* Copyright 2010 Juan Rada-Vilela 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...
import json from copy import deepcopy from testing_config import BaseTestConfig from application.urls import Urls from application.models import User, Category from application.utils import auth from t.helpers import \ create_user, \ create_categories, \ APP_JSON NUM_CATEGORIES = 5 class TestCategories(B...
// Copyright 2012 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. #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_ #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ #include <set> #include <utility> #include <vector> #include "...
export const SET_MUTE = 'SET_MUTE'; export function mute(value) { return { type: SET_MUTE, value }; }
import os import sys path = os.path.dirname(os.path.dirname(os.path.dirname(os.path. abspath(__file__)))) if path not in sys.path: sys.path.append(path) from AD.F13_district_heating_potential.main import ad_f13 import CM.CM_TUW4.run_cm as CM4 def execute(out...
import unittest import premark class TestPremark(unittest.TestCase): def setUp(self): pass def test_something(self): assert premark.__version__ def tearDown(self): pass
import Route from '@ember/routing/route'; import { set, action } from '@ember/object'; import { inject as service } from '@ember/service'; import alert from '../../utils/alert'; export default class SetupLegalRoute extends Route { @service intl; @service settings; @action agree() { const settings = thi...
const { deployProxy, redeployIf } = require("../utils"); const deployXocolatl = async () => { const detailName = "Xocolatl"; const contractName = "Xocolatl"; const args = []; const proxyOpts = { timeout: 600000, unsafeAllow: (["delegatecall"]), kind: 'uups' }; const deployed = await redeployIf(...
"use strict"; var marko_template = module.exports = require("marko/html").t(__filename), marko_component = {}, marko_components = require("marko/components"), marko_registerComponent = marko_components.rc, marko_componentType = marko_registerComponent("/marko-test$1.0.0/autotests/components-compilation...
function renderAnchors(){//renders all the anchors in the anchor array bc.clearRect(0,0,baseCanvas.width,baseCanvas.height); for(var i in anchor){//this is for point anchors if(anchor[i][2] > 0){//this is for positive anchors to be painted blue, with their influence factor as alpha bc.fillStyle = 'rgba(0,0,255,...
# # 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 not us...
/** * (C) Copyright 2018-2021 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(bio) #include <spdk/env.h> #include <spdk/blob.h> #include <spdk/thread.h> #include "bio_internal.h" static void dma_free_chunk(struct bio_dma_chunk *chunk) { D_ASSERT(chunk->bdc_ptr != NUL...
/* * * ListPage constants * */ export const DEFAULT_ACTION = "app/ListPage/DEFAULT_ACTION";
'use strict'; const miflora = require('../lib/miflora'); const delay = timeout => { return new Promise(resolve => { setTimeout(resolve, timeout); }); }; const discoverOptions = { addresses: ['c4:7c:8d:66:c6:41'], ignoreUnknown: true, duration: 30000 }; (async function () { console.log('> scanning for a max ...
/* eslint-disable max-len */ module.exports = {}; module.exports.nouns = [ 'account', 'acoustics', 'aftermath', 'afternoon', 'air', 'airplane', 'airport', 'animal', 'answer', 'ant', 'ants', 'apparatus', 'apparel', 'apple', 'apples', 'appliance', 'approval', 'arch', 'argument', 'a...
# Given a file (.jsonl) produced from the bootleg_emmental mention extractor, produce the {bootleg_labels.jsonl, bootleg_embs.npy, and # static_entity_embs.npy} files. import sys from bootleg.run import run_model sys.path.append("../../") import argparse from pathlib import Path parser = argparse.ArgumentParser() p...
// source: ConsensusCreateTopic.proto /** * @fileoverview * @enhanceable * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! var jspb = require('google-protobuf'); var goog =...
app.define("mobile.propiedades_view",function() { webix.ui ({ id : 'content' , width : "100%" , height : "auto" , rows: [ { view : "mobilist" , title : "PROPIEDADES", form : "mobil...
# coding: utf-8 """ This module gathers usefull functions for testing. """ import itertools import numpy as np from ..data import gen_rnd_ai_s from ..hrf_model import spm_hrf class YieldData(): def yield_diracs_signal(self): """ Yield diracs signals on which to test the convolution functions. """ ...
import testinfra def test_service_is_running_and_enabled(Service): kibana = Service('kibana') assert kibana.is_running assert kibana.is_enabled
'use strict'; /** * @throws Error * @param {Object} wrParams Worperiod recover request parmeters from post|put request * @param {Boolean} workperiodRecoveryByApprover */ function testRequired(wrParams, workperiodRecoveryByApprover) { if (undefined === wrParams.quantity || wrParams.quantity <= 0) { ...
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import math import numpy as np from openvino.tools.mo.ops.MatMul import MatMul from openvino.tools.mo.ops.elementwise import Add, Mul from openvino.tools.mo.ops.transpose import Transpose from openvino.tools.mo.front.common.partial_inf...
/* YUI 3.8.0pr2 (build 154) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('get', function (Y, NAME) { /** * NodeJS specific Get module used to load remote resources. It contains the same signature as the default Get module so there is ...
!function(){"use strict";function a(b,d){function e(a,b){return function(){return a.apply(b,arguments)}}var f;if(d=d||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=d.touchBoundary||10,this.layer=b,this.tapDe...
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.13.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.1.2 (2019-11-19) */ !(function() { 'use strict' var ...
#ifndef _EZ_DRAW_PROTOTYPES_ #define _EZ_DRAW_PROTOTYPES_ #include "EzDraw.h" #ifdef __cplusplus extern "C" { #endif typedef struct tag_ezdFunctions { HINSTANCE hInst; EZDBOOL (EZDCDECL* ezdInitialize)(void); void (EZDCDECL* ezdCleanUp)(void); EZDHANDLE (EZDCDECL* ezdDrawLine)(EZDFLOAT fX1,...
export function calulatePredictedMarketDominance(currentDominance, multiplier) { return currentDominance * multiplier; } export function calulatePredictedMarketCap(currentDominance, multiplier) { return currentDominance / multiplier; } export function calculatePrice(marketCap, circulatingSupply) { return market...
'use strict'; exports.__esModule = true; exports.compilePattern = compilePattern; exports.matchPattern = matchPattern; exports.getParamNames = getParamNames; exports.getParams = getParams; exports.formatPattern = formatPattern; var _invariant = require('invariant'); var _invariant2 = _interopRequireDefault(_invarian...
mycallback( {"CONTRIBUTOR OCCUPATION": "EVP Operations", "CONTRIBUTION AMOUNT (F3L Bundled)": "380.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Corinthian Colleges, Inc.", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "26512 Broken Bit Ln", "CONTRIBUTOR MIDDLE NAME": "A", "DONOR CANDIDATE ...
var searchData= [ ['tf_5fbin2hex_5flc',['TF_BIN2HEX_LC',['../a00990.html#gga121ffde3250c4ca6947c680868aa6017a2682cdac7651ff7c68303c6b240b4979',1,'atcacert_def.h']]], ['tf_5fbin2hex_5fspace_5flc',['TF_BIN2HEX_SPACE_LC',['../a00990.html#gga121ffde3250c4ca6947c680868aa6017a0cc6a8630e1d28499201e23f355a89fe',1,'atcacert...
(self.webpackChunkedumips64_webui=self.webpackChunkedumips64_webui||[]).push([[6449],{6449:(e,_,t)=>{"use strict";t.r(_),t.d(_,{conf:()=>r,language:()=>i});var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{op...