Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AccessTime (0.13 sec)

  1. src/archive/tar/tar_test.go

    		}
    		if got, want := fi.Mode(), v.fm; got != want {
    			t.Errorf("i=%d: fi.Mode: got %o, want %o", i, got, want)
    		}
    		if got, want := h2.AccessTime, v.h.AccessTime; got != want {
    			t.Errorf("i=%d: AccessTime: got %v, want %v", i, got, want)
    		}
    		if got, want := h2.ChangeTime, v.h.ChangeTime; got != want {
    			t.Errorf("i=%d: ChangeTime: got %v, want %v", i, got, want)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    	// If the Format is unspecified, then Writer.WriteHeader rounds ModTime
    	// to the nearest second and ignores the AccessTime and ChangeTime fields.
    	//
    	// To use AccessTime or ChangeTime, specify the Format as PAX or GNU.
    	// To use sub-second resolution, specify the Format as PAX.
    	ModTime    time.Time // Modification time
    	AccessTime time.Time // Access time (requires either PAX or GNU support)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    			ChangeTime: time.Unix(1244592783, 0),
    		}, {
    			Name:       "small2.txt",
    			Mode:       0640,
    			Uid:        73025,
    			Gid:        5000,
    			Size:       11,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    			Uname:      "dsymonds",
    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	var f formatter // Ignore errors since they are expected
    	var spd sparseDatas
    	var spb []byte
    	blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric)
    	if !hdr.AccessTime.IsZero() {
    		f.formatNumeric(blk.toGNU().accessTime(), hdr.AccessTime.Unix())
    	}
    	if !hdr.ChangeTime.IsZero() {
    		f.formatNumeric(blk.toGNU().changeTime(), hdr.ChangeTime.Unix())
    	}
    	// TODO(dsnet): Re-enable this when adding sparse support.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

        }
    
        // The code below is exactly the same for each access entry type.
    
        volatile long accessTime = Long.MAX_VALUE;
    
        @Override
        public long getAccessTime() {
          return accessTime;
        }
    
        @Override
        public void setAccessTime(long time) {
          this.accessTime = time;
        }
    
        // Guarded By Segment.this
        @Weak ReferenceEntry<K, V> nextAccess = nullEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top