MCPcopy Create free account
hub / github.com/microsoft/go-winio / empty

Method empty

internal/stringbuffer/wstring.go:132–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131func (b *WString) cap() uint32 { return uint32(cap(b.b)) }
132func (b *WString) empty() bool { return b == nil || b.cap() == 0 }

Callers 5

FreeMethod · 0.95
ResizeToMethod · 0.95
BufferMethod · 0.95
PointerMethod · 0.95
CapMethod · 0.95

Calls 1

capMethod · 0.95

Tested by

no test coverage detected