-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.ts
More file actions
87 lines (84 loc) · 1.55 KB
/
Copy pathmod.ts
File metadata and controls
87 lines (84 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/**
* @description A boolean array backed by a Uint32Array.
* @copyright 2026 the BooleanArray authors. All rights reserved.
* @license MIT
* @module BooleanArray
*/
import { BooleanArray } from "./src/boolean-array.ts";
import {
ALL_BITS_TRUE,
BITS_PER_INT,
CHUNK_MASK,
CHUNK_SHIFT,
EMPTY_ARRAY,
MAX_SAFE_SIZE,
MAX_UINT32,
} from "./src/constants.ts";
import { fromArray, fromObjects, fromUint32Array, fromUint8Array } from "./src/constructors.ts";
import { getChunk, getChunkCount, getChunkOffset, getLSBPosition, popcount } from "./src/internal.ts";
import {
and,
andInto,
containsAll,
difference,
differenceInto,
equals,
intersects,
nand,
nandInto,
nor,
norInto,
not,
notInto,
or,
orInto,
xnor,
xnorInto,
xor,
xorInto,
} from "./src/operations.ts";
import { assertIsSafeSize, assertIsSafeValue, isSafeSize, isSafeValue } from "./src/validation.ts";
/** Default export for consumers that prefer namespace-style imports. */
export default { BooleanArray } as const;
export {
ALL_BITS_TRUE,
and,
andInto,
assertIsSafeSize,
assertIsSafeValue,
BITS_PER_INT,
BooleanArray,
CHUNK_MASK,
CHUNK_SHIFT,
containsAll,
difference,
differenceInto,
EMPTY_ARRAY,
equals,
fromArray,
fromObjects,
fromUint32Array,
fromUint8Array,
getChunk,
getChunkCount,
getChunkOffset,
getLSBPosition,
intersects,
isSafeSize,
isSafeValue,
MAX_SAFE_SIZE,
MAX_UINT32,
nand,
nandInto,
nor,
norInto,
not,
notInto,
or,
orInto,
popcount,
xnor,
xnorInto,
xor,
xorInto,
};