- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 153 for addr1 (0.05 sec)
-
pilot/pkg/networking/util/util_test.go
}, }, }, }, } for _, test := range testCases { t.Run(test.name, func(t *testing.T) { addr := BuildAddress(test.addr, test.port) if !reflect.DeepEqual(addr, test.expected) { t.Errorf("expected add %v, but got %v", test.expected, addr) } }) } } func TestGetEndpointHost(t *testing.T) { tests := []struct { name string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
addresses := c.ambientIndex.All() for _, addr := range addresses { wl := addr.GetWorkload() if wl != nil { if !podNames.Contains(wl.Name) { continue } if addr.GetWorkload().Network != network { return fmt.Errorf("no network workload notify") } } svc := addr.GetService() if svc != nil { if !svcNames.Contains(svc.Name) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/error.go
return "runtime error: " + string(e) } type errorAddressString struct { msg string // error message addr uintptr // memory address where the error occurred } func (e errorAddressString) RuntimeError() {} func (e errorAddressString) Error() string { return "runtime error: " + e.msg } // Addr returns the memory address where a fault occurred. // The address provided is best-effort.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/net/sendfile_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0) -
association.go
case reflect.Slice, reflect.Array: for i := 0; i < rv.Len(); i++ { appendToFieldValues(reflect.Indirect(rv.Index(i)).Addr()) } case reflect.Struct: if !rv.CanAddr() { association.Error = ErrInvalidValue return } appendToFieldValues(rv.Addr()) } if association.Error == nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go
} if egressDialer != nil { dialer := func(ctx context.Context, addr string) (net.Conn, error) { if strings.Contains(addr, "//") { // etcd client prior to 3.5 passed URLs to dialer, normalize to address u, err := url.Parse(addr) if err != nil { return nil, err } addr = u.Host } return egressDialer(ctx, "tcp", addr) } dialOptions = append(dialOptions, grpc.WithContextDialer(dialer))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 07:56:39 UTC 2024 - 15.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
} } } func (pc *PodCache) getPodKeys(addr string) []types.NamespacedName { pc.RLock() defer pc.RUnlock() return pc.podsByIP[addr].UnsortedList() } // getPodByIp returns the pod or nil if pod not found or an error occurred func (pc *PodCache) getPodsByIP(addr string) []*v1.Pod { keys := pc.getPodKeys(addr) if keys == nil { return nil } res := make([]*v1.Pod, 0, len(keys))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
} for _, tc := range testCases { t.Logf("test case: %s", tc.name) fakeCloser := fake.NewCloser(t) client := &csiDriverClient{ driverName: "Fake Driver Name", nodeV1ClientCreator: func(addr csiAddr, m *MetricsManager) (csipbv1.NodeClient, io.Closer, error) { nodeClient := fake.NewNodeClient(false /* stagingCapable */) nodeClient.SetNextError(tc.err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
panic("unexpected call") } type faker struct { io.ReadWriter } func (f faker) Close() error { return nil } func (f faker) LocalAddr() net.Addr { return nil } func (f faker) RemoteAddr() net.Addr { return nil } func (f faker) SetDeadline(time.Time) error { return nil } func (f faker) SetReadDeadline(time.Time) error { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0)