text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { CollateralizedSimpleInterestTermsContract as ContractArtifacts } from "@dharmaprotocol/contracts"; import * as promisify from "tiny-promisify"; import * as Web3 from "web3"; import { BigNumber } from "../../../utils/bignumber"; import { classUtils } from "../../../utils/class_utils"; import { Web3Utils } from ...
the_stack
import * as core from '@spyglassmc/core' import type { TextDocument } from 'vscode-languageserver-textdocument' import * as ls from 'vscode-languageserver/node.js' import { InsertTextFormat } from 'vscode-languageserver/node.js' import type { MyLspInlayHint } from './types.js' const ZeroPosition: ls.Position = { line:...
the_stack
import { createAction, createReducer, SimpleActionCreator, BaseActionCreator, EmptyActionCreator, Action } from "redux-act"; import { Reducer } from "redux-act"; import { List, Map, fromJS } from "immutable"; import { Store } from "redux"; import { FxReducer, d, m } from "./reducer"; import { TreeMap } from "../libs/t...
the_stack
import {ChangeDetectorRef, Component, ComponentFactoryResolver, ElementRef, Input, NgZone, OnDestroy, OnInit} from '@angular/core'; import {StickyModalRef, StickyModalService, StickyPositionStrategy} from 'ngx-sticky-modal'; import {fromEvent, Subject, Subscription} from 'rxjs'; import {debounceTime, filter} from 'rxjs...
the_stack
import { VariableMappingBehavior } from '../interfaces/variable-mapping-type.interface'; export type PROJECT_TYPE = 'project'; export type CUSTOM_MODEL_TYPE = 'model'; export type PROCESS_TYPE = 'process'; export type FORM_TYPE = 'form'; export type CONNECTOR_TYPE = 'connector'; export type DATA_TYPE = 'data'; export ...
the_stack
import {ParseTreeListener} from "antlr4ts/tree/ParseTreeListener"; import { AtomicContext, AtomicExpressionContext, BinaryExpressionAddContext, BinaryExpressionAndContext, BinaryExpressionDivideContext, BinaryExpressionEqualContext, BinaryExpressionGreaterThanContext, BinaryExpressionGr...
the_stack
import objectPath from "object-path"; import { traverse } from "ast-monkey-traverse"; import is from "@sindresorhus/is"; import { version as v } from "../package.json"; const version: string = v; function goUp(pathStr: string) { // console.log(`014 goUp(): INCOMING pathStr = "${pathStr}"`); if (pathStr.includes("....
the_stack
import React, { ReactNode, Children, ReactChild, ReactFragment, ReactPortal } from 'react'; import cls from 'classnames'; import PropTypes from 'prop-types'; import BaseComponent from "../_base/baseComponent"; import { CarouselProps } from './interface'; import { cssClasses, numbers, strings } from '@douyinfe/semi-fou...
the_stack
import * as path from 'path'; import { ISecurityGroup, IVpc, SecurityGroup, SubnetSelection, SubnetType, } from '@aws-cdk/aws-ec2'; import { IAccessPoint, } from '@aws-cdk/aws-efs'; import { Code, FileSystem as LambdaFilesystem, Function as LambdaFunction, Runtime, } from '@aws-cdk/aws-lambda'; impo...
the_stack
import * as Common from '../../core/common/common.js'; import * as i18n from '../../core/i18n/i18n.js'; import * as Platform from '../../core/platform/platform.js'; import * as TextUtils from '../text_utils/text_utils.js'; import type {Project} from './WorkspaceImpl.js'; import {Events as WorkspaceImplEvents, projectT...
the_stack
import {Screen} from "@nativescript/core/platform"; declare const Phaser; const scale = Screen.mainScreen.scale; const maxWidth = Screen.mainScreen.widthPixels; const maxHeight = Screen.mainScreen.heightPixels; /** * * Game configurations. * @name configurations */ /*const configurations = { type: Phaser.AUTO,...
the_stack
import {Class, AnyTiming, Timing} from "@swim/util"; import {MemberFastenerClass, Property} from "@swim/component"; import type {Trait} from "@swim/model"; import {ViewRef} from "@swim/view"; import type {GraphicsView} from "@swim/graphics"; import {Controller, TraitViewRef, TraitViewControllerSet} from "@swim/controll...
the_stack
import { ILogger, IContainer, Writable, IDisposable, } from '@aurelia/kernel'; import { IFile, } from '../system/interfaces.js'; import { Intrinsics, } from './intrinsics.js'; import { $EnvRec, $ModuleEnvRec, $GlobalEnvRec, $FunctionEnvRec, $DeclarativeEnvRec, } from './types/environment-record.js...
the_stack
import * as luaparse from 'luaparse'; import { Symbol, SymbolKind } from './symbol'; import { Scope } from './scope'; import { getNodeRange } from '../utils'; export class Analysis { public symbols: Symbol[] = []; private scopeStack: Scope[] = []; private globalScope: Scope | null = null; private cur...
the_stack
import { IClockTimer } from '../clock/clock'; import { IRQ } from '../irq'; import { RP2040 } from '../rp2040'; import { BasePeripheral, Peripheral } from './peripheral'; export enum DREQChannel { DREQ_PIO0_TX0, DREQ_PIO0_TX1, DREQ_PIO0_TX2, DREQ_PIO0_TX3, DREQ_PIO0_RX0, DREQ_PIO0_RX1, DREQ_PIO0_RX2, D...
the_stack
import { GraphCommandHandler, mapAppend, NodeListWrapper } from '../shared'; export type NodeId = string; export enum NodeType { Path = 'Path', Request = 'Request', QueryParameters = 'QueryParameters', Response = 'Response', Endpoint = 'Endpoint', Body = 'Body', BatchCommit = 'BatchCommit', } export ty...
the_stack
import * as aws from "@pulumi/aws"; import * as pulumi from "@pulumi/pulumi"; import * as cloudwatch from "../cloudwatch"; export namespace metrics { export type RdsMetricName = "BinLogDiskUsage" | "BurstBalance" | "CPUUtilization" | "CPUCreditUsage" | "CPUCreditBalance" | "DatabaseConnect...
the_stack
import * as k8s from "@kubernetes/client-node"; import * as assert from "power-assert"; import { applicationLabels, labelMatch, labelSelector, matchLabels, safeLabelValue, } from "../../../../lib/pack/k8s/kubernetes/labels"; describe("pack/k8s/kubernetes/labels", () => { describe("safeLabelVal...
the_stack
import { Color } from 'cogl'; import * as Gio from 'gio'; import { byteArray } from 'gjs'; import * as GLib from 'glib'; import { MsManager } from 'src/manager/msManager'; import { getSettings } from 'src/utils/settings'; import { ShellVersionMatch } from 'src/utils/shellVersionMatch'; import * as St from 'st'; import ...
the_stack
import { BlogCategoryModel, BlogMetaTagModel, BlogModel, BlogDocumentModel, BlogTagModel, BlogResponse, BlogCategoryResponse } from './blog.model'; import {Injectable} from "@angular/core"; import {Observable} from "rxjs/Observable"; import {Config} from "../../../shared/configs/general.config";...
the_stack
import { query, poolConnect } from './db-connectors/pg-connector.ts'; import { template } from './sql-template.ts'; import { validate } from './validate-strings.ts'; /* ----------------------------- TYPE INTERFACE ----------------------------- */ interface Info { action: { type: null | string; table: null | ...
the_stack
import { AttributeDirective } from "../vdom/attribute_directive"; import { CSSStyleProps } from "./style"; /* tslint:disable:max-line-length no-empty-interface */ export declare interface ElementAttrs { style?: CSSStyleProps; /** * The id global attribute defines a unique identifier (ID) which must be unique ...
the_stack
import _ from 'lodash' import IstioFunctions from "./istioFunctions"; import { K8sClient } from "./k8sClient"; import K8sFunctions from "./k8sFunctions"; import { ServiceDetails } from "./k8sObjectTypes"; import {isGlobalFqdn, isNamespaceFqdn, isServiceFqdn, normalizeServiceFqdn, FqdnMatcher} from '../util/matchUtil' i...
the_stack
import type { DataItem } from "../../../core/render/Component"; import type { AxisRenderer } from "./AxisRenderer"; import { Axis, IAxisSettings, IAxisPrivate, IAxisDataItem, IAxisEvents } from "./Axis"; import type { IXYSeriesDataItem, XYSeries } from "../series/XYSeries"; import * as $array from "../../../core/util/A...
the_stack
import { assert } from 'chai' import path from 'path' import { spawn } from 'child_process' import del from 'del' import fs from 'fs-extra' import { MOCHAPACK_NAME } from '../../../src/util/constants' const fixtureDir = path.join(process.cwd(), '.tmp/fixture') const deleteTest = fileName => del(path.join(fixtureDir, ...
the_stack
// The MIT License (MIT) // // vs-deploy (https://github.com/mkloubert/vs-deploy) // Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // ...
the_stack
import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace plus_v1 { interface Options extends Glo...
the_stack
import { sample, guard, createEvent, createStore, createEffect, is, } from 'effector' import {argumentHistory} from 'effector/fixtures' test('sid support', () => { const source = createStore(null) const sampled = sample({source, sid: 'foo'}) expect(sampled.sid).toBe('foo') }) describe('temporal co...
the_stack
import { Component, OnInit } from '@angular/core'; import { IdprestapiService } from '../idprestapi.service'; import { IdpService } from '../idp-service.service'; import { IdpdataService } from '../idpdata.service'; @Component({ selector: 'app-approve-release', templateUrl: './approve-release.component.html', sty...
the_stack
import React, { ComponentType, HTMLAttributes, ReactNode, useCallback, useMemo, useState } from 'react'; import Popover from 'src/components/Popover'; import ConfigContext from 'src/components/ConfigProvider/ConfigContext'; import useLocale from 'src/components/LocaleProvider/useLocale'; import { Override, Size } from...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PublicIPAddresses } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { NetworkManagementClient } from "../ne...
the_stack
import { Component } from '../component'; import { DOMUtils } from '../../services'; import { Tools } from '../../tools'; import * as Configuration from '../../configuration'; import { Events, ColorClassNameTypes, RenderTypes } from '../../interfaces'; // D3 imports import { select } from 'd3-selection'; import { sank...
the_stack
import { MachineConfig, Machine, assign, Action, AssignAction, spawn, Condition, DoneInvokeEvent, StateSchema, StateMachine, State } from 'xstate'; import {filter, map, distinctUntilChanged} from 'rxjs/operators'; import {StateVariables} from '@statechannels/wallet-core'; import {StateChannelsErro...
the_stack
| Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ import { ArrayExt, StringExt } from '@lumino/algo...
the_stack
import { ERC20Wrapper } from '@0x/contracts-asset-proxy'; import { blockchainTests, describe } from '@0x/contracts-test-utils'; import * as _ from 'lodash'; import { deployAndConfigureContractsAsync, StakingApiWrapper } from './utils/api_wrapper'; import { CumulativeRewardTrackingSimulation, TestAction } from './utils...
the_stack
import type { TSESTree } from "@typescript-eslint/experimental-utils"; import { AST_NODE_TYPES } from "@typescript-eslint/experimental-utils"; // TS import - only use this for types, will be stripped out by rollup. import type { Type, UnionType } from "typescript"; // TS import - conditionally imported only when types...
the_stack
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { createSelector, select, Store } from '@ngrx/store'; import { Operation } from 'fast-json-patch'; import { Observable } from 'rxjs'; import { find, map, take } from 'rxjs/operators'; import { EPeopleRegistryCancelEP...
the_stack
import { fAccounts, fAdvancedERC20TxSendFormikFields, fAdvancedETHTxSendFormikFields, fAssets, fERC20NonWeb3TxConfig, fERC20TxSendFormikFields, fETHNonWeb3TxConfig, fETHTxSendFormikFields, fETHTxSendFormikFieldsEIP1559, fNetwork } from '@fixtures'; import { translateRaw } from '@translations'; impor...
the_stack
import { IAppInsightsDeprecated } from "../../../src/ApplicationInsightsDeprecated"; import { ApplicationInsightsContainer } from "../../../src/ApplicationInsightsContainer"; import { IApplicationInsights, Snippet } from "../../../src/Initialization"; import { Sender } from "@microsoft/applicationinsights-channel-js"; ...
the_stack
* @packageDocumentation * @module std */ //================================================================ import { IForwardIterator } from "../iterator/IForwardIterator"; import { IPointer } from "../functional/IPointer"; import { Pair } from "../utility/Pair"; import { BinaryPredicator } from "../internal/funct...
the_stack
import { BuilderContext, createBuilder, targetFromTargetString } from '@angular-devkit/architect'; import { DevServerBuildOutput, WebpackLoggingCallback, runWebpackDevServer, } from '@angular-devkit/build-webpack'; import { json, tags } from '@angular-devkit/core'; import * as path from 'path'; import { Observabl...
the_stack
import * as cdk from '@aws-cdk/core'; import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse'; /** * Properties for defining a `AWS::CodePipeline::CustomActionType`. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html * @external */ export interfa...
the_stack
import * as React from 'react'; import { cleanup, render, fireEvent } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { DefaultButton } from './DefaultButton/DefaultButton'; import { IconButton } from './IconButton/IconButton'; import { ActionButton } from './ActionButton/Act...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, } from 'n8n-workflow'; import { discourseApiRequest, } from './GenericFunctions'; import { postFields, postOperations, } from './PostDescrip...
the_stack
import {Fraction} from "../../Common/DataObjects/Fraction"; import {Repetition} from "../MusicSource/Repetition"; import {DynamicsContainer} from "../VoiceData/HelperObjects/DynamicsContainer"; import {MappingSourceMusicPart} from "../MusicSource/MappingSourceMusicPart"; import {SourceMeasure} from "../VoiceData/Source...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ArtworkInfoSectionTestsQueryVariables = {}; export type ArtworkInfoSectionTestsQueryResponse = { readonly commerceOrder: { readonly internalID: string; readonly " $fragmentRefs": FragmentRefs<"...
the_stack
import { writeFileSync } from "node:fs"; import { mockAccountId, mockApiToken } from "./helpers/mock-account-id"; import { setMockResponse, unsetAllMocks } from "./helpers/mock-cfetch"; import { mockConsoleMethods } from "./helpers/mock-console"; import { runInTempDir } from "./helpers/run-in-tmp"; import { runWrangler...
the_stack
import { isLaunchInsideApp, setTransparentBackground, showActionSheet, showModal, showNotification, showPreviewOptions, useStorage, request, } from '@app/lib/help' import {FC} from 'react' /**榜单信息*/ interface TopInfo { /**榜单名字*/ title: string /**榜单链接*/ href: string } /**文章信息*/ interface Artic...
the_stack
/// <reference types="jquery"/> /// <reference types="jqueryui"/> declare namespace JQueryUI { interface UI { dynatree: DynatreeNamespace } } interface JQuery { dynatree(options?: DynatreeOptions): DynaTree; dynatree(option?: string, ...rest: any[]): any; } interface DynaTree { activateKe...
the_stack
import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react'; import {AutoComplete, Input, Modal, Tag} from 'antd'; import {ExclamationCircleOutlined} from '@ant-design/icons'; import styled from 'styled-components'; import {ResourceFilterType} from '@models/appstate'; import {useAppDispatch, use...
the_stack
import assert = require("assert"); import { existsSync, readFileSync } from "fs"; import { pathExists, remove } from "fs-extra"; import os = require("os"); import * as fold from "travis-fold"; import * as yargs from "yargs"; import { FS, getDefinitelyTyped } from "../get-definitely-typed"; import { Options, TesterOpti...
the_stack
const fetch = require('node-fetch'); const crypto = require('crypto'); var url = require('url'); // import bodyParser from "body-parser"; var bodyParser = require('body-parser') import * as botbuilder from "botbuilder"; const VERIFY_TOKENS = [ '00000000000000000000000000000000', 'ffffffffffffffffffffffffffff...
the_stack
import { inject, injectable, multiInject } from 'inversify'; import { homedir } from 'os'; import { basename, join } from 'path'; import * as vscode from 'vscode'; import * as nls from 'vscode-nls'; import { ProfilerFactory } from '../../adapter/profiling'; import { Commands } from '../../common/contributionUtils'; imp...
the_stack
import React, { CSSProperties, useRef, useCallback, useEffect, useState, } from 'react' import { boostHubWebViewUserAgent, boostHubPreloadUrl } from '../lib/boosthub' import { WebviewTag, DidNavigateEvent, IpcMessageEvent, DidNavigateInPageEvent, NewWindowEvent, WillNavigateEvent, } from 'electron...
the_stack
import { AbiItem, BurnDetails, ContractCall, getRenNetworkDetails, LockAndMintTransaction, Logger, MintChain, ChainStatic, RenNetwork, RenNetworkDetails, RenNetworkString, EventEmitterTyped, } from "@renproject/interfaces"; import { assertType, fromHex, Ox, ...
the_stack
import * as sinon from "sinon"; import * as assert from "assert"; import * as util from "util"; import { State, Player } from "./Schema"; import { MapSchema, type, Schema, filterChildren, SchemaDefinition, ArraySchema } from "../src"; describe("MapSchema Tests", () => { it("should allow to pre-populate a Map", (...
the_stack
import "mocha"; import chai from "chai"; import chaiAsPromised from "chai-as-promised"; import { createSandbox, match, SinonSandbox } from "sinon"; import dotenv from "dotenv"; import { AadManager } from "../../../../src/plugins/resource/apim/managers/aadManager"; import { v4 } from "uuid"; import { AssertConfigNotEm...
the_stack
import { FormKitNode, FormKitMessage, createMessage } from '@formkit/core' import { FormKitObservedNode, createObserver, applyListeners, diffDeps, removeListeners, FormKitDependencies, isKilled, } from '@formkit/observer' import { has, empty, token, clone, cloneAny, eq } from '@formkit/utils' /** * Spec...
the_stack
import './hub.css'; // eslint-disable-next-line @typescript-eslint/no-var-requires const taskSvg = require('./task.svg'); import { VSMessage, ViewState} from '../common/vscode-api'; import { debounce } from 'debounce'; import {ResourceData} from '../../tekton-hub-client/api'; import { BaseWidget, Listener, Widget } fro...
the_stack
import * as extensions from "../extensions"; import { TypeData, ScalarType, EnumType, FieldsType, FieldsTypeArg } from "gqless"; type Extension<TName extends string> = TName extends keyof typeof extensions ? typeof extensions[TName] : any; /** * @name Boolean * @type SCALAR */ type t_Boolean<T extend...
the_stack
import type { SubjectMessage } from '../../../../../../tests/transport/SubjectInboundTransport' import { Subject } from 'rxjs' import { SubjectInboundTransport } from '../../../../../../tests/transport/SubjectInboundTransport' import { SubjectOutboundTransport } from '../../../../../../tests/transport/SubjectOutbound...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import createLogger from "debug"; import uuid from "uuid/v4"; import {WebIOCommand, WebIOCommandType, WebIOMessage, WebIORequest, WebIORequestType, WebIOResponse} from "./message"; import {WebIODomElement, WebIONodeSchema} from "./Node"; import WebIOScope from "./Scope"; import createNode, {NODE_CLASSES} from "./creat...
the_stack
// Imported from: fs-extra-promise typings (minus Bluebird) /// <reference types="node"/> import stream = require("stream"); import fs = require("fs"); export type Stats = fs.Stats; export interface FSWatcher { close(): void; } export class ReadStream extends stream.Readable { } export class WriteStream extend...
the_stack
import _ from 'lodash' import { createQueryBuilder, EntityManager, getManager, UpdateQueryBuilder } from 'typeorm' import { TelleryBaseEntity } from '../../entities/base' import BlockEntity from '../../entities/block' import { LinkEntity } from '../../entities/link' import { InvalidArgumentError } from '../../error/er...
the_stack
import React, { Component } from 'react'; /*-- Apply Third-party plugins (import location should be in front of "GLOBAL STYLES") --*/ import '@/components/_plugins/_lib-bootstrap'; import '@/components/_plugins/_lib-icons'; /*-- Apply global scripts and styles --*/ import '@/components/_utils/styles/_all.scss'; impor...
the_stack
import {clamp, toFixedNumber} from '@react-stately/utils'; import {ColorAxes, ColorChannel, ColorChannelRange, ColorFormat, Color as IColor} from '@react-types/color'; // @ts-ignore import intlMessages from '../intl/*.json'; import {MessageDictionary} from '@internationalized/message'; import {NumberFormatter} from '@i...
the_stack
import type { DevtoolsPluginApi, Hooks } from "@vue/devtools-api/lib/esm"; import { promisedTimeout } from "../utils"; type OnEvent = { type: Hooks; args: any[] }; type ApiEvent = { type: keyof DevtoolsPluginApi<unknown>; args: any[] }; let apiProxyFactory: ( promiseApi: Promise<DevtoolsPluginApi<unknown>> ) => Dev...
the_stack
import * as _ from "lodash"; import { ModelUtils } from "../utils/ModelUtils"; import { ModelRaceEnum, IGenericField, GenericFieldTypeEnum, IGenericFieldSubModel, EnumConfigExtractResult, } from "./defs"; import * as path from "path"; import * as Inflected from "inflected"; // This model can be inquired for ...
the_stack
import { Palette, publish, SVGWidget, Utility } from "@hpcc-js/common"; import { compare2 } from "@hpcc-js/util"; import { sankey as d3Sankey, sankeyLinkHorizontal as d3SankeyLinkHorizontal } from "d3-sankey"; import { select as d3Select } from "d3-selection"; import { AnnotationColumn, toJsonObj } from "./dataGraph";...
the_stack
import * as fs from "fs"; import * as path from "path"; import { dialog, Menu, MenuItemConstructorOptions } from "electron"; import { EmulatorPanelState } from "@state/AppState"; import { LinkDescriptor, MachineContextProviderBase } from "./machine-context"; import { mainProcessStore } from "./mainProcessStore"; impor...
the_stack
import { jsx } from '@emotion/react' import { Console } from 'console-feed' import { Resizable, ResizeCallback } from 're-resizable' import React from 'react' import { ErrorMessage, ErrorMessageSeverity, messageIsFatalOrError, messageIsWarning, } from '../../core/shared/error-messages' import { ConsoleLog } fro...
the_stack
import { Accordion, AccordionDetails, AccordionSummary, Slider, Typography, } from "@material-ui/core"; import { styled, Button, TextField, Box, Drawer, Toolbar, } from "@material-ui/core"; import { compileDomain, showError, SynthesizerSetting } from "@penrose/core"; import React from "react"; imp...
the_stack
import { App, FirebaseArrayIndexError } from '../app'; import { AuthClientErrorCode, ErrorInfo, FirebaseAuthError } from '../utils/error'; import { deepCopy } from '../utils/deep-copy'; import * as validator from '../utils/validator'; import { AbstractAuthRequestHandler, useEmulator } from './auth-api-request'; import...
the_stack
import { ABSENT, arrayWith, countResources, countResourcesLike, deepObjectLike, expect as expectCDK, haveResource, haveResourceLike, not, objectLike, ResourcePart, SynthUtils, } from '@aws-cdk/assert'; import { CfnLaunchConfiguration, } from '@aws-cdk/aws-autoscaling'; import { Certificate, ...
the_stack
//const Z_FILTERED = 1; //const Z_HUFFMAN_ONLY = 2; //const Z_RLE = 3; const Z_FIXED = 4; //const Z_DEFAULT_STRATEGY = 0; /* Possible values of the data_type field (though see inflate()) */ const Z_BINARY = 0; const Z_TEXT = 1; //const Z_ASCII = 1; // = Z_TEXT const Z_UNKNOWN =...
the_stack
import { root, text, list, listItem, paragraph, strong, brk, link, inlineCode, table, tableRow, tableCell, code, html } from 'mdast-builder'; import { ApiClass, ApiConstructor, ApiConstructSignature, ApiDocumentedItem, ApiEnum, ApiFunction, ApiInterface, ApiItem, ApiItemKin...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import {Observable} from "rxjs/Observable"; import * as _ from "underscore"; import {Subject} from "rxjs/Subject"; import {SaveFeedResponse} from "../../../../feeds/define-feed-ng2/model/save-feed-response.model"; import {Feed} from "../../../../model/feed/feed.model"; import {FeedDataTransformation} from "../../../.....
the_stack
import { query as q } from 'faunadb'; import { MethodDispatch, Query } from '~/factory/constructors/method'; import { ResultData } from '~/factory/constructors/result'; import { FactoryContext } from '~/types/factory/factory.context'; import { FactoryRole } from '~/types/factory/factory.role'; import { action } from '....
the_stack
import { NodeProject } from "."; import { JsonFile } from "../json"; export interface TypescriptConfigOptions { /** * @default "tsconfig.json" */ readonly fileName?: string; /** * Specifies a list of glob patterns that match TypeScript files to be included in compilation. * * @default - all .ts fi...
the_stack
import {EventAggregator, Subscription} from 'aurelia-event-aggregator'; import {bindable, inject, observable} from 'aurelia-framework'; import * as Bluebird from 'bluebird'; import {IShape} from '@process-engine/bpmn-elements_contracts'; import {DataModels} from '@process-engine/management_api_contracts'; import {IDi...
the_stack
* Unit tests for convolutional.ts. */ import * as tfc from '@tensorflow/tfjs-core'; import {scalar, Tensor, tensor1d, tensor3d, tensor4d, tensor5d, util} from '@tensorflow/tfjs-core'; import * as tfl from '../index'; import {InitializerIdentifier} from '../initializers'; import {ActivationIdentifier} from '../keras_...
the_stack
import { Map as ImmutableMap, Record } from 'immutable'; import { ClientType } from '@colony/colony-js'; import { Transaction, TRANSACTION_STATUSES } from '~immutable/index'; import reducer from '../transactions'; import { CoreTransactions, TransactionsListMap } from '../../state/index'; import { createTxAction, ...
the_stack
import * as chai from 'chai' import chaiAsPromised from 'chai-as-promised' import { _importCryptoKey, importCryptoKey, WebCryptoKdf, deriveKeyCommitment, currySubtleFunction, getEncryptHelper, getDecryptionHelper, buildAlgorithmForKDF, } from '../src/index' import { WebCryptoEncryptionMaterial, WebC...
the_stack
import { AnyDescriptorProto, DescriptorProto, DescriptorRegistry, EnumDescriptorProto, FieldDescriptorProto, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FileDescriptorProto, MethodDescriptorProto, ScalarValueType, ServiceDescriptorProto, SymbolTable } from "@protobuf-ts/plugin-framewo...
the_stack
import { gg } from "../../gg"; import { PanelComponent } from "./PanelComponent"; import { PanelConfig } from "./PanelConfig"; import { PanelStateEnum } from "./PanelStateEnum"; /** * 面板路由器 * * 面板结构如下: * * - 图层1 * - 面板1 * - 面板2 * - 图层2 * - 面板3 * - 面板4 * - ... * * 根据面板所以依附的图层节点的zIndex 来决定面板的显示前后顺序(...
the_stack
import { TypeAssertion, PrimitiveTypeAssertion, PrimitiveValueTypeAssertion, RepeatedAssertion, SpreadAssertion, SequenceAssertion, OneOfAssertion, OptionalAssertion, EnumAssertion, ObjectAssertion, TypeAssertionMap, Code...
the_stack
import { Configs, Result, KubernetesObject, kubernetesObjectResult, SOURCE_PATH_ANNOTATION, SOURCE_INDEX_ANNOTATION, ID_ANNOTATION, LEGACY_SOURCE_PATH_ANNOTATION, LEGACY_SOURCE_INDEX_ANNOTATION, LEGACY_ID_ANNOTATION, } from 'kpt-functions'; import { isResourceHierarchy as isV3ResourceHierarchy, ...
the_stack
import { WeComponent } from '../mixins/component'; import { clone, isEmptyObject } from '@mpkit/util'; import { getApiCategoryList } from '../modules/category'; import { convertApiMaterial, productToString } from '../modules/reader'; import ProductControllerMixin from '../mixins/product-controller'; import DataReaderMi...
the_stack
import * as vscode from 'vscode'; import * as crypto from 'crypto'; import * as xml2js from 'xml2js'; import * as event from 'events'; import * as fs from 'fs'; import * as node_path from 'path'; import * as child_process from 'child_process'; import * as vscodeVariables from 'vscode-variables'; import { File } from '...
the_stack
import * as jtv from '@mojotech/json-type-validation'; import _ from 'lodash'; /** * Interface for companion objects of serializable types. Its main purpose is * to serialize and deserialize values between raw JSON and typed values. * * @typeparam T The template type. */ export interface Serializable<T> { /** ...
the_stack
import {memory, ones, Tensor, tensor2d, train, zeros} from '@tensorflow/tfjs-core'; import * as tfl from '../index'; import {describeMathCPUAndGPU, expectTensorsClose} from '../utils/test_utils'; import {FakeNumericDataset} from './dataset_fakes'; import {ClassWeight, ClassWeightMap} from './training_utils'; describ...
the_stack
import * as CLangCommon from '../clang-common'; import * as Either from '../either'; import * as Error from '../error'; import * as ObjectSpec from '../object-spec'; import * as ObjectSpecHelpers from '../object-spec-helpers'; import * as ObjectSpecParser from '../object-spec-parser'; describe('ObjectSpecParser', func...
the_stack
declare module androidx { export module biometric { export class AuthenticationCallbackProvider { public static class: java.lang.Class<androidx.biometric.AuthenticationCallbackProvider>; } export module AuthenticationCallbackProvider { export class Api28Impl { public static class: java.lang.Class<andro...
the_stack
import {HttpClient, HttpErrorResponse} from "@angular/common/http"; import {TdDialogService} from "@covalent/core/dialogs"; import * as moment from "moment"; import "rxjs/add/observable/empty"; import "rxjs/add/observable/of"; import "rxjs/add/operator/catch"; import "rxjs/add/operator/map"; import {Observable} from "r...
the_stack
import classNames from 'classnames'; import { ipcRenderer } from 'electron'; import * as React from 'react'; import { i18n } from '../../common/i18n-preload'; import { Themes } from './notification-settings'; const whiteColorRegExp = new RegExp( /^(?:white|#fff(?:fff)?|rgba?\(\s*255\s*,\s*255\s*,\s*255\s*(?:,\s*1\s...
the_stack
import { getCanvas } from "src/main/utils/canvas-pool"; import { getBarHeights, getCellSizes } from "src/main/utils/cell-sizing"; import ShaderBox from "src/main/utils/shaderbox"; import { staticDevicePixelRatio } from "src/main/utils/static-display"; import { bind } from "src/utils/bind"; import { Cell } from "src/wor...
the_stack
import { TypeAssertion, ValidationContext } from '../types'; import { validate, getType } from '../validator'; import { pick, patch } from '../picker'; import { compile } from '../compiler'; import { generateTypeScriptCode } from '../codegen'; import { serializ...
the_stack
module fgui { export class GRoot extends GComponent { public static contentScaleLevel: number = 0; private _nativeStage: egret.Stage; private _modalLayer: GGraph; private _popupStack: Array<GObject>; private _justClosedPopups: Array<GObject>; private _modalWaitPane:...
the_stack