Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nukeop/nuclear
/ clear
Method
clear
packages/player/src/utils/RingBuffer.ts:18–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
clear(): void {
19
this.buffer = [];
20
this.head = 0;
21
this.count = 0;
22
}
23
24
toArray(): T[] {
25
if
(this.count < this.capacity) {
Callers
15
prepend
Method · 0.95
handleSeeking
Method · 0.45
queue.test.tsx
File · 0.45
active-provider-selection.test.tsx
File · 0.45
stream-resolution.test.tsx
File · 0.45
discovery.test.tsx
File · 0.45
ConnectedPlayerBar.test.tsx
File · 0.45
RingBuffer.test.ts
File · 0.45
resetStores
Function · 0.45
Artist.test.tsx
File · 0.45
Sources.test.tsx
File · 0.45
FavoriteArtists.test.tsx
File · 0.45
Calls
no outgoing calls
Tested by
1
resetStores
Function · 0.36