sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 17k | content stringlengths 1 200k |
|---|---|---|---|---|
2c287d64f32dc4d95cdfb92b55892de599976aa2c25876476bd0318877cf9628 | TypeScript | 9,756 | 302 | /**
* 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... |
82d0136a87ab6a607a5c0c2f511347564a7dba4736834dc182e97a8f111064da | TypeScript | 9,762 | 341 | /**
* 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... |
400a7ea54944491d61e1f6c0fd35439301d8cfe190dca880fa0fc56f84e18564 | TypeScript | 9,764 | 369 | import {
Component,
ElementRef,
OnDestroy,
SecurityContext,
TemplateRef,
ViewChild,
} from "@angular/core";
import { combineLatest, fromEvent, Subscription } from "rxjs";
import { QuickTourService } from "../quickTour.service";
import { debounceTime, map, shareReplay } from "rxjs/operators";
import { DomSan... |
9a3effa066b53567af6e003fc91a19c0ebdf398fd40e84a5fa362c9ef0b4d174 | TypeScript | 9,788 | 324 | import {
create as bufCreate,
type DescMessage,
type MessageShape,
toBinary as bufToBinary,
} from '@bufbuild/protobuf';
import { AnySchema, timestampNow } from '@bufbuild/protobuf/wkt';
import { v4 as uuidv4 } from 'uuid';
import aboutProto from '../proto/about.json';
import {
type VortexMessage,
type Vor... |
d8191ae79c32656b7cb9509e6e30603962f7cbec4b3f4a064000bf0cf87c8fcf | TypeScript | 9,806 | 350 | /**
* 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... |
db9d430f2bcf9c233abc8332c9ba538efa5fe8e145557423a43aebf6d5be2937 | TypeScript | 9,815 | 283 | /**
* 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... |
0d1b8427927c517d364dc1a172c5dcd965bf24750c6c4a92eb51c30440a801a9 | TypeScript | 9,820 | 339 | /**
* 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... |
64a237a017c3295ea209107aa2ba49995b20c521d2b5eaea8b186a72c5171136 | TypeScript | 9,908 | 333 | /**
* 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... |
e4b8e0741ce3d07c2009d714854a07d1c1c4626689a116d504e3299af19a925e | TypeScript | 9,910 | 308 | /**
* @file Distance Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Fred Ludlow <fred.ludlow@gmail.com>
* @private
*/
import { Color } from 'three'
import { RepresentationRegistry } from '../globals'
import { defaults } from '../utils'
import { DistancePicker } from '../utils/pic... |
e2c2ffcdb79d7f92bef65ffa4ccb8a7648f39896b18cab3e3d935113678050d2 | TypeScript | 9,923 | 308 | /**
* 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... |
66fff43fea0dd5a5a92830332616eb6e0afcb1855d0e8e981e8485e16b328727 | TypeScript | 9,939 | 341 | /**
* 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... |
2cc3e6461556b2035cec3fad19e274bfdf7583931b4b660ca3b9bb45136c684d | TypeScript | 9,951 | 297 | import { SVGTransformUtils } from "../utils/SVGTransformUtils";
import { SVGPathUtils } from "../utils/SVGPathUtils";
import { type BoundingBox, BoundingBoxUtils } from "../utils/BoundingBoxUtils";
import { TWO_FRAMES_TIMEOUT } from "libs/editor/tests/integration/e2e/utils/constants";
class TimeSeriesHelper {
privat... |
f1885b738ac1ad7032b4de59469240ea612b185ddf358cd74b347215c07b6ecf | TypeScript | 9,953 | 338 | import { Destructable } from "../Common/Destructable";
import type { Waveform } from "../Waveform";
import { WaveformAudio, type WaveformAudioOptions } from "./WaveformAudio";
export type Options = {
src: string;
};
type MediaResponse = ArrayBuffer | null;
export class MediaLoader extends Destructable {
private ... |
d2cd9080bf049675cb437986913fc144f21e5abeabb94304fb88953218bedc65 | TypeScript | 9,981 | 319 | /**
* @file Ball And Stick Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { defaults } from '../utils'
import { ExtensionFragDepth, RepresentationRegistry } from '../globals'
import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData... |
41c848f399cc8c333ce3da543663348e0117953eb8b19230ff9992bb3fa32272 | TypeScript | 10,011 | 315 | /**
* 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... |
c8591afce7e981b2f006cdfc09a33326b04ff308f2d6d247742ac7a2c75b3bc1 | TypeScript | 10,030 | 234 | import { test } from 'node:test';
import assert from 'node:assert/strict';
import { createRequire } from 'node:module';
import { classifySignals, diagnostics, decide, isExemptAuthor, parseOwners, findPullRequest, pickStepGuidance, targetsDefaultBranch } from '../classify.ts';
import type { CheckRun, Config, SignalState... |
a591f4e4e463d62b032b9bfb00aef5ba07a2c7dfff4af22a1955f13665340b7d | TypeScript | 10,037 | 296 | /**
* @file Charged
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Fred Ludlow <Fred.Ludlow@astx.com>
*/
import { Vector3 } from 'three'
import { defaults } from '../../utils'
import { radToDeg } from '../../math/math-utils'
import Structure from '../../structure/structure'
import { AA3, Bases, ... |
f9e0cb73c201943982e72f9acd258607a3189934fdd8277bb5401b399c145013 | TypeScript | 10,046 | 335 | import { SerializedTraceData, TraceData } from '../../core/entities/trace_data';
import { TraceInfo } from '../../core/entities/trace_info';
import { JSONBig } from '../../core/utils/json';
import { GetCredentialsForTraceDataDownload, GetCredentialsForTraceDataUpload } from '../spec';
import { makeRequest } from '../ut... |
fe1ea9700c11243992fef3850f1abd684d3c08d42426d4e518f5c2488d59071a | TypeScript | 10,052 | 274 | /**
* TypeScript interfaces for the agreement dashboard API response and UI state.
*
* Mirrors the data contract from the design doc (§14) and the backend
* dataclasses in dimensions.pipeline.types.
*/
// ---------------------------------------------------------------------------
// API Response Types
// --------... |
8822b05aadbdcf569078fb32fed863cc7a6950f66af88753de67a356eed15a3e | TypeScript | 10,070 | 270 | import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { createInterface } from 'node:readline';
import { runSetup } from '../src/commands/setup';
import { selectPrompt } from '../src/ui-select';
jes... |
9527d7c54ae8ed784bcd2a406185527293c7b260eb6baa36301308590cb4bd5c | TypeScript | 10,072 | 276 | import { ComputationWorkerQueue } from "./ComputationWorkerQueue";
// Priority levels for computation tasks
export enum TaskPriority {
HIGH = "high",
NORMAL = "normal",
LOW = "low",
}
// Interface for progress details per priority level
export interface PriorityProgress {
queued: number;
active: number;
p... |
25f6a628ec3d243b1d5669748fc37189149ff7153fe632e4b182f340a0d0b82d | TypeScript | 10,074 | 301 | // biome-ignore-all lint/correctness/noUnusedPrivateClassMembers: AudioUltra; skip unsafe removal
import type { Layer } from "../Layer";
import { averageMinMax, clamp } from "../../Common/Utils";
import type { Renderer, RenderContext } from "./Renderer";
import type { WaveformAudio } from "../../Media/WaveformAudio";
i... |
249a349c8c7768c161059c93ecd516dfadccba73c8e67958088f556a637079bf | TypeScript | 10,082 | 274 | /**
* @file Structure
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Box3 } from 'three';
import { Signal } from 'signals';
import { CifBlock } from 'molstar/lib/mol-io/reader/cif';
import BitArray from '../utils/bitarray';
import PrincipalAxes from '../math/principal-axes';
... |
a6f2fb9e63343a9822c603a28a3e377c1ee9cd693519802bfe5a6396138d48f4 | TypeScript | 10,086 | 275 | /**
* Utility functions for the agreement dashboard.
*
* All functions are pure (no side-effects) and operate on the types
* defined in ./types.ts.
*/
import type {
AggregationResult,
AgreementMethod,
DimensionInfo,
DimensionMeta,
DimensionScore,
MajorityVoteResult,
TaskAgreementResult,
} from "./ty... |
5422dd37884f3a8e891fda8b73300d63d18739dc40392753dd5a353350049c61 | TypeScript | 10,117 | 292 | import TriggerOptions = Cypress.TriggerOptions;
import ObjectLike = Cypress.ObjectLike;
import ClickOptions = Cypress.ClickOptions;
type MouseInteractionOptions = Partial<TriggerOptions & ObjectLike & MouseEvent>;
export const ImageView = {
get image() {
cy.log("Get main image");
return cy.get("img[alt=imag... |
cc4890aff49d13a9a05a758656786be2f50534cc04720c3748f4968411af8bb4 | TypeScript | 10,174 | 364 | /**
* @file Picking Proxy
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Matrix4, Vector2 } from 'three'
import Stage from '../stage/stage'
import StructureComponent from '../component/structure-component'
import MouseObserver from '../stage/mouse-observer'
import { Picker ... |
e642560960035e8fd2c7aae856a3db29841106a0a268ed69edd2a9a31b34790c | TypeScript | 10,205 | 352 | /**
* @file Line Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { defaults } from '../utils'
import { RepresentationRegistry } from '../globals'
import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './structure-represent... |
9a6e1af13cc80f70efac9ed3bb9ca0c20a4a9a77f07afb405ea3fb8e4c939a3d | TypeScript | 10,211 | 375 | /**
* 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... |
3694d022f8d943b9eeacd3738b188250f9b174e5e179e8ca4488107789577d65 | TypeScript | 10,216 | 374 | /**
* 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... |
78e737b41362d872b6df9a65a45fa3b342617e649781ed8796b880ee051fc344 | TypeScript | 10,222 | 273 | import Dagre from '@dagrejs/dagre';
import { type Edge, type Node as ReactFlowNode, Position } from '@xyflow/react';
// these correspond to GraphLabel options in dagre
export interface LayoutOptions {
/** Direction of the graph layout */
rankdir?: 'TB' | 'LR';
/** Vertical spacing between ranks */
ranksep?: nu... |
350d82482e2497a568358118dab5a9dedad871b6a49c79eb95d3c1810e2d1545 | TypeScript | 10,225 | 401 | /**
* @file Surface Utils
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { degToRad } from '../math/math-utils'
import {
m4new, m4multiply, m4makeTranslation, m4makeScale, m4makeRotationY
} from '../math/matrix-utils'
import {
v3addScalar, v3subScalar, v3divideScalar, v3multiplySca... |
136619d9cafb1f1d7f79dd26beb88797ed099b40e3c3658d901ee8aebab8d5fe | TypeScript | 10,231 | 293 | /**
* `mlflow-codex setup` — interactively register the notify hook in the user's
* Codex config and write an MLflow tracing config alongside it.
*
* Writes:
* - `config.toml` — prepends `notify = ["mlflow-codex", "notify-hook"]`
* ahead of any `[section]` headers. Refuses to modify a pre-existing
* `n... |
6e81e1426f55937e044e8992a71e1bf1f9cadf282f457c6a5ba6e9d7e30c5f53 | TypeScript | 10,241 | 368 | /**
* 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... |
fd15d66b4962130931b6ad3e0e47b535481027597a17fd33d9f60bdbaa7dc9da | TypeScript | 10,301 | 289 | import { beforeEach, describe, expect, it } from "bun:test";
import { DEFAULT_HOTKEYS, HOTKEY_SECTIONS } from "./defaults";
import {
clearDynamicHotkeySections,
getDynamicHotkeys,
getDynamicSections,
getHotkeySections,
getTypedDefaultHotkeys,
} from "./utils";
import { extractBespokeHotkeys, syncProjectInterf... |
8faf5dadb1b8ed3211bbde130c35723eea266b480ec3459c99a225b05c37ae05 | TypeScript | 10,339 | 300 | import { z } from "zod";
import type { FieldDefinition, MessageDefinition, ProviderConfig, VisibleWhen } from "./common";
// Re-export ProviderConfig for convenience
export type { ProviderConfig };
/**
* Check if a visibleWhen / requiredWhen condition matches the current form data.
*/
export function matchesWhen(wh... |
67ca91995bc69795b6a9994eed8daea40975a6a07529a0003dcd033f4ad193c3 | TypeScript | 10,370 | 314 | /**
* Constrains a point to stay within the specified bounds
* @param point - The point to constrain
* @param bounds - The bounds {width, height}
* @returns The constrained point
*/
export function constrainPointToBounds(
point: { x: number; y: number },
bounds: { width: number; height: number },
): { x: numbe... |
28a465cc59032066a005ae9ecd0be73ddd31bf20949811b2a7dd083d6d2d51dc | TypeScript | 10,403 | 377 | /**
* 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... |
adab438d3f6a758ab3aa1ba01b6b95bacb7ae99570551d796a6ef5d4b24247f6 | TypeScript | 10,424 | 392 | /**
* @file Viewer Utils
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import {
Vector2, Vector3, Matrix4, Points, Scene, Camera,
Object3D, WebGLRenderer, Color
} from 'three'
import { createParams } from '../utils'
import TiledRenderer from './tiled-renderer'
import { quicksortCmp } fr... |
40edb8ac2230e8ded2b51e4bf39ce11bb031c7d837ad5649f775e911f687c4b5 | TypeScript | 10,429 | 334 | import path from 'path';
import os from 'os';
import { initializeSDK } from './provider';
import { AuthProvider, createAuthProvider, isDatabricksUri } from '../auth';
/**
* User-facing shape for specifying a Databricks Unity Catalog trace location.
*
* All three fields are required. Unlike Python's
* `mlflow.set_e... |
e7d8e33c24c7f7211558c105409e4c1efc172a961931572548985722f5650d55 | TypeScript | 10,457 | 343 | /**
* @file Text Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { CanvasTexture, Vector3, Matrix4 } from 'three';
import '../shader/SDFFont.vert';
import '../shader/SDFFont.frag';
import MappedQuadBuffer from './mappedquad-buffer';
import { BufferData, BufferTypes, BufferParamete... |
051156ba23d42759aee0664f818437c3ecfa2c731d7884175263d95cbfa5bb20 | TypeScript | 10,515 | 323 | /**
* 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... |
2c22be8e7033e6dec6101618b018fd88a87395d318076e1d943beb2d0b472e8d | TypeScript | 10,517 | 283 | /**
* 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... |
ea9ca89bf10aa08be613055470e397e350e7b9a0a3ac4f328648369ba03a6080 | TypeScript | 10,517 | 328 | import { Directive, ElementRef, Inject, Input, OnDestroy } from "@angular/core";
import { Observable, fromEvent, merge, Subscription } from "rxjs";
import { map, filter, shareReplay, switchMap, pairwise, takeUntil, switchMapTo } from "rxjs/operators";
import { getExportNehuba } from 'src/util/fn'
import { computeDistan... |
104d4a35926360ee65b81438c89a6370dd4f76e2a8dc91ebabf7a314b7a7859e | TypeScript | 10,523 | 399 | /**
* 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... |
d25afed7f4ebd79b8a2183b5a2ec4933a8bc1de2d877170c8a005120b8e9d862 | TypeScript | 10,524 | 328 | /**
* @file Alignment
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Debug, Log } from '../globals'
// const nucleotides = 'ACTG';
const aminoacidsX = 'ACDEFGHIKLMNPQRSTVWY'
const aminoacids = 'ARNDCQEGHILKMFPSTWYVBZ?'
const blosum62x = [
[4, 0, -2, -1, -2, 0, -2, -1, -1, -1, -1,... |
1a7cb21adf07a9dd10d424bc4118e6ed1a0600340a5e1df731ed212b1fefa477 | TypeScript | 10,528 | 387 | /**
* @file Molecular Surface Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { RepresentationRegistry } from '../globals'
import { defaults } from '../utils'
import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './struct... |
4bed95e824b8b067520b612e49f8f337277f0761c6f1b7d2c5142a4df7efdfb2 | TypeScript | 10,545 | 408 | /**
* 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... |
16ca2a7ef70c84bbfedacef4932597db3b34fa6fa9b75f427fae18d50c33819a | TypeScript | 10,563 | 381 | import { javascript } from "@codemirror/lang-javascript";
import { json } from "@codemirror/lang-json";
import { python } from "@codemirror/lang-python";
import { xml } from "@codemirror/lang-xml";
import { indentUnit } from "@codemirror/language";
import { searchKeymap } from "@codemirror/search";
import { history, hi... |
66c3a943e81a74045bce784795c61f846814df9ce752a64b4250df8089988816 | TypeScript | 10,579 | 317 | /**
* 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... |
0e0925eb5528bd5adabd0f1f6988b5face6c48f71f6bf6e5987eb71d518787ad | TypeScript | 10,587 | 330 | /**
* 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... |
838ea5af6bd3f34ec2fd2213fcb2cf985e36ab8ce55ab2a211140cc60f44a619 | TypeScript | 10,590 | 347 | // Imported only so the `{@link LIST_REGISTRY}` reference below resolves; eslint
// cannot see JSDoc links as usage.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { LIST_REGISTRY } from '../data-sources/duckdb/lists';
import type { MetadataDataSource } from '../data-sources/MetadataDataSource';
i... |
5a32ca93900685712daf7de6aa24fa9ffe051ead6dce192554e6259af3af2736 | TypeScript | 10,606 | 280 | /**
* 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... |
21b92cdac4fa49ffefa902149f7e33d2316ca5548e433c03a365c61130e74951 | TypeScript | 10,618 | 377 | /**
* 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... |
3effca2ef2c30022d23bfe5e000933b76aae56486cfae007b793ef484a76966f | TypeScript | 10,628 | 307 | /*
* 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 ... |
186032a73109cdd686ff8f641f8cb909abb691bc3990ef16d516d5ced6583632 | TypeScript | 10,656 | 332 | /**
* 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... |
bc0a5a946661a7640328b4d2db264774f3d3ac97728923c200920cf68fb4ed49 | TypeScript | 10,656 | 360 | /**
* 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... |
20ede99b01672010b0e18389ff38cdc47eb2ec1093e1273a5c61dc5a6b755299 | TypeScript | 10,662 | 372 | /**
* @file Tube Mesh Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
// @ts-ignore: unused import Matrix4 required for declaration only
import { Vector3, Matrix4 } from 'three'
import { defaults, getUintArray } from '../utils'
import { serialArray } from '../math/array-utils'
import M... |
2000e66a89a16611a1f4f7e11fa62794ca19c88d261bcba1e6d72ad76586c5b7 | TypeScript | 10,686 | 396 | /**
* 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... |
6fd2d8a2d33231421ef13ca0bad9d6b40a8ffba94120b9c803bed0fe06d17ea4 | TypeScript | 10,693 | 374 | /**
* 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... |
f899172d55831a6d5198979d12621b0232f94905f40e0f7dcbe5ed2626329c87 | TypeScript | 10,727 | 341 | /**
* 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... |
9d97a7ae76c169dddcb76a4a9513e0b0e1040900e618262b6c2074c48f78ddc8 | TypeScript | 10,732 | 195 |
import {
quicksortIP, quicksortCmp, arraySortedCmp, quickselectCmp
} from '../../src/math/array-utils'
describe('math/array-utils', function () {
describe('quicksortIP', function () {
it('eleSize 1', function () {
var list = [ 3, 0, 5, 9, 2, 1, 7 ]
// console.log( list );
var arr1 = new F... |
6443ce22e4bc76339aa279596c890d8b7d887489618e15e241e3bfcb8836921e | TypeScript | 10,733 | 351 | /**
* 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... |
9017b156c5678cec4f80a55197a25b3c3b5d23679a0fe79488339f6138f36796 | TypeScript | 10,778 | 354 | /**
* 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... |
4e75ff3894ba8dfc2ace5e6237de49ef0d27280da40c96c24404788d6d36322f | TypeScript | 10,804 | 358 | /**
* 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... |
0a8fca1654853cf944e407b224f8e2cc0f896d27f84de52d52c0bbbe8b611ee1 | TypeScript | 10,853 | 312 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/fusion/invocation/invocation.proto (package v1.public.events.fusion.invocation, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { f... |
d1448bc13ac334cf44384351b3ab679348cf926a9a2bf92f3b12a11a897739e1 | TypeScript | 10,902 | 360 | /**
* 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... |
d62938dc6181b34a5b4601dad997ceaf471c97ae6d743316ee3e8ec20ed92816 | TypeScript | 10,902 | 383 | /**
* 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... |
d881122b6f511f446bfc75d663cd0c4f261d3f407d9bc8a8b6cb3a0637db0dea | TypeScript | 10,905 | 485 | /**
* 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... |
e899b399b4bf09c0318e237a2cb041786aadb48ece171187fef961ffa123761f | TypeScript | 10,933 | 347 | /**
* @file Validation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Color } from 'three'
import { Debug, Log } from '../globals'
import { defaults } from '../utils'
import { ClashPicker } from '../utils/picker'
import { uniformArray3 } from '../math/array-utils'
import { ... |
613a46eb5e0b8b2681cb4445694f5c96526aa316ef600b90073934b7bb52f5d1 | TypeScript | 10,943 | 340 | /*
* 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 ... |
07c154c52c525c42ba3a3fae00c3c21e09bf316d37284fa343951bc66c0f7879 | TypeScript | 10,946 | 274 | /**
* 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... |
1b94d7cab2c222d46e816b55bef50ed57a3ca6c8f9b17637f3bd37cd6a8bfb87 | TypeScript | 10,956 | 163 | /**
* @file ngl
* @private
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
/**
* The NGL module. These members are available in the `NGL` namespace when using the {@link https://github.com/umdjs/umd|UMD} build in the `ngl.js` file.
* @module NGL
*/
export { Debug, setDebug, MeasurementDefaultParams, se... |
f46e806c309dbc265571eee31091cad6c947c11c44a3702503f57b39a1d21d0e | TypeScript | 10,971 | 311 | import { mkdtempSync, readFileSync, rmSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import {
ensureInitialized,
getEffectiveTracingConfig,
MLFLOW_ENABLE_ASYNC_TRACE_LOGGING,
parseTraceLocation,
resolveSettingsPath,
writeTracingSettings,
} from '../src/config';
... |
df10c34690a39eed43772aa9d5c575050ca75696dc3f1922d5fdc391db6678b1 | TypeScript | 10,982 | 397 | /**
* 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... |
d673847cd2b923d6135f4271e29208a92373a74a1b68a2e94f00538c4592b962 | TypeScript | 11,004 | 335 | import { mock, describe, it, expect, beforeEach, spyOn, afterEach } from "bun:test";
import { WasmStreamingDecoder } from "../WasmStreamingDecoder";
import * as utilsModule from "../../Common/Utils";
const mockDecodeAudioData = mock().mockImplementation(() => {
// Return dummy interleaved data for 10 seconds of 2-ch... |
85d1aee1e13a9f5cec5484e93539fcb745610bb5c2afbc30bb7e71e717e46211 | TypeScript | 11,008 | 383 | /**
* 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... |
fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1 | TypeScript | 11,010 | 326 | /*! *****************************************************************************
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.... |
d67def5cc4588705a7b8355432c352e238c9b50308beb1d33fbaf3ee00c787aa | TypeScript | 11,027 | 315 | import type { Edge, Node as ReactFlowNode } from '@xyflow/react';
import { beforeEach, describe, expect, it } from 'vitest';
import { isCardCompact, useLineageStore } from './lineageStore';
const ROOT = 'model.jaffle_shop.customers';
function graph(): { nodes: ReactFlowNode[]; edges: Edge[] } {
return {
nodes:... |
0d738c318b62f9b6d711ad1597b78407aba097235961a74013420c0974a1725e | TypeScript | 11,030 | 344 | // biome-ignore-all lint/correctness/noUnusedPrivateClassMembers: AudioUltra; skip unsafe removal
import type { ColorMapper } from "../../ColorMapper";
import type { LRUCache } from "../../../Common/LRUCache";
import {
type BatchProgress,
type DetailedComputationProgress,
TaskPriority,
} from "../../../Common/Wor... |
786921672bec1c4e669c4e19e0632206256a181ede525f400e269dbbfff8cec5 | TypeScript | 11,042 | 323 | /**
* @file ngl
* @private
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
/**
* The NGL module. These members are available in the `NGL` namespace when using the {@link https://github.com/umdjs/umd|UMD} build in the `ngl.js` file.
* @module NGL
*/
export {
Debug, setDebug,
MeasurementDefaultPara... |
7a0ec1cc2daa6315b0d39e41ea9ce69b291527ae324376905e96555af75d7644 | TypeScript | 11,083 | 352 | /**
* @file Contact
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { Color } from 'three'
import { Debug, Log } from '../../globals'
import { createParams } from '../../utils'
import { TextBufferData } from '../../buffer/text-buffer'
import Structure from '../../structure/structure'
import AtomPr... |
259705111288e0ae7ac8b6dd1947ad176ebbb6217d55af15b0efa990df714dfa | TypeScript | 11,111 | 336 | import type { BezierPoint } from "../types";
import type { EventHandlerProps } from "./types";
import { getClosestPointOnLine, getClosestPointOnBezierCurve } from "../utils";
import { addBezierPoint } from "./drawing";
// Convert stage coordinates to image coordinates
export function stageToImageCoordinates(
stagePo... |
30a8c7c27814a7a5b4e841c0d1a6fc13bc5f3e6d318c53cc7ab41c2d8f65f253 | TypeScript | 11,133 | 324 | import {
sanitizeHtml,
htmlEscape,
matchesSelector,
findByXpath,
isValidTreeNode,
getNodesInRange,
getTextNodesInRange,
findNodeAt,
removeSpans,
} from "../html";
const htmlSanitizeList = [
{
input: '<iframe src="http://malicious.com"></iframe>',
expected: "",
},
{
input: "<script>a... |
9b51f3dd72b123b1955ad96ea72bf8761ab9dfc01a39fbe710d35e8b7e4655d0 | TypeScript | 11,136 | 257 | export const allTagsConfig = `
<View>
<Audio name="audio" value="$audio" />
<TextArea name="textarea" toName="audio"/>
<Choices name="choices" toName="audio">
<Choice value="choices_1" />
<View>
<Choice value="choices_2" />
</View>
</Choices>
<Number name="number"... |
583da106aa57554295a291a9b0156fbce66a48ed3ffd5bb3ec1b8ff8f5ac43fe | TypeScript | 11,166 | 425 | /**
* 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... |
1d17d4407f5e4483f0b7614b7aecb7c2386985b95582d66b0e092d2f0f6f6a03 | TypeScript | 11,170 | 346 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/dbt_index.proto (package v1.public.events.dbt_index, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from... |
0ba1d9f4d60389d277d1cc650436cf466ce4f44c112c86821728a54bd2b8962f | TypeScript | 11,171 | 436 | import { InjectionToken } from "@angular/core"
import { merge, Observable, of, Subject, Subscription } from "rxjs"
import { filter, map, mapTo, pairwise, switchMap, switchMapTo, takeUntil, withLatestFrom } from 'rxjs/operators'
import { getUuid } from "src/util/fn"
import { TLineJsonSpec } from "./line"
import { TPoint... |
52d407d5991bac8ecb4b5c69ddbc27021f8563731c605c15d651c8bbb63895c8 | TypeScript | 11,183 | 431 | /**
* 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... |
88a624bf5512222c238c766cb1a123c3136eff68522aa9a842efb50e850416ff | TypeScript | 11,200 | 386 | /**
* 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... |
02c5c1f977afcd46c8c8124c96855d8453f84f381ffcaf280bca80e141c95c66 | TypeScript | 11,229 | 306 | import { ExportResult, ExportResultCode } from '@opentelemetry/core';
import { Context } from '@opentelemetry/api';
import {
Span as OTelSpan,
ReadableSpan as OTelReadableSpan,
SpanProcessor,
SpanExporter,
} from '@opentelemetry/sdk-trace-base';
import { createAndRegisterMlflowSpan } from '../core/api';
import ... |
4839b79cba2f59f3fab7b03be3a2fc5e9c4a51ae473dfe042c03c54d096806f1 | TypeScript | 11,242 | 366 | import { TestBed } from "@angular/core/testing"
import { provideMockStore } from "@ngrx/store/testing"
import { AtlasWorkerService } from "src/atlasViewer/atlasViewer.workerService.service"
import { AngularMaterialModule } from "src/sharedModules"
import { getUuid } from "src/util/fn"
import { IAV_POSTMESSAGE_NAMESPACE... |
16ddae09ae89ec560924f3cfa6de380ae3f6bee9e26938c5d97d50f275885572 | TypeScript | 11,244 | 415 |
/**
* @file Component
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Quaternion, Matrix4, Euler, Box3 } from 'three'
import { Signal } from 'signals'
import { defaults, createParams } from '../utils'
import { generateUUID } from '../math/math-utils'
import Annotation, { An... |
a252f4ec961f3a177b32591f128dadc2b25f9a1c234a91e95a7975acefabbe05 | TypeScript | 11,250 | 379 | /**
* @file Xtc Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Debug, Log, ParserRegistry } from '../globals'
import { ensureBuffer } from '../utils'
import TrajectoryParser from './trajectory-parser'
import { NumberArray } from '../types';
const MagicInts = new Uint32Array([... |
24d03ba175edbfea764040e6ecceb0e9414ac8ca8a783ef0b2ffc30cecb35674 | TypeScript | 11,253 | 359 | /**
* 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... |
864f003f054e55e36c7e3b84d8160944422673cda909004ced4049dd3c401aa1 | TypeScript | 11,253 | 372 | import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
import { homedir } from 'node:os';
import { dirname, resolve } from 'node:path';
import { createAuthProvider, init, MlflowClient } from '@mlflow/core';
export const MLFLOW_CLAUDE_TRACING_ENABLED = 'MLFLOW_CLAUDE_TRACING_ENABLED';
export const MLFLOW_TR... |
a8cb404163960948469308c7082ae93156ee52a3266cb63bef067bc28398019d | TypeScript | 11,315 | 336 | /**
* @file Contact Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { defaults } from '../utils'
import { RepresentationRegistry } from '../globals'
import StructureRepresentation, { StructureRepresentationParameters } from './structure-representation'
import { calculateC... |
2f4271b75d26750cbe809f265d735866bbab80896caf07e6356d910c0237a7c9 | TypeScript | 11,317 | 414 | /**
* 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... |
3f0780b48319f56a33e82e6cd3add8d58946b8f641d26bb1d4cfbe559520d01e | TypeScript | 11,390 | 306 | /*
* 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 ... |
79c34a1addbfde9fd9fe939420027f8a6fe1ff759580f10803200d1c41ba1420 | TypeScript | 11,409 | 360 | /**
* 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... |
e4a7361022e88eec98b690f3020a09b6aed93980aa84a9b644a90c73d5664bde | TypeScript | 11,420 | 486 | /**
* @file Selection Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { SelectionRule, SelectionOperator } from './selection-test'
import {
kwd, SelectAllKeyword,
SmallResname, NucleophilicResname, HydrophobicResname, AromaticResname,
AmideResname, AcidicResname, BasicResna... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.