Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 179 for fd (0.03 sec)

  1. src/os/exec_plan9.go

    	sysattr := &syscall.ProcAttr{
    		Dir: attr.Dir,
    		Env: attr.Env,
    		Sys: attr.Sys,
    	}
    
    	sysattr.Files = make([]uintptr, 0, len(attr.Files))
    	for _, f := range attr.Files {
    		sysattr.Files = append(sysattr.Files, f.Fd())
    	}
    
    	pid, _, e := syscall.StartProcess(name, argv, sysattr)
    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_ppc64x.s

    	SYSCALL	$SYS_open
    	BVC	2(PC)
    	MOVW	$-1, R3
    	MOVW	R3, ret+16(FP)
    	RET
    
    TEXT runtime·closefd(SB),NOSPLIT|NOFRAME,$0-12
    	MOVW	fd+0(FP), R3
    	SYSCALL	$SYS_close
    	BVC	2(PC)
    	MOVW	$-1, R3
    	MOVW	R3, ret+8(FP)
    	RET
    
    TEXT runtime·write1(SB),NOSPLIT|NOFRAME,$0-28
    	MOVD	fd+0(FP), R3
    	MOVD	p+8(FP), R4
    	MOVW	n+16(FP), R5
    	SYSCALL	$SYS_write
    	BVC	2(PC)
    	NEG	R3	// caller expects negative errno
    	MOVW	R3, ret+24(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Client-TLSv12-ClientCert-Ed25519

    00000110  81 00 db 46 7d 93 2e 12  27 06 48 bc 06 28 21 ab  |...F}...'.H..(!.|
    00000120  7e c4 b6 a2 5d fe 1e 52  45 88 7a 36 47 a5 08 0d  |~...]..RE.z6G...|
    00000130  92 42 5b c2 81 c0 be 97  79 98 40 fb 4f 6d 14 fd  |.B[.....y.@.Om..|
    00000140  2b 13 8b c2 a5 2e 67 d8  d4 09 9e d6 22 38 b7 4a  |+.....g....."8.J|
    00000150  0b 74 73 2b c2 34 f1 d1  93 e5 96 d9 74 7b f3 58  |.ts+.4......t{.X|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    		// atomic sequences (e.g., write barrier) and nosplit
    		// functions (except at calls).
    		return false, 0
    	}
    	if fd := funcdata(f, abi.FUNCDATA_LocalsPointerMaps); fd == nil || f.flag&abi.FuncFlagAsm != 0 {
    		// This is assembly code. Don't assume it's well-formed.
    		// TODO: Empirically we still need the fd == nil check. Why?
    		//
    		// TODO: Are there cases that are safe but don't have a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/os/exec_posix.go

    		sysattr.Env, err = execenv.Default(sysattr.Sys)
    		if err != nil {
    			return nil, err
    		}
    	}
    	sysattr.Files = make([]uintptr, 0, len(attr.Files))
    	for _, f := range attr.Files {
    		sysattr.Files = append(sysattr.Files, f.Fd())
    	}
    
    	pid, h, e := syscall.StartProcess(name, argv, sysattr)
    
    	// Make sure we don't run the finalizers of attr.Files.
    	runtime.KeepAlive(attr)
    
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    //
    //go:nosplit
    func write1(fd uintptr, buf unsafe.Pointer, n int32) int32 {
    	const (
    		_STD_OUTPUT_HANDLE = ^uintptr(10) // -11
    		_STD_ERROR_HANDLE  = ^uintptr(11) // -12
    	)
    	var handle uintptr
    	switch fd {
    	case 1:
    		handle = stdcall1(_GetStdHandle, _STD_OUTPUT_HANDLE)
    	case 2:
    		handle = stdcall1(_GetStdHandle, _STD_ERROR_HANDLE)
    	default:
    		// assume fd is real windows handle.
    		handle = fd
    	}
    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. src/syscall/mksyscall.pl

    while(<>) {
    	chomp;
    	s/\s+/ /g;
    	s/^\s+//;
    	s/\s+$//;
    	my $nonblock = /^\/\/sysnb /;
    	next if !/^\/\/sys / && !$nonblock;
    
    	# Line must be of the form
    	#	func Open(path string, mode int, perm int) (fd int, errno error)
    	# Split into name, in params, out params.
    	if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)_?SYS_[A-Z0-9_]+))?$/) {
    		print STDERR "$ARGV:$.: malformed //sys declaration\n";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    				if err != nil {
    					return written, err
    				}
    				nw = int64(n)
    			}
    
    			// Disable O_DIRECT on fd's on unaligned buffer
    			// perform an amortized Fdatasync(fd) on the fd at
    			// the end, this is performed by the caller before
    			// closing 'w'.
    			if err = disk.DisableDirectIO(file); err != nil {
    				return written, err
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Client-TLSv12-Ed25519

    00000100  cb 3b 74                                          |.;t|
    >>> Flow 2 (server to client)
    00000000  16 03 03 00 5d 02 00 00  59 03 03 93 8a a3 77 84  |....]...Y.....w.|
    00000010  fd 41 3d a5 ad b5 eb 91  63 a6 b5 3a 5f 21 08 df  |.A=.....c..:_!..|
    00000020  72 07 be 1f df d7 4e 6f  f3 f8 cb 20 ae d3 e5 fe  |r.....No... ....|
    00000030  53 a3 c7 84 6c 3e c6 1d  d5 65 5d a6 a5 7d f7 5c  |S...l>...e]..}.\|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/start.go

    	// but in line with the uploader, log to a file in debug
    	// only if that directory was created by the user.
    	fd, err := os.Stat(telemetry.Default.DebugDir())
    	if err != nil {
    		if !os.IsNotExist(err) {
    			log.Fatalf("failed to stat debug directory: %v", err)
    		}
    	} else if fd.IsDir() {
    		// local/debug exists and is a directory. Set stderr to a log file path
    		// in local/debug.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top