Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,100 for Utime (0.05 sec)

  1. 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)
  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. api/go1.16.txt

    pkg syscall (darwin-arm64), const ESPIPE = 29
    pkg syscall (darwin-arm64), const ESRCH = 3
    pkg syscall (darwin-arm64), const ESTALE = 70
    pkg syscall (darwin-arm64), const ETIME = 101
    pkg syscall (darwin-arm64), const ETIME Errno
    pkg syscall (darwin-arm64), const ETIMEDOUT = 60
    pkg syscall (darwin-arm64), const ETOOMANYREFS = 59
    pkg syscall (darwin-arm64), const ETXTBSY = 26
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K 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: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. cmd/batch-replicate.go

    type BatchReplicateFilter struct {
    	NewerThan     xtime.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time      `yaml:"createdAfter,omitempty" json:"createdAfter"`
    	CreatedBefore time.Time      `yaml:"createdBefore,omitempty" json:"createdBefore"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	return false
    }
    
    // returns true if object was modified after givenTime.
    func ifModifiedSince(objTime time.Time, givenTime time.Time) bool {
    	// The Date-Modified header truncates sub-second precision, so
    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/api-datatypes.go

    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(t.Time.Format(time.RFC3339), startElement)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. api/go1.20.txt

    pkg testing, method (*B) Elapsed() time.Duration #43620
    pkg time, const DateOnly = "2006-01-02" #52746
    pkg time, const DateOnly ideal-string #52746
    pkg time, const DateTime = "2006-01-02 15:04:05" #52746
    pkg time, const DateTime ideal-string #52746
    pkg time, const TimeOnly = "15:04:05" #52746
    pkg time, const TimeOnly ideal-string #52746
    pkg time, method (Time) Compare(Time) int #50770
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), const VSTOP ideal-int
    pkg syscall (freebsd-arm64), const VSUSP = 10
    pkg syscall (freebsd-arm64), const VSUSP ideal-int
    pkg syscall (freebsd-arm64), const VTIME = 17
    pkg syscall (freebsd-arm64), const VTIME ideal-int
    pkg syscall (freebsd-arm64), const VWERASE = 4
    pkg syscall (freebsd-arm64), const VWERASE ideal-int
    pkg syscall (freebsd-arm64), const WCONTINUED = 4
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
Back to top