math.Ceil
standard libraryThe 702nd most-called standard-library function by production calls. Called 1,126 times across 250 modules; 981 of those run outside tests and generated code.
- prod calls
- 981
- non-test, non-generated
- all calls
- 1,126
- total callsites
- modules
- 250
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- 13%
- 145 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Ceil from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 158 16%
- Go (golang.org/x) 71 7%
- Grafana 35 4%
- CockroachDB 16 2%
- Dgraph 14 1%
where it's called
Callsites in the wild
12 representative callsites of 1,126, prioritizing in-loop and non-test usage. We link to source, never display it.
-
bubbles/v2 @v2.1.1
viewport/viewport.go:284
in loop -
dgraph-io/dgraph @v1.2.8
in loop - in loop
-
encr.dev @v1.57.13
pkg/errinsrc/srcrender.go:222
in loop - in loop
-
gitea.dev @v1.27.1
models/migrations/v1_11/v115.go:98
in loop -
aliyun/aliyun-oss-go-sdk @v3.0.2+incompatible
in loop - in loop
- in loop
-
canopy-network/canopy @v0.1.21-0.20260804152417-f06389d8a755
in loop - in loop
-
disintegration/imaging @v1.6.2
in loop
top callers
The modules that reach for it
The modules that call Ceil most in this snapshot.
- github.com/terrastruct/d212611%
- github.com/kubernetes/kubernetes868%
- golang.org/x/image716%
- k8s.io/kubernetes393%
- github.com/google/cel-go343%
siblings
More from math
The other most-called functions in this package. See all →