sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
ffccf2e5945ab0273754248fc48e5a754d49c586420e068fb5f5b9c55507ccaa
TypeScript
3,982
124
/** * 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...
26bbf64b03a80148930c832091e54c1b1f7ab00e57ffc7a2f4cc19df2e3e8fb4
TypeScript
3,987
102
/* * 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 ...
285b48afc245925e158143a57a875b50a9fcb9f999b7e90ad4617243d9adc434
TypeScript
4,003
121
/** * 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...
c3a97e87d158e6093d8e12358cbb7d5f68a6e3faf455c803fc83913e9903c89d
TypeScript
4,011
123
import { APP_INITIALIZER, NgModule } from "@angular/core"; import { NehubaViewerContainerDirective } from './nehubaViewerInterface/nehubaViewerInterface.directive' import { NehubaViewerUnit } from "./nehubaViewer/nehubaViewer.component"; import { CommonModule } from "@angular/common"; import { NEHUBA_INSTANCE_INJTKN } ...
28071ed1e8e7114c03ca79028811b8efd6b6a176526ed3052e965fa4bde6a9f4
TypeScript
4,013
114
import { calculateCost, setModelRates, sumCosts } from '../src/pricing'; describe('calculateCost', () => { it('prices input and output tokens at the model rate', () => { const cost = calculateCost('claude-sonnet-4-20250514', { input_tokens: 1000, output_tokens: 1000, }); expect(cost).not.toBe...
83afec38ccc9a449040f1f8031b1a0cadb61b8bbe96d3d40454dfab443f2d555
TypeScript
4,015
131
import { FlatTreeControl } from "@angular/cdk/tree"; import { MatTreeFlatDataSource, MatTreeFlattener } from 'src/sharedModules/angularMaterial.exports' import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, OnChanges, Output, SimpleChanges, TemplateRef } from "@angular/core"; import { TreeNode ...
a44ed58403d11845395f47d9428ebe55c17e9bb0e735f55ca866242abdd793a3
TypeScript
4,020
145
import type { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base'; import { MLflowSpanProcessor } from '../src/processor'; function makeSpan(attributes: Record<string, unknown> = {}): ReadableSpan { return { attributes, name: 'test-span', spanContext: () => ({ traceId: 'abc123', ...
35c9969a814218775ccc495858d41de43a6e15de4a7376d5e2d3de4a667da3c2
TypeScript
4,021
112
/** * 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...
918ad6a5137e3437c57c78e7287eff822ccfd7d2b997d8d42d94a7b0433b4aa2
TypeScript
4,026
111
/** * 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...
11fe48ccfe508ffbba1e044873c533f9e9404102b915b01f1db3832bf0014efe
TypeScript
4,028
97
/** * 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...
350ae50cb9ae542b07562c3fca6b5d22efb80fd0bb7affda2ccebfc96c8cda97
TypeScript
4,037
120
/** * @file Halogen Bonds * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Fred Ludlow <Fred.Ludlow@astx.com> */ import { defaults } from '../../utils' import Structure from '../../structure/structure' import { Elements } from '../../structure/structure-constants' import { degToRad } from '../../ma...
2d505b81950fb4f6c3943453bf9967a6ba4f0dc0f9fba19563b031c47c161775
TypeScript
4,041
152
/** * 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...
0c17516abae4b950e1cae30800f71f81d08f29aae991779d423ef7409518dbae
TypeScript
4,043
124
import { backendFrameToDisplayFrame, finalizeTrackSequence, getTrackLifespanCutoffs, isShapeBearingKeyframe, isValidTrackKeyframe, } from "../trackFinalize"; const closedTriangle = (frame: number) => ({ frame, enabled: true, closed: true, vertices: [ { id: "a", x: 10, y: 10 }, { id: "b", x: 2...
9ddd2161a76053479128a7cf73e6e6e7202b15d7d978d4b51f8e4b014d7f4408
TypeScript
4,047
136
/** * 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...
ff1d239e018aeaf12bfe3624353076da56dad9bf8948a5119d7d1f99a6785ab8
TypeScript
4,056
103
/// <reference types="bun-types/test-globals" /> /** * Supplementary globals for the Bun test preload. * * bun-types/test-globals covers describe, it, expect, etc. * This file adds: * - `mock` and `spyOn` (exposed as globals by preload.ts) * - Timer helpers: useFakeTimers, useRealTimers, advanceTimersByTime, e...
8e966cf30cd8d0b90657d6ffe0d64ed86e7a28b8e978fa94e879ec0e0c149cc3
TypeScript
4,057
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...
a8bdd5617dce3c5f5ac454d726c63834054e576dfcaf4a0e244b153cb665c122
TypeScript
4,062
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...
e3f8356573fa5a16757ecdc31ffad453be9122eebcde3def507cd61483364964
TypeScript
4,067
159
/** * @file Trace Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { RepresentationRegistry } from '../globals' import { defaults } from '../utils' import Spline from '../geometry/spline' import StructureRepresentation, { StructureRepresentationParameters, StructureReprese...
9c7f22f6f71049f96c60e13823c9c0b952754ec05336facc5e093856b85456ef
TypeScript
4,072
124
import { existsSync, readFileSync } from 'node:fs'; import { homedir } from 'node:os'; import { resolve } from 'node:path'; import { init } from '@mlflow/core'; let initialized = false; const TRACING_CONFIG_FILE = 'mlflow-tracing.json'; export interface TracingConfig { trackingUri?: string; experimentId?: strin...
0efc1d0915c3977ad8ff68e4836e068889026e3a86a282b166c7878f6113589b
TypeScript
4,085
161
/** * 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...
ffe08debdfa85c91e563de0bcafce3720b2a698b12f3f2c662d5466df56e82b6
TypeScript
4,091
127
/** * 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...
42e1170da25007925e7376f6b171e223fac4cc8a26cd81b5d2770933bd315e66
TypeScript
4,096
111
/* * 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 ...
39354fe9ef60c7b87b5022f8a9e31699cc7e63c471f37647f7073ecd55e63fec
TypeScript
4,099
162
/** * 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...
459127fef6899c364a7656705936764c9cdad9b1cad8eeea41c6dc15edb3fe6d
TypeScript
4,099
135
import { types, getEnv, isAlive, destroy } from "mobx-state-tree"; import { CommentStore } from "../CommentStore"; const DummyAnnotation = types .model({ id: types.string, pk: 1, type: "annotation" }) .volatile(() => ({ history: { hasChanges: false }, draftSaved: true, })) .actions(() => ({ setComm...
ea7dbb7629c70824425aa66683780daaca99ca7378ab884b99f43956bd2b16c5
TypeScript
4,102
130
/** * 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...
8e103a71f89cdf29619c830cfffe3ec623005fcf31c4d98c71de8d970aa6832d
TypeScript
4,113
130
import type { QueryClient } from '@tanstack/react-query'; import type { MetadataDataSource } from '../data-sources/MetadataDataSource'; import type { AssetArgs } from '../typings/args'; import { assetKey } from '../util/queryKeys'; /** Telemetry event emitted for each fetcher call. */ export type DataSourceTelemetryE...
2afc64fb0e0f1593d6156148ab33fd0ef5b593bf9bc82885ec16e0f251a2fbb4
TypeScript
4,128
142
/** * 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...
fe9b3e950ae00adee1770470396c44d42f9d2991ddbf3a8718536ba7ba317c85
TypeScript
4,133
152
/** * @file Hyperball Stick Impostor Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4, Vector3 } from 'three'; import '../shader/HyperballStickImpostor.vert'; import '../shader/HyperballStickImpostor.frag'; import MappedBoxBuffer from './mappedbox-buffer'; import { Buffer...
71a9ada85faabcb55b90b235c1a656494fdac106a3857d4692b1ce2fa9c41bfb
TypeScript
4,134
115
/** * @file Contact * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { TextBufferData } from '../../buffer/text-buffer'; import Structure from '../../structure/structure'; import AtomProxy from '../../proxy/atom-proxy'; import SpatialHash from '../../geometry/spatial-hash'; import ContactStore from '...
6f458a3e61b70868625c2a83af9f491d7984b15ea392f086aa58af66df7076ca
TypeScript
4,141
115
/** * 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...
1ee6bbf8b54384bb04057e6b553fe3906ba5b5e84b3d2e0fc82a989900c9a4a3
TypeScript
4,142
123
/** * 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...
da2bd317ac870a6d4ddee12cf22590d4f144f3fd4e7500ad538d9b5e6ff7ebfd
TypeScript
4,156
141
/* * 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 ...
7ca3325f18854019e87abb96cdb6e60245be23620ddf580c92a7c4e2485ede80
TypeScript
4,157
102
/** * 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...
26c5f81d72176cdfdb0d6e29f49e1e0d3b43a0122c9448c24a0778971d9d083f
TypeScript
4,158
123
import tags from "@humansignal/core/lib/utils/schema/tags.json"; import { EditorState } from "@codemirror/state"; import { EditorView } from "@codemirror/view"; import { undo, undoDepth } from "@codemirror/commands"; import { buildCm6Extensions, createPlaceholderContent } from "./cm5-compat-shim"; describe("buildCm6Ex...
5e83fde4f4c76c02967c8a3adb45d2d7ef55155933e793d636f819acc5f3d4cd
TypeScript
4,160
140
/* eslint-disable no-underscore-dangle */ /** * 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 Li...
f56019bcead4aeabd14c9978a2b96f6b6260a522868d311a7919f390735ddcee
TypeScript
4,160
155
/** * 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...
922f53901ec45f1db89c12efcc9f543e0cd49b7eec926cb5acf13d994401c771
TypeScript
4,166
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...
323e74dc2d161faf0c6412c12d4a0a4ad7a46372f1fa2d815b7257d65518f90b
TypeScript
4,172
122
import { LabelStudio } from "@humansignal/frontend-test/helpers/LSF"; describe("Annotation ID", () => { it("should have data-annotation-id attribute on all annotation buttons", () => { // Initialize with multiple annotations to test with different IDs LabelStudio.init({ config: `<View> <Text na...
3530f0182998482406c1c0177bd9ef2b2327aa0ba84a2554f7c89d066122adb6
TypeScript
4,175
132
/** * @file Structure Builder * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from './structure' class StructureBuilder { currentModelindex: number|null = null currentChainid: string|null = null currentResname: string|null = null currentResno: number|null = null cur...
7adf5a9b7f61147ed09fc6c97f612ccb4632d0c0cd3a4576b5f4817a79368e60
TypeScript
4,181
164
/** * 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...
be90e8887787929515c95b4a9e65cf33b8ae29283f940b1ed4410360d4af2291
TypeScript
4,184
124
/* * 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 ...
aaa0833dc5f8f9acbcf64bde650ee20d42794e0bd3f2cff63a182c30b40f5cfe
TypeScript
4,185
138
/** * 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...
6d325870684cc45f7d3708c374469f3eea1757c2386dfede482a02b9cbf0c36d
TypeScript
4,186
100
import {expect, Locator, Page} from '@playwright/test'; import {NAMESPACE} from '../fixtures/auth'; /** Escapes `value` for embedding in a RegExp; workflow names contain `.` and `-`. */ function quote(value: string): string { return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); } // Page object for the workflow ...
eb8b5a8518a1a3242668f6b6c5ee0478d8a067ce3b73189858d3f63d10e979af
TypeScript
4,197
121
import { ImageView, LabelStudio } from "@humansignal/frontend-test/helpers/LSF"; import { rect3Config, simpleImageData } from "../../../data/image_segmentation/tools/rect3point"; describe("Rect3Point tool", () => { it("Should be able to draw region with rotation 0", () => { LabelStudio.params().config(rect3Confi...
3ca8a52f5d206fd333270c1efdaee554267fae14e7de9ec241db8cab670ecad6
TypeScript
4,199
99
/* * 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 ...
6aec65e42d1e48450780d08e466d212fda4e90c6ceb5efe3d3d6603d4d3d2182
TypeScript
4,199
109
import { renderHook, act } from "@testing-library/react"; import { usePersistentState, usePersistentJSONState } from "./usePersistentState"; describe("usePersistentState", () => { const key = "test-key"; beforeEach(() => { localStorage.clear(); }); it("should return default value when localStorage is emp...
91dc9eeb86dda0f27bacd0c7cf9403bea3c8c156b72c7063c45e520f84665baa
TypeScript
4,200
123
import { useMemo } from 'react'; import { Edge, Node as ReactFlowNode } from '@xyflow/react'; import { DAG_NODE_TYPE } from '../components/LineageV2/DagNode'; import { type LineageGraph, type ResourceType, useLineage } from '../shared'; export const LOCAL_PROJECT = 'local'; export const LOCAL_PROJECT_ID = 0; /** The...
0f92f96a70ddcc134054177851c5abcf9e5e5b7398d14143388cae4af3f290ed
TypeScript
4,202
116
/** * 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...
ca42c5aa3f75cde0343bbf4f51df9d81a243e0b89525b22e5e462eebf7b6aba7
TypeScript
4,204
147
/** * 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...
1af3e57fce3734dbb757ce50165fbe7745b97d1074ac01677bcefa9f69aba6b1
TypeScript
4,206
137
/** * 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...
9d369e594a53a1bd428c2cb23d0b68bd31ba57587d3a4a7a5b0bb2cccd48d4bf
TypeScript
4,208
121
// import { OperatorFunction } from "rxjs" // import { map } from "rxjs/operators" // import { components, operations, paths } from "./schema" // export type IdName = { // id: string // name: string // } // export type SapiModalityModel = { // name: string // types: string[] // } // type Point = [number, num...
1ca90b78302c2e8b49448cb358622ce1836aaa1bc697c877a0f1f7b36aec9033
TypeScript
4,209
135
/** * 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...
f8c02a62c602c4e97b1d314bf2b9927505af54254d12f77c6fb1d8d258bcf2c6
TypeScript
4,213
155
/** * 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...
8d9c64085b9662a5b128a2e540fb691ce07a95880656c6135df7e63694bbf71b
TypeScript
4,217
107
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/generic/generic.proto (package v1.public.events.fusion.generic, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, ...
968821f56502e60afd0010c41ecefe8ba239ecc464a7a8cad0e3aea58b205948
TypeScript
4,218
177
/** * @file Bond Proxy * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3 } from 'three' import Structure from '../structure/structure' import BondStore from '../store/bond-store' import AtomProxy from '../proxy/atom-proxy' /** * Bond proxy */ class BondProxy { index: numbe...
f94b9bf5826e68068cc404188fdfdafc1c3263a48b91e4172e8f247c80f2c13c
TypeScript
4,218
101
import {exampleCronWorkflow} from '../examples'; import {CronWorkflowService} from './cron-workflow-service'; import requests from './requests'; jest.mock('./requests'); describe('cron workflow service', () => { describe('create', () => { test('with valid CronWorkflow', async () => { const cro...
295013a1e4ad20e0fd67a71e4dcd66c65c08f99b193b862a749649cc557f285f
TypeScript
4,221
86
/** * @file Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector2, Vector3, Matrix4, Quaternion } from 'three'; export declare function getQuery(id: string): string | undefined; export declare function boolean(value: any): boolean; export declare function defaults(value: any, d...
8ba3869a9a4cfbd58ca96ef76064cb10dfb36522e2ff3989db058ad55cfcf214
TypeScript
4,224
124
import {ConnectivityBrowserComponent} from "./connectivityBrowser.component"; import {ComponentFixture, TestBed} from "@angular/core/testing"; import {Action} from "@ngrx/store"; import {CUSTOM_ELEMENTS_SCHEMA, Directive, Input} from "@angular/core"; import {provideMockActions} from "@ngrx/effects/testing"; import {Moc...
10d7450d3b97d0f9a7fc8c51d64ad2b8d247103f530b0c2ec06da52e792e6cb7
TypeScript
4,226
160
/** * @file Primitive * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Box3 } from 'three'; import Shape from './shape'; export declare type PrimitiveFields = { [k: string]: string; }; /** * Base class for geometry primitives * @interface */ export declare abstract class Primitiv...
d640e9c626c0f255b3a9ce9e4195191d6bd97ce40e5e8d1df105f48bd18c9c86
TypeScript
4,228
138
/** * 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...
a877532c515a50c8640bdae0a9434e2e6c25c46454df676fc23bab4653dad6aa
TypeScript
4,235
129
/** * @file Arrow Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4, Vector3, Group } from 'three'; import { Picker } from '../utils/picker'; import { CylinderBufferData } from './cylinder-buffer'; import CylinderGeometryBuffer from './cylindergeometry-buffer'; import Cone...
0a3b275c7242a1cd0edfc9c59e7321bc476dd4fd31db86222631d9b68cbf32c7
TypeScript
4,237
139
/** * 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...
515a9fe0176e3b8287b64a93a9f77d49f53bd869807cda31698fa77110c71765
TypeScript
4,239
134
/* * 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 ...
a1c8ee6afd0ffc51c5687ae2e3c4ad497a1523f99fa759b94f231d5b069e4cdb
TypeScript
4,240
135
/** * 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...
0a5b2a67e2e009f9b34cc10ca6a318a143b95c179c1ab0ed783b229af97cf197
TypeScript
4,241
116
/** * Internal helpers shared between the CLI transcript path (tracing.ts) and the * live SDK-stream path (liveTracing.ts). Not part of the package's public API: * the leading underscore signals "do not import from `@mlflow/claude-code`". */ import { TokenUsageKey } from '@mlflow/core'; import type { ContentBlock...
77c9527bc4572ebd92bbb1b5bf5625eeaa18144a2d238f24fd23922578468f3b
TypeScript
4,241
117
/** * Use cola to do a layout in 3D!! Yay. * Pretty simple for the moment. */ // <reference path="extern/rectangle.ts" /> module cola { export class Link3D { length: number; constructor(public source: number, public target: number) { } actualLength(x: number[][]) { return Ma...
ee5f0bb3874f6f3ae17446487f74af28f881f4efa814876f861a7e8a93d9c86e
TypeScript
4,251
125
/** * 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...
cf082bc325c44f246284f06d4ac7bde3af7173a7678ce0278a10078ef20c4624
TypeScript
4,254
139
/** * 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...
59efee7f746b094d901c635eced499b22b6187ce341778f684a4c3103575b307
TypeScript
4,273
147
/** * 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...
482bcaa4de1eabc236085045afb3925bae2d83325c0cd66414d3f087c0e19e18
TypeScript
4,279
152
/** * 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...
a5316cd2f076b7c8df9a7960cf7da4dbc6fd9047822e627c9bf6fc43fc63e0f2
TypeScript
4,284
131
/** * 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...
786d74cb9e6e500234f68a88069c6772318006ace8533551d6d85c75b2f5f95f
TypeScript
4,296
142
/** * Tests for lodash-replacement utilities (throttle, clamp, get, isMatch, uniqBy). * Validates the es-toolkit re-exports behave as expected. */ import { clamp, get, isMatch, throttle, uniqBy } from "./lodash-replacements"; describe("throttle", () => { beforeEach(() => { useFakeTimers(); }); afterEach...
fc3ca4ea369966e5e40786dbe9d03975c3abbcdf90feadebd83ea58f89698dad
TypeScript
4,298
157
/** * @file Psf Parser * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Debug, Log, ParserRegistry } from '../globals' import StructureParser from './structure-parser' import { assignResidueTypeBonds, calculateBondsBetween, calculateBondsWithin, getChainname } from '../structure/st...
4f8f276365dd12a2ce273d8b4eed61c206d13436b8434736c94d8ab01f88c190
TypeScript
4,299
106
/** * FIT-720: Shared annotation cache invalidation utilities * * These functions allow cache invalidation from anywhere in the app, * including non-React code (like MST actions in datamanager). * They use the shared queryClient instance directly. */ import { queryClient } from "./query-client"; /** Segment disc...
a44b7c65aee5caddb535d2770d5c76da8292ee23b76c7cf943faffb71659f2a6
TypeScript
4,301
243
/** * 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...
a7f309150972068d98ebfd536b1ee31925138b0b130c5c3effd115356a85871c
TypeScript
4,302
135
/** * 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...
16900c9234cc8ab082cb1c569b563e6323bd1c36e361d9fc637220a85bbd11ae
TypeScript
4,308
136
/** * @file Mouse Observer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector2 } from 'three'; import { Signal } from 'signals'; import Viewer from '../viewer/viewer'; import MouseControls from '../controls/mouse-controls'; declare type Optional<T, K extends keyof T> = Pick<Partial...
78da7fc4162bcde1bb9c68edaff10c39c78d22cd07a350ce9d3ceb11da4c96ef
TypeScript
4,312
110
import { trace, Tracer } from '@opentelemetry/api'; import { NodeSDK } from '@opentelemetry/sdk-node'; import { SpanProcessor } from '@opentelemetry/sdk-trace-base'; import { MlflowClient } from '../clients'; import { MlflowSpanExporter, MlflowSpanProcessor } from '../exporters/mlflow'; import { DatabricksUCTableSpan...
9e49e3d63c358a04d51511a3dec0ea39d8fd238258f69a8e1b34d556178a36f4
TypeScript
4,315
209
/** * @file Functional Groups * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import AtomProxy from '../proxy/atom-proxy' import { Elements } from '../structure/structure-constants' /** * Nitrogen in a quaternary amine */ export function isQuaternaryAmine (a: AtomProxy) { return ( a.number === 7 ...
c38822c2e7aad0164cbcd8c1dfe696d6d33fb57a87b63b384cddf7ef9fa681b8
TypeScript
4,315
131
/** * 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...
e3931955d7b434c12d7a4b14b6e756ea4783bc15cd06cbf3061384dce1efa48f
TypeScript
4,316
152
/** * 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...
4c31826f6cc3cdda38a4b6405bd044c01eeb00fc993cfc620ba1286a1e7c788b
TypeScript
4,319
142
/** * 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...
a815173478dcf39e85e42eb8d0bdb1bfef14b0c30bcc312b722893def982edce
TypeScript
4,326
132
/** * 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...
475d90656609aa952528d810d93a5b81614d330fbfaa3765b9342e81090fa366
TypeScript
4,341
107
/** * 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...
52b7299c44e490bbd017a2f2814385b5e0e896e6f639d5e524c7131c7f77e5ec
TypeScript
4,343
152
/** * 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...
fe42c8eef6e0d72fc31efdfe0ef2947b983edbe7e300d62b5c7789bf251abab9
TypeScript
4,348
143
import { Injectable } from "@angular/core"; import { createEffect } from "@ngrx/effects"; import { select, Store } from "@ngrx/store"; import { EMPTY, forkJoin, merge, Observable, of, pipe } from "rxjs"; import { debounceTime, map, switchMap, withLatestFrom, filter, shareReplay, distinctUntilChanged } from "rxjs/operat...
70fb8aa2427eaa44254bde24b3369347554c4c69a43da027e345384bad3d88b8
TypeScript
4,355
127
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/log/show_data.proto (package v1.public.events.fusion.log, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { enumDes...
7730b04c94a6f8f6ba8058b7406573607df11d0c403a3d74fa5986faa65b3354
TypeScript
4,356
130
import { LabelStudio, AudioView, VideoView, Paragraphs } from "@humansignal/frontend-test/helpers/LSF"; import { useSyncGroup } from "@humansignal/frontend-test/helpers/utils/media/SyncGroup"; import { Network } from "@humansignal/frontend-test/helpers/utils/Network"; import { videoAudioParagraphsConfig, videoAudio...
1d9722d95f4a2cdd0a836abb2993993fa288168daea2087138eaf2045280b48d
TypeScript
4,361
134
/** * 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...
54f5c179e92a28075f600f311c68db00eeb4d9b81d7d1f87eaf9fd3d6ab8a75a
TypeScript
4,365
136
/** * 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...
8280c643ba5614f196a608cf8b7c7209ca00eca464abeddcc761ea7f18680f7c
TypeScript
4,367
140
/** * @file Hyperball Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { RepresentationRegistry } from '../globals' import { defaults } from '../utils' import { calculateCenterArray } from '../math/array-utils' import LicoriceRepresentation from './licorice-representation'...
601202488dbdc79b22fd0e5850f81e7e4f568cdec6d1e9d9cbab03d06b71d017
TypeScript
4,368
150
/* 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, Versio...
7aaae27747e55a6d01effbe5be81cacec0ba6d4f9512390a55d84e2c7d6c7965
TypeScript
4,372
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...
9c71cac7e9c4bda597c25ba0fa811d17587aeb8df478d2955118055d5e552407
TypeScript
4,373
144
/* 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...
bbc8ab8f876da41935dd0c609c1a459b1edbecad5d6acb3d4f6112b807fd6546
TypeScript
4,381
112
/** * 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...
eed8ecc949a45cc8275904553521f917f5423cc6c6661a64088678456838e83b
TypeScript
4,381
140
/** * 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...
de99943f907cc934dd0888b5d1145847d67970707e416c215e0bddf935709e4a
TypeScript
4,383
127
/** * 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...
0bae8b8b40d8b798ef65973e3a384b9906ff0992ebec56e6b3323a92039a412d
TypeScript
4,384
143
/** * @file Helixorient Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Debug, Log, RepresentationRegistry } from '../globals' import { defaults } from '../utils' import Helixorient from '../geometry/helixorient' import StructureRepresentation, { StructureRepresentation...
ae12bc1fc7406d7fc51318a93919e30d3154029f651647a65e4f4baedd075aa6
TypeScript
4,385
166
/** * @file Helixbundle * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3 } from 'three' import { ColormakerRegistry } from '../globals' import { AtomPicker } from '../utils/picker' import RadiusFactory, { RadiusParams } from '../utils/radius-factory' import Helixorient, { Heli...
09de5f81368d1b40cc558316e47ad4402f53f5a65e98a752e814b39b41739538
TypeScript
4,393
133
/** * 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...