MCPcopy Index your code
hub / github.com/expr-lang/expr / printInt

Function printInt

internal/spew/common.go:153–155  ·  view source on GitHub ↗

printInt outputs a signed integer value to Writer w.

(w io.Writer, val int64, base int)

Source from the content-addressed store, hash-verified

151
152// printInt outputs a signed integer value to Writer w.
153func printInt(w io.Writer, val int64, base int) {
154 w.Write([]byte(strconv.FormatInt(val, base)))
155}
156
157// printUint outputs an unsigned integer value to Writer w.
158func printUint(w io.Writer, val uint64, base int) {

Callers 2

formatMethod · 0.85
dumpMethod · 0.85

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…