- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for unixAbs (0.13 sec)
-
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) -
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) -
src/path/filepath/path.go
// path name for a given file is not guaranteed to be unique. // Abs calls [Clean] on the result. func Abs(path string) (string, error) { return abs(path) } func unixAbs(path string) (string, error) { if IsAbs(path) { return Clean(path), nil } wd, err := os.Getwd() if err != nil { return "", err } return Join(wd, path), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/go/internal/modindex/syslist.go
"openbsd": true, "plan9": true, "solaris": true, "wasip1": true, "windows": true, "zos": true, } // unixOS is the set of GOOS values matched by the "unix" build tag. // This is not used for filename matching. // This list also appears in cmd/dist/build.go. var unixOS = map[string]bool{ "aix": true, "android": true, "darwin": true, "dragonfly": true, "freebsd": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 01:45:58 UTC 2023 - 1.9K bytes - Viewed (0) -
src/go/build/syslist.go
"plan9": true, "solaris": true, "wasip1": true, "windows": true, "zos": true, } // unixOS is the set of GOOS values matched by the "unix" build tag. // This is not used for filename matching. // This list also appears in cmd/dist/build.go and // cmd/go/internal/imports/build.go. var unixOS = map[string]bool{ "aix": true, "android": true, "darwin": true, "dragonfly": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 18:50:57 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
src/cmd/go/internal/imports/build.go
"plan9": true, "solaris": true, "wasip1": true, "windows": true, "zos": true, } // unixOS is the set of GOOS values matched by the "unix" build tag. // This is not used for filename matching. // This is the same list as in go/build/syslist.go and cmd/dist/build.go. var unixOS = map[string]bool{ "aix": true, "android": true, "darwin": true, "dragonfly": true, "freebsd": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 18:50:57 UTC 2023 - 10.4K bytes - Viewed (0) -
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) -
src/cmd/dist/build.go
func packagefile(pkg string) string { return pathf("%s/pkg/obj/go-bootstrap/%s_%s/%s.a", goroot, goos, goarch, pkg) } // unixOS is the set of GOOS values matched by the "unix" build tag. // This is the same list as in go/build/syslist.go and // cmd/go/internal/imports/build.go. var unixOS = map[string]bool{ "aix": true, "android": true, "darwin": true, "dragonfly": true, "freebsd": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
return true } if ctxt.GOOS == "illumos" && name == "solaris" { return true } if ctxt.GOOS == "ios" && name == "darwin" { return true } if name == "unix" && unixOS[ctxt.GOOS] { return true } if name == "boringcrypto" { name = "goexperiment.boringcrypto" // boringcrypto is an old name for goexperiment.boringcrypto } // other tags
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0)