MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Write

Method Write

internal/caches/writer.go:9–9  ·  view source on GitHub ↗

Write 写入Body数据

(data []byte)

Source from the content-addressed store, hash-verified

7
8 // Write 写入Body数据
9 Write(data []byte) (n int, err error)
10
11 // WriteAt 在指定位置写入数据
12 WriteAt(offset int64, data []byte) error

Callers 15

WriteMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
BenchmarkNewBufferPool1Function · 0.65
BenchmarkNewBufferPool2Function · 0.65
BenchmarkNewBufferPool3Function · 0.65
CopyWithFilterFunction · 0.65
WriteMethod · 0.65
WriteHeaderMethod · 0.65
WriteBodyMethod · 0.65
WriteBodyAtMethod · 0.65

Calls

no outgoing calls

Tested by 15

BenchmarkNewBufferPool1Function · 0.52
BenchmarkNewBufferPool2Function · 0.52
BenchmarkNewBufferPool3Function · 0.52
TestMemoryStorage_DeleteFunction · 0.52
TestMemoryStorage_StatFunction · 0.52
TestMemoryStorage_PurgeFunction · 0.52
TestMemoryStorage_ExpireFunction · 0.52