MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / DivIntWithUint

Function DivIntWithUint

tidbparser/dependency/types/overflow.go:179–189  ·  view source on GitHub ↗

DivIntWithUint divides int64 a with uint64 b, returns uint64 if no overflow error. It just checks overflow, if b is zero, a "divide by zero" panic throws.

(a int64, b uint64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

GenByArgsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…