Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for SYSCALL (0.1 sec)

  1. src/internal/trace/order.go

    		newCtx.G = gid
    	case go122.GoSyscall:
    		if mid == NoThread {
    			return curCtx, false, fmt.Errorf("found goroutine %d in syscall without a thread", gid)
    		}
    		// Is the syscall on this thread? If so, bind it to the context.
    		// Otherwise, we're talking about a G sitting in a syscall on an M.
    		// Validate the named M.
    		if mid == curCtx.M {
    			if gen != o.initialGen && curCtx.G != gid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/os/os_test.go

    	}
    	if perr, ok := err.(*PathError); !ok || perr.Err != syscall.ESPIPE {
    		t.Errorf("Seek returned error %v, want &PathError{Err: syscall.ESPIPE}", err)
    	}
    	_, err = w.Seek(0, 0)
    	if err == nil {
    		t.Fatal("Seek on pipe should fail")
    	}
    	if perr, ok := err.(*PathError); !ok || perr.Err != syscall.ESPIPE {
    		t.Errorf("Seek returned error %v, want &PathError{Err: syscall.ESPIPE}", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    // Do the interface allocations only once for common
    // Errno values.
    var (
    	errEAGAIN error = syscall.EAGAIN
    	errEINVAL error = syscall.EINVAL
    	errENOENT error = syscall.ENOENT
    )
    
    var ZosTraceLevel int
    var ZosTracefile *os.File
    
    var (
    	signalNameMapOnce sync.Once
    	signalNameMap     map[string]syscall.Signal
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package windows
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const (
    	NameUnknown          = 0
    	NameFullyQualifiedDN = 1
    	NameSamCompatible    = 2
    	NameDisplay          = 3
    	NameUniqueId         = 6
    	NameCanonical        = 7
    	NameUserPrincipal    = 8
    	NameCanonicalEx      = 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    // resolveInternal fills in u.frame based on u.frame.fn, pc, and sp.
    //
    // innermost indicates that this is the first resolve on this stack. If
    // innermost is set, isSyscall indicates that the PC/SP was retrieved from
    // gp.syscall*; this is otherwise ignored.
    //
    // On entry, u.frame contains:
    //   - fn is the running function.
    //   - pc is the PC in the running function.
    //   - sp is the stack pointer at that program counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. src/syscall/zerrors_solaris_amd64.go

    // mkerrors.sh -m64
    // Code generated by the command above; DO NOT EDIT.
    
    // Created by cgo -godefs - DO NOT EDIT
    // cgo -godefs -- -m64 _const.go
    
    //go:build amd64 && solaris
    
    package syscall
    
    const (
    	AF_802                        = 0x12
    	AF_APPLETALK                  = 0x10
    	AF_CCITT                      = 0xa
    	AF_CHAOS                      = 0x5
    	AF_DATAKIT                    = 0x9
    	AF_DECnet                     = 0xc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	"context"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	pathutil "path"
    	"path/filepath"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/google/uuid"
    	jsoniter "github.com/json-iterator/go"
    	"github.com/klauspost/filepathx"
    	"github.com/minio/madmin-go/v3"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build zos && s390x
    
    package unix
    
    import (
    	"runtime"
    	"syscall"
    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    	// between self-preemption checks in gcDrain. Assuming a scan
    	// rate of 1 MB/ms, this is ~100 µs. Lower values have higher
    	// overhead in the scan loop (the scheduler check may perform
    	// a syscall, so its overhead is nontrivial). Higher values
    	// make the system less responsive to incoming work.
    	drainCheckThreshold = 100000
    
    	// pagesPerSpanRoot indicates how many pages to scan from a span root
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/runtime/mprof.go

    	// pcbuf which is usually given to us by our caller. When it's not, we have
    	// to allocate one here. This will only happen for goroutines that were in a
    	// syscall when the goroutine profile started or for goroutines that manage
    	// to execute before we finish iterating over all the goroutines.
    	if pcbuf == nil {
    		pcbuf = makeProfStack()
    	}
    
    	var u unwinder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top