text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
export namespace Types {
interface I {}
type StringAlias = string;
type ArrayAlias = Array<string>;
type InterfaceAlias = I;
type ObjectAlias = typeof object;
type AliasWithTypeParam<K, V> = Map<K, V>;
type TupleReference = [string[], string];
type TupleReferenceHomogenous = [number, n... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/machinesMappers";
import * as Parameters from "../models/parameters";
import { HybridComputeManagementClientContext } from "../hybridComputeManagementClientContext";
/** Class representing a Machines. ... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
BatchDeleteDocumentCommand,
BatchDeleteDocumentCommandInput,
BatchDeleteDocumentCommandOutput,
} from "./commands/BatchDeleteDocumentCommand";
import {
BatchGetDocumentStatusCommand,
BatchGetDocumentStatusCommandInput,
Ba... | the_stack |
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { IconLoaderService } from '../../../index';
import { AmexioGridItemComponent } from './griditem.component';
import { AmexioGridComponent } from './grid.component';
import { AmexioGridLayoutSe... | the_stack |
import React, { useState, useEffect, useContext } from 'react';
import { useTranslation } from 'react-i18next';
import {
DeploymentCenterFieldProps,
DeploymentCenterCodeFormData,
RuntimeStackSetting,
RuntimeVersionOptions,
RuntimeStackOptions,
DotnetRuntimeVersion,
} from '../DeploymentCenter.types';
import... | the_stack |
import { Observable } from 'rxjs';
/**
* Namespace nt_module_user.
* @exports nt_module_user
* @namespace
*/
export namespace nt_module_user {
/**
* Contains all the RPC service clients.
* @exports nt_module_user.ClientFactory
* @interface
*/
export interface ClientFactory {
/... | the_stack |
declare const chrome: any;
declare const setTimeout: any;
declare const require: any;
declare const fetch: any;
declare const btoa: any, atob: any;
declare const console: any;
declare const self: any;
declare const localStorage: any;
declare const URL: any;
const thenChrome = require("then-chrome");
var Base64 = {
... | the_stack |
import ProgressBar from '../../vue/component/ProgressBar.vue'
import TabSmall from '../../vue/component/TabSmall.vue'
import InputText from '../../vue/component/InputText.vue'
// import { MasterData } from '../main/on-master-read'
import { Vue, Component } from 'vue-property-decorator'
import type { DownloadPromise, P... | the_stack |
import * as Atom from "atom"
import {CompositeDisposable} from "atom"
import {BusySignalService, DatatipService, SignatureHelpRegistry} from "atom-ide-base"
import {IndieDelegate} from "atom/linter"
import {StatusBar} from "atom/status-bar"
import {throttle} from "lodash"
import * as path from "path"
import {ClientReso... | the_stack |
import Mongoose = require("mongoose");
import Q = require('q');
import { EntityChange } from '../core/enums/entity-change';
import { getEntity, repoFromModel } from '../core/dynamic/model-entity';
import * as Enumerable from 'linq';
import { winstonLog } from '../logging/winstonLog';
import * as mongooseHelper from '.... | the_stack |
* 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 ... | the_stack |
import PathProxy from '../core/PathProxy';
import { cubicSubdivide } from '../core/curve';
import Path from '../graphic/Path';
import Element, { ElementAnimateConfig } from '../Element';
import { defaults, map } from '../core/util';
import { lerp } from '../core/vector';
import Group, { GroupLike } from '../graphic/Gro... | the_stack |
import fs from "fs-extra";
import path from "path";
import * as ts from "typescript";
import { convert } from "../../commands/samples/tsToJs";
import { createPrinter } from "../printer";
import { createAccumulator } from "../typescript/accumulator";
import { createDiagnosticEmitter } from "../typescript/diagnostic";
im... | the_stack |
import * as assert from 'assert';
import * as fs from 'fs';
import * as sinon from 'sinon';
import { PassThrough } from 'stream';
import appInsights from '../../../../appInsights';
import auth from '../../../../Auth';
import { Logger } from '../../../../cli';
import Command, { CommandError } from '../../../../Command';... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [storagegateway](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonstoragegateway.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest... | the_stack |
import "./release-details.scss";
import React, { Component } from "react";
import groupBy from "lodash/groupBy";
import type { IComputedValue } from "mobx";
import { computed, makeObservable, observable } from "mobx";
import { Link } from "react-router-dom";
import kebabCase from "lodash/kebabCase";
import type { Helm... | the_stack |
import { mXparserConstants } from '../mXparserConstants';
/**
* Binary functions (2 arguments) - mXparserConstants tokens definition.
*
* @author <b>Mariusz Gromada</b><br>
* <a href="mailto:mariuszgromada.org@gmail.com">mariuszgromada.org@gmail.com</a><br>
* <a href="http://github.com/mariuszgromada/Mat... | the_stack |
declare enum DOTA_GameState {
DOTA_GAMERULES_STATE_INIT = 0,
DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD = 1,
DOTA_GAMERULES_STATE_HERO_SELECTION = 3,
DOTA_GAMERULES_STATE_STRATEGY_TIME = 4,
DOTA_GAMERULES_STATE_PRE_GAME = 7,
DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 8,
DOTA_GAMERULES_STATE_POST_GAME = 9,... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace Formmsdyn_workorderservice_Information {
interface tab_f1tab_actualcost_Sections {
tab_6_section_1: DevKit.Controls.Section;
}
interface tab_f1tab_durationsaleamt_Sections {
f1tab_durationsaleamt_section_2: DevKit.Control... | the_stack |
import { expect } from 'chai';
import { FIDO2Client, Fido2ClientErrMissingParameter, Fido2ClientErrRelyPartyNotAllowed } from '..';
import { Fido2Crypto } from '../src/crypto/crypto';
describe('Options', () => {
it('pin available on environment', () => {
expect(process.env.PIN).to.be.an('string');
... | the_stack |
import { EntityReference, EntityId, EntityIdDataValue, EntityKind,
EntityResult, SearchResult, ResultList, TermResult,
Claim, WBApiResult, EntitySiteLink, TimeDataValue,
GlobeCoordinateValue, QualifiedEntityValue,
EntityMissingError, MalformedEntityIdError } from './types'
import { a... | the_stack |
import { Injectable } from '@angular/core';
import { CoreSyncBaseProvider, CoreSyncBlockedError } from '@classes/base-sync';
import { CoreNetworkError } from '@classes/errors/network-error';
import { CoreCourseLogHelper } from '@features/course/services/log-helper';
import { CoreFileUploaderStoreFilesResult } from '@fe... | the_stack |
import { NumberFormatOptions, DateFormatOptions, merge } from '@syncfusion/ej2-base';
import { TextAlign, ClipMode, ValueAccessor, IEditCell, IFilter } from '@syncfusion/ej2-grids';
import { IGanttCellFormatter } from '../base/interface';
import { SortComparer} from '@syncfusion/ej2-grids';
/**
* Configures column col... | 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/backupsMappers";
import * as Parameters from "../models/parameters";
import { StorSimple8000SeriesManagementClientContext } from "../storSimple800... | the_stack |
import {
createElement,
Child,
Children,
Context,
Element,
Fragment,
} from "../index";
import {renderer} from "../dom";
describe("sync generator component", () => {
afterEach(() => {
renderer.render(null, document.body);
document.body.innerHTML = "";
});
test("basic", () => {
const Component = jest.fn... | the_stack |
import { Dataset } from "plywood";
interface StatusRow {
VARIABLE_NAME: string;
VARIABLE_VALUE: string;
}
let statusData: StatusRow[] = [
{ "VARIABLE_NAME": "Aborted_clients", "VARIABLE_VALUE": "0" },
{ "VARIABLE_NAME": "Aborted_connects", "VARIABLE_VALUE": "0" },
{ "VARIABLE_NAME": "Binlog_cache_disk_use",... | the_stack |
import {
Composer as APIComposer,
ComposerProps as APIComposerProps,
hooks,
WebSpeechPonyfillFactory
} from 'botframework-webchat-api';
import { Composer as SayComposer } from 'react-say';
import { singleToArray } from 'botframework-webchat-core';
import createEmotion from '@emotion/css/create-instance';
import... | the_stack |
import { BehaviorSubject, Subject, Observable, asapScheduler } from 'rxjs';
import { debounceTime, buffer, map, filter, take } from 'rxjs/operators';
import { ViewContainerRef } from '@angular/core';
import { ON_DESTROY, removeFromArray } from '@pebula/ngrid/core';
import { PblNgridInternalExtensionApi } from '../../e... | the_stack |
import BootstrapNotify from "../../libs/bootstrap-notify/BootstrapNotify";
import ArrayUtils from "../../core/utils/ArrayUtils";
import Loader from "../../libs/loader/Loader";
import NotePreviewDialogs from "./Dialogs/NotePreviewDialogs";
import Tippy from "../../libs/tippy/Tippy";
... | the_stack |
import { stub } from 'sinon';
import HttpProvider from 'ethjs-provider-http';
import {
NetworksChainId,
NetworkType,
NetworkState,
} from '../network/NetworkController';
import {
TransactionController,
TransactionStatus,
TransactionMeta,
} from './TransactionController';
import {
ethTxsMock,
tokenTxsMoc... | the_stack |
import { trimLatexAndAddCSS, preProcessLatex } from './utils';
import { getCollectionHooks } from '../mutationCallbacks';
import { sanitize } from '../vulcan-lib/utils';
import { randomId } from '../../lib/random';
import { convertFromRaw } from 'draft-js';
import { draftToHTML } from '../draftConvert';
import { Revisi... | the_stack |
import * as assert from 'assert';
import * as sinon from 'sinon';
import * as uuid from 'uuid';
import { QuickPickOptions } from 'vscode';
import {
IAzureConsortiumDto,
IAzureConsortiumMemberDto,
IAzureTransactionNodeDto,
MemberResource,
} from '../src/ARMBlockchain';
import { TransactionNodeResource } from '..... | the_stack |
import uuid from './uuid';
import uniq from 'uniq';
type RelDB = ReturnType<typeof createRel>;
function createError(str) {
let err:any = new Error(str);
err.status = 400;
return err;
}
const MAX_INT_LENGTH = 16; // max int in JS is 9007199254740992
const TYPE_UNDEF = '0';
const TYPE_NUM = '1';
const TYPE_STRIN... | the_stack |
module android.widget {
import Log = android.util.Log;
import LayoutInflater = android.view.LayoutInflater;
import View = android.view.View;
import ViewGroup = android.view.ViewGroup;
import ArrayList = java.util.ArrayList;
import Arrays = java.util.Arrays;
import Collections = java.util.Collections;
import Comparator ... | the_stack |
import * as React from 'react';
import {
Interactive,
createInteractive,
InteractiveStateChange,
} from 'react-interactive';
import { primaryInput } from 'detect-it';
import * as RadixCheckbox from '@radix-ui/react-checkbox';
import * as RadixLabel from '@radix-ui/react-label';
import { CheckIcon } from '@radix-u... | the_stack |
import { Map, Cursor, CursorParams, Strings, Entries, EntriesSummary } from './common';
export class Config {
VERSION: string;
API_BASE: string;
retries: number;
constructor(token: string, secret: string, base?: string);
getAccountToken(): string;
getSecretKey(): string;
}
export namespace Pi... | the_stack |
module WinJSTests {
"use strict";
var testRootEl;
function createSezo(layoutOptions, gids, gds, sezoOptions?) {
var sezoDiv = document.getElementById("sezoDiv"),
listDiv1 = <HTMLElement>sezoDiv.children[0],
listDiv2 = <HTMLElement>sezoDiv.children[1],
layoutNam... | the_stack |
import { Message, SignedMessage, Cid, MessagePartial, HeadChange, TipSet, BlockHeader, BlockMessages, MessageReceipt, WrappedMessage, ObjStat, TipSetKey, SyncState, MpoolUpdate, PeerID, Address, StorageAsk, Actor, ActorState, NetworkName, SectorOnChainInfo, DeadlineInfo, MinerPower, MinerInfo, Deadline, Partition, BitF... | the_stack |
import {
useRef,
useMemo,
useLayoutEffect,
useEffect,
useState,
createElement,
cloneElement,
forwardRef,
} from 'react';
import { findDOMNode } from 'react-dom';
import TweenOne, { Ticker } from 'tween-one';
import {
toArrayChildren,
findChildInChildrenByKey,
windowIsUndefined,
mergeChildren,
... | the_stack |
import React from "react";
import quip from "quip-apps-api";
import quiptext from "quiptext";
import PropTypes from "prop-types";
import debounce from "lodash.debounce";
export const kDefaultColumnColors = [
quip.apps.ui.ColorMap.RED.KEY,
quip.apps.ui.ColorMap.YELLOW.KEY,
quip.apps.ui.ColorMap.BLUE.KEY,
... | the_stack |
import { BN } from "bn.js";
import * as testUtils from "./helper/testUtils";
import { RenExBrokerVerifierContract } from "./bindings/ren_ex_broker_verifier";
const {
RenExBrokerVerifier,
} = testUtils.contracts;
contract("RenExBalances", function (accounts: string[]) {
let renExBrokerVerifier: RenExBrokerV... | the_stack |
import {AptosClient, AptosAccount, FaucetClient, Types, HexString} from 'aptos';
import * as fs from 'fs';
import * as path from 'path';
import {Buffer} from 'buffer';
import {execSync} from "child_process";
import {chdir, cwd} from 'process';
const NODE_URL = "https://fullnode.devnet.aptoslabs.com";
const FAUCET_URL ... | the_stack |
import * as React from 'react';
import * as ReactDom from 'react-dom';
import * as d3 from 'd3';
import * as math from 'mathjs';
import { OverViewProps, PathRegion, Helpable } from './Utils';
import * as FontAwesome from 'react-fontawesome';
import Selector from './ChromosomeSelector';
interface CircosViewState {
in... | the_stack |
import { BotBehaviorConfig, BotConfig } from './models/config';
import { HttpService } from './services/http.service';
import { StorageService } from './services/storage.service';
import { Utils } from './modules/utils/utils';
import { MediaPost } from './models/post';
import { UserAccount } from './models/user-account... | the_stack |
import { expect } from "chai";
import { BasicTests } from "test/helper/Basic";
import { connectTo } from "test/helper/Connect";
import { Offline } from "test/helper/Offline";
import { Envelope, EnvelopeCurve } from "./Envelope";
describe("Envelope", () => {
BasicTests(Envelope);
context("Envelope", () => {
it("... | the_stack |
import { Bits } from "@siteimprove/alfa-bits";
import { Equatable } from "@siteimprove/alfa-equatable";
import { Functor } from "@siteimprove/alfa-functor";
import { Iterable } from "@siteimprove/alfa-iterable";
import { Mapper } from "@siteimprove/alfa-mapper";
import { None, Option } from "@siteimprove/alfa-option";
... | the_stack |
import * as msRest from "@azure/ms-rest-js";
export const TableServiceError: msRest.CompositeMapper = {
serializedName: "TableServiceError",
type: {
name: "Composite",
className: "TableServiceError",
modelProperties: {
message: {
xmlName: "Message",
serializedName: "Message",
... | the_stack |
import React, {
ComponentType,
CSSProperties,
useCallback,
useRef,
useState,
MutableRefObject,
useMemo,
Ref,
} from 'react';
import { ResizeablePluginConfig, ResizeablePluginStore, BlockProps } from '.';
interface DecoratorProps {
config: ResizeablePluginConfig;
store: ResizeablePluginStore;
}
exp... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type OrderUpdate_Test_QueryVariables = {
conversationID: string;
};
export type OrderUpdate_Test_QueryResponse = {
readonly me: {
readonly conversation: {
readonly orderConnection: {
... | the_stack |
const parseXml = require('@rgrove/parse-xml');
const camelCaseLib = require('camelcase');
const isVarName = require("is-var-name");
const indentString = require('indent-string');
import { compile, JSONSchema } from 'json-schema-to-typescript'
const camelCase = (text: string) => {
const camelCased = camelCaseLib(t... | the_stack |
import {
ChangeDetectorRef,
Component,
EventEmitter,
Input,
OnDestroy,
OnInit,
Output
} from '@angular/core';
import { interval, of, Subscription } from 'rxjs';
import { map, startWith, switchMap, take, tap } from 'rxjs/operators';
import { getColumnFields } from '~front/app/functions/get-column-fields';
... | the_stack |
declare class GULAppDelegateSwizzler extends NSProxy {
static alloc(): GULAppDelegateSwizzler; // inherited from NSProxy
static isAppDelegateProxyEnabled(): boolean;
static proxyOriginalDelegate(): void;
static proxyOriginalDelegateIncludingAPNSMethods(): void;
static registerAppDelegateInterceptor(intercepto... | the_stack |
import {BufferUtil} from "./buffer-util";
export class HTTPBuffer {
private _rawContent: Buffer = BufferUtil.fromString("");
private _complete: boolean = false;
// These values all start as undefined - their state is set as we parse the body
// That is because we set them as they are processed
//... | the_stack |
import * as td from 'testdouble'
import {pureObserver} from './useObserver'
test('it reacts to a change', () => {
const object = {test: 'abc'}
const obj1Callback = td.func() as () => void
pureObserver(object, obj1Callback)
expect(object.test).toEqual('abc')
td.verify(obj1Callback(), {times: 0})
object.t... | the_stack |
import React, { useEffect, useState } from "react";
import format from "date-fns/format";
import { ThemeProvider } from "styled-components";
import "./styles.scss";
// Icons
import { ReactComponent as ChevronUpIcon } from "assets/svg/chevron_up.svg";
import { ReactComponent as ClearIcon } from "assets/svg/clear.svg";... | the_stack |
import { Equatable } from "@siteimprove/alfa-equatable";
import { Serializable } from "@siteimprove/alfa-json";
import { Parser } from "@siteimprove/alfa-parser";
import { Predicate } from "@siteimprove/alfa-predicate";
import { Result, Err } from "@siteimprove/alfa-result";
import { Refinement } from "@siteimprove/alf... | the_stack |
import React, { useContext } from 'react';
import { render, act, userEvent, waitFor } from '../../util/test-utils';
import { uniqueId } from '../../util/id';
import { useMedia } from '../../hooks/useMedia';
import {
SidePanelProvider,
SidePanelContext,
SetSidePanel,
RemoveSidePanel,
UpdateSidePanel,
SideP... | the_stack |
import { Column } from "../fields/types"
import { IFilter, IFilterGroup, OrderDirection } from "@/features/tables/types";
import { TableState } from "react-table";
import {
allColumnsCheckedSelector,
allFiltersAppliedSelector,
appliedFiltersSelector,
columnsSelector,
encodedFiltersSelector,
filtersSelector,... | the_stack |
import {
arrayForEach, domData, removeNode
} from '@tko/utils'
import {
applyBindings
} from '@tko/bind'
import {
observable, observableArray, isObservable
} from '@tko/observable'
import { MultiProvider } from '@tko/provider.multi'
import { VirtualProvider } from '@tko/provider.virtual'
import { DataBin... | the_stack |
import Game from '../Game';
import ReturnOfGanon from '../fonts/ReturnOfGanon';
import { itemDescriptors, IItemDescriptor, IconCallback } from '../data/ItemDescriptors';
import Constants from '../data/Constants';
import GameState from '../states/GameState';
class InventoryItemSprite extends Phaser.Sprite {
game: G... | the_stack |
import * as child_process from "child_process";
import * as util from 'util';
import U = pxt.Util;
/*
Purpose:
UploadRefs uploads git objects (commits, trees, blobs) to cloud storage for
retrieval when serving our web apps or docs. The cloud also has logic to
request (from github) git objects and store th... | the_stack |
import { parseStringsArray, getByProp, readUInt8, readInt16, readUInt32, readFloat64, readInt8, getOperatantByBuffer, getOperantName } from '../utils'
import { Scope } from '../scope'
export enum I {
VAR, CLS,
MOV, ADD, SUB, MUL, DIV, MOD,
EXP, INC, DEC,
LT, GT, EQ, LE, GE, NE, WEQ, WNE,
LG_AND, LG_OR,
AND, OR... | the_stack |
import { vtkObject } from "../../../interfaces" ;
import { Vector3 } from "../../../types";
/**
*
*/
export interface IPlaneInitialValues {
normal?: Vector3;
origin?: Vector3;
}
interface IIntersectWithLine {
intersection: boolean;
betweenPoints: boolean;
t: number;
x: Vector3;
}
export interface vtkPlane e... | the_stack |
namespace ts.projectSystem {
describe("project telemetry", () => {
it("does nothing for inferred project", () => {
const file = makeFile("/a.js");
const et = new TestServerEventManager([file]);
et.service.openClientFile(file.path);
et.hasZeroEvent(server... | the_stack |
import * as cp from 'child_process';
import {EventEmitter} from 'events';
import * as fs from 'fs';
import * as path from 'path';
import * as shell from 'shelljs';
import {SHORT_SHA_LEN} from '../../lib/common/constants';
import {Logger} from '../../lib/common/utils';
import {BuildCreator} from '../../lib/preview-serve... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages a Log Analytics (formally Operational Insights) Windows Performance Counter DataSource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
... | the_stack |
import { BatchCluster } from "batch-cluster"
import * as _path from "path"
import { times } from "./Array"
import { ExifDateTime } from "./ExifDateTime"
import { DefaultMaxProcs, ExifTool, exiftool, WriteTags } from "./ExifTool"
import { keys } from "./Object"
import { leftPad } from "./String"
import { Tags } from "./... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A policy that can be attached to a resource to specify or schedule actions on that resource.
*
* ## Example Usage
* ### Resource Policy Basic
*
* ```typescript... | the_stack |
import Debug from 'debug'
import { v4 as uuidgen } from 'uuid'
import {
Arguments,
Evaluator,
ExecOptions,
KResponse,
isCommandHandlerWithEvents,
ParsedOptions,
withLanguage,
UsageError,
isUsageError,
CodedError,
ReplEval,
DirectReplEval,
ElementMimic
} from '@kui-shell/core'
import { isDisa... | the_stack |
import Hammer from '@egjs/hammerjs';
import { findNodeHandle } from 'react-native';
import { State } from '../State';
import { EventMap } from './constants';
import * as NodeManager from './NodeManager';
// TODO(TS) Replace with HammerInput if https://github.com/DefinitelyTyped/DefinitelyTyped/pull/50438/files is mer... | the_stack |
import * as parts from "../parts";
import { debugMode } from "../settings";
import { Map } from "../utility/map";
const rules = new Map<string, (parent: ParseNode) => ParseNode>();
/**
* Parses a given string with the specified rule.
*
* @param {string} input The string to be parsed.
* @param {string} rule The ... | the_stack |
import { testConfig } from 'houdini-common'
import path from 'path'
import fs from 'fs/promises'
import * as typeScriptParser from 'recast/parsers/typescript'
import { ProgramKind } from 'ast-types/gen/kinds'
import * as recast from 'recast'
// local imports
import '../../../../jest.setup'
import { runPipeline } from '... | the_stack |
import { toHexString } from 'src/utils/strings';
/**
* Encodes a string to UTF-8.
*
* @param input The string to be encoded.
* @param byteOrderMark Whether or not a byte order marker (BOM) should be added
* to the start of the encoding. (default `true`)
* @returns A Uint8Array containing the... | the_stack |
import * as path from "path";
import * as vscode from "vscode";
import * as assert from "assert";
import {
Connection,
Server,
WebSocketTransport
} from "vscode-cdp-proxy";
import { convertWindowsPathToUnixOne } from "../testUtils";
import { generateRandomPortNumber, delay } from "../../src/utils/extensionH... | the_stack |
/// <reference types="jquery"/>
declare function Sammy(): Sammy.Application;
declare function Sammy(selector: string): Sammy.Application;
declare function Sammy(handler: Function): Sammy.Application;
declare function Sammy(selector: string, handler: Function): Sammy.Application;
declare namespace Sammy {
interfac... | the_stack |
import {
JupyterFrontEnd,
JupyterFrontEndPlugin
} from '@jupyterlab/application';
import { ICommandPalette } from '@jupyterlab/apputils';
import { IMainMenu } from '@jupyterlab/mainmenu';
import { INotebookTracker } from '@jupyterlab/notebook';
import { IEditorTracker } from '@jupyterlab/fileeditor';
import { ISta... | the_stack |
import { DataProvider } from '../ojdataprovider';
import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base';
import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..';
export interface ojNBox<K, D> extends dvtBaseComponent<ojNB... | the_stack |
import { Orbit, Assertion } from '@orbit/core';
import {
RequestOptions,
pullable,
pushable,
queryable,
updatable,
TransformNotAllowed,
QueryNotAllowed,
FullResponse,
DefaultRequestOptions
} from '@orbit/data';
import {
RecordSource,
RecordSourceSettings,
RecordPullable,
RecordPushable,
Reco... | the_stack |
export const AWS_CDK_METADATA = new Set([
'us-east-2',
'us-east-1',
'us-west-1',
'us-west-2',
// 'us-gov-east-1',
// 'us-gov-west-1',
// 'us-iso-east-1',
// 'us-isob-east-1',
'af-south-1',
'ap-south-1',
'ap-east-1',
// 'ap-northeast-3',
'ap-northeast-2',
'ap-southeast-1',
'ap-southeast-2',... | the_stack |
import * as React from "react";
/**
* Attribute definitions
*/
type Attribute =
| "boolean"
| "date"
| "datetime"
| "enum"
| "multienum"
| "html"
| "string"
| "stringlist"
| "integer"
| "float"
| "binary"
| "link"
| "linklist"
| "reference"
| "referencelist... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ManagementLocks } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ManagementLockClient } from "../managem... | the_stack |
import { EventEmitter } from 'events';
import {
DeclarativePaymentDetector,
EscrowERC20InfoRetriever,
} from '@requestnetwork/payment-detection';
import { IdentityTypes, PaymentTypes, RequestLogicTypes } from '@requestnetwork/types';
import { ICurrencyManager } from '@requestnetwork/currency';
import Utils from '@... | the_stack |
import { Inject, Injectable, Optional } from '@angular/core';
import { Http, Headers, URLSearchParams } from '@angular/http';
import { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http';
import { Response, ResponseContentType } from '@ang... | the_stack |
import * as React from "react";
import * as ReactDOM from "react-dom";
import { observer } from "mobx-react";
import * as accounting from "accounting";
import SelectCustomer from "../Shared/Components/SelectCustomer";
import SelectPaymentTerm from "../Shared/Components/SelectPaymentTerm";
import SelectLineItem from "... | the_stack |
import { AppRecord, BackendContext, DevtoolsApi } from '@vue-devtools/app-backend-api'
import { classify } from '@vue-devtools/shared-utils'
import { ComponentTreeNode, ComponentInstance } from '@vue/devtools-api'
import { getRootElementsFromComponentInstance } from './el'
import { getInstanceName, getRenderKey, getUni... | the_stack |
import { P2P, events } from '../../src/index';
import { wait } from '../utils/helpers';
import { createNetwork, destroyNetwork, NETWORK_START_PORT } from '../utils/network_setup';
import { REMOTE_EVENT_RPC_GET_PEERS_LIST, REMOTE_EVENT_RPC_GET_NODE_INFO } from '../../src/events';
const { EVENT_MESSAGE_RECEIVED, EVENT_R... | the_stack |
import './ToolbarButton.scss'
import React, { useRef, useEffect } from 'react'
import { useActions, useValues } from 'kea'
import { HogLogo } from '~/toolbar/assets/HogLogo'
import { Circle } from '~/toolbar/button/Circle'
import { toolbarButtonLogic } from '~/toolbar/button/toolbarButtonLogic'
import { heatmapLogic }... | the_stack |
import G = require('./ggraph');
import M = require('./messages');
importScripts("sharpkit_pre.js");
importScripts("jsclr.js");
importScripts("Microsoft.Msagl.js");
importScripts("sharpkit_post.js");
/** Namespace for SharpKit-generated code. */
declare var Microsoft: any;
/** Name of the SharpKit type test function t... | the_stack |
import { DocumentEditor } from '../../src/document-editor/document-editor';
import { createElement } from '@syncfusion/ej2-base';
import { Editor, DocumentHelper } from '../../src/index';
import { TestHelper } from '../test-helper.spec';
import { LayoutViewer, PageLayoutViewer } from '../../src/index';
import { Selecti... | the_stack |
import { Checkpoint, CheckpointStore, PartitionOwnership } from "@azure/event-hubs";
import { TableClient, TableInsertEntityHeaders, odata } from "@azure/data-tables";
import { logErrorStackTrace, logger } from "./log";
/**
*
* Checks if the value contains a `Timestamp` field of type `string`.
*/
function _hasTimes... | the_stack |
import assert from 'assert';
import retry from 'async-retry';
import { Logger, PlatformAccessory, Service } from 'homebridge';
import { isNull, isUndefined } from 'lodash';
import { Device } from 'zigbee-herdsman/dist/controller/model';
import { HAP } from '../index';
import { ZigbeeNTHomebridgePlatform } from '../plat... | the_stack |
import { defaultMemoize } from "reselect";
import {
BoundingBox,
Entity,
isSentence,
isSymbol,
isTerm,
Relationship,
Sentence,
Symbol,
Term,
} from "../api/types";
import { Entities } from "../state";
import { Rectangle } from "../types/ui";
export function selectedEntityType(
selectedEntityId: str... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/softwareUpdateConfigurationsMappers";
import * as Parameters from "../models/parameters";
import { AutomationClientContext } from "../automationClientContext";
/** Class representing a SoftwareUpdateCo... | the_stack |
import { HttpClient, IHttpClientOptions, HttpClientResponse } from '@microsoft/sp-http';
import { MSGraphClient } from '@microsoft/sp-http';
import "@pnp/graph/users";
import "@pnp/graph/photos";
import "@pnp/graph/groups";
import { sp } from '@pnp/sp';
import "@pnp/sp/profiles";
import "@pnp/sp/webs";
import "@pnp/sp/... | the_stack |
import IDisplayContext = etch.drawing.IDisplayContext;
import Point = etch.primitives.Point;
import {IApp} from '../../IApp';
import {SamplerBase} from './SamplerBase';
import {SoundCloudAPI} from '../../Core/Audio/SoundCloud/SoundCloudAPI';
import {SoundCloudTrack} from '../../Core/Audio/SoundCloud/SoundcloudTrack';
... | the_stack |
import { Z80Tester } from "./z80-tester";
describe("Disassembler - standard instructions", function () {
this.timeout(10000);
it("Standard instructions 0x00-0x0F work as expected", async () => {
// --- Act
await Z80Tester.Test("nop", 0x00);
await Z80Tester.Test("ld bc,#1234", 0x01, 0x34, 0x12);
aw... | the_stack |
import {
EnhancedRxState,
NGT_OBJECT_INPUTS_CONTROLLER_PROVIDER,
NGT_OBJECT_INPUTS_WATCHED_CONTROLLER,
NgtAnimationFrameStore,
NgtLoopService,
NgtObject3dInputsController,
NgtObject3dInputsControllerModule,
NgtSobaExtender,
NgtStore,
} from '@angular-three/core';
import { NgtGroupModule } from '@angul... | the_stack |
import { TestOptions, VexFlowTests } from './vexflow_test_helpers';
import { Annotation } from 'annotation';
import { Beam } from 'beam';
import { Bend } from 'bend';
import { Flow } from 'flow';
import { FontGlyph } from 'font';
import { Formatter } from 'formatter';
import { Note } from 'note';
import { Registry } fr... | the_stack |
import { Contracts, Utils as AppUtils } from "@arkecosystem/core-kernel";
import {
Builders as MagistrateBuilders,
Interfaces as MagistrateInterfaces,
} from "@arkecosystem/core-magistrate-crypto";
import { Identities, Interfaces, Managers, Transactions, Types, Utils } from "@arkecosystem/crypto";
import secre... | the_stack |
import {
attr,
nullableNumberConverter,
SyntheticViewTemplate,
} from "@microsoft/fast-element";
import { keyEnter } from "@microsoft/fast-web-utilities";
import type { StartEndOptions } from "..";
import { FoundationElement } from "../foundation-element";
import type {
FoundationElementDefinition,
... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.