Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 536 for UInt32 (0.35 sec)

  1. src/sync/pool.go

    // See discussion on golang.org/cl/31589.
    func poolRaceAddr(x any) unsafe.Pointer {
    	ptr := uintptr((*[2]unsafe.Pointer)(unsafe.Pointer(&x))[1])
    	h := uint32((uint64(uint32(ptr)) * 0x85ebca6b) >> 16)
    	return unsafe.Pointer(&poolRaceHash[h%uint32(len(poolRaceHash))])
    }
    
    // Put adds x to the pool.
    func (p *Pool) Put(x any) {
    	if x == nil {
    		return
    	}
    	if race.Enabled {
    		if runtime_randn(4) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    type randomOrder struct {
    	count    uint32
    	coprimes []uint32
    }
    
    type randomEnum struct {
    	i     uint32
    	count uint32
    	pos   uint32
    	inc   uint32
    }
    
    func (ord *randomOrder) reset(count uint32) {
    	ord.count = count
    	ord.coprimes = ord.coprimes[:0]
    	for i := uint32(1); i <= count; i++ {
    		if gcd(i, count) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. src/math/big/ratmarsh.go

    	i := x.b.abs.bytes(buf)
    	j := x.a.abs.bytes(buf[:i])
    	n := i - j
    	if int(uint32(n)) != n {
    		// this should never happen
    		return nil, errors.New("Rat.GobEncode: numerator too large")
    	}
    	byteorder.BePutUint32(buf[j-4:j], uint32(n))
    	j -= 1 + 4
    	b := ratGobVersion << 1 // make space for sign bit
    	if x.a.neg {
    		b |= 1
    	}
    	buf[j] = b
    	return buf[j:], nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_internal_test.go

    			want: &xdshttpfault.HTTPFault{
    				Abort: &xdshttpfault.FaultAbort{
    					Percentage: &xdstype.FractionalPercent{
    						Numerator:   uint32(50 * 10000),
    						Denominator: xdstype.FractionalPercent_MILLION,
    					},
    					ErrorType: &xdshttpfault.FaultAbort_GrpcStatus{
    						GrpcStatus: uint32(4),
    					},
    				},
    			},
    		},
    		{
    			name: "both delay and abort",
    			fault: &networking.HTTPFaultInjection{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/runtime/netpoll.go

    //
    // func netpollopen(fd uintptr, pd *pollDesc) int32
    //     Arm edge-triggered notifications for fd. The pd argument is to pass
    //     back to netpollready when fd is ready. Return an errno value.
    //
    // func netpollclose(fd uintptr) int32
    //     Disable notifications for fd. Return an errno value.
    //
    // func netpoll(delta int64) (gList, int32)
    //     Poll the network. If delta < 0, block indefinitely. If delta == 0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/link.go

    	Pkg    string
    	PkgIdx int32
    	SymIdx int32
    }
    
    // A FuncInfo contains extra fields for STEXT symbols.
    type FuncInfo struct {
    	Args      int32
    	Locals    int32
    	Align     int32
    	FuncID    abi.FuncID
    	FuncFlag  abi.FuncFlag
    	StartLine int32
    	Text      *Prog
    	Autot     map[*LSym]struct{}
    	Pcln      Pcln
    	InlMarks  []InlMark
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.proto

    message ArchConfig {
      // Sets pod scheduling weight for amd64 arch
      uint32 amd64 = 1;
    
      // Sets pod scheduling weight for ppc64le arch.
      uint32 ppc64le = 2;
    
      // Sets pod scheduling weight for s390x arch.
      uint32 s390x = 3;
    
      // Sets pod scheduling weight for arm64 arch.
      uint32 arm64 = 4;
    }
    
    // Configuration for CNI.
    message CNIConfig {
      // Controls whether CNI is installed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  8. src/cmd/link/testdata/linkname/fastrand.go

    // linknamed definition, for legacy reason.
    // NOTE: this may not be allowed in the future. Don't do this!
    
    package main
    
    import _ "unsafe"
    
    //go:linkname fastrand runtime.fastrand
    func fastrand() uint32
    
    func main() {
    	println(fastrand())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 457 bytes
    - Viewed (0)
  9. src/syscall/exec_linux_test.go

    			t.Skip("clone3 not supported:", err)
    		}
    		t.Fatal("can't start a process:", err)
    	}
    }
    
    type capHeader struct {
    	version uint32
    	pid     int32
    }
    
    type capData struct {
    	effective   uint32
    	permitted   uint32
    	inheritable uint32
    }
    
    const CAP_SYS_TIME = 25
    const CAP_SYSLOG = 34
    
    type caps struct {
    	hdr  capHeader
    	data [2]capData
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/internal/poll/fd_wasip1.go

    	// underlying file descriptor with reference counting.
    	RefCountPtr *int32
    
    	// RefCount is the reference count of Sysfd. When a copy of an FD is made,
    	// it points to the reference count of the original FD instance.
    	RefCount int32
    
    	// Cache for the file type, lazily initialized when Seek is called.
    	Filetype uint32
    
    	// If the file represents a directory, this field contains the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top