Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for intPtr (0.28 sec)

  1. src/syscall/syscall_windows.go

    //sys	MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow uint32, length uintptr) (addr uintptr, err error)
    //sys	UnmapViewOfFile(addr uintptr) (err error)
    //sys	FlushViewOfFile(addr uintptr, length uintptr) (err error)
    //sys	VirtualLock(addr uintptr, length uintptr) (err error)
    //sys	VirtualUnlock(addr uintptr, length uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		[]uintptr{uintptr(unsafe.Pointer(&name[0])), uintptr(size)})
    
    	return string(name[:size]), nil
    }
    
    // Check z/OS version
    func zosLeVersion() (version, release uint32) {
    	p1 := (*(*uintptr)(unsafe.Pointer(uintptr(1208)))) >> 32
    	p1 = *(*uintptr)(unsafe.Pointer(uintptr(p1 + 88)))
    	p1 = *(*uintptr)(unsafe.Pointer(uintptr(p1 + 8)))
    	p1 = *(*uintptr)(unsafe.Pointer(uintptr(p1 + 984)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. src/sync/atomic/atomic_test.go

    	}
    }
    
    func TestSwapUintptr(t *testing.T) {
    	var x struct {
    		before uintptr
    		i      uintptr
    		after  uintptr
    	}
    	var m uint64 = magic64
    	magicptr := uintptr(m)
    	x.before = magicptr
    	x.after = magicptr
    	var j uintptr
    	for delta := uintptr(1); delta+delta > delta; delta += delta {
    		k := SwapUintptr(&x.i, delta)
    		if x.i != delta || k != j {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	UnmapViewOfFile(addr uintptr) (err error)
    //sys	FlushViewOfFile(addr uintptr, length uintptr) (err error)
    //sys	VirtualLock(addr uintptr, length uintptr) (err error)
    //sys	VirtualUnlock(addr uintptr, length uintptr) (err error)
    //sys	VirtualAlloc(address uintptr, size uintptr, alloctype uint32, protect uint32) (value uintptr, err error) = kernel32.VirtualAlloc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. src/runtime/map.go

    		}
    
    		srcK := add(unsafe.Pointer(src), dataOffset+uintptr(i)*uintptr(t.KeySize))
    		srcEle := add(unsafe.Pointer(src), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(i)*uintptr(t.ValueSize))
    		dstK := add(unsafe.Pointer(dst), dataOffset+uintptr(pos)*uintptr(t.KeySize))
    		dstEle := add(unsafe.Pointer(dst), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(pos)*uintptr(t.ValueSize))
    
    		dst.tophash[pos] = src.tophash[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    				{
    					Name:       "tcp-8443",
    					Port:       8443,
    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    				{
    					Name:       "http-7557",
    					Port:       7557,
    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    // the heap lock and because it must block GC transitions.
    //
    //go:systemstack
    func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
    	// Function-global state.
    	gp := getg()
    	base, scav := uintptr(0), uintptr(0)
    	growth := uintptr(0)
    
    	// On some platforms we need to provide physical page aligned stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // non-negative integer that is returned by the prctl syscall.
    func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (int, error) {
    	ret, _, err := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
    	if err != 0 {
    		return 0, err
    	}
    	return int(ret), nil
    }
    
    func Setuid(uid int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. src/runtime/malloc.go

    		}
    
    		// Add the new chunk to the persistentChunks list.
    		for {
    			chunks := uintptr(unsafe.Pointer(persistentChunks))
    			*(*uintptr)(unsafe.Pointer(persistent.base)) = chunks
    			if atomic.Casuintptr((*uintptr)(unsafe.Pointer(&persistentChunks)), chunks, uintptr(unsafe.Pointer(persistent.base))) {
    				break
    			}
    		}
    		persistent.off = alignUp(goarch.PtrSize, align)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    	// for the first frame.
    	u.initAt(^uintptr(0), ^uintptr(0), ^uintptr(0), gp, flags)
    }
    
    func (u *unwinder) initAt(pc0, sp0, lr0 uintptr, gp *g, flags unwindFlags) {
    	// Don't call this "g"; it's too easy get "g" and "gp" confused.
    	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
    		// The starting sp has been passed in as a uintptr, and the caller may
    		// have other uintptr-typed stack references as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top