text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
/// <reference types="node" />
import * as mqtt from "mqtt";
import * as WebSocket from "ws";
import { EventEmitter } from 'events';
export interface DeviceOptions extends mqtt.IClientOptions {
/** the AWS IoT region you will operate in (default "us-east-1") */
region?: string | undefined;
/** the client ID yo... | the_stack |
import { Dictionary } from '../../base/dictionary';
import { WList } from '../list/list';
import { WAbstractList } from '../list/abstract-list';
import { WListLevel } from '../list/list-level';
import { Selection } from '../index';
import { TextPosition } from '../selection/selection-helper';
import { DocumentEditor } ... | the_stack |
// See state defs from inflate.js
const BAD = 30; /* got a data error -- remain here until reset */
const TYPE = 12; /* i: waiting for type bits, including last-flag bit */
/*
Decode literal, length, and distance codes and write out the resulting
literal and match bytes until either not enough input or output is... | the_stack |
import { format, IConnection } from "mysql";
import BaseDAO from "./BaseDAO";
import DeploymentDAO from "./DeploymentDAO";
import HistoryDAO from "./HistoryDAO";
import { PackageDTO, QueryOkPacketDTO } from "../dto";
import {
ClientRatioQueries,
DeploymentPackageQueries,
PackageContentQueries,
Packag... | the_stack |
import themisContext from "./context";
import { ThemisError, ThemisErrorCode } from "./themis_error";
import {
coerceToBytes,
heapFree,
heapGetArray,
heapPutArray,
heapAlloc,
passphraseBytes,
} from "./utils";
const cryptosystem_name = "SecureCellSeal";
export class SecureCellSeal {
protected masterKey:... | the_stack |
import { expect } from "chai";
import { Guid, Id64, Id64String } from "@itwin/core-bentley";
import { Box, Point3d, Range3d, Vector3d, YawPitchRollAngles } from "@itwin/core-geometry";
import {
BatchType, Code, ColorDef, defaultTileOptions, GeometryStreamBuilder, IModel, iModelTileTreeIdToString, PhysicalElementProps... | the_stack |
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import 'rxjs/add/operator/toPromise';
import * as _ from 'lodash';
import { environment } from '../../environments/environment';
import { handleError, parseJson, packageForPo... | the_stack |
import { Config } from "../index";
import {
CLASS_DRAG_IMAGE, CLASS_DRAG_OPERATION_ICON, CLASS_PREFIX, DROP_EFFECT, DROP_EFFECTS
} from "./constants";
import {
addDocumentListener, applyDragImageSnapback, extractTransformStyles, isDOMElement,
isTouchIdentifierContainedInTouchEvent, Point, removeDocumentList... | the_stack |
import {
checkFilesExist,
ensureNxProject,
readJson,
runNxCommandAsync,
uniq,
updateFile,
readFile
} from '@nrwl/nx-plugin/testing';
// default 5000 is not long enough for some of our tests.
jest.setTimeout(120000)
function expectedProjectFiles(root:string) {
return [
`${root}/src/index.... | the_stack |
import * as R from 'ramda';
import pickNonNil from '../util/pickNonNil';
import { logger } from '../loggers/logger';
import UserRepresentation from 'keycloak-admin/lib/defs/userRepresentation';
import { Group, isRoleSubgroup } from './group';
export interface User {
email: string;
username: string;
id?: string;
... | the_stack |
import * as path from 'path';
import * as unist from '../unistHelpers';
import * as ngHelpers from '../ngHelpers';
const includedNodeTypes = [
'root', 'paragraph', 'inlineCode', 'list', 'listItem',
'table', 'tableRow', 'tableCell', 'emphasis', 'strong',
'link', 'text'
];
let externalNameLinks;
let linkOve... | the_stack |
import PSI from '../combined_wasm_node'
import { ERROR_INSTANCE_DELETED } from '../implementation/constants'
import { PSILibrary } from 'src/implementation/psi'
import { Response, ServerSetup } from '../implementation/proto/psi_pb'
let psi: PSILibrary
beforeAll(async () => {
psi = await PSI()
})
describe('PSI Clien... | the_stack |
import { Epsilon, Matrix, Scalar, Vector3 } from '.';
import { FloatArray } from './types';
/**
* Vector4 class created for EulerAngle class conversion to Quaternion
*/
export class Vector4 {
/**
* Creates a Vector4 object from the given floats.
* @param x x value of the vector
* @param y y value of the vecto... | the_stack |
/**
* @author Christopher Cook
* @copyright Webprofusion Ltd http://webprofusion.com
*/
/// <reference path="OCM_CommonUI.ts" />
declare var bootbox: any;
module OCM {
export enum AppMode {
STANDARD,
LOCALDEV,
SANDBOXED
}
/** View Model for core functionality */
export class... | the_stack |
import {
ChangeDetectorRef,
Directive,
EventEmitter,
HostListener,
Input,
NgZone,
OnDestroy,
Optional,
Output,
Renderer2
} from "@angular/core";
import {HttpClient, HttpResponse} from "@angular/common/http";
import {TranslateService} from "@ngx-translate/core";
import {AbstractJi... | the_stack |
import common from '../../util/common';
import options from '../../util/options';
import Settings from '../../Settings';
import Math from '../../common/Math';
import Vec2 from '../../common/Vec2';
import Vec3 from '../../common/Vec3';
import Mat22 from '../../common/Mat22';
import Mat33 from '../../common/Mat33';
impor... | the_stack |
import { Trans } from "@lingui/macro";
import { i18nMark, withI18n } from "@lingui/react";
import { Hooks } from "#SRC/js/plugin-bridge/PluginSDK";
import * as React from "react";
import { MountService } from "foundation-ui";
import FormErrorUtil from "#SRC/js/utils/FormErrorUtil";
import { findNestedPropertyInObject ... | the_stack |
import _, { groupBy, filter, map, sum, some, isUndefined, uniq, difference, flatMap, concat, mean, defaultTo, find, size, isNaN } from 'lodash';
import { isPresent } from '../utils';
import { DependencyGraph } from '../DependencyGraph';
import { GraphDataElement, IGraph, IGraphEdge, IGraphMetrics, IGraphNode, EGraphNod... | the_stack |
import React, { useMemo, useRef } from 'react';
import { defineMessages, FormattedMessage } from 'react-intl';
import { ColonyRole } from '@colony/colony-js';
import FriendlyName from '~core/FriendlyName';
import PermissionsLabel from '~core/PermissionsLabel';
import ActionsPageFeed, {
SystemInfo,
SystemMessage,
... | the_stack |
import Event, { CHECK_SAPARATOR, DOM_EVENT_SAPARATOR, SAPARATOR, NAME_SAPARATOR, CHECK_DOM_EVENT_PATTERN } from "../Event";
import { Dom } from "../functions/Dom";
import { debounce, throttle, isNotUndefined, isFunction, splitMethodByKeyword } from "../functions/func";
import { DomElement, IDom, IDomEventObject, IDomEv... | the_stack |
import '@gravitee/ui-components/wc/gv-header';
import '@gravitee/ui-components/wc/gv-menu';
import '@gravitee/ui-components/wc/gv-message';
import '@gravitee/ui-components/wc/gv-nav';
import '@gravitee/ui-components/wc/gv-user-menu';
import '@gravitee/ui-components/wc/gv-theme';
import {
AfterViewInit,
ChangeDetect... | the_stack |
import { CommonModule } from '@angular/common';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import {
ApplicationModule,
APP_INITIALIZER,
Component,
FactoryProvider,
InjectionToken,
Injector,
NgModule,
} from '@angular/core';
import {
async,
ComponentFixture,
TestBed,
} from '@angular/c... | the_stack |
import * as React from "react";
import { Listbox, Transition } from "@headlessui/react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faCheck, faSort } from "@fortawesome/free-solid-svg-icons";
import {
PropertyTypes,
ConfigurationPropertyValue,
SelectOption,
ConfigurationP... | the_stack |
import {
CancellationToken,
ExtensionContext,
NotebookCell,
NotebookCellExecution,
NotebookController,
NotebookDocument,
Uri,
window,
workspace
} from 'vscode';
import { IDisposable } from '../types';
import * as getPort from 'get-port';
import * as WebSocket from 'ws';
import { Cell... | the_stack |
import { IgxDateTimeEditorDirective, IgxDateTimeEditorModule } from './date-time-editor.directive';
import { DatePart } from './date-time-editor.common';
import { DOCUMENT, formatDate } from '@angular/common';
import { Component, ViewChild, DebugElement, EventEmitter, Output, SimpleChange, SimpleChanges } from '@angula... | the_stack |
import jsan, { Options } from 'jsan';
import throttle from 'lodash/throttle';
import serializeImmutable from '@redux-devtools/serialize/lib/immutable/serialize';
import { getActionsArray } from '@redux-devtools/utils';
import { getLocalFilter, isFiltered, PartialLiftedState } from './filters';
import importState from '... | the_stack |
* Created by Dolkkok on 2017. 7. 17..
*/
/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Static Variable
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
export const CHART_STRING_DELIMITER: string = '―';
export const SPEC_VERSION: number = 2;
/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| E-Chart... | the_stack |
type DistributeKeys<T> = { [P in keyof T]: P }
/**
* Validate response
* @see https://dev.twitch.tv/docs/authentication#validating-requests
*/
export type ApiValidateResponse = {
client_id: string
login: string
scopes: string[]
user_id: string
expires_in: number
}
/**
* @see https://dev.twitch.tv/docs/i... | the_stack |
namespace Linqer {
/**
* wrapper class over iterable instances that exposes the methods usually found in .NET LINQ
*
* @export
* @class Enumerable
* @implements {Iterable<any>}
* @implements {IUsesQuickSort}
*/
export class Enumerable implements Iterable<any>, IUsesQuickSort {
_src: IterableType;
_... | the_stack |
import { NewExpression, Identifier, TemplateString, ArrayLiteral, CastExpression, BooleanLiteral, StringLiteral, NumericLiteral, CharacterLiteral, PropertyAccessExpression, Expression, ElementAccessExpression, BinaryExpression, UnresolvedCallExpression, ConditionalExpression, InstanceOfExpression, ParenthesizedExpressi... | the_stack |
import { DATEPICKER_DIALOG_NAME, DATEPICKER_NAME } from '../../constants.js';
import { KEY_CODES_MAP } from '../../custom_typings.js';
import type { DatepickerDialog } from '../../datepicker-dialog.js';
import type { Datepicker } from '../../datepicker.js';
import { APP_INDEX_URL } from '../constants.js';
import { clea... | the_stack |
import { TestBed } from '@angular/core/testing';
import { CalendarPeriodRelativityEnum } from './enums/calendar-period-relativity.enum';
// temporary fix for https://github.com/ng-packagr/ng-packagr/issues/217#issuecomment-360176759
import * as momentNs from 'moment';
const moment = momentNs;
import { CalendarManagerS... | the_stack |
import * as PIXI from 'pixi.js'
import FD from '../core/factorioData'
import G from '../common/globals'
import util from '../common/util'
import { Entity } from '../core/Entity'
import F from './controls/functions'
import { Panel } from './controls/Panel'
import { styles } from './style'
function template(strings: Tem... | the_stack |
import { Dict } from "lang"
const dict: Dict = {
module: {
ohmymn: {
link: "https://www.notion.so/huangkewei/Gesture-2d43552645f3433da3c9beece0990f73",
option: {
profile: "Profile",
has_title_then: ["As Comments", "As Title Link", "Override"],
panel_position: ["Auto", "Left", ... | the_stack |
import * as React from 'react';
import { Label } from 'office-ui-fabric-react/lib/Label';
import { IChoiceGroupOption } from 'office-ui-fabric-react/lib/ChoiceGroup';
import { Spinner, SpinnerSize, SpinnerType } from 'office-ui-fabric-react/lib/Spinner';
import { Async } from 'office-ui-fabric-react/lib/Utilities';
imp... | the_stack |
import {
XInputBoolean,
XBoolean,
XDataConvert,
XData,
XInputNumber,
XNumber,
XSort,
XQuery,
XWithConfig,
XFilter,
XSize
} from '@ng-nest/ui/core';
import { Component, Input, Output, EventEmitter } from '@angular/core';
import { XTableColumn, XTableRow } from '@ng-nest/ui/table';
import { XTreeNod... | the_stack |
import { assert } from "chai";
import * as Plottable from "../../src";
import * as Mocks from "../mocks";
import * as TestMethods from "../testMethods";
describe("Tables", () => {
function assertTableRows(table: Plottable.Components.Table, expectedRows: Plottable.Component[][], message: string) {
expectedRows.... | the_stack |
import { Component, Inject } from 'vue-property-decorator';
import { getAbsoluteLink } from '../../../../../../utils/router';
import AppAdWidget from '../../../../../../_common/ad/widget/widget.vue';
import { Api } from '../../../../../../_common/api/api.service';
import AppCard from '../../../../../../_common/card/car... | the_stack |
import { Asset, CommonOffset, StorageLoadError } from "@akashic/pdi-types";
import { Trigger } from "@akashic/trigger";
import { AssetAccessor } from "./AssetAccessor";
import { AssetHolder } from "./AssetHolder";
import { AssetLoadFailureInfo } from "./AssetLoadFailureInfo";
import { Camera } from "./Camera";
import {... | the_stack |
import {ComplexFilter} from '../browser';
const {join} = require('path');
const assetDir = join(__dirname, '..', '..', 'assets');
export interface Testcase {
name: string;
assets: string[];
filters: ComplexFilter[];
}
const generateFontTests = (fontFile: string): Testcase[] => {
return [
{
name: `... | the_stack |
import React, {
ReactNode,
useRef,
useState,
useCallback,
useEffect,
useContext,
useLayoutEffect,
} from 'react'
import cn from 'classnames'
import { useTabState, Tab, TabList, TabPanel } from 'reakit/Tab'
import { useWindowSize, useIsomorphicLayoutEffect } from 'react-use'
import {
Text,
Stack,
Box... | the_stack |
import { getExt } from "./utils.files";
import {
aac, abw, accdb, avi, azw,
bmp, bz, bz2, cda,
csh, css, csv,
docx, drawio,
eot, epub,
freearc, gif, gzip,
html, icalendar,
jar, java, javascript, jpeg, json, jsonld,
midi, mp3, mp4, mpeg, mpkg,
octet, odp, ods, odt, oga, ogv, ogx,... | the_stack |
import Protocol from 'devtools-protocol';
import {
RequestMapping,
ResponseMapping,
MappedEvent,
EventMapping,
EventPredicate,
MappedRequestMethod
} from 'chrome-debugging-client';
import { RaceCancellation } from 'race-cancellation';
export interface VersionStatusIdentifier {
status: Protocol.ServiceWor... | the_stack |
import { BaseProxifiedProperty, PropertyProxy } from "@fluid-experimental/property-proxy";
import { ModalRoot } from '../src/ModalRoot';
import { ModalManager } from '../src/ModalManager';
import { ArrayProperty, BaseProperty, MapProperty, NodeProperty, PropertyFactory } from "@fluid-experimental/property-properties";
... | the_stack |
import { getInteraction } from '@antv/g2';
import InteractionContext from '@antv/g2/lib/interaction/context';
import { IGroup, IShape } from '@antv/g2/lib/dependents';
import { createDiv } from '../../../../utils/dom';
import { Treemap } from '../../../../../src';
import {
BREAD_CRUMB_NAME,
DrillDownAction as Treem... | the_stack |
import { GuidanceTag, guidanceTags } from 'common/guidance-links';
export interface GuidelineMetadata {
number: string;
axeTag: string;
name: string;
linkName: string;
linkTag: string;
link: string;
guidanceTags: GuidanceTag[];
}
// Maps from axe-core rule/result objects' tags property (eg... | the_stack |
import { Vector3 } from './Vector3'
// import {Object3D} from '../core/Object3D'
// import {Sphere} from './Sphere'
// import {Plane} from './Plane'
import { Matrix4 } from './Matrix4'
const points: Vector3[] = [
new Vector3(),
new Vector3(),
new Vector3(),
new Vector3(),
new Vector3(),
new Vector3(),
new Vecto... | the_stack |
import {equal, ok} from 'assert';
import {join} from 'path';
import {
command,
fail,
file,
handler,
path as toPath,
resource,
task,
template,
} from 'fig';
import Context from 'fig/Context.js';
import assert from 'fig/assert.js';
import {promises} from 'fig/fs.js';
import stat from 'fig/fs/stat.js';
im... | the_stack |
import * as os from 'os';
import * as im from 'immutable';
import * as ast from './ast';
import * as lexer from './lexer';
import * as lexical from './lexical';
// ---------------------------------------------------------------------------
type precedence = number;
const applyPrecedence: precedence = 2, // Functi... | the_stack |
import { createElement, L10n, remove, EmitType } from '@syncfusion/ej2-base';
import { HeatMap } from '../../src/heatmap/heatmap';
import { Title } from '../../src/heatmap/model/base';
import { ILoadedEventArgs, ICellEventArgs } from '../../src/heatmap/model/interface'
import { Adaptor } from '../../src/heatmap/index';... | the_stack |
'use strict';
interface IDenqueOptions {
capacity?: number
}
/**
* Custom implementation of a double ended queue.
*/
export default class Denque<T> {
_head: number;
_tail: number;
_capacity: number | undefined;
_capacityMask: number;
_list: any[];
constructor(array?: T[], options?: IDenqueOptions) {
... | the_stack |
import type { Operation } from '@apollo/client/core';
import { expect } from '@open-wc/testing';
import { gql } from '@apollo/client/core';
import { hasAllVariables } from './has-all-variables';
function pass(description: string, operation: Partial<Operation>): Mocha.Suite {
return describe(description, function(... | the_stack |
import * as React from 'react';
import {
Interactive,
createInteractive,
InteractiveProps,
InteractiveExtendableProps,
InteractiveState,
InteractiveStateChange,
} from 'react-interactive';
import { BrowserRouter, Link } from 'react-router-dom';
import { styled } from '../stitches.config';
/////////////////... | the_stack |
import {
parse,
GraphQLSchema,
DocumentNode,
GraphQLField,
GraphQLCompositeType,
isCompositeType,
getNamedType,
GraphQLType,
VariableDefinitionNode,
TypeNode,
OperationTypeNode,
GraphQLObjectType,
GraphQLEnumType,
DirectiveNode,
GraphQLInputObjectType,
GraphQLInputField,
GraphQLUnionTy... | the_stack |
import { Utils } from '../../lib/vulcan-lib/utils';
import { validateDocument, validateData, dataToModifier, modifierToData, } from './validation';
import { getSchema } from '../../lib/utils/getSchema';
import { throwError } from './errors';
import { Connectors } from './connectors';
import { getCollectionHooks, Collec... | the_stack |
import {
all,
call,
put,
select,
takeEvery,
takeLatest
} from 'redux-saga/effects'
import { Name, PlaybackSource } from 'common/models/Analytics'
import { ID, UID } from 'common/models/Identifiers'
import Kind from 'common/models/Kind'
import { Track } from 'common/models/Track'
import { User } from 'commo... | the_stack |
// clang-format off
import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {AddSiteDialogElement, ContentSetting, ContentSettingsTypes, SettingsEditExceptionDialogElement, SITE_EXCEPTION_WILDCARD, SiteException, S... | the_stack |
import { Either } from "../Either"
import { Internals } from "../Internals"
import { List } from "../List"
import { add } from "../Num"
import { Pair } from "../Tuple"
const { Just, Nothing, Left, Right } = Internals
// CONSTRUCTORS
test ("Right", () => {
expect (Right (3) .value) .toEqual (3)
expect (Right (3) ... | the_stack |
import 'chrome://webui-test/mojo_webui_test_support.js';
import 'chrome://read-later.top-chrome/app.js';
import {ReadLaterAppElement} from 'chrome://read-later.top-chrome/app.js';
import {ReadLaterEntriesByStatus} from 'chrome://read-later.top-chrome/read_later.mojom-webui.js';
import {ReadLaterApiProxyImpl} from 'chr... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/locationsMappers";
import * as Parameters from "../models/parameters";
import { HDInsightManagementClientContext } from "../hDInsightManagementClientContext";
/** Class representing a Locations. */
exp... | the_stack |
import * as React from "react";
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
import { IOrganizationChartProps } from "./IOrganizationChartProps";
import { escape } from "@microsoft/sp-lodash-subset";
import { Customizer } from "@uifabric/utilities/lib/";
import * as strings from "Organizati... | the_stack |
import React from 'react';
import { css, Global } from '@emotion/react';
import {
neutral,
brandBackground,
brandBorder,
from,
until,
} from '@guardian/source-foundations';
import { ArticleFormat, ArticleSpecial, ArticleDesign } from '@guardian/libs';
import { Footer } from '@root/src/web/components/Footer';
imp... | the_stack |
import _ = require('underscore');
import Q = require('q');
import Utils = require('./Utils');
//var ObserveJs = require('observe-js');
var HashMap = require('hashmap').HashMap;
/**
* It represents API for business rules definition of the product, the contract, the form etc.
* It is not tight to HTML DOM or any other... | the_stack |
import {CoreGraph} from '../../../../core/graph/CoreGraph';
import {MapUtils} from '../../../../core/MapUtils';
import {ShaderName} from './ShaderName';
import {TypedNode, BaseNodeType} from '../../_Base';
import {NodeContext, NetworkChildNodeType} from '../../../poly/NodeContext';
import {NodeTypeMap} from '../../../c... | the_stack |
import Ambrosia = require("ambrosia-node");
import { State } from "./PTI";
import IC = Ambrosia.IC;
import Utils = Ambrosia.Utils;
const _knownDestinations: string[] = []; // All previously used destination instances (the 'PTI' Ambrosia app/service can be running on multiple instances, potentially simultaneously); use... | the_stack |
'use strict';
function gcd(a: any, b: any) {
let c;
if (a < 0) a = -a;
if (b < 0) b = -b;
while (b) {
c = b; b = a % b; a = c;
}
return a;
}
function lcm(a: any, b: any) {
if (!a && !b) return 0;
return Math.abs(a * b / gcd(a, b));
}
class RationalNumber {
a: any;
b: a... | the_stack |
import { IFilterInfo, SimpleFsStorageProvider } from "../../src";
import * as expect from "expect";
import * as tmp from "tmp";
tmp.setGracefulCleanup();
function createSimpleFsStorageProvider(inMemory = false, maxMemTransactions = 20) {
const tmpFile = tmp.fileSync();
const writeProvider = new SimpleFsStorag... | the_stack |
import { Commit } from 'vuex'
import * as types from '../mutation-types'
export interface ApmData {
[key: string]: any
}
export interface State {
captures: any[]
historys: any[]
defaultCapture: any
defaultHistory: any
reloadToggle: boolean
compareToggle: boolean
captureToggle: boolean
apmData: ApmDa... | the_stack |
import { ExpectedConditions, browser, element, by } from 'protractor';
import { AddFile } from '../component/add-file';
import { BusyAlert } from '../component/alert';
import { Constants } from '../constants';
import { Deploy } from '../component/deploy';
import { Editor } from '../component/editor';
import { EditorFi... | the_stack |
import { Gltf, GltfType, GltfPrimitive, GltfComponentType } from './gltfType';
import { Mesh } from './Mesh';
import { MeshView } from './meshView';
import { calculateMinMax, MinMax } from './calculateMinMax';
import {
createFloat32Buffer,
createUInt8Buffer,
createUInt16Buffer
} from './createByteBuffer';
i... | the_stack |
import * as db from '../util/db';
export type BatchStatus = 'created' | 'paraphrasing' | 'validating' | 'complete';
export interface Row {
id : number;
id_hash : string;
owner : number;
name : string;
language : string;
submissions_per_hit : number;
status : BatchStatus;
}
export type Opti... | the_stack |
import { View, Action, EventCodeLanguage } from "../types";
import { getAdditionalBackgroundCode, setAdditionalBackgroundCode, getAudioSelectCode, setAudioSelectCode, _fixPotentiallyOldBoard, _makeDefaultBoard } from "../boards";
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Provider }... | the_stack |
'use strict'
import * as path from 'path';
import * as fs from 'fs';
import { workspace, Uri, commands, WorkspaceFolder, Event, EventEmitter, Disposable, window } from 'vscode';
import { spawn } from 'child_process';
import { Tracer } from './tracer';
const EntrySeparator = '471a2a19-885e-47f8-bff3-db43a3cdfaed';
co... | the_stack |
import moment from 'moment'
import GanttBinarySearch from '../util/binarySearch.service'
import GanttColumnGenerator from './columnGenerator.service'
import {GanttColumnBuilder} from './columnBuilder.factory'
import {GanttColumn} from './column.factory'
import {GanttColumnHeader} from './columnHeader.factory'
import G... | the_stack |
import { render } from 'lit-html';
import EventManager from '../utils/event-manager';
import { forEach } from '../../src/globals/internal/collection-helpers';
import BXTabs from '../../src/components/tabs/tabs';
import BXTab from '../../src/components/tabs/tab';
import { Default } from '../../src/components/tabs/tabs-s... | the_stack |
import { Disposable } from 'vs/base/common/lifecycle';
import { ExtHostContext, MainThreadTreeViewsShape, ExtHostTreeViewsShape, MainContext } from 'vs/workbench/api/common/extHost.protocol';
import { ITreeViewDataProvider, ITreeItem, IViewsService, ITreeView, IViewsRegistry, ITreeViewDescriptor, IRevealOptions, Extens... | the_stack |
import * as Common from '../../core/common/common.js';
import * as i18n from '../../core/i18n/i18n.js';
import * as Platform from '../../core/platform/platform.js';
import * as Root from '../../core/root/root.js';
import * as SDK from '../../core/sdk/sdk.js';
import * as Bindings from '../../models/bindings/bindings.js... | the_stack |
import React, { useEffect, useRef, useState } from 'react';
import { ImShrink2 } from '@react-icons/all-files/im/ImShrink2';
import { FaRegHandPointer } from '@react-icons/all-files/fa/FaRegHandPointer';
import {
EnergyMap as EnergyMapType,
Seam,
OnIterationArgs,
ImageSize,
resizeImage,
ALPHA_DELETE_THRESH... | the_stack |
import type {ComponentType} from './component';
import type {Dispatcher} from './dispatcher';
import type {Plan} from './planner';
import type {System, SystemBox, SystemType} from './system';
export const now = typeof window !== 'undefined' && typeof window.performance !== 'undefined' ?
performance.now.bind(performa... | the_stack |
* @module Views
*/
import {
AxisOrder, ClipPlane, ConvexClipPlaneSet, Geometry, GrowableXYZArray, LowAndHighXY, LowAndHighXYZ, Map4d, Matrix3d, Plane3dByOriginAndUnitNormal, Point3d, Range3d, Transform, Vector3d, XYAndZ,
} from "@itwin/core-geometry";
/** The 8 corners of the [Normalized Plane Coordinate]($docs/le... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A Google Cloud IoT Core device registry.
*
* To get more information about DeviceRegistry, see:
*
* * [API documentation](https://cloud.google.com/iot/docs/refe... | the_stack |
* @author Kuitos
* @since 2020-3-31
*/
import { SandBox, SandBoxType } from '../interfaces';
import { nextTick, uniq } from '../utils';
import { attachDocProxySymbol, getTargetValue } from './common';
import { clearSystemJsProps, interceptSystemJsProps } from './noise/systemjs';
// zone.js will overwrite Object.defi... | the_stack |
/// <reference types="node" />
import { EventEmitter } from 'events';
declare namespace Connection {
// The property names of these interfaces match the documentation (where type names were given).
export interface Config {
/** Username for plain-text authentication. */
user: string;
... | the_stack |
import { getVoidLogger } from '@backstage/backend-common';
import { ObjectFetchParams } from '../types/types';
import { KubernetesFanOutHandler } from './KubernetesFanOutHandler';
const fetchObjectsForService = jest.fn();
const getClustersByServiceId = jest.fn();
const mockFetch = (mock: jest.Mock) => {
mock.mockI... | the_stack |
import INode, { INodeData } from './INode'
import Layout from './Layout'
import { Notice, Platform } from 'obsidian'
import SVG from 'svg.js'
import { MindMapView } from '../MindMapView'
import { frontMatterKey, basicFrontmatter } from '../constants';
import Exec from './Execute'
import {uuid} from '../MindMapView'
le... | the_stack |
import { ident } from "../Function"
import { Internals } from "../Internals"
import * as L from "../List"
import { Num } from "../Num"
import { OrderedMap } from "../OrderedMap"
import { fromDefault } from "../Record"
import { Pair } from "../Tuple"
const { List } = L
const { Just, Nothing } = Internals
// [Symbol.i... | the_stack |
import { reactive, computed, watch } from '@hummer/tenon-vue'
import { storeKey } from './injectKey'
import ModuleCollection from './module/module-collection'
import { forEachValue, isObject, isPromise, assert, partial } from './util'
interface StoreOptions{
plugins?: Array<any>,
strict?: Boolean
}
export function... | the_stack |
import React from 'react';
import styles from './index.less';
import StringUtil from "@/common/StringUtil";
import Logger from "@/common/Logger";
import {JarBootConst} from "@/common/JarBootConst";
import {ColorBasic, Color256, ColorBrightness} from "@/components/console/ColorTable";
interface ConsoleProps {
/** 是... | the_stack |
import {
EndpointsInputConfig,
EndpointsResolvedConfig,
RegionInputConfig,
RegionResolvedConfig,
resolveEndpointsConfig,
resolveRegionConfig,
} from "@aws-sdk/config-resolver";
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
import {
getHostHeaderPlugin,
HostHeaderInputConfi... | the_stack |
import { areChildrenOutOfBounds } from '../../../Common/redux/Helpers/areChildrenOutOfBounds';
import { getWorkItemsForLevel } from './workItemsForLevel';
import { IFeatureTimelineRawState } from '../store/types';
import { IIterationDuration, IterationDurationKind } from "../../../Common/redux/Contracts/IIterationDura... | the_stack |
import {ComponentFixture, TestBed, waitForAsync, fakeAsync, tick} from '@angular/core/testing';
import {
Component,
ViewChild,
ElementRef,
ViewChildren,
QueryList,
EventEmitter,
} from '@angular/core';
import {By} from '@angular/platform-browser';
import {
TAB,
RIGHT_ARROW,
LEFT_ARROW,
DOWN_ARROW,
... | the_stack |
import * as DomUtil from '../common/dom_util';
import {SemanticAttr, SemanticFont, SemanticRole, SemanticType} from './semantic_attr';
import {SemanticHeuristics} from './semantic_heuristics';
import {SemanticNode} from './semantic_node';
import {SemanticNodeFactory} from './semantic_node_factory';
import * as Semantic... | the_stack |
import * as React from 'react';
import {
Animated,
View,
Modal,
Easing,
LayoutChangeEvent,
BackHandler,
KeyboardAvoidingView,
Keyboard,
ScrollView,
FlatList,
SectionList,
Platform,
StatusBar,
KeyboardEvent,
NativeSyntheticEvent,
NativeScrollEvent,
StyleSheet,
KeyboardAvoidingViewProp... | the_stack |
import { DOCUMENT } from '@angular/common';
import {
ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input,
NgZone, OnChanges, OnDestroy, Output, Renderer2, SimpleChanges, TemplateRef
} from '@angular/core';
import { fromEvent, Observable, Subscription } from 'rxjs';
impor... | the_stack |
'use strict';
import {LanguageServiceDefaultsImpl} from './monaco.contribution';
import {VueWorker} from './vueWorker';
import * as ls from 'vscode-languageserver-types';
import Uri = monaco.Uri;
import Position = monaco.Position;
import Range = monaco.Range;
import Thenable = monaco.Thenable;
import Prom... | the_stack |
/// <reference path="OCM_Base.ts" />
/// <reference path="OCM_CommonUI.ts" />
/// <reference path="OCM_MapProvider_GoogleMapsWeb.ts" />
/**
* @author Christopher Cook
* @copyright Webprofusion Ltd http://webprofusion.com
*/
module OCM {
export class GeoLatLng implements Coordinates {
//based on HTML Geo... | the_stack |
import type * as hb from "homebridge";
import type * as hap from "hap-nodejs";
import { BasePropsType, CharacteristicConfig, GetMapFunc } from "./humidifier";
import { ValueOf } from "./utils";
import { HumidifierModel } from "./models";
export type AnyCharacteristicConfig<PropsType> = CharacteristicConfig<
PropsTyp... | the_stack |
import { FieldDefinitionNode } from 'graphql';
import {
compoundExpression,
Expression,
obj,
printBlock,
and,
equals,
iff,
methodCall,
not,
ref,
str,
bool,
forEach,
list,
qref,
raw,
set,
ifElse,
nul,
notEquals,
parens,
} from 'graphql-mapping-template';
import {
getIdentityCl... | the_stack |
import { Component, OnInit, Renderer2, ViewChild, ElementRef, Input } from '@angular/core';
import * as jp from 'jsplumb';
import { fromEvent } from 'rxjs';
import { WorkFlowFormControl, ControlTypeEnum } from '../model/workFlowFormControl';
import { ActivatedRoute } from '@angular/router';
import { WorkflowFormService... | the_stack |
import { createConnection, IConnection } from 'vscode-languageserver';
import * as fs from 'fs';
export class OracleConnection {
// Create a connection for the server. The connection uses Node's IPC as a transport.
// Also include all preview / proposed LSP features.
private static _connection: IConnectio... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.