- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Stat (0.53 sec)
-
src/archive/tar/stat_unix.go
// The downside is that renaming uname or gname by the OS never takes effect. var userMap, groupMap sync.Map // map[int]string func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error { sys, ok := fi.Sys().(*syscall.Stat_t) if !ok { return nil } h.Uid = int(sys.Uid) h.Gid = int(sys.Gid) if doNameLookups { // Best effort at populating Uname and Gname. // The os/user functions may fail for any number of reasons
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_linux_test.go
if runtime.GOOS == "android" { t.Skip("unsupported on Android") } if _, err := os.Stat("/etc/alpine-release"); err == nil { t.Skip("setgid is broken with musl libc - go.dev/issue/39857") } testSetgid(t) } func TestSetgidStress(t *testing.T) { if runtime.GOOS == "android" { t.Skip("unsupported on Android") } if _, err := os.Stat("/etc/alpine-release"); err == nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
t.Fatalf("expected function name %v; got %v", symName, funcName) } fi1, err := os.Stat("addr2line_test.go") if err != nil { t.Fatalf("Stat failed: %v", err) } // Debug paths are stored slash-separated, so convert to system-native. srcPath = filepath.FromSlash(srcPath) fi2, err := os.Stat(srcPath) if err != nil { t.Fatalf("Stat failed: %v", err) } if !os.SameFile(fi1, fi2) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
output, err := exec.Command(swig, "-go", "-swiglib").Output() if err != nil { t.Skip("swig is missing Go support") } swigDir := strings.TrimSpace(string(output)) _, err = os.Stat(filepath.Join(swigDir, "go")) if err != nil { t.Skip("swig is missing Go support") } // Check that swig has a new enough version. // See https://golang.org/issue/22858.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
src/archive/zip/reader.go
} type openDir struct { e *fileListEntry files []fileListEntry offset int } func (d *openDir) Close() error { return nil } func (d *openDir) Stat() (fs.FileInfo, error) { return d.e.stat() } func (d *openDir) Read([]byte) (int, error) { return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 20:56:09 GMT 2023 - 1.7K bytes - Viewed (0) -
lib/time/update.bash
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 02 18:20:41 GMT 2024 - 1.8K bytes - Viewed (0) -
api/except.txt
pkg syscall (freebsd-386), type Stat_t struct, Blksize uint32 pkg syscall (freebsd-386), type Stat_t struct, Dev uint32 pkg syscall (freebsd-386), type Stat_t struct, Gen uint32 pkg syscall (freebsd-386), type Stat_t struct, Ino uint32 pkg syscall (freebsd-386), type Stat_t struct, Lspare int32 pkg syscall (freebsd-386), type Stat_t struct, Nlink uint16 pkg syscall (freebsd-386), type Stat_t struct, Pad_cgo_0 [8]uint8
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 25 00:13:30 GMT 2023 - 34.6K bytes - Viewed (0) -
doc/godebug.md
There are no runtime metrics for this change, This setting may be removed in a future release, Go 1.27 at the earliest. Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat) for reparse points, which can be controlled with the `winsymlink` setting. As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64-cgo), type Stat_t struct, Flags uint32 pkg syscall (darwin-arm64-cgo), type Stat_t struct, Gen uint32 pkg syscall (darwin-arm64-cgo), type Stat_t struct, Gid uint32 pkg syscall (darwin-arm64-cgo), type Stat_t struct, Ino uint64 pkg syscall (darwin-arm64-cgo), type Stat_t struct, Lspare int32 pkg syscall (darwin-arm64-cgo), type Stat_t struct, Mode uint16
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0)