Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stdcall5 (0.78 sec)

  1. src/runtime/netpoll_windows.go

    	errno := stdcall2(_NtCancelWaitCompletionPacket, mp.waitIocpHandle, 1)
    	switch errno {
    	case STATUS_CANCELLED:
    		// STATUS_CANCELLED is returned when the associated timer has already expired,
    		// in which automatically cancels the wait completion packet.
    		fallthrough
    	case STATUS_SUCCESS:
    		dt := -delay / 100 // relative sleep (negative), 100ns units
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/export_windows_test.go

    import "unsafe"
    
    const MaxArgs = maxArgs
    
    var (
    	OsYield                 = osyield
    	TimeBeginPeriodRetValue = &timeBeginPeriodRetValue
    )
    
    func NumberOfProcessors() int32 {
    	var info systeminfo
    	stdcall1(_GetSystemInfo, uintptr(unsafe.Pointer(&info)))
    	return int32(info.dwnumberofprocessors)
    }
    
    type ContextStub struct {
    	context
    }
    
    func (c ContextStub) GetPC() uintptr {
    	return c.ip()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 17:25:00 UTC 2024
    - 759 bytes
    - Viewed (0)
  3. src/runtime/sys_windows_amd64.s

    _4args:
    	MOVQ	24(SI), R9
    	MOVQ	R9, X3
    _3args:
    	MOVQ	16(SI), R8
    	MOVQ	R8, X2
    _2args:
    	MOVQ	8(SI), DX
    	MOVQ	DX, X1
    _1args:
    	MOVQ	0(SI), CX
    	MOVQ	CX, X0
    _0args:
    
    	// Call stdcall function.
    	CALL	AX
    
    	ADDQ	$(const_maxArgs*8), SP
    
    	// Return result.
    	MOVQ	0(SP), CX
    	MOVQ	8(SP), SP
    	MOVQ	AX, libcall_r1(CX)
    	// Floating point return values are returned in XMM0. Setting r2 to this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top