Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for atime (0.06 sec)

  1. internal/ioutil/read_file.go

    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    func ReadFile(name string) ([]byte, error) {
    	// Don't wrap with un-needed buffer.
    	// Don't use os.ReadFile, since it doesn't pass NO_ATIME when present.
    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TestLocking.java

                do {
                    delay = 2L;
    
                    synchronized (t) {
                        long expire = t.ltime + t.delay;
                        long ctime = System.currentTimeMillis();
    
                        if (expire > ctime)
                            delay = expire - ctime;
                    }
    
    if (delay > 2)
    System.out.println("delay=" + delay);
                    Thread.sleep(delay);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  3. src/archive/zip/testdata/time-22738.zip

    Russ Cox <******@****.***> 1511973652 -0500
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 01 00:22:21 UTC 2017
    - 140 bytes
    - Viewed (0)
  4. src/archive/zip/testdata/time-winrar.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
  5. src/archive/zip/testdata/time-go.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 148 bytes
    - Viewed (0)
  6. src/archive/zip/testdata/time-win7.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 114 bytes
    - Viewed (0)
  7. src/archive/zip/testdata/time-winzip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
  8. internal/cachevalue/cache.go

    	v := t.val.Load()
    	ttl := t.ttl
    	vTime := t.lastUpdateMs.Load()
    	tNow := time.Now().UnixMilli()
    	if v != nil && tNow-vTime < ttl.Milliseconds() {
    		return *v, nil
    	}
    
    	// Fetch new value asynchronously, while we do not return an error
    	// if v != nil value or
    	if t.opts.NoWait && v != nil && tNow-vTime < ttl.Milliseconds()*2 {
    		if t.updating.TryLock() {
    			go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/archive/zip/testdata/time-7zip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
  10. src/archive/zip/testdata/time-infozip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 166 bytes
    - Viewed (0)
Back to top