MCPcopy Create free account
hub / github.com/cockroachdb/apd / Scan

Method Scan

bigint.go:826–834  ·  view source on GitHub ↗

Scan calls (big.Int).Scan.

(s fmt.ScanState, ch rune)

Source from the content-addressed store, hash-verified

824
825// Scan calls (big.Int).Scan.
826func (z *BigInt) Scan(s fmt.ScanState, ch rune) error {
827 var tmp1 big.Int //gcassert:noescape
828 zi := z.inner(&tmp1)
829 if err := zi.Scan(s, ch); err != nil {
830 return err
831 }
832 z.updateInner(zi)
833 return nil
834}
835
836// Set calls (big.Int).Set.
837func (z *BigInt) Set(x *BigInt) *BigInt {

Callers 2

ParseDecTestFunction · 0.45
TestSQLFunction · 0.45

Calls 2

innerMethod · 0.95
updateInnerMethod · 0.95

Tested by 2

ParseDecTestFunction · 0.36
TestSQLFunction · 0.36