sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 17k | content stringlengths 1 200k |
|---|---|---|---|---|
140f1c5e948ac5d11a8bb32fe8273af7c546b055880bc39a5a226c107a67674d | TypeScript | 31,240 | 838 | /**
* 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... |
a6602d48387ac36185b03ecbd05c766651cb4dda32e426e5a44245a473e838fc | TypeScript | 31,290 | 1,128 | /**
* @file Structure Constants
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
// entity types
export const UnknownEntity = 0
export const PolymerEntity = 1
export const NonPolymerEntity = 2
export const MacrolideEntity = 3
export const WaterEntity = 4
// molecule types
export const UnknownT... |
c256381921883d962a2b881bd704537951910a655159bd96b2eecf015b6fb952 | TypeScript | 31,349 | 942 | import {
SxplrAtlas, SxplrParcellation, SxplrTemplate, SxplrRegion, NgLayerSpec, NgPrecompMeshSpec, NgSegLayerSpec, VoiFeature, Point, TThreeMesh, LabelledMap, CorticalFeature, Feature, GenericInfo, BoundingBox, SimpleCompoundFeature
} from "./sxplrTypes"
import { PathReturn, MetaV1Schema, /* CompoundFeature */ } fro... |
ad3d7b1439d18b1f22a35c1b6e605505ace9dd109d64b5053718f592b528c0b4 | TypeScript | 31,531 | 765 | import type { Mock } from "bun:test";
/**
* Unit tests for Regions (lib/AudioUltra/Regions/Regions.ts)
*/
const { Region } = require("../Region") as any;
const { Regions } = require("../Regions") as any;
const { Segment } = require("../Segment") as any;
function createMockLayerGroup() {
return {
clear: mock(),... |
cd1a76f3cb91a7173c1e2be887cac5d25098b90ccc6e7f53741681189d2b833a | TypeScript | 31,534 | 890 | import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import { translateSpansForMlflow } from '../src/translate';
function makeSpan(attributes: Record<string, unknown> = {}, name = 'test-span'): ReadableSpan {
return {
attributes,
name,
spanContext: () => ({
traceId: 'abc123',
sp... |
59593810cbab89b124202ef1e7747a03ecef9ad01ccd8ff26165299d05744330 | TypeScript | 32,024 | 1,111 | /**
* @file Structure Utils
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Matrix4 } from 'three'
import { Debug, Log } from '../globals'
import { binarySearchIndexOf } from '../utils'
import Helixbundle from '../geometry/helixbundle'
import Kdtree from '../geometry/kdtree'... |
ec86cd9677e0d4f1eb88c24ba05fa738efbfb623b868a6e11c215914e79ea20f | TypeScript | 32,296 | 1,070 | /**
* 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... |
27b6d93fdef23968e601efa83200d091d9d68385422f4c1477dbefea721be8fb | TypeScript | 32,546 | 670 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/insights.proto (package v1.public.events.insights, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "... |
c72fc8919aa2294477052c8ae55aea07e446b9b7dc2810f600b88b8740d12c6c | TypeScript | 32,555 | 1,271 | /**
* 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... |
4537add712e7a80a10f8a6eb8a901cc31ce13dcb5b3a7922ab0e3dff4f7d23d2 | TypeScript | 32,640 | 881 | /**
* 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... |
ecec74a4a1bc3f4f5a6fb97d3c41173a6cbe7e8741e94698ffdac0ef3281e0f6 | TypeScript | 32,725 | 967 | /**
* 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... |
791071a65d6963a8e3868997f34a64a85b9578090d23e2f74727d4984ad7f91b | TypeScript | 32,744 | 829 | // biome-ignore-all lint/correctness/noUnusedPrivateClassMembers: AudioUltra; skip unsafe removal
import type { Layer } from "../Layer";
import { clamp } from "../../Common/Utils";
import { ComputationQueue, type DetailedComputationProgress, TaskPriority } from "../../Common/Worker/ComputationQueue";
import {
MAX_LIN... |
45196e01fae8881f91d01945ab6dbbf6d523c1b6f51d9da2ee8009a52a02e285 | TypeScript | 33,173 | 1,205 | /**
* 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... |
26b3ae53fdc711318c070d0b056b8486489f6e3e8ce9e3f5aeba022114bb1f95 | TypeScript | 34,093 | 1,078 | import * as kubernetes from 'argo-ui/src/models/kubernetes';
export const labels = {
clusterWorkflowTemplate: 'workflows.argoproj.io/cluster-workflow-template',
completed: 'workflows.argoproj.io/completed',
creator: 'workflows.argoproj.io/creator',
creatorEmail: 'workflows.argoproj.io/creator-email',
... |
d5331fd93da7039455a4e74588dd142152ee1ec621850dea84a7eabed905e306 | TypeScript | 34,321 | 825 | import { spawn } from 'child_process';
import { existsSync, readFileSync } from 'fs';
import { mkdtemp, readFile, rm, writeFile } from 'fs/promises';
import { tmpdir } from 'os';
import { join } from 'path';
import { BatchingWriter } from '../../../src/exporters/wal/batching_writer';
import {
acquireLock,
backoff,
... |
1a6debc7c58ba8d7b5b72526629353e077daa6f805c264a5d176615ecc0ddbf6 | TypeScript | 34,436 | 1,037 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/fields/vscode_types.proto (package v1.public.fields.vscode_types, syntax proto3)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fil... |
ee4d59d325d84b5c789b621350995af5a2c20d8bcaaf160b7a72cfef6ed27abc | TypeScript | 34,489 | 1,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... |
b880700c7ad528269c358c6a50c33824414e23546a0cb2861092fc0586984352 | TypeScript | 34,870 | 1,077 | import { Component, ElementRef, EventEmitter, Output, Inject, Optional, inject } from "@angular/core";
import { BehaviorSubject, Observable, of, interval, combineLatest } from 'rxjs'
import { debounceTime, filter, scan, switchMap, take, distinctUntilChanged, debounce, map, takeUntil } from "rxjs/operators";
import { Lo... |
9969371c2e68109276330bbc3f8c1cdd3dd144ef82b951e6af6e831fc9f4966e | TypeScript | 34,991 | 794 |
declare var cytoscape;
class Graph2D {
// UI
graph2DDotClass: string;
graph2DClass: string;
// Options menu
scale: number;
groupNodesBy: string;
colorMode: string;
directionMode: string; // arrow, animation, opacity, gradient, none
mouseDownEventListenerAdded;
layout: s... |
f0acb3fccdda61e5b4f46edd03bfd474a397f5f52e3346f57a743920225109d0 | TypeScript | 35,752 | 985 | /**
* @file Marching Cubes
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { getUintArray } from '../utils'
function getEdgeTable () {
return new Uint32Array([
0x0, 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c,
0x80c, 0x905, 0xa0f, 0xb06, 0xc0a, 0xd03, 0xe09, 0xf00,
0x... |
3d12a3a82fdc5042370a5fc731bc545d6bc71bc9f443ccc3af4c46f54b1428c2 | TypeScript | 36,026 | 1,109 | /**
* 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... |
d19df2e255ef17bc833302e4ed3bc497a8d599ffc1de4edc437495f853bd6e27 | TypeScript | 36,565 | 1,045 | /**
* 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... |
bdd6e45e0b9850a2398afd2fa8813e25e792f7dccdeeadd4bc448e04f218263b | TypeScript | 36,784 | 1,282 | /* 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... |
e07a18b12c7b2d28246118c57c76a87612d8fccf6f4311b42577c9e31fc48eb2 | TypeScript | 36,974 | 1,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... |
3c53d242c6c4e19f47c11bf95f7e0fa1a017f8d3fa4431710a1299a78327e5cb | TypeScript | 37,623 | 1,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... |
c9cb132d481d3254df1395cc3cf32dd075253a621381202b667344b46df564ff | TypeScript | 37,696 | 1,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... |
a6a5f6150a9b4466e97d9b8fd02452901be3dd68d62f0f4d61d63c65179214b3 | TypeScript | 37,704 | 1,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... |
7b216e8851305dbcbf7182a966bf156744ce3c57b64852acbaf60ece32efc23b | TypeScript | 37,950 | 1,041 |
const RENDER_ORDER_EDGE = 1.1;
class Graph3D {
parentObject;
rootObject;
commonData;
saveObj;
// Nodes
nodeMeshes: any[];
nodePositions: number[][];
nodeInfo: any[];
nodeCurrentColor: number[];
// Edges
edgeColorConfig;
edgeDirectionMode: string; // none, opacity, arr... |
b13b439b9547867a8724efebf260bc51e7f1316fbdd0aae84ff26aa71d243cb9 | TypeScript | 37,997 | 1,148 | /**
* @file Cif Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Paul Pillot <paul.pillot@tandemai.com>
* @private
*/
import { Vector3, Matrix4 } from 'three'
import { CIF, CifBlock, CifCategories, CifCategory, CifField } from 'molstar/lib/mol-io/reader/cif'
import { Debug, Log, ParserRegi... |
d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca | TypeScript | 38,185 | 765 | /*! *****************************************************************************
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.... |
df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4 | TypeScript | 40,236 | 924 | /*! *****************************************************************************
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.... |
7fbd014a50756a90eb8585cd24e27717362c5138fc0ef1f23483709d2b291c7f | TypeScript | 41,015 | 1,130 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/fusion/node/node.proto (package v1.public.events.fusion.node, syntax proto3)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, ... |
0f0071f7d7818d240a0b39794750ed77498d3939b5ebde6c4deff38ceb8fcafa | TypeScript | 41,350 | 1,319 | /**
* 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... |
9ce36dc13e68369c203c11c2e2145b155378c0aa4efd1cfbaec95dcb71cbb972 | TypeScript | 41,849 | 1,416 | import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebarsGenAI: SidebarsConfig = {
genAISidebar: [
{
type: 'doc',
id: 'index',
className: 'sidebar-overview',
label: 'Overview',
},
{
type: 'doc',
id: 'demo',
className: 'sidebar-overview... |
3588e3e62bd738c1ede70b7cf96328e8a1ffcd1017b302846c9a6b32e02ecc3a | TypeScript | 41,859 | 1,264 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/fusion.proto (package v1.public.events.fusion, syntax proto3)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc, messa... |
00a037a2d00de15aeea2c1b3d674491ee2d09bc7d5a6a0e64e80ebede0198aae | TypeScript | 42,887 | 1,409 | /**
* @file Viewer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Signal } from 'signals'
import {
PerspectiveCamera, OrthographicCamera, StereoCamera,
Vector2, Box3, Vector3, Matrix4, Color,
WebGLRenderer, WebGLRenderTarget,
NearestFilter, LinearFilter, AdditiveBlending,
R... |
1b55b08f546120a6c72c45ca33a583c01c42723a1581b14c3f40184dae0c4fc8 | TypeScript | 43,184 | 1,095 | /**
* useCollectionSubmission - the whole Data Collection submission lifecycle,
* owned by the platform instead of each interface.
*
* A submission is always an ordered collection of 1..max files; "single file"
* is a collection whose bounds are 1..1. The hook derives one membership truth
* (stored regions ∪ in-f... |
44583e7e07a4d624cb995b45d68b4648e0569d8cc247915273a27451165e7a5d | TypeScript | 43,283 | 1,478 | /**
* Wire rows to domain objects.
*
* The single mapping layer, shared by every data source. It was `rest/mappers/` when
* REST was the only source; the DuckDB source reuses it verbatim by projecting its
* SQL with the same snake_case column names, which is what keeps one mapping and one
* set of tests instead o... |
c9034c13acd907392b80f9eb538f072ddfd5a45098ae1c0e5f185e8eb676a7da | TypeScript | 43,799 | 1,073 | /**
* Unit tests for Segment (lib/AudioUltra/Regions/Segment.ts)
*/
import { Segment } from "../Segment";
import type { Mock } from "bun:test";
function createMockLayer() {
return {
fillStyle: "",
fillRect: mock(),
isVisible: true,
};
}
function createMockVisualizer(overrides = {}) {
const layer =... |
787586fb7ab911e05ca3434591db5c0f58b308ae7edd2eab0487010ab398b921 | TypeScript | 43,889 | 1,260 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/docs.proto (package v1.public.events.docs, syntax proto3)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDesc, messageDe... |
e754421aeaefd4d6c02e15dfe151680f8b7abf98b26c415fcda1f578c72dcbdc | TypeScript | 43,908 | 1,196 | import { MlflowClient } from '../../src/clients';
import * as mlflow from '../../src';
import { SpanType } from '../../src/core/constants';
import { LiveSpan } from '../../src/core/entities/span';
import { SpanLink } from '../../src/core/entities/span_link';
import { SpanStatus, SpanStatusCode } from '../../src/core/en... |
1f30f36108123c720dac2983774582ec26445b807d56e80f2f0f00974a3da6b7 | TypeScript | 44,271 | 1,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... |
59faa4a9ebf3279fb1b0b57d1903b24a0c9991e47e6a59b97ba2e3f34fdde498 | TypeScript | 45,478 | 1,274 | import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import { postProcessSidebar, apiReferencePrefix } from './docusaurusConfigUtils';
import tailwindPlugin from './src/plugins/tailwind-config.cjs';
// ... |
1b2f025647de52513b90d6d1deb079fa961f2a9cba39ddc4681789c7f2a64178 | TypeScript | 46,126 | 1,572 | /**
* 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... |
1132f741533a5dbbb6929de2db3474110089c8a0b13a522ec8ea60ea8752dbc3 | TypeScript | 47,185 | 1,461 | import { ff } from "@humansignal/core";
import type { WaveformAudio } from "../Media/WaveformAudio";
import { BROWSER_SCROLLBAR_WIDTH, clamp, debounce, warn } from "../Common/Utils";
import type { Waveform, WaveformOptions } from "../Waveform";
import { type CanvasCompositeOperation, Layer, type RenderingContext } from... |
0d587b453d4af9cbdd535946aa1a66ba26b48177a50021758bc10549a3b51076 | TypeScript | 48,272 | 1,381 | /**
* Tests for MLflow OpenCode integration
*/
import { MLflowTracingPlugin } from '../src';
import type { PluginInput } from '@opencode-ai/plugin';
interface PluginClient {
session: {
messages: jest.Mock;
};
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type EventParams = any;
// Mock ... |
d87f80ccc10f7c0160edea7ac7844e94f5e51b43a3d17f1bdc0b5d9d33e4ab0d | TypeScript | 48,486 | 1,191 | import type { KonvaEventObject } from "konva/lib/Node";
import {
addPointFromGhostDrag,
handleDrawingModeClick,
handleShiftClickPointConversion,
insertPointBetween,
breakPathAtSegment,
closePathBetweenFirstAndLast,
} from "./drawing";
import { deletePoint } from "../pointManagement";
import { handlePointSel... |
b54613e2dd0c382610266ae616c9a2f0db6923574d7d7588ee148fba8122faba | TypeScript | 50,022 | 1,567 | /**
* 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... |
7c3aa471621216f30435bcbca6dc998a0303fc573a619f90c74aebd16c1195f6 | TypeScript | 53,911 | 1,761 | /**
* 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... |
2e6abd0aebf80a6515b8eb175a06c3f04db2e376cf6d431a464930520dae4c8a | TypeScript | 54,743 | 2,041 | /**
* 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... |
d782c03a32eea2ee8befe51574c72e344cca4fcb45b8b582e9907bf5b940e754 | TypeScript | 57,685 | 1,778 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/dbt_wizard.proto (package v1.public.events.dbt_wizard, syntax proto3)
/* eslint-disable */
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { enumDesc, fileDes... |
e012e7faa07bce0fce9bc29a6fbba5d34a3f8836bde659477916269b39cf93f0 | TypeScript | 61,515 | 1,928 | /**
* 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... |
f5856f3fdff78c303b5450fe69d10327313613d2eae3191640dfa5ec72b4a10d | TypeScript | 62,182 | 1,827 | /**
* 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... |
1f746587929c92b3bad6f1395287a1051e55c9e57d889218a3187c2845f01c7c | TypeScript | 62,906 | 2,184 | /**
* 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... |
25dbceb515baafbf857e893bd641970077c20e0ba7194909b9c4c8afaaec56bc | TypeScript | 66,918 | 2,035 | // /**
// * This file was auto-generated by openapi-typescript.
// * Do not make direct changes to the file.
// */
// export interface paths {
// "/atlases/{atlas_id}/parcellations/{parcellation_id}/regions": {
// /** Returns all regions for a given parcellation id. */
// get: operations["get_all_regions_... |
006b060484a1ab530dab409108af99b139caeae0da2828c451ea3b858f2c5ea5 | TypeScript | 67,196 | 1,761 | // Type definitions for jQueryUI 1.9
// Project: http://jqueryui.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, John Reilly <https://github.com/johnnyreilly>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery.d.ts"/>
declare module JQueryUI {
// Ac... |
d41d6b2142f2ca4c10996ccbd92636b0960ba1e37893787a014f08aab7921552 | TypeScript | 67,780 | 2,469 | /* [LICENSE TBD] */
// @ts-nocheck
/* eslint-disable */
export default function (config?) {
var __ = {
data: [],
highlighted: [],
dimensions: [],
dimensionTitles: {},
dimensionTitleRotation: 0,
types: {},
brushed: false,
brushedColor: null,
alphaOnBrushed: 0.0,
mode: 'default',... |
efe2e6ab5dee9e590e5d7b78683caafc4b99dee72ca54d24ed749551b555bf70 | TypeScript | 69,137 | 2,214 | /**
* 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... |
b3b1aa6f7b5762b0340e1fb8a94004f50030a6bba3a5f6eec72daa7d1469e48e | TypeScript | 75,977 | 2,750 | /**
* This file was auto-generated by openapi-typescript.
* Do not make direct changes to the file.
*/
export interface paths {
"/feature/{feature_id}/plotly": {
/**
* Get Single Feature Plot
* @description Get the plotly specification of the plot.
*
* For the appearance of ... |
6197339c03f08217e85a7b30ed342085e6e7c4305889e138f45e781e9647ea21 | TypeScript | 77,075 | 1,757 |
class CircularGraph {
id: number;
jDiv;
dataSet: DataSet;
svg;
svgDefs;
svgNodeBundleArray;
svgAllElements;
d3Zoom;
// Common Data
commonData;
colaGraph: Graph3D;
saveObj;
// Circular Only data
nodes = [];
links = [];
// Save html elements
circula... |
4666169867fe2ff27dfccb5827e561f1c957b829fc3334e09acc40c310f9e993 | TypeScript | 82,333 | 2,177 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/fields/adapter_types.proto (package v1.public.fields.adapter_types, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDes... |
e087868d6147ba2a80dd06acb50e098ba7a88cd42e8dd29080ec743e2f0c4de6 | TypeScript | 101,093 | 2,597 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/vscode.proto (package v1.public.events.vsce, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbu... |
dec9d1c22476d1c8a181598489b6b01c3fba1574ad50e2d49364064d7efc3f81 | TypeScript | 111,290 | 4,086 | // @ts-nocheck
// [LICENSE TBD]
/* Copied and altered from http://cal-heatmap.com/ , alterations around:
* - tuning tooltips
* - supporting multi-colors scales
* - legend format
* - UTC handling
*/
/* eslint-disable */
import d3tip from 'd3-tip';
import { t } from '@apache-superset/core/translation';
import { ge... |
2c7ca19dd5fcc765212c8604cef3a8ae8d595cbbb0270c66d27e3d1100daebc0 | TypeScript | 111,382 | 3,441 | // Type definitions for d3JS
// Project: http://d3js.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module D3 {
export interface Selectors {
/**
* Select an element from the current document
*/
... |
a9d83cef1b7ad0dd4187b5523f622e5f6899b707a3aa28ad51b884c6e2d47316 | TypeScript | 117,430 | 3,336 | /*
* 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 ... |
82e9867cb11f80c8f6a087dd6f53536f571868288f827d289da811d56d72f10f | TypeScript | 119,681 | 5,543 | /*
* 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 ... |
78f30455fff595ec1f80a4a0a12326909096ec3524fbbf8dad60b86a8a52b7c7 | TypeScript | 126,202 | 4,336 | import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebar: SidebarsConfig = {
apisidebar: [
{
type: 'category',
label: 'Advanced Data Type',
link: {
type: 'doc',
id: 'api/advanced-data-type',
},
collapsible: true,
collapsed: true,
... |
65f06952b938eb86b26e0788d9f9d6cba6e9b85d7534ae29217ecc35d95f228f | TypeScript | 128,360 | 4,157 | /**
* 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... |
f3dd0dfac5ff09c0dbeee5cfdfde109799f79e5d9f29e075fdc93994724187ad | TypeScript | 144,358 | 3,176 | /// <reference path="../extern/ts/descent.ts"/>
/// <reference path="../extern/ts/shortestpaths.ts"/>
/**
This application uses similarity data between areas of the brain to construct a thresholded graph with edges
between the most similar areas. It is designed to be embedded in a view defined in brainapp.html ... |
dcd17136a4b0ccb255af039f07245ce88de1ba462229b22cb82aab5f6f4d78bb | TypeScript | 146,155 | 3,476 | /// <reference path="../extern/three.d.ts"/>
/// <reference path="../extern/jquery.d.ts"/>
/// <reference path="../extern/jqueryui.d.ts"/>
/**
This file contains all the control logic for brainapp.html (to manage interaction with
the page, and the execution of applications/visualisations within the four views)... |
8eeb1e8ca88958c4dce7a43e97e305b7d663b97ff542ea6dc09402cd5443602d | TypeScript | 189,576 | 3,908 | // Type definitions for jQuery 1.10.x / 2.0.x
// Project: http://jquery.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Christian Hoffmeister <https://github.com/choffmeister>, Steve Fenton, Diullei Gomes <https://github.com/Diullei>, Tass Iliopoulos <https://github.com/tasoili>, Jason Swearinge... |
61bbbadda49f7d1ca7f802563abb7a3795ba51ee8f8520776b7bf92cb5fcba39 | TypeScript | 200,000 | 4,540 | /*! *****************************************************************************
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.... |
78720f652b4b7b58897631ae840d69d3a3efcd5a79da69944c296f3c9e079169 | TypeScript | 200,000 | 3,844 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/fields/core_types.proto (package v1.public.fields.core_types, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } fr... |
9f952ac2bf68f17d85c425d97035e6d536fb93aeeeb5477267e9bb322b7ae99a | TypeScript | 200,000 | 4,223 | /*! *****************************************************************************
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.... |
c605eb1dc20a7a2d49e93e35c83d30f049803b29ba22e7ef6a4d171c97c8ee58 | TypeScript | 200,006 | 4,957 | /*! *****************************************************************************
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.... |
df35fbacfc2e83be6861e31ab7cc10d73ccf0c7a9135ebf5fbc98fc93d998fb6 | TypeScript | 200,009 | 7,017 | /**
* 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... |
085c5b149f827acd6c1cce77af77f34aefdc071550fa742d5dcf492a5c13f03e | TypeScript | 200,020 | 5,471 | /*! *****************************************************************************
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.... |
28a536cf20466aaa0182ce03b115105cfe53e43e6a875cbef7c075a596b9f6aa | TypeScript | 200,044 | 6,111 | // Type definitions for three.js r75
// Project: http://mrdoob.github.com/three.js/
// Definitions by: Kon <http://phyzkit.net/>, Satoru Kimura <https://github.com/gyohk>, Florent Poujol <https://github.com/florentpoujol>, SereznoKot <https://github.com/SereznoKot>
// Definitions: https://github.com/borisyankov/Definit... |
1c0767c833529f2fa76dccef8615334f3eb9554d01a2ea673f9224aca2c0997c | C | 447 | 17 | #define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "pygeos.h" // for PGERR_PYSIGNAL
#include "signal_checks.h"
/* Global values for interrupt checking */
int check_signals_interval[1] = {10000};
unsigned long main_thread_id[1] = {0};
PyObject* PySetupSignalChecks(PyObject* self, PyObject* args) {
if (!PyArg_Par... |
53d1c1f12b53f5abc558d2fe37ac0cb1c14e593b9cfe888cb440c8881475ceda | C | 860 | 38 | #include <Python.h>
#define NO_IMPORT_ARRAY
#define PY_ARRAY_UNIQUE_SYMBOL shapely_ARRAY_API
#include <numpy/ndarraytypes.h>
#include "geos.h"
#include "geom_arr.h"
#include "pygeom.h"
/* Convert a geometry array to a NumPy array of Geometry objects */
void geom_arr_to_npy(GEOSGeometry** array, char* ptr, npy_intp s... |
c99f0d337089f4445c39f1b131c94e7195d28f418a17400af919fb56cf239883 | C | 925 | 41 | /*
*
* Copyright (C) 2006-2007, Robert Oostenveld
*
* This implements [y] = abs(x)
*
* This function does not check the occurence of integer overflowing.
*
*/
#include <math.h>
#include "mex.h"
#include "matrix.h"
void
mexFunction (int nlhs, mxArray * plhs[], int nrhs, const mxArray * prhs[])
{
size_t M, N;... |
417138e952fa660f0eaf90ddca3e2de14c0c5390d57afa65446a90cdf20aaf4f | C | 970 | 37 | /* -------------------------------------------------------------------------- */
/* mexFunction: sparse_update */
/* set values to sparse matrix S */
/* -------------------------------------------------------------------------- */
#include "mex.h"
void mexFunction
(
int nargout,
mxArray *pargout [ ],
... |
09b386c6aa01c81db8b44db164f7bbb66f6326e992a65a53d8cd8a2e4735259e | C | 1,092 | 52 | #include "blas.h"
#ifdef __cplusplus
extern "C" {
#endif
int dscal_(int *n, double *sa, double *sx, int *incx)
{
long int i, m, nincx, nn, iincx;
double ssa;
/* scales a vector by a constant.
uses unrolled loops for increment equal to 1.
jack dongarra, linpack, 3/11/78.
modified 3/93 to return i... |
92c2e049c13913110595aa0a7cc3bd16b5e7fca4bb20ac8493699635927b7d0f | C | 1,092 | 42 | #define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <structmember.h>
#define NO_IMPORT_ARRAY
#define PY_ARRAY_UNIQUE_SYMBOL shapely_ARRAY_API
#include <numpy/arrayobject.h>
#include <numpy/ndarraytypes.h>
#include <numpy/npy_3kcompat.h>
#include "kvec.h"
#include "vector.h"
/* Copy values from arr of indexes to ... |
44a826a2c819eb25b71b58f0cf6bfd3776de31a5ac74da98ec2c792852ccb915 | C | 1,181 | 56 | /*
* $Id: spm_existfile.c 6428 2015-05-06 14:09:04Z guillaume $
* Guillaume Flandin
*/
#ifndef MATLAB_MEX_FILE
#undef _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE
#include <sys/stat.h>
#if defined(_WIN32)
#define structStat struct _stati64
#define getFileStat _stati64
#elif defined(__APPLE__)
#define structStat... |
d9594a126f423e0112ff1093ccf4d3a63c01adfeca0ed029dae3b081e31a1ea1 | C | 1,265 | 57 | #include "blas.h"
#ifdef __cplusplus
extern "C" {
#endif
int daxpy_(int *n, double *sa, double *sx, int *incx, double *sy,
int *incy)
{
long int i, m, ix, iy, nn, iincx, iincy;
register double ssa;
/* constant times a vector plus a vector.
uses unrolled loop for increments equal to one.
ja... |
1600dee968017f0106726fd0d7575ba1f1b22ac358e8c29047543fa04e69e275 | C | 1,271 | 58 | #include "blas.h"
#ifdef __cplusplus
extern "C" {
#endif
double ddot_(int *n, double *sx, int *incx, double *sy, int *incy)
{
long int i, m, nn, iincx, iincy;
double stemp;
long int ix, iy;
/* forms the dot product of two vectors.
uses unrolled loops for increments equal to one.
jack dongarra, linp... |
780f33ecaefd067eb17bbf42657961bd9006a34991e39f77a5c51418f7a09123 | C | 1,323 | 39 | /************************************************************************
* PyGEOS C API
*
* This file wraps internal PyGEOS C extension functions for use in other
* extensions. These are specifically wrapped to enable dynamic loading
* after Python initialization (see c_api.h and lib.c).
*
********************... |
07071fddc23a704d09da79e7b3ac9807ce932f55260e91a82cd6964d1863d1b9 | C | 1,357 | 70 | #include <math.h> /* Needed for fabs() and sqrt() */
#include "blas.h"
#ifdef __cplusplus
extern "C" {
#endif
double dnrm2_(int *n, double *x, int *incx)
{
long int ix, nn, iincx;
double norm, scale, absxi, ssq, temp;
/* DNRM2 returns the euclidean norm of a vector via the function
name, so that
DN... |
16391faff7a75f7b15a74f1dc13b0c6b61cf1b1269d1e4de9279f3ed0be74ab7 | C | 1,432 | 58 | /* compile with: mex sp_factor_ratio.c
* usage: Z = sp_factor_ratio(X, W, H)
* compute Z = X ./ (W*H) but in a sparse manner
* X must be sparse, cannot be full
*/
/* Written by Zhirong Yang
*/
#include "mex.h"
void mexFunction(int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[])
{
double *X, *W, *H, *... |
adb7ccca3c778bd202f36f726896701acde34f81b3b7b3e6d828b65c62947311 | C | 1,470 | 62 | #include <util/twi.h>
#include <avr/interrupt.h>
#include "I2CSlave.h"
static void (*I2C_recv)(uint8_t);
static void (*I2C_req)();
void I2C_setCallbacks(void (*recv)(uint8_t), void (*req)())
{
I2C_recv = recv;
I2C_req = req;
}
void I2C_init(uint8_t address)
{
cli();
// load address into TWI address register... |
c7ca52e76b1d6321b85a5cd0fd85108d3543e5a7ebab1874447282b94bc0d55a | C | 1,495 | 58 | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <mex.h>
#include <math.h>
#include "matrix.h"
#include "epph.h" /* This is the head file that contains the implementation of the used functions*/
/*
-------------------------- Function eplb -----------------------------
Euclidean Projection onto l1 B... |
0a63a50d06e1fe7f954beefea1abd9402d07cbaddd43d952860c917eb1b038b1 | C | 1,575 | 72 | #include "mex.h"
#include "math.h"
#include "matrix.h"
//#include <omp.h>
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
int errfl = 0;
double *Y = mxGetPr(prhs[0]);
int dim = (int)mxGetScalar(prhs[1]);
double *out;
int mY = mxGetM(prhs[0]);
int nY = mxGetN(prhs[0]);
//int numthread = o... |
5f837ae5e8a48f06b92bedd865c9c92ff96b033ab7e2a4739b9285748a60c398 | C | 1,787 | 54 | /* ---------------------------------------------------------- */
/* mexFunction: segL2 */
/* */
/* compute L2 norm for each provided segment */
/* ... |
67c52679d4bd897e59180f62475f894688e9fa765b840c7352e74b6985cf9a76 | C | 1,833 | 67 | /* Mergesort.c
Sort an array of structs
Brendan Hasz
haszx010@umn.edu
Feb 2015
David Redish Lab
University of Minnesota, Twin Cities
*/
#include <stdlib.h>
#include <stdio.h>
// What structs/functions to use, so we can swap what type we're sorting easily
#include "ALGRAPH.h"
typedef struct ... |
e3ffae1699b1d6fb620ce04c7916c99a4df1a8c9f369d08aafe205600c4859fd | C | 1,861 | 77 | /*
* phi.c - compute Phi for standard normal distribution
*
* Implemented by Misha Koshelev.
* mk144210 at bcm dot edu
*
* This is a MEX-file for MATLAB.
*/
#include "math.h"
#include "mex.h"
#ifndef mwSize
#define mwSize int
#endif
/*
* Based on:
* Marsaglia, George "Evaluating the Normal Distribution",
... |
e43807d134b8f151690b8dfebb86b4ea0cd1f50cde8ccfc45972a80a7bc25807 | C | 1,934 | 85 | #include "mex.h"
#include "math.h"
#include "matrix.h"
//#include <omp.h>
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
int errfl = 0;
double *Y = mxGetPr(prhs[0]);
int dim = (int)mxGetScalar(prhs[1]);
double *min;
double *minind;
int mY = mxGetM(prhs[0]);
int nY = mxGetN(prhs[0]);
//i... |
5a15d6756f6456b7db9f4854c12dc88546560d651f1fb71cf1cc366bbc0d0d88 | C | 2,075 | 61 | /* ---------------------------------------------------------- */
/* mexFunction: segADMM_Zstep */
/* */
/* compute L2 norm projection for each provided segment */
/* ... |
46978eb9a3359657c16816d51cc4dc2baf009e2c4b37cff35e64862e271d8f41 | C | 2,077 | 80 | /* How to write MEX files that call LAPACK:
* http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/ch04cr17.html
*/
#include "mex.h"
#include <string.h>
extern int dtrsm(char *side, char *uplo, char *transa, char *diag,
int *m, int *n, double *alpha, double *a, int *lda,
double *b, int *ld... |
930557c8185babf3431d9b0e6d0a15daf05fa281e1dcfe15af418a7deece2092 | C | 2,090 | 65 | /* ---------------------------------------------------------- */
/* mexFunction: segL2Proj */
/* */
/* compute L2 norm projection for each provided segment */
/* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.