Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
292
func
(b *Buffer) appendOwned(v *View) {
293
b.data.PushBack(v)
294
b.size += int64(v.Size())
295
}
296
297
func
(b *Buffer) prependOwned(v *View) {
298
b.data.PushFront(v)
Callers
8
TestBufferPullUp
Function · 0.95
TestRead
Function · 0.95
TestReadByte
Function · 0.95
TestPullUpModifiedViews
Function · 0.95
TestBufferSubApply
Function · 0.95
TestSaveRestoreBuffer
Function · 0.95
Append
Method · 0.95
TestChecksum
Function · 0.80
Calls
2
Size
Method · 0.65
PushBack
Method · 0.45
Tested by
7
TestBufferPullUp
Function · 0.76
TestRead
Function · 0.76
TestReadByte
Function · 0.76
TestPullUpModifiedViews
Function · 0.76
TestBufferSubApply
Function · 0.76
TestSaveRestoreBuffer
Function · 0.76
TestChecksum
Function · 0.64