Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for stdcall5 (1.46 sec)

  1. src/runtime/os_windows.go

    //go:cgo_unsafe_args
    func stdcall4(fn stdFunction, a0, a1, a2, a3 uintptr) uintptr {
    	mp := getg().m
    	mp.libcall.n = 4
    	mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0)))
    	return stdcall(fn)
    }
    
    //go:nosplit
    //go:cgo_unsafe_args
    func stdcall5(fn stdFunction, a0, a1, a2, a3, a4 uintptr) uintptr {
    	mp := getg().m
    	mp.libcall.n = 5
    	mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0)))
    	return stdcall(fn)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. src/runtime/signal_windows.go

    	var werflags uintptr
    	stdcall2(_WerGetFlags, currentProcess, uintptr(unsafe.Pointer(&werflags)))
    	stdcall1(_WerSetFlags, werflags|_WER_FAULT_REPORTING_NO_UI)
    }
    
    // enableWER re-enables Windows error reporting without fault reporting UI.
    func enableWER() {
    	// re-enable Windows Error Reporting
    	errormode := stdcall0(_GetErrorMode)
    	if errormode&_SEM_NOGPFAULTERRORBOX != 0 {
    		stdcall1(_SetErrorMode, errormode^_SEM_NOGPFAULTERRORBOX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows.go

    }
    
    type callbackArgs struct {
    	index uintptr
    	// args points to the argument block.
    	//
    	// For cdecl and stdcall, all arguments are on the stack.
    	//
    	// For fastcall, the trampoline spills register arguments to
    	// the reserved spill slots below the stack arguments,
    	// resulting in a layout equivalent to stdcall.
    	//
    	// For arm, the trampoline stores the register arguments just
    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/runtime/syscall_windows_test.go

    			dll := syscall.MustLoadDLL(dllPath)
    			defer dll.Release()
    			for _, cbf := range getCallbackTestFuncs() {
    				t.Run(cbf.cName(false), func(t *testing.T) {
    					stdcall := syscall.NewCallback(cbf.goFunc)
    					cbf.testOne(t, dll, false, stdcall)
    				})
    				t.Run(cbf.cName(true), func(t *testing.T) {
    					cdecl := syscall.NewCallbackCDecl(cbf.goFunc)
    					cbf.testOne(t, dll, true, cdecl)
    				})
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  5. pkg/test/kube/dump.go

    					fname := podOutputPath(workDir, c, pod, fmt.Sprintf("%s.envoy.err.log", container.Name))
    					stdAll := stdout + stderr
    					if err = os.WriteFile(fname, []byte(stdAll), os.ModePerm); err != nil {
    						scopes.Framework.Warnf("Unable to write envoy err log for VM cluster/pod/container: %s/%s/%s/%s: %v",
    							c.Name(), pod.Namespace, pod.Name, container.Name, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/pe.go

    				break
    			}
    		}
    
    		if d == nil {
    			d = new(Dll)
    			d.name = dynlib
    			d.next = dr
    			dr = d
    			m = new(Imp)
    		}
    
    		// Because external link requires properly stdcall decorated name,
    		// all external symbols in runtime use %n to denote that the number
    		// of uinptrs this function consumes. Store the argsize and discard
    		// the %n suffix if any.
    		m.argsize = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  7. src/runtime/os2_aix.go

    	if resetLibcall {
    		mp.libcallsp = 0
    	}
    
    	return c.r1, c.err
    }
    
    //go:nowritebarrier
    //go:nosplit
    //go:cgo_unsafe_args
    func syscall5(fn *libFunc, a0, a1, a2, a3, a4 uintptr) (r, err uintptr) {
    	gp := getg()
    	mp := gp.m
    	resetLibcall := true
    	if mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top