Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 439 for time (0.02 sec)

  1. src/archive/tar/reader_test.go

    			AccessTime: time.Unix(1441974501, 0),
    			ChangeTime: time.Unix(1441973436, 0),
    			Format:     FormatGNU,
    		}, {
    			Name:       "test2/sparse",
    			Mode:       33188,
    			Uid:        1000,
    			Gid:        1000,
    			Size:       536870912,
    			ModTime:    time.Unix(1441973427, 0),
    			Typeflag:   'S',
    			Uname:      "rawr",
    			Gname:      "dsnet",
    			AccessTime: time.Unix(1441991948, 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)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    // time occurrence from a list of time.
    func TestCommonTime(t *testing.T) {
    	// List of test cases for common modTime.
    	testCases := []struct {
    		times  []time.Time
    		time   time.Time
    		quorum int
    	}{
    		{
    			// 1. Tests common times when slice has varying time elements.
    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. 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)
  5. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) GetBucketPolicy(bucket string) (*policy.BucketPolicy, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	if meta.policyConfig == nil {
    		return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. internal/s3select/parquet/reader.go

    				var duration time.Duration
    				// Only support UTC normalized timestamps.
    				if ts.IsAdjustedToUTC {
    					switch {
    					case ts.Unit.IsSetNANOS():
    						duration = time.Duration(val) * time.Nanosecond
    					case ts.Unit.IsSetMILLIS():
    						duration = time.Duration(val) * time.Millisecond
    					case ts.Unit.IsSetMICROS():
    						duration = time.Duration(val) * time.Microsecond
    					default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

        public MavenBuildTimestamp() {
            this(new Date());
        }
    
        public MavenBuildTimestamp(Date time) {
            this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT);
        }
    
        public MavenBuildTimestamp(Date time, Map<String, String> properties) {
            this(time, properties != null ? properties.get(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        /**
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    			maxima = count
    			latest = etag
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return latest, maxima
    }
    
    // commonTime returns a maximally occurring time from a list of time.
    func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) {
    	timeOccurrenceMap := make(map[int64]int, len(times))
    	groupNano := group.Nanoseconds()
    	// Ignore the uuid sentinel and count the rest.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    	PolicyConfigUpdatedAt            time.Time
    	ObjectLockConfigUpdatedAt        time.Time
    	EncryptionConfigUpdatedAt        time.Time
    	TaggingConfigUpdatedAt           time.Time
    	QuotaConfigUpdatedAt             time.Time
    	ReplicationConfigUpdatedAt       time.Time
    	VersioningConfigUpdatedAt        time.Time
    	LifecycleConfigUpdatedAt         time.Time
    	NotificationConfigUpdatedAt      time.Time
    	BucketTargetsConfigUpdatedAt     time.Time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top