text
stringlengths
3
1.05M
// Copyright 2012 the V8 project 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 V8_ARM_MACRO_ASSEMBLER_ARM_H_ #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ #include "src/assembler.h" #include "src/bailout-reason.h" #include "src/fr...
importScripts("MessageChannel"); importScripts("MessagePort");
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:22:23 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/HealthR...
# Copyright (c) 2017 Ruud de Jong # This file is part of the SlipLib project which is released under the MIT license. # See https://github.com/rhjdjong/SlipLib for details. import collections import sys from .slip import Driver, ProtocolError class SlipWrapper: """Base class that provides a message based interfa...
/* * Copyright (c) 2008-2018, 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 ...
# coding=utf-8 """ This must exists for py.test to work out the path to 'ed' folder """ # djinja package imports from djinja import _local_env # 3rd party imports import pytest @pytest.fixture(autouse=True) def reset_jinja(request): """ Reset global _local_env variable between each test to ensure clean stat...
/** * FreeRDP: A Remote Desktop Protocol Implementation * RDP Server Redirection * * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@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...
/** * React v0.14.8 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}...
const DbService = require('../helpers/baseDbService'); const models = require('../db/models'); /** * Creates a new ThingService. * @extends DbService */ class ThingService extends DbService {} module.exports = new ThingService('Thing', models);
import pandas as pd train = pd.read_csv("./input/train.csv") train = train[:30000] headers = ['id', 'comment_text', 'toxic', 'severe_toxic', 'obscene', 'threat', 'insult', 'identity_hate'] new_train = pd.DataFrame(train, columns=headers) new_train.to_csv("./input/train_30000.csv",index=False)
var form = document.getElementById("contact-form"); async function handleSubmit(event) { event.preventDefault(); var alertDiv = document.getElementById("alert-div"); var alertDivP = document.getElementById("alert-div-p"); var alertErrDiv = document.getElementById("alert-err-div"); var data = new FormData(eve...
import ListaDuplamenteLigada from "../src/ListaDuplamenteLigada"; let l; beforeEach(() => { l = new ListaDuplamenteLigada(); }); test("Instanciacao", () => { expect(l.size()).toBe(0); expect(l.isEmpty()).toBe(true); }); test("Adicionar em lugares variados", () => { l.add(1); l.add(2); l.add(3); l.add(4); ex...
define("ember-data/attr", ["exports", "@ember-data/model"], function (_exports, _model) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); Object.defineProperty(_exports, "default", { enumerable: true, get: function get() { return _model.attr; } }); });
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright 2020 Gonzalo Maso Talou */ /* * TreeIndexCreator.h * * Created on: Feb 7, 2018 * Author: gonzalo */ #ifndef STATS_OBJECTTREEINDEXCREATOR_H_ #define STATS_OBJECTTREEINDEXCREATOR_H_ #include <vector> #include "../structures/tree/AbstractObjectCCOTree.h"...
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # This is the driver file for running the modelUnitTests (not the examples) # # Author: Johannes Gerstmayr # Date: 2019-07-15 # # Copyright:This file is part of Exudyn. Exudyn is free software. You can redistribute it and/or modify it ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv import random import glob import os import sys import numpy import scipy.io import pylab N_MONTH = 4 N_DAY_PER_MONTH = 31 BASE_MONTH = 4 TYPE_LENGTH = 4 class User(object): def __init__(self, id, info): self.id = id; self.bands = info.ke...
/*************************************************************************** * Plug-in for TAS5130D1B image sensor connected to the ET61X[12]51 * * PC Camera Controllers * * * * Copyright...
// --------------------------------------- // Test Environment Setup // --------------------------------------- //"karma-phantomjs-launcher": "^1.0.2", import sinon from 'sinon' import chai from 'chai' import sinonChai from 'sinon-chai' import chaiAsPromised from 'chai-as-promised' import chaiEnzyme from 'chai-enzyme'...
import serial import argparse import time import json import numpy as np import os import datetime from tensorflow import keras import tensorflow as tf parser = argparse.ArgumentParser() parser.add_argument("--serial", default="COM7", help="Serial port to connect to for instance COM3 on windows or /dev/ttyUSB0 on Lin...
class NodeFunctionInput { constructor( type, name, count = null, qualifier = '', isConst = false ) { this.type = type; this.name = name; this.count = count; this.qualifier = qualifier; this.isConst = isConst; } } NodeFunctionInput.isNodeFunctionInput = true; export default NodeFunctionInput;
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { options: { separator: "\n\n" }, dist: { src: [ 'src/_intro.js', 'src/main.js', 'src/_outro.js' ], dest: 'dist/<%= pkg.nam...
var gulp = require('gulp'); var clean = require('gulp-clean'); var runSequence = require('run-sequence'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var htmlmin = require('gulp-htmlmin'); var cleanCSS = require('gulp-clean-css'); var gulpCopy = require('gulp-copy'); var ngAnnotate = requi...
# Generated by Django 2.1.4 on 2019-03-18 22:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invoices', '0016_invoice_to_invoices'), ] operations = [ migrations.AddField( model_name='invoice', name='ticketbutl...
'use strict'; module.exports = function(app) { const controller = require('../controllers/controller.js'); // Routes app.route('/users') .post(controller.add_a_user); app.route('/users/:userId') .get(controller.read_a_user) .put(controller.update_a_user) .delete(controller.delete_a_user); ...
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2022 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['lt']={"wsc":{"btnIgnore":"Ignoruoti","btnIgnoreAll":"Ignoruoti visus","btnReplace":"Pakeisti","btnReplaceAll":"Pakeisti visus","btnUndo":"Atšaukti","changeTo":"P...
// -*- mode: c++; c-basic-offset: 4 indent-tabs-mode: nil -*- */ // // Copyright 2016 Juho Snellman, released under a MIT license (see // LICENSE). // // inline_deque is a double-ended queue implementation that can store // small queues inline in the queue structure itself, with no // additional heap allocation. This c...
/**************************************************************************** * examples/nxlines/nxlines.h * * Copyright (C) 2011-2012, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are p...
# Copyright (c) 2014 Adafruit Industries # Author: Tony DiCola # # 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, c...
import { queryNationality, deleteNationality, updateNationality, addNationality } from '../services/nationality'; export default { namespace: 'nationality', state: { dataSource: [], }, effects: { *fetchBasic({ payload }, { call, put }) { const response = yield call(queryNationality,payload); ...
#!/usr/bin/env python """The setup script.""" from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) with open('README.md') as readme_file: readme = readme_file.read() with open(path.join(here, 'requirements.txt')) as f: requirements = f.read().split() ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:51:28 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/EmailCore.framework/EmailCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli...
# Copyright 2020 gRPC 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 applicable law or agreed to in writing...
module.exports = function(grunt) { // Carrega configurações da pasta grunt-configs/ var path = require('path'); require('load-grunt-config')(grunt, { init: true, configPath: path.join(process.cwd(), 'source/tasks'), data: { projectRoot : './', projectDir : 'dist/', projectDev : '...
# # The Python Imaging Library. # $Id$ # # PIL raster font management # # History: # 1996-08-07 fl created (experimental) # 1997-08-25 fl minor adjustments to handle fonts from pilfont 0.3 # 1999-02-06 fl rewrote most font management stuff in C # 1999-03-17 fl take pth files into account in load_path (from Rich...
"""Application Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema from .GeoLocation import GeoLocation class Address(BaseSchema): # Cart swagger.json country...
/** * @prettier */ module.exports = { async asyncReplace(source, pattern, asyncReplacer) { // Find all the matches, replace with "", and discard the result const matches = []; source.replace(pattern, (...match) => { matches.push(match); return ""; }); // Now loop through those matc...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
""" Argo Workflows API Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-g...
# -*- coding: utf-8 -*- # # 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 #...
import Controller from 'ember-controller'; import RSVP from 'rsvp'; import injectService from 'ember-service/inject'; import injectController from 'ember-controller/inject'; import {isEmberArray} from 'ember-array/utils'; import ValidationEngine from 'ghost-admin/mixins/validation-engine'; const {Promise} = RSVP; ex...
/**************************************************************************//** * @file hal_flash.c * @brief Implement flash commands and features. * @version 1.00 * @date 2017-08-22 * * @note * ****************************************************************************** * * Copyright(c) 2007 - ...
/////////////////////////////////////////////////////////////////////////////// //---------------------------------------------------------------------------// //----------H----H--X----X-----CCCCC-----22222----0000-----0000-----11-------// //---------H----H----X-X-----C--------------2---0----0---0----0---1-1--------...
# 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...
def to_base(n, base): digits = [] while n > 0: digits.insert(0, n % base) n = n // base return digits def repunit(digits): for d in digits: if d != 1: return False return True def main(n): ret = 1 for i in range(2, n): reps = 0 for j in r...
import os import re import sys import codecs from fnmatch import fnmatchcase from distutils.util import convert_path from setuptools import setup, find_packages def read(*parts): filename = os.path.join(os.path.dirname(__file__), *parts) with codecs.open(filename, encoding='utf-8') as fp: return fp.re...
/** @file host.h ** @brief Host ** @author Andrea Vedaldi **/ /* Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #ifndef VL_HOST_H #define VL_HOST_H /** -----...
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * 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 ...
const express = require('express') const router = express.Router() const schoolService = require('../services/schools.service') // router.get('/', (req, res, next) => { // res.send("This is the school request") // }) router.get('/', schoolService.getSchools) module.exports = router
import os from typing import Tuple import torch as th from glide_text2im.respace import SpacedDiffusion from glide_text2im.text2im_model import Text2ImUNet from wandb import wandb from glide_finetune import glide_util, train_util def base_train_step( glide_model: Text2ImUNet, glide_diffusion: SpacedDiffusion...
module.exports = { coverageDirectory: "./coverage/", collectCoverage: true, testMatch: ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"], moduleFileExtensions: ["ts", "json", "node", "js"], transform: { "^.+\\.(ts)$": "babel-jest" }, testURL: "http://localhost/" };
/******************************************************************************* * Copyright (c) 2013-2021, Andrés Martinelli <andmarti@gmail.com> * * All rights reserved. * * ...
var dataInfoContent = `<h5>Note: properties may have changed ownership since the data was initially collected. There may also be some inaccuracies due to the large size of the dataset – to flag an issue, please <a href="mailto:housing-data@snhdsa.org">email us</a>.</h5> <p>The <b>property taxpayer</b> and address for ...
# -*- coding: UTF-8 -*- import json import random import re import time import traceback from Cookie import Cookie import requests import urllib3 import Logger from ProxyUtil import ProxyUtil # from Proxy import Proxy ''' 爬虫类:爬取指定URL ''' class Spider(): # 日志 logger = Logger.Logger( ...
"""Multiple gait pattern planning module.""" import os import inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(os.path.dirname(currentdir)) os.sys.path.insert(0, parentdir) import logging import math import numpy as np from typing import Any, ...
import json import os import pandas import csv def converter(props,labels,map_dict,vid): assert len(list(props.keys()))==len(list(labels.keys())) new_dict = {"labels":list(map_dict.keys()),"database":{}} for k,v in props.items(): conf = labels[k] tag = vid+"_"+str(k) act = {"pos":ma...
import React from 'react'; import { Link } from "react-router-dom"; function Art(props) { return ( <img className="art" src={props.src} alt={props.alt} /> ) } class Album extends React.Component { state = { images: [], } componentDidMount() { const albumID = this.props.match.params.albumID ...
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.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 ...
from pathlib import Path import torch import json import logging from models.albert.CommentsDataset import CommentsDataset version = "finalized" ROOT_DIR = Path(f"/shared/0/projects/prosocial/data/{version}/dataframes") OUTPUT_DIR = Path(f"/shared/0/projects/prosocial/data/{version}/data_cache/albert") logger = loggi...
# 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 u...
from __future__ import absolute_import, print_function from plot_bokeh.plot_bokeh import *
# Copyright 2014 Tennessee Leeuwenburg # 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...
module.exports = { presets: ["@vue/cli-plugin-babel/preset"], /* plugins: [ ['import', { libraryName: 'vant', libraryDirectory: 'es', // style: true // 定制主题请将此行注释或移除 }, 'vant'] ] */ };
import discord import asyncio import random from discord.ext import commands, tasks from json_commands import * intents = discord.Intents().all() TOKEN = "Nice token LOL!" bot = commands.Bot(command_prefix="a!", intents=intents) startup_extensions = ["Cog.admin.help_command", "Cog.admin.main", "Cog.responses.main", ...
#include <stdio.h> #include <ctype.h> inline int init(void){ int x; char c; for(c = getchar(); !isdigit(c); c = getchar()); for(x = 0; isdigit(c); c = getchar()) x = x * 10 + c - '0'; return x; } int main() { int k = init(); while(k--){ int a = init(); int b = init(); if(a < b){ int t = b; b = a...
var data = { "body": "<path d=\"M19.354 196.034l11.29 19.5c2.346 4.106 5.718 7.332 9.677 9.678c11.34-14.394 19.232-25.44 23.68-33.137c4.513-7.811 10.06-20.03 16.641-36.655c-17.736-2.335-31.176-3.502-40.32-3.502c-8.777 0-22.217 1.167-40.322 3.502c0 4.545 1.173 9.09 3.519 13.196l15.835 27.418z\" fill=\"#0066DA\"/><path ...
# This problem was recently asked by Facebook: # You are given the root of a binary tree. Find the path between 2 nodes that maximizes the sum of all the nodes in the path, # and return the sum. The path does not necessarily need to go through the root. class Node: def __init__(self, val): self.val = val...
/* global describe, it, element, by, expect */ 'use strict'; var setup = require('../../common/setup'); var authentication = require('../../authentication/authentication'); var common = require('../../common/common'); var xedit = require('../../common/xedit'); var components = require('../../components/components'); ...
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2018, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
""" Tracks the latency of a host by sending ICMP echo requests (ping). For more details about this platform, please refer to the documentation at https://home-assistant.io/components/binary_sensor.ping/ """ import logging import subprocess import re import sys from datetime import timedelta import voluptuous as vol ...
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactDnD=t(require("react")):e.ReactDnD=t(e.React)}(window,function(e){return function(e){var t={};function r(n){if(t[n])return t...
# MLCube Entrypoint # # This script shows how you can bridge your app with an MLCube interface. # MLCubes expect the entrypoint to behave like a CLI, where tasks are # commands, and input/output parameters and command-line arguments. # You can provide that interface to MLCube in any way you prefer. # Here, we show a wa...
import pytest from . import ( # noqa library, # for the fixture to work temp_filename, TestFiles, ) @pytest.mark.parametrize( "trim,text", [ (True, "ILMOITA VERKOSSA\nvero.fi/omavero"), (False, "ILMOITA VERKOSSA\nvero.fi/omavero\n"), ], ) def test_convert(library, trim, t...
import os import sys import logging import json import typing import collections from ConfigSpace.configuration_space import ConfigurationSpace, Configuration from ConfigSpace.hyperparameters import FloatHyperparameter, IntegerHyperparameter __author__ = "Marius Lindauer" __copyright__ = "Copyright 2016, ML4AAD" __li...
# Copyright 2019 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...
const new_fast = [ { principle: { handle: "FAST Checklist", text: "If technology allows visual rendering of content", num: "Vis.1", }, guidelines: [ { id: "defined-way-for-non-visual-rendering", num: "V.1.1", handle: "There is a defined way for a non-...
#!/usr/bin/env python3 import urllib.request import urllib.error import json import re import zipfile import os import shutil ASSETS = { 'bootstrap': { 'repo': 'twbs/bootstrap', 'files': [ { 'src': 'scss', 'dest': '_sass/bootstrap' }, ...
const fs = require('fs'); const { join } = require('path'); const { nfixt } = require('./utils'); const dir = join(__dirname, 'tmp', 'mkdir-test2'); describe('nixt#rmdir', () => { it('removes a directory', (done) => { nfixt() .mkdir(dir) .run('node mkdir.js mkdir-test2') .stdout('Directory exi...
# # Lockstep Platform SDK for Python # # (c) 2021-2022 Lockstep, Inc. # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # # @author Lockstep Network <support@lockstep.io> # @copyright 2021-2022 Lockstep, Inc. # @link https://github....
import React from 'react'; import PropTypes from 'prop-types'; import Header from './header'; import './layout.css'; const Layout = ({ children }) => ( <> <Header siteTitle="gatsby-plugin-s3" /> <div style={{ margin: '0 auto', maxWidth: 960, ...
""" Time In Profile Pic..... Command: `.autopp` :::::Credit Time:::::: 1) Coded By: @s_n_a_p_s 2) Ported By: @r4v4n4 (Legend) 3) End Game Help By: @spechide 4) All credits goes to @NeoMatrix90 #curse: who ever edits this credit section will goto hell """ import os from datetime import datetime from PIL import Image, ...
$(function() { let data = { index: 0, //当前加载索引 num: 5, //每次加载5条 banner: bannerData || [], //banner数据 userList: userListData || [], //关注列表 cont: contentData || [] //加载的内容 }; var header = document.querySelector("header"), $headerNav = $(".header-nav"), ...
#!/usr/bin/env python3 ''' api-test.py Jeff Ondich, 11 April 2016 Updated 7 October 2020 An example for CS 257 Software Design. How to retrieve results from an HTTP-based API, parse the results (JSON in this case), and manage the potential errors. ''' import sys import argparse import json imp...
import os import pygame import random import time import math def setup(screen, etc) : pass def draw(screen, etc) : radius = 50 color = etc.color_picker() halfSies = list((c // 2 for c in color)) if etc.audio_trig or etc.midi_note_new: for i in range(int(etc.knob3...
import treeListCore from './ui.tree_list.core'; import errors from '../widget/ui.errors'; import commonUtils from '../../core/utils/common'; import typeUtils from '../../core/utils/type'; import { each } from '../../core/utils/iterator'; import dataCoreUtils from '../../core/utils/data'; import { extend } from '../../c...
#!/usr/bin/env python3 import argparse import itertools import json import os from sklearn.metrics import adjusted_rand_score def compare_clusterings(A, B): """Compare two clusterings.""" y_A = sorted(A.keys()) y_B = sorted(B.keys()) assert y_A == y_B return adjusted_rand_score( list(A...
/*- * Copyright (c) 2003-2009 RMI Corporation * 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, this list o...
(window.webpackJsonp=window.webpackJsonp||[]).push([[359],{3213:function(e,t,n){"use strict";n.r(t),n.d(t,"icon",(function(){return h}));n(11),n(2),n(5),n(8),n(4),n(10);var r=n(0),o=n.n(r);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.proto...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW50UmVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9JbnRSZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElud...
__version__ = '1.0.1' default_app_config = 'drf_firebase.apps.DRFFirebaseAuthenticationConfig'
import numpy as np from functions import identify_nearest_centroid_for_multiple_tables from algorithm_2 import algorithm_2 ''' for testing import numpy as np import numpy numpy.set_printoptions(threshold=numpy.nan) from double_Q import DQPID from algorithm_2 import algorithm_2 from algorithm_4 import algorithm_4 fr...
"""Python script that produces reStructuredText out of JUnit/xUnit output (XML)""" import argparse import logging import xml.etree.ElementTree as ET from collections import namedtuple from pathlib import Path from mako.exceptions import RichTraceback from mako.runtime import Context from mako.template import Template ...
import React from "react"; import {Bio as BioField} from "components/Fields/Edit/Bio"; const Bio = React.memo(({initialValue, form}) => ( <BioField getFieldDecorator={form.getFieldDecorator} initialValue={initialValue} /> )); export default Bio;
import pytest from numpy import exp, sin, cos import numpy as np from cxroots import Circle from cxroots.tests.ApproxEqual import roots_approx_equal @pytest.mark.parametrize('symmetry', [ pytest.param(lambda z: [z.conjugate()], id='right_symmetry'), pytest.param(lambda z: [z+1], id='wrong_symmetry')...
// scuffed bc I interpreted the question wrong then had to hack the code into something else once I realized what the question actually meant let sink = function(grid, m, n) { // find floating, return true if on boundary, number of tiles if not grid[m][n] = 0; let boundary = false; let count = 0; i...
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '2c224e7e-3ef5-431d-a57b-e71f4662e3a6', name: 'Node CLI Test', user: { ...
// Taken from https://github.com/montogeek/remark-responsive-tables // Included manually as couldn't find a yarn plugin const visit = require("unist-util-visit"); module.exports = md; function md (options) { return function transformer(tree, file) { let headings; visit(tree, "tableRow", visitor); fu...
# 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 use ...
import numpy as np import copy from pynumdiff.linear_model import savgoldiff #################################################################################################################################################### # Helper functions ########################################################################...