Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for etime (0.04 sec)

  1. src/os/exec_unix.go

    	}
    	// Use the handle.
    	return newHandleProcess(pid, h), nil
    }
    
    func (p *ProcessState) userTime() time.Duration {
    	return time.Duration(p.rusage.Utime.Nano()) * time.Nanosecond
    }
    
    func (p *ProcessState) systemTime() time.Duration {
    	return time.Duration(p.rusage.Stime.Nano()) * time.Nanosecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                            new Trans2SetFileInformationResponse(th.getConfig()),
                            RequestParam.NO_RETRY);
                    }
                }
                else {
                    if ( ctime != 0 || atime != 0 ) {
                        throw new SmbUnsupportedOperationException("Cannot set creation or access time without CAP_NT_SMBS");
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  3. cmd/object-api-options.go

    	var mtime time.Time
    	if mtimeStr != "" {
    		mtime, err = time.Parse(time.RFC3339Nano, mtimeStr)
    		if err != nil {
    			return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err)
    		}
    	}
    	retaintimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectRetentionTimestamp))
    	var retaintimestmp time.Time
    	if retaintimeStr != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    			// atime and ctime fields (e.g., when they are valid octal strings),
    			// then it is impossible to distinguish between a valid GNU file
    			// and an invalid pre-Go1.8 file.
    			//
    			// See https://golang.org/issues/12594
    			// See https://golang.org/issues/21005
    			if p2.err != nil {
    				hdr.AccessTime, hdr.ChangeTime = time.Time{}, time.Time{}
    				ustar := tr.blk.toUSTAR()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. src/cmd/distpack/pack.go

    	tw := tar.NewWriter(zw)
    
    	// Find the mode and mtime to use for directory entries,
    	// based on the mode and mtime of the first file we see.
    	// We know that modes and mtimes are uniform across the archive.
    	var dirMode fs.FileMode
    	var mtime time.Time
    	for _, f := range a.Files {
    		dirMode = fs.ModeDir | f.Mode | (f.Mode&0444)>>2 // copy r bits down to x bits
    		mtime = f.Time
    		break
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/compress/gzip/issue14937_test.go

    package gzip
    
    import (
    	"internal/testenv"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestGZIPFilesHaveZeroMTimes checks that every .gz file in the tree
    // has a zero MTIME. This is a requirement for the Debian maintainers
    // to be able to have deterministic packages.
    //
    // To patch a .gz file, use the following command:
    //
    //	$ dd if=/dev/zero bs=1 seek=4 count=4 conv=notrunc of=filename.gz
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/os/stat_freebsd.go

    	}
    	if fs.sys.Mode&syscall.S_ISUID != 0 {
    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atimespec.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/os/stat_linux.go

    	}
    	if fs.sys.Mode&syscall.S_ISUID != 0 {
    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/os/stat_netbsd.go

    	}
    	if fs.sys.Mode&syscall.S_ISUID != 0 {
    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atimespec.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/os/stat_openbsd.go

    	}
    	if fs.sys.Mode&syscall.S_ISUID != 0 {
    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top