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

Method nextID

pkg/state/encode.go:176–179  ·  view source on GitHub ↗

nextID returns the next valid ID.

()

Source from the content-addressed store, hash-verified

174
175// nextID returns the next valid ID.
176func (es *encodeState) nextID() objectID {
177 es.lastID++
178 return objectID(es.lastID)
179}
180
181// dummyAddr points to the dummy zero-sized address.
182var dummyAddr = reflect.ValueOf(new(struct{})).Pointer()

Callers 1

resolveMethod · 0.95

Calls 1

objectIDTypeAlias · 0.85

Tested by

no test coverage detected