- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 242 for nlstat (0.12 sec)
-
src/cmd/go/internal/work/build_test.go
"cmd/go/internal/cfg" "cmd/go/internal/load" ) func TestRemoveDevNull(t *testing.T) { fi, err := os.Lstat(os.DevNull) if err != nil { t.Skip(err) } if fi.Mode().IsRegular() { t.Errorf("Lstat(%s).Mode().IsRegular() = true; expected false", os.DevNull) } mayberemovefile(os.DevNull) _, err = os.Lstat(os.DevNull) if err != nil { t.Errorf("mayberemovefile(%s) did remove it; oops", os.DevNull) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
Pad2 uint32 Blocks int64 } //sys fstat(fd int, st *stat_t) (err error) //sys fstatat(dirfd int, path string, st *stat_t, flags int) (err error) = SYS_NEWFSTATAT //sys lstat(path string, st *stat_t) (err error) //sys stat(path string, st *stat_t) (err error) func Fstat(fd int, s *Stat_t) (err error) { st := &stat_t{} err = fstat(fd, st) fillStat_t(s, st) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.8K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
) // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { s1, err := os.Lstat(path) if err != nil { return false } // A symlink can never be a mount point if s1.Mode()&os.ModeSymlink != 0 { return false } s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/"))) if err != nil { return false }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
src/syscall/syscall_linux_mips64x.go
Blocks int64 } //sys fstat(fd int, st *stat_t) (err error) //sys lstat(path string, st *stat_t) (err error) //sys stat(path string, st *stat_t) (err error) func Fstat(fd int, s *Stat_t) (err error) { st := &stat_t{} err = fstat(fd, st) fillStat_t(s, st) return } func Lstat(path string, s *Stat_t) (err error) { st := &stat_t{} err = lstat(path, st) fillStat_t(s, st) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 6K bytes - Viewed (0) -
pkg/util/removeall/removeall.go
// Simple case: if Remove works, we're done. err := remove(path) if err == nil || os.IsNotExist(err) { return nil } // Otherwise, is this a directory we need to recurse into? dir, serr := os.Lstat(path) if serr != nil { if serr, ok := serr.(*os.PathError); ok && (os.IsNotExist(serr.Err) || serr.Err == syscall.ENOTDIR) { return nil } return serr } if !dir.IsDir() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 15 16:41:02 UTC 2021 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64 //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64 //sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64 //sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64 //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.5K bytes - Viewed (0) -
src/os/os_unix_test.go
func TestReaddirRemoveRace(t *testing.T) { oldStat := *LstatP defer func() { *LstatP = oldStat }() *LstatP = func(name string) (FileInfo, error) { if strings.HasSuffix(name, "some-file") { // Act like it's been deleted. return nil, ErrNotExist } return oldStat(name) } dir := newDir("TestReaddirRemoveRace", t) defer RemoveAll(dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:32:43 UTC 2023 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
*/ package jcifs.smb1.netbios; class NodeStatusRequest extends NameServicePacket { NodeStatusRequest( Name name ) { questionName = name; questionType = NBSTAT; isRecurDesired = false; isBroadcast = false; } int writeBodyWireFormat( byte[] dst, int dstIndex ) { int tmp = questionName.hexCode;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
src/syscall/zsysnum_dragonfly_amd64.go
SYS_STAT = 475 // { int stat(const char *path, struct stat *ub); } SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); } SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); } SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 22.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
void allowInit() { expectations << new SftpAllow(SftpConstants.SSH_FXP_INIT) } void expectLstat(String path) { expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_LSTAT, "LSTAT", path) } void expectMetadataRetrieve(String path) { expectLstat(path) } void expectOpen(String path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0)