MCPcopy Create free account
hub / github.com/Monibuca/engine / Ready

Method Ready

util/ring-writer.go:16–16  ·  view source on GitHub ↗

重置数据,复用内存

()

Source from the content-addressed store, hash-verified

14type IDataFrame[T any] interface {
15 Reset() // 重置数据,复用内存
16 Ready() // 标记为可读取
17 ReaderEnter() // 读取者数量+1
18 ReaderTryEnter() bool // 尝试读取
19 ReaderLeave() // 读取者数量-1

Callers 3

ReduceMethod · 0.65
DisposeMethod · 0.65
StepMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected