text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { join, resolve } from 'path';
import { pathToFileURL } from 'url';
import { TextDocument } from 'vscode-languageserver-textdocument';
import { StylelintRunner } from '../../../src/utils/stylelint';
const createDocument = (uri: string | null, languageId: string, contents: string): TextDocument =>
TextDocument.... | the_stack |
// ## name
// 有生成规则:比较解析后的 name
// 无生成规则:直接比较
// ## type
// 无类型转换:直接比较
// 有类型转换:先试着解析 template,然后再检查?
// ## value vs. template
// 基本类型
// 无生成规则:直接比较
// 有生成规则:
// number
// min-max.dmin-dmax
// min-max.dcount
// count.dmin-dm... | the_stack |
import { MetaUtils } from "../metadata/utils";
import { Decorators } from '../constants/decorators';
import { ConstantKeys } from '../constants';
import { DecoratorType } from '../enums/decorator-type';
import { IPreauthorizeParams } from './interfaces/preauthorize-params';
import { PrincipalContext } from '../../secur... | the_stack |
import * as ui from "../../ui";
import * as csx from "../../base/csx";
import * as React from "react";
import * as tab from "./tab";
import { server, cast } from "../../../socket/socketClient";
import * as commands from "../../commands/commands";
import * as utils from "../../../common/utils";
import * as d3 from "d3";... | the_stack |
import React, { Component } from "react";
import ReactDOM from "react-dom";
import * as d3 from "d3";
import { InfoTooltip } from "./InfoTooltip.tsx"
import { DirectionalHint } from '@fluentui/react';
import { PrimaryButton, DefaultButton } from '@fluentui/react/lib/Button';
type IncompatiblePointDistributionState = ... | the_stack |
// clang-format off
import 'chrome://resources/cr_elements/cr_slider/cr_slider.js';
import {CrSliderElement} from 'chrome://resources/cr_elements/cr_slider/cr_slider.js';
import {pressAndReleaseKeyOn} from 'chrome://resources/polymer/v3_0/iron-test-helpers/mock-interactions.js';
import {flush} from 'chrome://resource... | the_stack |
import { EventEmitter } from 'events';
import { isIPv6 } from 'net';
import { RethinkDBError } from '../error/error';
import { TermJson } from '../internal-types';
import { r } from '../query-builder/r';
import { Cursor } from '../response/cursor';
import {
Changes,
Connection,
MasterPool,
RCursor,
RethinkDBE... | the_stack |
import { TokenFactory, SocialTokenV0, ERC20Mock } from "./typechain";
import { sign, convertToHash, domainSeparator, getDigest, getHash } from "./utils/sign-utils";
import { ethers } from "hardhat";
import { BigNumberish, Wallet } from "ethers";
import { expect } from "chai";
import { mine, autoMining } from "./utils/... | the_stack |
import * as jsonx from './index';
// import mochaJSDOM from 'jsdom-global';
import path from 'path';
import chai from 'chai';
import sinon from 'sinon';
import React, { ReactElement } from 'react';
import ReactTestUtils from 'react-dom/test-utils'; // ES6
import ReactDOM from 'react-dom';
import ReactDOMElement... | the_stack |
import { FakeScheduler, Schedule, ScheduleTrigger } from "./fake-scheduler";
import { SchedulerStatus } from "../app/api";
import __map from 'lodash/map';
export interface IFakeSchedulerOptions {
version: string;
quartzVersion: string;
dotNetVersion: string;
timelineSpan: number;
schedulerName: s... | the_stack |
import * as vscode from 'vscode-languageserver';
import * as ast from '../parsing/ast-types';
import * as parser from '../parsing/coq-parser';
import * as textUtil from '../util/text-util';
// // export enum SymbolKind {
// // Definition,
// // Class,
// // Constructor,
// // Module,
// // }
// // export cla... | the_stack |
import {ExportNs} from '../../esl-utils/environment/export-ns';
import {ESLBaseElement, attr, boolAttr} from '../../esl-base-element/core';
import {bind} from '../../esl-utils/decorators/bind';
import {CSSClassUtils} from '../../esl-utils/dom/class';
import {rafDecorator} from '../../esl-utils/async/raf';
import {debou... | the_stack |
// This is a genuinely hard & interesting space, and this code is very much a
// first pass solution.
import * as I from '../interfaces'
import err from '../err'
import {queryTypes, resultTypes} from '../qrtypes'
import {vIntersectMut, vEq, vSparse} from '../version'
import sel from '../sel'
import {vMax, vMin, vCmp} ... | the_stack |
import { logError } from 'common-utils/log.js';
import { BaseSetting, Glob, GlobDef } from 'cspell-lib';
import * as os from 'os';
import * as Path from 'path';
import { WorkspaceFolder } from 'vscode-languageserver/node';
import { URI as Uri } from 'vscode-uri';
import { CSpellUserSettings } from '../config/cspellConf... | the_stack |
import { Component, ViewChild } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatIconModule } from '@angular/material/icon';
import { MatSelectModule } from '@angular/material/select';
im... | the_stack |
namespace com.keyman.osk {
type OSKRect = {'left'?: number, 'top'?: number, 'width'?: number, 'height'?: number,
'nosize'?: boolean, 'nomove'?: boolean};
type OSKPos = {'left'?: number, 'top'?: number};
export class FloatingOSKView extends OSKView {
readonly desktopLayout: layouts.TargetedFloatLayout;
... | the_stack |
import { IComponent } from '../types';
import { Vnode, TAttributes } from "../vnode";
import { isFromVM, buildProps, argumentsIsReady, getVMFunctionArguments, getValueByValue, getVMVal, getVMFunction, setVMVal, valueIsReady } from './utils';
import { ChangeDetectionStrategy } from '../component';
import { buildPipeScop... | the_stack |
import { Buffer, ObjectRenderer, Renderer, Geometry, Shader, State, ViewableBuffer } from '@pixi/core';
import { TYPES, DRAW_MODES } from '@pixi/constants';
import { log2, nextPow2 } from '@pixi/utils';
const _instanceID = 0;
let _instanceRendererID = 0;
/**
* {@code InstancedRenderer} is an object-renderer for draw... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormLead {
interface Header extends DevKit.Controls.IHeader {
/** Select a rating value to indicate the lead's potential to become a customer. */
LeadQualityCode: DevKit.Controls.OptionSet;
/** Select the primary marketing... | the_stack |
import { ArrayExt } from '@lumino/algorithm';
import { CommandRegistry } from '@lumino/commands';
import { ReadonlyJSONObject } from '@lumino/coreutils';
import { DisposableDelegate, IDisposable } from '@lumino/disposable';
import { VirtualElement } from '@lumino/virtualdom';
import { Menu } from '@lumino/widgets';
/*... | the_stack |
import * as _ from 'lodash';
import { callable } from './callable';
import {
ComponentSlotStyle,
ComponentSlotStylesInput,
ComponentSlotStylesPrepared,
ComponentVariablesInput,
ComponentVariablesObject,
ComponentVariablesPrepared,
FontFace,
SiteVariablesInput,
SiteVariablesPrepared,
StaticStyle,
... | the_stack |
const DEFAULT_FONT_COLOR = "#505058";
const DEFAULT_SHADOW_COLOR = "#A0A0A8";
const DEFAULT_FONT_SIZE = 24;
//===========================================================================
// #region Bitmap, change the text draw function
interface Bitmap {
initialize(width: number, height: number): void;
shadowColor:... | the_stack |
import { Binding, Scope, ICollectionObserverSplice, ObserverLocator, InternalCollectionObserver, OverrideContext } from 'aurelia-binding';
import { TaskQueue } from 'aurelia-task-queue';
import { View, ViewSlot, Controller } from 'aurelia-templating';
import { RepeatStrategy, AbstractRepeater } from 'aurelia-templating... | the_stack |
import DiscoveryEntry from "../../../../main/js/generated/joynr/types/DiscoveryEntry";
import CapabilitiesRegistrar from "../../../../main/js/joynr/capabilities/CapabilitiesRegistrar";
import ProviderQos from "../../../../main/js/generated/joynr/types/ProviderQos";
import * as ProviderAttribute from "../../../../main/j... | the_stack |
import { SortExecutor, FilterExecutor } from '../../js/core/transformExecutors';
import { DataGenerator } from '../js/testUtils';
import { ViewBasedJSONModel } from '../../js/core/viewbasedjsonmodel';
import { ReadonlyJSONValue } from '@lumino/coreutils';
import { Transform } from '../../js/core/transform';
const INVA... | the_stack |
import {inject,transient,Container} from 'aurelia-dependency-injection';
import {Config} from 'aurelia-api';
import {metadata} from 'aurelia-metadata';
import {Validator,ValidationRules} from 'aurelia-validation';
import {getLogger} from 'aurelia-logging';
import {Config as ViewManagerConfig,resolvedView} from 'aurelia... | the_stack |
import { expect, test } from '@jest/globals';
import { getBSONSerializer, getBSONSizer, getValueSize, hexToByte, uuidStringToByte } from '../src/bson-serializer';
import { BinaryBigInt, createReference, Excluded, MongoId, nodeBufferToArrayBuffer, PrimaryKey, Reference, SignedBinaryBigInt, typeOf, uuid, UUID } from '@de... | the_stack |
const mockChokidarWatcherOn = jest.fn();
const fakeChokidarWatcher = {
on: mockChokidarWatcherOn,
};
const fakeChokidarWatcherOn = {
get readyCallback(): () => void {
expect(mockChokidarWatcherOn.mock.calls.length).toBeGreaterThanOrEqual(1);
// The call to the first 'watcher.on()' in the production code is ... | the_stack |
import * as React from 'react';
import * as PropTypes from 'prop-types';
import { storiesOf } from '@storybook/react';
import compose from 'recompose/compose';
import mapProps from 'recompose/mapProps';
import getContext from 'recompose/getContext';
import withContext from 'recompose/withContext';
import withHandlers f... | the_stack |
import _ from 'lodash'
import { expect } from 'chai'
import { _rewriteJsUnsafe } from '../../lib/js'
import fse from 'fs-extra'
import Bluebird from 'bluebird'
import rp from '@cypress/request-promise'
import snapshot from 'snap-shot-it'
import * as astTypes from 'ast-types'
import sinon from 'sinon'
import {
testSou... | the_stack |
interface Console {
Console: NodeJS.ConsoleConstructor;
/**
* A simple assertion test that verifies whether `value` is truthy.
* If it is not, an `AssertionError` is thrown.
* If provided, the error `message` is formatted using `util.format()` and used as the error message.
*/
assert(val... | the_stack |
import * as React from 'react';
import { mount, ReactWrapper } from 'enzyme';
import Countdown, { CountdownProps } from './Countdown';
import { calcTimeDelta, formatTimeDelta } from './utils';
import { CountdownProps as LegacyCountdownProps } from './LegacyCountdown';
const timeDiff = 90110456;
const now = jest.fn((... | the_stack |
import moment = require('moment');
export = Lightpick;
export as namespace Lightpick;
declare class Lightpick {
constructor(options: Lightpick.Options);
gotoToday(): void;
gotoDate(date?: Lightpick.InputDate): void;
gotoMonth(month: number): void;
gotoYear(year: number): void;
prevMonth()... | the_stack |
import {
Circle,
Curve,
PathItem,
Point,
applyTransforms,
convertToRelative,
js2path,
path2js,
} from './_path';
import { JsApi } from '../lib/jsapi';
import { Plugin } from './_types';
import { cleanupOutData } from './_tools';
let roundData: (data: number[]) => number[];
let precision: number;
let e... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type SaleArtworksRailTestsQueryVariables = {
saleID?: string | null | undefined;
};
export type SaleArtworksRailTestsQueryResponse = {
readonly me: {
readonly " $fragmentRefs": FragmentRefs<"SaleArtwork... | the_stack |
import { assert, expect } from "chai";
import { join } from "path";
import { AccessToken, Guid, Mutable } from "@itwin/core-bentley";
import { ChangesetFileProps, ChangesetType } from "@itwin/core-common";
import { LockProps, LockState } from "../../BackendHubAccess";
import { BriefcaseManager } from "../../BriefcaseMa... | the_stack |
import { message as msg, CODE } from "./messages.ts";
import type ZStream from "./zstream.ts";
import * as trees from "./trees.ts";
import adler32 from "./adler32.ts";
import { crc32 } from "./crc32.ts";
import STATUS from "./status.ts";
/* Return codes for the compression/decompression functions. Negative values
* a... | the_stack |
import {jsx, Global} from '@emotion/core'
import type {InterpolationWithTheme} from '@emotion/core'
import React from 'react'
import type {History} from 'history'
import facepaint from 'facepaint'
import {ThemeProvider, useTheme as useEmotionTheme} from 'emotion-theming'
import preval from 'preval.macro'
import {ErrorB... | the_stack |
import {
h,
ref,
defineComponent,
computed,
PropType,
provide,
CSSProperties,
watch,
toRef,
ComponentPublicInstance,
VNode,
nextTick,
withDirectives,
vShow,
watchEffect,
ExtractPropTypes,
cloneVNode
} from 'vue'
import { VResizeObserver, VXScroll, VXScrollInst } from 'vueuc'
import { t... | the_stack |
* @module iModels
*/
import { CompressedId64Set, Id64, Id64String, IModelStatus, Logger } from "@itwin/core-bentley";
import {
AxisAlignedBox3d, Base64EncodedString, ElementAspectProps, ElementProps, EntityProps, IModel, IModelError, ModelProps, PrimitiveTypeCode,
PropertyMetaData, RelatedElement, SubCategoryProps... | the_stack |
import { Box } from '../objects/box';
import { Brick } from '../objects/brick';
import { Collectible } from '../objects/collectible';
import { Goomba } from '../objects/goomba';
import { Mario } from '../objects/mario';
import { Platform } from '../objects/platform';
import { Portal } from '../objects/portal';
export ... | the_stack |
import { AbstractControlOptions, AsyncValidatorFn, FormBuilder, ValidatorFn } from '@angular/forms';
import { ClassConstructor } from 'class-transformer';
import 'reflect-metadata';
import {
DEFAULT_CLASS_TRANSFORM_OPTIONS,
DEFAULT_CLASS_TRANSFORM_TO_PLAIN_OPTIONS,
DEFAULT_CLASS_VALIDATOR_OPTIONS,
} from '../cons... | the_stack |
import * as numbers from "./magic_numbers";
import * as _ from "lodash";
/** Default font name */
export const FONT_NAME = "gs-bmp-font";
/** Italic font name */
export const ITALIC_FONT_NAME = "gs-italic-bmp-font";
/** Element keys */
export enum elements {
VENUS = "venus",
MERCURY = "mercury",
MARS = "m... | the_stack |
import * as debug_ from "debug";
import { promises as fsp } from "fs";
import * as http from "http";
import * as https from "https";
import { Headers, RequestInit } from "node-fetch";
import { AbortSignal as IAbortSignal } from "node-fetch/externals";
import {
IHttpGetResult, THttpGetCallback, THttpOptions, THttpRe... | the_stack |
import * as React from 'react';
import { useState, useRef, useEffect } from 'react';
import classNames from 'classnames';
import raf from 'rc-util/lib/raf';
import ResizeObserver from 'rc-resize-observer';
import useRaf, { useRafState } from '../hooks/useRaf';
import TabNode from './TabNode';
import type {
TabSizeMap... | the_stack |
import {
ParticleEmitter2, ParticleEmitter2FilterMode, ParticleEmitter2Flags,
ParticleEmitter2FramesFlags
} from '../model';
import {vec3, vec4} from 'gl-matrix';
import {ModelInterp} from './modelInterp';
import {mat4} from 'gl-matrix';
import {degToRad, rand, getShader} from './util';
import {RendererData} fr... | the_stack |
import {
Directive,
ElementRef,
EventEmitter,
Input,
OnChanges,
OnDestroy,
OnInit,
Output,
SimpleChanges,
} from '@angular/core'
import { Point } from '@app/type'
import { Rectangle } from 'electron'
import { DirectiveUtils } from './directive-utils.directive'
enum Status {
OFF = 0,
RESIZE = 1,
... | the_stack |
import t, {
terminal as term,
autoComplete as ac,
getDetectedTerminal,
ScreenBufferHD,
ScreenBuffer,
Terminal
} from "terminal-kit";
import "node";
import * as fs from "fs";
new t.Rect({width: 4, height: 4});
// The term() function simply output a string to stdout, using current style
// output "Hello worl... | the_stack |
import { localize } from 'vs/nls';
import { IExtensionManagementService, IGlobalExtensionEnablementService, ILocalExtension } from 'vs/platform/extensionManagement/common/extensionManagement';
import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storage/common/storage';
import { ExtensionType, IExt... | the_stack |
import { HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';import { HttpOptions } from '../../types';
import * as models from '../../models';
export interface OrgsAPIClientInterface {
/**
* Arguments object for method `getOrgsOrg`.
*/
getOrgsOrgParams?: {
/** Name o... | the_stack |
import React, {
useCallback,
useEffect,
useMemo,
useRef,
useState,
} from "react";
import { Editor } from "@dvargas92495/react-draft-wysiwyg";
import {
EditorState,
ContentState,
ContentBlock,
CharacterMetadata,
genKey,
} from "draft-js";
import { List } from "immutable";
import "@dvargas92495/react... | the_stack |
import { addNamed } from '@babel/helper-module-imports';
import autoprefixer from 'autoprefixer';
import CleanCSS from 'clean-css';
import { writeFileSync } from 'fs';
import { join } from 'path';
import postcss from 'postcss';
import { transform as transformClassesToTypes } from '../config/transform-classes-to-types'... | the_stack |
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class Athena ext... | the_stack |
export type QueryAST = (AndOp | OrOp | NotOp | FilterOp | NoOp) & {
error?: Error;
};
/** If ALL of of the operands are true, this resolves to true. There may be any number of operands. */
export interface AndOp {
op: 'and';
operands: QueryAST[];
}
/** If any of the operands is true, this resolves to true. Ther... | the_stack |
import { IElementAppliable } from "./tags";
export class CssProp implements IElementAppliable {
public readonly name: string;
constructor(
public readonly key: string,
public readonly value: string | 0) {
this.name = key.replace(/[A-Z]/g, (m) => {
return "-" + m.toLocaleLowe... | the_stack |
import 'jest-extended';
import {
xLuceneFieldType,
GeoShapeType,
GeoShapePoint,
GeoShapePolygon,
GeoShapeMultiPolygon,
GeoShapeRelation,
} from '@terascope/types';
import { VariableState, toXluceneQuery, CreateJoinQueryOptions } from '../../src/transforms/helpers';
describe('Utils', () => {
... | the_stack |
import { encodeERC20AssetData, ERC20ProxyContract, ERC20Wrapper } from '@0x/contracts-asset-proxy';
import { DummyERC20TokenContract } from '@0x/contracts-erc20';
import {
blockchainTests,
constants,
expect,
LogDecoder,
OrderFactory,
orderHashUtils,
orderUtils,
randomAddress,
Transac... | the_stack |
import * as Platform from '../../core/platform/platform.js';
import * as SDK from '../../core/sdk/sdk.js';
import type * as Protocol from '../../generated/protocol.js';
import {RecordType, TimelineData} from './TimelineModel.js';
import type {TracingLayerPayload, TracingLayerTile} from './TracingLayerTree.js';
import ... | the_stack |
import { Component, Injectable, ViewChild } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MATERIAL_SANITY_CHECKS } from '@angular/material/core';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { deepClone } from '@angular-ru/cdk/ob... | the_stack |
import { ExampleError } from "@effect/core/test/stm/STM/test-utils"
describe.concurrent("STM", () => {
describe.concurrent("Using `STM.atomically` to perform different computations and call:", () => {
describe.concurrent("absolve to convert", () => {
it("a successful Right computation into the success chan... | the_stack |
import * as d3 from "d3";
import * as Typesettable from "typesettable";
import * as Formatters from "../core/formatters";
import { QuantitativeScale } from "../scales/quantitativeScale";
import * as Utils from "../utils";
import { Axis, AxisOrientation } from "./axis";
export class Numeric extends Axis<number> {
p... | the_stack |
declare var multiplex: multiplex.MultiplexStatic;
// Support AMD require
declare module 'multiplexjs' {
export = multiplex;
}
// Collapse multiplex into mx
import mx = multiplex;
// ES6 compatibility
interface Array<T> extends multiplex.Iterable<T> { }
interface String extends multiplex.Iterable<string> { }
... | the_stack |
import {
ActionTypes,
AnyAction,
AttachAction,
BatchAction,
CreateAction,
DeleteAction,
DerivedAction,
DetachAction,
EntitiesByType,
Entity,
Id,
IdsByType,
InvalidAction,
MoveAction,
MoveAttachedAction,
SetStateAction,
SingularAction,
SortAction,
SortAttachedAction,
State,
Upda... | the_stack |
declare class OnAckCallback extends NSObject {
static alloc(): OnAckCallback; // inherited from NSObject
static new(): OnAckCallback; // inherited from NSObject
timingOutAfterCallback(seconds: number, callback: (p1: NSArray<any>) => void): void;
}
declare class SSLSecurity extends NSObject {
static alloc(): SS... | the_stack |
//
// Copyright (c) Microsoft.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
import fs from 'fs';
import path from 'path';
import recursiveReadDirectory from 'recursive-readdir';
import { wrapError, sleep } from '../../utils';
import { Organization } from '.... | the_stack |
import { Messages, SendCallback, AntPlusSensor, AntPlusScanner } from './ant';
class FitnessEquipmentSensorState {
constructor(deviceID: number) {
this.DeviceID = deviceID;
}
_EventCount0x19?: number;
_EventCount0x1A?: number;
DeviceID: number;
Temperature?: number;
ZeroOffset?: number;
SpinDownTime?: numb... | the_stack |
import { DEFAULT_KEY_LENGTH, EMPTY_HASH, EMPTY_VALUE, NodeSide } from './constants';
import { Leaf } from './leaf';
import { Database, Proof, Query } from './types';
import {
parseBranchData,
parseLeafData,
isLeaf,
binaryExpansion,
sortByBitmapAndKey,
binaryStringToBuffer,
bufferToBinaryString,
treeSort,
} from... | the_stack |
export interface CreateFileSystemResponse {
/**
* 文件系统
*/
FileSystem?: FileSystem;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 权限规则
*/
export interface AccessRule {
/**
* 权限规则ID
*/
AccessRuleId?: number;
/**
* 权限... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { StorageAccounts } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { DataLakeAnalyticsAccountManagementClien... | the_stack |
import { fireEvent, render } from "@testing-library/svelte";
import * as connections from "../../commons/src/";
import { CalendarStore } from "../../commons/src/store/calendars";
import { EventStore } from "../../commons/src/store/events";
import { ManifestStore } from "../../commons/src/store/manifest";
import Agenda ... | the_stack |
import { isWhitespace } from './utils/text';
import EventEmitter from './utils/eventEmitter';
import { Row, Col, CursorOptions } from './types';
import Path from './path';
import Document from './document';
import Session from './session';
const wordRegex = /^[a-z0-9_]+$/i;
// options for word movements, e.g. w/e/b/f... | the_stack |
import { Readable, Writable } from 'stream'
import Heap from 'qheap'
import { PeerPool } from '../../net/peerpool'
import { Peer } from '../../net/peer'
import { Config } from '../../config'
import { Event } from '../../types'
import { Job } from './types'
export interface FetcherOptions {
/* Common chain config*/
... | the_stack |
import * as os from 'os'
import { exec, spawnSync } from 'child_process'
import {existsSync, readdirSync, readFileSync, appendFileSync, opendirSync, Dirent, writeFileSync, mkdirSync} from 'fs'
import * as fsPath from 'path'
import { parseKeys } from './parseKeys'
import { fuzzyMatch } from './fuzzy'
class InputError e... | the_stack |
import './assert-extend'
import { EOL } from 'os'
import test from 'japa'
import { join } from 'path'
import dedent from 'dedent-js'
import { Filesystem } from '@poppinss/dev-utils'
import { Edge } from '../src/Edge'
import { GLOBALS } from '../src/Edge/globals'
const fs = new Filesystem(join(__dirname, 'views'))
te... | the_stack |
import getopts from 'getopts'
import { extname } from 'path'
import fastGlob from 'fast-glob'
import inclusion from 'inclusion'
import { pathToFileURL } from 'url'
import { Hooks } from '@poppinss/hooks'
import { ErrorsPrinter } from '@japa/errors-printer'
import { Emitter, Refiner, TestExecutor, ReporterContract } fro... | the_stack |
import * as C from './interpreter.constants';
import * as U from './interpreter.util';
declare var stackmachineJsHelper;
export class State {
/**
* 3 properties for the management of the operations to be executed
*
* - operations contains the sequence of machine instructions that are executed seque... | the_stack |
* @packageDocumentation
* @hidden
*/
import { AttributeName, Buffer, BufferUsageBit, Device, Feature, MemoryUsageBit, DescriptorSet, BufferInfo } from '../../core/gfx';
import { Mesh } from './mesh';
import { Texture2D } from '../../core/assets/texture-2d';
import { ImageAsset } from '../../core/assets/image-asset';... | the_stack |
import fs from 'fs'
import * as path from 'path'
import { setup } from '../testUtil'
const fsPromises = fs.promises
const baseDir = path.join(__dirname, '..', '..', 'test', 'data')
const simpleBam = path.join(baseDir, 'simple.bam')
const simpleBai = path.join(baseDir, 'simple.bai')
const testConfig = path.join(baseD... | the_stack |
module uk.co.senab.photoview {
import Matrix = android.graphics.Matrix;
import Canvas = android.graphics.Canvas;
import RectF = android.graphics.RectF;
import GestureDetector = android.view.GestureDetector;
import View = android.view.View;
import ImageView = android.widget.ImageView;
import ... | the_stack |
import connectionPool = require('../../../shared-lib/src/connectionPool')
import util = require('util')
import * as entities from '../../../shared-lib/src/entities'
// update the date_updated field on the given record
export async function updateDataFileUpdateDateByIdCommand(id: number) {
const sql = 'UPDATE waz... | the_stack |
import {
ChangeDetectorRef,
Component,
ViewChild,
HostBinding,
ChangeDetectionStrategy,
TemplateRef,
Directive,
OnDestroy,
ElementRef,
Input,
ViewRef,
ContentChild,
Output,
EventEmitter,
Optional,
Host,
} from '@angular/core';
import { IgxOverlayService } ... | the_stack |
Component Name : Amexio listbox
Component Selector : <amexio-listbox>
Component Description : Simple list box which allows user to select one of
more items from list based on configuration. User can provide custom template to
change look and feel.
*/
import {
AfterViewInit, Component, ContentChild, EventEmitter,
Ho... | the_stack |
import { verifyPlugin, validPluginName } from '../../plugin-helpers/verify-plugin';
import { JSONUtilities } from 'amplify-cli-core';
import * as fs from 'fs-extra';
import * as path from 'path';
import { PluginVerificationError, PluginVerificationResult } from '../../domain/plugin-verification-result';
import { Plugin... | the_stack |
import Cookie from 'cookie';
import RealUserAgents from '@double-agent/real-user-agents';
import IRequestContext from '@double-agent/collect/interfaces/IRequestContext';
import { MainDomain, SubDomain, CrossDomain } from '@double-agent/collect';
import Plugin, { IPluginPage } from '@double-agent/collect/lib/Plugin';
im... | the_stack |
import { Expr, query as q } from 'faunadb';
import { DocumentAuthAccount } from '~/types/document';
import { FactoryContext } from '~/types/factory/factory.context';
import { FactoryUser } from '~/types/factory/factory.user';
import { PAGINATION_SIZE_MAX } from '~/consts';
import { action } from '~/factory/api/action';... | the_stack |
import { Timeline } from './Timeline';
import { TweenProps, EaseMethod, getEaseFromConfig, KeyframeData } from './Tween';
import { utils } from './utils';
import { sound } from './sound';
import { AnimateContainer } from './Container';
import { AnimateDisplayObject } from './DisplayObject';
import { Ticker } from '@pix... | the_stack |
import { ArraySchema, MapSchema, Schema, type } from '@colyseus/schema';
import { Bullet, Game, Monster, Player, Prop } from '../entities';
import { Collisions, Constants, Entities, Geometry, Maps, Maths, Models, Tiled, Types } from '@tosios/common';
export class GameState extends Schema {
@type(Game)
public g... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../types";
import * as utilities from "../utilities";
/**
* Resource for managing QuickSight Data Source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from ... | the_stack |
import { CPU } from '../cpu/cpu';
import { asmProgram, TestProgramRunner } from '../utils/test-utils';
import { AVRIOPort, PinOverrideMode, portBConfig, portDConfig } from './gpio';
import { AVRTimer, timer0Config, timer1Config, timer2Config } from './timer';
// CPU registers
const R1 = 1;
const R17 = 17;
const R18 = ... | the_stack |
import {} from "mocha";
import { expect } from "chai";
import supertest from "supertest";
import express from "express";
import _ from "lodash";
import casual from "casual";
import moment from "moment";
import { buildDataset, buildNDatasets } from "../utils/builders";
import { Dataset, SearchResult, PeriodOfTime } fro... | the_stack |
* @module MapLayers
*/
import { BeEvent } from "@itwin/core-bentley";
import { Cartographic, ImageMapLayerSettings, ImageSource, ImageSourceFormat } from "@itwin/core-common";
import { IModelApp } from "../../IModelApp";
import { NotifyMessageDetails, OutputMessagePriority } from "../../NotificationManager";
import {... | the_stack |
export const servers = {
cleanup: [
{
action: "DeleteDeliveryServices",
route: "/deliveryservices",
method: "delete",
data: [
{
route: "/deliveryservices/",
getRequest: [
{
route: "/deliveryservices",
queryKey: "xmlId",
queryValue: "servertds1",
replace: "r... | the_stack |
import config from '../config';
import bitcoinApi from './bitcoin/bitcoin-api-factory';
import logger from '../logger';
import memPool from './mempool';
import { BlockExtended, BlockSummary, PoolTag, TransactionExtended, TransactionStripped, TransactionMinerInfo } from '../mempool.interfaces';
import { Common } from '.... | the_stack |
import { ComponentChildren, h, JSX, RefObject } from 'preact'
import { useCallback, useRef, useState } from 'preact/hooks'
import menuStyles from '../../../css/menu.css'
import { useMouseDownOutside } from '../../../hooks/use-mouse-down-outside'
import { OnValueChange, Props } from '../../../types/types'
import { crea... | the_stack |
import {TS} from "../../type/ts";
import {CompilerHostOptions, CustomTransformersInput} from "./compiler-host-options";
import {ModuleResolutionHost} from "../module-resolution-host/module-resolution-host";
import {getNewLineCharacter} from "../../util/get-new-line-character/get-new-line-character";
import {resolveId} ... | the_stack |
import * as aws from "@pulumi/aws";
import * as pulumi from "@pulumi/pulumi";
// import * as config from "../config";
// import * as region from "../region";
import { MetricStatistic } from "./metric";
import { Widget } from "./widget";
import { AlarmAnnotation, WidgetAnnotation } from "./widgets_annotations"... | the_stack |
import {spellInfo} from './spellToWord';
import {_warn, isCnChar, has} from './util';
import defultDict from './dict/spell-default.json';
import {AllArgs, ICnChar, TypeProp, ToneType, SpellArg, StrokeArg, TypeValueObject} from 'cnchar-types/main/index';
import {Json, ITransformReturn} from 'cnchar-types/main/common';
i... | the_stack |
import {
Column,
Header,
HeaderGroup,
TableGenerics,
TableInstance,
} from '../types'
import { memo } from '../utils'
import { TableFeature } from './instance'
export type CoreHeaderGroup<TGenerics extends TableGenerics> = {
id: string
depth: number
headers: Header<TGenerics>[]
}
export type CoreHeade... | the_stack |
import EventEmitter from "events";
import Long from "long";
import * as dbadapters from "df/api/dbadapters";
import { Flags } from "df/common/flags";
import { retry } from "df/common/promises";
import { deepClone, equals } from "df/common/protos";
import {
JSONObjectStringifier,
StringifiedMap,
StringifiedSet
} ... | the_stack |
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
EventEmitter,
HostListener,
Input,
OnInit,
Output,
ViewChild,
OnDestroy,
} from '@angular/core';
import { DevToolsNode, ElementPosition, Events, MessageBus } from 'protocol';
import { FlatTreeControl } from '@angular/cdk/tree';
import {... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.