Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 187 for UInt32 (0.11 sec)

  1. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    				g.Expect(policy.NumRetries.Value).To(Equal(uint32(2)))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0)))
    				g.Expect(policy.RetryPriority).To(BeNil())
    				g.Expect(policy.HostSelectionRetryMaxAttempts).To(Equal(retry.DefaultPolicy().HostSelectionRetryMaxAttempts))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/retry/retry.go

    			ConfigType: &route.RetryPolicy_RetryPriority_TypedConfig{
    				TypedConfig: defaultRetryPriorityTypedConfig,
    			},
    		}
    	}
    
    	return out
    }
    
    func parseRetryOn(retryOn string) (string, []uint32) {
    	codes := make([]uint32, 0)
    	tojoin := make([]string, 0)
    
    	parts := strings.Split(retryOn, ",")
    	for _, part := range parts {
    		part = strings.TrimSpace(part)
    		if part == "" {
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/runtime/lock_futex.go

    	"unsafe"
    )
    
    // This implementation depends on OS-specific implementations of
    //
    //	futexsleep(addr *uint32, val uint32, ns int64)
    //		Atomically,
    //			if *addr == val { sleep }
    //		Might be woken up spuriously; that's allowed.
    //		Don't sleep longer than ns; ns < 0 means forever.
    //
    //	futexwakeup(addr *uint32, cnt uint32)
    //		If any procs are sleeping on addr, wake up at most cnt.
    
    const (
    	mutex_unlocked = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/hash/fnv/fnv.go

    func (s *sum128) Reset()  { s[0] = offset128Higher; s[1] = offset128Lower }
    func (s *sum128a) Reset() { s[0] = offset128Higher; s[1] = offset128Lower }
    
    func (s *sum32) Sum32() uint32  { return uint32(*s) }
    func (s *sum32a) Sum32() uint32 { return uint32(*s) }
    func (s *sum64) Sum64() uint64  { return uint64(*s) }
    func (s *sum64a) Sum64() uint64 { return uint64(*s) }
    
    func (s *sum32) Write(data []byte) (int, error) {
    	hash := *s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/reflect/iter.go

    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    	case Uint8:
    		return rangeNum[uint8](v.Uint())
    	case Uint16:
    		return rangeNum[uint16](v.Uint())
    	case Uint32:
    		return rangeNum[uint32](v.Uint())
    	case Uint64:
    		return rangeNum[uint64](v.Uint())
    	case Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/math/unsafe.go

    // Float32bits(Float32frombits(x)) == x.
    func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) }
    
    // Float32frombits returns the floating-point number corresponding
    // to the IEEE 754 binary representation b, with the sign bit of b
    // and the result in the same bit position.
    // Float32frombits(Float32bits(x)) == x.
    func Float32frombits(b uint32) float32 { return *(*float32)(unsafe.Pointer(&b)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/runtime/covermeta.go

    import (
    	"internal/coverage/rtcov"
    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  8. pilot/pkg/xds/endpoints/ep_filters.go

    	}
    	return gws
    }
    
    func (b *EndpointBuilder) scaleEndpointLBWeight(ep *endpoint.LbEndpoint, scaleFactor uint32) uint32 {
    	if ep.GetLoadBalancingWeight() == nil || ep.GetLoadBalancingWeight().Value == 0 {
    		return scaleFactor
    	}
    	weight := uint32(math.MaxUint32)
    	if ep.GetLoadBalancingWeight().Value < math.MaxUint32/scaleFactor {
    		weight = ep.GetLoadBalancingWeight().Value * scaleFactor
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/runtime/os3_plan9.go

    		crash()
    	}
    Exit:
    	goexitsall(note)
    	exits(note)
    	return _NDFLT // not reached
    }
    
    func sigenable(sig uint32) {
    }
    
    func sigdisable(sig uint32) {
    }
    
    func sigignore(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    }
    
    func setThreadCPUProfiler(hz int32) {
    	// TODO: Enable profiling interrupts.
    	getg().m.profilehz = hz
    }
    
    // gsignalStack is unused on Plan 9.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/internal/syscall/unix/eaccess_darwin.go

    func faccessat(dirfd int, path string, mode uint32, flags int) error {
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	_, _, errno := syscall_syscall6(abi.FuncPCABI0(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(mode), uintptr(flags), 0, 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func Eaccess(path string, mode uint32) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 15:02:38 UTC 2024
    - 791 bytes
    - Viewed (0)
Back to top