Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for DWORD (0.04 sec)

  1. src/cmd/go/testdata/script/trampoline_reuse_test.txt

            CALL barĀ·Bar+0x400(SB)
            CALL mainĀ·BigAsm(SB)
    // A trampoline will be placed here to bar.Bar
    
    // This creates a gap sufficiently large to prevent trampoline reuse
    #define NOP64 DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0;
    #define NOP256 NOP64 NOP64 NOP64 NOP64
    #define NOP2S10 NOP256 NOP256 NOP256 NOP256
    #define NOP2S12 NOP2S10 NOP2S10 NOP2S10 NOP2S10
    #define NOP2S14 NOP2S12 NOP2S12 NOP2S12 NOP2S12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/asm_i386_masm/sum.s

        .386
        .model    flat
    
    PUBLIC    _sum
    _TEXT     SEGMENT
    _sum    PROC
        mov    eax, DWORD PTR 4[esp]
        add    eax, DWORD PTR 8[esp]
        ret    0
    _sum    ENDP
    _TEXT   ENDS
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 184 bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_windows_amd64.c

    #include <errno.h>
    #include "libcgo.h"
    #include "libcgo_windows.h"
    
    static void threadentry(void*);
    static void (*setg_gcc)(void*);
    static DWORD *tls_g;
    
    void
    x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)
    {
    	setg_gcc = setg;
    	tls_g = (DWORD *)tlsg;
    }
    
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	_cgo_beginthread(threadentry, ts);
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:28 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. src/runtime/asm_ppc64x.h

    // is not needed.
    #ifdef GOOS_linux
    #ifdef GOARCH_ppc64
    #define GO_PPC64X_HAS_FUNCDESC
    #define DEFINE_PPC64X_FUNCDESC(funcname, localfuncname)	\
    	TEXT	funcname(SB),NOSPLIT|NOFRAME,$0		\
    		DWORD	$localfuncname(SB)		\
    		DWORD	$0				\
    		DWORD	$0
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:20:51 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_windows_386.c

    #include <errno.h>
    #include "libcgo.h"
    #include "libcgo_windows.h"
    
    static void threadentry(void*);
    static void (*setg_gcc)(void*);
    static DWORD *tls_g;
    
    void
    x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)
    {
    	setg_gcc = setg;
    	tls_g = (DWORD *)tlsg;
    }
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	_cgo_beginthread(threadentry, ts);
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:58 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/windows/win.go

    package windows
    
    /*
    #include <windows.h>
    
    DWORD agetthread() {
    	return GetCurrentThreadId();
    }
    */
    import "C"
    
    func GetThread() uint32 {
    	return uint32(C.agetthread())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 15:59:22 UTC 2022
    - 169 bytes
    - Viewed (0)
  7. src/internal/syscall/windows/registry/value.go

    // If value is not DWORD or QWORD, it will return the correct value
    // type and ErrUnexpectedType.
    func (k Key) GetIntegerValue(name string) (val uint64, valtype uint32, err error) {
    	data, typ, err2 := k.getValue(name, make([]byte, 8))
    	if err2 != nil {
    		return 0, typ, err2
    	}
    	switch typ {
    	case DWORD:
    		if len(data) != 4 {
    			return 0, typ, errors.New("DWORD value is not 4 bytes long")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. internal/disk/type_windows.go

    	// _In_opt_  LPCTSTR lpRootPathName,
    	// _Out_opt_ LPTSTR  lpVolumeNameBuffer,
    	// _In_      DWORD   nVolumeNameSize,
    	// _Out_opt_ LPDWORD lpVolumeSerialNumber,
    	// _Out_opt_ LPDWORD lpMaximumComponentLength,
    	// _Out_opt_ LPDWORD lpFileSystemFlags,
    	// _Out_opt_ LPTSTR  lpFileSystemNameBuffer,
    	// _In_      DWORD   nFileSystemNameSize
    	// );
    
    	_, _, _ = GetVolumeInformation.Call(uintptr(unsafe.Pointer(ps)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/registry/registry_test.go

    	{Type: registry.BINARY, Name: "Binary3", Value: []byte{3, 2, 1, 0, 1, 2, 3}},
    	{Type: registry.DWORD, Name: "Dword1", Value: uint64(0)},
    	{Type: registry.DWORD, Name: "Dword2", Value: uint64(1)},
    	{Type: registry.DWORD, Name: "Dword3", Value: uint64(0xff)},
    	{Type: registry.DWORD, Name: "Dword4", Value: uint64(0xffff)},
    	{Type: registry.QWORD, Name: "Qword1", Value: uint64(0)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

            if (toolChain.isVisualCpp()) {
                return """
    .386
    .model    flat
    
    PUBLIC    _${methodName}
    _TEXT     SEGMENT
    _${methodName}    PROC
    mov    eax, DWORD PTR 4[esp]
    add    eax, DWORD PTR 8[esp]
    ret    0
    _${methodName}    ENDP
    _TEXT   ENDS
    END
    """
            }else{
                return """
    .text
    .globl  _${methodName}
    _${methodName}:
    movl    8(%esp), %eax
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top