Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ increment
Method
increment
packages/effect/src/internal/ringBuffer.ts:53–58 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
private increment(): void {
54
if
(this.size < this.capacity) {
55
this.size += 1
56
}
57
this.current = (this.current + 1) % this.capacity
58
}
59
60
private decrement(): void {
61
this.size -= 1
Callers
1
put
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected