text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as BezierEasing from 'bezier-easing'
import throttle from 'lodash-es/throttle'
import CollectionViewDelegate from './delegate'
import CollectionViewLayout from './layout'
import style from './style.css'
import { Animation, Line, Position, Range, Ranges, Required, Size } from './types'
import { assert, coalesce... | the_stack |
import * as assert from 'assert';
import {ZxBeeper} from '../src/remotes/zsimulator/zxbeeper';
suite('ZxBeeper', () => {
test('constructor', () => {
let zxBeeper = new ZxBeeper(3500000, 22050, 50);
let zxBeeperAny = zxBeeper as any;
assert.equal(zxBeeperAny.sampleRate, 22050);
assert.equal(zxBeeperAny.cpuF... | the_stack |
import { TagBody } from '../model/tagBody';
import { TagEntry } from '../model/tagEntry';
import { TagPaging } from '../model/tagPaging';
import { BaseApi } from './base.api';
import { throwIfNotDefined } from '../../../assert';
import { buildCollectionParam } from '../../../alfrescoApiClient';
/**
* Tags service.
* @... | the_stack |
import {renderHook} from '@testing-library/react-hooks'
import {format} from 'date-fns'
import {useMonth, getDays, getWeekdayLabels} from '.'
describe('getWeekdayLabels', () => {
test('should return week days start with monday', () => {
expect(getWeekdayLabels()).toEqual(['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'... | the_stack |
import { decimalStr, fromWei } from '../utils/Converter';
import { logGas } from '../utils/Log';
import { DODOMineV2Context, getDODOMineContext } from '../utils/DODOMineV2Context';
import { assert } from 'chai';
import { Contract } from 'web3-eth-contract';
let account0: string;
let account1: string;
let projector: st... | the_stack |
import test from 'tape-promise/tape';
import GL from '@luma.gl/constants';
import {Framebuffer, Renderbuffer, Texture2D, Buffer, getKey} from '@luma.gl/gltools';
import {fixture} from 'test/setup';
import {readPixelsToArray, readPixelsToBuffer, copyToTexture, blit} from '@luma.gl/gltools';
type WebGLTextureInfo = {
... | the_stack |
import { Transport } from './Transport'
import { Handler, callHandlers } from './Handler'
import { DEFAULT_PARAM } from './Constants'
const signalNotConnected = () => { throw new Error('Slot not connected') }
interface SlotConfig {
// This option will prevent the slot from buffering the
// requests if no remo... | the_stack |
export enum ADDRESS_MODE {
bound = 0x00, //Use one or more bound nodes/endpoints, with acknowledgements
group = 0x01, //Use a pre-defined group address, with acknowledgements
short = 0x02, //Use a 16-bit network address, with acknowledgements
ieee = 0x03, //Use a 64-bit IEEE/MAC address, with acknowledg... | the_stack |
// IMPORTANT
// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator
// Generated from: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
/... | the_stack |
declare const enum CRMLaunchModes {
/**
* Runs when clicking the node
*/
RUN_ON_CLICKING = 0,
/**
* Runs whenever the page has loaded
*/
ALWAYS_RUN = 1,
/**
* Runs only on specified websites
*/
RUN_ON_SPECIFIED = 2,
/**
* Is visible only on specified websites
*/
SHOW_ON_SPECIFIED = 3,
/**
* D... | the_stack |
import Process = require("process");
import File = require("fs");
import Path = require("path");
import Ambrosia = require("./Ambrosia");
import Utils = Ambrosia.Utils;
import Meta = Ambrosia.Meta;
import Configuration = Ambrosia.Configuration;
import DataFormat = Ambrosia.DataFormat;
let _testNames: Set<string> = new... | the_stack |
module androidui.widget{
import View = android.view.View;
import Gravity = android.view.Gravity;
import ViewGroup = android.view.ViewGroup;
import FrameLayout = android.widget.FrameLayout;
import AbsListView = android.widget.AbsListView;
import ScrollView = android.widget.ScrollView;
import ... | the_stack |
import { workspace, window, Disposable, Command, ExtensionContext, Position, Range, Selection, TextEditor, TextEditorEdit, DocumentRangeFormattingEditProvider, TextDocument, FormattingOptions, CancellationToken, TextEdit } from 'vscode';
import { exec, ChildProcess } from 'child_process';
import * as path from 'path';... | the_stack |
import { createModel } from "@xstate/test";
import {
createDeferredPromise,
DeferredPromise,
} from "alcalzone-shared/deferred-promise";
import { assign, interpret, Machine, State } from "xstate";
import type { Message } from "../message/Message";
import {
dummyCallbackNOK,
dummyCallbackOK,
dummyCallbackPartial,
... | the_stack |
import {
Address,
Amount,
AtomicSwapHelpers,
Identity,
isBlockInfoPending,
isBlockInfoSucceeded,
Preimage,
SwapId,
TokenTicker,
UnsignedTransaction,
} from "@iov/bcp";
import { HdPaths, Secp256k1HdWallet, UserProfile } from "@iov/keycontrol";
import BN from "bn.js";
import { randomBytes } from "cryp... | the_stack |
import getBlockElementAtNode from '../../lib/blockElements/getBlockElementAtNode';
import VListChain from '../../lib/list/VListChain';
import VListItem from '../../lib/list/VListItem';
import { itFirefoxOnly } from '../DomTestHelper';
import { ListType, PositionType } from 'roosterjs-editor-types';
import { Position } ... | the_stack |
import { NextFunction, Request, Response } from 'express';
import bcrypt from 'bcrypt';
import passport from 'passport';
import jwt from 'jsonwebtoken';
import {
getAuthUser,
createUser,
getUserByEmail,
updateUserResetPasswordToken,
updatePassword,
deleteUser,
updateUser,
} from '../db';
import { EmailReg... | the_stack |
/**
* @license Copyright © 2013 onwards, Andrew Whewell
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyri... | the_stack |
export class Byte {
/**
* <p>主机字节序,是 CPU 存放数据的两种不同顺序,包括小端字节序和大端字节序。通过 <code>getSystemEndian</code> 可以获取当前系统的字节序。</p>
* <p> <code>BIG_ENDIAN</code> :大端字节序,地址低位存储值的高位,地址高位存储值的低位。有时也称之为网络字节序。<br/>
* <code>LITTLE_ENDIAN</code> :小端字节序,地址低位存储值的低位,地址高位存储值的高位。</p>
*/
static BIG_ENDIAN: string = "bi... | the_stack |
import { CodeMirrorEditor } from "@jupyterlab/codemirror";
import { CodeEditor } from "@jupyterlab/codeeditor";
import { IGlobalJump, IJump, IJumpPosition } from "../jump";
import { chooseLanguageAnalyzer } from "../languages/chooser";
import { CodeMirrorExtension } from "../editors/codemirror";
import { IDocumentMana... | the_stack |
declare namespace gd {
type Ptr = Buffer | BufferSource;
// Creating and opening graphic images
function create(width: number, height: number): Promise<gd.Image>;
function createTrueColor(width: number, height: number): Promise<gd.Image>;
function createSync(width: number, height: number): gd.I... | the_stack |
import { navigateToPath, useTestComponent } from './Common';
describe('Router', () => {
describe('routing navigation', () => {
beforeAll(() => {
useTestComponent('Router');
});
it('Should show the default route if no hash is specified', () => {
$('.router-default').waitForExist();
expec... | the_stack |
import { GoogleAnalytics, TypeScriptFileUpdate, TypeScriptUtils, Util } from "@igniteui/cli-core";
import * as fs from "fs";
import * as ts from "typescript";
describe("Unit - TypeScriptFileUpdate", () => {
beforeAll(() => {
spyOn(GoogleAnalytics, "post");
});
describe("Initialization", () => {
it("Create with... | the_stack |
import { Contract } from "../../api/contract/contract";
import TagValue from "../../api/data/container/tag-value";
import FADataType from "../../api/data/enum/fad-data-type";
import LogLevel from "../../api/data/enum/log-level";
import MIN_SERVER_VER from "../../api/data/enum/min-server-version";
import OptionExerciseA... | the_stack |
import { isEmpty } from 'lodash';
import _ from 'lodash';
import * as log from '../../utils/electronLogger';
import {
AMOUNT_SEPARATOR,
DEFAULT_DFI_FOR_ACCOUNT_TO_ACCOUNT,
DFI_SYMBOL,
LP_DAILY_DFI_REWARD,
POOL_PAIR_PAGE_SIZE,
SHARE_POOL_PAGE_SIZE,
} from '../../constants';
import RpcClient from '../../util... | the_stack |
import { createMutator } from '../vulcan-lib';
import { Posts } from '../../lib/collections/posts/collection';
import { Comments } from '../../lib/collections/comments/collection';
import Users from '../../lib/collections/users/collection';
import { performVoteServer } from '../voteServer';
import { voteCallbacks, Vote... | the_stack |
import { BigNumber } from "bignumber.js";
import type { DatasetTest } from "../../types";
import {
InvalidAddressBecauseDestinationIsAlsoSource,
NotEnoughSpendableBalance,
NotEnoughBalanceBecauseDestinationNotCreated,
} from "@ledgerhq/errors";
import type { Transaction } from "./types";
import transactionTransfo... | the_stack |
import { ApolloClient, DocumentNode, ErrorPolicy, FetchPolicy, FetchResult, isApolloError, NetworkStatus, NormalizedCacheObject, TypedDocumentNode, WatchQueryFetchPolicy, WatchQueryOptions } from '@apollo/client/core';
import * as S from './schema';
import { gql } from '@apollo/client/core';
import * as C from '@apoll... | the_stack |
import '@stencil/core';
declare global {
namespace JSX {
interface Element {}
export interface IntrinsicElements {}
}
namespace JSXElements {}
interface HTMLElement {
componentOnReady?: () => Promise<this | null>;
}
interface HTMLStencilElement extends HTMLElement {
componentOnReady(): Pr... | the_stack |
import { expect } from 'chai'
import { before, describe, test } from 'mocha'
import { Asset } from '../../lib/entities/asset'
import { Environment } from '../../lib/entities/environment'
import { Space } from '../../lib/entities/space'
import { TestDefaults } from '../defaults'
import { getDefaultSpace, initPlainClient... | the_stack |
import * as FS from "fs";
import * as Path from "path";
import { exec } from "child_process";
import * as chalk from "chalk";
import { MIRAssembly, PackageConfig, SymbolicActionMode } from "../../compiler/mir_assembly";
import { MIREmitter } from "../../compiler/mir_emitter";
import { MIRInvokeKey, MIRResolvedTypeKey... | the_stack |
* @module Core
*/
import memoize from "micro-memoize";
import { Logger } from "@itwin/core-bentley";
import { IModelConnection } from "@itwin/core-frontend";
import {
Content, DEFAULT_KEYS_BATCH_SIZE, Descriptor, DescriptorOverrides, DiagnosticsOptionsWithHandler, Field, KeySet, PageOptions, RegisteredRuleset,
Re... | the_stack |
import { List, OrderedSet, Map } from 'immutable';
import {
ContentState,
CharacterMetadata,
ContentBlock,
Entity,
BlockMapBuilder,
genKey,
SelectionState,
} from 'draft-js';
import type { convertFromHTML as ConvertFromHTML } from 'draft-convert';
function rangeSort(r1, r2) {
if (r1.offset === r2.offse... | the_stack |
import React, { useCallback, useState, useEffect, useMemo } from 'react';
import {
Button,
Card,
CardHeader,
CardContent,
FormControl,
FormGroup,
FormControlLabel,
Grid,
Switch,
Tooltip,
Typography,
Theme,
makeStyles,
} from '@material-ui/core';
import ShowChartIcon from '@material-ui/icons/Sh... | the_stack |
import a from 'assertron'
import { AnyConstructor, AnyFunction, assertType, Equal } from '..'
describe('assertType()', () => {
test('input satisfies specified type', () => {
const subject = { a: 1, b: 2 } as const
assertType<{ a: 1 }>(subject)
})
test('Specify T in the validate function', () => {
con... | the_stack |
import ClassDef = DexFormat.ClassDef;
import TypeDef = DexFormat.TypeDef;
import DexFileReader = DexFormat.DexFileReader;
namespace ApkMethodCount {
export class AppView {
//Used for saving classes and method counts in package tree
public static TREE_META_NODE:string = "__metadata";
priv... | the_stack |
import { Injectable } from '@angular/core'
import { StatsLocalProvider } from '../../provider/stats-local.provider'
import { StatsIndistinguishableProvider } from '../../provider/stats-indistinguishable.provider'
import { StatsProvider } from '../../provider/stats.provider'
import { ItemStat, Language, Stat, StatType }... | the_stack |
import * as React from "react";
import * as Utility from "../../Utility";
import * as $ from "jquery";
import { UbbContainer } from ".././UbbContainer";
import { Constants } from "../Constant";
import { UbbEditor } from "../UbbEditor";
import TopicManagement from "./Topic-TopicManagement-v2";
import { NoticeMessage } ... | the_stack |
import { testStartup } from './testMain';
import { recalculateScore } from '../lib/scoring';
import { performVoteServer } from '../server/voteServer';
import { batchUpdateScore } from '../server/updateScores';
import { createDummyUser, createDummyPost, createDummyComment } from './utils'
import { Posts } from '../lib/c... | the_stack |
import * as os from "os";
import * as vscode from "vscode";
import configuration from "../configuration";
import { FolderContext } from "../FolderContext";
import { stringArrayInEnglish, swiftLibraryPathKey, swiftRuntimeEnv } from "../utilities/utilities";
/**
* Edit launch.json based on contents of Swift Package.
*... | the_stack |
import { Cart, Consignment } from '@bigcommerce/checkout-sdk';
import { getAddress } from '../address/address.mock';
import { getCart } from '../cart/carts.mock';
import { getPhysicalItem } from '../cart/lineItem.mock';
import { getConsignment } from './consignment.mock';
import getShippableLineItems from './getShipp... | the_stack |
import { getDatabase } from './';
import Database from '../database';
import Table from '../table';
import Model from '../model';
import path from 'path';
let db: Database;
beforeEach(async () => {
db = getDatabase();
});
afterEach(async () => {
await db.close();
});
describe('tables', () => {
describe('optio... | the_stack |
declare function calculateTransform(enabledElement: any, scale?: number): Transform;
/**
* Internal API function to draw an image to a given enabled element
*
* @param enabledElement The Cornerstone Enabled Element to redraw
* @param [invalidated = false] - true if pixel data has been invalidated and cached renderi... | the_stack |
import { ExtractedToken, ExtractedTokenKind, TextDocument } from "@/extractors"
import { defaultLogger as console } from "@/logger"
import * as parser from "@/parser"
import parseThemeValue from "@/parseThemeValue"
import { transformSourceMap } from "@/sourcemap"
import { cssDataManager } from "@/vscode-css-languageser... | the_stack |
import assert from "assert";
import Hapi from "@hapi/hapi";
import Http2 from "http2";
import _ from "lodash";
import Chalk from "chalk";
import Path from "path";
import checkNodeEnv from "./check-node-env";
import logger from "./logger.js";
import startFailed from "./start-failed";
import Confippet from "electrode-con... | the_stack |
import { EnumHelper, StringHelper } from "../ExtensionMethods";
import { EwsLogging } from '../Core/EwsLogging';
import { EwsServiceXmlWriter } from "../Core/EwsServiceXmlWriter";
import { EwsUtilities } from "../Core/EwsUtilities";
import { ExchangeService } from "../Core/ExchangeService";
import { ExchangeVersion } ... | the_stack |
import * as tmp from 'tmp';
import { Disposable, ExtensionContext, Uri, commands, window, workspace } from 'vscode';
import { CargoInvocationManager } from '../../CargoInvocationManager';
import { ShellProviderManager } from '../../ShellProviderManager';
import { Configuration } from '../configuration/Configuration';
i... | the_stack |
// Implementation ported from BoringSSL:
// https://boringssl.googlesource.com/boringssl/+/master/crypto/newhope/
// https://boringssl.googlesource.com/boringssl/+/master/ssl/test/runner/newhope/
// Copyright (c) 2016, Google Inc.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpos... | the_stack |
import path = require("path");
import ts = require("typescript");
import { Compiler, oldGetLeadingCommentRangesOfNodeFromText } from "./compiler";
import * as AST from "./ast";
function hasModifier(node: ts.Node, flags: ts.NodeFlags): boolean {
return (node.flags & flags) !== 0;
}
interface JSDoc {
description: s... | the_stack |
module BABYLON {
@className("Button", "BABYLON")
export class Button extends ContentControl {
static get pushedState() {
return Button._pushedState;
}
static BUTTON_PROPCOUNT = ContentControl.CONTENTCONTROL_PROPCOUNT + 3;
static isPushedProperty: Prim2DPropInfo;
... | the_stack |
import {
AtomicSwap,
AtomicSwapHelpers,
AtomicSwapQuery,
createTimestampTimeout,
isBlockInfoPending,
isBlockInfoSucceeded,
isConfirmedAndSignedTransaction,
isConfirmedTransaction,
isSwapOfferTransaction,
SwapData,
SwapId,
SwapIdBytes,
SwapOfferTransaction,
SwapProcessState,
SwapTimeout,
} ... | the_stack |
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { sp } from "@pnp/sp";
import "@pnp/sp/webs";
import "@pnp/sp/lists";
import siteconfig from "../config/siteconfig.json";
import * as stringsConstants from "../constants/strings";
interface ICommonServicesState {
}
let rootSiteURL: string;
export def... | the_stack |
import { MonacoAwareCustomLanguageInfo } from "./custom-language-info";
/**
* Language provider for the .mpm.z80 extension
*/
export const mpmZ80LanguageProvider: MonacoAwareCustomLanguageInfo = {
id: "mpm-z80",
options: {
comments: {
lineComment: ";",
},
},
supportsBreakpoints: false,
langua... | the_stack |
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
/**
* <p>The details of an <code>AppInstance</code>, an instance of an Amazon Chime SDK messaging
* application.</p>
*/
export interface AppIn... | the_stack |
* Perform no operation.
* Stubbing args to make Flow happy without leaving useless transpiled code
* with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
*/
function noop(a, b, c) { }
function warn(m, v) { }
// can we use __proto__?
var hasProto = '__proto__' in {};
/**
* Augm... | the_stack |
import * as jsStyles from './CheckListStyles';
import * as React from 'react';
import styles from './CheckList.module.scss';
import * as strings from 'MyTasksWebPartStrings';
import {
Checkbox,
Icon,
MessageBar,
MessageBarType,
TextField,
ITextFieldProps
} from 'office-ui-fabric-react';
import { getGUID }... | the_stack |
import { of } from 'rxjs';
export class MockTextsService {
private text = {
"form": {
"new_input": "New dashboard",
"edit_input": "Edit:",
"general_help": "<p>Need Help? Contact us through <a target=\"_blank\" href=\"https://github.com/BBVA/mirrorgate/issues/new\">GitHub</a></p>",
"genera... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as chai from 'chai';
import * as sinon from 'sinon';
import * as sinonChai from 'sinon-chai';
import * as path from 'path';
import { TestUtil } from '../TestUtil';
import { PackageRegistryEntry } from '../../extension/registries/PackageRegistryEntry';
import { VS... | the_stack |
import { Expr, query as q } from 'faunadb';
import { TS_2500_YEARS } from '~/consts';
import * as helpers from '~/helpers';
import { FactoryRuleDefinition, FactoryRuleDefinitionPaths } from '~/types/factory/factory.rule';
import { Fauna, FaunaRef, FaunaRolePrivilege, FaunaRolePrivilegeActions, FaunaRolePrivilegeDefault... | the_stack |
import { LUA_REGISTRYINDEX } from 'fengari/src/defs';
import { lua_State } from 'fengari/src/lstate';
import { lua_register, lua_pushinteger, lua_pushnumber, lua_pushstring, lua_pushlightuserdata, lua_touserdata, lua_pushboolean, lua_pushnil, lua_toboolean } from 'fengari/src/lapi';
import { luaL_checkstring, luaL_chec... | the_stack |
import { Vector } from './vector';
import { Matrix } from './matrix';
import { Plane } from './plane';
import { Sylvester, DimensionalityMismatchError, InvalidOperationError } from './sylvester';
import {
isSegmentLike,
isPlaneLike,
isLineLike,
isVectorOrListLike,
VectorOrList,
Geometry,
} from './likeness'... | the_stack |
import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import { Observable, ReplaySubject, BehaviorSubject } from 'rxjs';
import { SubsetConstraints } from '@vimtur/common';
import { AlertService } from 'ap... | the_stack |
import { dirname, extname, join, posix, SEP } from "../deps/path.ts";
import { copy, emptyDir, ensureDir, exists } from "../deps/fs.ts";
import { gray } from "../deps/colors.ts";
import { createHash } from "../deps/hash.ts";
import SiteSource from "./source.ts";
import ScriptRunner from "./scripts.ts";
import Performan... | the_stack |
import * as assert from 'assert'
import * as parser from './parser'
import { toInternalContext } from './context'
import { ok, isErr } from './result'
describe('parser', function() {
it('parses numbers in preference to unary ops', () => {
const opts = toInternalContext({ })
// Make sure '-' and '+... | the_stack |
import * as moment from 'moment';
import * as React from 'react';
import styles from './TaskCard.module.scss';
import * as strings from 'MyTasksWebPartStrings';
import {
DocumentCard,
DocumentCardTitle,
Facepile,
Icon,
IconButton,
IFacepilePersona,
Link,
MessageBar,
MessageBarType,
OverflowButtonTyp... | the_stack |
import * as React from 'react';
import { ITreeNode, Tree, Icon, Intent, Classes, IconName, ProgressBar } from '@blueprintjs/core';
import { AppState } from '../state/appState';
import { inject } from 'mobx-react';
import { Batch } from '../transfers/batch';
import { reaction, toJS, IReactionDisposer, IObservableArray }... | the_stack |
import chain from "@rill/chain";
import HttpError from "@rill/error";
import {
createServer,
IncomingMessage,
METHODS,
Server,
ServerResponse
} from "@rill/http";
import { createServer as createSecureServer } from "@rill/https";
import { parse, tokensToRegExp } from "path-to-regexp";
import { Types as T } fro... | the_stack |
import React from 'react';
import { FormDialog, FormLayout } from '@formily/antd';
import { observer } from '@formily/react';
import { Menu, Dropdown, Button } from 'antd';
import { PlusOutlined, LinkOutlined } from '@ant-design/icons';
import { ISchema, useDesignable, useSchemaPath } from '../';
import { uid } from '@... | the_stack |
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* -----------------------------... | the_stack |
import { Registry } from 'vs/platform/registry/common/platform';
import { localize } from 'vs/nls';
import { MenuRegistry, MenuId, registerAction2 } from 'vs/platform/actions/common/actions';
import { IConfigurationRegistry, Extensions as ConfigurationExtensions, ConfigurationScope } from 'vs/platform/configuration/com... | the_stack |
import fs, { existsSync, lstatSync, readdirSync } from 'fs'
import path from 'path'
import * as esbuild from 'esbuild'
import shell from 'shelljs'
import glob from 'glob'
import util from 'util'
import { config } from './config'
import { StatementType, TaggedExpression } from '../types/expressions'
import { evalFQLCode... | the_stack |
* @module Content
*/
import { assert, IDisposable, using } from "@itwin/core-bentley";
import { CategoryDescription } from "./Category";
import { Content } from "./Content";
import { Descriptor } from "./Descriptor";
import { Field, NestedContentField } from "./Fields";
import { Item } from "./Item";
import { Propert... | the_stack |
import { Transaction } from "@ledgerhq/hw-app-btc/lib/types";
import * as core from "@shapeshiftoss/hdwallet-core";
import Base64 from "base64-js";
import * as bchAddr from "bchaddrjs";
import * as bitcoin from "bitcoinjs-lib";
import * as bitcoinMsg from "bitcoinjs-message";
import _ from "lodash";
import { LedgerTra... | the_stack |
import { EventEmitter } from "events";
import { Lexeme } from "./Lexeme";
import { Token, Location, Comment } from "./Token";
import { ReservedWords, KeyWords } from "./ReservedWords";
import { BrsError } from "../Error";
import { isAlpha, isDecimalDigit, isAlphaNumeric, isHexDigit } from "./Characters";
import { Brs... | the_stack |
import { SchemaRetriever } from 'thingtalk';
import * as Stream from 'stream';
import * as I18n from '../../lib/i18n';
import { ParaphraseValidator, Statistics } from '../../lib/dataset-tools/mturk/validator';
export interface ParsedParaphrase {
id : string;
synthetic_id : string;
synthetic : string;
... | the_stack |
import * as React from 'react';
import styles from './StockInformation.module.scss';
import { IStockInformationProps } from './IStockInformationProps';
import { IStockInformationState } from './IStockInformationState';
import { escape } from '@microsoft/sp-lodash-subset';
// import strings from localized resources
imp... | the_stack |
import { Enums } from "@arkecosystem/platform-sdk";
import { Contracts } from "@arkecosystem/platform-sdk-profiles";
// @README: This import is fine in tests but should be avoided in production code.
import { ReadOnlyWallet } from "@arkecosystem/platform-sdk-profiles/distribution/read-only-wallet";
import { translation... | the_stack |
import {Mutable, Class, Proto, Arrays, ObserverType, Observable, ObserverMethods, ObserverParameters} from "@swim/util";
import {FastenerContext} from "../fastener/FastenerContext";
import type {Fastener} from "../fastener/Fastener";
import type {ServiceObserver} from "./ServiceObserver";
/** @public */
export class S... | the_stack |
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use t... | the_stack |
import assert from 'assert';
import * as smt from 'smtlib';
import * as Ast from './ast';
import Type, { EnumType, EntityType, ArrayType } from './type';
import * as BuiltinDefs from './operators';
import * as BuiltinOps from './runtime/primitive_ops';
import SchemaRetriever from './schema';
import { flipOperator } fr... | the_stack |
import { expect } from "chai";
import * as faker from "faker";
import * as moq from "typemoq";
import { DbResult, Id64, Id64String } from "@itwin/core-bentley";
import { DrawingGraphic, ECSqlStatement, ECSqlValue, Element, IModelDb, IModelHost } from "@itwin/core-backend";
import { ElementProps, EntityMetaData, IModelE... | the_stack |
import { Component, OnChanges, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormArray } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { AppService } from '../app.service';
import { AlertService } from '../alert/alert.service';
import { Vulnerabili... | the_stack |
'use strict'
import * as crypto from 'crypto'
import { isNull } from 'lodash'
import * as moment from 'moment'
import { Term } from 'rdf-js'
import * as uuid from 'uuid/v4'
import { rdf } from '../../utils'
/**
* Return a high-orderpply a Hash function to a RDF
* and returns the corresponding RDF Literal
* @param... | the_stack |
import { camelCase } from "lodash"
import { GraphQLSchema, GraphQLOutputType } from "graphql"
import { ActionCreator } from "redux"
import { ThunkAction } from "redux-thunk"
import report from "gatsby-cli/lib/reporter"
import { parseTypeDef } from "../../schema/types/type-defs"
import {
GraphQLFieldExtensionDefinitio... | the_stack |
import React, { FC, useState, useEffect, useContext, Fragment } from 'react'
import {
Table,
TableBody,
TableCell,
TableContainer,
TableHead,
TableRow as MuiTableRow,
Typography,
Box,
} from '@material-ui/core'
import AppContext, { activeRGBSelectorRange } from "../AppContext"
import { m... | the_stack |
import { MetricInterface } from "../../types/metric";
import {
DataSourceSettings,
DataSourceProperties,
} from "../../types/datasource";
import {
ImpactEstimationResult,
MetricValueParams,
SourceIntegrationInterface,
ExperimentMetricQueryParams,
PastExperimentParams,
PastExperimentResponse,
Experimen... | the_stack |
import type { Host } from './sandbox'
import { InspectOptions } from 'util'
declare global {
const host: typeof Host
}
declare const GLOBAL: any
interface Builtin {
// built-in classes
Object: typeof Object
Array: typeof Array
String: typeof String
Number: typeof Number
Boolean: typeof Boolean
Functi... | the_stack |
import yaml from 'yaml';
import { fromJS } from 'immutable';
import deepmerge from 'deepmerge';
import { produce } from 'immer';
import { trimStart, trim, isEmpty } from 'lodash';
import { SIMPLE as SIMPLE_PUBLISH_MODE } from '../constants/publishModes';
import { validateConfig } from '../constants/configSchema';
impo... | the_stack |
import assert = require('assert');
import asyncAssert from './asyncAssert';
import * as Path from 'path';
import { PerlDebuggerConnection, RequestResponse } from '../adapter';
import { LocalSession } from '../localSession';
import { LaunchRequestArguments } from '../perlDebug';
import { convertToPerlPath } from "../fil... | the_stack |
import models = require('./models');
import tl = require('azure-pipelines-task-lib/task');
import tr = require('azure-pipelines-task-lib/toolrunner');
import path = require('path');
import { Helper } from './helpers';
const uuid = require('uuid');
let perf = require('performance-now');
export class TestSelectorInvoker... | the_stack |
import IndexableArray from "indexable-array";
import { Memoize } from "@typescript-plus/fast-memoize-decorator/dist/src";
import Schema from "./schema";
import Index from ".";
import DbObject, { DbObjectConstructorArgs } from "./base/db-object";
import ForeignKey from "./constraint/foreign-key";
import Type from "./bas... | the_stack |
import * as React from 'react';
import * as _ from 'lodash';
import { Vector2d, Rect } from './geometry';
import { BUTTON_LEFT, KEY_CODE_DELETE, BUTTON_MIDDLE } from './constants';
import { Connection, InputPort, OutputPort, Size, Port, Node, Config } from './types';
import classNames from 'classnames';
import { NodeS... | the_stack |
'use strict';
import * as React from 'react';
import { connect } from 'react-redux';
import { ISearchResultProps } from 'chord/workbench/parts/mainView/browser/component/search/props/searchResult';
import { IStateGlobal } from 'chord/workbench/api/common/state/stateGlobal';
import SongItemView from 'chord/workbench/p... | the_stack |
import {Vector2} from 'three/src/math/Vector2';
import {Vector3} from 'three/src/math/Vector3';
import {Vector4} from 'three/src/math/Vector4';
import {TypedSopNode} from './_Base';
import {CoreGroup} from '../../../core/geometry/Group';
import {CoreMath} from '../../../core/math/_Module';
import {InputCloneMode} from ... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as path from 'path';
import * as glob from 'glob';
import * as autoprefixer from 'autoprefixer';
import * as postcss from 'postcss';
import { FileHelper, IFileResolver } from './FileHelper';
import { SassHelper } from './SassCompileHelper';
import { OutputWindo... | the_stack |
import { NetworkContext, Node as NodeTypes } from "@counterfactual/types";
import { Provider } from "ethers/providers";
import { SigningKey } from "ethers/utils";
import EventEmitter from "eventemitter3";
import log from "loglevel";
import { Memoize } from "typescript-memoize";
import { createRpcRouter } from "./api";... | the_stack |
// Generates the visual keyboard specific to each keyboard. (class="kmw-osk-inner-frame")
/// <reference path="visualKeyboard.ts" />
// Models keyboards that present a help page, rather than a standard OSK.
/// <reference path="helpPageView.ts" />
/// <reference path="emptyView.ts" />
namespace com.keyman.osk {
exp... | the_stack |
import { APIIAMResourceProvider, GraphQLAPIProvider, TransformHostProvider } from '@aws-amplify/graphql-transformer-interfaces';
import {
ApiKeyConfig,
AuthorizationConfig,
AuthorizationMode,
AuthorizationType,
CfnApiKey,
CfnGraphQLApi,
CfnGraphQLSchema,
GraphqlApiBase,
LogConfig,
OpenIdConnectConfi... | the_stack |
import { FolderOrNote, JoplinListNote } from '../model/FolderOrNote'
import * as vscode from 'vscode'
import { QuickPickItem, TreeView } from 'vscode'
import {
config,
folderExtApi,
noteActionApi,
noteApi,
noteExtApi,
PageUtil,
resourceApi,
searchApi,
tagApi,
TypeEnum,
} from 'joplin-api'
import { N... | the_stack |
namespace nvd3_test_candlestickChart {
var data = [{
values: [
{ "date": 15854, "open": 165.42, "high": 165.8, "low": 164.34, "close": 165.22, "volume": 160363400, "adjusted": 164.35 },
{ "date": 15855, "open": 165.35, "high": 166.59, "low": 165.22, "close": 165.83, "volume": 1077938... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.