text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { CommandInstance, CommandHandler, CommandBuilderDefinition, CommandBuilder, CommandHandlerCallback, FinishCommandHandler } from './command';
import { Dictionary } from './common-types';
import { Arguments as ParserArguments, DetailedArguments as ParserDetailedArguments, Configuration as ParserConfiguration, Opt... | the_stack |
import { BaseEslintEngine, EslintStrategy } from "../../../src/lib/eslint/BaseEslintEngine";
import {StaticDependencies} from "../../../src/lib/eslint/EslintCommons";
import { RuleTarget, ESRule, ESReport, RuleViolation } from '../../../src/types';
import { expect } from 'chai';
import { CLIEngine } from 'eslint';
impo... | the_stack |
import {ContextParser, ERROR_CODES, ErrorCoded, JsonLdContextNormalized,
Util as ContextUtil} from "jsonld-context-parser";
import * as RDF from "@rdfjs/types";
import {DataFactory} from "rdf-data-factory";
import {EntryHandlerContainer} from "./entryhandler/EntryHandlerContainer";
import {ParsingContext} from "./Par... | the_stack |
import type { RegExpVisitor } from "regexpp/visitor"
import type {
Alternative,
CapturingGroup,
Character,
CharacterClass,
CharacterSet,
Element,
Group,
Node,
QuantifiableElement,
Quantifier,
} from "regexpp/ast"
import type { AST } from "eslint"
import type { RegExpContext, Quan... | the_stack |
import * as React from 'react';
//import styles from '../../webparts/siteDesigns/components/SiteDesigns.module.scss';
import { ISiteScriptsProps } from './ISiteScriptsProps';
import { escape } from '@microsoft/sp-lodash-subset';
import { ListView, IViewField, SelectionMode, GroupOrder, IGrouping } from "@pnp/spfx-contr... | the_stack |
import { CancellationToken } from 'vscode-languageserver';
import * as AnalyzerNodeInfo from '../analyzer/analyzerNodeInfo';
import { AliasDeclaration, Declaration, DeclarationType, isAliasDeclaration } from '../analyzer/declaration';
import {
areDeclarationsSame,
createSynthesizedAliasDeclaration,
getDecl... | the_stack |
import { retrieve, ForcecodeCommand, getAnyNameFromUri } from '.';
import * as vscode from 'vscode';
import {
fcConnection,
codeCovViewService,
FCOauth,
FCConnection,
commandViewService,
dxService,
notifications,
FCFile,
ClassType,
PXMLMember,
getHomeDir,
} from '../services';
import { getFileName... | the_stack |
import * as coreClient from "@azure/core-client";
export type LimitJsonObjectUnion = LimitJsonObject | LimitObject;
/** Resource usage. */
export interface CurrentUsagesBase {
/**
* The resource ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: str... | the_stack |
import { h, Component } from 'preact';
import { bind } from '../../lib/initial-util';
import { inputFieldCheckedAsNumber, inputFieldValueAsNumber, preventDefault } from '../../lib/util';
import { EncodeOptions, WebPImageHint } from './encoder-meta';
import * as style from '../../components/Options/style.scss';
import C... | the_stack |
namespace ts.projectSystem {
describe("unittests:: tsserver:: rename", () => {
it("works with fileToRename", () => {
const aTs: File = { path: "/a.ts", content: "export const a = 0;" };
const bTs: File = { path: "/b.ts", content: 'import { a } from "./a";' };
const... | the_stack |
import { d3, c3, initChart } from './c3-helper'
describe('c3 chart axis', function() {
'use strict'
var chart
var args: any = {
data: {
columns: [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 50, 20, 10, 40, 15, 25],
['data3', 150, 120, 110, 140, 115, 125]
]
},
... | the_stack |
* Copyright 2020 Bonitasoft S.A.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | the_stack |
/// <reference types="activex-interop" />
declare namespace WIA {
/** String versions of globally unique identifiers (GUIDs) that identify common Device and Item commands. */
const enum CommandID {
wiaCommandChangeDocument = '{04E725B0-ACAE-11D2-A093-00C04F72DC3C}',
wiaCommandDeleteAllItems = '... | the_stack |
import type { RegExpVisitor } from "regexpp/visitor"
import type { CapturingGroup, Element } from "regexpp/ast"
import type { RegExpContext } from "../utils"
import { createRule, defineRegexpVisitor } from "../utils"
import { createTypeTracker } from "../utils/type-tracker"
import type { KnownMethodCall, ReferenceEleme... | the_stack |
import {
BehaviorSubject,
Observable,
Subject,
} from "rxjs";
import {
bufferCount,
distinctUntilChanged,
filter,
first,
map,
pairwise,
publishReplay,
refCount,
scan,
share,
startWith,
switchMap,
tap,
withLatestFrom,
} from "rxjs/operators";
import {... | the_stack |
import {
Accessory, AccessoryEventTypes, Bridge,
Categories,
Characteristic,
CharacteristicEventTypes,
Controller,
ControllerIdentifier,
ControllerServiceMap,
Service,
uuid
} from '..';
class TestController implements Controller {
controllerId(): ControllerIdentifier {
return "test-id";
}
... | the_stack |
import { Injectable, Autowired } from '@opensumi/di';
import {
ILogger,
isOSX,
Emitter,
Event,
CommandRegistry,
ContributionProvider,
IDisposable,
Disposable,
formatLocalize,
CommandService,
isUndefined,
} from '@opensumi/ide-core-common';
import { ContextKeyExpression } from '@opensumi/monaco-edi... | the_stack |
import { commands, scm, window, Uri, Disposable, SourceControl, SourceControlResourceState, SourceControlResourceGroup, Event, EventEmitter, ProviderResult, workspace } from 'vscode';
import { Model } from './scm/Model';
import { Resource } from './scm/Resource';
import { Status } from './scm/Status';
import { mapEvent... | the_stack |
import convertBitRange from './convertbitrange';
const dxt4to8 = convertBitRange(4, 8);
const dxt5to8 = convertBitRange(5, 8);
const dxt6to8 = convertBitRange(6, 8);
const dx1colors = new Uint8Array(16);
const dx3colors = new Uint8Array(12);
const dx5alphas = new Uint8Array(8);
const red = new Uint8Array(8);
const gre... | the_stack |
import { getLanguageSetting } from './sql-setting';
const keepTokenType = new Set([
'KEYWORD',
'BRACKET',
'SEMI',
'VARIABLE',
'NUMBER',
]);
// We look for actual table name table these keyword
const tableKeyWord = new Set(['table', 'from', 'join', 'into']);
// if it is 'distinct from' then it is n... | the_stack |
import type { BaseProvider } from '@ethersproject/providers';
import type { Signer } from '@ethersproject/abstract-signer';
import invariant from 'tiny-invariant';
import warning from 'tiny-warning';
import {
buildOrder as _buildOrder,
signOrder as _signOrder,
fillSignedOrder as _fillSignedOrder,
approveAsset a... | the_stack |
import * as d3 from 'd3';
export interface Node {
// ID of the g element in SVG graph containing all the link elements.
gID: string;
DONUTS_MARGIN: number;
DONUT_WIDTH: number;
NODE_MAX_CHARS: number;
NODE_TITLE_MAX_CHARS: number;
// Number of nodes displayed per page during value select... | the_stack |
import { ParamDefinition as PD } from '../../mol-util/param-definition';
import { Grid, Volume } from '../../mol-model/volume';
import { VisualContext } from '../visual';
import { Theme, ThemeRegistryContext } from '../../mol-theme/theme';
import { Mesh } from '../../mol-geo/geometry/mesh/mesh';
import { computeMarchin... | the_stack |
import { assertNever } from "../../assert";
import * as functionless_event_bridge from "../types";
/**
* These are simplified and better structured interfaces/types to make it easier to work with Event Bridge Patterns.
* Use the {@link patternToEventBridgePattern} to generate a valid object for event bridge.
*
* A... | the_stack |
import * as R from "ramda";
import {
decryptedEnvsStateProducer,
fetchLoadedEnvs,
fetchPendingEnvs,
} from "../lib/envs";
import { Client, Api, Model } from "@core/types";
import { clientAction, dispatch } from "../handler";
import { pick } from "@core/lib/utils/pick";
import { getAuth } from "@core/lib/client";
... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Represents an Address resource.
*
* Each virtual machine instance has an ephemeral internal IP address and,
* optionally, an external IP address. To communicate between instances on
* the same network, you can use an instan... | the_stack |
import { Component, ReactNode } from 'react';
declare function ReactReconciler<Type, Props, Container, Instance, TextInstance, HydratableInstance, PublicInstance, HostContext, UpdatePayload, ChildSet, TimeoutHandle, NoTimeout>(
// tslint:disable-next-line:no-unnecessary-generics
config: ReactReconciler.HostCon... | the_stack |
import * as vscode from 'vscode';
import * as path from 'path';
import * as fs from 'fs-extra';
import {
dxService,
FCOauth,
FCConnection,
getHomeDir,
notifications,
saveConfigFile,
readConfigFile,
SFDX,
checkConfig,
enterCredentials,
getVSCodeSetting,
containerService,
} from '.';
const jsforce... | the_stack |
import React, { useEffect, useRef, useState } from 'react';
import _ from 'lodash';
import { Block } from 'baseui/block';
import { useSnackbar, DURATION } from 'baseui/snackbar';
import { Check } from 'baseui/icon';
import { BiUpload } from 'react-icons/all';
import { Notification } from 'baseui/notification';
import ... | the_stack |
import {NgxPermissionsService} from '../service/permissions.service';
import {Component, ModuleWithProviders, NgModule, NgModuleFactoryLoader} from '@angular/core';
import {Route, Router, RouterModule} from '@angular/router';
import {Location} from '@angular/common';
import {ComponentFixture, fakeAsync, inject, TestBed... | the_stack |
/// <reference types="node" />
export = massive;
declare function massive(connection: massive.ConnectionInfo | string,
loaderConfig?: massive.Loader,
driverConfig?: object): Promise<massive.Database>;
declare namespace massive {
type UUID = number | string;
... | the_stack |
import { Container } from './Container';
import { createToken } from './createToken/createToken';
describe('DI Container', () => {
it('Использование useValue провайдеров', () => {
const container = new Container();
const stringToken = createToken('stringToken');
const stringPayload = '__value__';
co... | the_stack |
import * as React from "react"
import * as ReactDOM from "react-dom"
import * as Immutable from "immutable"
import * as i18next from 'i18next'
import {C, Mode, Cont, CmdCommon, Context, make_C, unit, bind} from './core'
import {div, a} from './html'
import {bool} from './primitives'
export type RepeatProps<A> = { kin... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Accounts } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { CognitiveServicesManagementClient } from "../c... | the_stack |
import {
Provider,
EProviders,
ISelectEvent,
IContextMenuEvent,
EActions,
IDoubleclickEvent,
} from './provider';
import { Subject, Observable, Subscription } from 'rxjs';
import { Session } from '../../../../controller/session/session';
import { KeyboardListener } from './keyboard.listener';
im... | the_stack |
import * as Cmd from '../cmd'
import { Init, normalize, Context, Component, CmdType } from '../index'
export * from './hash'
export * from './memoize'
import {
set,
merge,
setDeep,
setDeepMutable,
get,
isFn,
noop,
isPojo,
clone,
OverrideLength,
weakVal,
} from '../utils'
import {
ActionReturn,
... | the_stack |
import Vue, { Component, CreateElement, VNode, VNodeData } from 'vue';
import { ViewActionType } from '../interface/common';
import { RouteInfo, Router, RouteEventType } from '../interface/router';
import invokeHook from '../utils/invokeHook';
interface Data {
routeInfo?: RouteInfo<Component>;
preRouteInfo?: Route... | the_stack |
import { Component } from '@angular/core';
import { AppConstants } from 'app.constants';
import { CreatorDashboardBackendApiService } from 'domain/creator_dashboard/creator-dashboard-backend-api.service';
import { CreatorDashboardConstants } from './creator-dashboard-page.constants';
import { RatingComputationService }... | the_stack |
import * as util from 'util'
import { HttpKit } from '@tnwx/kits'
import { AccessToken, QyAccessTokenApi } from '@tnwx/accesstoken'
/**
* @author Javen
* @copyright javendev@126.com
* @description 外部联系人管理
*/
export class QyExContact {
private static getFollowUserListUrl = 'https://qyapi.weixin.qq.com/cgi-bin/exte... | the_stack |
import {
PropertyFactory, BaseProperty,
ArrayProperty, MapProperty, SetProperty, NodeProperty,
} from "@fluid-experimental/property-properties";
import { PropertyProxy } from "..";
import {
vector2DTemplate, vector3DTemplate, enumUnoDosTresTemplate,
bookDataTemplate, collectionConstants, genericTempla... | the_stack |
import { AppState } from "./AppState";
import { Constants as C } from "./Constants";
import { PropsIntf } from "./intf/PropsIntf";
import * as J from "./JavaIntf";
import { PubSub } from "./PubSub";
import { Singletons } from "./Singletons";
import { PropTable } from "./widget/PropTable";
import { PropTableCell } from ... | the_stack |
import {
ILayoutRestorer, JupyterFrontEnd, JupyterFrontEndPlugin,
} from "@jupyterlab/application";
import {
Dialog, ICommandPalette, showDialog,
} from "@jupyterlab/apputils";
import {
PageConfig,
} from "@jupyterlab/coreutils";
import {
IDocumentManager,
} from "@jupyterlab/docmanager";
import {
Menu,
}... | the_stack |
import {HtmlString, IHtmlElement, removeAllChildren} from "../ui/ui";
import {ContextMenu, SubMenu, TopMenu} from "../ui/menu";
import {FindBar} from "../ui/findBar";
import {BaseReceiver, BigTableView} from "../modules";
import {FullPage, PageTitle} from "../ui/fullPage";
import {
assert,
Converters,
forma... | the_stack |
import {
GeoBox,
GeoCoordinates,
GeoCoordinatesLike,
MathUtils,
OrientedBox3,
Projection,
ProjectionType,
sphereProjection,
TileKeyUtils,
Vector2Like,
Vector3Like
} from "@here/harp-geoutils";
import { GeoCoordLike } from "@here/harp-geoutils/lib/coordinates/GeoCoordLike";
im... | the_stack |
/**
* NOTE(jalextowle): This comment must be here so that typedoc knows that the above
* comment is a module comment
*/
import Dexie from 'dexie';
import { BatchingDatastore } from './datastore';
export type Record = Order | MiniHeader | Metadata;
export interface Options {
dataSourceName: string;
maxOrd... | the_stack |
import Logger from '@storefront-api/lib/logger'
const Magento2Client = require('magento2-rest-client').Magento2Client;
const config = require('config')
const redis = require('@storefront-api/lib/redis');
const redisClient = redis.getClient(config)
const countryMapper = require('@storefront-api/lib/countrymapper')
con... | the_stack |
import { defaultErrorMap, ZodErrorMap } from "./defaultErrorMap.ts";
import { INVALID, util } from "./helpers/util.ts";
import { NOSET, PseudoPromise } from "./PseudoPromise.ts";
// import { inputSchema } from "../types/base/output-schema";
import { ZodType, RefinementCtx } from "./index.ts";
// type adsf = RefinementC... | the_stack |
import { State as SettingsState } from 'src/modules/settings'
import { RootStackParamList } from 'src/modules/navigation'
import { StackNavigationProp } from '@react-navigation/stack'
import { RouteProp } from '@react-navigation/native'
// reduxjs/toolkit
import { TxReceiveActions } from 'src/modules/tx/receive'
impo... | the_stack |
import { Value, Block, BlockKind, Fun, BranchPrediction } from './ssa'
import { phielimValue } from './phielim'
import { copyelim } from './copyelim'
import { ops, opinfo } from "./ops"
// import { printir } from './repr'
// import { debuglog as dlog } from '../util'
const dlog = function(..._ :any[]){} // silence dlo... | the_stack |
'use strict';
/* Directive tells jshint that suite and test are globals defined by mocha */
/* global suite */
/* global test */
import * as _ from "underscore";
import * as assert from "assert";
const async = require("async");
const util = require('./util/util');
const cp = util.commonParameters;
const testRequire ... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormBooking_Journal_Mobile {
interface tab_f1tab_journalDetails_Sections {
f1tab_journalDetails_section_3: DevKit.Controls.Section;
f1tab_journalDetails_section_4: DevKit.Controls.Section;
f1tab_journalDetails_section_jour... | the_stack |
import {
Component,
QueryList,
Input,
HostListener,
ContentChildren,
AfterContentInit,
ElementRef,
TemplateRef,
OnChanges,
SimpleChanges,
ChangeDetectorRef,
ViewChild,
OnInit
} from "@angular/core";
import { Subscription } from "rxjs";
import { EventService } from "carbon-components-angular/utils";
impor... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormCampaign_Activity {
interface Header extends DevKit.Controls.IHeader {
/** Unique identifier of the user or team who owns the activity. */
OwnerId: DevKit.Controls.Lookup;
/** Select the priority so that preferred cust... | the_stack |
import { IMathematicsHelper } from "./IMathematicsHelper";
import { Utility } from "../../utility/Utility";
export class MathematicsHelper implements IMathematicsHelper {
public static epsilon: number = Utility.epsilon;
public static epsilonUp: number = 1 - MathematicsHelper.epsilon;
public static epsil... | the_stack |
import {v4} from 'uuid';
import {memoize, throttle} from 'lodash';
import {promiseSleep} from './promiseSleep';
import {CommsNode, CommsNodeCallbacks, CommsNodeOptions, SendToOptions} from './commsNode';
import {closeMessage} from './peerMessageHandler';
export enum McastMessageType {
connect = 'connect',
oth... | the_stack |
import * as _ from 'lodash';
import * as pixelWidth from 'string-pixel-width';
import {
Component,
ElementRef,
EventEmitter,
Injector,
Input,
OnDestroy,
OnInit,
Output,
ViewChild
} from '@angular/core';
import {Alert} from '@common/util/alert.util';
import {AbstractPopupComponent} from '@common/compon... | the_stack |
import 'styling/_Sort';
import { exportGlobally } from '../../GlobalExports';
import { IBuildingQueryEventArgs, IQueryErrorEventArgs, IQuerySuccessEventArgs, QueryEvents } from '../../events/QueryEvents';
import { Assert } from '../../misc/Assert';
import { MODEL_EVENTS } from '../../models/Model';
import { QUERY_STATE... | the_stack |
import { addCallback, getCollection } from '../vulcan-lib';
import { restrictViewableFields } from '../vulcan-users/permissions';
import SimpleSchema from 'simpl-schema'
import { getWithLoader } from "../loaders";
import { isServer } from '../executionEnvironment';
import { asyncFilter } from './asyncUtils';
import typ... | the_stack |
import { Component, OnInit, Input, ElementRef, Inject } from '@angular/core';
import * as d3 from 'd3-selection';
import * as d3Scale from "d3-scale";
import * as d3Shape from "d3-shape";
import * as d3Array from "d3-array";
import * as d3Format from "d3-time-format";
import * as d3Time from "d3-time";
import * as d3A... | the_stack |
import { checkBehavior, failedExecuteInvalidEnumValue, scrollingElement } from "./common.js";
import type { IScrollConfig } from "./scroll-step";
import { elementScroll } from "./scroll.js";
const enum ScrollAlignment {
ToEdgeIfNeeded,
CenterAlways,
LeftOrTop,
RightOrBottom,
}
const enum WritingMode {... | the_stack |
import type { b64string } from '@tanker/crypto';
import { tcrypto, utils } from '@tanker/crypto';
import { InvalidArgument } from '@tanker/errors';
import { _deserializePublicIdentity, _splitProvisionalAndPermanentPublicIdentities, _serializeIdentity, assertTrustchainId } from '../Identity';
import type { PublicPerman... | the_stack |
import { Kind } from 'graphql/language';
import { GraphQLNonNegativeFloat } from '../src/scalars/NonNegativeFloat';
import { GraphQLUnsignedFloat } from '../src/scalars/UnsignedFloat';
describe('NonNegativeFloat', () => {
describe('valid', () => {
describe('greater than zero', () => {
describe('as float',... | the_stack |
'use strict';
import { OidcProfile, WickedApiScopes, WickedUserInfo, WickedPool, WickedSubscriptionInfo, WickedApi } from "wicked-sdk";
import { AuthRequest, ValidatedScopes, TokenRequest, AccessTokenCallback, AuthResponse, OAuth2Request, AccessToken } from "./types";
const async = require('async');
const { debug, in... | the_stack |
// launchAsync.ts needs to read VERSION (which is passed in from package.json via webpack)
(window as any).VERSION = '000.000.000';
import { launchAsync } from '../src/immersive-reader-sdk';
import { isValidSubdomain } from '../src/launchAsync';
import { Content } from '../src/content';
import { CookiePolicy, Options ... | the_stack |
import {
AbstractView, Component, ComponentClass,
ReactElement, ReactInstance, ClassType,
DOMElement, SFCElement, CElement,
ReactHTMLElement, DOMAttributes, SFC
} from 'react';
import * as ReactTestUtils from ".";
export interface OptionalEventProperties {
bubbles?: boolean;
cancelable?: boole... | the_stack |
import { Cache } from "@siteimprove/alfa-cache";
import { Device } from "@siteimprove/alfa-device";
import { Node, Element, Namespace } from "@siteimprove/alfa-dom";
import { Iterable } from "@siteimprove/alfa-iterable";
import { Map } from "@siteimprove/alfa-map";
import { Mapper } from "@siteimprove/alfa-mapper";
imp... | the_stack |
import fs from 'fs-extra';
import path from 'path';
import chalk from 'chalk';
import inquirer from 'inquirer';
import importGlobal from 'import-global';
import importFrom from 'import-from';
import { DynamoDBModelTransformer } from 'graphql-dynamodb-transformer';
import { ModelAuthTransformer } from 'graphql-auth-tran... | the_stack |
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Templates } from './templates';
/**
* Multi locale Template Manager for language generation. This template manager will enumerate multi-locale LG files and will select
* the appropriate template using... | the_stack |
import { ComponentClass } from 'react'
import Taro, { Component } from '@tarojs/taro'
import { View, Image } from '@tarojs/components'
import tool from '../../utils/tool'
import './index.less'
import loading from '../../assets/images/pic_loading.png'
import scale from '../../assets/images/scale.png'
type ComponentStat... | the_stack |
import Chunk from '../Chunk';
import Graph from '../Graph';
import Module from '../Module';
import {
EmittedChunk,
FilePlaceholder,
NormalizedInputOptions,
NormalizedOutputOptions,
OutputBundleWithPlaceholders,
WarningHandler
} from '../rollup/types';
import { BuildPhase } from './buildPhase';
import { createHash... | the_stack |
const Service = require('egg').Service;
import moment = require('moment');
import _ = require('lodash');
import { ForbiddenError } from 'apollo-server';
module.exports = class OrderService extends Service {
ctx: any;
app: any;
constructor(ctx) {
super(ctx);
}
// 获取
async fetch(params) {
const { ctx... | the_stack |
import {runIfMain} from "../../deps/mocha.ts";
import {expect} from "../../deps/chai.ts";
import {Post} from "./entity/Post.ts";
import {Guest as GuestV1} from "./entity/v1/Guest.ts";
import {Comment as CommentV1} from "./entity/v1/Comment.ts";
import {Guest as GuestV2} from "./entity/v2/Guest.ts";
import {Comment as C... | the_stack |
import BalenaAuth from 'balena-auth';
import { getRequest } from 'balena-request';
import * as mockttp from 'mockttp';
import { expect } from 'chai';
import { IS_BROWSER } from './integration/setup';
import tokens from './data/tokens';
import { createPinejsClient } from '../lib/pine';
const mockServer = mockttp.getLoc... | the_stack |
* Copyright 2020 Bonitasoft S.A.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | the_stack |
import { Document } from "../../Document";
import { Helper, RTFJSError } from "../../Helper";
import { RenderChp } from "../../renderer/RenderChp";
import { Renderer } from "../../renderer/Renderer";
import { RenderPap } from "../../renderer/RenderPap";
import { Chp, GlobalState, Pap, Sep } from "../Containers";
import... | the_stack |
import * as express from "express";
import * as _ from "lodash";
import { Types } from "mongoose";
import * as remote from "remote-file-size";
import * as auth from "../lib/auth";
import Episode from "../models/episode";
import Podcast, { IPodcast } from "../models/podcast";
import * as parsePodcast from "node-podcast... | the_stack |
import _ from 'lodash';
import { describe, beforeEach, it, expect } from '../../../../../test/lib/common';
import TimeSeries from 'app/core/time_series2';
import {
convertToHeatMap,
convertToCards,
histogramToHeatmap,
calculateBucketSize,
isHeatmapDataEqual,
} from '../heatmap_data_converter';
import { Heatma... | the_stack |
/// <reference types="angular" />
declare module 'AngularFormly' {
export = AngularFormly;
}
declare module 'angular-formly' {
var angularFormlyDefaultExport: string;
export = angularFormlyDefaultExport;
}
declare namespace AngularFormly {
interface IFieldArray extends Array<IFieldConfigurationObjec... | the_stack |
import { createAttributeBuffers, ElementsBuffer, AttributeKind } from './buffer';
import { createTextures, Texture, Textures } from './texture';
import { WebGLContext, checkError } from './context';
import { ShaderCode, DefineValues } from '../shader-code';
import { Program } from './program';
import { RenderableSchema... | the_stack |
import { ErrorHandler, LogHandler, LogLevel, LoggerFacade } from '@optimizely/js-sdk-logging';
import { EventProcessor } from '@optimizely/js-sdk-event-processor';
import { NotificationCenter } from '@optimizely/js-sdk-utils';
import { ProjectConfig } from './core/project_config';
export interface BucketerParams {
... | the_stack |
import Client from '../client'
import Event from '../event'
import Session from '../session'
import breadcrumbTypes from '../lib/breadcrumb-types'
import { BreadcrumbType } from '../types/common'
const noop = () => {}
const id = <T>(a: T) => a
describe('@bugsnag/core/client', () => {
describe('constructor', () => {... | the_stack |
* Autogenerated by @creditkarma/thrift-typescript v3.7.2
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
import * as thrift from 'thrift';
import * as BsonType from './BsonType';
import * as DateType from './DateType';
import * as DecimalType from './DecimalType';
import * as EnumType from './En... | the_stack |
import { Path } from './util/Path';
import { ChildrenNode } from './snap/ChildrenNode';
import { NamedNode, Node } from './snap/Node';
import { CacheNode } from './view/CacheNode';
import { Index } from './snap/indexes/Index';
/**
* Defines a single user-initiated write operation. May be the result of a set(), t... | the_stack |
import * as vscode from "vscode";
import { Packager } from "../common/packager";
import { RNPackageVersions } from "../common/projectVersionHelper";
import { ExponentHelper } from "./exponent/exponentHelper";
import { ReactDirManager } from "./reactDirManager";
import { SettingsHelper } from "./settingsHelper";
import ... | the_stack |
import { DebugElement } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { of } from 'rxjs';
import { FormService } from '../../../services/form.service';
import { ProcessContentService } from '../../../services/process-conte... | the_stack |
// PRIVATE FUNCTIONS
// -----------------
function _x86Multiply(m: number, n: number) {
//
// Given two 32bit ints, returns the two multiplied together as a
// 32bit int.
//
return (m & 0xffff) * n + ((((m >>> 16) * n) & 0xffff) << 16);
}
function _x86Rotl(m: number, n: number) {
//
// Given a 32bit in... | the_stack |
import { distinct } from 'vs/base/common/arrays';
import { RunOnceWorker } from 'vs/base/common/async';
import { CancellationToken } from 'vs/base/common/cancellation';
import { Emitter, Event } from 'vs/base/common/event';
import { match } from 'vs/base/common/glob';
import { Disposable } from 'vs/base/common/lifecycl... | the_stack |
type Pow2 = number;
const STATE_FREE = 0;
const STATE_USED = 1;
const STATE_TOP = 2;
const STATE_END = 3;
const STATE_ALIGN = 4;
const STATE_FLAGS = 5;
const STATE_MIN_SPLIT = 6;
const MASK_COMPACT = 1;
const MASK_SPLIT = 2;
const SIZEOF_STATE = 7 * 4;
const MEM_BLOCK_SIZE = 0;
const MEM_BLOCK_NEXT = 1;
const SIZE... | the_stack |
import { Vector2, Vector3, Vector4 } from "@oasis-engine/math";
import { Logger } from "../base/Logger";
import { Camera } from "../Camera";
import { Engine } from "../Engine";
import { Material } from "../material/Material";
import { Renderer } from "../Renderer";
import { IHardwareRenderer } from "../renderingHardwar... | the_stack |
module Kiwi.Utils {
/**
* Utility class used to make color management more transparent.
* Color objects hold color and alpha values, and can get or set them
* in a variety of ways.
*
* Construct this object in one of the following ways.
*
* - Pass 3 or 4 numbers to determine RGB or RGBA. If the numbers are in
... | the_stack |
import { Shape } from '../shapes/Shape'
import { Vec3 } from '../math/Vec3'
import { Transform } from '../math/Transform'
import { Quaternion } from '../math/Quaternion'
import { Body } from '../objects/Body'
import { AABB } from '../collision/AABB'
import { Ray } from '../collision/Ray'
import { Vec3Pool } from '../ut... | the_stack |
"use strict";
interface WebGLSoundDeviceSoundCheckCall
{
(): boolean;
};
interface WebGLSoundDeviceSourceMap
{
[id: string] : boolean;
};
//
// WebGLSound
//
class WebGLSound implements Sound
{
/* tslint:disable:no-unused-variable */
static version = 1;
/* tslint:enable:no-unused-variable */
... | the_stack |
const SchemaValidatorError = {
/**
* methods: PropertyFactory.register
* The context ‘set’ is only valid for properties that are instances of NamedProperties. If you want to
* use a context of ‘set’, make sure your template includes:
* Inherits: ‘NamedProperty’
* Or
* Inherits: [‘Named... | the_stack |
import EventEmitter from "eventemitter3";
import { ChannelQueue } from "@buttercup/channel-queue";
import { Layerr } from "layerr";
import Vault from "./Vault";
import Credentials from "../credentials/Credentials";
import { getCredentials } from "../credentials/channel";
import { getUniqueID } from "../tools/encoding";... | the_stack |
import * as AsyncLock from 'async-lock'
import {
DB,
SparseMerkleTree,
SparseMerkleTreeImpl,
MerkleTreeInclusionProof,
} from '@pigi/core-db'
import {
DefaultSignatureVerifier,
serializeObject,
SignatureVerifier,
BigNumber,
ONE,
ZERO,
getLogger,
runInDomain,
NULL_ADDRESS,
} from '@pigi/core-... | the_stack |
'use strict';
import * as path from 'path';
import * as fs from 'fs';
import * as _ from 'lodash';
import * as utils from './utils';
import * as cache from './cacheUtils';
import * as semver from 'semver';
import {Promise} from 'es6-promise';
export var grunt: IGrunt = require('grunt');
///////////////////////////
... | the_stack |
import * as assert from "assert";
import {
Aborter,
AccountSASPermissions,
AccountSASResourceTypes,
AccountSASServices,
AnonymousCredential,
BlobSASPermissions,
ContainerSASPermissions,
ContainerURL,
generateAccountSASQueryParameters,
generateBlobSASQueryParameters,
PageBlobURL,
ServiceURL,
S... | the_stack |
"use strict";
import { tokenize } from "protobufjs";
import vscode = require("vscode");
import { SyntacticGuessScope } from "./proto3SyntacticScopeGuesser";
let kwSyntax = createCompletionKeyword("syntax");
let kwPackage = createCompletionKeyword("package");
let kwOption = createCompletionKeyword("option");
let kwImp... | the_stack |
import { ArrayHelper, StringHelper } from "../ExtensionMethods";
import { ComplexProperty } from "./ComplexProperty";
import { Dictionary, StringKeyPicker } from "../AltDictionary";
import { DictionaryEntryProperty } from "./DictionaryEntryProperty";
import { DictionaryKeyType } from "../Enumerations/DictionaryKeyType"... | the_stack |
import { expect } from 'chai';
import { ethers } from 'hardhat';
import { describeFilter } from '@solidstate/library';
import { deployMockContract } from 'ethereum-waffle';
import { describeBehaviorOfERC165 } from '../../introspection';
import { ERC1155Base } from '../../../typechain';
import { SignerWithAddress } fro... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.