- Sort Score
- Result 10 results
- Languages All
Results 31 - 36 of 36 for SubZone (0.1 sec)
-
pilot/pkg/model/service.go
return "DNSRoundRobin" case Passthrough: return "Passthrough" default: return fmt.Sprintf("%d", int(resolution)) } } const ( // LocalityLabel indicates the region/zone/subzone of an instance. It is used to override the native // registry's value. // // Note: because k8s labels does not support `/`, so we use `.` instead in k8s. LocalityLabel = pm.LocalityLabel ) const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
src/net/netip/uint128.go
func (u uint128) or(m uint128) uint128 { return uint128{u.hi | m.hi, u.lo | m.lo} } // not returns the bitwise NOT of u. func (u uint128) not() uint128 { return uint128{^u.hi, ^u.lo} } // subOne returns u - 1. func (u uint128) subOne() uint128 { lo, borrow := bits.Sub64(u.lo, 1, 0) return uint128{u.hi - borrow, lo} } // addOne returns u + 1. func (u uint128) addOne() uint128 { lo, carry := bits.Add64(u.lo, 1, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:28:44 UTC 2022 - 2.2K bytes - Viewed (0) -
src/net/netip/uint128_test.go
{uint128{1, 1}, sub1, uint128{1, 0}}, } for _, tt := range tests { var got uint128 switch tt.op { case add1: got = tt.in.addOne() case sub1: got = tt.in.subOne() default: panic("bogus op") } if got != tt.want { t.Errorf("%v add %d = %v; want %v", tt.in, tt.op, got, tt.want) } } } func TestBitsSetFrom(t *testing.T) { tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 01:28:01 UTC 2021 - 2.1K bytes - Viewed (0) -
src/net/netip/inlining_test.go
"appendDecimal", "appendHex", "uint128.addOne", "uint128.and", "uint128.bitsClearedFrom", "uint128.bitsSetFrom", "uint128.isZero", "uint128.not", "uint128.or", "uint128.subOne", "uint128.xor", } switch runtime.GOARCH { case "amd64", "arm64": // These don't inline on 32-bit. wantInlinable = append(wantInlinable, "Addr.AsSlice", "Addr.Next", "Addr.Prev", )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 2K bytes - Viewed (0) -
src/net/netip/netip.go
func (ip Addr) Prev() Addr { if ip.Is4() { if uint32(ip.addr.lo) == 0 { return Addr{} } } else if ip.addr.isZero() { return Addr{} } ip.addr = ip.addr.subOne() return ip } // String returns the string form of the IP address ip. // It returns one of 5 forms: // // - "invalid IP", if ip is the zero [Addr] // - IPv4 dotted decimal ("192.0.2.1")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0)