MCPcopy
hub / github.com/grpc/grpc-go / minPointers

Function minPointers

service_config.go:304–309  ·  view source on GitHub ↗
(a, b *int)

Source from the content-addressed store, hash-verified

302}
303
304func minPointers(a, b *int) *int {
305 if *a < *b {
306 return a
307 }
308 return b
309}
310
311func getMaxSize(mcMax, doptMax *int, defaultVal int) *int {
312 if mcMax == nil && doptMax == nil {

Callers 1

getMaxSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected