Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for intPtr (0.1 sec)

  1. src/cmd/cgo/internal/test/test.go

    	s.P = &si
    	C.setstruct(s)
    
    	if uintptr(unsafe.Pointer(&x))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C int* argument on stack")
    	}
    	if uintptr(unsafe.Pointer(&y))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C intptr argument on stack")
    	}
    	if uintptr(unsafe.Pointer(&v))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C void* argument on stack")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/encoding/gob/encode.go

    	defer enc.freeEncoderState(state)
    	state.fieldnum = -1
    	for i := 0; i < len(engine.instr); i++ {
    		instr := &engine.instr[i]
    		if i >= value.NumField() {
    			// encStructTerminator
    			instr.op(instr, state, reflect.Value{})
    			break
    		}
    		field := value.FieldByIndex(instr.index)
    		if instr.indir > 0 {
    			field = encIndirect(field, instr.indir)
    			// TODO: Is field guaranteed valid? If so we could avoid this check.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows.go

    //go:nosplit
    func syscall_Syscall(fn, nargs, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall6 syscall.Syscall6
    //go:nosplit
    func syscall_Syscall6(fn, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_aix_ppc64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptrace64Ptr(request int, id int64, addr int64, data int, buff unsafe.Pointer) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_ptrace64)), 5, uintptr(request), uintptr(id), uintptr(addr), uintptr(data), uintptr(buff), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func memhash(x *any, h uintptr, size uintptr) uintptr
    func memhash0(p unsafe.Pointer, h uintptr) uintptr
    func memhash8(p unsafe.Pointer, h uintptr) uintptr
    func memhash16(p unsafe.Pointer, h uintptr) uintptr
    func memhash32(p unsafe.Pointer, h uintptr) uintptr
    func memhash64(p unsafe.Pointer, h uintptr) uintptr
    func memhash128(p unsafe.Pointer, h uintptr) uintptr
    func f32hash(p *any, h uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/runtime/race.go

    // start/end of global data (data+bss).
    var racedatastart uintptr
    var racedataend uintptr
    
    // start/end of heap for race_amd64.s
    var racearenastart uintptr
    var racearenaend uintptr
    
    func racefuncenter(callpc uintptr)
    func racefuncenterfp(fp uintptr)
    func racefuncexit()
    func raceread(addr uintptr)
    func racewrite(addr uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/syscall/exec_linux.go

    		_, _, err1 = RawSyscall(SYS_PTRACE, uintptr(PTRACE_TRACEME), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Time to exec.
    	_, _, err1 = RawSyscall(SYS_EXECVE,
    		uintptr(unsafe.Pointer(argv0)),
    		uintptr(unsafe.Pointer(&argv[0])),
    		uintptr(unsafe.Pointer(&envv[0])))
    
    childerror:
    	// send error code on pipe
    	RawSyscall(SYS_WRITE, uintptr(pipe), uintptr(unsafe.Pointer(&err1)), unsafe.Sizeof(err1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/runtime/slice.go

    			shift = uintptr(sys.TrailingZeros64(uint64(et.Size_))) & 63
    		} else {
    			shift = uintptr(sys.TrailingZeros32(uint32(et.Size_))) & 31
    		}
    		lenmem = uintptr(oldLen) << shift
    		newlenmem = uintptr(newLen) << shift
    		capmem = roundupsize(uintptr(newcap)<<shift, noscan)
    		overflow = uintptr(newcap) > (maxAlloc >> shift)
    		newcap = int(capmem >> shift)
    		capmem = uintptr(newcap) << shift
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/runtime/map_fast64.go

    	} else {
    		hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    		m := bucketMask(h.B)
    		b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    		if c := h.oldbuckets; c != nil {
    			if !h.sameSizeGrow() {
    				// There used to be half as many buckets; mask down one more power of two.
    				m >>= 1
    			}
    			oldb := (*bmap)(add(c, (hash&m)*uintptr(t.BucketSize)))
    			if !evacuated(oldb) {
    				b = oldb
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    func syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top