Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ indexOf
Function
indexOf
packages/effect/src/internal/stm/tMap.ts:63–63 ·
view source on GitHub ↗
(k: K, capacity: number)
Source
from the content-addressed store, hash-verified
61
62
/** @internal */
63
const
indexOf = <K>(k: K, capacity: number): number => hash(k) & (capacity - 1)
64
65
/** @internal */
66
const
allocate = <K, V>(
Callers
3
allocate
Function · 0.70
tMap.ts
File · 0.70
resize
Function · 0.70
Calls
1
hash
Function · 0.70
Tested by
no test coverage detected