Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for adir (0.05 sec)

  1. 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)
  2. 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)
  3. internal/http/listener_test.go

    					continue nextTest
    				}
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		addr := listener.Addr()
    		if addr.String() != testCase.expectedAddr {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddr, addr)
    		}
    
    		listener.Close()
    	}
    }
    
    func TestHTTPListenerAddrs(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util.go

    func ConvertAddressToCidr(addr string) *core.CidrRange {
    	cidr, err := AddrStrToCidrRange(addr)
    	if err != nil {
    		log.Errorf("failed to convert address %s to CidrRange: %v", addr, err)
    		return nil
    	}
    
    	return cidr
    }
    
    // AddrStrToCidrRange converts from string to CIDR prefix
    func AddrStrToPrefix(addr string) (netip.Prefix, error) {
    	if len(addr) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. internal/kms/config.go

    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    		if opts != nil {
    			caDir = opts.CADir
    		}
    		conf.RootCAs, err = certs.GetRootCAs(env.Get(EnvKESServerCA, caDir))
    		if err != nil {
    			return nil, err
    		}
    
    		client := kes.NewClientWithConfig("", conf)
    		client.Endpoints = endpoints
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top