text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import ResultPoint from '../../ResultPoint';
import BitMatrix from '../../common/BitMatrix';
import NotFoundException from '../../NotFoundException';
/**
* @author Mariusz Dąbrowski
*/
export default class CornerDetector {
private image: BitMatrix;
private height: number;
private width: number;
priv... | the_stack |
import { Card } from 'src/entities/card';
import { sourceField, codeScript, highlightjsBase64, hihglightjsInitBase64, highlightCssBase64, codeDeckExtension, sourceDeckExtension } from 'src/constants'
export class Anki {
public async createModels(sourceSupport: boolean, codeHighlightSupport: boolean,) {
let... | the_stack |
// This file contains individual constants for each EC2 Instance type.
//
// These constants will not be updated with new values.
// It is recommended to use InstanceType.[Value] instead.
/* tslint:disable:max-line-length ordered-imports variable-name */
import { InstanceType } from ".";
/** Use InstanceType instead... | the_stack |
import {InvalidParallelScanLimitOptionError} from '@typedorm/common';
import {table} from '@typedorm/core/__mocks__/table';
import {User} from '@typedorm/core/__mocks__/user';
import {UserAutoGenerateAttributes} from '@typedorm/core/__mocks__/user-auto-generate-attributes';
import {UserUniqueEmail} from '@typedorm/core... | the_stack |
namespace VRS.WebAdmin
{
export class ViewId
{
private _LostContact = false;
private _FailedAttempts = 0;
private _ModalOverlay: JQuery;
private _ShowModalOverlayTimer: number;
private _Id: string;
get Id() : string
{
return this.... | the_stack |
import { DocumentUtilities } from './document';
export class SourceContext
{
/**
* Checks to see if the finding is within code that is commented out. Verifies both against
* line comments and block comments
*
* @static
* @param {string} langID VSCode ID for the language (should b... | the_stack |
import React, { useState, useContext, useEffect } from "react";
import { Group } from "@visx/group";
import { hierarchy, Tree } from "@visx/hierarchy";
import { LinearGradient } from "@visx/gradient";
import { pointRadial } from "d3-shape";
import { treeData } from './DataFuncDepGraph'
import Select from "antd/es/selec... | the_stack |
import { BackgroundpageWindow, UpgradeErrorHandler, SCRIPT_CONVERSION_TYPE, MatchPattern } from './sharedTypes';
import { EncodedString } from '../../elements/elements';
import { I18NKeys } from "../../_locales/i18n-keys";
import { ModuleData } from "./moduleTypes";
declare const browserAPI: browserAPI;
declare const ... | the_stack |
import Promise from 'bluebird';
import httpStatusCodes from 'http-status';
import jwt from 'jsonwebtoken';
import uuid from 'uuid';
import APIRequestManager from './api-request-manager';
import errors from './util/errors';
import getRetryTimeout from './util/exponential-backoff';
// -----------------------------------... | the_stack |
import * as React from 'react';
import { useFluent } from '@fluentui/react-shared-contexts';
import {
clamp,
useBoolean,
useControllableState,
useEventCallback,
useUnmount,
useMergedRefs,
} from '@fluentui/react-utilities';
import {
calculateSteps,
findClosestThumb,
getKeydownValue,
getMarkPercent,
... | the_stack |
import { Flo, Constants } from 'spring-flo';
import { dia } from 'jointjs';
const dagre = require('dagre');
const joint : any = Flo.joint;
const HANDLE_ICON_MAP = new Map<string, string>()
.set(Constants.REMOVE_HANDLE_TYPE, 'icons/delete.svg')
.set(Constants.PROPERTIES_HANDLE_TYPE, 'icons/cog.svg');
const DECO... | the_stack |
import { Observable, forkJoin } from 'rxjs';
const AWS = require('ibm-cos-sdk');
import { Params } from './params';
export class CosClient {
client: any;
constructor (private params: Params) {
// if (!params.bucket) throw new Error("Missing bucket parameter.");
// if (!params.ibmAuthEndpoint || !params.en... | the_stack |
import * as restm from 'typed-rest-client/RestClient';
import * as httpm from 'typed-rest-client/HttpClient';
import vsom = require('./VsoClient');
import basem = require('./ClientApiBases');
import serm = require('./Serialization');
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
import Pr... | the_stack |
declare var Snap: any;
import { Subject } from 'rxjs';
import { TimelineData, ITimelineData, ITimelineStatusSegment, ITimelineEventSegment } from './timeline-data.class';
import { TimelinePositionManager } from './timeline-position-manager.class';
import { TimelineLoadingIndicator } from './timeline-loading-indicator.... | the_stack |
import { BinaryConfusionMatrix } from "../mathematics/confusion_matrix/BinaryConfusionMatrix";
import { ILabelArrayAndMap } from "./ILabelArrayAndMap";
import { ITextUtteranceLabelMapDataStructure } from "./ITextUtteranceLabelMapDataStructure";
import { ITextUtteranceLabelObjectMapDataStructure } from "./ITextUtteranc... | the_stack |
import { L10n, EventHandler, extend, isNullOrUndefined, MouseEventArgs } from '@syncfusion/ej2-base';
import { remove, select } from '@syncfusion/ej2-base';
import { Toolbar as tool, ItemModel, ClickEventArgs } from '@syncfusion/ej2-navigations';
import { IGrid, NotifyArgs } from '../base/interface';
import * as events... | the_stack |
import { Set } from "immutable";
import { normalizers, Reader } from "ckb-js-toolkit";
import { parseAddress, minimalCellCapacity } from "@ckb-lumos/helpers";
import {
core,
values,
Address,
Cell,
WitnessArgs,
CellCollector as CellCollectorType,
Script,
CellProvider,
QueryOptions,
OutPoint,
HexStr... | the_stack |
import * as os from "os";
import { clipboard, shell } from "electron";
import { extname, basename, join } from "path";
import { copy, pathExists, readdir, remove } from "fs-extra";
import { Nullable, Undefinable } from "../../../shared/types";
import * as React from "react";
import { ButtonGroup, Button, Clas... | the_stack |
import { CommandTemplate, selectCommandTemplate } from '../../commands/selectCommandTemplate';
import { ContextType, DockerContext, isNewContextType } from '../../docker/Contexts';
import { ext } from '../../extensionVariables';
import { IActionContext, IAzureQuickPickItem } from 'vscode-azureextensionui';
import a... | the_stack |
import {
Component,
ElementRef,
EventEmitter,
Inject,
Input,
ViewChild,
ViewEncapsulation,
TemplateRef,
OnInit,
Optional,
Output,
Directive,
ViewContainerRef,
AfterViewInit
} from '@angular/core';
import { AnimationEvent } from '@angular/animations';
import { DOCUMENT } from '@angular/common... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type OrderHistoryQueryVariables = {
count: number;
};
export type OrderHistoryQueryResponse = {
readonly me: {
readonly name: string | null;
readonly " $fragmentRefs": FragmentRefs<"OrderHistory... | the_stack |
import { HttpResponse } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import { Aborter } from "./Aborter";
import { Container } from "./generated/lib/operations";
import { IContainerAccessConditions, IMetadata } from "./models";
import { Pipeline } from "./Pipeline";
import { ServiceU... | the_stack |
import {
IconCommonLink,
IconCommonSqlQuery,
IconMenuBulletedList,
IconMenuCode,
IconMenuDivider,
IconMenuH1,
IconMenuH2,
IconMenuH3,
IconMenuNumberList,
IconMenuQuote,
IconMenuToDo,
IconMenuToggleList,
IconMenuUpload
} from '@app/assets/icons'
import {
createTranscation,
insertBlocksAndMo... | the_stack |
import React from 'react';
import {
ViewProps,
ViewStyle,
StyleProp,
ScrollViewProps,
PanResponderGestureState,
TextStyle,
Animated,
} from 'react-native';
export interface TabDataSource extends ViewProps {
/**
* @description.zh 索引值
* @description.en Index
* @default undefined
*/
value: s... | the_stack |
import DataProcess from 'web-worker:./workers/DataProcesse';
import { Fill } from './Fill';
import { isNumber } from './utils/common';
import { IPlaneBuffer } from './utils/gl-utils';
// tslint:disable-next-line:no-duplicate-imports
import * as utils from './utils/gl-utils';
import { createLinearGradient, createZoom } ... | the_stack |
import { ethers, waffle, helpers } from "hardhat"
import { expect } from "chai"
import { noMisbehaved } from "./utils/dkg"
import type { GroupsStub } from "../typechain"
const fixture = async () => {
const GroupsStub = await ethers.getContractFactory("GroupsStub")
const groups = await GroupsStub.deploy()
return... | the_stack |
* @module Item
*/
import * as React from "react";
import { Logger } from "@itwin/core-bentley";
import { UiSyncEventArgs } from "@itwin/appui-abstract";
import { CommonProps, NoChildrenProps, Orientation, ResizableContainerObserver, Size } from "@itwin/core-react";
import { Direction, Toolbar as NZ_Toolbar, ToolbarPa... | the_stack |
import assert from "assert";
import testHelpers from "../../test/helpers";
import { player, team } from "../core";
import { idb } from "../db";
import g from "./g";
import helpers from "./helpers";
import achievements from "./achievements";
import type { TeamSeason, Achievement } from "../../common/types";
const get =... | the_stack |
// clang-format off
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {SafeBrowsingSetting, SettingsSecurityPageElement} from 'chrome://settings/lazy_load.js';
import {MetricsBrowserProxyImpl, PrivacyEleme... | the_stack |
import { v4 } from 'uuid';
import { Data } from '../../../../modules/Data/Data';
import { Api } from '../../../../modules/Api/Api';
import { Logger } from '../../../../logger';
import * as CONSTANTS from '../../../../constants';
import {
IPushService,
IPushServiceSubscriptionKeys,
} from '../../PushService.type... | the_stack |
* Created by Dolkkok on 2017. 7. 18..
*/
import {AfterViewInit, Component, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Output} from '@angular/core';
import {BaseChart} from '../base-chart';
import {BaseOption} from '../option/base-option';
import {
AxisType,
BarMarkType,
CHART_STRING_DELIMITER,
Cha... | the_stack |
declare var d3;
declare var fc;
namespace d3_stackgraph {
type ClickHandler = (d: StackGraphData) => any;
type HoverHandler = (d: StackGraphData, enter: boolean) => any;
type ColorHandler = (d: StackGraphData) => string;
type D3Selection = any;
const PADDING_X_LEFT = 30;
const PADDING_X_RIGHT ... | the_stack |
import { clipboard } from 'electron'
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import * as Path from 'path'
import { Disposable } from 'event-kit'
import { assertNever } from '../../lib/fatal-error'
import {
NewImageDiff,
ModifiedImageDiff,
DeletedImageDiff,
} from './image-diffs'
impo... | the_stack |
import {
AfterParseHook,
AfterValidateHook,
ArbitraryObject,
EnvelopContextFnWrapper,
GetEnvelopedFn,
OnContextBuildingHook,
OnEnvelopedHook,
OnExecuteDoneHook,
OnExecuteHook,
OnParseHook,
OnResolverCalledHook,
OnSubscribeHook,
OnValidateHook,
Plugin,
SubscribeResultHook,
TypedSubscripti... | the_stack |
import booleanPointOnLine from "@turf/boolean-point-on-line";
import booleanPointInPolygon from "@turf/boolean-point-in-polygon";
import { getGeom } from "@turf/invariant";
import { Feature, Geometry, LineString, Point } from "@turf/helpers";
/**
* Boolean-touches true if none of the points common to both geometries
... | the_stack |
declare class GMVBarcodeFeature extends GMVFeature {
static alloc(): GMVBarcodeFeature; // inherited from NSObject
static new(): GMVBarcodeFeature; // inherited from NSObject
readonly calendarEvent: GMVBarcodeFeatureCalendarEvent;
readonly contactInfo: GMVBarcodeFeatureContactInfo;
readonly cornerPoints: NSAr... | the_stack |
import { ASTKindToNode, Kind, NameNode } from 'graphql';
import { GraphQLESLintRule, ValueOf } from '../types';
import { TYPES_KINDS, getLocation, convertCase } from '../utils';
import { GraphQLESTreeNode } from '../estree-parser';
import { GraphQLESLintRuleListener } from '../testkit';
const KindToDisplayName = {
/... | the_stack |
import * as fs from "fs";
import * as path from "path";
import { SimulateOptions } from "cordova-simulate";
import * as vscode from "vscode";
import { CordovaProjectHelper } from "./utils/cordovaProjectHelper";
import { CordovaCommandHelper } from "./utils/cordovaCommandHelper";
import * as semver from "semver";
import... | the_stack |
import { PdfDocument } from './../document/pdf-document';
import { PdfDocumentBase } from './../document/pdf-document-base';
import { PdfPageSettings } from './pdf-page-settings';
import { PdfPage } from './pdf-page';
import { PageAddedEventArgs } from './page-added-event-arguments';
import { PdfPageBase } from './pdf-... | the_stack |
import nodeFetch from 'node-fetch'
import { isError } from 'lodash'
import * as Fixtures from '../__fixtures__'
import { createHealthPoller } from '../health-poller'
import type { RequestInit, Response } from 'node-fetch'
import type { HealthPoller } from '../types'
// TODO(mc, 2020-07-13): remove __mocks__/node-fet... | the_stack |
import '@polymer/iron-autogrow-textarea/iron-autogrow-textarea';
import '../../shared/gr-button/gr-button';
import '../../shared/gr-select/gr-select';
import {encodeURL, getBaseUrl} from '../../../utils/url-util';
import {AccessPermissionId} from '../../../utils/access-util';
import {fireEvent} from '../../../utils/eve... | the_stack |
import { jest, describe, it, expect } from "@jest/globals";
import * as fc from "fast-check";
import { Response } from "cross-fetch";
import { WithAccessibleAcr } from "../acp/acp";
import {
AccessControlResource,
addAcrPolicyUrl,
addPolicyUrl,
getAcrPolicyUrlAll,
getPolicyUrlAll,
} from "../acp/control";
imp... | the_stack |
import React from 'react'
import './App.css'
import { resolve as getElementSourceMetadata } from 'element-to-source'
import { ExtensionConfiguration } from '../src/ExtensionConfiguration'
import Toolbar from './components/toolbar/toolbar'
import Viewport from './components/viewport/viewport'
import Connection from './... | the_stack |
import dynamicProto from "@microsoft/dynamicproto-js";
import { SinonSandbox, SinonSpy, SinonStub, SinonMock, SinonFakeXMLHttpRequest } from "sinon";
import * as sinon from "sinon";
import { Assert } from "./Assert";
import { ITestContext, StepResult, TestCase, TestCaseAsync } from "./TestCase";
const stepRetryCnt = "... | the_stack |
export declare interface IAny {
/** Any typeUrl */
typeUrl?: (string|null);
/** Any value */
value?: (Uint8Array|null);
}
/** DataType enum. */
export enum DataType {
'DT_INVALID' = 0,
'DT_FLOAT' = 1,
'DT_DOUBLE' = 2,
'DT_INT32' = 3,
'DT_UINT8' = 4,
'DT_INT16' = 5,
'DT_INT8' = 6,
'DT_STRING' =... | the_stack |
import {
AfterViewInit,
Attribute,
ChangeDetectorRef,
ComponentRef,
Directive,
ElementRef,
forwardRef,
Inject,
Input,
isDevMode,
Renderer2,
} from '@angular/core';
import { filter, map, takeUntil } from 'rxjs/operators';
import { fromEvent, merge, Subject } from 'rxjs';
import { ControlValueAccess... | the_stack |
import type vscode from 'vscode';
import { RPCProtocol } from '@opensumi/ide-connection';
import { Emitter, CancellationToken, MonacoService, DisposableCollection } from '@opensumi/ide-core-browser';
import { useMockStorage } from '@opensumi/ide-core-browser/__mocks__/storage';
import { URI, Uri, Position } from '@ope... | the_stack |
import * as assert from "assert";
import { Convert } from "pvtsutils";
import { BrowserInfo } from "../../src/helper";
// fix type errors
type Crypto = any;
export const browser = BrowserInfo();
export interface ITestMochaFunction {
skip?: boolean;
only?: boolean;
}
export interface ITestAction extends ITestMoc... | 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/invoicesMappers";
import * as Parameters from "../models/parameters";
import { BillingManagementClientContext } from "../billingManagementClientCo... | the_stack |
import { defaults } from '../utils'
import { RepresentationRegistry } from '../globals'
import StructureRepresentation, { StructureRepresentationParameters } from './structure-representation'
import { calculateContacts, getContactData, getLabelData } from '../chemistry/interactions/contact'
import CylinderBuffer from '... | the_stack |
import {App, ButtonComponent, Modal, Notice, PluginSettingTab, Setting} from "obsidian";
import CompletrPlugin from "./main";
import {FileScanner} from "./provider/scanner_provider";
import {WordList} from "./provider/word_list_provider";
import {CompletrSettings, WordInsertionMode} from "./settings";
export default c... | the_stack |
import { CI, MemoizedIterator, MI } from "../collection/Iterator.js"
//---------------------------------------------------------------------------------------------------------------------
const MixinInstanceOfProperty = Symbol('MixinIdentity')
const MixinStateProperty = Symbol('MixinStateProperty')
//------... | the_stack |
import { clone, each, map, range } from 'underscore';
import { IQuerySuccessEventArgs, QueryEvents } from '../events/QueryEvents';
import { Logger } from '../misc/Logger';
import { IGroupByRequest } from '../rest/GroupByRequest';
import { IRangeValue } from '../rest/RangeValue';
import { ExpressionBuilder } from '../ui... | the_stack |
import { Component, ChangeDetectionStrategy, ViewChild,ViewContainerRef } from '@angular/core';
import { FormBuilder, Validators} from '@angular/forms';
import { IMultiSelectOption, IMultiSelectSettings, IMultiSelectTexts } from '../common/multiselect-dropdown';
import { SnmpDeviceService } from '../snmpdevice/snmpdevi... | the_stack |
import assert from 'assert';
import {
charHasUprightVerticalOrientation,
charAllowsIdeographicBreaking,
charInComplexShapingScript
} from '../util/script_detection';
import verticalizePunctuation from '../util/verticalize_punctuation';
import {plugin as rtlTextPlugin} from '../source/rtl_text_plugin';
impor... | the_stack |
require('module-alias/register');
import * as ABIDecoder from 'abi-decoder';
import * as chai from 'chai';
import { BigNumber } from 'bignumber.js';
import * as setProtocolUtils from 'set-protocol-utils';
import { Address, Bytes, ExchangeIssuanceParams, ZeroExSignedFillOrder } from 'set-protocol-utils';
import ChaiSe... | the_stack |
import { BaseStitchBrowserIntTestHarness } from "mongodb-stitch-browser-testutils";
import {
Anon,
App,
AppResource,
MongoDbRule,
MongoDbService,
Role,
Schema,
Service
} from "mongodb-stitch-core-admin-client";
import {
AnonymousCredential,
BSON,
Codec,
StitchServiceError,
StitchServiceErrorCo... | the_stack |
import {
closest,
contains,
getActiveElement,
isFrame,
isVisible,
matches,
} from "./dom";
const selector =
"input:not([type='hidden']):not([disabled]), select:not([disabled]), " +
"textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " +
"iframe, object, embed, area[href], audio[co... | the_stack |
import {
findNativeDependencies,
gitCli,
kax,
log,
nativeDepenciesVersionResolution,
NativeDependencies,
PackagePath,
readPackageJson,
shell,
yarn,
} from 'ern-core';
import { cleanupCompositeDir } from './cleanupCompositeDir';
import fs from 'fs-extra';
import path from 'path';
import semver from '... | the_stack |
import MockAdapter from 'axios-mock-adapter';
import { MicrofabClient, MicrofabComponent, isIdentity, isOrderer, isPeer, isGateway, isCertificateAuthority } from '../../src/environments/MicrofabClient';
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
chai.should();
chai.use(chaiAsProm... | the_stack |
// IMPORTANT
// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator
// Generated from: https://pubsub.googleapis.com/$discovery/rest?version=v1
/// <re... | the_stack |
import __Utils = require("./Utils")
export import Utils = __Utils.Utils;
import __Vec3 = require("./Vec3")
export import Vec3 = __Vec3.Vec3;
/**
* A 3x3 matrix that can represent rotations and scaling, but no translation.
*/
export class Mat3 {
m_ElementsCM: number[] = [
1, 0, 0,
0, 1, 0,
... | the_stack |
import { SerDe } from "../adaptor";
import { FlashAdaptor } from "../adaptor/flash";
import { WsAdaptor } from "../adaptor/websocket";
import {
AnyLiveContext,
AnyLiveEvent,
AnyLiveInfo,
AnyLivePushEvent,
LiveComponent,
LiveContext,
LiveView,
LiveViewMeta,
LiveViewRootRenderer,
LiveViewTemplate,
W... | the_stack |
import * as chai from 'chai';
import DefaultActiveSpeakerDetector from '../../src/activespeakerdetector/DefaultActiveSpeakerDetector';
import DefaultActiveSpeakerPolicy from '../../src/activespeakerpolicy/DefaultActiveSpeakerPolicy';
import DefaultRealtimeController from '../../src/realtimecontroller/DefaultRealtimeCo... | the_stack |
import * as PIXI from 'pixi.js';
import { PartType } from './factory';
import { Renderer } from 'renderer';
import { Animator } from 'ui/animator';
export const enum Layer {
BACK = 0, // keep this at the start to allow iteration through all layers
MID,
FRONT,
SCHEMATIC_BACK,
SCHEMATIC,
SCHEMATIC_2,
SCHE... | the_stack |
import fetch from 'node-fetch'
import fs from 'fs'
import path from 'path'
import * as csstree from 'css-tree'
type AttributeToClassNames = { [attribute: string]: Array<string> }
type ClassNameToAttributes = { [attribute: string]: Array<string> }
interface ParsedClasses {
attributeToClassNames: AttributeToClassNames... | the_stack |
import ByteBuffer from "bytebuffer";
import fileType from "file-type";
import Long from "long";
import { readUTF8, writeUTF8 } from "./utils";
import { ungzip, inflate, gunzipSync, gzip, gzipSync, inflateSync, deflateSync, deflate } from "./zlib";
type Constructor<T> = new (...args: any) => T;
export const NBTPrototy... | the_stack |
import { createBuilder } from '@develohpanda/fluent-builder';
import { globalBeforeEach } from '../../../../__jest__/before-each';
import * as models from '../../../../models';
import * as protoLoader from '../../../../network/grpc/proto-loader';
import {
grpcMessageSchema,
grpcMethodDefinitionSchema,
grpcStatus... | the_stack |
import { execSync } from 'child_process';
import { browser, ExpectedConditions as until } from 'protractor';
import * as _ from 'lodash';
import { Base64 } from 'js-base64';
import * as crudView from '@console/internal-integration-tests/views/crud.view';
import { click } from '@console/shared/src/test-utils/utils';
imp... | the_stack |
import {Component, Input} from '@angular/core';
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {By} from '@angular/platform-browser';
import {RangeInputComponent, TEST_ONLY} from './range_input_component';
@Component({
selector: 'testable-range-input',
template: `
<tb-range-input
... | the_stack |
import { toast } from 'amis'
import React, { useEffect, useRef } from 'react'
import { app } from '@core/app'
import { useImmer } from '@core/utils/hooks'
import { clearStore, getStore, setStore } from '@core/utils/store'
import { apis } from '~/app/common/apis'
import { prdPathPrefix, storeKeys } from '~/app/constan... | the_stack |
import { getContractAddressesForChainOrThrow } from '@0x/contract-addresses';
import {
constants,
expect,
getRandomFloat,
getRandomInteger,
randomAddress,
toBaseUnitAmount,
} from '@0x/contracts-test-utils';
import { assetDataUtils, generatePseudoRandomSalt } from '@0x/order-utils';
import { Sig... | the_stack |
module Kiwi.Components {
/**
* Arcade Physics is an Optional Component that can be used when you are wanting to do basic physics collisions.
* These have been ported from Flixel, so most function operate identically to the original flixel functions, though some
* have been split into multiple functions. Generally... | the_stack |
import * as React from 'react';
import { Alert } from 'react-bootstrap';
import * as Tone from 'tone';
import { FADE_DURATION_S } from '../../Constants';
import { DynamicMix } from '../../models/DynamicMix';
import { PartId, PartIds } from '../../models/PartId';
import './MixerPlayer.css';
import PlayerUI from './Playe... | the_stack |
import Promise from 'pinkie';
import Sandbox from './sandbox';
import EventEmitter from './utils/event-emitter';
import XhrSandbox from './sandbox/xhr';
import StyleSandbox from './sandbox/style';
import ElectronSandbox from './sandbox/electron';
import ShadowUISandbox from './sandbox/shadow-ui';
import UploadSandbox f... | the_stack |
import { createSingleMessage, isDiagnosticWithInRange } from '@bfc/indexers';
import { Diagnostic, DialogInfo, LuFile, LgFile, LgNamePattern, ITrigger } from '@bfc/shared';
import { DiagnosticSeverity } from '@botframework-composer/types';
import get from 'lodash/get';
import formatMessage from 'format-message';
impor... | the_stack |
module androidui.native {
import EditTextApi = androidui.native.NativeApi.DrawHTMLBoundApi;
import WebViewApi = androidui.native.NativeApi.WebViewApi;
const AndroidJsBridgeProperty = 'AndroidUIRuntime';//android js bridge name
const JSBridge:BridgeImpl = window[AndroidJsBridgeProperty];
export cla... | the_stack |
import {computed, customElement, observe, property} from '@polymer/decorators';
import {PolymerElement, html} from '@polymer/polymer';
import * as PolymerDom from '../../../components/polymer/dom';
import {LegacyElementMixin} from '../../../components/polymer/legacy_element_mixin';
import {Canceller} from '../../../co... | the_stack |
import Point from '../point/Point';
import { Vector2Like, Vector2 } from '../types';
/**
* Defines a Line segment, a part of a line between two endpoints.
*/
declare class Line {
/**
*
* @param x1 The x coordinate of the lines starting point. Default 0.
* @param y1 The y coordinate of the lines s... | the_stack |
import * as fs from "fs"
import * as inquirer from "inquirer"
import {
RuntimeJson,
RuntimeJsonPath,
Encoding,
DotEnvProductionPath,
ConfigAnswers,
ProductionConfig,
CheckConfigArgs,
StagingConfig,
CommonConfig,
AnswerNames,
DotEnvDevelopmentPath,
} from "./types"
type ConfigQuestionFilter = {
... | the_stack |
import {UInt64} from './util';
import {Expression} from './expression';
import Label from './Label';
export enum SIZE {
ANY = -1, // Any size.
NONE = 0, // Either unknown or not specified yet.
B = 8, // byte
W = 16, // word
D = 32, ... | the_stack |
import { Match, Template } from '@aws-cdk/assertions';
import * as ec2 from '@aws-cdk/aws-ec2';
import * as ecr from '@aws-cdk/aws-ecr';
import * as iam from '@aws-cdk/aws-iam';
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
import * as cdk from '@aws-cdk/core';
import * as cdkp from '../lib';
import { ... | the_stack |
import * as assert from 'assert'
import { UNTITLED } from '../../constant/STRING'
import { TreeNodeType } from '../../spec/parser'
import {
getGraphTypeMap,
getGraphTypeMapByPath,
getSpecTypeInterfaceByPath,
moreSpecific,
_getGraphTypeMapByPath,
_getSpecTypeInterfaceByPath,
} from '../../spec/type'
import {... | the_stack |
import { render, waitFor } from '@testing-library/react';
import { Struct } from 'google-protobuf/google/protobuf/struct_pb';
import React from 'react';
import { OutputArtifactLoader } from 'src/lib/OutputArtifactLoader';
import * as mlmdUtils from 'src/mlmd/MlmdUtils';
import { testBestPractices } from 'src/TestUtils'... | the_stack |
import {CompletionItemProvider,CompletionItem,CompletionItemKind,Position,CancellationToken,TextDocument, workspace} from 'vscode';
import { XLog } from './tool';
export class RapidCompletionManager{
public static initCompletion(onSuccess : Function){
const rootPath = workspace.rootPath;
let path... | the_stack |
import React, { PureComponent, CSSProperties, MutableRefObject } from 'react'
import ReactDOM from 'react-dom'
import { getOptions, requireAddons } from '../../utils/CodeMirror'
import { prefixObject } from '../../utils/Styles'
import PlaygroundPreview from './PlaygroundPreview'
import { tooltipAddon, TooltipValue } fr... | the_stack |
import { Configuration } from '../../src/aurelia-configuration';
import { WindowInfo } from '../../src/window-info';
describe('Configuration class', () => {
let configInstance: any;
beforeEach(() => {
configInstance = new Configuration();
spyOn(configInstance, 'setEnvironment').and.callThrough... | the_stack |
import { global, isString, noop, isType, isJsObject, getFuncName, isFunction } from '../../../facade/lang';
import { ListWrapper, StringMapWrapper } from '../../../facade/collections';
import { ChildrenChangeHook } from '../../linker/directive_lifecycle_interfaces';
import { reflector } from '../../reflection/reflectio... | the_stack |
import { TargetLanguage, TranslatedSnippet } from '../lib';
import { MultipleSources, TestJsiiModule, DUMMY_JSII_CONFIG } from './testutil';
describe('no submodule', () => {
describe('top-level struct', () => {
let module: TestJsiiModule;
beforeAll(() => {
module = makeJsiiModule({ withModule: false, n... | the_stack |
export default class ProviderPage {
// KerberosSettingsRequired required input values
private kerberosNameInput = "data-testid=kerberos-name";
private kerberosRealmInput = "data-testid=kerberos-realm";
private kerberosPrincipalInput = "data-testid=kerberos-principal";
private kerberosKeytabInput = "data-testi... | the_stack |
import { Component, OnInit, NgZone, HostListener } from '@angular/core';
import { GridDataService } from '../service/grid-data.service';
import { ComparisonNode } from '../shared/model/comparison-node';
import { CodeeditorComponent as codeeditor } from '../codeeditor/codeeditor.component';
import { AppLogService } from... | the_stack |
import {Class, AnyTiming, Timing, Easing, ContinuousScale} from "@swim/util";
import {Property} from "@swim/component";
import {BTree} from "@swim/collections";
import {AnyR2Point, R2Point, R2Box} from "@swim/math";
import {AnyFont, Font, AnyColor, Color} from "@swim/style";
import {ThemeAnimator} from "@swim/theme";
i... | the_stack |
import {Destination, DestinationStore, DestinationStoreEventType, GooglePromotedDestinationId, LocalDestinationInfo, makeRecentDestination, NativeLayerImpl, PrintPreviewDestinationDialogCrosElement, PrintPreviewDestinationListItemElement, RecentDestination} from 'chrome://print/print_preview.js';
import {assert} from '... | the_stack |
import React from 'react';
import { Container } from '../components/Container';
import { Box } from '../components/Box';
import { Flex } from '../components/Flex';
import { Text } from '../components/Text';
import { Separator } from '../components/Separator';
import { Section } from '../components/Section';
import { Sc... | the_stack |
import crypto from 'crypto';
import Debug from 'debug';
import fs from 'fs';
import path from 'path';
import shell from 'shelljs';
import ts from 'typescript';
const debug = Debug('minits:prelude');
interface Option {
entryfn: string;
tempdir: string;
}
class Base {
public option: Option;
public program: ts.... | the_stack |
import Cell from '../cell/Cell';
import Translations from '../../util/Translations';
import { isNode } from '../../util/domUtils';
import CellState from '../cell/CellState';
import Multiplicity from '../other/Multiplicity';
import { Graph } from '../Graph';
import { mixInto } from '../../util/Utils';
declare module '.... | the_stack |
module Kiwi.Utils {
/**
* Adds a set of extra Math functions and extends a few commonly used ones.
* Includes some methods written by Dylan Engelman.
*
* @class GameMath
* @namespace Kiwi.Utils
* @static
*
* @author Richard Davey
* @author Dylan Engelman
*/
export class GameMath {
/**
* The type of ob... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement, Operator } from "../shared";
/**
* Statement provider for service [cloudwatch](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatch.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/late... | the_stack |
import { render } from '@testing-library/react';
import React from 'react';
import {
GoCdBuildsInsights,
GoCdBuildsInsightsProps,
} from './GoCdBuildsInsights';
const minProps: GoCdBuildsInsightsProps = {
loading: false,
error: undefined,
pipelineHistory: {
_links: { next: { href: 'some-href' } },
pi... | the_stack |
import * as path from 'path';
import { EOL } from 'os';
import {
createConnection, Connection, ResponseError, RequestType, NotificationType, RequestHandler, NotificationHandler, Diagnostic, Range, CancellationToken,
TextDocuments, TextDocumentSyncKind, TextEdit, Command, WorkspaceChange, CodeActionRequest, Vers... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.