Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for syscalls (0.21 sec)

  1. src/runtime/trace.go

    	// zero because the world is stopped and there are no available Ps for syscall-exited
    	// goroutines to run on.
    	//
    	// Because we set gen before checking this, and because exitingSyscall is always incremented
    	// *before* traceAcquire (which checks gen), we can be certain that when exitingSyscall is zero
    	// that any goroutine that goes to exit a syscall from then on *must* observe the new gen as
    	// well as trace.enabled being set to true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. src/runtime/signal_unix.go

    		// sigPerThreadSyscall is the same signal used by glibc for
    		// per-thread syscalls on Linux. We use it for the same purpose
    		// in non-cgo binaries. Since this signal is not _SigNotify,
    		// there is nothing more to do once we run the syscall.
    		runPerThreadSyscall()
    		return
    	}
    
    	if sig == sigPreempt && debug.asyncpreemptoff == 0 && !delayedSignal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/runtime/os_linux.go

    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    //go:nosplit
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
    	r, _, err := syscall.Syscall6(syscall.SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	return int32(r), int32(err)
    }
    
    const (
    	_si_max_size    = 128
    	_sigev_max_size = 64
    )
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. src/os/file.go

    	O_RDONLY int = syscall.O_RDONLY // open the file read-only.
    	O_WRONLY int = syscall.O_WRONLY // open the file write-only.
    	O_RDWR   int = syscall.O_RDWR   // open the file read-write.
    	// The remaining values may be or'ed in to control behavior.
    	O_APPEND int = syscall.O_APPEND // append data to the file when writing.
    	O_CREATE int = syscall.O_CREAT  // create a new file if none exists.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    			in := io.Reader(hashReader)
    			if size > encryptBufferThreshold {
    				// The encryption reads in blocks of 64KB.
    				// We add a buffer on bigger files to reduce the number of syscalls upstream.
    				in = bufio.NewReaderSize(hashReader, encryptBufferSize)
    			}
    			reader, err = sio.EncryptReader(in, sio.Config{Key: partEncryptionKey[:], CipherSuites: fips.DARECiphers()})
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    }
    
    //go:linkname windows_QueryPerformanceCounter internal/syscall/windows.QueryPerformanceCounter
    func windows_QueryPerformanceCounter() int64 {
    	var counter int64
    	stdcall1(_QueryPerformanceCounter, uintptr(unsafe.Pointer(&counter)))
    	return counter
    }
    
    //go:linkname windows_QueryPerformanceFrequency internal/syscall/windows.QueryPerformanceFrequency
    func windows_QueryPerformanceFrequency() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    	if r.ContentLength > encryptBufferThreshold {
    		// The encryption reads in blocks of 64KB.
    		// We add a buffer on bigger files to reduce the number of syscalls upstream.
    		content = bufio.NewReaderSize(content, encryptBufferSize)
    	}
    
    	var (
    		key   []byte
    		keyID string
    		ctx   kms.Context
    		err   error
    	)
    	kind, _ := crypto.IsRequested(r.Header)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin.go

    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/zsyscall_windows.go

    	modiphlpapi         = syscall.NewLazyDLL(sysdll.Add("iphlpapi.dll"))
    	modkernel32         = syscall.NewLazyDLL(sysdll.Add("kernel32.dll"))
    	modnetapi32         = syscall.NewLazyDLL(sysdll.Add("netapi32.dll"))
    	modntdll            = syscall.NewLazyDLL(sysdll.Add("ntdll.dll"))
    	modpsapi            = syscall.NewLazyDLL(sysdll.Add("psapi.dll"))
    	moduserenv          = syscall.NewLazyDLL(sysdll.Add("userenv.dll"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm.go

    func Fsync(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fsync_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fsync_trampoline()
    
    //go:cgo_import_dynamic libc_fsync fsync "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Ftruncate(fd int, length int64) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top