MCPcopy Index your code
hub / github.com/google/gvisor / appendOwned

Method appendOwned

pkg/buffer/buffer.go:292–295  ·  view source on GitHub ↗
(v *View)

Source from the content-addressed store, hash-verified

290}
291
292func (b *Buffer) appendOwned(v *View) {
293 b.data.PushBack(v)
294 b.size += int64(v.Size())
295}
296
297func (b *Buffer) prependOwned(v *View) {
298 b.data.PushFront(v)

Callers 8

TestBufferPullUpFunction · 0.95
TestReadFunction · 0.95
TestReadByteFunction · 0.95
TestPullUpModifiedViewsFunction · 0.95
TestBufferSubApplyFunction · 0.95
TestSaveRestoreBufferFunction · 0.95
AppendMethod · 0.95
TestChecksumFunction · 0.80

Calls 2

SizeMethod · 0.65
PushBackMethod · 0.45

Tested by 7

TestBufferPullUpFunction · 0.76
TestReadFunction · 0.76
TestReadByteFunction · 0.76
TestPullUpModifiedViewsFunction · 0.76
TestBufferSubApplyFunction · 0.76
TestSaveRestoreBufferFunction · 0.76
TestChecksumFunction · 0.64