Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for stdcall0 (0.43 sec)

  1. src/runtime/os_windows.go

    	return mp.libcall.r1
    }
    
    //go:nosplit
    func stdcall0(fn stdFunction) uintptr {
    	mp := getg().m
    	mp.libcall.n = 0
    	mp.libcall.args = 0
    	return stdcall(fn)
    }
    
    //go:nosplit
    //go:cgo_unsafe_args
    func stdcall1(fn stdFunction, a0 uintptr) uintptr {
    	mp := getg().m
    	mp.libcall.n = 1
    	mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0)))
    	return stdcall(fn)
    }
    
    //go:nosplit
    //go:cgo_unsafe_args
    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

    //go:nosplit
    func raiseproc(sig uint32) {
    	pid, err := syscall0(&libc_getpid)
    	if int32(pid) == -1 {
    		println("syscall getpid failed: ", hex(err))
    		throw("syscall raiseproc")
    	}
    
    	syscall2(&libc_kill, pid, uintptr(sig))
    }
    
    func osyield1()
    
    //go:nosplit
    func osyield_no_g() {
    	osyield1()
    }
    
    //go:nosplit
    func osyield() {
    	r, err := syscall0(&libc_sched_yield)
    	if int32(r) == -1 {
    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