Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for Cstime (0.06 sec)

  1. cmd/xl-storage.go

    	if filePath == "" {
    		return nil, dmTime, errFileNotFound
    	}
    
    	xlPath := pathJoin(filePath, xlStorageFormatFile)
    	if readData {
    		buf, dmTime, err = s.readAllDataWithDMTime(ctx, volume, volumeDir, xlPath)
    	} else {
    		buf, dmTime, err = s.readMetadataWithDMTime(ctx, xlPath)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isTryEnter(method)) {
          assertFalse(desc, isTimed(method));
          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    	fi.ModTime = modTime     // set modTime for the new versionID
    	if !dstOpts.MTime.IsZero() {
    		modTime = dstOpts.MTime
    		fi.ModTime = dstOpts.MTime
    	}
    	// check inline before overwriting metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ID":
    			err = dc.ReadExactBytes((z.VersionID)[:])
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "MTime":
    			z.ModTime, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "MetaSys":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    
    	randomWait := func() time.Duration {
    		// randomWait depends on the number of nodes to avoid triggering resume and cleanups at the same time.
    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    		jpool.resume(randomWait)
    		jpool.cleanupReports(randomWait)
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    // Otherwise returns zero value of time.Time and false.
    func (r restoreObjStatus) Expiry() (time.Time, bool) {
    	if r.Ongoing() {
    		return time.Time{}, false
    	}
    	return r.expiry, true
    }
    
    // Ongoing returns true if restore-object is ongoing.
    func (r restoreObjStatus) Ongoing() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			hdrs = r.Header
    		}
    
    		opts, err := putOpts(ctx, bucket, object, versionID, hdrs, metadata)
    		if err != nil {
    			return err
    		}
    
    		opts.MTime = info.ModTime()
    		if opts.MTime.Unix() <= 0 {
    			opts.MTime = UTCNow()
    		}
    		opts.IndexCB = idxCb
    
    		retentionMode, retentionDate, legalHold, s3err := checkPutObjectLockAllowed(ctx, r, bucket, object, getObjectInfo, retPerms, holdPerms)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceReplicationResync) > 0 {
    			globalTrace.Publish(replicationResyncTrace(resyncID, startTime, duration, path, err, sz))
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

         * @param time The build time of the project in milliseconds.
         */
        protected BuildSummary(MavenProject project, long time) {
            this(project, time, time);
        }
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param execTime The exec time of the project in milliseconds.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top