MCPcopy Create free account
hub / github.com/google/gapid / String

Method String

gapis/replay/builder/builder.go:382–384  ·  view source on GitHub ↗

String returns a pointer to a block of memory in the constant address-space holding the string s. The string will be stored with a null-terminating byte.

(s string)

Source from the content-addressed store, hash-verified

380// String returns a pointer to a block of memory in the constant address-space
381// holding the string s. The string will be stored with a null-terminating byte.
382func (b *Builder) String(s string) value.Pointer {
383 return b.constantMemory.writeString(s)
384}
385
386// Call will invoke the function f, popping all parameter values previously
387// pushed to the stack with Push, starting with the first parameter. If f has

Callers 4

PrintfSpecifierMethod · 0.95
assertMethod · 0.95
doTraceMethod · 0.95
RunMethod · 0.95

Calls 1

writeStringMethod · 0.80

Tested by

no test coverage detected