Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 83 for utcnow (0.06 seconds)

  1. cmd/data-scanner.go

    	err := s.scanFolder(ctx, folder, &root)
    	if err != nil {
    		// No useful information...
    		return cache, err
    	}
    	s.newCache.forceCompact(dataScannerCompactAtChildren)
    	s.newCache.Info.LastUpdate = UTCNow()
    	s.newCache.Info.NextCycle = cache.Info.NextCycle
    	return s.newCache, nil
    }
    
    // sendUpdate() should be called on a regular basis when the newCache contains more recent total than previously.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  2. cmd/storage-rest-server.go

    		return err
    	}
    
    	nanoTime, err := strconv.ParseInt(r.Header.Get("X-Minio-Time"), 10, 64)
    	if err != nil {
    		return errMalformedAuth
    	}
    
    	localTime := UTCNow()
    	remoteTime := time.Unix(0, nanoTime)
    
    	delta := remoteTime.Sub(localTime)
    	if delta < 0 {
    		delta *= -1
    	}
    
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    		}
    	}
    }
    
    func (ri *batchJobInfo) updateAfter(ctx context.Context, api ObjectLayer, duration time.Duration, job BatchJobRequest) error {
    	if ri == nil {
    		return errInvalidArgument
    	}
    	now := UTCNow()
    	ri.mu.Lock()
    	var (
    		format, version uint16
    		jobTyp          string
    	)
    
    	if now.Sub(ri.LastUpdate) >= duration {
    		switch job.Type() {
    		case madmin.BatchJobReplicate:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. cmd/xl-storage_test.go

    	}
    	var versions [50]string
    	for i := range versions {
    		versions[i] = uuid.New().String()
    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    			Erasure: ErasureInfo{
    				Algorithm:    erasureAlgorithm,
    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  5. ci/official/utilities/extract_resultstore_links.py

      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
      testsuite = ElemTree.SubElement(testsuites, 'testsuite')
      for url, invocation_results in result_store_dict.items():
        invocation_id = url.rsplit('/')[-1]
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  6. cmd/admin-handlers.go

    	// Send profiling data to zip as file
    	header, zerr := zip.FileInfoHeader(dummyFileInfo{
    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    	header.Method = zip.Deflate
    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  7. cmd/metrics-v2.go

    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			currDowntime := time.Duration(0)
    			if !health.Online && !health.lastOnline.IsZero() {
    				currDowntime = UTCNow().Sub(health.lastOnline)
    			}
    			offlineDuration.Value = float64(currDowntime / time.Second)
    			ml = append(ml, offlineDuration)
    
    			downtimeDuration := MetricV2{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  8. cmd/server_test.go

    	c.Assert(err, nil)
    
    	req.Body = io.NopCloser(bytes.NewReader([]byte("foobar!\n")))
    	req.Trailer = http.Header{}
    	req.Trailer.Set("x-amz-checksum-crc32", "rK0DXg==")
    
    	now := UTCNow()
    
    	req = signer.StreamingUnsignedV4(req, "", 8, now)
    
    	maliciousHeaders := http.Header{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  9. 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() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. cmd/testdata/undeleteable-object.tgz

    +co3@Å݉ l k6W±Y†r’±2IìN=qù¯T£ b*ìÞ[p͉šëê »ËT¹KÛùód¼U Êb‚ A` C–h;\ñ AoOˆ uXosÆ ÏŒJÿÒ á¾Î¦»Ó:ÈV &Va§šÐü}œM@ V¡ï%ú â"Ù š !ùôe³ ço1 ¨d³×äÕpÉÛO Æ+" ߢ©Îùd »1 ‘sÖÀ »‡›Ç\Ì ¬±3 V-{è€Ýîb Ú®>z•·)F+ŸÍ~ÒµjBÍcÝ2I9Fdáû¿¡Ø j.hË ¦Äµ„î ‰šâ0oÇ"(B„öÂôïõQà¡M ¤= l r `ûÇÕW€äqyj U¢ç8®÷ CÏx—é¾ê¸<›sö‡ÊHɰ;y²š¾ A”f.d€ € XÑ ~Xu@aßêqØ=; ×ÄZ²ƒ©æ¯`¾|¹¼Åíƒ3f”ÁWÆÚ1]Ô¿„¤ƒF–ÿ¸¬©ÊJš½×ê¼è¢27¢Vés /î – ³gD ¡]#6pWYWWö [Y‹šŸc ü; Ü×dg”—s¿f}ñ5 ^ QÈ*¼ú¢CÕÚ´ÀŸo Î?v9X<G PR m ‹¯a;X°d韩Vq45Jª MÔ^ uí§ò` ]i O 9K×µç ù³:Cr3¸ ÂÁ: Øl%€ ¦œûâà ý1tÕYmU¨...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Click Count (0)
Back to Top