text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
CountClosedWorkflowExecutionsCommand,
CountClosedWorkflowExecutionsCommandInput,
CountClosedWorkflowExecutionsCommandOutput,
} from "./commands/CountClosedWorkflowExecutionsCommand";
import {
CountOpenWorkflowExecutionsComman... | the_stack |
import { createElement, setCulture } from '@syncfusion/ej2-base';
import { DropDownTree } from '../../../src/drop-down-tree/drop-down-tree';
import { hierarchicalData, hierarchicalData1, hierarchicalData3, hierarchicalDataString } from '../dataSource.spec';
import '../../../node_modules/es6-promise/dist/es6-promise';
... | the_stack |
import moment = require('../');
// Tests are copied from all the code examples on https://momentjs.com/timezone/docs/ and then lightly tweaked to be valid code.
// Run this in Chrome's DevTools:
// const exclude = Array.from($('.docs-method-signature>pre>code'));
// const include = Array.from($('code.language-js'));
/... | the_stack |
import {
blackAlpha,
hcButtonFace,
hcButtonText,
hcCanvas,
hcCanvasText,
hcDisabled,
hcHighlight,
hcHighlightText,
hcHyperlink,
} from '../global/colors';
import type { ColorTokens } from '../types';
export const generateColorTokens = (): ColorTokens => ({
colorNeutralForeground1: hcCanvasText, // ... | the_stack |
import {
OnInit, OnDestroy, AfterViewInit, AfterViewChecked, OnChanges, SimpleChanges,
ChangeDetectorRef, TemplateRef, ViewChild, NgZone
} from '@angular/core';
import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
import { WidgetService } from '../../../widget.service';
import { NotificationService... | the_stack |
import * as TestUtils from '../test-utils/test-utils';
import * as testPlugin from './TestPlugin';
import {createState} from '../state/atom';
import {PluginClient} from '../plugin/Plugin';
import {DevicePluginClient} from '../plugin/DevicePlugin';
import mockConsole from 'jest-mock-console';
import {sleep} from 'flippe... | the_stack |
import { isValid, validOutcode } from "postcode";
import { Outcode, OutcodeInterface, OutcodeTuple } from "./outcode";
import { QueryResult } from "pg";
import {
query,
ForeignColumn,
RowExtract,
Relationship,
getClient,
generateMethods,
Relation,
csvExtractor,
} from "./base";
import QueryStream from "... | the_stack |
import * as vscode from "vscode";
import type { Argument, Input, InputOr, RegisterOr, SetInput } from ".";
import { Context, Direction, moveWhile, Positions, prompt, SelectionBehavior, Selections, switchRun } from "../api";
import { PerEditorState } from "../state/editors";
import { Mode } from "../state/modes";
impor... | the_stack |
module labelling_tool {
/*
Box label model
*/
interface OrientedEllipseLabelModel extends AbstractLabelModel {
// Note that orientation rotates clockwise from positive X-axis (right) to the positive Y-axis (down)
// If the orientation is 0, then radius1 and radius2 correspond to the rad... | the_stack |
import { TextEncoder } from "util";
import { FileType, Uri, workspace, WorkspaceConfiguration, window } from 'vscode';
import { localize } from '../i18n';
import { ASMTYPE, Config, SRCFILE, settingsStrReplacer } from '../ASM/configration';
import { Logger } from '../ASM/outputChannel';
import { ASMPREPARATION, ASSEMBLE... | the_stack |
import { FocusTrap } from "@a11y/focus-trap";
import { customElement, html, property, query, TemplateResult } from "lit-element";
import "../backdrop";
import { Backdrop } from "../backdrop/backdrop";
import { IOverlayBehaviorBaseProperties, IOverlayBehaviorProperties, OverlayBehavior } from "../behavior/overlay/overla... | the_stack |
import { WebApiTeam } from 'TFS/Core/Contracts';
import * as Calendar_Contracts from '../Contracts';
import * as Calendar_DateUtils from '../Utils/Date';
import * as Calendar_ColorUtils from '../Utils/Color';
import * as Contributions_Contracts from 'VSS/Contributions/Contracts';
import * as FreeForm_Enhancer from '../... | the_stack |
import * as chai from 'chai'
// @ts-ignore
import chaiAsPromised from 'chai-as-promised'
import {
WebCryptoEncryptionMaterial,
WebCryptoDecryptionMaterial,
WebCryptoDefaultCryptographicMaterialsManager,
importForWebCryptoEncryptionMaterial,
importForWebCryptoDecryptionMaterial,
} from '../src/index'
import {
... | the_stack |
'use strict';
import { Logger, LogLevel } from 'chord/platform/log/common/log';
import { filenameToNodeName } from 'chord/platform/utils/common/paths';
const loggerWarning = new Logger(filenameToNodeName(__filename), LogLevel.Warning);
import { querystringify } from 'chord/base/node/url';
import { request, IRequestOp... | the_stack |
export interface EngravingDefaults {
arrowShaftThickness: number;
barlineSeparation: number;
beamSpacing: number;
beamThickness: number;
bracketThickness: number;
dashedBarlineDashLength: number;
dashedBarlineGapLength: number;
dashedBarlineThickness: number;
hairpinThickness: number... | the_stack |
let feature_params = false;
interface VertexAttribs {
[name: string]: number
}
const vertexAttribs: VertexAttribs = {
"meshPosition": 0
};
const TRIANGLE_PAIR = 2;
const TRIANGLE_VERTICIES = 3;
const VEC2_COUNT = 2;
const VEC2_X = 0;
const VEC2_Y = 1;
const CANVAS_WIDTH = 112;
const CANVAS_HEIGHT = 112;
fun... | the_stack |
import React, { FunctionComponent, useMemo } from "react";
import { CoinUtils, Coin } from "@keplr-wallet/unit";
import { AppCurrency } from "@keplr-wallet/types";
import yaml from "js-yaml";
import { CoinPrimitive } from "@keplr-wallet/stores";
import { Text } from "react-native";
import { useStyle } from "../../style... | the_stack |
* @module RpcInterface
*/
import { BentleyStatus } from "@itwin/core-bentley";
import {
IModelError, IpcWebSocket, RpcEndpoint, RpcProtocol, RpcPushChannel, RpcPushConnection, RpcRequest, RpcRequestFulfillment, RpcSerializedValue,
SerializedRpcRequest,
} from "@itwin/core-common";
import { MobileEventLoop } from ... | the_stack |
import { Hardfork } from '@ethereumjs/common'
import { BN } from 'ethereumjs-util'
import { Peer } from '../net/peer/peer'
import { short } from '../util'
import { Event } from '../types'
import { Synchronizer, SynchronizerOptions } from './sync'
import { BlockFetcher } from './fetcher'
import { VMExecution } from './e... | the_stack |
import Obniz from '../../../obniz';
import bleRemoteCharacteristic from '../../../obniz/libs/embeds/bleHci/bleRemoteCharacteristic';
import BleRemotePeripheral from '../../../obniz/libs/embeds/bleHci/bleRemotePeripheral';
import JsonBinaryConverter from '../../../obniz/libs/wscommand/jsonBinaryConverter';
import ObnizP... | the_stack |
import * as arrayUtil from "dojo/_base/array";
import * as declare from "dojo/_base/declare";
import * as Deferred from "dojo/_base/Deferred";
import * as lang from "dojo/_base/lang";
import * as dom from "dojo/dom";
import * as html from "dojo/html";
import * as on from "dojo/on";
import * as topic from "dojo/topic";
... | the_stack |
import * as assert from 'assert';
import * as fs from 'fs';
import * as sinon from 'sinon';
import appInsights from '../../../../appInsights';
import { Logger } from '../../../../cli';
import Command from '../../../../Command';
import { fsUtil, sinonUtil } from '../../../../utils';
import commands from '../../commands'... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as Models from "../models";
import * as Mappers from "../models/environmentsMappers";
import * as Parameters from "../models/parameters";
import { ManagedLabsClientContext } from "../managedLabsClientContext";
... | the_stack |
import path from 'path';
import { Loader, LoaderResource } from '@pixi/loaders';
import { Texture, BaseTexture } from '@pixi/core';
import { BaseTextureCache, TextureCache, url, clearTextureCache } from '@pixi/utils';
import { SpritesheetLoader, Spritesheet } from '@pixi/spritesheet';
import sinon from 'sinon';
import ... | the_stack |
* A stream is a read-only sequence of values. While the contents of an array can be accessed
* both sequentially and randomly (via index), a stream allows only sequential access.
*
* The advantage of this is that a stream can be evaluated lazily, so it does not require
* to store intermediate values. This can boost... | the_stack |
import {
formatDate,
isFutureDate,
isLessThanOneHourAgo,
isLessThanOneMinuteAgo,
isLessThanOneWeekAgo,
isLessThanOneYearAgo,
isToday,
isTomorrow,
isYesterday,
TimeUnit,
isLessThanOneWeekAway,
isLessThanOneYearAway,
} from '@shopify/dates';
import {memoize} from '@shopify/decorators';
import {lan... | the_stack |
import { Context } from './contexts';
/**
* Cookie options of the HttpResponse.setCookie method.
*
* The value of maxAge is in seconds.
*
* @export
* @interface CookieOptions
*/
export interface CookieOptions {
domain?: string;
expires?: Date;
httpOnly?: boolean;
maxAge?: number;
path?: string;
secu... | the_stack |
jest.useFakeTimers();
import React from 'react';
import produce from 'immer';
import {FlipperPlugin} from '../plugin';
import {renderMockFlipperWithPlugin} from '../test-utils/createMockFlipperWithPlugin';
import {
_SandyPluginDefinition,
PluginClient,
TestUtils,
usePlugin,
createState,
DevicePluginClient,... | the_stack |
import { ColorMatrixFilter } from '@pixi/filter-color-matrix';
import { Graphics, GraphicsGeometry, ILineStyleOptions } from '@pixi/graphics';
import { Sprite } from '@pixi/sprite';
import { utils } from './utils';
export type DrawCommands = (string|number)[];
export class AnimateGraphics extends Graphics
{
const... | the_stack |
import React, { Component, } from "react";
import { autorun, IReactionDisposer, makeObservable, observable } from "mobx";
import prettyBytesOriginal from "pretty-bytes";
import prettyMillisecondsOriginal from 'pretty-ms';
import queryString from 'query-string';
import { editQuery } from "./queryHelper";
import { messag... | the_stack |
import * as assert from "assert";
import * as fs from "fs";
import * as path from "path";
import * as ts from "typescript";
import { Type, TypeParam, Comment, Field, Class, Struct, TypeDef, Function, Variable } from "./types";
// Get files to build overrides from
const publicOverridesDir = path.join(__dirname, "..", "... | the_stack |
let _lastObjectUID = 0;
function objectGetMoney(obj: Obj): number {
const MONEY_PID = 41
for(var i = 0; i < obj.inventory.length; i++) {
if(obj.inventory[i].pid === MONEY_PID) {
return obj.inventory[i].amount
}
}
return 0
}
function objectSingleAnim(obj: Obj, reversed?: bo... | the_stack |
import { Component, INotifyPropertyChanged, Property, Complex, Collection, Internationalization, NotifyPropertyChanges, ModuleDeclaration } from '@syncfusion/ej2-base';
import { Browser, EmitType, remove, Event, EventHandler } from '@syncfusion/ej2-base';
import { DataManager } from '@syncfusion/ej2-data';
import { Sto... | the_stack |
import { Observable, from } from 'rxjs';
import * as scrapeIt from 'scrape-it';
import * as puppeteer from 'puppeteer';
import { JsonDB } from 'node-json-db';
import { inject, injectable } from 'inversify';
import SERVICE_IDENTIFIER from '../../common/constants/identifiers';
import ILogger from '../../common/interfaces... | the_stack |
import * as vscode from 'vscode';
import * as util from './utility';
import * as parse from './parsing';
import SourceFile from './SourceFile';
import SourceSymbol from './SourceSymbol';
import CSymbol from './CSymbol';
import SubSymbol from './SubSymbol';
import { ProposedPosition } from './ProposedPosition';
const ... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace LuckyStar {
namespace FormAccount {
interface Header extends DevKit.Controls.IHeader {
/** Type the number of employees that work at the account for use in marketing segmentation and demographic analysis. */
NumberOfEmployees: DevKit.Controls.I... | the_stack |
import { Observable } from 'rxjs';
import { makeExecutableSchema } from 'graphql-tools';
import {
executeRx,
subscribeRx,
graphqlRx,
prepareSchema,
validate,
} from '..';
import {
parse,
introspectionQuery,
GraphQLInt,
GraphQLSchema,
GraphQLObjectType,
} from 'graphql';
import 'jest';
const counter... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* ## Import
*
* Project-level logging sinks can be imported using their URI, e.g.
*
* ```sh
* $ pulumi import gcp:logging/projectSink:ProjectSink my_sink projec... | the_stack |
import { assert, expect } from 'chai';
import * as Lint from 'tslint';
import * as fs from 'fs';
import * as path from 'path';
import * as BenchMark from 'benchmark';
const dedent = Lint.Utils.dedent;
const empty = '░';
class Position {
private line: number | undefined;
private character: number | undefined;
pr... | the_stack |
import { createElement } from '../createElement';
import {
Commit,
DeltaOperation,
DeltaTypes,
DOMNode,
DOMOperation,
Driver,
Flags,
NODE_OBJECT_POOL_FIELD,
VElement,
VNode,
} from '../types/base';
/**
* Diffs two VNode children and modifies the DOM node based on the necessary changes
*/
export c... | the_stack |
import { SupportedProvider } from '@0x/dev-utils';
import { SignedOrder } from '@0x/types';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import { ERC20BridgeSamplerContract } from '../../wrappers';
import { BalancerPoolsCache, computeBalancerBuyQuote, computeBalancerSellQuote } from './balancer... | the_stack |
import { ArmSiteDescriptor } from './../shared/resourceDescriptors';
import { EmbeddedFunctionsNode } from './../tree-view/embedded-functions-node';
import { ScenarioService } from './../shared/services/scenario/scenario.service';
import { LogService } from './../shared/services/log.service';
import { Router, Activated... | the_stack |
import { Yoco } from '@3yourmind/yoco'
import { Instance } from '@popperjs/core/lib'
import { onMounted, Ref, watchEffect } from '@vue/composition-api'
import { DatePicker as ElDate } from 'element-ui'
import { KottiField } from '../kotti-field/types'
import {
KottiFieldDate,
KottiFieldDateRange,
KottiFieldDateTim... | the_stack |
import { ILabelArrayAndMap } from "../../label_structure/ILabelArrayAndMap";
import { PredictionStructureWithPluralEvaluationLabelObject } from "../../label_structure/PredictionStructureWithPluralEvaluationLabelObject";
import { PredictionStructureWithPluralEvaluationLabelString } from "../../label_structure/Predictio... | the_stack |
import { BigNumber } from '@ethersproject/bignumber'
import { Pool, RToken, RouteLeg, MultiRoute, RouteStatus } from '../types/MultiRouterTypes'
import { ASSERT, calcInByOut, calcOutByIn, closeValues, calcPrice } from '../utils/MultiRouterMath'
export class Edge {
readonly GasConsumption = 40_000
readonly MINIMUM_... | the_stack |
* @fileoverview Implements the elementary MathML3 support (experimental)
* using David Carlisle's XLST transform.
*
* @author dpvc@mathjax.org (Davide Cervone)
*/
import {MathItem} from '../../../core/MathItem.js';
import {MathDocument} from '../../../core/MathDocument.js';
import {Handler} from '.... | the_stack |
module android.graphics {
import Log = android.util.Log;
import System = java.lang.System;
import StringBuilder = java.lang.StringBuilder;
import Point = android.graphics.Point;
import Rect = android.graphics.Rect;
import RectF = android.graphics.RectF;
/**
* The Matrix class holds a 3x3 matrix for transforming coordi... | the_stack |
import * as path from 'path';
import * as FS from '../../tools/fs';
import * as tar from 'tar';
import * as semver from 'semver';
import * as Tools from '../../tools/index';
import ncp from 'ncp';
import Logger from '../../tools/env.logger';
import LogsService from '../../tools/env.logger.service';
import ControllerP... | the_stack |
import _ from "lodash";
import Stream from "mithril/stream";
import {
ConfigJSON,
GroupJSON,
HistoryJSON,
MaterialRevisionJSON,
ModificationJSON,
PipelineActivityJSON,
StageConfigJSON,
StageJSON
} from "models/pipeline_activity/pipeline_activity_json";
const TimeFormatter = require("helpers/time_format... | the_stack |
import { compactDecrypt } from '@inrupt/jose-legacy-modules';
import { ClientReadableStream } from 'grpc-web';
import * as pako from 'pako';
import { Observable, of, from } from 'rxjs';
import {
bufferTime, catchError, concatMap, finalize, mergeMap, map, timeout, startWith,
} from 'rxjs/operators';
import {
ErrorD... | the_stack |
export declare abstract class SyntheticFile {
/**
*
* @param name the file name
* @param size the file size
* @param type the file type
* @returns
*/
static createFile: (name: string, size: number, type: string) => File;
/**
*
* @param size the file size
* @returns a syntetic File object i... | the_stack |
import React, {RefObject} from 'react';
import TopBar from './navbar/TopBar';
import {SettingsButton, VisualizeButton} from './navbar/Buttons';
import {
AlgorithmDropDown,
ClearDropDown,
MazeDropDown,
TilesDropDown
} from './navbar/DropDowns';
import {
AlgorithmSettings,
HeuristicSettings,
... | the_stack |
import { deepStrictEqual, ok, strictEqual } from 'assert';
import { readFileSync, stat } from 'fs';
import { join } from 'path';
import { promisify } from 'util';
// 3p
import {
ApiInfo,
Context,
getHttpMethod,
getPath,
isHttpResponseBadRequest,
isHttpResponseMovedPermanently,
isHttpResponseNotFound,
i... | the_stack |
declare module 'pixi-cull' {
export class Simple {
/**
* Creates a simple cull
*
* @param {object} [options]
* @param {boolean} [options.visible] Parameter of the object to set (usually
* visible or renderable) Default is `visible`
* @param {boolean} [options.calculatePIXI] Calculate pixi.js bo... | the_stack |
namespace LogDog {
/** Options that can be passed to fetch operations. */
export type FetcherOptions = {
/**
* The maximum number of bytes to fetch. If undefined, no maximum will be
* specified, and the service will constrain the results.
*/
byteCount?: number;
/**
* The maximum num... | the_stack |
import expect from "expect";
import invariant from "invariant";
import now from "performance-now";
import sample from "lodash/sample";
import { throwError, of, Observable } from "rxjs";
import {
first,
filter,
map,
reduce,
tap,
mergeMap,
timeoutWith,
} from "rxjs/operators";
import { log } from "@ledgerhq... | the_stack |
import {IronResizableBehavior} from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
import {IronScrollTargetBehavior} from '@polymer/iron-scroll-target-behavior/iron-scroll-target-behavior.js';
import {OptionalMutableDataBehavior} from '@polymer/polymer/lib/legacy/mutable-data-behavior.js';
import {Po... | the_stack |
* Unit tests for activations.ts.
*/
import * as tfc from '@tensorflow/tfjs-core';
import {scalar, Tensor, tensor1d, tensor2d, tensor3d} from '@tensorflow/tfjs-core';
import {epsilon} from './backend/common';
import * as losses from './losses';
import {describeMathCPUAndGPU, expectTensorsClose} from './utils/test_uti... | the_stack |
import { getContext2D } from "./canvas";
import { Color, Order } from "./enums";
import {
DestinationRect,
SourceRect,
getImageData,
setImageDataToCanvas,
} from "./image_data";
import { loadImageByUrl, loadImageFromFileInput } from "./image_source";
/**
* @protected
*/
function flatten<T>(arr: ArrayLike<T>)... | the_stack |
import { Component, OnInit, OnDestroy, Optional, ViewChild, ElementRef } from '@angular/core';
import { FormGroup, FormBuilder } from '@angular/forms';
import { Params } from '@angular/router';
import { CoreCourse } from '@features/course/services/course';
import { CoreCourseModuleData } from '@features/course/services... | the_stack |
import arrayFrom from '../polyfills/arrayFrom.js';
import inspect from '../jsutils/inspect.js';
import memoize3 from '../jsutils/memoize3.js';
import invariant from '../jsutils/invariant.js';
import devAssert from '../jsutils/devAssert.js';
import isPromise from '../jsutils/isPromise.js';
import isObjectLike from '../j... | the_stack |
import {
ResourceCollection,
Service,
ServiceAccount,
ClusterRole,
ClusterRoleBinding,
Deployment,
Role,
RoleBinding,
V1ServicemonitorResource
} from "@opstrace/kubernetes";
import { KubeConfig } from "@kubernetes/client-node";
import { DockerImages, getImagePullSecrets } from "@opstrace/controller-co... | the_stack |
declare const describe: any;
declare const it: any;
declare const expect: any;
import * as Immutable from "immutable";
import * as moment from "moment";
import Moment = moment.Moment;
import { collection, Collection } from "../src/collection";
import { duration } from "../src/duration";
import { event, indexedEvent, ... | the_stack |
import type { byte, Card, Restorable } from '../types';
import { debug, toHex } from '../util';
import { rom as readOnlyRom } from '../roms/cards/cffa';
import { read2MGHeader } from '../formats/2mg';
import { ProDOSVolume } from '../formats/prodos';
import createBlockDisk from '../formats/block';
import { dump } from ... | the_stack |
import assert from 'assert';
import sinon from 'sinon';
import path from 'path';
import mockfs from 'mock-fs';
import rewire from 'rewire';
import Config from './Config';
import precinct from '../precinct';
const expect = require('chai').expect;
// needed for the lazy loading.
require('module-definition');
require('d... | the_stack |
import { HttpRequest } from "./duktape/http";
import { Coroutine } from "./duktape/coroutine";
import Time = UnityEngine.Time;
export function sampleTests() {
// test protobuf
// (function () {
// // let writer = protobuf.Writer.create()
// let msg = new protos.Ping()
// msg.pa... | the_stack |
import * as basic from './basic';
import * as named from './named';
export class EzspStruct {
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
static serialize(cls: any, obj: any): Buffer {
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
return Buffer.concat(cls... | the_stack |
declare namespace BABYLON {
/**
* Background material
*/
class BackgroundMaterial extends BABYLON.PushMaterial {
/**
* Key light Color (multiply against the R channel of the environement texture)
*/
protected _primaryColor: Color3;
primaryColor: Color3;
... | the_stack |
import * as fs from "fs";
import * as path from "path";
import * as fse from "fs-extra";
import * as handlebars from "handlebars";
import * as prettier from "prettier";
import { IBlueprintWriterSession } from "@bluelibs/terminal-bundle";
import {
mergeTypeDefs,
printTypeNode,
printWithComments,
} from "@graphql-t... | the_stack |
import { action, computed, observable, runInAction } from 'mobx';
import { ActionProps, createActionBindings } from '../../lib/ActionBinding';
import Reaction, { createReactions } from '../../lib/mobx/Reaction';
import { Store } from '../../lib/Store';
import { isDefined } from '../../lib/types';
import {
paymentAddr... | the_stack |
const TARGET_RELATIVE_MARGIN_OF_ERROR = 0.02;
const DEFAULT_MAX_TIME = 30;
const INITIAL_ITERATION_COUNT = 1;
const TARGET_CYCLE_TIME = DEFAULT_MAX_TIME / 10;
const INCLUDE_INITIAL_SETUP_IN_MAX_TIME = false; // makes million-docs-tests feasable
export interface BenchmarkConfig {
readonly name: string;
readonly... | the_stack |
/// <reference path="../metricsPlugin.ts"/>
/// <reference path="../../../includes.ts"/>
/// <reference path="../services/errorsManager.ts"/>
module HawkularMetrics {
export interface IAlertDefinitionCondition {
triggerId: string;
type: string;
dataId: any;
operator: string;
context: any;
da... | the_stack |
import {StateSaveMonitor, StateService} from '../state';
import {Container} from 'esp-js-di';
import {SystemContainerConfiguration, SystemContainerConst} from '../dependencyInjection';
import {EspModuleDecoratorUtils} from './moduleDecorator';
import {RegionBase, RegionManager, RegionState} from '../regions/models';
im... | the_stack |
import React from 'react'
import { render, cleanup, fireEvent } from '@testing-library/react'
// import '@babel/polyfill' // TODO: not ideal find the way to move it globally, webpack
import { FILMS } from '../../../__mocks__/data'
import Table from './Table'
const DATA_KEYS = [
'title',
'episodeID',
'openingCra... | the_stack |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { ATN } from "antlr4ts/atn/ATN";
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
import { CharStream } from "antlr4ts/CharStream";
import { Lexer } from "antlr4ts/Lexer";
import { Lex... | the_stack |
module BABYLON {
export module Playground {
var b = ace.require("ace/ext/beautify");
var n = '\n';
var jsEditorPosition: AceAjax.Position;
// Helper to format string
var format = (formatted: string, args: any[]) => {
for (var i = 0; i < args.length; i++) {
... | the_stack |
import {
Component,
Renderer2,
EventEmitter,
Input,
Output,
ContentChildren,
ContentChild,
HostListener,
AfterContentInit,
ElementRef,
AfterViewInit,
QueryList,
} from '@angular/core';
import { SprkInputDirective } from '../../directives/inputs/sprk-input/sprk-input.directive';
import { SprkAuto... | the_stack |
import {BackgroundGraphicsModeRestriction, CrButtonElement, CrCheckboxElement, NativeInitialSettings, NativeLayerImpl, PluginProxyImpl, PolicyObjectEntry, PrintPreviewAppElement, PrintPreviewPluralStringProxyImpl, SerializedSettings} from 'chrome://print/print_preview.js';
// <if expr="chromeos_ash or chromeos_lacros">... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ApiManagementService } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ApiManagementClient } from "../api... | the_stack |
import log from "../../log";
import type Period from "../period";
import { MANIFEST_UPDATE_TYPE } from "../types";
import updatePeriodInPlace from "../update_period_in_place";
/* eslint-disable @typescript-eslint/no-explicit-any */
const oldVideoRepresentation1 = { contentWarnings: [],
... | the_stack |
import { colors, path, Sha256 } from "./deps.ts";
import { Asset, getAsset, Graph } from "./graph.ts";
import { Logger, logLevels } from "./logger.ts";
import {
Bundles,
Cache,
Chunk,
Chunks,
Context,
DependencyType,
History,
Item,
OutputMap,
Plugin,
Source,
Sources,
} from "./plugins/plugin.ts"... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement, Operator } from "../shared";
/**
* Statement provider for service [iot](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/refe... | the_stack |
import { TileDao } from '../user/tileDao';
import { TileMatrix } from '../matrix/tileMatrix';
import { TileBoundingBoxUtils } from '../tileBoundingBoxUtils';
import { BoundingBox } from '../../boundingBox';
import { TileCreator } from '../creator/tileCreator';
import { TileRow } from '../user/tileRow';
import { TileSca... | the_stack |
import { setup } from '../../../../test/setup'
import request, { Response } from 'supertest'
import { INestApplication } from '@nestjs/common'
import { EmailService } from '@island.is/email-service'
import { EmailVerification } from '../emailVerification.model'
import { SmsVerification } from '../smsVerification.model'... | the_stack |
import * as d3 from 'd3';
import $ from 'jquery';
import _ from 'lodash';
import { StatusHeatmapCtrl } from './module';
let TOOLTIP_PADDING_X = 30;
let TOOLTIP_PADDING_Y = 5;
// TODO rename file to tooltip_ctrl.ts
// TODO move DefaultValueDateFormat into tooltip.ts, as it used in several places (migration, partial a... | the_stack |
// $ExpectError
VK.init();
// $ExpectError
VK.init({});
// $ExpectError
VK.init({ apiId: '123' });
VK.init({ apiId: 123 });
VK.init({
apiId: 123,
onlyWidgets: '123', // $ExpectError
});
VK.init({ apiId: 123, onlyWidgets: true });
VK.init({
apiId: 123,
onlyWidgets: true,
status: '', // $ExpectE... | the_stack |
import { ExecOptions } from 'child_process';
import * as fs from 'fs';
import * as fse from 'fs-extra';
import * as os from 'os';
import * as path from 'path';
import { URL } from 'url';
import { commands, Event, EventEmitter, window, workspace } from 'vscode';
import { Disposable } from 'vscode';
import { call... | the_stack |
import React, { useEffect, useState } from 'react';
import * as d3 from 'd3';
// IMPORT HELPER FUNCTIONS
import {
getHorizontalPosition,
getVerticalPosition,
} from '../helpers/getSimulationDimensions';
import { getStatic } from '../helpers/static';
// IMPORT TYPES
import { SNode, SetSelectedContainer, Services, ... | the_stack |
import {
options, triggerEvent
} from '@tko/utils'
import {
observable
} from '@tko/observable'
import {
computed
} from '@tko/computed'
import {
applyBindings,
dataFor,
bindingContext
} from '@tko/bind'
import {
Parser, Identifier, Arguments
} from '@tko/utils.parser'
import {
DataBindProvider
} f... | the_stack |
module TDev
{
export class RecordDefProperties
extends CodeView
implements KindBoxModel
{
private theRecord:AST.RecordDef;
constructor() {
super()
this.recordnamediv = div("varHalf",
div("formHint", lf("record name:")),
... | the_stack |
import * as vscode from 'vscode';
import { Position } from '../src/common/motion/position';
import { TextEditor } from '../src/textEditor';
import { VimSettings } from './vimSettings';
import { NvUtil } from './nvUtil';
import { Vim } from '../extension';
export class Cell {
v: string;
highlight: any;
constructor... | the_stack |
import {
$BuiltinFunction,
$Function,
$GetPrototypeFromConstructor,
} from '../types/function.js';
import {
Realm,
ExecutionContext,
} from '../realm.js';
import {
$AnyNonEmpty,
$AnyNonEmptyNonError,
CompletionType,
} from '../types/_shared.js';
import {
$Error, $TypeError,
} from '../types/error.js';... | the_stack |
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ListOfSetsOfTranslatableHtmlContentIdsEditorComponent } from './list-of-sets-of-translatable-html-content-ids-editor.component';
describe('ListOfSetsOfTranslatableHtmlContentIdsEditorCom... | the_stack |
import FormKit from '../src/FormKit'
import { plugin } from '../src/plugin'
import defaultConfig from '../src/defaultConfig'
import { mount } from '@vue/test-utils'
import { nextTick } from 'vue'
import { getNode } from '@formkit/core'
import { token } from '@formkit/utils'
const global: Record<string, Record<string, ... | the_stack |
import * as DynamoDb from 'aws-sdk/clients/dynamodb'
import {
organization1CreatedAt,
organization1Employee1CreatedAt,
organization1Employee2CreatedAt,
organization1LastUpdated,
organizationFromDb,
} from '../../test/data/organization-dynamodb.data'
import { productFromDb } from '../../test/data/product-dynam... | the_stack |
import { Knex } from 'knex';
import { Database } from 'src/dbconfig';
import { Image } from 'src/entity/image';
import {
List,
ListItem,
ListPrivacy,
ListSortBy,
ListSortOrder,
} from 'src/entity/list';
import { MediaItemItemsResponse, MediaType } from 'src/entity/mediaItem';
import { Seen } from 'src/entity/... | the_stack |
import {
matchLeft,
matchRight,
matchLeftIncl,
matchRightIncl,
} from "string-match-left-right";
import clone from "lodash.clonedeep";
import { left, right } from "string-left-right";
import { isAttrClosing } from "is-html-attribute-closing";
import { allHtmlAttribs } from "html-all-known-attributes";
import { ... | the_stack |
import * as React from "react";
import { Scene, DepthOfFieldEffectBlurLevel, ImageProcessingConfiguration } from "babylonjs";
import { Inspector, IObjectInspectorProps } from "../../components/inspector";
import { InspectorList } from "../../gui/inspector/fields/list";
import { InspectorColor } from "../../gui/inspe... | the_stack |
///<reference path="./typings/bundle.d.ts"/>
///<reference path="./typings/serialport.d.ts" />
///<reference path="./typings/config.d.ts" />
///<reference path="./typings/node-static.d.ts" />
///<reference path="./typings/http2.ts" />
///<reference path="./typings/ip-range-check.ts" />
import * as websocket from 'webs... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { AlertRules } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { MonitorClient } from "../monitorClient";
imp... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.