text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as _ from "underscore";
import {KyloObject, ObjectChanged} from "../../../../lib/common/common.model";
import {CloneUtil} from "../../../common/utils/clone-util";
import {ObjectUtils} from "../../../../lib/common/utils/object-utils";
import {ConnectorPlugin} from "../../catalog/api/models/connector-plugin";
i... | the_stack |
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { DatePipe } from '@angular/common';
import {
ActivatedRoute,
Router,
RouterEvent,
NavigationEnd
} from '@angular/router';
import { NbDialogService } from '@nebular/theme';
import { TranslateService } from '@ngx-translate/core';
import ... | the_stack |
import {
render,
RenderOptions,
RenderResult,
screen,
waitFor,
within,
} from "@testing-library/react"
import userEvent from "@testing-library/user-event"
import React from "react"
import { MemoryRouter } from "react-router"
import { AnalyticsAction } from "./analytics"
import {
cleanupMockAnalyticsCalls,... | the_stack |
module tetrisbug {
var width = 1280,
height = 500;
var color = d3.scaleOrdinal(d3.schemeCategory10);
var makeEdgeBetween;
var colans = <any>cola;
var graphfile = "graphdata/pre_trip.json";
function makeSVG() {
var svg = d3.select("body").append("svg")
.attr("width",... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import { promisify } from 'util';
import * as cp from 'child_process';
import * as yazl from 'yazl';
import { ExtensionKind, Manifest } from './manifest';
import { ITranslations, patchNLS } from './nls';
import * as util from './util';
import glob from 'glob';
imp... | the_stack |
* rest-api.ts contains all entities from the Gerrit REST API that are also
* relevant to plugins and gr-diff users. These entities should be exactly what
* the backend defines and returns and should eventually be generated.
*
* Sorting order:
* - enums in alphabetical order
* - types and interfaces in alphabetica... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Jobs are actions that BigQuery runs on your behalf to load data, export data, query data, or copy data.
* Once a BigQuery job is created, it cannot be changed or d... | the_stack |
namespace ergometer {
import IRawCommand = ergometer.csafe.IRawCommand;
export interface SendBufferQueued {
commandArray: number[],
resolve : ()=>void,
reject : (e)=>void,
rawCommandBuffer: IRawCommand[]
}
export interface ParsedCSafeCommand {
... | the_stack |
import {ChromeEvent} from '/tools/typescript/definitions/chrome_event.js';
import {assert} from 'chrome://resources/js/assert.m.js';
import {ActivityLogDelegate} from './activity_log/activity_log_history.js';
import {ActivityLogEventDelegate} from './activity_log/activity_log_stream.js';
import {ErrorPageDelegate} fro... | the_stack |
import {Profile, FrameInfo, CallTreeProfileBuilder, ProfileGroup} from '../lib/profile'
import {getOrInsert, lastOf, sortBy, itForEach} from '../lib/utils'
import {TimeFormatter} from '../lib/value-formatters'
import {chromeTreeToNodes, OldCPUProfile} from './v8cpuFormatter'
// See: https://github.com/v8/v8/blob/maste... | the_stack |
export interface SegmentPortraitPicResponse {
/**
* 处理后的图片 base64 数据,透明背景图
*/
ResultImage?: string;
/**
* 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)
*/
ResultMask?: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需... | the_stack |
import type { SliderContext } from './token'
import type { SliderProps, SliderThumbInstance } from './types'
import type { ComputedRef, Ref } from 'vue'
import { computed, nextTick, ref, toRaw, watch } from 'vue'
import { Logger, callEmit, getMouseClientXY, isNumeric, off, on } from '@idux/cdk/utils'
import { useForm... | the_stack |
import * as ABIDecoder from "abi-decoder";
import * as _ from "lodash";
import * as compact from "lodash.compact";
import * as Web3 from "web3";
// Utils
import { BigNumber } from "../../utils/bignumber";
import { DISABLED_TOKEN_SYMBOLS, TOKEN_REGISTRY_TRACKED_TOKENS } from "../../utils/constants";
import * as Units f... | the_stack |
import { SeedDescription, Uuid } from "@emeraldpay/emerald-vault-core";
import { BlockchainCode } from "@emeraldwallet/core";
import { HDPathIndexes } from '@emeraldwallet/store/lib/hdpath-preview/types';
import { ImportPkType } from '@emeraldwallet/ui';
import {
defaultResult,
isLedger,
isLedgerStart,
isPk,
... | the_stack |
declare module 'vscode' {
/**
* Represents the alignment of status bar items.
*/
export enum StatusBarAlignment {
/**
* Aligned to the left side.
*/
Left = 1,
/**
* Aligned to the right side.
*/
Right = 2,
}
/**
* A status bar item is a status bar contribution th... | the_stack |
import { Dom7Array } from 'dom7';
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
import { Searchbar } from '../searchbar/searchbar';
import { View } from '../view/view';
export namespace Autocomplete {
interface Autocomplete extends Framework7EventsClass<Events> ... | the_stack |
export const black: string;
export const black100: string;
export const blue: {
'10': string;
'100': string;
'20': string;
'30': string;
'40': string;
'50': string;
'60': string;
'70': string;
'80': string;
'90': string;
};
export const blue10: string;
export const blue100: s... | the_stack |
import * as path from 'path';
import { IProductionContext } from '../ProductionContext';
import { ISplitEntry } from '../module/SplitEntries';
import { CodeSplittingPhase } from '../phases/CodeSplittingPhase';
import { WarmupPhase } from '../phases/WarmupPhase';
import { createTestEnvironment, ITestEnvironment } from '... | the_stack |
import { Meteor } from 'meteor/meteor'
import { check } from '../../lib/check'
import { meteorPublish, AutoFillSelector } from './lib'
import { PubSub } from '../../lib/api/pubsub'
import { PeripheralDeviceReadAccess } from '../security/peripheralDevice'
import { PeripheralDevices, PeripheralDeviceId, PeripheralDevice ... | the_stack |
import * as Delir from '@delirvfx/core'
import { operation } from '@fleur/fleur'
import archiver from 'archiver'
import { remote } from 'electron'
import glob from 'fast-glob'
import fs from 'fs-extra'
import _ from 'lodash'
import cloneDeep from 'lodash/cloneDeep'
import MsgPack from 'msgpack5'
import path from 'path'... | the_stack |
import * as DataTableModel from 'app/client/models/DataTableModel';
import {DocModel} from 'app/client/models/DocModel';
import {BaseFilteredRowSource, RowId, RowList, RowSource} from 'app/client/models/rowset';
import {TableData} from 'app/client/models/TableData';
import {ActiveDocAPI, ClientQuery, QueryOperation} fr... | the_stack |
import { is, List, Repeat } from 'immutable'
import React from 'react'
import { connect } from 'react-redux'
import { match, Redirect, Route } from 'react-router-dom'
import { goBack, replace } from 'react-router-redux'
import { Dispatch } from 'redux'
import { StageConfig, StageDifficulty, State, TankRecord } from '..... | the_stack |
var getArguments = function () {
return arguments;
};
var arguments = getArguments();
is.arguments(arguments);
is.not.arguments({ foo: 'bar' });
is.all.arguments(arguments, 'bar');
is.any.arguments(['foo'], arguments);
is.all.arguments([arguments, 'foo', 'bar']);
is.array(['foo', 'bar', 'baz']);
is.not.array({ foo... | the_stack |
import { ActionButton, TextField } from '@fluentui/react';
import { Assessments } from 'assessments/assessments';
import { FlaggedComponent } from 'common/components/flagged-component';
import { CapturedInstanceActionType } from 'common/types/captured-instance-action-type';
import { FeatureFlagStoreData } from 'common/... | the_stack |
import request = require('request');
import http = require('http');
import Promise = require('bluebird');
let defaultBasePath = 'http://petstore.swagger.io/v1';
// ===============================================
// This file is autogenerated - Please do not edit
// ===============================================
/* ... | the_stack |
import {Injectable} from '@angular/core';
import {merge, Observable, Subject, Subscription} from 'rxjs';
import {filter, tap} from 'rxjs/operators';
import {BreakPoint} from '../breakpoints/break-point';
import {sortDescendingPriority} from '../utils/sort';
import {BreakPointRegistry} from '../breakpoints/break-point... | the_stack |
import { expect } from 'chai'
import {
EncryptedDataKey,
NodeAlgorithmSuite,
AlgorithmSuiteIdentifier,
SignatureKey,
VerificationKey,
WebCryptoAlgorithmSuite,
KeyringTraceFlag,
} from '../src'
import {
decorateCryptographicMaterial,
decorateEncryptionMaterial,
decorateDecryptionMaterial,
decorateW... | the_stack |
import Transaction from "./transaction";
import { Database, tuple, TupleItem, util } from ".";
import { Transformer, defaultTransformer } from "./transformer";
import { TransactionOptionCode } from "./opts.g";
import { concat2, startsWith, strInc, asBuf } from "./util";
import Subspace, { root } from "./subspace";
impo... | the_stack |
import React, { Component } from 'react';
import { Animated, PanResponder, PanResponderInstance, PanResponderGestureState, ImageCropData } from 'react-native';
// @ts-ignore; 'react-native-image-rotate' does not have typescript support
import RNImageRotate from 'react-native-image-rotate';
import ImageEditor from '@rea... | the_stack |
import type { TVec3 } from '@oito/type';
import type { Pose } from '@oito/armature';
import type { IKChain, Link } from '../rigs/IKChain';
import { Vec3, Transform, Quat } from '@oito/core';
import { ISolver } from './ISolver';
//#endregion
class NaturalCC... | the_stack |
import acceptLanguageParser from 'accept-language-parser';
import Cache from 'nice-cache';
import Client from 'oc-client';
import Domain from 'domain';
import emptyResponseHandler from 'oc-empty-response-handler';
import vm from 'vm';
import _ from 'lodash';
import applyDefaultValues from './apply-default-values';
imp... | the_stack |
import {
assert,
createContainer,
createFixture,
createObserverLocator,
createScopeForTest,
} from '@aurelia/testing';
import {
CustomElement,
InterpolationBinding,
Interpolation,
ConditionalExpression,
AccessScopeExpression,
BindingMode,
LifecycleFlags,
SVGAnalyzerRegistration,
IPlatform,
... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormOpportunityProduct_Field_Service_Information {
interface tab_general_Sections {
pricing: DevKit.Controls.Section;
}
interface tab_tab_2_Sections {
tab_2_section_1: DevKit.Controls.Section;
tab_2_section_2: DevKit.C... | the_stack |
import { IUniq, readAnyFile } from "@creditkarma/mimic-core";
import {
Comment,
ConstValue,
EnumDefinition,
ExceptionDefinition,
FieldDefinition,
FunctionDefinition,
FunctionType,
Identifier,
parse,
StructDefinition,
SyntaxType,
TextLocation,
ThriftStatement,
TypedefDefinition,
UnionDefini... | the_stack |
import { extractHeadings } from './lib/extract'
import { enterReadableMode, leaveReadableMode } from './lib/readable'
import { getScrollElement, getScrollTop, smoothScroll } from './lib/scroll'
import { Article, Content, Heading, Scroller } from './types'
import { ui } from './ui/index'
import { createEventEmitter } fr... | the_stack |
import { ClassType, CompilerContext } from '@deepkit/core';
import { ClassSchema, getClassSchema, getSortedUnionTypes, PropertySchema } from '@deepkit/type';
import { BaseParser, ParserV2 } from './bson-parser';
import { bsonTypeGuards } from './bson-typeguards';
import { seekElementSize } from './continuation';
import... | the_stack |
import { SagaIterator, buffers, delay } from 'redux-saga';
import {
select,
take,
call,
apply,
fork,
put,
all,
takeLatest,
actionChannel,
race
} from 'redux-saga/effects';
import BN from 'bn.js';
import { toTokenBase, Wei, fromWei } from 'libs/units';
import {
EAC_SCHEDULING_CONFIG,
parseSchedu... | the_stack |
import * as assert from "assert";
import {BespokeClient} from "../../lib/client/bespoke-client";
import {Node} from "../../lib/server/node";
import {NodeManager} from "../../lib/server/node-manager";
import {Global} from "../../lib/core/global";
import {KeepAlive} from "../../lib/client/keep-alive";
import {SocketHand... | the_stack |
import { PdfGanttCellStyle } from './../../base/interface';
import { PdfTreeGrid } from '../pdf-treegrid';
import { isNullOrUndefined } from '@syncfusion/ej2-base';
import { PdfPaddings } from './index';
import {
RectangleF, PdfTextAlignment, PdfBorderOverlapStyle, PointF, PdfDashStyle,
PdfLineCap, PdfSolidBrus... | the_stack |
import os from 'os';
import { URL } from 'url';
import path from 'path';
import { promises as fspromises, createWriteStream, createReadStream, constants } from 'fs';
import md5File from 'md5-file';
import https from 'https';
import { createUnzip } from 'zlib';
import tar from 'tar-stream';
import yauzl from 'yauzl';
im... | the_stack |
import * as vscode from 'vscode';
// import * as azdata from 'azdata';
import * as child_process from 'child_process';
import { Dependencies } from './dependencies';
import { COMMAND_DASHBOARD, LogLevel } from './constants';
import { Options, Setting } from './options';
import { Logger } from './logger';
import { Libs... | the_stack |
import classNames from "classnames";
import clamp from "lodash.clamp";
import isEqual from "lodash.isequal";
import React, {
forwardRef,
useCallback,
useEffect,
useImperativeHandle,
useLayoutEffect,
useMemo,
useRef,
useState,
} from "react";
import useResizeObserver from "use-resize-observer";
import s... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* Accounts
* __NOTE__: An instance of this class is automatically created for an
* instance of the MapsManagementClient.
*/
export interface Accounts {
/... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { Queue, Topic } from ".";
import { EventHub, EventHubConsumerGroup, getEventhubNamespace } from ".";
import * as eventgrid from "../eventgrid";
import * as servicebus from "../servicebus";
import * as appservice from "../appservice";
/** @internal */
/** This is only... | the_stack |
import * as blessed from "blessed";
import { format, callbackify } from "util";
import chalk from "chalk";
import { TreeItem } from "../widget/tree_item";
import { ClientAlarmList, resolveNodeId, DataValue, ResultMask, VariantArrayType } from "node-opcua-client";
import { Tree } from "../widget/widget_tree";
import {... | the_stack |
import {Store, Event, is, launch, createEvent, sample, merge} from 'effector'
import type {StateRef} from '../../effector/index.h'
import type {
DOMElement,
ElementDraft,
NSType,
PropertyMap,
StoreOrData,
DOMProperty,
StylePropertyMap,
Leaf,
LeafDataElement,
Template,
HandlerRecord,
PropertyOp... | the_stack |
/////*1*/ class a {
/////*2*/ constructor ( n : number ) ;
/////*3*/ constructor ( s : st... | the_stack |
import * as types from "../constants/ActionTypes";
import { Action } from "../constants/ActionTypes";
import { ActionCreator } from "redux";
import IState, { IWorkspace, IWorkspaceInfo, IWorkspaceFile, IWorkspaceBuffer } from "../IState";
import { decodeWorkspace } from "../workspaces";
import { error } from "./errorAc... | the_stack |
"use strict";
import i18next from "i18next";
import { observable } from "mobx";
import RequestErrorEvent from "terriajs-cesium/Source/Core/RequestErrorEvent";
import { Notification } from "../ReactViewModels/NotificationState";
import { terriaErrorNotification } from "../ReactViews/Notification/terriaErrorNotification... | the_stack |
import { schemaDefaultValue } from '../../collectionUtils'
import { arrayOfForeignKeysField, denormalizedCountOfReferences, foreignKeyField, resolverOnlyField, accessFilterMultiple } from '../../utils/schemaUtils';
import SimpleSchema from 'simpl-schema';
import { Utils, slugify } from '../../vulcan-lib/utils';
import ... | the_stack |
import { ResourceConstants } from 'graphql-transformer-common';
import { GraphQLTransform } from '@aws-amplify/graphql-transformer-core';
import { SearchableModelTransformer } from '@aws-amplify/graphql-searchable-transformer';
import { ModelTransformer } from '@aws-amplify/graphql-model-transformer';
import { CloudFor... | the_stack |
import "../../Operator"
import * as C from "../../Cause"
import type { HasClock } from "../../Clock"
import { currentTime } from "../../Clock"
import * as A from "../../Collections/Immutable/Chunk"
import * as List from "../../Collections/Immutable/List"
import type * as MP from "../../Collections/Immutable/Map"
impor... | the_stack |
import SeriesData from '@/src/data/SeriesData';
import Model from '@/src/model/Model';
import { createSourceFromSeriesDataOption, Source, createSource } from '@/src/data/Source';
import { OptionDataItemObject,
OptionDataValue,
SOURCE_FORMAT_ARRAY_ROWS,
SOURCE_FORMAT_ORIGINAL } from '@/src/util/types';
impor... | the_stack |
import { Button } from 'amis'
import { uuid } from 'amis/lib/utils/helper'
import { get, map, omit, find } from 'lodash'
import React, { useEffect, useRef } from 'react'
import { app } from '@core/app'
import { Amis } from '@core/components/amis/schema'
import { useImmer } from '@core/utils/hooks'
import { emptyListH... | the_stack |
declare module "love.filesystem" {
import { Data } from "love.data";
/**
* Appends data to a file.
*
* There will be an attempt to create the file if it doesn't exist.
*
* @param filepath A file's path.
* @param data Data to append.
* @param bytes How many bytes of data to ap... | the_stack |
import * as core from '@actions/core'
import * as path from 'path'
import * as io from '@actions/io'
import {promises as fs} from 'fs'
import {findFilesToUpload} from '../src/search'
const root = path.join(__dirname, '_temp', 'search')
const searchItem1Path = path.join(
root,
'folder-a',
'folder-b',
'folder-c'... | the_stack |
import 'mocha';
import { expect } from 'chai';
import { verificationConditions } from '../src';
import { code, incorrect, verified, unverified } from './helpers';
declare function assert (x: boolean): void;
declare function ensures (x: boolean | ((y: any) => boolean)): void;
declare function requires (x: boolean): voi... | the_stack |
import { mat4, vec3, vec4 } from 'gl-matrix';
import { assert } from './auxiliaries';
import {
decode_float24x1_from_uint8x3,
decode_uint32_from_rgba8,
} from './gl-matrix-extensions';
import { Context } from './context';
import { Framebuffer } from './framebuffer';
import { Initializable } from './initializa... | the_stack |
import {
unsignedLEB128,
signedLEB128,
encodeString,
ieee754
} from "./encoding";
import traverse from "./traverse";
const flatten = (arr: any[]) => [].concat.apply([], arr);
// https://webassembly.github.io/spec/core/binary/modules.html#sections
enum Section {
custom = 0,
type = 1,
import = 2,
func =... | the_stack |
import { CommonModule } from '@angular/common';
import {
AfterViewInit,
Component,
ElementRef,
EventEmitter,
Inject,
Input,
NgModule,
Output,
ViewChild,
} from '@angular/core';
import {
FormsModule,
} from '@angular/forms';
import { CRS, latLng, LatLngBounds, Point } from 'leafle... | the_stack |
import { TypedEmitter } from "tiny-typed-emitter";
import { fixEnt } from "string-fix-broken-named-entities";
import { traverse } from "ast-monkey-traverse";
import { lineCol, getLineStartIndexes } from "line-column-mini";
import clone from "lodash.clonedeep";
import { cparser } from "codsen-parser";
import { keys } fr... | the_stack |
import { StatementPtr, Wasm } from "../build/sqlite.js";
import { getStr, setArr, setStr } from "./wasm.ts";
import { Status, Types, Values } from "./constants.ts";
import { SqliteError } from "./error.ts";
/**
* The default type for returned rows.
*/
export type Row = Array<unknown>;
/**
* The default type for ro... | the_stack |
import { $TSContext, CFNTemplateFormat, readCFNTemplate, pathManager, stateManager, writeCFNTemplate } from 'amplify-cli-core';
import { glob } from 'glob';
import * as inquirer from 'inquirer';
import { prompter } from 'amplify-prompts';
import * as fs from 'fs-extra';
import {
getResourceCfnOutputAttributes,
getA... | the_stack |
import { isEmptyObject, isPlainObject } from '@mpkit/util';
import { getMpViewType, has, log } from '../../modules/util';
import {
JSONType,
JSONValue,
JSONChunk,
JSONProp,
JSONTree,
JSONComma,
GlobalObjectConstructorNames,
JSONNode,
JSONPropFilter,
JSONPropDesc,
JSONPropPath... | the_stack |
import { EventEmitter } from 'events';
import { Stats as FileStats } from 'fs';
import { Server as HttpServer } from 'http';
import { Readable as ReadableStream } from 'stream';
import * as VinylFile from 'vinyl';
export namespace fractal {
namespace core {
interface StatusInfo {
label: string;... | the_stack |
import { AssetDatabase, EditorGUI, EditorGUILayout, EditorGUIUtility, EditorStyles, GenericMenu, Handles } from "UnityEditor";
import { Color, Event, EventType, FocusType, GUI, GUIContent, GUILayout, GUIUtility, KeyCode, Rect, Texture, Vector2, Vector3 } from "UnityEngine";
import { EventDispatcher } from "../../../p... | the_stack |
import express from 'express';
import * as db from '../util/db';
import * as organization from '../model/organization';
import * as device from '../model/device';
import * as oauth2 from '../model/oauth2';
import * as userModel from '../model/user';
import * as user from '../util/user';
import * as SendMail from '../u... | the_stack |
import {DomUtils} from "../domParsers/domUtils";
import * as Log from "../logging/log";
import {Constants} from "../constants";
import {ClientType} from "../clientType";
import {Status} from "./status";
import {ClipperStateProp} from "./clipperState";
import {ComponentBase} from "./componentBase";
import {Clipper} f... | the_stack |
import * as binders from "./../binders";
import {TsSourceFile, TsNode, TsTypeNode, TsSignature, TsType, TsSymbol, TsExpression} from "./../compiler";
import * as definitions from "./../definitions";
import {KeyValueCache, Logger} from "./../utils";
import {MainFactory} from "./MainFactory";
function bindToDefinition<... | the_stack |
import {
Component,
ElementRef,
Input,
Output,
ChangeDetectionStrategy,
ChangeDetectorRef,
ViewChild,
EventEmitter,
Renderer2,
OnDestroy,
NgZone,
Inject,
OnInit
} from '@angular/core';
import { mergeDeep, LY_COMMON_STYLES, ThemeVariables, lyl, ThemeRef, StyleCollection, LyClasses, StyleTemplat... | the_stack |
import { KeySet } from '../ojkeyset';
import { DataProvider } from '../ojdataprovider';
import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base';
import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..';
export interface ojLe... | the_stack |
import { remove, set } from "mobx"
import {
detach,
findChildren,
findParent,
findParentPath,
fromSnapshot,
getChildrenObjects,
getParentPath,
getParentToChildPath,
getRootPath,
isChildOfParent,
isParentOfChild,
model,
Model,
modelSnapshotInWithMetadata,
prop,
runUnprotected,
} from "../... | the_stack |
import { isNotNull } from '@vuedx/shared'
import type { SourceLocation } from '@vuedx/template-ast-types'
import type {
TextDocument,
TransformerError,
} from '@vuedx/vue-virtual-textdocument'
import { inject, injectable } from 'inversify'
import type Typescript from 'typescript/lib/tsserverlibrary'
import type {
... | the_stack |
namespace Linqer {
export interface Enumerable extends Iterable<any> {
/**
* Sorts the elements of a sequence in ascending order.
*
* @param {ISelector} keySelector
* @returns {OrderedEnumerable}
* @memberof Enumerable
*/
orderBy(keySelector: ISelector): OrderedEnumerable;
/**
* Sorts the e... | the_stack |
import * as BaseUtil from '../common/base_util';
import * as DomUtil from '../common/dom_util';
import SystemExternal from '../common/system_external';
import XpathUtil from '../common/xpath_util';
import {LOCALE} from '../l10n/locale';
import {SpeechRuleStore} from '../rule_engine/speech_rule_store';
import * as Sema... | the_stack |
import {
getLeoRC,
getCorePackageJSON,
getProjectPackageJSON,
runInstall,
extendsProcessEnv,
getRemotePkgTagVersion,
} from './utils';
import { IRC } from './defaultRC';
import fs from 'fs-extra';
import semver from 'semver';
import set from 'lodash.set';
import unset from 'lodash.unset';
import merge from ... | the_stack |
import { Matrix2, Matrix3, Matrix4, Vector2, Vector3, Vector4 } from './matrix';
import glEnum from './glEnum';
//const glEnum = {};
let gl;
let screenTextureCount = 31;
export const clearColor = [0, 0, 0, 1];
export function getTextureIndex() {
screenTextureCount--;
return screenTextureCount;
}
... | the_stack |
export namespace Terminal {
// Default Application
export interface Application {}
// Class
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
... | the_stack |
import { Smithchart, ISmithchartLoadedEventArgs, TooltipRender } from '../../../src/smithchart/index';
import { createElement, remove, isNullOrUndefined } from '@syncfusion/ej2-base';
import { Tooltip} from '@syncfusion/ej2-svg-base';
import { MouseEvents } from '../base/events.spec';
import {profile , inMB, getMemory... | the_stack |
function path2module(path: any[]): string {
return path.map(p => p.name ? `${p.type}[${p.name}]` : p.type).join('/');
}
function opName(rawName: string): string {
if (rawName.includes('::')) {
return rawName.split('::')[1];
} else {
return rawName;
}
}
export class NodeTs {
readonly id: string;
re... | the_stack |
namespace LiteMol.Plugin.Views.Transform.Density {
"use strict";
import Transformer = Bootstrap.Entity.Transformer
const IsoValue = (props: { view: Transform.ControllerBase<any>, onChangeValue: (v: number)=> void, onChangeType: (v: Bootstrap.Visualization.Density.IsoValueType)=> void, min: number,... | the_stack |
namespace correction {
type EditOperation = 'insert' | 'delete' | 'match' | 'substitute' | 'transpose-start' | 'transpose-end' | 'transpose-insert' | 'transpose-delete';
/**
* Represents the lowest-level unit for comparison during edit-distance calculations.
*/
export interface EditToken<TUnit> {
key: ... | the_stack |
import { MailActions, MailActionTypes } from '../actions';
import { FolderState, MailState, PGPEncryptionType, SecureContent } from '../datatypes';
import { Attachment, EmailDisplay, Mail, MailFolderType, OrderBy } from '../models';
import { FilenamePipe } from '../../shared/pipes/filename.pipe';
/**
---Start Reducer... | the_stack |
import {
isAttributeInstance,
isIdentifierAttributeInstance,
isComponentValueTypeInstance,
isObjectValueTypeInstance
} from '@layr/component';
import {assertIsPlainObject, assertNoUnknownOptions} from 'core-helpers';
import type {StorableComponent, SortDirection} from './storable';
import {isStorableAttributeI... | the_stack |
import * as should from "should";
import * as sinon from "sinon";
import { BrowseDirection } from "node-opcua-data-model";
import { NodeId, resolveNodeId } from "node-opcua-nodeid";
import { AddressSpace, Namespace, UARootFolder, UAObjectType, UAReferenceType } from "..";
import { getMiniAddressSpace } from "../testH... | the_stack |
import {
DictionaryGetNullOptionalParams,
DictionaryGetNullResponse,
DictionaryGetEmptyOptionalParams,
DictionaryGetEmptyResponse,
DictionaryPutEmptyOptionalParams,
DictionaryGetNullValueOptionalParams,
DictionaryGetNullValueResponse,
DictionaryGetNullKeyOptionalParams,
DictionaryGetNullKeyResponse,
... | the_stack |
/*
utils.js
========
*/
/* Copyright 2017 Yahoo Inc.
* Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
*/
var utils = {
URL: window.URL || window.webkitURL || window.mozURL || window.msURL,
getUserMedia: (function () {
const getUserMedia =
navigator.get... | the_stack |
import {assert} from 'chrome://resources/js/assert.m.js';
import {FilePath} from 'chrome://resources/mojo/mojo/public/mojom/base/file_path.mojom-webui.js';
import {Actions} from '../personalization_actions.js';
import {WallpaperCollection, WallpaperImage} from '../personalization_app.mojom-webui.js';
import {ReducerFu... | the_stack |
* Transforms Doxygen descriptions to markdown.
*/
import {DoxDescription, DoxDescriptionElement} from './doxygen-model';
import {DocCompound, DocMemberOverload} from './doc-model';
import {log} from './logger';
export interface TypeLinks {
linkPrefix: string;
linkMap: Map<string, string>;
operatorMap: Map<stri... | the_stack |
import {serial as testAny, TestInterface} from 'ava';
import fs from 'fs';
import path from 'path';
import sinon from 'sinon';
import uniqueString from 'unique-string';
const test = testAny as TestInterface<{outputPath: string}>;
import {getVideoMetadata} from './helpers/video-utils';
import {almostEquals} from './he... | the_stack |
import edgeSourceUndefined from './constants/negative/json/08-edge-source-undefined.json';
import edgeTargetUndefined from './constants/negative/json/07-edge-target-undefined.json';
import duplicateNodeEdgeID from './constants/negative/json/01-duplicate-node-edge-key.json';
import invalidEdgeSource from './constants/ne... | the_stack |
import {postMessage, randInt, DelayNotify, LocalStorage} from '../utils'
import md5 from '../md5'
const storage = new LocalStorage('h5plr')
const PUREMODE = 'pureMode'
export function isPureMode () {
return storage.getItem(PUREMODE, '0') === '1'
}
export function setPureMode (val: boolean) {
storage.set... | the_stack |
'use strict';
import platform = require('vs/platform/platform');
import { IJSONSchema } from 'vs/base/common/jsonSchema';
import { Color, RGBA } from 'vs/base/common/color';
import { ITheme } from 'vs/platform/theme/common/themeService';
import nls = require('vs/nls');
// ------ API types
export type ColorIdentifi... | the_stack |
import { REQUEST } from '@nestjs/core'
import { Injectable, Scope, Inject } from '@nestjs/common'
import { QueryService } from '@nestjs-query/core'
import { getConnection } from 'typeorm'
import { BaseService } from '../../utilities/base.service'
import { PlanEntity } from '../entities/plan.entity'
import { Plan } fr... | the_stack |
var typeMapping: { [s: string]: any } = {
"RC:TxtMsg": "TextMessage",
"RC:ImgMsg": "ImageMessage",
"RC:VcMsg": "VoiceMessage",
"RC:ImgTextMsg": "RichContentMessage",
"RC:FileMsg": "FileMessage",
"RC:HQVCMsg": "HQVoiceMessage",
"RC:LBSMsg": "LocationMessage",
"RC:InfoNtf": "InformationNot... | the_stack |
export interface ProductColor {
light: string;
lightHover: string;
lightActive: string;
normal: string;
normalHover: string;
normalActive: string;
dark: string;
darkHover: string;
darkActive: string;
darker: string;
}
export interface StatusColor {
light: string;
lightHo... | the_stack |
import { RoundedRectangle } from "../render/RoundedRectangle";
import { Container, IContainerPrivate, IContainerSettings, IContainerEvents } from "./Container";
import * as $type from "../util/Type";
import { Graphics } from "./Graphics";
import { Button } from "./Button";
import type { Time } from "../util/Animation";... | the_stack |
'use strict';
import * as DebuggerExtension from './Debugger/extension';
import * as LanguageServer from './LanguageServer/extension';
import * as os from 'os';
import * as path from 'path';
import * as Telemetry from './telemetry';
import * as util from './common';
import * as vscode from 'vscode';
import { CppTools... | the_stack |
import * as assert from "assert";
import * as FS from "fs";
import * as Path from "path";
import * as Commander from "commander";
import chalk from "chalk";
import { enqueueSMTTestEvaluate, enqueueSMTTestRefute, enqueueSMTTestWitness } from "./smt_runner";
import { runCompilerTest } from "./compile_runner";
import { ... | the_stack |
import type { RegExpVisitor } from "regexpp/visitor"
import type { Alternative, Element, Pattern } from "regexpp/ast"
import type { RegExpContext } from "../utils"
import {
CP_MINUS,
CP_PLUS,
CP_STAR,
CP_QUESTION,
CP_SLASH,
CP_SPACE,
CP_APOSTROPHE,
createRule,
defineRegexpVisitor,
} ... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.