- Sort Score
- Result 10 results
- Languages All
Results 101 - 105 of 105 for index (0.28 sec)
-
pkg/config/security/security.go
if err != nil || p > 65535 { errs = multierror.Append(errs, fmt.Errorf("bad port (%s): %v", port, err)) } } return errs.ErrorOrNil() } func validateMapKey(key string) error { open := strings.Index(key, "[") if strings.HasSuffix(key, "]") && open > 0 && open < len(key)-2 { return nil } return fmt.Errorf("bad key (%s): should have format a[b]", key) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
src/crypto/sha512/sha512.go
} else { t = 128 + 112 - len%128 } // Length in bits. len <<= 3 padlen := tmp[:t+16] // Upper 64 bits are always zero, because len variable has type uint64, // and tmp is already zeroed at that index, so we can skip updating it. // byteorder.BePutUint64(padlen[t+0:], 0) byteorder.BePutUint64(padlen[t+8:], len) d.Write(padlen) if d.nx != 0 { panic("d.nx != 0") } var digest [Size]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/net.go
func isHostIP(ipAddress string) bool { host, _, err := net.SplitHostPort(ipAddress) if err != nil { host = ipAddress } // Strip off IPv6 zone information. if i := strings.Index(host, "%"); i > -1 { host = host[:i] } return net.ParseIP(host) != nil } // extractHostPort - extracts host/port from many address formats // such as, ":9000", "localhost:9000", "http://localhost:9000/"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/sync/pool.go
// for race detector logic. We don't use the actual pointer stored in x // directly, for fear of conflicting with other synchronization on that address. // Instead, we hash the pointer to get an index into poolRaceHash. // See discussion on golang.org/cl/31589. func poolRaceAddr(x any) unsafe.Pointer { ptr := uintptr((*[2]unsafe.Pointer)(unsafe.Pointer(&x))[1]) h := uint32((uint64(uint32(ptr)) * 0x85ebca6b) >> 16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/log/nflog.go
uid, gid := uint32(0), uint32(0) if attrs.UID != nil { uid = *attrs.UID } if attrs.GID != nil { gid = *attrs.GID } inDev, outDev := "", "" if attrs.InDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.InDev)) if err == nil { inDev = ii.Name } } if attrs.OutDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.OutDev)) if err == nil { outDev = ii.Name }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:40 UTC 2024 - 2.8K bytes - Viewed (0)