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

Method removeView

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

Source from the content-addressed store, hash-verified

33}
34
35func (b *Buffer) removeView(v *View) {
36 b.data.Remove(v)
37 v.Release()
38}
39
40// MakeWithData creates a new Buffer initialized with given data. This function
41// should be used with caution to avoid unnecessary []byte allocations. When in

Callers 5

ReleaseMethod · 0.95
advanceReadMethod · 0.95
TruncateMethod · 0.95
PullUpMethod · 0.95
readMethod · 0.95

Calls 2

ReleaseMethod · 0.65
RemoveMethod · 0.45

Tested by

no test coverage detected