Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.d.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 726 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40bcoe/v8-coverage/dist/lib/range-tree.d.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.d.ts
-
curl -L -o range-tree.d.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40bcoe/v8-coverage/dist/lib/range-tree.d.ts
726 Bytes
| import { RangeCov } from "./types"; | |
| export declare class RangeTree { | |
| start: number; | |
| end: number; | |
| delta: number; | |
| children: RangeTree[]; | |
| constructor(start: number, end: number, delta: number, children: RangeTree[]); | |
| /** | |
| * @precodition `ranges` are well-formed and pre-order sorted | |
| */ | |
| static fromSortedRanges(ranges: ReadonlyArray<RangeCov>): RangeTree | undefined; | |
| normalize(): void; | |
| /** | |
| * @precondition `tree.start < value && value < tree.end` | |
| * @return RangeTree Right part | |
| */ | |
| split(value: number): RangeTree; | |
| /** | |
| * Get the range coverages corresponding to the tree. | |
| * | |
| * The ranges are pre-order sorted. | |
| */ | |
| toRanges(): RangeCov[]; | |
| } | |