Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 250 for stdat (0.33 sec)

  1. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  2. src/net/http/fs.go

    			return fs.Stat(f.fsys, path)
    		})
    	}
    	return ioFile{file}, nil
    }
    
    func (f ioFile) Close() error               { return f.file.Close() }
    func (f ioFile) Read(b []byte) (int, error) { return f.file.Read(b) }
    func (f ioFile) Stat() (fs.FileInfo, error) { return f.file.Stat() }
    
    var errMissingSeek = errors.New("io.File missing Seek method")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    			for arn, stat := range flat.ReplicationStats.Targets {
    				bui.ReplicationInfo[arn] = BucketTargetUsageInfo{
    					ReplicationPendingSize:  stat.PendingSize,
    					ReplicatedSize:          stat.ReplicatedSize,
    					ReplicationFailedSize:   stat.FailedSize,
    					ReplicationPendingCount: stat.PendingCount,
    					ReplicationFailedCount:  stat.FailedCount,
    					ReplicatedCount:         stat.ReplicatedCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			err := mgr.CleanupDirs()
    			if err != nil {
    				t.Errorf("unexpected error cleaning up: %v", err)
    			}
    
    			if _, err := os.Stat(tempManifestDir); !os.IsNotExist(err) {
    				t.Errorf("%q should not have existed", tempManifestDir)
    			}
    			_, err = os.Stat(backupManifestDir)
    			if test.keepManifest {
    				if err != nil {
    					t.Errorf("unexpected error getting backup manifest dir")
    				}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func copyStat(stat *Stat_t, statLE *Stat_LE_t) {
    	stat.Dev = uint64(statLE.Dev)
    	stat.Ino = uint64(statLE.Ino)
    	stat.Nlink = uint64(statLE.Nlink)
    	stat.Mode = uint32(statLE.Mode)
    	stat.Uid = uint32(statLE.Uid)
    	stat.Gid = uint32(statLE.Gid)
    	stat.Rdev = uint64(statLE.Rdev)
    	stat.Size = statLE.Size
    	stat.Atim.Sec = int64(statLE.Atim)
    	stat.Atim.Nsec = 0 //zos doesn't return nanoseconds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go

    )
    
    func assertExists(t *testing.T, path string) {
    	if _, err := os.Stat(path); os.IsNotExist(err) {
    		t.Errorf("file/directory does not exist; error: %s", err)
    		t.Errorf("file/directory does not exist: %s", path)
    	}
    }
    
    func assertNotExists(t *testing.T, path string) {
    	if _, err := os.Stat(path); err == nil {
    		t.Errorf("file/dir exists: %s", path)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_riscv64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Stat(path string, stat *Stat_t) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_386.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Stat(path string, stat *Stat_t) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_amd64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Stat(path string, stat *Stat_t) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Stat(path string, stat *Stat_t) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top