MCPcopy
hub / github.com/google/gvisor / gcd

Function gcd

tools/checklocks/analysis.go:25–30  ·  view source on GitHub ↗
(a, b atomicAlignment)

Source from the content-addressed store, hash-verified

23)
24
25func gcd(a, b atomicAlignment) atomicAlignment {
26 for b != 0 {
27 a, b = b, a%b
28 }
29 return a
30}
31
32// typeAlignment returns the type alignment for the given type.
33func (pc *passContext) typeAlignment(pkg *types.Package, obj types.Object) atomicAlignment {

Callers 1

typeAlignmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected