- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for overlapped (0.3 sec)
-
src/internal/syscall/windows/net_windows.go
//go:linkname WSASendtoInet6 syscall.wsaSendtoInet6 //go:noescape func WSASendtoInet6(s syscall.Handle, bufs *syscall.WSABuf, bufcnt uint32, sent *uint32, flags uint32, to *syscall.SockaddrInet6, overlapped *syscall.Overlapped, croutine *byte) (err error) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:46:10 UTC 2024 - 1K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_windows.go
// method to return a handle that uses ordinary synchronous I/O.” // However, LockFileEx still requires an OVERLAPPED structure, // which contains the file offset of the beginning of the lock range. // We want to lock the entire file, so we leave the offset as zero. ol := new(syscall.Overlapped) err := windows.LockFileEx(syscall.Handle(f.Fd()), uint32(lt), reserved, allBytes, allBytes, ol) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 1.3K bytes - Viewed (0) -
src/internal/poll/sockopt_windows.go
func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error { if err := fd.incref(); err != nil { return err } defer fd.decref() return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:09:46 UTC 2023 - 586 bytes - Viewed (0) -
src/internal/poll/fd_windows_test.go
const SIO_TCP_INFO = syscall.IOC_INOUT | syscall.IOC_VENDOR | 39 inbuf := uint32(0) var outbuf _TCP_INFO_v0 cbbr := uint32(0) var ov syscall.Overlapped // Create an event so that we can efficiently wait for completion // of a requested overlapped I/O operation. ov.HEvent, _ = windows.CreateEvent(nil, 0, 0, nil) if ov.HEvent == 0 { t.Fatalf("could not create the event!") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 14 08:33:36 UTC 2024 - 4.3K bytes - Viewed (0) -
src/net/internal/socktest/sys_windows.go
func (sw *Switch) AcceptEx(ls syscall.Handle, as syscall.Handle, b *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, rcvd *uint32, overlapped *syscall.Overlapped) error { so := sw.sockso(ls) if so == nil { return syscall.AcceptEx(ls, as, b, rxdatalen, laddrlen, raddrlen, rcvd, overlapped) } sw.fmu.RLock() f, _ := sw.fltab[FilterAccept] sw.fmu.RUnlock() af, err := f.apply(so) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.3K bytes - Viewed (0) -
src/internal/poll/hook_windows.go
var AcceptFunc func(syscall.Handle, syscall.Handle, *byte, uint32, uint32, uint32, *uint32, *syscall.Overlapped) error = syscall.AcceptEx // ConnectExFunc is used to hook the ConnectEx call.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 07 21:54:36 UTC 2017 - 668 bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/mergelocals/integration.go
r := 0 // here v2 and v3 can be overlapped. clobber() if i < 101 { var v2 Vanilla v2.x[i] = j r += v2.x[j] } if j != 303 { var v3 Vanilla2 v3.x[i] = j r += v3.x[j] } clobber() // not an overlap candidate (only one var of this size). var s Single s.x[i] = j r += s.x[j] // Here p1 and p2 interfere, but p1 could be overlapped with xp3 + xp4. var p1, p2 Pointery
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 17:42:19 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
) const _DWORD_MAX = 0xffffffff const _INVALID_HANDLE_VALUE = ^uintptr(0) // Sources are used to identify the event that created an overlapped entry. // The source values are arbitrary. There is no risk of collision with user // defined values because the only way to set the key of an overlapped entry // is using the iocphandle, which is not accessible to user code. const ( netpollSourceReady = iota + 1 netpollSourceBreak
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/defs_windows.go
exceptioncode uint32 exceptionflags uint32 exceptionrecord *exceptionrecord exceptionaddress uintptr numberparameters uint32 exceptioninformation [15]uintptr } type overlapped struct { internal uintptr internalhigh uintptr anon0 [8]byte hevent *byte } type memoryBasicInformation struct { baseAddress uintptr allocationBase uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/lock/lock_windows.go
} err := lockFileEx(fd, flags, 1, 0, &syscall.Overlapped{}) if err == nil || err == errLockViolation { return nil } if err.Error() == "The process cannot access the file because another process has locked a portion of the file." { return ErrAlreadyLocked } return err } func lockFileEx(h syscall.Handle, flags, locklow, lockhigh uint32, ol *syscall.Overlapped) (err error) { reserved := uint32(0)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0)