Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for utcnow (0.17 sec)

  1. cmd/bucket-replication_test.go

    			},
    			dsc: ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    			rcfg: replicationConfig{
    				remotes: &madmin.BucketTargets{Targets: []madmin.BucketTarget{{
    					Arn:             "arn1",
    					ResetID:         "xyz",
    					ResetBeforeDate: UTCNow(),
    				}}},
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/lock-rest-server-common_test.go

    		Owner:           "owner",
    		Writer:          true,
    		UID:             "0123-4567",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    	lockRequesterInfo2 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "89ab-cdef",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    		lockRequesterInfo2,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 23 17:26:21 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. cmd/namespace-lock.go

    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    	if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{
    		Timeout:       timeout.Timeout(),
    		RetryInterval: timeout.RetryInterval(),
    	}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. cmd/metacache.go

    func (m *metacache) update(update metacache) {
    	m.lastUpdate = UTCNow()
    
    	if m.lastHandout.After(m.lastHandout) {
    		m.lastHandout = UTCNow()
    	}
    	if m.status == scanStateStarted && update.status == scanStateSuccess {
    		m.ended = UTCNow()
    	}
    
    	if m.status == scanStateStarted && update.status != scanStateStarted {
    		m.status = update.status
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_test.go

    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  6. cmd/site-replication-utils.go

    			st.Status = siteResyncStatus(st.Status, st.BucketStatuses)
    			st.LastUpdate = UTCNow()
    			sm.resyncStatus[o.resyncID] = st
    		case ResyncFailed:
    			st.BucketStatuses[o.bucket] = ResyncFailed
    			st.Status = siteResyncStatus(st.Status, st.BucketStatuses)
    			st.LastUpdate = UTCNow()
    			sm.resyncStatus[o.resyncID] = st
    		}
    	}
    }
    
    // remove deleted bucket from active resync tracking
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  7. cmd/erasure-metadata_test.go

    		if testCase.expectedIndex > -1 {
    			partNumString := strconv.Itoa(testCase.partNum)
    			fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil)
    		}
    
    		if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex {
    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    				"Z7IXGOO6BZ0REAN1Q26I",
    				UTCNow().Format(yyyymmdd),
    				"us-west-1",
    				"ABCD",
    				"ABCD"),
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrInvalidServiceS3,
    		},
    		// Test Case - 7.
    		// Test case with invalid region.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"Z7IXGOO6BZ0REAN1Q26I",
    				UTCNow().Format(yyyymmdd),
    				"us-west-2",
    				"s3",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    				Owner:           args.Owner,
    				UID:             args.UID,
    				Timestamp:       UTCNow(),
    				TimeLastRefresh: UTCNow(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          args.Quorum,
    				idx:             i,
    			},
    		}
    		l.lockUID[formatUUID(args.UID, i)] = resource
    	}
    	return true, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. cmd/metrics-realtime.go

    		}
    	}
    	if types.Contains(madmin.MetricsMem) {
    		m.Aggregated.Mem = &madmin.MemMetrics{
    			CollectedAt: UTCNow(),
    		}
    		m.Aggregated.Mem.Info = madmin.GetMemInfo(GlobalContext, byHostName)
    	}
    	if types.Contains(madmin.MetricsCPU) {
    		m.Aggregated.CPU = &madmin.CPUMetrics{
    			CollectedAt: UTCNow(),
    		}
    		cm, err := c.Times(false)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top