Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for syscall (0.21 sec)

  1. api/except.txt

    pkg syscall (freebsd-arm), const BIOCGRTIMEOUT = 1074545262
    pkg syscall (freebsd-arm), const BIOCSRTIMEOUT = 2148287085
    pkg syscall (freebsd-arm), const ELAST = 94
    pkg syscall (freebsd-arm), const ImplementsGetwd = false
    pkg syscall (freebsd-arm), const O_CLOEXEC = 0
    pkg syscall (freebsd-arm), const SIOCAIFADDR = 2151967019
    pkg syscall (freebsd-arm), const SIOCGIFSTATUS = 3274991931
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  2. internal/lock/lock_windows.go

    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		access = syscall.GENERIC_READ | syscall.GENERIC_WRITE
    	case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND:
    		access = syscall.FILE_APPEND_DATA
    	default:
    		return nil, fmt.Errorf("Unsupported flag (%d)", flag)
    	}
    
    	var createflag uint32
    	switch {
    	case flag&syscall.O_CREAT == syscall.O_CREAT:
    		createflag = syscall.OPEN_ALWAYS
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. cmd/os_windows.go

    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return nil, errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    	handle, err := syscall.FindFirstFile(globAllP, data)
    	if err != nil {
    		return nil, syscallErrToFileErr(dirPath, err)
    	}
    
    	defer syscall.FindClose(handle)
    
    	count := opts.count
    	for ; count != 0; err = syscall.FindNextFile(handle, data) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue18146.go

    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    			continue
    		}
    
    		t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. internal/http/dial_linux.go

    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    			// Wait time after successful probe in seconds.
    			// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  6. misc/wasm/wasm_exec.js

    							this._ids.delete(v);
    							this._idPool.push(id);
    						}
    					},
    
    					// func stringVal(value string) ref
    					"syscall/js.stringVal": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, loadString(sp + 8));
    					},
    
    					// func valueGet(v ref, p string) ref
    					"syscall/js.valueGet": (sp) => {
    						sp >>>= 0;
    						const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  7. src/cmd/cgo/internal/test/issue1435.go

    }
    
    // test1435 test 9 glibc implemented setuid/gid syscall functions are
    // mapped.  This test is a slightly more expansive test than that of
    // src/syscall/syscall_linux_test.go:TestSetuidEtc() insofar as it
    // launches concurrent threads from C code via CGo and validates that
    // they are subject to the system calls being tested. For the actual
    // Go functionality being tested here, the syscall_linux_test version
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. cmd/os_unix.go

    	}
    	consumed = int(dirent.Reclen)
    	if direntInode(dirent) == 0 { // File absent in directory.
    		return
    	}
    	switch dirent.Type {
    	case syscall.DT_REG:
    		typ = 0
    	case syscall.DT_DIR:
    		typ = os.ModeDir
    	case syscall.DT_LNK:
    		typ = os.ModeSymlink
    	default:
    		// Skip all other file types. Revisit if/when this code needs
    		// to handle such files, MinIO is only interested in
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/bytes/boundary_test.go

    func dangerousSlice(t *testing.T) []byte {
    	pagesize := syscall.Getpagesize()
    	b, err := syscall.Mmap(0, 0, 3*pagesize, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANONYMOUS|syscall.MAP_PRIVATE)
    	if err != nil {
    		t.Fatalf("mmap failed %s", err)
    	}
    	err = syscall.Mprotect(b[:pagesize], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    	err = syscall.Mprotect(b[2*pagesize:], syscall.PROT_NONE)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. api/next/62254.txt

    pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
    pkg syscall (windows-386), const WSAENOPROTOOPT = 10042 #62254
    pkg syscall (windows-386), const WSAENOPROTOOPT Errno #62254
    pkg syscall (windows-amd64), const WSAENOPROTOOPT = 10042 #62254
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 20 06:04:31 GMT 2024
    - 758 bytes
    - Viewed (0)
Back to top