Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for addr1 (0.04 sec)

  1. internal/http/listener_test.go

    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		addrs := listener.Addrs()
    		addrSet := set.NewStringSet()
    		for _, addr := range addrs {
    			addrSet.Add(addr.String())
    		}
    
    		if !addrSet.Equals(testCase.expectedAddrs) {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs)
    		}
    
    		listener.Close()
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/sync/atomic/doc.go

    func SwapInt64(addr *int64, new int64) (old int64)
    
    // SwapUint32 atomically stores new into *addr and returns the previous *addr value.
    // Consider using the more ergonomic and less error-prone [Uint32.Swap] instead.
    func SwapUint32(addr *uint32, new uint32) (old uint32)
    
    // SwapUint64 atomically stores new into *addr and returns the previous *addr value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/crypto/tls/tls.go

    		defer cancel()
    	}
    
    	rawConn, err := netDialer.DialContext(ctx, network, addr)
    	if err != nil {
    		return nil, err
    	}
    
    	colonPos := strings.LastIndex(addr, ":")
    	if colonPos == -1 {
    		colonPos = len(addr)
    	}
    	hostname := addr[:colonPos]
    
    	if config == nil {
    		config = defaultConfig()
    	}
    	// If no ServerName is set, infer the ServerName
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. 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)
  5. callbacks/preload.go

    						for i := 0; i < rv.Len(); i++ {
    							frv := rel.Field.ReflectValueOf(db.Statement.Context, rv.Index(i))
    							if frv.Kind() != reflect.Ptr {
    								reflectValue = reflect.Append(reflectValue, frv.Addr())
    							} else {
    								if frv.IsNil() {
    									continue
    								}
    								reflectValue = reflect.Append(reflectValue, frv)
    							}
    						}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    	httpListener, err := net.Listen("tcp", s.httpServer.Addr)
    	if err != nil {
    		return err
    	}
    	go func() {
    		log.Infof("starting HTTP service at %s", httpListener.Addr())
    		if err := s.httpServer.Serve(httpListener); network.IsUnexpectedListenerError(err) {
    			log.Errorf("error serving http server: %v", err)
    		}
    	}()
    	s.httpAddr = httpListener.Addr().String()
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		ServiceAccounts: slices.Sort(serviceAccounts),
    	}
    }
    
    func getGatewayAddrs(gw *v1beta1.Gateway) []netip.Addr {
    	// Currently, we only look at one address. Probably this should be made more robust
    	ip, err := netip.ParseAddr(gw.Status.Addresses[0].Value)
    	if err == nil {
    		return []netip.Addr{ip}
    	}
    	log.Errorf("Unable to parse IP address in status of %v/%v/%v", gvk.KubernetesGateway, gw.Namespace, gw.Name)
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. pkg/log/options.go

    // WithTeeToUDS configures a parallel logging pipeline that writes logs to a server over UDS.
    // addr is the socket that the server listens on, and path is the HTTP path that process the log message.
    func (o *Options) WithTeeToUDS(addr, path string) *Options {
    	return o.WithExtension(func(c zapcore.Core) (zapcore.Core, func() error, error) {
    		return teeToUDSServer(c, addr, path), func() error { return nil }, nil
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			Waypoint:              waypointAddress,
    			TrustDomain:           pickTrustDomain(meshCfg),
    			Locality:              getWorkloadEntryLocality(&wle.Spec),
    		}
    
    		if addr, err := netip.ParseAddr(wle.Spec.Address); err == nil {
    			w.Addresses = [][]byte{addr.AsSlice()}
    		} else {
    			log.Warnf("skipping workload entry %s/%s; DNS Address resolution is not yet implemented", wle.Namespace, wle.Name)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. scan.go

    	for idx, field := range fields {
    		if field != nil {
    			values[idx] = field.NewValuePool.Get()
    		} else if len(fields) == 1 {
    			if reflectValue.CanAddr() {
    				values[idx] = reflectValue.Addr().Interface()
    			} else {
    				values[idx] = reflectValue.Interface()
    			}
    		}
    	}
    
    	db.RowsAffected++
    	db.AddError(rows.Scan(values...))
    	joinedNestedSchemaMap := make(map[string]interface{})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top