Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SalvatorePreviti/roaring-wasm
/ functions
Functions
278 in github.com/SalvatorePreviti/roaring-wasm
⨍
Functions
278
◇
Types & classes
14
↓ 1 callers
Method
#addIterable
(values: Iterable<number | null | undefined | false | string>)
packages/roaring-wasm-src/RoaringBitmap32.ts:1955
↓ 1 callers
Method
#addTypedArray
(values: BasicTypedArray)
packages/roaring-wasm-src/RoaringBitmap32.ts:1926
↓ 1 callers
Method
#removeIterable
(values: Iterable<number | null | undefined | false | string>)
packages/roaring-wasm-src/RoaringBitmap32.ts:2011
↓ 1 callers
Method
#removeTypedArray
(values: BasicTypedArray)
packages/roaring-wasm-src/RoaringBitmap32.ts:1984
↓ 1 callers
Function
_base64ToArrayBuffer
(base64: string)
test/unit/RoaringBitmap32/RoaringBitmap32.serialization.test.ts:161
↓ 1 callers
Function
_roaringArenaAllocator_pop
(allocator: RoaringArenaAllocator)
packages/roaring-wasm-src/lib/roaring-arena-allocator-stack.ts:10
↓ 1 callers
Function
_roaringArenaAllocator_push
(allocator: RoaringArenaAllocator)
packages/roaring-wasm-src/lib/roaring-arena-allocator-stack.ts:7
↓ 1 callers
Function
_thenableToPromise
(thenable: PromiseLike<unknown>)
packages/roaring-wasm-src/IDisposable.ts:8
↓ 1 callers
Method
andCardinality
* Computes the size of the intersection between two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap. * @returns
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:390
↓ 1 callers
Method
andNotCardinality
* Computes the size of the difference (andnot) of two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap. * @retur
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:408
↓ 1 callers
Method
andNotInPlace
* Compute the difference between this and the provided bitmap, * writing the result in the current bitmap. * The provided bitmap is not modified
packages/roaring-wasm-src/RoaringBitmap32.ts:1579
↓ 1 callers
Function
buildDts
()
scripts/compile-wasm.js:191
↓ 1 callers
Function
buildLinkArgs
(environment)
scripts/compile-wasm.js:25
↓ 1 callers
Function
compileObjectFile
(file)
scripts/compile-wasm.js:123
↓ 1 callers
Function
copyIndexDTsToBrowser
()
scripts/compile-ts.js:109
↓ 1 callers
Function
copyWasmFile
()
scripts/compile-ts.js:102
↓ 1 callers
Function
deleteFile
(file)
scripts/clean.js:23
↓ 1 callers
Method
dispose
* Disposes this object freeing all WASM memory associated to it. * Is safe to call this method more than once.
packages/roaring-wasm-src/RoaringBitmap32.ts:645
↓ 1 callers
Method
disposeAll
()
packages/roaring-wasm-src/RoaringArenaAllocator.ts:76
↓ 1 callers
Function
emccBuildBrowser
()
scripts/compile-wasm.js:187
↓ 1 callers
Function
emccBuildNode
()
scripts/compile-wasm.js:183
↓ 1 callers
Method
escape
(disposable: T)
packages/roaring-wasm-src/RoaringArenaAllocator.ts:127
↓ 1 callers
Function
executablePathFromEnv
(envVariableName, subfolder, executableName)
scripts/lib/utils.js:178
↓ 1 callers
Function
exploreDir
(dir)
scripts/typecheck.js:28
↓ 1 callers
Function
handleError
(e)
scripts/lib/utils.js:98
↓ 1 callers
Function
handleMainError
(e)
scripts/lib/utils.js:61
↓ 1 callers
Method
jaccardIndex
* Computes the Jaccard index between two bitmaps. * (Also known as the Tanimoto distance, or the Jaccard similarity coefficient) * See https://e
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:453
↓ 1 callers
Function
loadProject
(tsconfigFile)
scripts/typecheck.js:9
↓ 1 callers
Function
logSuccess
(x)
scripts/lib/utils.js:89
↓ 1 callers
Method
newRoaringBitmap32
( valuesOrCapacity?: | RoaringBitmap32 | BasicTypedArray | Iterable<number | null | unde
packages/roaring-wasm-src/RoaringArenaAllocator.ts:142
↓ 1 callers
Method
newRoaringUint8Array
(lengthOrArray?: number | Iterable<number> | ArrayLike<number> | null | undefined)
packages/roaring-wasm-src/RoaringArenaAllocator.ts:132
↓ 1 callers
Method
orCardinality
* Computes the size of the union of two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap. * @returns Cardinality
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:399
↓ 1 callers
Method
orInPlace
* Adds the element of the other bitmap into this bitmap. * Stores the result in this bitmap. * The provided bitmap is not modified. * * @p
packages/roaring-wasm-src/RoaringBitmap32.ts:1527
↓ 1 callers
Function
pass
()
test/web/main.ts:20
↓ 1 callers
Function
processCompleted
()
scripts/lib/utils.js:45
↓ 1 callers
Function
randomRoaringUint32Array
(size, maxValue, seed = 18397123)
test/benchmark.js:7
↓ 1 callers
Method
rangeArray
* Converts a range of the bitmap to an JS Array. * The resulting array may be very big, use this function with caution. * * @param minimumVal
packages/roaring-wasm-src/RoaringBitmap32.ts:1210
↓ 1 callers
Method
rangeJoin
* Converts a range of the bitmap to a string in the form "1,2,3,4,5". * The resulting string may be very big, use this function with caution. *
packages/roaring-wasm-src/RoaringBitmap32.ts:1268
↓ 1 callers
Method
rangeSet
* Converts a range of the bitmap to a Set. * The resulting set may be very big, use this function with caution. * * @param minimumValue - The
packages/roaring-wasm-src/RoaringBitmap32.ts:1237
↓ 1 callers
Method
rangeUint32Array
* Converts a range of the bitmap to a Uint32Array. * The resulting array may be very big, use this function with caution. * * @param minimumV
packages/roaring-wasm-src/RoaringBitmap32.ts:1174
↓ 1 callers
Function
removeIgnoredFiles
(files)
lint-staged.config.js:5
↓ 1 callers
Method
removeRunCompression
* Remove run-length encoding even when it is more space efficient. * * Return whether a change was applied. * * @returns True if a change
packages/roaring-wasm-src/RoaringBitmap32.ts:1648
↓ 1 callers
Method
serialize
* Serializes a bitmap to a typed Uint8Array. * The returned array is automatically garbage collected and there is no need to be disposed manually.
packages/roaring-wasm-src/RoaringBitmap32.ts:391
↓ 1 callers
Method
throwIfDisposed
* Throws an exception if this object was disposed before.
packages/roaring-wasm-src/RoaringBitmap32.ts:661
↓ 1 callers
Function
tsupBrowser
()
scripts/compile-ts.js:51
↓ 1 callers
Function
tsupNode
()
scripts/compile-ts.js:38
↓ 1 callers
Method
xorCardinality
* Computes the size of the symmetric difference (xor) between two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap.
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:417
Method
[Symbol.iterator]
()
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:111
Method
[Symbol.iterator]
()
packages/roaring-wasm-src/RoaringBitmap32.ts:637
Method
[Symbol.iterator]
()
packages/roaring-wasm-src/RoaringBitmap32Iterator.ts:48
Method
_p
* Internal property, do not use. * @internal
packages/roaring-wasm-src/RoaringBitmap32.ts:2062
Method
_p
* Internal property, do not use. * @internal
packages/roaring-wasm-src/RoaringUint8Array.ts:249
Method
andCardinality
* Computes the size of the intersection between two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap. * @returns
packages/roaring-wasm-src/RoaringBitmap32.ts:1445
Method
andInPlace
* Intersects this bitmap with another. * Removes the elements from this bitmap that don't exists in the other. * Stores the result in this bitma
packages/roaring-wasm-src/RoaringBitmap32.ts:1502
Method
andNotCardinality
* Computes the size of the difference (andnot) of two bitmaps. * Both bitmaps are unchanged. * * @param other - The other bitmap. * @retur
packages/roaring-wasm-src/RoaringBitmap32.ts:1471
Method
at
* The at() method takes an integer value and returns the item at that index, * allowing for positive and negative integers. Negative integers count
packages/roaring-wasm-src/RoaringBitmap32.ts:1422
Method
at
* The at() method takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back
packages/roaring-wasm-src/RoaringUint8Array.ts:217
Function
build
()
scripts/build.js:8
Method
byteLength
* The length in bytes of the array. * For RoaringUint8Array it is equal to this.length
packages/roaring-wasm-src/RoaringUint8Array.ts:20
Function
clean
()
scripts/clean.js:43
Method
clone
* Returns a new bitmap that is a copy of this bitmap, same as new RoaringBitmap32(copy) * @returns A cloned RoaringBitmap32 instance
packages/roaring-wasm-src/RoaringBitmap32.ts:681
Method
clone
(allocator?: RoaringArenaAllocator | null | undefined)
packages/roaring-wasm-src/RoaringBitmap32Iterator.ts:52
Function
compileTs
()
scripts/compile-ts.js:19
Function
compileWasm
()
scripts/compile-wasm.js:77
Method
constructor
* Creates a new roaring bitmap adding the specified values. * * The roaring bitmap allocates in WASM memory, remember to dispose * the Roarin
packages/roaring-wasm-src/RoaringBitmap32.ts:544
Method
constructor
* Allocates an array in the roaring WASM heap. * * Note: Memory is not garbage collected, you are responsible to free the allocated memory calli
packages/roaring-wasm-src/RoaringUint8Array.ts:41
Method
constructor
()
packages/roaring-wasm-src/RoaringArenaAllocator.ts:70
Method
constructor
( bitmap: RoaringBitmap32 | null = null, arenaAllocator: RoaringArenaAllocator | null = _roaringArenaA
packages/roaring-wasm-src/RoaringBitmap32Iterator.ts:15
Method
contains
* Checks whether the given value is contained in the set. * * @param value - The value to look for. * @returns True if value exists in the se
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:27
Method
contains
* Checks whether the given value is contained in the set. * * @param value - The value to look for. * @returns True if value exists in the se
packages/roaring-wasm-src/RoaringBitmap32.ts:46
Method
current
()
packages/roaring-wasm-src/RoaringArenaAllocator.ts:19
Function
disposeAll
( ...disposables: readonly ( | readonly (IDisposable | null | undefined | false | readonly (IDisposable
packages/roaring-wasm-src/IDisposable.ts:96
Function
disposeThis
(this: IDisposable | null | undefined)
packages/roaring-wasm-src/IDisposable.ts:39
Method
done
()
packages/roaring-wasm-src/RoaringBitmap32Iterator.ts:33
Function
error
(error)
scripts/lib/logging.js:38
Method
escaped
* Gets the number of references currently escaped. * Escaped references are not disposed when the arena is stopped. * @returns The number of esc
packages/roaring-wasm-src/RoaringArenaAllocator.ts:58
Function
execAsync
(command, options)
scripts/lib/utils.js:119
Function
failure
(description)
scripts/lib/logging.js:34
Method
freeze
* Makes this roaring bitmap readonly. * Sets isFrozen to true. * This is a no-op if isFrozen is already true. * Every attempt to modify the b
packages/roaring-wasm-src/RoaringBitmap32.ts:530
Function
getSuccess
(description)
scripts/lib/logging.js:46
Method
has
* Checks whether the given value is contained in the set. * * @param value - The value to look for. * @returns True if value exists in the se
packages/roaring-wasm-src/RoaringBitmap32.ts:1002
Method
hasRange
* Check whether a range of values from rangeStart (included) to rangeEnd (excluded) is present * * @param rangeStart - The start value (inclusiv
packages/roaring-wasm-src/RoaringBitmap32.ts:698
Method
includes
* Checks whether the given value is contained in the set. * * @param value - The value to look for. * @returns True if value exists in the se
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:19
Method
indexOf
* Finds the index of the nth set element. * Returns -1 if not found. * * @param value - Element value * @returns element index or -1 if no
packages/roaring-wasm-src/RoaringBitmap32.ts:1434
Function
info
(description)
scripts/lib/logging.js:26
Method
intersects
* Check whether the two bitmaps intersect (have at least one element in common). * * @param other - The other bitmap. * @returns True if the
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:433
Method
intersects
* Check whether the two bitmaps intersect (have at least one element in common). * * @param other - The other bitmap. * @returns True if the
packages/roaring-wasm-src/RoaringBitmap32.ts:1611
Method
intersectsWithRange
* Check whether a bitmap and a closed range intersect. * * @param rangeStart The start of the range. * @param rangeEnd The end of the range.
packages/roaring-wasm-src/RoaringBitmap32.ts:1624
Method
isDisposed
* Returns true if this instance was disposed. * A disposed bitmap cannot be used anymore.
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:91
Method
isDisposed
* Returns true if this instance was disposed. * A disposed bitmap cannot be used anymore.
packages/roaring-wasm-src/RoaringBitmap32.ts:595
Method
isDisposed
* Returns true if this object was deallocated.
packages/roaring-wasm-src/RoaringUint8Array.ts:27
Method
isDisposed
()
packages/roaring-wasm-src/RoaringBitmap32Iterator.ts:25
Method
isEmpty
* Returns true if the bitmap has no elements.
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:109
Method
isEmpty
* Returns true if the bitmap has no elements.
packages/roaring-wasm-src/RoaringBitmap32.ts:624
Method
isEqual
* Checks wether two roaring bitmap contains the same data. * * @param other - The other bitmap. * @returns True if the bitmaps contains the s
packages/roaring-wasm-src/RoaringBitmap32.ts:1372
Method
isFrozen
* Property. True if the bitmap is read-only. * A read-only bitmap cannot be modified, every operation will throw an error. * You can freeze a bi
packages/roaring-wasm-src/ReadonlyRoaringBitmap32.ts:99
Method
isFrozen
* Property. True if the bitmap is read-only. * A read-only bitmap cannot be modified, every operation will throw an error. * You can freeze a bi
packages/roaring-wasm-src/RoaringBitmap32.ts:605
Method
isStrictSubset
* Returns true if this bitmap is strict subset of the other. * * @param other - The other bitmap * @returns True if this bitmap is a strict s
packages/roaring-wasm-src/RoaringBitmap32.ts:1024
Method
isSubset
* Returns true if the bitmap is subset of the other. * * @param other - the other bitmap * @returns true if the bitmap is subset of the other
packages/roaring-wasm-src/RoaringBitmap32.ts:1012
Method
jaccardIndex
* Computes the Jaccard index between two bitmaps. * (Also known as the Tanimoto distance, or the Jaccard similarity coefficient) * See https://e
packages/roaring-wasm-src/RoaringBitmap32.ts:1637
← previous
next →
101–200 of 278, ranked by callers