text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { dirname, basename, extname, join, normalize } from "path";
import * as ts from "typescript";
import {
StandardTransform,
TransformOperation,
collectDeepNodes,
AddNodeOperation,
ReplaceNodeOperation,
makeTransform
} from "@ngtools/webpack/src/transformers";
import { AngularCompilerPlugin... | the_stack |
import type { TimeUnit } from "./Time";
import { Entity, IEntitySettings, IEntityPrivate } from "./Entity"
import { TextFormatter } from "./TextFormatter";
import * as $object from "./Object";
import * as $utils from "./Utils";
import * as $type from "./Type";
export interface IDurationFormatterSettings e... | the_stack |
import * as assert from 'assert';
import * as vscode from 'vscode';
import { parseSDL, tokenizeSDL } from '../../sdl/sdlparse';
let backslash = "\\";
// Defines a Mocha test suite to group tests of similar kind together
suite("sdl parser", () => {
test("tokenizer", () => {
let tokens = tokenizeSDL(`my_tag
person ... | the_stack |
import * as Clutter from 'clutter';
import * as Gio from 'gio';
import * as GLib from 'glib';
import * as GObject from 'gobject';
import { MatPanelButton } from 'src/layout/verticalPanel/panelButton';
import {
LayoutState,
LayoutType,
TilingLayoutByKey,
} from 'src/manager/layoutManager';
import { assert, a... | the_stack |
'use strict';
import * as vscode from 'vscode';
import {OCamlMerlinSession} from './merlin';
import * as child_process from 'child_process';
import * as Path from 'path';
import * as Fs from 'fs';
import {opamSpawn, wrapOpamExec} from './utils';
let promisify = require('tiny-promisify');
let fsExists = (path: string)... | the_stack |
interface HSLType {
h: number;
s: number;
l: number;
}
interface RGBType {
r: number;
g: number;
b: number;
}
interface ColorValueType {
type: '%' | 'i' | 'f';
val: number;
}
/**
* Converts an HSL color value to RGB. Conversion formula
* adapted from http://e... | the_stack |
import { Component, OnDestroy } from '@angular/core';
import { CoreEventObserver, CoreEvents } from '@singletons/events';
import { CoreSites } from '@services/sites';
import {
AddonMessagesProvider,
AddonMessagesConversationMember,
AddonMessagesMessageAreaContact,
AddonMessages,
} from '../../services/m... | the_stack |
/// <reference types="node" />
import { Vector } from "../vector";
import { DataType } from "../type";
import { MessageHeader } from "../enum";
import { Footer } from "./metadata/file";
import { Schema, Field } from "../schema";
import { Message } from "./metadata/message";
import * as metadata from "./metadata/message... | the_stack |
import { AssetProxy } from '../Engine/AssetProxy'
import { PluginLoadFailException } from '../Exceptions'
import defaults from '../helper/defaults'
import { ColorRGB, ColorRGBA, Expression, Point2D, Point3D, Size2D, Size3D } from '../Values'
export type ParameterType =
// | 'POINT_2D'
// | 'POINT_3D'
// | 'SIZE... | the_stack |
import React from 'react';
import { findDOMNode } from 'react-dom';
import assign from 'object-assign';
import DataGrid from '../';
import { render } from '../testUtils';
import '../../style/index.scss';
const fakeEvent = props => {
return assign(
{
stopPropagation: () => {},
preventDefault: () => {}... | the_stack |
import { Component, Input, OnDestroy } from '@angular/core';
import { ScriptDataService } from '../../../../core/data/processes/script-data.service';
import { ContentSource } from '../../../../core/shared/content-source.model';
import { ProcessDataService } from '../../../../core/data/processes/process-data.service';
i... | the_stack |
import { assert } from "chai";
import { Id64, Id64String } from "@itwin/core-bentley";
import { Box, LineString3d, Point3d, Range3d, Sphere } from "@itwin/core-geometry";
import { Code, ColorDef, DbResult, GeometryClass, GeometryParams, GeometryPartProps, GeometryStreamBuilder, IModel, PhysicalElementProps } from "@itw... | the_stack |
import test from 'tape'
import { RepoBackend, RepoFrontend } from '../src'
import { expect, expectDocs, generateServerPath, testRepo } from './misc'
import { validateDocURL } from '../src/Metadata'
import { INFINITY_SEQ } from '../src/CursorStore'
import * as Stream from '../src/StreamLogic'
import * as Crypto from '..... | the_stack |
import {
AssetBalance,
AssetBalanceWithPrice,
Balance,
BigNumber,
HasBalance
} from '@rotki/common';
import { GeneralAccount } from '@rotki/common/lib/account';
import { Blockchain } from '@rotki/common/lib/blockchain';
import { get } from '@vueuse/core';
import isEmpty from 'lodash/isEmpty';
import map from ... | the_stack |
import {useCallback, useEffect, useRef, useState} from "react";
import {Conversation, ConversationItem, LinkedConversation, MessageItem, MessageModifier} from "shared/data/blocks";
import {ConversationItemType, ParticipantActionType} from "shared/data/stateCodes";
import {getPlatformUtils} from "shared/util/platformUti... | the_stack |
import * as chai from "chai";
import * as types from "../../src/constants/ActionTypes";
import { IDiagnostic, IInstrumentation, IVariableLocation } from "../../src/IState";
import getStore, { IObservableAppStore } from "../observableAppStore";
import IMlsClient, { IRunRequest, ICompileResponse } from "../../src/IMlsCl... | the_stack |
import i18next from 'i18next';
import _ from 'lodash';
import { ControlResponseBuilder } from '../..';
import { ControlInput } from '../../controls/ControlInput';
import { assert } from '../../utils/AssertionUtils';
import { AplContent, MultiValueListAPLComponentProps, MultiValueListControl } from './MultiValueListCont... | the_stack |
import { Component, OnInit } from '@angular/core';
import * as $ from 'jquery';
import * as Raphael from 'raphael';
import 'jqueryui';
import { RecordingService } from '../message/recording/recording.service';
import { Recording } from '../message/recording/recording';
import { Extension } from '../extension/extension'... | the_stack |
import {Test, T, A} from '../sources'
const {checks, check} = Test
// ///////////////////////////////////////////////////////////////////////////////////////
// LIST /////////////////////////////////////////////////////////////////////////////////
type T = [
1,
2,
'3' | undefined,
'xxxx',
{a: 'a'... | the_stack |
import { EventEmitter, Inject, Injectable, NgModuleRef } from '@angular/core';
import {
getPolygonByPointAndRadius,
getPolygonByBufferRadius,
ImageryCommunicatorService,
IImageryMapPosition,
IMapSettings
} from '@ansyn/imagery';
import {
ICoordinatesSystem,
LayoutKey,
MapActionTypes,
ProjectionConverterService... | the_stack |
import * as path from 'path';
import {
AutoScalingGroup,
BlockDevice,
CfnAutoScalingGroup,
DefaultResult,
LifecycleTransition,
} from '@aws-cdk/aws-autoscaling';
import {
CfnNetworkInterface,
Connections,
IConnectable,
IMachineImage,
InstanceType,
ISecurityGroup,
IVpc,
OperatingSystemType,
S... | the_stack |
import sade from 'sade';
import glob from 'tiny-glob/sync';
import {
rollup,
watch,
RollupOptions,
OutputOptions,
RollupWatchOptions,
WatcherOptions,
} from 'rollup';
import asyncro from 'asyncro';
import chalk from 'chalk';
import * as fs from 'fs-extra';
import * as jest from 'jest';
import { CLIEngine } ... | the_stack |
import {
watch,
watchEffect,
computed,
reactive,
ref,
set,
shallowReactive,
nextTick,
} from '../../../src'
import Vue from 'vue'
// reference: https://vue-composition-api-rfc.netlify.com/api.html#watch
describe('api: watch', () => {
// const warnSpy = jest.spyOn(console, 'warn');
const warnSpy = ... | the_stack |
import { strict as assert } from "assert";
import {
MockFluidDataStoreRuntime,
MockContainerRuntimeFactory,
MockStorage,
} from "@fluidframework/test-runtime-utils";
import { ReferenceType } from "@fluidframework/merge-tree";
import { IChannelServices } from "@fluidframework/datastore-definitions";
import {... | the_stack |
import HttpPollingDatafileManager from '../src/httpPollingDatafileManager';
import { Headers, AbortableRequest, Response } from '../src/http';
import { DatafileManagerConfig } from '../src/datafileManager';
import { advanceTimersByTime, getTimerCount } from './testUtils';
import PersistentKeyValueCache from '../src/per... | the_stack |
import * as assert from 'assert';
import {after, afterEach, before, beforeEach, describe, it} from 'mocha';
import * as fs from 'fs';
import * as gcpMetadata from 'gcp-metadata';
import * as path from 'path';
import * as proxyquire from 'proxyquire';
import {DebugAgentConfig, ResolvedDebugAgentConfig} from '../src/age... | the_stack |
* 视频超分
*/
export interface VideoSuperResolution {
/**
* 超分视频类型:可选值:lq,hq
lq: 针对低清晰度有较多噪声视频的超分;
hq: 针对高清晰度视频超分;
默认取值:lq。
*/
Type?: string
/**
* 超分倍数,可选值:2。
注意:当前只支持两倍超分。
*/
Size?: number
}
/**
* 编辑处理/拼接任务/处理结果
*/
export interface MediaJoiningTaskResult {
/**
* 拼接结果文件。
注意:此字段可... | the_stack |
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { render, fireEvent } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { isConformant } from '../../common/isConformant';
import { useKeytipRef } from '../../Keytips';
import { SelectableOptionMenuI... | the_stack |
* @module DisplayStyles
*/
import { assert, BeEvent } from "@itwin/core-bentley";
import { SpatialClassifierProps, SpatialClassifiers } from "./SpatialClassification";
import { PlanarClipMaskMode, PlanarClipMaskProps, PlanarClipMaskSettings } from "./PlanarClipMask";
import { FeatureAppearance, FeatureAppearanceProps... | the_stack |
import Command from '../../lib/structures/Command';
import { TypicalGuildMessage, SettingsData } from '../../lib/types/typicalbot';
import { MODE, PERMISSION_LEVEL, LINK } from '../../lib/utils/constants';
const roleRegex = /(?:(?:<@&)?(\d{17,20})>?|(.+))/i;
const msRegex = /^(\d+)$/i;
const channelRegex = /(?:(?:<#)?... | the_stack |
import bunyan from 'bunyan';
import Web3 from 'web3';
import { StringMap, SourceMap, PathBuffer, PathContent, CheckedContract, InvalidSources, MissingSources } from '@ethereum-sourcify/core';
import AdmZip from 'adm-zip';
import fs from 'fs';
import Path from 'path';
/**
* Regular expression matching metadata nested w... | the_stack |
import BN from 'bn.js';
import {
Account,
AccountInfo,
Commitment,
Connection,
PublicKey,
RpcResponseAndContext,
SimulatedTransactionResponse,
SystemProgram,
Transaction,
TransactionConfirmationStatus,
TransactionInstruction,
TransactionSignature,
} from '@solana/web3.js';
import { OpenOrders, T... | the_stack |
declare module com {
export module google {
export module android {
export module gms {
export module dynamite {
export module descriptors {
export module com {
export module google {
export module android {
export module gms {
export module vision {
exp... | the_stack |
import type { Mount } from '@opentrons/components'
import {
MAGNETIC_MODULE_TYPE,
TEMPERATURE_MODULE_TYPE,
THERMOCYCLER_MODULE_TYPE,
} from '@opentrons/shared-data'
import type {
LabwareDefinition2,
ModuleType,
ModuleModel,
PipetteNameSpecs,
PipetteName,
} from '@opentrons/shared-data'
import type {
A... | the_stack |
import React, {useState, useEffect, useCallback, useReducer} from 'react';
import {
NativeEventEmitter,
ScrollView,
Text,
View,
Alert,
StyleSheet
} from 'react-native';
import {format} from 'date-fns';
import ExposureNotification, {
useExposure,
getConfigData,
CloseContact
} from 'react-native-exposur... | the_stack |
import {Component, Inject, Input, OnInit} from '@angular/core';
import {Agent} from "../../../agents/models/agent.model";
import {Page} from "../../models/page";
import {AgentService} from "../../../agents/services/agent.service";
import {FormBuilder, FormControl, FormGroup, Validators} from '@angular/forms';
import {A... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
CreateBotVersionCommand,
CreateBotVersionCommandInput,
CreateBotVersionCommandOutput,
} from "./commands/CreateBotVersionCommand";
import {
CreateIntentVersionCommand,
CreateIntentVersionCommandInput,
CreateIntentVersionC... | the_stack |
import {Colony} from '../../Colony';
import {coordName} from '../../utilities/utils';
import {getAllStructureCoordsFromLayout, StructureLayout} from '../RoomPlanner';
export const BUNKER_RADIUS = 6;
export const bunkerLayout: StructureLayout = {
data: {
anchor: {'x': 25, 'y': 25}
},
1 : {
'name' : 'bunk... | the_stack |
import { getStrokeRadius } from './getStrokeRadius'
import type { StrokeOptions, StrokePoint } from './types'
import {
add,
dist2,
dpr,
lrp,
med,
mul,
neg,
per,
prj,
rotAround,
sub,
uni,
} from './vec'
const { min, PI } = Math
// This is the rate of change for simulated pressure. It could be a... | the_stack |
import ArtistContract from '@DataContracts/Artist/ArtistContract';
import ArtistForArtistContract from '@DataContracts/Artist/ArtistForArtistContract';
import ArtistForEditContract from '@DataContracts/Artist/ArtistForEditContract';
import TranslatedEnumField from '@DataContracts/TranslatedEnumField';
import Artist... | the_stack |
import { TestBed, fakeAsync, tick } from '@angular/core/testing';
import { IgxGridModule } from './public_api';
import { GridWithUndefinedDataComponent } from '../../test-utils/grid-samples.spec';
import { PagingComponent } from '../../test-utils/grid-base-components.spec';
import { NoopAnimationsModule } from '@angula... | the_stack |
import { HttpHeaders, HttpStatusCodes } from "../Common/Constants";
import { DatabaseAccount } from "../Contracts/DataModels";
import { updateUserContext, userContext } from "../UserContext";
import { getAuthorizationHeader } from "../Utils/AuthorizationUtils";
import { IPinnedRepo, IPublishNotebookRequest, JunoClient ... | the_stack |
$(document).ready(function () {
$('.tooltip').tooltipster();
});
$('.tooltip').tooltipster({
theme: 'tooltipster-noir'
});
$('.tooltip').tooltipster({
contentCloning: true
});
$('.tooltip').tooltipster({
animation: 'fade',
delay: 200,
theme: 'tooltipster-punk',
trigger: 'click'
});
// in... | the_stack |
import * as React from "react";
import { translate } from "react-i18next";
import Redirect from "react-router-dom/Redirect";
import Grid from "@material-ui/core/Grid";
import Paper from "@material-ui/core/Paper";
import Select from "@material-ui/core/Select";
import Button from "@material-ui/core/Button";
import Switch... | the_stack |
import { useIsRTL, useSyncRef } from '@ui5/webcomponents-react-base/dist/hooks';
import { ThemingParameters } from '@ui5/webcomponents-react-base/dist/ThemingParameters';
import { enrichEventWithDetails } from '@ui5/webcomponents-react-base/dist/Utils';
import { BulletChartPlaceholder } from '@ui5/webcomponents-react-c... | the_stack |
// This doesn't import all of CodeMirror, instead it only imports
// a small subset. This hack is brought to you by webpack and you
// can read all about it in webpack.common.js.
import {
getMode,
innerMode,
StringStream,
} from 'codemirror/addon/runmode/runmode.node.js'
import { ITokens, IHighlightRequest } fro... | the_stack |
import { MappingTemplate } from '@aws-cdk/aws-appsync';
import { Transformer, TransformerContext, getFieldArguments } from 'graphql-transformer-core';
const graphqlTypeStatements = ['Query', 'Mutation', 'Subscription'];
export interface CdkTransformerTableKey {
readonly name: string;
readonly type: string;
}
exp... | the_stack |
import {Component, Injector, Input, OnInit, ViewContainerRef} from "@angular/core";
import {StateService} from "@uirouter/angular";
import {FEED_DEFINITION_SECTION_STATE_NAME, FEED_DEFINITION_STATE_NAME, FEED_DEFINITION_SUMMARY_STATE_NAME} from '../../model/feed/feed-constants';
import * as _ from 'underscore';
import ... | the_stack |
import { orderHashUtils } from '@0x/contracts-test-utils';
import { ReferenceFunctions } from '@0x/contracts-utils';
import { FillResults, MatchedFillResults, Order } from '@0x/types';
import { BigNumber, ExchangeRevertErrors, LibMathRevertErrors } from '@0x/utils';
const { safeAdd, safeSub, safeMul, safeDiv } = Refer... | the_stack |
import { QuotationInvoiceHeaders } from 'src/components/data/table-definitions/quotation_invoice_items';
import {
CurrentlyViewedInvoiceQuotation,
CustomerAddressShape,
DiscountType,
ProductNameType,
QuotationInvoiceFormShape,
QuotationInvoiceItemShape,
RoundingType,
} from 'src/store/types';
import { com... | the_stack |
import { Template } from '@aws-cdk/assertions';
import { testDeprecated } from '@aws-cdk/cdk-build-tools';
import { Lazy, Stack, Token } from '@aws-cdk/core';
import {
AccountPrincipal, Anyone, AnyPrincipal, ArnPrincipal, CanonicalUserPrincipal, CompositePrincipal,
Effect, FederatedPrincipal, IPrincipal, PolicyDocu... | the_stack |
import { delay, IMap, RGB } from "./common";
import { KMeans, Vector } from "./lib/clustering";
import { hslToRgb, lab2rgb, rgb2lab, rgbToHsl } from "./lib/colorconversion";
import { ClusteringColorSpace, Settings } from "./settings";
import { Uint8Array2D } from "./structs/typedarrays";
import { Random } from "./... | the_stack |
import $1 from "react";
import { HostComponent } from "../Renderer/shims/ReactNativeTypes";
import { PressEvent } from "../Types/CoreEventTypes";
import { ScrollEvent } from "../Types/CoreEventTypes";
import { EventSubscription } from "../vendor/emitter/EventEmitter";
import { KeyboardEvent } from "./Keyboard/Keyboard"... | the_stack |
'use strict';
import 'jest-localstorage-mock';
import { render, unmountComponentAtNode } from 'react-dom';
import React, { createRef, forwardRef, useImperativeHandle } from 'react';
import { act } from 'react-dom/test-utils';
import { WalletProvider, WalletProviderProps } from '../WalletProvider';
import {
Adapter... | the_stack |
import * as expect from "expect";
import * as simple from "simple-mock";
import {
Metrics,
timedIdentityClientFunctionCall,
timedIntentFunctionCall,
timedMatrixClientFunctionCall
} from "../../src";
class InterceptedClass {
public client: any;
constructor(private metrics: Metrics, private inte... | the_stack |
import { ATN } from "antlr4ts/atn/ATN";
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
import { FailedPredicateException } from "antlr4ts/FailedPredicateException";
import { NotNull } from "antlr4ts/Decorators";
import { NoViableAltException } from "antlr4ts/NoViableAltException";
import { Override } f... | the_stack |
import { Inject, Injectable } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { combineLatest, filter, first, map, pairwise, publishReplay, refCount, startWith, switchMap } from 'rxjs/operators';
import { AppMetadataTypes } from '../../../../cloud-foundry/src/action... | the_stack |
import { ContractRoles } from "../core/classes/contract-roles";
import { SignatureDrop as SignatureDropContract } from "contracts";
import {
BigNumber,
BigNumberish,
BytesLike,
constants,
ethers,
utils,
} from "ethers";
import { ContractMetadata } from "../core/classes/contract-metadata";
import { ContractR... | the_stack |
declare namespace Polymer {
/**
* Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-container>`. This
* behavior is implemented by `<paper-input>`. It exposes a number of properties from
* `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your
* tem... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as fs from 'fs';
import { Delayer } from './delayer';
import * as callATD from './callATD';
let DEBUG: boolean = false;
interface SpellSettings {
language: string,
ignoreWordsList: string[];
mistakeTypeToStatus: {}[];
languageIDs: string[];
... | the_stack |
import callbackQueue from 'callback-queue';
import SKU from 'tf2-sku';
import pluralize from 'pluralize';
import request from '@nicklason/request-retry';
import async from 'async';
import Bot = require('./Bot');
import log from '../lib/logger';
import { exponentialBackoff } from '../lib/helpers';
import { Entry } fro... | the_stack |
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { useLocation, useHistory } from 'react-router-dom';
import { CommandBar, ChoiceGroup, IChoiceGroupOption, Checkbox } from '@fluentui/react';
import { ResourceKeys } from '../../../../../localization/resourceKeys';
import { getDevice... | the_stack |
import React from 'react';
import { CellMeasurerCache, SortDirection, SortDirectionType, Table } from 'react-virtualized';
import memoize from 'lodash/memoize';
import { styleSheetDataTable as styleSheet } from './styles';
import sortData from './helpers/sortData';
import expandData from './helpers/expandData';
import ... | the_stack |
import { asyncExec, Rect, initalPropsOf } from './utils';
import {
BitmapDescriptor,
CameraPosition,
CameraUpdate,
CancelableCallback,
CircleOptions,
ComputeDistanceResult,
ErrorCodes,
GroundOverlayOptions,
HuaweiMap,
HuaweiMapOptions,
InfoWindowAdapter,
LatLng,
LatLn... | the_stack |
import {
expect
} from 'chai';
import {
simulate
} from 'simulate-event';
import {
Platform
} from '@phosphor/domutils';
import {
FocusTracker, Widget
} from '@phosphor/widgets';
describe('@phosphor/widgets', () => {
let _trackers: FocusTracker<Widget>[] = [];
let _widgets: Widget[] = [];
function... | the_stack |
const globalWindow = window
type Options = {
tab: string
indentOn: RegExp
spellcheck: boolean
catchTab: boolean
preserveIdent: boolean
addClosing: boolean
history: boolean
window: typeof window
}
type HistoryRecord = {
html: string
pos: Position
}
export type Position = {
start: number
end: n... | the_stack |
* @module Editing
*/
import { BentleyStatus, CompressedId64Set, DbResult, Id64String, IModelStatus } from "@itwin/core-bentley";
import {
Matrix3d, Matrix3dProps, Point3d, PointString3d, Range3d, Range3dProps, Transform, TransformProps, XYZProps, YawPitchRollAngles,
} from "@itwin/core-geometry";
import { Geometric... | the_stack |
import ComponentRepository from '../core/ComponentRepository';
import Component from '../core/Component';
import EntityRepository from '../core/EntityRepository';
import {WellKnownComponentTIDs} from './WellKnownComponentTIDs';
import Matrix44 from '../math/Matrix44';
import SceneGraphComponent from './SceneGraphCompon... | the_stack |
import tl = require('azure-pipelines-task-lib/task');
import jsonPath = require('JSONPath');
import webClient = require('azure-pipelines-tasks-azure-arm-rest-v2/webClient');
import { AzureEndpoint } from 'azure-pipelines-tasks-azure-arm-rest-v2/azureModels';
import { ServiceClient } from 'azure-pipelines-tasks-azure-ar... | the_stack |
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Inject, Injectable } from '@angular/core';
import { MemoizedSelector, select, Store } from '@ngrx/store';
import { combineLatest as observableCombineLatest, Observable } from 'rxjs';
import { distinctUntilChanged, filter, map, mergeMap, startWith,... | the_stack |
import * as THREE from 'three';
import { mat4InvertCompat } from '../utils/mat4InvertCompat';
import { getWorldQuaternionLite } from '../utils/math';
import { Matrix4InverseCache } from '../utils/Matrix4InverseCache';
import { VRMSpringBoneColliderMesh } from './VRMSpringBoneColliderGroup';
import { VRMSpringBoneParame... | the_stack |
import * as d3 from "d3";
import { buildNetworkDAG, topologicalSort } from "../model/build_network";
import { generateJulia, generatePython } from "../model/code_generation";
import { changeDataset } from "../model/data";
import { download, graphToJson } from "../model/export_model";
import { setupPlots, setupTestResul... | the_stack |
import * as vscode from 'vscode';
import * as uri from 'vscode-uri';
import { MarkdownEngine } from '../markdownEngine';
import { Slugifier } from '../slugify';
import { TableOfContents, TocEntry } from '../tableOfContents';
import { Disposable } from '../util/dispose';
import { MdWorkspaceContents, SkinnyTextDocument ... | the_stack |
import { IgxGridModule, IgxGridComponent } from './public_api';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { TestBed, fakeAsync, tick } from '@angular/core/testing';
import { configureTestSuite } from '../../test-utils/configure-suite';
import { DebugElement } from '@angular/cor... | the_stack |
import { CheckboxGroupPO } from '../pages/checkbox-group.po';
import { checkIfDisabled, checkLabels } from '../../helper/assertion-helper';
import {
countriesArr,
errorTooltipMessage,
europeanCountriesArr,
fourFruitsArr,
hobbiesArr,
itemsArr,
markingsStyle,
phonesArr,
programmingLang... | the_stack |
'use strict';
import { NativeModules, Platform } from "react-native";
import { CustomEvent } from "./CustomEvent";
import { TagGroupEditor, TagGroupOperation } from "./TagGroupEditor";
import { AttributeEditor, AttributeOperation } from "./AttributeEditor";
import { UAEventEmitter } from "./UAEventEmitter";
import { ... | the_stack |
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
/**
* <p>Access to a resource was denied.</p>
*/
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
name: "AccessDeniedException";
$fault: "client";
/**
* <p>A message d... | the_stack |
import * as React from 'react';
import * as Adapter from 'enzyme-adapter-react-16';
import * as Enzyme from 'enzyme';
import * as sinon from 'sinon';
import {Controlled, UnControlled} from '../src';
Enzyme.configure({adapter: new Adapter()});
(global as any).console = {
warn: jest.fn(),
log: console.log,
error... | the_stack |
import { AnimationBuilder } from '@angular/animations';
import { AfterViewInit, Component, ElementRef, HostBinding, Input, NgZone, OnDestroy, ViewChild } from '@angular/core';
import { getResizeObserver, mkenum } from '../../core/utils';
import { IgxTabsBase } from '../tabs.base';
import { IgxTabsDirective } from '... | the_stack |
import {TensorDebugMode} from './debugger_types';
import {parseDebugTensorValue} from './debug_tensor_value';
describe('parseDebugTensorValue', () => {
describe('CURT_HEALTH', () => {
it('returns correct value if tensor has no inf or nan', () => {
const debugValue = parseDebugTensorValue({
tensorDe... | the_stack |
import chai = require('chai')
const expect = chai.expect
describe('insecurity', () => {
const security = require('../../lib/insecurity')
describe('cutOffPoisonNullByte', () => {
it('returns string unchanged if it contains no null byte', () => {
expect(security.cutOffPoisonNullByte('file.exe.pdf')).to.eq... | the_stack |
import * as crypto from "crypto";
import * as fs from "fs";
import * as jsBeautify from "js-beautify";
import * as sqlFormatter from "sql-formatter";
import { promisify } from "util";
import { ErrorWithCause } from "df/common/errors/errors";
import { SyntaxTreeNode, SyntaxTreeNodeType } from "df/sqlx/lexer";
import { ... | the_stack |
import 'chrome://tab-strip.top-chrome/tab.js';
import {getFavicon} from 'chrome://resources/js/icon.js';
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {TabElement} from 'chrome://tab-strip.top-chrome/tab.js';
import {Tab, TabNetworkState} from 'chrome://tab-strip.top-chrome/tab_strip.m... | the_stack |
declare module 'react' {
export = React;
}
declare module React {
/**
* Configure React's event system to handle touch events on mobile devices.
* @param shouldUseTouch true if React should active touch events, false if it should not
*/
function initializeTouchEvents(shouldUseTouch: boole... | the_stack |
import {
Account,
AddressString,
addressToScriptHash,
Attribute,
AttributeModel,
Block,
CallFlags,
common,
Contract,
ForwardValue,
GetOptions,
Hash256String,
InvokeSendUnsafeReceiveTransactionOptions,
IterOptions,
NetworkSettings,
NetworkType,
Param,
ParamJSON,
PublicKeyString,
R... | the_stack |
import {BoxrecRequests} from "boxrec-requests";
import {
BoxrecLocationEventParams,
BoxrecLocationsPeopleParams,
BoxrecRole
} from "boxrec-requests/dist/boxrec-requests.constants";
import * as fs from "fs";
import {WriteStream} from "fs";
import {CookieJar, RequestResponse} from "request";
import {BoxrecPag... | the_stack |
import React from 'react'
import applyDevTools from 'prosemirror-dev-tools'
import { EditorState, Selection, Transaction } from 'prosemirror-state';
import { DirectEditorProps, EditorView } from 'prosemirror-view';
import { Node as PMNode } from 'prosemirror-model';
import { PortalProviderAPI } from './react-portals'... | the_stack |
import * as React from 'react';
import { eventFrom, setEventFrom, EventFromInput } from 'event-from';
import {
stateChanged,
enterKeyTrigger,
spaceKeyTrigger,
cursorPointer,
elementSupportsDisabled,
classNameToString,
setUserSelectNone,
resetUserSelect,
} from './utils';
import {
PolymorphicForwardRef... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type AnalyticsPricingContextCategoryEnum = "ARCHITECTURE" | "BOOKS_AND_PORTFOLIOS" | "DESIGN_DECORATIVE_ART" | "DRAWING_COLLAGE_OTHER_WORK_ON_PAPER" | "FASHION" | "INSTALLATION" | "JEWELRY" | "MIXED_MEDIA" | "OTHER" | ... | the_stack |
/// <reference types="jquery" />
declare namespace FlexSlider {
interface SliderObject {
[index: number]: JQuery;
length: number;
/**
* The ul.slides within the slider
*/
container: JQuery;
/**
* The slides of the slider
*/
slides... | the_stack |
import * as _ from 'lodash'
import * as Context from '../editor/context'
import { tacticAutomationRoute } from '../peacoq/routes'
import { Control } from '../sertop/command'
import { StmAdd, StmQuery } from '../sertop/control-command'
import { Vernac } from '../sertop/query-command'
interface ProofTreeAutomationInput... | the_stack |
import { Component, Element, Prop, h, Watch, Event, EventEmitter } from '@stencil/core';
import { select, event } from 'd3-selection';
import { max, min } from 'd3-array';
import { timeMillisecond, timeSecond, timeMinute, timeHour, timeDay, timeWeek, timeMonth, timeYear } from 'd3-time';
import { scalePoint, scaleLine... | the_stack |
import {
BoundingBox,
Document,
Element,
Font,
Heading,
Line,
Page,
Paragraph,
TableCell,
Word,
} from '../../types/DocumentRepresentation';
import * as utils from '../../utils';
import logger from '../../utils/Logger';
import { LinesToParagraphModule } from '../LinesToParagraphModule/LinesToParagra... | the_stack |
'use strict';
import { IReducerMap } from 'chord/workbench/api/common/reducer/reducerMap';
import { showSearchView } from 'chord/workbench/parts/mainView/browser/reducer/searchView';
import {
showSearchResult,
addSearchSongs,
addSearchAlbums,
addSearchArtists,
addSearchCollections,
addSearchE... | the_stack |
import { Inject, Injectable, forwardRef } from "@angular/core";
import { AccessToken, DataStore, ServerError } from "@batch-flask/core";
import { log } from "@batch-flask/utils";
import { TenantDetails } from "app/models";
import { AADResourceName, AzurePublic } from "client/azure-environment";
import { BatchExplorerAp... | the_stack |
import { logger, events } from '../util'
import * as app from './app'
import * as charts from '../charts/core'
import Client from '../client'
import Dashboard from '../models/dashboard'
import DashboardItem from '../models/items/item'
import Container from '../models/items/container'
import Query ... | the_stack |
import { expect } from "chai";
import { describe } from "mocha";
import { IKernelEventObserver } from "../src/common/interactive/kernel";
import { KernelInvocationContext } from "../src/common/interactive/kernelInvocationContext";
import * as contracts from "../src/common/interfaces/contracts";
describe("dotnet-intera... | the_stack |
class Component {
openFhirServiceUrl = 'https://sb-fhir-stu3.smarthealthit.org/smartstu3/open';
closedFhirServiceUrl = 'https://sb-fhir-stu3.smarthealthit.org/smartstu3/data';
clientSettings: FHIR.SMART.OAuth2ClientSettings = {
client_id: '50a7f6ca-075a-47de-ab83-152814c3edb2',
scope: 'laun... | the_stack |
import {Component, ElementRef, EventEmitter, Input, OnChanges, OnDestroy, Output} from '@angular/core';
import {Store} from '@ngrx/store';
import {KELLY_COLORS} from 'org_xprof/frontend/app/common/constants/constants';
import {AllReduceOpInfo, ChannelInfo, PodStatsRecord, PodViewerTopology, StepBreakdownEvent} from 'or... | the_stack |
import './DataRuns.css'
import * as React from "react";
import GraphViewContainer from '../../container/GraphViewContainer';
import ControlPanelContainer from '../../container/ControlPanelContainer';
import { getGraphInfo, getModelList, getModelInfo, getSubgraphList, getSubgraphInfo } from '../../service/dataService';
... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.