func net.CIDRMask
5 uses
net (current package)
ip.go#L74: func CIDRMask(ones, bits int) IPMask {
ip.go#L728: m := CIDRMask(n, 8*iplen)
github.com/jackc/pgtype
inet.go#L44: mask := net.CIDRMask(bitCount, bitCount)
inet.go#L139: mask := net.CIDRMask(bitCount, bitCount)
inet.go#L170: ipnet.Mask = net.CIDRMask(int(bits), int(addressLength)*8)
![]() |
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. |