func google.golang.org/grpc/internal/grpcrand.Intn
6 uses
google.golang.org/grpc/internal/grpcrand (current package)
grpcrand.go#L43: func Intn(n int) int {
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L416: return grpcrand.Intn(100)+1 <= *a
google.golang.org/grpc
server.go#L465: threshold := serverWorkerResetThreshold + grpcrand.Intn(serverWorkerResetThreshold)
google.golang.org/grpc/balancer/grpclb
grpclb_picker.go#L124: subConnsNext: grpcrand.Intn(len(readySCs)),
grpclb_picker.go#L159: subConnsNext: grpcrand.Intn(len(readySCs)),
google.golang.org/grpc/balancer/roundrobin
roundrobin.go#L63: next: grpcrand.Intn(len(scs)),
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |