text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { Nes } from "./nes";
import { BitHelper } from "./bithelper";
import { Mirroring } from "./cartridge";
export class Memory {
public ram: Uint8Array;
public saveRam: Uint8Array;
nes: Nes;
inputCounter = 0; //controller 1 input
//for performance
//amazingly accessing this.ne... | the_stack |
import { StyledTemplateLanguageService } from 'typescript-styled-plugin/lib/api';
import { Logger, TemplateContext, TemplateLanguageService } from 'typescript-template-language-service-decorator';
import * as ts from 'typescript/lib/tsserverlibrary';
import { FoldingRange, LanguageService as HtmlLanguageService } from ... | the_stack |
import { Browser, EventHandler, getComponent, isNullOrUndefined } from '@syncfusion/ej2-base';
import { Spreadsheet, FormulaBarEdit, ScrollEventArgs, isFormulaBarEdit, colWidthChanged, mouseDown, getUpdateUsingRaf } from '../index';
import { contentLoaded, spreadsheetDestroyed, onVerticalScroll, onHorizontalScroll, get... | the_stack |
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */
import { CalendarController } from '../calendar';
import { ButtonProps } from '../button';
import { FormErrorMessage } from '../form';
import { TNode } from '../common';
export interface GlobalConfigProvider {
/**
* 警告全局配置
*/
alert?: AlertConfig;
/**
* 锚点全局配置
... | the_stack |
import { Application, Channel, ChannelType, Component, GuildMember, integer, Internal, MessageInteraction, Reaction, snowflake, Sticker, StickerItem, timestamp, User } from '.'
/** https://discord.com/developers/docs/resources/channel#message-object-message-structure */
export interface Message {
/** id of the messa... | the_stack |
import { Component, Prop, Watch } from 'vue-property-decorator';
import { State } from 'vuex-class';
import { arrayIndexBy } from '../../../../utils/array';
import { Api } from '../../../api/api.service';
import { Device } from '../../../device/device.service';
import { Environment } from '../../../environment/environm... | the_stack |
import { URL } from 'url';
import anyTest, { TestInterface } from 'ava';
import * as proxyquire from 'proxyquire';
import * as sinon from 'sinon';
import { ConnectorConfig, UserConfig } from '@hint/utils';
import {
AnalyzerError,
HintResources,
IFetchOptions,
IFormatter,
FormatterOptions
} from '... | the_stack |
import type {
HighlightOptions,
PrettyFormatOptions,
} from '@roots/bud-support'
import {
bind,
format,
highlight,
lodash,
} from '@roots/bud-support'
import {Container} from '@roots/container'
import {
Api,
Build,
Compiler,
Configuration,
Dashboard,
Dependencies,
Env,
Extension,
Hooks,
... | the_stack |
import { Component, ViewChild, AfterViewInit } from '@angular/core'
import {
Block,
FullNode,
NetworkApi,
NetworkClientBrowserImpl
} from 'blockchain-js-core'
import * as CryptoJS from 'crypto-js'
import { WebSocketConnector } from 'blockchain-js-core/dist/websocket-connector'
import { State } from './supply-ch... | the_stack |
import * as AstNode from '../manifest-ast-types/manifest-ast-nodes.js';
import {AnnotationRef} from '../arcs-types/annotation.js';
import {assert} from '../../platform/assert-web.js';
import {IndentingStringBuilder} from '../../utils/lib-utils.js';
import {Ttl, Capabilities, Capability, Persistence, Encryption} from '.... | the_stack |
// Load the .env file if it exists
import * as dotenv from "dotenv";
dotenv.config();
import { MetricsAdvisorKeyCredential, MetricsAdvisorClient } from "@azure/ai-metrics-advisor";
export async function main() {
// You will need to set these environment variables or edit the following values
const endpoint = proc... | the_stack |
import {
Buffer as ImportedBuffer,
SlowBuffer as ImportedSlowBuffer,
transcode,
TranscodeEncoding,
constants,
kMaxLength,
kStringMaxLength,
Blob,
resolveObjectURL,
} from 'node:buffer';
import { Readable, Writable } from 'node:stream';
const utf8Buffer = new Buffer('test');
const ba... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* Operations
* __NOTE__: An instance of this class is automatically created for an
* instance of the SiteRecoveryManagementClient.
*/
export interface Operatio... | the_stack |
* @deprecated `kaitian-worker` was deprecated, Please use `sumi-worker` instead.
*/
declare module 'kaitian-worker' {
export * from 'sumi-worker';
}
declare module 'sumi-worker' {
/**
* Accessibility information which controls screen reader behavior.
*/
export interface AccessibilityInformation {
/**
... | the_stack |
import { FastifyInstance } from 'fastify';
import StatusCodes from 'http-status-codes';
import { Pool } from 'pg';
import { CARDANO, ASSET_NAME_LENGTH, POLICY_ID_LENGTH } from '../../../src/server/utils/constants';
import {
latestBlockIdentifier,
coinsWithSpecifiedTokens,
coinsWithEmptyMa,
allCoinsOfAddr1q8,
... | the_stack |
import * as _ from 'lodash';
import { Address } from 'set-protocol-utils';
import { BigNumber } from 'bignumber.js';
import {
UpdatableOracleMockContract
} from 'set-protocol-oracles';
import {
CoreMockContract,
LinearAuctionLiquidatorContract,
OracleWhiteListContract,
RebalanceAuctionModuleContract,
SetTo... | the_stack |
import {
getNodeTag,
MessageOrCCLogEntry,
ZWaveError,
ZWaveErrorCodes,
} from "@zwave-js/core";
import { MessageHeaders } from "@zwave-js/serial";
import type { JSONObject } from "@zwave-js/shared";
import { num2hex, staticExtends } from "@zwave-js/shared";
import { entries } from "alcalzone-shared/objects";
import... | the_stack |
import {Program} from "../src/runtime/dsl2";
import {verify} from "./util";
import * as test from "tape";
test("find a record and generate a record as a result", (assert) => {
// -----------------------------------------------------
// program
// -----------------------------------------------------
let prog... | the_stack |
import { Component, OnInit, Input, Output, EventEmitter, OnDestroy } from '@angular/core';
import { FormGroup, FormBuilder, FormArray, Validators, FormControl, AbstractControl, ValidatorFn } from '@angular/forms';
import { Observable, of } from 'rxjs';
import { map, startWith } from 'rxjs/operators';
import { Story } f... | the_stack |
import 'reflect-metadata';
import * as Discord from 'discord.js';
import * as Path from 'path';
// eslint-disable-next-line no-duplicate-imports
import {
ClientEvents,
ClientOptions,
ClientApplication,
Guild,
Message,
User,
PermissionResolvable
} from 'discord.js';
import { Logger, logger } from '../util/logge... | the_stack |
import { HttpClient, HttpResponse, HttpEvent } from '@angular/common/http';
import { Inject, Injectable, Optional } from '@angular/core';
import { TeamsAPIClientInterface } from './teams-api-client.interface';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operators';
import { USE_DOMAIN, USE_HTTP_OPTIONS... | the_stack |
const defaultInitialVars: InitialVars = {
isWatchingSourceFile: false
}
declare var acquireVsCodeApi: any
declare var initialContent: string
declare var initialConfig: CsvEditSettings | undefined
declare var initialVars: InitialVars
let vscode: VsExtension | undefined = undefined
if (typeof acquireVsCodeApi !== 'u... | the_stack |
import { KeyboardShortcutHandler } from 'background/keyboard-shortcut-handler';
import { UserConfigurationStore } from 'background/stores/global/user-configuration-store';
import { TabContextStoreHub } from 'background/stores/tab-context-store-hub';
import { VisualizationStore } from 'background/stores/visualization-st... | the_stack |
import React, { Component, MouseEventHandler } from 'react'
import cx from 'classnames'
import analytics from 'src/analytics'
import {
Annotation as AnnotationFlawed,
AnnotationPrivacyLevels,
} from 'src/annotations/types'
import {
AnnotationSharingInfo,
AnnotationSharingAccess,
} from 'src/content-sha... | the_stack |
import {
defineComponent,
computed,
ref,
provide,
inject,
getCurrentInstance,
watch,
onMounted,
onBeforeUnmount,
withDirectives,
Fragment,
vShow,
h,
reactive,
} from 'vue'
import { useTimeoutFn } from '@vueuse/core'
import ElCollapseTransition from '@element-plus/components/collapse-transiti... | the_stack |
import { set } from 'lodash';
import path from 'path';
import R from 'ramda';
import fs from 'fs-extra';
import { DEFAULT_BINDINGS_PREFIX } from '../../../../constants';
import { resolvePackageData } from '../../../../utils/packages';
import generateTree, { MadgeTree } from './generate-tree-madge';
import { FoundPackag... | the_stack |
import _path from './_path';
import _pkgutil from './_pkgutil';
const haveWeb = typeof globalThis.window == 'object';
function split_path(self: any) {
if (self._is_split) return;
self._is_split = true;
var value = self._value;
var val = '';
var i = value.indexOf('?');
if (i != -1) {
val = value.substr(0, ... | the_stack |
declare namespace ergometer.utils {
/**
* @return {Object}
*/
/**
* It limits concurrently executed promises
*
* @param {Number} [maxPendingPromises=Infinity] max number of concurrently executed promises
* @param {Number} [maxQueuedPromises=Infinity] max number of queued promises
... | the_stack |
import React = require("react");
import ReactDOM = require("react-dom");
import * as csx from '../../base/csx';
import {BaseComponent} from "../../ui";
import * as ui from "../../ui";
import * as utils from "../../../common/utils";
import * as styles from "../../styles/styles";
import * as state from "../../state/state... | the_stack |
import * as coreClient from "@azure/core-client";
/** The List Operation response. */
export interface OperationListResult {
/**
* The list of operations
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: OperationValue[];
}
/** Describes the propert... | the_stack |
import { getBestSelectorForAction } from './selector';
import type { Action } from '../types';
import {
ActionType,
BaseAction,
ScriptType,
TagName,
isSupportedActionType,
} from '../types';
const FILLABLE_INPUT_TYPES = [
'',
'date',
'datetime',
'datetime-local',
'email',
'month',
'number',
... | the_stack |
import {
AppEncryptionBox,
EncryptionBoxHandle,
EncryptionBoxInfo,
} from "@tonclient/core";
import { expect, test } from "../jest";
import { runner } from "../runner";
function text2base64(text: string): string {
return Buffer.from(text, "utf8").toString("base64");
}
// The "//-----" partitions are ... | the_stack |
import fs = require('fs');
import path = require('path');
import os = require('os');
import { BufferWriter } from './writer/bufferstream';
class DirentFromStat extends (fs.Dirent || class{}) {
constructor(name:string, private readonly stat:fs.Stats) {
super();
this.name = name;
}
isFile():... | the_stack |
import { A as arr } from '@ember/array';
import { assert, warn } from '@ember/debug';
import { action, computed } from '@ember/object';
import { capitalize } from '@ember/string';
import moment from 'moment';
import FilterFragment from 'navi-core/models/request/filter';
import { parseDuration } from '@yavin/client/util... | the_stack |
import { PdfStreamWriter } from './../../input-output/pdf-stream-writer';
import { GetResourceEventHandler } from './../pdf-graphics';
import { PdfColorSpace } from './../enum';
import { PdfColor } from './../pdf-color';
import { PdfBrush } from './pdf-brush';
import { IPdfWrapper } from '../../../interfaces/i-pdf-wrap... | the_stack |
import { Athena, GetQueryResultsCommandOutput } from '@aws-sdk/client-athena';
import { S3, GetObjectCommand } from '@aws-sdk/client-s3';
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
import * as stream from 'stream';
import {
BaseDriver, DatabaseStructure,
DownloadTableCSVData,
DriverInterface,
... | the_stack |
import {
Runtime,
CausalBroadcastNetwork,
CausalTimestamp,
VectorClock,
} from "compoventuals";
import { WebRtcNetworkMessage } from "../generated/proto_compiled";
import { Buffer } from "buffer";
// NOTE: This WebRTC network layer is just a prototype, which only
// two users peer-to-peer connection.
//
// The... | the_stack |
import { ATN } from 'antlr4ts/atn/ATN'
import { ATNDeserializer } from 'antlr4ts/atn/ATNDeserializer'
import { CharStream } from 'antlr4ts/CharStream'
import { Lexer } from 'antlr4ts/Lexer'
import { LexerATNSimulator } from 'antlr4ts/atn/LexerATNSimulator'
import { Vocabulary } from 'antlr4ts/Vocabulary'
import { Vocab... | the_stack |
// Subpages
import './appearance_page/appearance_fonts_page.js';
import './autofill_page/autofill_section.js';
import './autofill_page/password_check.js';
import './autofill_page/passwords_section.js';
import './autofill_page/passwords_device_section.js';
import './autofill_page/payments_section.js';
import './clear_br... | the_stack |
import {
BaseCollection,
BaseCollectionMixin,
BaseCollectionOptions,
} from 'detritus-utils';
import { ShardClient } from '../client';
export {
BaseCollection,
BaseCollectionOptions,
};
export class BaseCollectionCache<K, V> extends BaseCollectionMixin<K, V> {
readonly caches = new BaseCollection<K, Bas... | the_stack |
import { SpreadsheetModel, Spreadsheet, BasicModule } from '../../../src/spreadsheet/index';
import { SpreadsheetHelper } from '../util/spreadsheethelper.spec';
import { defaultData } from '../util/datasource.spec';
import { CellModel, SortEventArgs, SortDescriptor, getCell } from '../../../src/index';
Spreadsheet.Inj... | the_stack |
import {RefCounted} from 'neuroglancer/util/disposable';
import {GL} from 'neuroglancer/webgl/context';
const DEBUG_SHADER = false;
export enum ShaderType {
VERTEX = WebGL2RenderingContext.VERTEX_SHADER,
FRAGMENT = WebGL2RenderingContext.FRAGMENT_SHADER
}
export interface ShaderErrorMessage {
file?: number;
... | the_stack |
import { FieldDefinitionNode } from 'graphql';
import {
compoundExpression,
Expression,
obj,
printBlock,
and,
equals,
notEquals,
iff,
methodCall,
not,
ref,
str,
bool,
forEach,
list,
qref,
raw,
set,
ifElse,
} from 'graphql-mapping-template';
import { getIdentityClaimExp, getOwnerCla... | the_stack |
import * as vscode from 'vscode';
import { LoggerWrapper } from './LoggerWrapper';
import { ExecutableConfig } from './ExecutableConfig';
import { SharedVariables } from './SharedVariables';
import { hashString } from './Util';
import { performance } from 'perf_hooks';
import { TestGrouping } from './TestGroupingInterf... | the_stack |
import zlib from 'zlib';
import type { Readable } from 'stream';
import Koa from 'koa';
import mount from 'koa-mount';
import session from 'koa-session';
import parseBody from 'co-body';
import getRawBody from 'raw-body';
import request from 'supertest';
import type { ASTVisitor, ValidationContext } from 'graphql';
i... | the_stack |
import {
Endpoints,
RequestTypes,
} from 'detritus-client-rest';
import {
ShardClient,
VoiceConnectObject,
VoiceConnectOptions,
} from '../client';
import { BaseCollection, emptyBaseCollection } from '../collections/basecollection';
import { BaseSet } from '../collections/baseset';
import { DiscordKeys, Chan... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../types";
import * as utilities from "../utilities";
import {PolicyDocument} from "./index";
/**
* Provides an IAM role.
*
* > **NOTE:** If policies are attached to the role via the `aws.iam.PolicyAttachment` reso... | the_stack |
export const table = {
data: {
cols: [
{
int64s: { data: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90] },
type: "int64s",
},
{
int64s: { data: [1, 11, 21, 31, 41, 51, 61, 71, 81, 91] },
type: "int64s",
},
{
int64s: { data: [2, 12, 22, 32, 42, 52, 62,... | the_stack |
import { messageUtil } from "../lib/messageUtil";
import { isFirefox, browserInfo, isNodeTest } from "./browserInfo";
import { SettingsTypeMap, SettingsSignature, RuleDefinition, CleanupType } from "./settingsSignature";
import { browser, Storage } from "webextension-polyfill-ts";
import { getRegExForRule } from ".... | the_stack |
import { ethers, waffle } from "hardhat";
import { expect, use } from "chai";
import { solidity } from "ethereum-waffle";
use(solidity);
import { constants, providers, Wallet } from "ethers";
import { ProposedOwnable } from "../typechain";
import {
assertReceiptEvent,
deployContract,
proposeNewOwnerOnContract,
... | the_stack |
import { assert } from 'chai';
import { TestResult, TestStatus, TestVariant, TestVariantStatus } from '../services/resultdb';
import { parseSearchQuery, suggestSearchQuery } from './search_query';
const variant1: TestVariant = {
testId: 'invocation-a/test-suite-a/test-1',
variant: { def: { key1: 'val1' } },
var... | the_stack |
import { expect } from "chai";
import { shallow } from "enzyme";
import * as React from "react";
import * as sinon from "sinon";
import * as moq from "typemoq";
import { StagePanelLocation, WidgetState } from "@itwin/appui-abstract";
import { SplitterPaneTarget as NZ_SplitterPaneTarget } from "@itwin/appui-layout-react... | the_stack |
import MicroModal from 'micromodal';
import { base64_json_parse, base64_json_stringify } from '../base64';
import { Audio, SOUND_ENABLED_OPTION } from './audio';
import DriveLights from './drive_lights';
import { byte, includes, word } from '../types';
import { BLOCK_FORMATS, MassStorage, NIBBLE_FORMATS } from '../for... | the_stack |
import * as React from "react";
import { showMessage, getCurrentEventIsBoardEvent } from "../app/appControl";
import { includeEventInBoard } from "../boards";
import { getEventFromLibrary, addEventToLibrary } from "../events/EventLibrary";
import { createCustomEvent, validateCustomEvent } from "../events/customevents"... | the_stack |
import { ParserSymbol } from './parsertokens/ParserSymbol';
import { PrimitiveElement } from './PrimitiveElement';
import { Expression } from './Expression';
import { java } from 'j4ts/j4ts';
import { javaemul } from 'j4ts/j4ts';
import { HeadEqBody } from './Miscellaneous';
import { Function } from './Function';
impor... | the_stack |
import {
ConcreteComponent,
PropType,
RendererElement,
RendererNode,
VNode,
createTextVNode,
defineComponent,
h,
ref,
reactive,
resolveComponent,
watchEffect,
watch,
Ref,
getCurrentInstance,
} from 'vue'
import { has, isPojo } from '@formkit/utils'
import {
FormKitSchemaAttributes,
For... | the_stack |
import type { IncomingMessage } from 'http'
import type { Assert } from '@japa/assert'
import type { CorsConfig } from '@ioc:Adonis/Core/Cors'
const corsConfig = {
enabled: true,
origin: true,
methods: ['GET', 'PUT', 'POST'],
headers: true,
credentials: true,
maxAge: 90,
exposeHeaders: [],
}
const CORS_... | the_stack |
declare module "@luma.gl/gltools/polyfill/polyfill-vertex-array-object" {
export function polyfillVertexArrayObject(gl: any): void;
}
declare module "@luma.gl/gltools/utils/utils" {
export function assert(condition: any, message: any): void;
export function isObjectEmpty(object: any): boolean;
export function deepA... | the_stack |
import axios from "axios";
import { autobind } from "core-decorators";
import * as _ from "lodash";
import { inject, observer } from "mobx-react";
import * as React from "react";
import {
Button, Dropdown, Form, Header, Icon, Image, Input, Message, Modal, Popup, Radio, Reveal, Segment,
} from "semantic-ui-react";
i... | the_stack |
import * as cdk from "@aws-cdk/core";
import * as eventLambda from "@aws-solutions-constructs/aws-events-rule-lambda";
import * as lambda from "@aws-cdk/aws-lambda";
import * as s3 from "@aws-cdk/aws-s3";
import * as iam from "@aws-cdk/aws-iam";
import * as events from "@aws-cdk/aws-events";
import { PolicyDocument, Po... | the_stack |
import * as React from 'react';
import { Box as ReakitBox, DialogOptions as ReakitDialogOptions } from 'reakit';
import { Palette, Flexible } from '../types';
import { bindFns, useClassName, createComponent, createElement, createHook, omitCSSProps, useUniqueId } from '../utils';
import { ActionButtons, ActionButtonsPr... | the_stack |
import { text } from "@core";
import { formatDate, generateID } from "@utils";
import { computed, observable } from "mobx";
import { Model, observeModel, SubModel } from "pouchx";
import {
OrthoCaseSchema,
patients,
PhotoSchema,
setting,
VisitSchema,
} from "@modules";
export const Lips = {
competent: "competent... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/proximityPlacementGroupsMappers";
import * as Parameters from "../models/parameters";
import { ComputeManagementClientContext } from "../computeManagementClientContext";
/** Class representing a Proxim... | the_stack |
import { KnexRecord, ResourceTypeAttributes } from "@ebryn/jsonapi-ts";
import knex from "knex";
import { Log } from "logepi";
import { v4 as generateUuid } from "uuid";
import Errors from "./errors";
import User, { MatchedUser } from "./resources/user/resource";
const DATABASE_URL =
(process.env.DATABASE_URL as st... | the_stack |
import { build as buildProject } from "snowpack";
import { dirname, resolve } from "path";
import glob from "globby";
import arg from "arg";
import { GetModuleInfo, rollup, RenderedChunk, Plugin } from "rollup";
import { visit } from "recast";
import { performance } from "perf_hooks";
import { green, dim } from "kleur/... | the_stack |
import { emptyDb, sampleDb } from './TaskDb';
describe("db - DB queries and updates", () => {
describe("Queries", () => {
it("user by id with query/one", () => expect(sampleDb.users.find({ id: 'AS' }).one().name).toEqual("Arya Stark"));
it("user by id with 'byId'", () => expect(sampleDb.users.byId(... | the_stack |
import classNames from 'classnames'
import React from 'react'
import { findDOMNode } from 'react-dom'
import { ResizeSensor, IResizeEntry } from '@blueprintjs/core'
import { PhotoId, Photo, PhotoSectionId, PhotoSectionById, isLoadedPhotoSection } from 'common/CommonTypes'
import CancelablePromise from 'common/util/Can... | the_stack |
import { Smithchart, SmithchartLegend, ISmithchartLoadedEventArgs } from '../../../src/smithchart/index';
import { createElement, remove } from '@syncfusion/ej2-base';
import {profile , inMB, getMemoryProfile} from '../../common.spec';
Smithchart.Inject(SmithchartLegend);
/**
* Legend spec
*/
describe('Smithchart ... | the_stack |
import { spawn } from "node:child_process";
import * as path from "node:path";
import { watch } from "chokidar";
import clipboardy from "clipboardy";
import commandExists from "command-exists";
import { Box, Text, useApp, useInput, useStdin } from "ink";
import React, { useState, useEffect, useRef } from "react";
impor... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace Formmsdyn_iotalert_Information {
interface Header extends DevKit.Controls.IHeader {
/** Owner Id */
OwnerId: DevKit.Controls.Lookup;
}
interface tab__B4D9BB28_1BD1_4896_AA83_A8CD2A781DDE_Sections {
AlertDataSection: De... | the_stack |
const getSignedUrlResponse = jest.fn();
const mockS3 = {
getSignedUrl: getSignedUrlResponse,
};
const listJobsResponse = jest.fn();
const listJobsRequest = jest.fn().mockImplementation(() => {
return {
promise: listJobsResponse,
};
});
const startDeploymentResponse = jest.fn();
const startDeploymentRequest = ... | the_stack |
import { SrcFileSet, Pos, NoPos } from './pos'
import { Universe } from './universe'
import { TypeCompat, basicTypeCompat } from './typecompat'
import { ErrorCode, ErrorReporter, ErrorHandler } from './error'
import { debuglog as dlog } from './util'
import { token } from './token'
import { Num } from './num'
import { ... | the_stack |
import * as assert from 'assert';
import * as path from 'path';
import { window, workspace, Uri, StatusBarAlignment, SymbolKind, Location, Range } from 'vscode';
import { SystemVerilogDocumentSymbolProvider } from '../providers/DocumentSymbolProvider';
import { SystemVerilogWorkspaceSymbolProvider } from '../providers/... | the_stack |
import React from 'react';
import { render, screen, fireEvent } from 'spec/helpers/testing-library';
import userEvent from '@testing-library/user-event';
import sinon from 'sinon';
import fetchMock from 'fetch-mock';
import * as actions from 'src/reports/actions/reports';
import * as featureFlags from 'src/featureFlags... | the_stack |
import * as angular from 'angular';
import * as _ from "underscore";
import { FeedService } from '../../services/FeedService';
import { PolicyInputFormService } from '../policy-input-form/PolicyInputFormService';
import {moduleName} from "../../module-name";;
export class FeedFieldPolicyRuleDialogController {
sta... | the_stack |
import * as os from 'os';
const { EOL } = os;
import * as fs from 'fs';
import * as path from 'path';
var stringify = require('json-stringify-safe');
import { pickBy, identity, isEmpty } from 'lodash';
import { logDebug, formatURL, NAME } from './common';
import * as vscode from 'vscode';
import { Method, RequestHeader... | the_stack |
import { strict as assert } from "assert";
import fs from "fs";
import { fork, call, race, delay, cancel } from "redux-saga/effects";
import { createStore, applyMiddleware } from "redux";
import createSagaMiddleware from "redux-saga";
import { KubeConfig } from "@kubernetes/client-node";
import { k8sListNamespacesOr... | the_stack |
import * as React from 'react'
import * as PropTypes from 'prop-types'
import Icon from '../icon/Icon'
import { parseDateString, classes } from '../utils'
import Transition from '../transition/Transition'
import DatePanel from './DatePanel'
import MonthPanel from './MonthPanel'
import YearPanel from './YearPanel'
impor... | the_stack |
export namespace DataLakeModels {
/**
*
* @export
* @class RequiredError
* @extends {Error}
*/
export class RequiredError extends Error {
name: "RequiredError" = "RequiredError";
constructor(public field: string, msg?: string) {
super(msg);
}
}
... | the_stack |
import { ContractTransaction, Signer, BigNumber, BigNumberish, providers } from 'ethers';
import { ClientTypes, ExtensionTypes } from '@requestnetwork/types';
import { getBtcPaymentUrl } from './btc-address-based';
import { _getErc20PaymentUrl, getAnyErc20Balance } from './erc20';
import { payErc20Request } from './e... | the_stack |
import 'reflect-metadata' // Must be imported exactly once for Inversify
/* eslint-disable @typescript-eslint/no-var-requires */
import * as assert from 'assert'
import * as fs from 'fs'
import * as path from 'path'
import * as process from 'process'
import * as request from 'request'
import { HttpStatusCode } from '.... | the_stack |
import { Injectable } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { NgxsDataPluginModule } from '@angular-ru/ngxs';
import { DataAction, Payload, StateRepository } from '@angular-ru/ngxs/decorators';
import { getRepository } from '@angular-ru/ngxs/internals';
import { NgxsImmutableData... | the_stack |
import {
AfterViewInit,
ChangeDetectorRef,
Component,
ElementRef,
EventEmitter,
forwardRef,
Inject,
Input,
OnChanges,
OnDestroy,
OnInit,
Output,
SimpleChanges,
ViewChild
} from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import { MatAutocomplete... | the_stack |
import { IChatJoinProperties,
IUserInfo, IConversationEvent, IChatJoined, IAccountMinimal, IStoreRemoteUser } from "../bifrost/Events";
import { XmppJsInstance, XMPP_PROTOCOL } from "./XJSInstance";
import { IBifrostAccount, IChatJoinOptions } from "../bifrost/Account";
import { IBifrostInstance } from "../bifrost/... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import sade from 'sade';
import colors from 'kleur';
import { elapsed, repeat, left_pad, format_milliseconds } from './utils';
import {
InvalidEvent,
ErrorEvent,
FatalEvent,
BuildEvent,
ReadyEvent
} from './interfaces';
const debug = require('debug')('ss... | the_stack |
import meiosis, {
ActionConstructor,
App,
FunctionPatch,
ImmerPatch,
LocalPatch,
Local,
MergerinoApp,
MergerinoMeiosisOne,
MergerinoPatch,
Stream
} from "../../source/dist";
import flyd from "flyd";
import merge from "mergerino";
import produce from "immer";
import { html, render as litHtmlRender, T... | the_stack |
import { BunyanProvider, Logger, LogLevel } from './BunyanProvider'
import {
DuplicateHandlerVersionError,
MismatchedBlockHashError,
MissingHandlerVersionError,
} from './errors'
import {
Action,
ActionHandler,
ActionHandlerOptions,
BlockInfo,
CurriedEffectRun,
DeferredEffects,
Effect,
EffectRunMo... | the_stack |
import {Mutable, Cursor} from "@swim/util";
import type {FastenerOwner} from "@swim/component";
import {AnyValue, Value, Form} from "@swim/structure";
import {Uri} from "@swim/uri";
import type {MapDownlinkObserver, MapDownlink} from "../downlink/MapDownlink";
import type {WarpRef} from "../ref/WarpRef";
import {Downli... | the_stack |
import { createServer, Server } from 'http';
import { CloudFrontRequest } from 'aws-lambda';
import getPort from 'get-port';
import { ProxyConfig } from '../src/types';
import { generateCloudFrontRequestEvent } from './test-utils';
/* -----------------------------------------------------------------------------
* P... | the_stack |
const FILE_POSTFIXES = ['', '.js', '.json', '/package.json', '/index.js', '/index.json'];
const FOLDER_POSTFIXES = ['/package.json', '/index.js', '/index.json'];
const MODULE_PREFIX = '(function (module, exports, require, __filename, __dirname) { ';
const MODULE_POSTFIX = '\n});';
export type ModuleLoader = (
module... | the_stack |
declare module FoundationSites {
// https://get.foundation/sites/docs/abide.html#javascript-reference
interface Abide {
enableValidation(): void;
disableValidation(): void;
requiredCheck(element: JQuery): boolean;
findFormError(element: JQuery, failedValidators?: string[]): JQuery;
findLabel(el... | the_stack |
import * as console from "../shared/Logger";
// import {getCurrentFiberStackInDev} from 'react-reconciler/src/ReactCurrentFiber';
function getCurrentFiberStackInDev(): string {
// Stub.
return "";
}
// : AncestorInfo
let validateDOMNesting: (
childTag: string | undefined | void | null,
childText: string... | the_stack |
import React, {useMemo, useState} from "react";
import {Card, Input, Row, Select, Button, Form, InputNumber, Spin} from "antd";
import {useApplication} from "../../context/ApplicationProvider";
import {TaskStateClosable} from "../tags/TaskState";
import {badgedOption} from "../tags/BadgedOption";
import {MetricsServic... | the_stack |
import {Debugger} from '../common/debugger';
import {Engine} from '../common/engine';
import {locales} from '../l10n/l10n';
import {Axis, DynamicCstr} from './dynamic_cstr';
export interface MappingsJson {
default: {[key: string]: string};
[domainName: string]: {[key: string]: string};
}
export interface Unicode... | the_stack |
import { RequestParameters } from "@azure-rest/core-client";
import { Product, Sku, SubProduct } from "./models";
export interface LROsPut200SucceededBodyParam {
/** Product to put */
body?: Product;
}
export interface LROsPut200SucceededMediaTypesParam {
/** Request content type */
contentType?: "application... | the_stack |
import {InfectionExposureRepository, InstallationRepository, PatientRepository} from '../../../repositories';
import {testdb} from '../../fixtures/datasources/testdb.datasource';
import {InfectionExposure, Patient} from "../../../models";
import {PushNotificationService} from "../../../services/pushnotification.service... | the_stack |
import { MutableRefObject, RefObject, useMemo, useRef, useState } from "react";
import {
Middleware,
VirtualElement,
arrow,
autoUpdate,
computePosition,
flip,
offset,
shift,
size,
} from "@floating-ui/dom";
import {
useEvent,
useForceUpdate,
useSafeLayoutEffect,
} from "ariakit-utils/hooks";
imp... | the_stack |
import validator from '@bahmutov/is-my-json-valid'
import debugApi from 'debug'
import stringify from 'json-stable-stringify'
import get from 'lodash.get'
import set from 'lodash.set'
import {
clone,
curry,
difference,
filter,
find,
keys,
map,
mergeAll,
mergeDeepLeft,
prop,
uniq,
uniqBy,
where... | the_stack |
import * as msRest from "@azure/ms-rest-js";
export const acceptLanguage: msRest.OperationParameter = {
parameterPath: "acceptLanguage",
mapper: {
serializedName: "accept-language",
defaultValue: 'en-US',
type: {
name: "String"
}
}
};
export const accountName: msRest.OperationURLParameter =... | the_stack |
import {Class, AnyTiming, Timing} from "@swim/util";
import {Affinity, MemberFastenerClass, Property} from "@swim/component";
import type {AnyLength, Length} from "@swim/math";
import type {AnyColor, Color} from "@swim/style";
import {Look, Mood} from "@swim/theme";
import {ViewRef} from "@swim/view";
import type {Grap... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.