sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
117d448755fd829607e65f0f8535249b34a3f5a24d795eb190d2e225a7b0f5b5
TypeScript
2,523
79
import { useEffect } from "react"; export const useRegionsCopyPaste = (entity: any) => { useEffect(() => { const isFocusable = (el: Node | Window | HTMLElement | null) => { if (!el) return false; if ((el as Node).nodeType !== Node.ELEMENT_NODE) return false; const element = el as HTMLElement; ...
a6581d8080232eab6f28ab1e8b43eb7e198af292803374413ad0ab4c7015c371
TypeScript
2,523
80
/** * 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...
eea236918ae92fca509f81f96b389b7f7f82b04780ab64cbdf3a01b805c6d714
TypeScript
2,528
84
/** * 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...
1acbb99abe6bea44a26bc83c3c1ddf14321ef9c997edb804d7e987d6386dbf6f
TypeScript
2,532
67
// Minimal, deterministic workflow manifests for tests. Kept as typed builders // (rather than YAML files) so they are dependency-free and refactor-safe. // All use argosay, the lightweight image the Go e2e suite relies on. import {NAMESPACE} from './auth'; export const TEST_LABEL = 'workflows.argoproj.io/test'; exp...
8d96d9c8a9a1b3850a34e0b08c2b7e51fa8b7bf410932c972d2414029e8b5b7d
TypeScript
2,532
82
/** * 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...
adfaa9f606cf10a0722a5ea0951ec6243faa815fb0071a46b4021f725fe769ad
TypeScript
2,535
52
/** * @file Structure Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../structure/structure'; import ResidueProxy from '../proxy/residue-proxy'; export declare function reorderAtoms(structure: Structure): void; export interface SecStruct { helices: [string, num...
41a9c9646b2a01f7c45ef348cbeddcff4500e43ca2707054dfaef9eabe52b8fd
TypeScript
2,536
72
import { Choices, LabelStudio, Tooltip } from "@humansignal/frontend-test/helpers/LSF"; import { choicesConfig, choicesMultipleSelectionConfig, choicesSelectLayoutConfig, simpleData, } from "../../data/control_tags/choice"; import { FF_DEV_2007 } from "@humansignal/frontend-test/feature-flags"; describe("Contr...
b3d8e00e1c64637604284e31efa9cc696c4c7253f659927718d94de684d9be06
TypeScript
2,537
112
import { navAdd, navMul, navObjEqual, } from './navigation.util' import { INavObj } from "../constants" const nav1: INavObj = { position: [1,2,3], orientation: [0, 0, 0, 1], perspectiveOrientation: [1, 0, 0, 0], perspectiveZoom: 100, zoom: -12 } const nav1x2: INavObj = { position: [2,4,6], orienta...
a6a83c709e037b350feecec639c56b39f26e77e7a7913cedf5636953102fff35
TypeScript
2,539
42
/** * @file Matrix Utils * @private * @author Alexander Rose <alexander.rose@weirdbyte.de> * * svd methods from Eugene Zatepyakin / http://inspirit.github.io/jsfeat/ */ import { NumberArray } from '../types'; export declare class Matrix { readonly cols: number; readonly rows: number; size: number; ...
c2bc2783a32ea6ba68ac2d664708734f718cab7e275faa5cc9e88ecf1659d350
TypeScript
2,550
84
/* eslint-disable camelcase */ /** * 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, Vers...
e22a94bf2b71aeb52feb092dc09162629ec6d80a6ddcec51fd7c002633592ab6
TypeScript
2,552
86
import { EventEmitter } from "@angular/core"; import { RecursivePartial } from "./nehuba/config.service/type"; import { TNehubaContextInfo } from "./nehuba/types"; import { TThreeSurferContextInfo } from "./threeSurfer/types"; type TLayersColorMap = Map<string, Map<number, { red: number, green: number, blue: number }>...
ec33a8ff852411b793c5e3e5bf84ae1fbd9a0a5e260ff20ed8c5ee3d3a3c16ff
TypeScript
2,552
100
type IsParent<T> = (child: T, parent: T) => boolean export class Tree<T extends Record<string, unknown>>{ private _nodes: T[] = [] protected set nodes(nodes: T[]) { if (nodes === this._nodes) return this._nodes = nodes this.resetWeakMaps() } protected get nodes() { return this._nodes } p...
aa98ba231c57572bde5a3d72ca243f9f7f19f190d92fedfa832bdca811cff33b
TypeScript
2,553
81
/** * 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...
6acd0ee44586819ef71ebd4ee370a933bdf4d5ccf9dcc3a0d895752c9478b0a8
TypeScript
2,555
86
/** * 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...
3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6
TypeScript
2,556
44
/*! ***************************************************************************** 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....
d66c417c0e6ee742be83defe6e42a7e3a3ede3dfcc73b3ef1058aead879f12e5
TypeScript
2,556
96
const VALID_XFORM_SRC = ["CCF_V2_5", "QUICKNII_ABA", "MNI152", "CYRIL_PTCLD", "QUICKNII_WAXHOLM"] as const const VALID_XFORM_DST = ["NEHUBA"] as const export type TVALID_LINEAR_XFORM_SRC = typeof VALID_XFORM_SRC[number] export type TVALID_LINEAR_XFORM_DST = typeof VALID_XFORM_DST[number] type TLinearXform = number[][...
515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71
TypeScript
2,557
77
/*! ***************************************************************************** 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....
285709d3e6c6043d1c755159d8857a6e214a216a86719b533553512ee64b4a7c
TypeScript
2,560
75
/* * 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 ...
f023bec0b1a22dcc12d93d5749685f81a82b6154fee3a1390b8197042bf848f4
TypeScript
2,560
63
/** * 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...
38074de3ae4734d5a2dd33ed141f9ea63adf6f7fb1cffdf8b3bbcf9e5d317f89
TypeScript
2,562
78
/** * @file Hyperball Stick Impostor Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ // @ts-ignore: unused import Vector3 required for declaration only import { Matrix4, Vector3 } from 'three' import '../shader/HyperballStickImpostor.vert' import '../shader/HyperballStickImpostor.frag'...
79096c1a2e3262ec252a2992859dd98c172a1ca5ac13d833dd5165513e967b6b
TypeScript
2,565
68
import { act, renderHook, waitFor } from '@testing-library/react'; import { afterEach, describe, expect, it } from 'vitest'; import { useQueryHistory } from './useQueryHistory'; const STORAGE_KEY = 'dbt-docs-v2:query-history'; describe('useQueryHistory', () => { afterEach(() => sessionStorage.clear()); it('star...
b9459d649fb1335438060e033fde1b707c5c8372cc64463160c0bbf1506f81b6
TypeScript
2,565
81
/** * 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...
1aca3b3bc9129d285406bb5ec97ec9a13cdac7866d7c1a25a8572bc45ccbada1
TypeScript
2,566
79
/** * 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...
1f9cd51cb85f98f76583a92567c6cc04b77968de90ecadd107421f0b8a0662a3
TypeScript
2,568
68
/* * 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 ...
2a4f2c87ca96af0104e1cdb3f418524ef36692212b118ff40e724dcc87c9d001
TypeScript
2,568
76
import { afterEach, describe, expect, it, mock } from "bun:test"; import { fetchCapabilities, fetchInteractiveBackends } from "../api"; function jsonResponse(body: unknown, init: ResponseInit = {}) { return new Response(JSON.stringify(body), { status: 200, headers: { "Content-Type": "application/json" }, ...
d7008ec2ace4e44702d4853f4590d3c9eca1ed09ce23140dddb79e1f6664d37e
TypeScript
2,569
75
/** * ML-backend capability types. * * Phase-1 scaffolding for the auto-bind flow that will replace the * <SegmentAnything> tag. A backend declares what kinds of prompts it * accepts (`point`, `box`) and which control tags it can drive. LS * matches those `targets` against the project's annotation config and * p...
5fadae097f59966e844c0c499fba1042478d6376233d83ccd7a777b5d8d7cfbd
TypeScript
2,570
78
import { Box, FileText } from 'lucide-react'; import { describe, expect, test } from 'vitest'; import { iconForType, inferModelingLayer } from './resourceType'; describe('iconForType', () => { test('returns the mapped icon for a known type', () => { expect(iconForType('model')).toBe(Box); }); test('falls b...
9eb3b0d1832cd3e7b4fdb15479714d8d21927dd8cf7b3c620235e9406807b728
TypeScript
2,570
68
/** * 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...
149aee14f34a42860a29002759bb114c75d1ffd4d243fe9382e1f37693576574
TypeScript
2,572
72
import { Choices, DateTime, LabelStudio, Number, Rating, Textarea, ToolBar, useTextarea, } from "@humansignal/frontend-test/helpers/LSF"; import { Hotkeys } from "@humansignal/frontend-test/helpers/LSF/Hotkeys"; import { allClassificationsConfig, prediction, textData } from "../../data/control_tags/from...
9ce9735a9b57b1f0ee61fe434c3b5902a731075e6cac1c5bb220439e69ceb93c
TypeScript
2,574
88
import StringStreamer from '../../src/streamer/string-streamer' import SdfParser from '../../src/parser/sdf-parser' import SdfWriter from '../../src/writer/sdf-writer' import Structure from '../../src/structure/structure' import * as fs from 'fs' import { join } from 'path' function rtrim (s: string) { return s.repla...
4dd77c07790f0b1746c054a71536b53a431322ada91a5ed5d42fff76b520ce10
TypeScript
2,575
74
import {processURL} from './links'; describe('process URL', () => { test('original timestamp', () => { const object = { status: { startedAt: '2021-01-01T10:30:00Z', finishedAt: '2021-01-01T10:30:00Z' } }; expect(processURL('https://log...
ca906038b561e3f47265aeb7b13b087b2627bc6240f8e40ec2fafec957ef029c
TypeScript
2,576
70
import { defineConfig } from "cypress"; import path from "path"; import installLogsPrinter from "cypress-terminal-report/src/installLogsPrinter"; import * as tasks from "./tasks"; import { disableChromeGPU } from "./plugins/disable_gpu"; import { addMatchImageSnapshotPlugin } from "./cypress-image-snapshot/plugin"; imp...
82513e74692ce872c889a0cbb99db3c3669b4835c2f4f0ae33acae91b658dadc
TypeScript
2,577
82
/** * 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...
32ad5836f2ad585c97dd2de1cd75baa4209ee4db75c36431752926aae822c9e6
TypeScript
2,580
87
/** * 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...
356b8fb871b371d1198aa87a78ac61639c9e0fffe28d31588bdf1c8468c42f68
TypeScript
2,580
91
/** * 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...
c8b2dcccae7a09032d3d28f33f4807351981d71db30666de3bced07a21681c6e
TypeScript
2,580
120
/* * 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 ...
f5156c61d2b6b85c4d340c27e6f197a4b4cb7d953fb52ad0fe45bcc2d3b4df02
TypeScript
2,587
86
/** * 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...
3868f171f847d112a6339265dc786e815f7ad2df26187ad5ce9b62aa5186aa10
TypeScript
2,594
75
/** * 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...
c80e63fae89872be009a304a54b76e5d2976201dd1b5cf0cd678e6e95f21deb8
TypeScript
2,595
79
/** * 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...
13874217cfd99c06a2758dc2073b295c670b8829023f7be3875b0f2f1c2551fb
TypeScript
2,597
75
import { Hotkeys, LabelStudio, Textarea } from "@humansignal/frontend-test/helpers/LSF"; import { shortcutTextareaConfig, shortcutTextareaData, simpleChoicesConfig, simpleChoicesData, } from "../../data/control_tags/shortcuts"; describe("Control Tags - Shortcuts", () => { it("applies shortcuts while preservi...
8612fab1b6c681ed862075e9fa0d1fcecdb988648a0eb96075d27873c4426785
TypeScript
2,600
71
import { MlflowClient } from '../../src/clients/client'; import { createAuthProvider } from '../../src/auth'; import { MlflowHttpError } from '../../src/clients/utils'; /** * Unit tests for {@link MlflowClient.exportOtlpSpans} used for OSS (non-Databricks) * tracking servers. These mock `global.fetch` so they exerci...
0ec365e425b8634917ee0e283f6fb1ff50cc9ed602b3727afd1c229d4e94b840
TypeScript
2,603
96
/** * @file Buffer Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Representation, { RepresentationParameters } from './representation' import Viewer from '../viewer/viewer'; /** * Representation for showing buffer objects. Good for efficiently showing * large amounts ...
4f1001d43e398dc0b90e4bf0eca9c8ec8b843db1c0113c2f05b5cf47a04a8385
TypeScript
2,603
75
/** * 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...
b6e42796a7895b7f59d544765a4737b8f0bdc95fa366085af388f311fa8d8450
TypeScript
2,603
101
/** * @file Remote Trajectory * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Log, TrajectoryDatasource } from '../globals' import Structure from '../structure/structure' import Trajectory, { TrajectoryParameters } from './trajectory' /** * Remote trajectory class. Gets data from an...
bf76714880175a362c9fbe41db96e68356b5679ca4e5bf7cc9d45e6bde8e9abd
TypeScript
2,603
93
/** * 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...
3f3e9ac3a48c05bbe966dcff6221ab2a6195d48d9b20abf010dd8289a648ea02
TypeScript
2,604
72
/** * 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...
872e9adf74a178c967209d189587abe61850c4f024fedf73ecb859123c1f9840
TypeScript
2,604
78
/** * 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...
8790064deeb71ab5a7607060ffaddf2129102ed2c04da6bb0f4aaaba22711ac0
TypeScript
2,604
83
import { NgModule } from "@angular/core"; import { KeyListner } from "./directives/keyDownListener.directive"; import { StopPropagationDirective } from "./directives/stopPropagation.directive"; import { SafeResourcePipe } from "./pipes/safeResource.pipe"; import { CaptureClickListenerDirective } from "./directives/capt...
d82dd7fece0ec936c18e653b584b8e194bceb915d500ff940f563772eb8a3b4d
TypeScript
2,604
75
import { Labels, LabelStudio, Sidebar, VideoView } from "@humansignal/frontend-test/helpers/LSF/index"; import { simpleVideoConfig, simpleVideoData, simpleVideoResult } from "../../data/video_segmentation/regions"; // This test suite has exhibited flakiness in CI environments, so we are using retries // while we work ...
12abc939c0b3b4ffd164ec6f3364e03ecac5fe1e7cd83a35ad4217d190952843
TypeScript
2,606
69
/** * 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...
9f6d2c4df74b69bfbd0c35ef17dacf50fa963af3d3043bbce6a1d8f6756b22ba
TypeScript
2,613
89
/** * 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...
df16ccfc7c417d91a1e810f3f937e58573412c643303a1846cbfd0e54bcc2547
TypeScript
2,613
74
import { describe, expect, test } from 'vitest'; import type { NodeSummary } from '../types'; import { inferResourceType, resolveAssetArgs } from './inferResourceType'; /** * `inferResourceType` parses the `<resource_type>.<package>.<name>` prefix. * The historic foot-gun: resources whose backend serves bare-name u...
a27edda1a018ce2f9ce6e91890ba03e5e0e138bde6f207b49ab94efcec45c08a
TypeScript
2,616
105
/** * 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...
3a0c33ea6e77081abd8a0dd795affb9e35110438b014d423c82736f26df33341
TypeScript
2,617
121
/** * @file Counter * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Log } from '../globals' import * as signalsWrapper from 'signals' /** * {@link Signal}, dispatched when the `count` changes * @example * counter.signals.countChanged.add( function( delta ){ ... } ); * @event Cou...
2ecf056c6b377d1abd5d550637496810f87ce14bc115d6c91e0c5828c4b0c143
TypeScript
2,618
102
export const simpleData = { text: "This text exists for no reason", }; export const textareaConfigSimple = `<View> <Text name="text"/> <TextArea name="desc" toName="text" /> </View>`; export const textareaConfigPerRegion = `<View> <Labels name="lbl" toName="text"> <Label value="Word" /> </Labels> <Tex...
53f8f331ea5dd8b8fc8b9b1db0c589280ae1fff05e20bd6889d2be0ebeae6d7f
TypeScript
2,620
88
/** * 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...
1736cf84526fe0456364aec2ae2b46f5514df40c63ac1921d1cceafaaac3389f
TypeScript
2,623
91
import { Component } from "@angular/core"; import { async, TestBed } from "@angular/core/testing"; import { AngularMaterialModule } from "src/sharedModules"; import { ClipboardCopy } from "./clipboardCopy.directive"; import { By } from "@angular/platform-browser"; import { Clipboard } from "@angular/cdk/clipboard"; @C...
ac6156d5802bec92371d5abb8e3883a80b6b43d5a0d29de442d3af2bd3a9d2fb
TypeScript
2,623
106
/** * Types for Codex CLI notify hook integration. * * Codex CLI fires a `notify` hook after each agent turn, passing a JSON * argument with the turn data. This is configured in ~/.codex/config.toml: * notify = ["node", "/path/to/stop.js"] * * The JSON is passed as the first command-line argument (argv[2]). *...
9f5ca8f8fc107d3a60f5a1c3c7d3a55c28ed93e28cba8bfff88b2e7ffbe09857
TypeScript
2,629
95
/** * 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...
4d75cb88732baa09c55f688afbb22540f59824e81edc9a77ecf378bbf17e557c
TypeScript
2,630
84
/** * 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...
d6df3570aa6ed37da47e15b625b1db8189ac852bb3a64a84af8779652d143c46
TypeScript
2,632
72
import { clearClientCache, clearClientForUri, clientForUri, } from '../../../src/exporters/wal/clients'; import { MlflowClient } from '../../../src/clients/client'; describe('wal/clients', () => { beforeEach(() => { clearClientCache(); }); it('returns the same MlflowClient instance for repeat calls wi...
4b76ca873758d98fec9f2f6c242615ceeca84cc1eafe1e151c6629b8cb4c55ce
TypeScript
2,635
95
import { Directive, Input, OnChanges, SimpleChanges } from "@angular/core"; import { BehaviorSubject, combineLatest, concat, merge, of, Subject } from "rxjs"; import { map, scan, shareReplay, switchMap } from "rxjs/operators"; @Directive({ selector: '[feature-filter-directive]', exportAs: 'featureFilterDirective' ...
87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326
TypeScript
2,637
65
/*! ***************************************************************************** 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....
9b2e44abf707e6787c3d39453bdf88c931ff59705568c6dc14c49c2dac40d966
TypeScript
2,637
57
/** * 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...
633e1876e700356936850b73108e63b16b9ad96c1ea9644a1ec4bd74bebd07d8
TypeScript
2,638
64
import { test } from 'node:test'; import assert from 'node:assert/strict'; import { MARKER, NOT_READY_LABEL, renderComment } from '../comment.ts'; test('renderComment issues variant lists each failure with guidance and log link', () => { const body = renderComment({ variant: 'issues', failures: [ { id:...
43a602b5b7555527c6f1423072ae70538995dd3622911b2ae09ae5098c6b76af
TypeScript
2,642
80
/** * 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...
8302bf39a37f627733d489c98e2120c2b6f0fb764b1509d641be963cb63d8aed
TypeScript
2,642
101
/** * @file Math Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ export function degToRad (deg: number) { return deg * 0.01745 // deg * Math.PI / 180 } export function radToDeg (rad: number) { return rad * 57.29578 // rad * 180 / Math.PI } // http://www.broofa.com/Tools/Math.uuid...
8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d
TypeScript
2,645
56
/*! ***************************************************************************** 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....
daa7dffeac911e6434b060b127be305faea50416af2c1eb645ca75a13188f06c
TypeScript
2,645
113
/* * 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 ...
d70067bae91ea77b819831f8bd7912cb4c5a13dfdc989e0fe4b6f8635988cb3d
TypeScript
2,647
80
/** * 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...
1abbe65ea6977c299d07c5c5c6af4eea00ee773a118e177b4c711e725f013cc7
TypeScript
2,648
85
/* * 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 ...
14dfb0ba4ca22d91277c5afaed31df872ff475f89800c1b552448b345bb3ba21
TypeScript
2,649
111
/** * @file Entity * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from './structure' import { UnknownEntity, PolymerEntity, NonPolymerEntity, MacrolideEntity, WaterEntity } from './structure-constants' import ChainProxy from '../proxy/chain-proxy' function entityTypeFrom...
64242eddc047e34c32be00484a8cd6cb6e92fea5d37e38aa5800510d676b5b94
TypeScript
2,649
81
/** * 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...
bbb782e6258acc2bfb3648260f77722acac69190db82751993f54dc9f3ffceaa
TypeScript
2,651
88
/** * 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...
12ed6fd0b60a1269ee08ac346127aad5c797940b6a127ca4399d3d96d577852a
TypeScript
2,653
73
/** * 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...
b900838adb4402d7a8f663a6fbcbfdf3487cb79c0ba13e669c8547c1de0459bc
TypeScript
2,659
79
/* * 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 ...
338cc72bcbb5a243f21df1307e9a5e70de959c83ea667076dcfe4820511d08be
TypeScript
2,662
72
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/asset/asset.proto (package v1.public.events.fusion.asset, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messag...
2ef0e79c79bde802799e7e4f431e9bf2439be75b95b1f0ba0224b4d8f9e84951
TypeScript
2,665
124
import { createReducer, on } from "@ngrx/store" import { environment } from "src/environments/environment" import { COOKIE_VERSION, KG_TOS_VERSION, LOCAL_STORAGE_CONST } from "src/util/constants" import * as actions from "./actions" import { maxGpuLimit, CSP } from "./const" export const defaultGpuLimit = maxGpuLimit ...
39049e4d38b27112455f28fce7f7c369b66a6c9eb56f3c7e288912b19337ff50
TypeScript
2,667
108
/** * Group-commit writer for WAL lines. */ import { open, FileHandle } from 'node:fs/promises'; import { JSONBig } from '../../core/utils/json'; import { getWalPath } from './paths'; import { ensureParentDir, queueWriter } from './storage'; import { WalLine, WalRecord } from './types'; interface BatchItem { line...
407f1f60896577945447ab87d56a4a2f54b9ff5187fdc94200b2bf23e5d938bd
TypeScript
2,667
87
/** * @file Ellipsoid Geometry Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3, Matrix4 } from 'three'; import GeometryBuffer from './geometry-buffer'; import { BufferData } from './buffer'; export interface EllipsoidBufferData extends BufferData { majorAxis: Float32...
464992bdeb943cc2928c025a15654c1128eee173c143c4c7000b6bf4493bf1ac
TypeScript
2,670
76
/** * 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...
5b9c6d99523d758c55e947b07a849206eaea8c15e2ca4f7cae09d909bb86567f
TypeScript
2,670
80
/** * 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...
8b7901d59b69f3be83f52625656d2b00f9d350209df866cdb2c2187c337ece70
TypeScript
2,672
69
/** * 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...
120af6ba4fe8806c85c7fe9928f4177c0e74bc892d2c64ff701a09f9b6d29402
TypeScript
2,674
90
/** * 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...
bbd973835b8f2d6c3c61ffc8de0f36a7abd39a63e1051238219a788422e252b8
TypeScript
2,674
85
/** * 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...
102575ae98713c8995a9ac0db12bf6288b0ce77e0ba7443785b382a8443c83a0
TypeScript
2,676
95
import { AudioView, LabelStudio } from "@humansignal/frontend-test/helpers/LSF"; describe("Audio", () => { // Lock viewport so canvas size matches baseline snapshots (avoids size-mismatch failures). // To refresh baselines after UI/canvas changes: CYPRESS_updateSnapshots=true (writes to dist/cypress/.../snapshots)...
681fd4e1d97e2d8f32a2aa171ea614f7fa587696badf187c2f7cc97956952a44
TypeScript
2,676
71
/** * 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...
e71cd1325c0326df8108843e27e9207732830ef3000323e1d4b42dc1d9790972
TypeScript
2,676
71
/** * 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...
bc5412475c27780040e095be7de1487734ae3acb51c3a3616df91e4b327e998c
TypeScript
2,680
89
/** * 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...
d7a6d8372330eff00dc753cd1630e46251f456e170d75a34638936000ecddd4c
TypeScript
2,681
88
/** * @file Model Proxy * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../structure/structure'; import Selection from '../selection/selection'; import ModelStore from '../store/model-store'; import ChainStore from '../store/chain-store'; import ResidueStore from '../stor...
c760dac6c99ee40120290b4eca351fcc5a2de5231b7704a9dd989454c62cdc6d
TypeScript
2,683
85
/** * 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...
1f3dc965e80f39922b8f3d1b4b80153130b3a4c6b417abb5d791897834ce3c9f
TypeScript
2,684
91
/** * 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...
c1f72033634e402f6846e65f4bcaf6ab8c3fa9946ded05da7c93e789696551fb
TypeScript
2,684
71
/** * 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...
773deb53ddab0f5211e1b14146d4eb67ea54e1a175b9dad8ae4650acce5c7f49
TypeScript
2,689
57
/** * @file Slice Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Representation, { RepresentationParameters } from './representation'; import Viewer from '../viewer/viewer'; import { Volume } from '../ngl'; /** * Slice representation parameter object. Extends {@link Repr...
ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c
TypeScript
2,692
77
/*! ***************************************************************************** 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....
fb6dbbfe5f6231e87a86266c6e242d4437eba338e701b9abaef54242a5fab910
TypeScript
2,692
83
/** * 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...
aea8b0399282eeefeb1f7e00277a1648c2659150a59143084f88af2c7942e0b9
TypeScript
2,695
92
/** * 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...
5aed33eef1dd669425b4924cce1cf0b88ce04bc5f54eff978e60b93bbb853cd1
TypeScript
2,697
84
/* * 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 ...
79af1ba3c60d1029f75a547171438fe711d02878ad37546d96de07c77bd09358
TypeScript
2,698
79
/** * 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...
3c5051fe86a73ebb03fd9bc66dbde0fd28252887a21d549bc202729cfbc89d1c
TypeScript
2,700
82
/** * 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...