MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / DecodeDecimalDescending

Function DecodeDecimalDescending

pkg/util/encoding/decimal.go:249–251  ·  view source on GitHub ↗

DecodeDecimalDescending decodes decimals encoded with EncodeDecimalDescending.

(buf []byte, tmp []byte)

Source from the content-addressed store, hash-verified

247
248// DecodeDecimalDescending decodes decimals encoded with EncodeDecimalDescending.
249func DecodeDecimalDescending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) {
250 return decodeDecimal(buf, tmp, true)
251}
252
253func decodeDecimal(buf []byte, tmp []byte, invert bool) ([]byte, apd.Decimal, error) {
254 // Handle the simplistic cases first.

Callers 1

prettyPrintFirstValueFunction · 0.85

Calls 1

decodeDecimalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…