text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
declare namespace adone.collection {
namespace I {
type Long = math.Long;
type Longable = math.I.Longable;
namespace ByteArray {
interface Varint32 {
value: number;
length: number;
}
interface Varint64 {
v... | the_stack |
import "../Operator"
import type { Cause } from "../Cause/cause"
import { empty, then } from "../Cause/cause"
/**
* Ported from https://github.com/zio/zio/blob/master/core/shared/src/main/scala/zio/Scope.scala
*
* Copyright 2020 Michael Arnaldi and the Matechs Garage Contributors.
*/
import * as A from "../Collect... | the_stack |
import sinon from "sinon";
import { EventEmitter } from "events";
import mitt from "mitt";
import { fakeServerResponse, Stub, expectAsyncError } from "./test_utils";
import HTTP from "../src/http";
import {
NetworkTimeoutError,
ServerResponse,
UnparseableResponseError,
} from "../src/errors";
import { Emitter } f... | the_stack |
import { KubernetesObject } from "kpt-functions";
import * as apiCoreV1 from "./io.k8s.api.core.v1";
import * as apisMetaV1 from "./io.k8s.apimachinery.pkg.apis.meta.v1";
import * as pkgUtilIntstr from "./io.k8s.apimachinery.pkg.util.intstr";
// AllowedCSIDriver represents a single inline CSI Driver that is allowed to... | the_stack |
import {
autorun,
booleanAttribute,
attribute,
numberAttribute,
untrack,
element,
stringAttribute,
reactive,
} from '@lume/element'
import {html} from '@lume/element/dist/html.js'
import {Scene as ThreeScene} from 'three/src/scenes/Scene.js'
import {PerspectiveCamera as ThreePerspectiveCamera} from 'three/src/c... | the_stack |
import { Component, OnInit, Input, OnChanges, ViewChild, SimpleChanges, Output, EventEmitter } from '@angular/core';
import {SensorParserConfig} from '../../model/sensor-parser-config';
import {ParseMessageRequest} from '../../model/parse-message-request';
import {SensorParserConfigService} from '../../service/sensor-p... | the_stack |
import { Construct, } from 'constructs';
import { Aws, App, Stack, Resource, StackProps, CustomResource, Duration, Fn, Token } from 'aws-cdk-lib';
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as iam from 'aws-cdk-lib/aws-iam';
import * as glue from 'aws-cdk-lib/aws-glue';
import * as s3 from 'aws-cdk-lib/aws... | the_stack |
declare namespace JQueryIdleTimer {
/**
* Interface with all the methods supported by the jQuery Idle Timer plugin. These metods are available on JQuery
* instances as well as on the static JQuery object:
*
* ```javascript
* $.idleTimer(); // shortcut for the below
* $( document ).idl... | the_stack |
import React, { forwardRef, MutableRefObject } from "react";
import Season from "../../models/Season";
import MatchRankImage from "../MatchRankImage";
import HeroImage from "../HeroImage";
import RoleImage from "../RoleImage";
import TimeOfDayEmoji from "../TimeOfDayEmoji";
import DayOfWeekEmoji from "../DayOfWeekEmoji... | the_stack |
import * as THREE from 'three';
import { createMusicSource } from './music';
import { createSampleSource } from './sample';
import { createVoiceSource } from './voice';
import { getFrequency } from '../utils/lba';
import { getSample, getVoices } from '../resources';
declare global {
interface Window {
Aud... | the_stack |
import {
EarthConstants,
GeoCoordinates,
GeoPolygon,
GeoPolygonCoordinates,
isAntimeridianCrossing,
Projection,
ProjectionType
} from "@here/harp-geoutils";
import { assert } from "@here/harp-utils";
import { PerspectiveCamera, Vector2, Vector3 } from "three";
import { CanvasSide, nextCanva... | the_stack |
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
EventEmitter,
Inject,
Input,
LOCALE_ID,
OnChanges,
OnInit,
Output,
SimpleChanges,
ViewChild,
} from '@angular/core';
import { Observable, Subject } from 'rxjs';
import { convertToBoolProperty, NbBooleanInput } from '.... | the_stack |
import * as querystring from 'querystring'
import * as fse from 'fs-extra'
import * as path from 'path'
import * as url from 'url'
import utils from './index'
const bundleWrapper = (code, sourceUrl) => {
const injectedGlobals = [
// ES
'Promise',
// W3C
'window',
'weex',
'service',
'Rax',... | the_stack |
import {memory, ones, scalar, Tensor, zeros} from '@tensorflow/tfjs-core';
import * as tfl from '../index';
import {Kwargs} from '../types';
import {describeMathCPUAndGPU, expectTensorsClose} from '../utils/test_utils';
import {Container, ContainerArgs} from './container';
import {execute, FeedDict} from './executor'... | the_stack |
* Copyright 2015 Dev Shop Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | the_stack |
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
import { ShopEventBus, PricingService, UserEventBus, I18nEventBus, Util } from './../shared/services/index';
import { PromotionTestConfigComponent } from './components/index';
import { ModalComponent, ModalResult, ModalAction } from './../shared/m... | the_stack |
/// <reference types="node"/>
import { IncomingMessage } from 'http';
export interface FieldObjectChoice {
[key: string]: string | FieldObjectChoice;
}
export interface FieldArrayChoice extends Array<[string, string | FieldArrayChoice]> {}
export interface FieldParameters {
/** Optional label text which ove... | the_stack |
declare var beeperOutput: HTMLElement;
declare interface BeeperBuffer {
totalLength: number, // The length a "normal" audio frame buffer would occupy.
startValue: boolean, // Beeper value start value for the buffer.
buffer: Uint16Array, // Contains the length of the beeper values.
bufferLen: number // The lengt... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace Formmsdyn_projectteam_Information {
interface tab_General_Sections {
_DC58EBA6_D467_4B9A_AAD8_0C471EBDE29F: DevKit.Controls.Section;
General_section_2: DevKit.Controls.Section;
}
interface tab_Proposed_Resources_Sections ... | the_stack |
import { expect } from "chai";
import * as sinon from "sinon";
import {
AbstractStatusBarCustomItem, AbstractStatusBarItemUtilities, CommonStatusBarItem, ConditionalBooleanValue, ConditionalStringValue,
isAbstractStatusBarActionItem, isAbstractStatusBarCustomItem, isAbstractStatusBarLabelItem, StatusBarItemsManager... | the_stack |
import { decimalStr, mweiStr } from '../utils/Converter';
import { logGas } from '../utils/Log';
import { ProxyContext, getProxyContext } from '../utils/ProxyContextV2';
import { assert } from 'chai';
import * as contracts from '../utils/Contracts';
let lp: string;
let project: string;
let trader: string;
let config ... | the_stack |
import { ethers, network } from "hardhat"
import { expect } from "chai"
import { getBigNumber } from "./utilities"
const JOE_ADDRESS = "0x6e84a6216eA6dACC71eE8E6b0a5B7322EEbC0fDd"
const WAVAX_ADDRESS = "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"
const USDT_ADDRESS = "0xc7198437980c041c805A1EDcbA50c1Ce5db95118"
const ... | the_stack |
import { AxiosError, Method } from 'axios';
import { createAction, createReducer } from 'redux-act';
import { FetchStatusFlag } from 'app/constants';
import { MySelectBook, userRidiSelectBookToMySelectBook } from 'app/services/mySelect';
import { UserDTO } from 'app/services/user/helper';
import {
MySelectHistoryRes... | the_stack |
interface CHHapticAdvancedPatternPlayer extends CHHapticPatternPlayer {
completionHandler: (p1: NSError) => void;
loopEnabled: boolean;
loopEnd: number;
playbackRate: number;
pauseAtTimeError(time: number): boolean;
resumeAtTimeError(time: number): boolean;
seekToOffsetError(offsetTime: number): boolean;
... | the_stack |
declare namespace DapJS {
export interface IHID {
write(data: ArrayBuffer): Promise<void>;
read(): Promise<Uint8Array>;
close(): Promise<void>;
// sends each of commands and expects one packet in response
// this makes for better performance when HID access is proxied
... | the_stack |
import Position from '../utils/cursor/position'
import Range from '../utils/cursor/range'
import { detect, forEach, reduce, filter, values, commonItems } from '../utils/array-utils'
import { Direction } from '../utils/key'
import LifecycleCallbacks, { LifecycleCallback } from '../models/lifecycle-callbacks'
import asse... | the_stack |
import { expect } from "chai";
import * as sinon from "sinon";
import { StandardTypeNames } from "@itwin/appui-abstract";
import { FilterOperator } from "../../../components-react/table/columnfiltering/ColumnFiltering";
import { TableColumnFilterDescriptor } from "../../../components-react/table/columnfiltering/TableCo... | the_stack |
import { getColIdxFromClientX, getClientY, getClientX, selectAutoFillRange, setPosition, completeAction, showAggregate, dialog, locale, fillRange, hideAutoFillOptions, performUndoRedo, hideAutoFillElement } from '../../spreadsheet/index';
import { Spreadsheet, contentLoaded, positionAutoFillElement, getCellPosition, ge... | the_stack |
import { projectRoot} from '../webpack/helpers';
const commander = require('commander');
const fs = require('fs');
const JSON5 = require('json5');
const _cliProgress = require('cli-progress');
const _ = require('lodash');
const program = new commander.Command();
program.version('1.0.0', '-v, --version');
const NEW_ME... | the_stack |
import * as Mock from '../MockEnvironment';
import { AuthenticationProvider } from '../../src/ui/AuthenticationProvider/AuthenticationProvider';
import { ModalBox } from '../../src/ExternalModulesShim';
import { IAuthenticationProviderOptions } from '../../src/ui/AuthenticationProvider/AuthenticationProvider';
import {... | the_stack |
import '../fixtures/window';
import { Editor, globalContext } from '@alilc/lowcode-editor-core';
import { Designer } from '../../src/designer/designer';
import formSchema from '../fixtures/schema/form';
import '../../src/designer/builtin-hotkey';
import { fireEvent } from '@testing-library/react';
const editor = new E... | the_stack |
/// <reference path="../../../elements.d.ts" />
import { NodeEditBehaviorStylesheetInstance } from "../../node-edit-behavior/node-edit-behavior";
import { Polymer } from '../../../../../tools/definitions/polymer';
import { MetaBlock } from "../monaco-editor/monaco-editor";
import { I18NKeys } from "../../../../_local... | the_stack |
import { Assert, AITestClass } from "@microsoft/ai-test-framework";
import {
PageViewPerformance,
PageView,
TelemetryItemCreator,
IPageViewTelemetry,
IEventTelemetry,
Event as EventTelemetry,
Trace,
ITraceTelemetry,
Metric,
IMetricTelemetry,
RemoteDependencyData,
IDepende... | the_stack |
declare module 'babylonjs-materials' {
export = BABYLON;
}
declare module BABYLON {
class ShadowOnlyMaterial extends PushMaterial {
private _renderId;
private _activeLight;
constructor(name: string, scene: Scene);
needAlphaBlending(): boolean;
needAlphaTesting(): boole... | the_stack |
import * as monaco from "monaco-editor/esm/vs/editor/editor.api";
import dot from "dot-object";
import * as colors from "@material-ui/core/colors";
import { createGlobalStyle, css } from "styled-components";
// import { SyntaxClass } from "../workers/typescript";
const entries = Object.entries as <T>(
o: T
) => [Ext... | the_stack |
import { BindParam } from '../BindParam/BindParam';
import {
Neo4jSingleTypes,
Neo4jSupportedTypes,
} from '../QueryRunner/QueryRunner';
import { neo4jDriver } from '../..';
import { NeogmaConstraintError } from '../../Errors';
/** symbols for Where operations */
const OpIn: unique symbol = Symbol('in');
const... | the_stack |
import Debug from 'debug';
import {uuid} from '../utils';
import extend from 'extend';
// @ts-ignore
import Layout from 'layout';
import * as _ from 'lodash';
import {slides_v1 as SlidesV1} from 'googleapis';
import {
ImageDefinition,
SlideDefinition,
TableDefinition,
TextDefinition,
VideoDefinition,
} from '... | the_stack |
'use strict';
import { ExtensionContext, window, ProgressLocation, workspace, ConfigurationTarget } from 'vscode';
import { instrumentOperationAsVsCodeCommand } from "vscode-extension-telemetry-wrapper";
import * as path from 'path';
import * as os from 'os';
import { utils } from 'pddl-workspace';
import { ValDownloa... | the_stack |
import { SelectionEventsEmitter, SelectionElementEventsEmitter } from './selection-events-emitter';
import { Injectable } from '@angular/core';
export interface SelectionTuple {
index: number;
item: any;
}
/**
* Represents possible operations with selection model.
*/
@Injectable()
export class RTSelectionServ... | the_stack |
import type * as es from 'elasticsearch';
import * as ts from '@terascope/utils';
import * as utils from './utils';
import { IndexConfig, MigrateIndexOptions } from './interfaces';
const _loggers = new WeakMap<IndexConfig<any>, ts.Logger>();
/**
* Manage Elasticsearch Indices
*/
export default class IndexManager {
... | the_stack |
import {
ArrayExt
} from '@lumino/algorithm';
import {
Menu
} from '@lumino/widgets';
import {
IDisposable
} from '@lumino/disposable';
import {
JupyterLab
} from '@jupyterlab/application';
import {
INativeMenu
} from '../../../main/menu';
import {
asyncRemoteRenderer
} from '../../../async... | the_stack |
import React from 'react'
import Base1DView, { Base1DViewModel } from '@jbrowse/core/util/Base1DViewModel'
import { getSession } from '@jbrowse/core/util'
import { makeStyles, useTheme } from '@material-ui/core/styles'
import { alpha } from '@material-ui/core/styles'
import LinearProgress from '@material-ui/core/Linear... | the_stack |
// taze: $, JQuery from //third_party/javascript/typings/jquery:jquery_without_externs
// taze: jstree from //third_party/javascript/typings/jstree:jstree
import {Component, ElementRef, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {MatDialog} from '@angular/material/dialog';
import {MatSlideToggleChange}... | the_stack |
import {VComponent} from "./VisualComponent";
import * as d3 from 'd3'
import {includes} from "lodash";
import {ZoomTransform} from "d3-zoom";
import * as concaveman from "concaveman"
export type NeighborDetail = {
indexID: number, distance: number, refTransID: number, refWordID: number
}
export type StateDesc = ... | the_stack |
// tslint:disable-next-line
/// <reference path="./gapi.client.drive.d.ts" />
import { map, filter, toArray } from '@lumino/algorithm';
import { Contents } from '@jupyterlab/services';
import { PathExt } from '@jupyterlab/coreutils';
import { DocumentRegistry } from '@jupyterlab/docregistry';
import {
driveApiRe... | the_stack |
import { cleanup, render, screen, waitFor } from '@testing-library/react';
import React from 'react';
import { LiveModeType, liveState } from '../../types/tracks';
import { videoMockFactory } from '../../utils/tests/factories';
import { wrapInIntlProvider } from '../../utils/tests/intl';
import { wrapInRouter } from '... | the_stack |
import {OutputGlNode} from '../../../../src/engine/nodes/gl/Output';
import {SceneJsonExporter} from '../../../../src/engine/io/json/export/Scene';
import {SceneJsonImporter} from '../../../../src/engine/io/json/import/Scene';
import {BaseBuilderMatNodeType} from '../../../../src/engine/nodes/mat/_BaseBuilder';
import ... | the_stack |
* Imports
*/
import * as tf from '@tensorflow/tfjs-core';
import * as support from '../core/sketch_support';
/**
* Interface for JSON specification of a `MusicVAE` model.
*
* @property max_seq_len: Model trained on dataset w/ this max sequence length.
* @property mode: Pre-trained models have this parameter for ... | the_stack |
import {
Provider,
Type,
} from '@angular/core';
import { ComponentFixture } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import {
createComponent as createComponentInner,
typeInElement,
} from '@terminus/ngx-tools/testing';
import * as testComponents from '@terminus/ui/da... | the_stack |
import {ParseConformance} from './parseConformance';
interface PathStructure {
name?: string;
params?: StatementStructure[];
}
interface StatementStructure {
resourceType?: string;
value?: string;
path?: [string | PathStructure];
left?: StatementStructure;
right?: StatementStructure;
o... | the_stack |
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
IWebPartContext,
PropertyPaneDropdown,
PropertyPaneSlider,
PropertyPaneToggle
} from '@microsoft/sp-webpart-base';
import { Version } from '@microsoft/sp-core-library';
import * as strings from 'dockMenuStrings';
import { IDockMenuWebPartProps } f... | the_stack |
import type { CeramicApi } from '@ceramicnetwork/common'
import type { StreamID } from '@ceramicnetwork/streamid'
import { TileDocument } from '@ceramicnetwork/stream-tile'
import { CIP11_DEFINITION_SCHEMA_URL, CIP11_INDEX_SCHEMA_URL } from '@glazed/constants'
import { DataModel } from '@glazed/datamodel'
import type {... | the_stack |
import * as util from "../util";
import { TestBuilder } from "../util";
import { JsxEmit } from "typescript";
// language=TypeScript
const reactLib = `
export class Component {
static isClass = true
}
namespace React {
const isLua = typeof Component === "object"
export function cr... | the_stack |
import { ClusterTestContext, RavenTestContext } from "../../Utils/TestUtil";
import { DocumentStore } from "../../../src/Documents/DocumentStore";
import { DocumentConventions } from "../../../src/Documents/Conventions/DocumentConventions";
import { ServerNode } from "../../../src/Http/ServerNode";
import { Topology } ... | the_stack |
import { auxiliaries, vec2 } from 'webgl-operate';
import {
Camera,
Canvas,
Color,
ColorScale,
Context,
DefaultFramebuffer,
FontFace,
Invalidate,
Label,
LabelRenderPass,
NdcFillingRectangle,
Position2DLabel,
Program,
Renderer,
Shader,
Text,
Texture2D,... | the_stack |
import { GridItem } from "../../src/GridItem";
import { ItemRenderer } from "../../src/ItemRenderer";
import { cleanup, sandbox } from "./utils/utils";
describe("test ItemRenderer", () => {
let itemRenderer: ItemRenderer;
let el: HTMLElement;
beforeEach(() => {
el = sandbox("");
});
afterEach(() => {
... | the_stack |
module TDev.RT {
interface SpriteAnimationData {
apply : (rt : Runtime, sprite : Sprite, value : number) => void;
easing : (value : number) => number;
duration : number;
repeat : number;
yoyo:boolean;
reversed: boolean;
init?: (sprite: Sprite) => void;
}
... | the_stack |
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import {FlatTreeControl} from '@angular/cdk/tree';
import {IFileDescription} from '../i-file-description';
import {BehaviorSubject, EMPTY, merge, Observable, of} from 'rxjs';
import {CollectionViewer, SelectionChange} from '@angular/cdk/colle... | the_stack |
import { BrushEndListener, BrushEvent } from '@elastic/charts'
import React, { useCallback, useEffect, useRef, useState } from 'react'
import { Space, Button, Spin, Alert, Tooltip, Drawer, Result } from 'antd'
import { LoadingOutlined, SettingOutlined } from '@ant-design/icons'
import { useTranslation } from 'react-i18... | the_stack |
import { faTrashAlt } from '@fortawesome/free-solid-svg-icons/faTrashAlt';
import { faUndo } from '@fortawesome/free-solid-svg-icons/faUndo';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import * as React from 'react';
import styled from 'styled-components';
import { stopKeyDownEvent, withPreventDe... | the_stack |
export const delimiter: string;
export const sep: string;
export function basename(...args: any[]): void;
export function dirname(...args: any[]): void;
export function extname(...args: any[]): void;
export function format(p0: any): any;
export function isAbsolute(...args: any[]): void;
export func... | the_stack |
export interface HmsPushResultCodeInterface {
// Success
SUCCESS: '0';
// Error
ERROR: '-1';
// Bundle is null; exception
NULL_BUNDLE: '333';
// You do not have a token. Apply for a token.
ERROR_NO_TOKEN: '907122030';
// The current network is unavailable. Check the network conne... | the_stack |
import type {
CellAddress,
CellRange,
MaybeCall,
MaybePromise,
} from "../ts-types";
const isNode =
typeof window === "undefined" || typeof window.window === "undefined";
type ArrayElementPredicate<E> = (t: E, i: number, arr: E[]) => boolean;
// type ObjectElementPredicate<T, K extends keyof T> = (
// t: ... | the_stack |
import { makeExecutableSchema } from 'graphql-tools';
import { Pool } from 'pg';
import dotenv from 'dotenv';
dotenv.config();
const PG_URI = process.env.PG_URI
const pool = new Pool({
connectionString: PG_URI,
});
interface dbType {
query: (text: any, params?: any, callback?: any) => any | void;
}
const db: db... | the_stack |
import React, {useEffect, useState} from 'react';
import {enableScreens} from 'react-native-screens';
import {Platform, StatusBar, Image, AppState} from 'react-native';
import {
getStateFromPath,
LinkingOptions,
NavigationContainer,
NavigationContainerRef
} from '@react-navigation/native';
import {
createStac... | the_stack |
import * as assert from "assert";
import {BufferUtil} from "../../lib/core/buffer-util";
import {HTTPChunk, HTTPBuffer} from "../../lib/core/http-buffer";
describe("HTTPBuffer", function() {
describe("HTTPResponse tests", function() {
it("Basic chunked payload", function (done) {
let data = Buf... | the_stack |
export interface Translation {
home: Home
header: Header
footer: Footer
gdpr: GDPR
myCars: MyCars
confirm: Confirm
handover: Handover
completed: Completed
processes: Processes
deregisterOverview: DeregisterOverview
companyInfo: CompanyInfo
companyInfoForm: CompanyInfoFormPage
deregisterSidenav... | the_stack |
import GraphQLJSON from 'graphql-type-json';
import moment from 'moment';
import * as _ from 'underscore';
import SimpleSchema from 'simpl-schema';
import { schemaDefaultValue } from '../../collectionUtils';
import { makeEditable } from '../../editor/make_editable';
import { forumTypeSetting } from '../../instanceSetti... | the_stack |
import { ScriptMockField } from "./scriptMockField";
import { ScriptMappingItem } from "./scriptMappingItem";
import { Type } from "class-transformer";
import { OPERATION, CONSTANTS, DATA_MEDIA_TYPE, SOURCE_TYPE } from "../components/statics";
import { NonSerializable, AppUtils, NonSerializableIfDefault, SerializableGe... | the_stack |
import { generateEase, rotatePoint, SimpleEase } from './ParticleUtils';
import { Particle } from './Particle';
import { EmitterConfigV3 } from './EmitterConfig';
import { Container } from '@pixi/display';
import { settings } from '@pixi/settings';
import { Point } from '@pixi/math';
import { Ticker } from '@pixi/ticke... | the_stack |
import InternalEvent from '../view/event/InternalEvent';
import Point from '../view/geometry/Point';
import MaxPopupMenu from './MaxPopupMenu';
import EventSource from '../view/event/EventSource';
import EventObject from '../view/event/EventObject';
import Client from '../Client';
import { br, write, writeln } from '..... | the_stack |
import TimeLog from './time_log';
/**
* A BLeak configuration file.
*/
export interface IBLeakConfig {
/** REQUIRED **/
// URL to web page to check for memory leaks.
url: string;
// Runs your program in a loop. Each step has a "check" function, and a "next" function
// to transition to the next step in th... | the_stack |
namespace display {
class Chart {
// Variables used for data configuration.
private font: image.Font;
private times: number[];
private values: number[];
// grid
private gridRows: number;
private gridCols: number;
private gridWidth: number;
pri... | the_stack |
import { Transaction, EditorState } from "prosemirror-state";
import {
newHoverIdReceived,
requestMatchesForDocument,
selectMatch,
setConfigValue,
requestMatchesSuccess,
requestError,
requestMatchesForDirtyRanges,
requestMatchesComplete,
removeMatch,
removeAllMatches,
newHighlightIdReceived,
set... | the_stack |
import * as net from 'net';
import {YouTube, Twitch} from '../chat-plugins/youtube';
import {Net, Utils} from '../../lib';
import {RoomSections} from './room-settings';
const ONLINE_SYMBOL = ` \u25C9 `;
const OFFLINE_SYMBOL = ` \u25CC `;
export function getCommonBattles(
userID1: ID, user1: User | null, userID2: ID,... | the_stack |
import type { languages } from '../fillers/monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {
lineComment: '#'
},
brackets: [
['{', '}'],
['[', ']'],
['(', ')']
],
surroundingPairs: [
{ open: '{', close: '}' },
{ open: '[', close: ']' },
{ open: '(', close: ')' }... | the_stack |
* @module TileTreeSupplier
*/
import { BeTimePoint, compareStringsOrUndefined, Id64String } from "@itwin/core-bentley";
import {
BatchType, Cartographic, ColorDef, Feature, FeatureTable, Frustum, FrustumPlanes, GeoCoordStatus, OrbitGtBlobProps, PackedFeatureTable, QParams3d,
Quantization, RealityDataFormat,... | the_stack |
import {
CARD_EDITABLE_KEY,
CARD_ELEMENT_KEY,
CARD_KEY,
CARD_LEFT_SELECTOR,
CARD_LOADING_KEY,
CARD_RIGHT_SELECTOR,
CARD_TYPE_KEY,
CARD_VALUE_KEY,
} from '../constants/card';
import {
CardOptions,
CardInterface,
MaximizeInterface,
CardToolbarItemOptions,
CardEntry as CardEntryType,
CardToolbarInterface,
R... | the_stack |
namespace gdjs {
export namespace fileSystem {
// The Node.js path module, or null if it can't be loaded.
export let _path: any = null;
// The Node.js fs module, or null if it can't be loaded.
export let _fs: any = null;
/** Get the Node.js path module, or null if it can't be loaded */
export... | the_stack |
import { Browser, EventHandler, createElement, EmitType } from '@syncfusion/ej2-base';
import { ILoadedEventArgs, ILoadEventArgs } from '../../src/linear-gauge/model/interface';
import { LinearGauge } from '../../src/linear-gauge/linear-gauge';
import {profile , inMB, getMemoryProfile} from '../common.spec';
import { ... | the_stack |
import { Component, ContentChild, Input, OnDestroy, OnInit, TemplateRef } from '@angular/core';
import { HttpErrorResponse, HttpResponse } from '@angular/common/http';
import { ProgrammingExercise } from 'app/entities/programming-exercise.model';
import { ProgrammingExerciseService } from './services/programming-exerci... | the_stack |
import {assert} from 'chrome://resources/js/assert.m.js';
import {Action} from 'chrome://resources/js/cr/ui/store.js';
import {ChangeFolderOpenAction, CreateBookmarkAction, EditBookmarkAction, FinishSearchAction, MoveBookmarkAction, RefreshNodesAction, RemoveBookmarkAction, ReorderChildrenAction, SelectFolderAction, S... | the_stack |
import React, {
useState,
useEffect,
useContext,
createContext,
ReactNode,
Component,
ComponentType,
memo,
forwardRef,
PureComponent,
Ref,
} from 'react';
import {createPortal} from 'react-dom';
import {mount, createMount} from '../mount';
describe('@shopify/react-testing', () => {
it('does no... | the_stack |
import PlayerComponent from '../interfaces/component';
import EventsList from '../interfaces/events-list';
import Player from '../player';
import { EVENT_OPTIONS, IS_ANDROID, IS_IOS } from '../utils/constants';
import { addEvent } from '../utils/events';
import { isAudio, removeElement } from '../utils/general';
/**
... | the_stack |
import {
defer,
mapTo,
merge,
NEVER,
of,
startWith,
timer,
} from "rxjs";
import Prioritizer, {
ITaskEvent,
} from "../prioritizer";
/* eslint-disable @typescript-eslint/no-floating-promises */
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
/* eslint-disable no-restricted-properties... | the_stack |
* @fileoverview Implements the SVGmenclose wrapper for the MmlMenclose object
*
* @author dpvc@mathjax.org (Davide Cervone)
*/
import {SVGWrapper, SVGConstructor} from '../Wrapper.js';
import {CommonMencloseMixin} from '../../common/Wrappers/menclose.js';
import {SVGmsqrt} from './msqrt.js';
import * as Notation f... | the_stack |
* @packageDocumentation
* @hidden
*/
// Some helper methods for compile instantiation code
import { TEST } from 'internal:constants';
import * as js from '../utils/js';
import { CCClass } from './class';
import { CCObject } from './object';
import * as Attr from './utils/attribute';
import { flattenCodeArray } from... | the_stack |
import { loadConfig } from '../utils/config'
import * as ByteBuffer from 'bytebuffer'
import * as crypto from 'crypto'
import { LND_KEYSEND_KEY } from './lightning'
import * as long from 'long'
const config = loadConfig()
const IS_LND = config.lightning_provider === 'LND'
const IS_GREENLIGHT = config.lightning_provid... | the_stack |
import "./types/fstream";
import {
readFile as readFileWithEncoding,
readFileSync as readFileWithEncodingSync,
stat,
writeFile as writeFileWithEncoding,
writeJson as writeJsonRaw,
createWriteStream
} from "fs-extra";
import { FStreamEntry, Reader } from "fstream";
import { Pack } from "tar";
import tarStrea... | the_stack |
import * as path from "path";
import * as vscode from "vscode";
import { IConfig, retryDownloadConfig } from "../remoteConfigHelper";
import { TelemetryHelper } from "../../../common/telemetryHelper";
import { Telemetry } from "../../../common/telemetry";
import { ExtensionConfigManager } from "../../extensionConfigMan... | the_stack |
import * as React from 'react';
import { Color } from '../../mol-util/color';
import { Icon, ArrowRightSvg, ArrowDropDownSvg, RemoveSvg, AddSvg } from './icons';
export type ColorAccent = 'cyan' | 'red' | 'gray' | 'green' | 'purple' | 'blue' | 'orange'
export class ControlGroup extends React.Component<{
header: s... | the_stack |
class DicomTags {
/// <summary>
/// <para>(0000,0002) Affected SOP Class UID</para>
/// <para> VR: UI VM:1</para>
/// </summary>
public static AffectedSopClassUid: number = 2;
/// <summary>
/// <para>(0000,0003) Requested SOP Class UID</para>
/// <para> VR: UI VM:1</para>
/// </summary>
p... | the_stack |
import * as tslibType from 'tslib';
const tslib: typeof tslibType = require('tslib');
import { Observable } from '../data/observable';
import { trace as profilingTrace, time, uptime, level as profilingLevel } from '../profiling';
type ModuleLoader = (name?: string) => any;
interface Context {
keys(): string[];
(key... | the_stack |
import { constants } from "@ts-ast-viewer/shared";
import CircularJson from "circular-json";
import React, { useEffect, useState } from "react";
import {
CommentRange,
CompilerApi,
FlowNode,
getPublicApiInfo,
getStartSafe,
Node,
PublicApiInfo,
ReadonlyMap,
Signature,
SourceFile,
Symbol,
Type,
... | the_stack |
import GL from '@luma.gl/constants';
import Resource, {ResourceProps} from './resource';
import Texture from './texture';
import Framebuffer from './framebuffer';
import {parseUniformName, getUniformSetter} from './uniforms';
import {VertexShader, FragmentShader} from './shader';
import ProgramConfiguration from './pr... | the_stack |
import * as path from "path";
import * as fs from "fs";
import * as electronLocalShortcut from "electron-localshortcut";
import {
__DARWIN__,
__WIN32__,
__LINUX__,
__DEV__,
menuIdFromMachineId,
} from "./utils/electron-utils";
import {
BrowserWindow,
app,
Menu,
MenuItemConstructorOptions,
MenuItem,... | the_stack |
import {GameEvent} from "./game_events/GameEvent";
import {
directions_angles,
get_sqr_distance,
get_tile_position,
mount_collision_polygon,
next_px_step,
range_360,
} from "./utils";
import {ControllableChar} from "./ControllableChar";
import {interaction_patterns} from "./game_events/GameEvent... | the_stack |
import {
isString,
isBoolean,
isPlainObject,
isDate,
isNumber,
isEmptyObject,
assign
} from '@intlify/shared'
import {
handleMissing,
isTranslateFallbackWarn,
NOT_REOSLVED,
MISSING_RESOLVE_VALUE
} from './context'
import { CoreWarnCodes, getWarnMessage } from './warnings'
import { CoreErrorCodes, ... | the_stack |
export const SuggestedModifires: Array<any> = [
{
action: 'superSlow',
copy: 'Slow it all the way down.'
},
{
action: 'superFast',
copy: 'Make it as fast as possible.'
},
{
action: 'slowDown',
copy: 'Slow it down.'
},
{
action: 'speedUp',
copy: 'Speed it up.'
}
];
export... | the_stack |
import { lift, range, immutable } from '../'
import { update } from '../src/immupdate'
describe('Array', () => {
it('can be unwrapped', () => {
const arr = [1, 2, 3]
const unwrapped = lift(arr)
.pipe(arr => {
expect(arr[0] + arr[1]).toBe(3) // Type assertion
return arr
})
.v... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.