sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
2fb5329ba7b1a9a99e53b72076e7e0e08587306cc5ef2bfaa58226a6c8e1596f
TypeScript
1,001
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ed332b114af2ef798d95ed2c725473694c190eb5fe9f4c49af1497cf0c814940
TypeScript
1,001
48
export interface ViewerAnnotation { id: string position1: number[] position2: number[] name: string description: string type: string circular: boolean atlas: {name: string, id: string} template: {name: string, id: string} annotationVisible: boolean } export interface GroupedAnn...
621397af97e4775a1652dfe0e95b306900ff32d66af84452973e917977a56f54
TypeScript
1,002
39
import type { ReactNode } from "react"; import type { MSTObjectTag, MSTTagImage, RawResult } from "../../stores/types"; export type LabelColors = { value: string; border: string; color?: string; background: string; }; export type LabelCounts = LabelColors & { count: number; }; export type ControlTag = { ...
3149f62597e3035764ef30e3011a5a20acf0bb1174d077c4c41a54a955a81a74
TypeScript
1,003
31
/** * @jest-environment jsdom */ import {historyUrl} from './history'; import * as nsUtils from './namespaces'; describe('history URL', () => { test('namespace', () => { expect(historyUrl('foo/{namespace}', {namespace: 'my-ns'})).toBe('/foo/my-ns?'); expect(nsUtils.getCurrentNamespace()).toBe('my...
6400f12e40d3cdb6b23fee9f5e3db874780afe8c08f1b5371c7ab7b3b3529853
TypeScript
1,003
39
import { Component, Inject } from "@angular/core"; import { Observable, Subscription } from "rxjs"; import { distinctUntilChanged } from "rxjs/operators"; import { DARKTHEME } from "src/util/injectionTokens"; const imageDark = 'assets/logo/ebrains-logo-dark.svg' const imageLight = 'assets/logo/ebrains-logo-light.svg' ...
7ce331f0c7f74148122464eda1a2dfdbcd82b0326a0ae9bf1611a743151d512d
TypeScript
1,003
35
/** * @file Parser Loader * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import type { InferBondsOptions } from '../structure/structure-utils'; import Loader from './loader'; import { LoaderParameters, LoaderInput } from './loader-utils'; export interface ParserParams { voxelSize?: number;...
9e6ade1e636c544f862dbfb98ae775bf86487379b1197099675b28c195a77b8a
TypeScript
1,003
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
dec8338755dcb41788741456aabb0add3a31376ecfecaeb97ad90c8df578b9e4
TypeScript
1,003
38
// @ts-ignore import CM from "codemirror"; import tags from "@humansignal/core/lib/utils/schema/tags.json"; export function completeAfter(cm: CM.Editor, pred: () => boolean) { if (!pred || pred()) { setTimeout(() => { if (!cm.state.completionActive) cm.showHint({ completeSingle: false }); }, 100); } ...
788ae093b281771010f4e0a10335dffbf96e61bbbb681b8d00230a6373349e09
TypeScript
1,006
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
7ce53ff0f08b3ad66ee74938de4851012a76ccd6f3d957fddebd119c8d195278
TypeScript
1,006
36
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6
TypeScript
1,006
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
bf46ef1cfa36c8829ac24d12bd6a9ca429e6ff0062649917eb55c67ae5a1c801
TypeScript
1,006
37
import { Destructable } from "../Common/Destructable"; import { ComputeWorker } from "../Common/Worker"; export class SplitChannel extends Destructable { static usage = 0; channelCount = 1; static worker: ComputeWorker | undefined; constructor(channelCount: number) { super(); SplitChannel.usage++; ...
3044e04b904d2ae909eeccbfa650f7f3d256c17cf626629102d4558e0afb9631
TypeScript
1,007
41
/** * @file Component Collection * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import RepresentationElement from './representation-element' import Collection from './collection' import { GenericColor } from '../types' class RepresentationCollection extends Collection<RepresentationElement> ...
d6bb3735603c521f0b90391d4532ca57d675cb0343cb0a43e913b898b40490c6
TypeScript
1,007
21
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
73118b1a30869a267c7adf4ed50c30bb064190700a494e42ddb2392e65d8a4ab
TypeScript
1,008
27
import type { ResourceTypeExplorer } from '../../lib/resourceType'; import type { AssetHeaderProps } from '../components/AssetHeader'; import type { Asset, Relation } from '../typings/domain/asset'; function relationOf(asset: Asset): Relation | null { return 'relation' in asset ? (asset.relation ?? null) : null; } ...
9b54063a35ac647922012ccd9642d3c6da33ec5f4e72f20f91202b0c7657a333
TypeScript
1,009
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
3a5a5347bcad38e4d2b999284a998db623ad906873322ac615799d90c25ddf4d
TypeScript
1,010
36
/** * @file Alphafold Datasource * @author Fredric Johansson <fredric@fredricj.se> * @private */ import { Log, DatasourceRegistry } from '../globals' import { getFileInfo } from '../loader/loader-utils' import Datasource from './datasource' const baseUrl = '//alphafold.ebi.ac.uk/files/AF-' const suffix...
67f3003c13bdb4092adb0824672901fbac4e3efbc89fd30d46a19b871b768fd8
TypeScript
1,011
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
0c3f46656df1e23ed7ed6981783cab1f9aced5ac0777c72bd5dc6d682becf9be
TypeScript
1,012
38
/** * @file Pdb Writer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Writer from './writer'; import Structure from '../structure/structure'; export interface PdbWriterParams { renumberSerial: boolean; remarks: string[]; } /** * Create a PDB file from a Structure object */ exp...
f0f6775ceb77f17444a9c2351444246e5e6a3b384dc9c800e62b2991af6e559c
TypeScript
1,012
30
import Structure from '../../structure/structure'; import { Features } from './features'; import { Contacts } from './contact'; /** * Potential hydrogen donor */ export declare function addHydrogenDonors(structure: Structure, features: Features): void; /** * Weak hydrogen donor. */ export declare function addWeakHy...
185de2218dbcd45264efea86bb944fdcd72dbabf49ba7ee4a7bb4d5ecfd04f48
TypeScript
1,013
24
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a32f432b32dda4da0b0d9a231254f28d1bd93b450f87729cd55a478214ae3ba3
TypeScript
1,014
39
/** * @file Chainindex Colormaker * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ColormakerRegistry } from '../globals' import Colormaker, { StuctureColormakerParams, ColormakerScale, manageColor } from './colormaker' import AtomProxy from '../proxy/atom-proxy' import ModelProxy from...
787cf73ce2eae799fea675133d728b8e8c1c4ecb1ba0cb0be6b1cb4a6320c9e0
TypeScript
1,017
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c7dd55f3488dcf380b4ee339688c645b9a164028c0ecd76060bb7f1a12b3238a
TypeScript
1,018
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
213a8f8aab61117346f9fcd02c281bd3477a5bf44da8e504b1d593ea6fdd7fd0
TypeScript
1,019
46
/** * @file Json Parser * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ParserRegistry } from '../globals' import { defaults } from '../utils' import Parser, { ParserParameters } from './parser' import Streamer from '../streamer/streamer'; export interface JsonParserParameters extend...
6381c8b376490a8534305ca8b43a7c47686abd16cb423a19023e43927a60be62
TypeScript
1,019
26
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
f56ef73d5c026fe73b8988488ecd2d2de8abe077642b95da595d7616b4e07330
TypeScript
1,020
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
0ef5464160a34f748f13049c55c04f445421f0d3a2b57b57f1d881b041764aa5
TypeScript
1,022
43
import { ISpan, SerializedSpan, Span } from './span'; /** * Represents the spans and associated data for a trace */ export class TraceData { /** * The spans that make up this trace */ spans: ISpan[]; /** * Create a new TraceData instance * @param spans List of spans */ constructor(spans: ISpa...
4d8f27488ed42b40dd2281c3feb11984d342e2e1a4c3e43b3f019d25f11b77e8
TypeScript
1,022
39
import * as kubernetes from 'argo-ui/src/models/kubernetes'; import {Condition, WorkflowSpec} from './workflows'; export interface CronWorkflow { apiVersion?: string; kind?: string; metadata: kubernetes.ObjectMeta; spec: CronWorkflowSpec; status?: CronWorkflowStatus; } export type ConcurrencyPoli...
21926d8a7084688455ff3d0fded19f5abadf023b4675148be86aed47bd74419f
TypeScript
1,023
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
737f8a3ea7cde1cf8bc315b16002ffd3f029475bd5069a334e3c71b9ae8ad841
TypeScript
1,025
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
64c09b9b6311cb081a62ccaafe4744dec6a80c90a6ac9516c1148d17ada0c5d2
TypeScript
1,026
37
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a6c450870028000873b97146aaef955902da81b63018a34bbc02795453ef955d
TypeScript
1,026
24
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d42512b193310d55f7c153123807c59003a9feccd2e7e2abd5c226569f2072fb
TypeScript
1,027
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cb484655ae7f8573e0b5210f19feb3b32dd1f6a71e3d0cc916f73e2c16195389
TypeScript
1,028
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60
TypeScript
1,029
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
16b91107749b6abab127bfc445ece8c7c0963e684b7d4ee5017d1ef6cf4598bd
TypeScript
1,031
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1d242d5c24cf285c88bc4fb93c5ff903de8319064e282986edeb6247ba028d5e
TypeScript
1,032
23
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
807e0e0bdc67605dd28efe18f20ab5fcd75d944ef95936120702335f9379094b
TypeScript
1,032
23
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
c0e6750b9b8c3ce180828826f4b185ed64bda03e9bac5ec6d7fb205642586efe
TypeScript
1,032
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
df039a67536fe2acc3affdcbfb645892f842db36fe599e8e652e2f0c640a90d1
TypeScript
1,032
23
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
78fd7d7d41dd7873dd70166fcc79a052c3c8fa814db5375acb6b291ad53c0784
TypeScript
1,033
36
import { describe, expect, it } from "bun:test"; import { jsonPathToSegments, rowContextToNodeData } from "./node-data-adapter"; describe("node-data-adapter", () => { it("converts JSON paths to legacy nodeData path segments", () => { expect(jsonPathToSegments("$.annotations[0].id")).toEqual(["annotations", 0, "i...
d182003d12f49e902a818b8070641f5536f1621223bdbfeb52c24aea3c4e2ae8
TypeScript
1,033
22
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1d02fc00ba6ee0bff5f652a28527fdb6327708bbba26b2060ac0c36aa73f65cf
TypeScript
1,035
26
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
05027f9402a8eb0dbce732e435a796fa3bf874d3fc165c75a80acbaa3b499f6e
TypeScript
1,036
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
58d22c6af905eae7a9cd422630eb6ba0f1563f74864011c9ccb1e433e287dff9
TypeScript
1,036
50
/** * @file Atom Store * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Store, { StoreField } from './store' /** * Atom store */ export default class AtomStore extends Store { residueIndex: Uint32Array atomTypeId: Uint16Array x: Float32Array y: Float32Array z: Float32Array ...
feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569
TypeScript
1,036
23
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
677a41203359956a4beeaef69315cd3ec96c326452acf0873e2de2e14cc50404
TypeScript
1,037
41
export const textWithDualTaxonomyConfig = `<View> <Text name="text" value="$text"/> <Taxonomy name="category" toName="text" labeling="true"> <Choice value="Person"/> <Choice value="Organization"/> <Choice value="Location"/> <Choice value="Event"/> </Taxonomy> <Taxonomy name="sentiment" toName="t...
1f2ed874623d2cdf17ce5513d7e3a79375dffeeeefbe0c6ea19d71b1f2d2b949
TypeScript
1,039
44
/** * @file Picking Controls * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import PickingProxy from './picking-proxy' import Stage from '../stage/stage' import Viewer from '../viewer/viewer' /** * Picking controls */ class PickingControls { viewer: Viewer constructor (readonly stage:...
99a8feb175176d61a7c3d47c95f77a109b6dd997a1c63f8d27c8b1254a7c0a62
TypeScript
1,039
33
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d849078b70494d5a9ab3154da5eafa02aeb8be65035366ca7ea1ace6a6aa0ed4
TypeScript
1,039
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
dd1da61c8887bffec616c94ee337dbc25e587451f9177d6a8712f73c2d460698
TypeScript
1,039
33
/** * @file Atomindex Colormaker * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Colormaker, { StuctureColormakerParams, ColormakerScale } from './colormaker'; import AtomProxy from '../proxy/atom-proxy'; /** * Color by atom index. The {@link AtomProxy.index} property is used for colori...
fe075714ea7aa6471647817bc2db66d5b855fff406da7d2c2aad91bff7b2cbc4
TypeScript
1,039
35
import { AfterContentChecked, Component, ElementRef, Input, OnChanges, ViewChild } from "@angular/core"; import { readmoreAnimations } from "./readmore.animations"; @Component({ selector : 'readmore-component', templateUrl : './readmore.template.html', styleUrls : [ './readmore.style.css', ], animations ...
0e87634a27b2647c4a2472fd5be358fea19f30022e6ef2a3b68993cf4bf91815
TypeScript
1,041
28
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89
TypeScript
1,041
23
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
8d4e8e0dd0239966651ed9b4009c0759287a15b19769c0421e4b023affb91b80
TypeScript
1,041
46
export const audioErrorsConfig = ` <View> <Header value="Select regions:"></Header> <Labels name="label" toName="audio" choice="multiple"> <Label value="Beat" background="yellow"></Label> <Label value="Other"></Label> </Labels> <Header value="Listen the audio:"></Header> <Audio name="a...
6bcc0b77b7998d6218d3781a2617fefd2c617759f98e16a353c30736f4f6de60
TypeScript
1,042
49
export const simpleConfig = ` <View> <Image name="img" value="$image"></Image> <RectangleLabels name="tag" toName="img"> <Label value="Label 1" background="green"></Label> <Label value="Label 2" background="blue"></Label> </RectangleLabels> </View> `; export const simpleImageData = { imag...
0e56cb37344eeb6a8f151ba5c4a0443a3c6fd7435f97668db57cfdd0c855fe7f
TypeScript
1,043
29
import {Locator, Page} from '@playwright/test'; // Page object for ui/src/login/login.tsx. The token section stores whatever is // pasted as the `authorization` cookie; the SSO section is out of scope. export class LoginPage { readonly tokenInput: Locator; readonly loginButton: Locator; readonly logoutButt...
54fa7682daf60989b9513cb02e6dcf865c9f5bc3572ec360eeb7370b25988b7b
TypeScript
1,043
60
import { createAction, props } from "@ngrx/store" import { nameSpace, CSP } from "./const" export const setAnimationFlag = createAction( `${nameSpace} setAnimationFlag`, props<{ flag: boolean }>() ) export const setGpuLimit = createAction( `${nameSpace} setGpuLimit`, props<{ limit: number }>() ) ...
abd8f8505c6e29548a58648c5ddec08c12b889425d0012ee18771743cb3160d4
TypeScript
1,043
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ca37004cc40c95225df8d0c997d8dfe6981633cb305f431daa0232ad299724d1
TypeScript
1,044
51
/** * @file Mapped Box Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { BufferParameters, BufferData } from './buffer' import MappedBuffer from './mapped-buffer' const mapping = new Float32Array([ -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1....
8416b997f0f972331bb1a68e435128732bfba766b6931c8470b7dbc6c6d7154c
TypeScript
1,046
29
/** * @file Mapped Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Buffer, { BufferParameters, BufferData } from './buffer'; export declare type MappingType = 'v2' | 'v3'; /** * Mapped buffer. Sends mapping attribute to the GPU and repeats data in * others attributes. Used to re...
0dd6db2ef67f3af0c92b55bc36cc87a61a95d8bd3e0b80572da0d105e9c582f3
TypeScript
1,047
19
import {ENV_FACTOR} from '../fixtures/auth'; import {expect, test} from '../fixtures/test'; test('submits the example workflow from the UI and it runs to completion', async ({api, workflowListPage, workflowDetailsPage}) => { await workflowListPage.goto(); await workflowListPage.submitExampleWorkflow(); //...
00a7951bed8543ec43cb49f30d4fd731472cce3fc55826fff799e0515e8afaae
TypeScript
1,048
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
2965ee976067496addd66176fcbe555271e51ef4300fe0ab01a59c56e1f84600
TypeScript
1,049
34
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { SnapPerspectiveOrientationCmp } from './snapPerspectiveOrientation.component'; import { MockStore, provideMockStore } from "@ngrx/store/testing" import { AngularMaterialModule } from 'src/sharedModules'; import { CommonModule } from '@angular/c...
9f12eaf168c8398cacf563f725b53dfdd8c05a6f066e3e7831cbcb7a1cdcfc17
TypeScript
1,049
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e7dba85ba27ba758dfadcd51c3eced12cd2886df985dc29cf436c00584a20eb5
TypeScript
1,050
50
import { createSelector } from "@ngrx/store" import { nameSpace } from "./const" import { UserPreference } from "./store" const storeSelector = store => store[nameSpace] as UserPreference export const overrideZTraversalMultiplier = createSelector( storeSelector, state => state.overrideZTraversalMultiplier ) expo...
113c7075f46361a8390d1f74c50dfe60e78910501f0e54d84661d322df331417
TypeScript
1,051
22
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d416a887baf51b7573cbf4b45da0a14128e28184b380c53a5ff7b363d6e1fbec
TypeScript
1,053
22
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
0a4a2e500af82ed9c000d2f4f9357e034dff60cdb10b36260d0014854c6f9604
TypeScript
1,055
32
/* istanbul ignore file */ export const mockFF = () => { const originalAppSettings = window.APP_SETTINGS ?? {}; // Snapshot original flags so reset() can restore a clean copy const originalFFSnapshot = { ...(originalAppSettings.feature_flags || {}) }; const setup = () => { global.window.APP_SETTINGS = { ...
1f9b2d61530b90eb221a2c2de063b531335de0eb038153341635adb262f246bb
TypeScript
1,055
27
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
360e413ae0759e30d7a065c057f994035e8d8a9f147ae3b20556254577b0120c
TypeScript
1,056
46
/** * @file Atom Map * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import AtomType from './atom-type' import { guessElement } from '../structure/structure-utils' import Structure from '../structure/structure' function getHash (atomname: string, element: string) { return atomname + '|' + e...
a7fd46786fec80ec4e63b385416e14bdb6698656bd708e878e9d7f932c8900ad
TypeScript
1,056
23
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
3b3b431b7fa9664134af40cc106157226614019454747552fdd50b3803573969
TypeScript
1,058
46
type TRegDeregConfig = { first?: boolean } /** * this is base register/dregister class * a pattern which is observed very frequently * e.g. click interceptor, context menu interceptor */ export class RegDereg<T> { // eslint-disable-next-line @typescript-eslint/no-empty-function constructor(){} public allo...
0a58c7ea86a6c11d3cb6a662924a80f223681deab8e0c8c5ad96852d72ce23fd
TypeScript
1,063
62
import { Layer, type RendererOptions } from "./Layer"; export class LayerGroup extends Layer { layers: Layer[]; constructor(options: RendererOptions) { super(options); this.layers = []; } get isGroup() { return true; } get length() { return this.layers.length; } addLayer(options: Re...
0a6883e303afe6c127cef843c72d5f08732a8e34e7124b10bb18e24557811163
TypeScript
1,065
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
02d19483bb850d215ee9a1c9f3aad05a850e82f528c28ce9f3f4c15a8dca8391
TypeScript
1,067
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b
TypeScript
1,067
25
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
a503987bb37e12fa5829dab5421d5dce7c65a8f6d123a7a339a70ed4b3a2ec4a
TypeScript
1,069
47
/** * @file Radius Factory * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import AtomProxy from '../proxy/atom-proxy'; export declare const RadiusFactoryTypes: { '': string; vdw: string; covalent: string; sstruc: string; bfactor: string; size: string; data: string; ...
491ab0799ff22ad5c184deb7c4d73a86ed8d5b28fb0330ff5764ce842dd1efda
TypeScript
1,070
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f
TypeScript
1,070
28
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7
TypeScript
1,071
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
2feccfd90ac17215dd2ec7d17e3fb852b862a3c6470c9b0a58a77c76f0d1bccc
TypeScript
1,072
30
import BinaryStreamer from '../../src/streamer/binary-streamer' import NetcdfParser from '../../src/parser/netcdf-parser' import { join } from 'path' import * as fs from 'fs' describe('parser/netcdf-parser', function () { describe('parsing', function () { it('basic', function () { var file = join(__dirn...
721f9ee17b59182747a6d9eca9308f2842bdb549e4e74ec49fdc0f2eb7c5e923
TypeScript
1,072
38
import type { ResourceType } from '../../lib/resourceType'; import { ExposureHealthIssueType, HealthIssueType, SourceHealthIssueType, } from './discoveryEnums'; export type HealthIssue = HealthIssueType | SourceHealthIssueType | ExposureHealthIssueType; export const AllHealthIssues = [ ...Object.values(Heal...
ac6bac20b573e998e9e83da6cedc6e355d88df0bd3689085467c049731daa66f
TypeScript
1,072
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad
TypeScript
1,073
25
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
08f6861df84fba9719c14d5adc3ba40be9f0c687639e6c4df3c05b9301b8ff94
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
4a66df3ab5de5cfcda11538cffddd67ff6a174e003788e270914c1e0248483cf
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
785921608325fa246b450f05b238f4b3ed659f1099af278ce9ebbc9416a13f1d
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
8be7adad13cdafe7f96bd24fd8277d9a7eaceda8a7cca52d1004dac935fcf51b
TypeScript
1,074
35
/** * @file Mesh Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import '../shader/Mesh.vert'; import '../shader/Mesh.frag'; import Buffer, { BufferParameters, BufferData } from './buffer'; /** * Mesh buffer. Draws a triangle mesh. * * @example * var meshBuffer = new MeshBuffer({ * ...
95f1023b824c2c511c48f1201e2d1188bcb0ca1138a309a870b956d2e92e44ab
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
b3e9cef4eed59f8a2249ed834ba4aabe9d0d4e9037d4679487fa17dad99004a3
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
bde31fd423cd93b0eff97197a3f66df7c93e8c0c335cbeb113b7ff1ac35c23f4
TypeScript
1,074
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
16f0ab3eccada49e561f776b2d3c790a691b20b479763481763582cf4c5b8375
TypeScript
1,076
55
/** * @file Parser * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Debug, Log } from '../globals' import { defaults } from '../utils' import Streamer from '../streamer/streamer'; export interface ParserParameters { name: string path: string } class Parser { streamer: Streamer ...
d0bdfebbac28346fd227c4c719b77fd510c1780d2c288b521f9aedba41b0b056
TypeScript
1,077
23
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
0969926b3050fba1fb56229f805a0abbafc19f90c4f03dfd469e5eac10280869
TypeScript
1,078
24
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
81698dd81a426b695dbf3fc02a6259ae1f866d9429ab46859b3cb941cabc689c
TypeScript
1,080
31
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
f054d7009c5b0433af3c2abc3b1c038f4af5af21f6540179b1287606f8d339f9
TypeScript
1,080
32
import { definePluginEntry, type OpenClawPluginApi } from 'openclaw/plugin-sdk/plugin-entry'; import { createMLflowService } from './service.js'; import { registerMlflowCli, type CommanderLike } from './configure.js'; function parsePluginConfig(raw: unknown): Record<string, unknown> { if (!raw || typeof raw !== 'obj...