Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for unixAbs (0.19 sec)

  1. src/path/filepath/path_plan9.go

    }
    
    func splitList(path string) []string {
    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_unix.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 926 bytes
    - Viewed (0)
  2. src/path/filepath/path_unix.go

    }
    
    func splitList(path string) []string {
    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_plan9.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 970 bytes
    - Viewed (0)
  3. src/runtime/fds_unix.go

    		// another program, we don't want to mess around with the file
    		// descriptors.
    		return
    	}
    
    	const (
    		// F_GETFD, EBADF, O_RDWR are standard across all unixes we support, so
    		// we define them here rather than in each of the OS specific files.
    		F_GETFD = 0x01
    		EBADF   = 0x09
    		O_RDWR  = 0x02
    	)
    
    	devNull := []byte("/dev/null\x00")
    	for i := 0; i < 3; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:20:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/debug_test.go

    // Copyright 2018 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.
    
    // TODO: This test could be implemented on all (most?) UNIXes if we
    // added syscall.Tgkill more widely.
    
    // We skip all of these tests under race mode because our test thread
    // spends all of its time in the race runtime, which isn't a safe
    // point.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top