Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for stdcall3 (0.18 sec)

  1. src/runtime/os_windows.go

    func stdcall2(fn stdFunction, a0, a1 uintptr) uintptr {
    	mp := getg().m
    	mp.libcall.n = 2
    	mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0)))
    	return stdcall(fn)
    }
    
    //go:nosplit
    //go:cgo_unsafe_args
    func stdcall3(fn stdFunction, a0, a1, a2 uintptr) uintptr {
    	mp := getg().m
    	mp.libcall.n = 3
    	mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0)))
    	return stdcall(fn)
    }
    
    //go:nosplit
    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/os2_aix.go

    	// newosproc0.
    	if gp != nil {
    		r, errno := syscall3(&libc_write, uintptr(fd), uintptr(p), uintptr(n))
    		if int32(r) < 0 {
    			return -int32(errno)
    		}
    		return int32(r)
    	}
    	// Note that in this case we can't return a valid errno value.
    	return write2(fd, uintptr(p), n)
    }
    
    //go:nosplit
    func read(fd int32, p unsafe.Pointer, n int32) int32 {
    	r, errno := syscall3(&libc_read, uintptr(fd), uintptr(p), uintptr(n))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
Back to top