Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,365 for tive (0.06 sec)

  1. cmd/last-minute.go

    func (a *AccElem) add(dur time.Duration) {
    	if dur < 0 {
    		dur = 0
    	}
    	a.Total += int64(dur)
    	a.N++
    }
    
    // Merge b into a.
    func (a *AccElem) merge(b AccElem) {
    	a.N += b.N
    	a.Total += b.Total
    	a.Size += b.Size
    }
    
    // Avg returns average time spent.
    func (a AccElem) avg() time.Duration {
    	if a.N >= 1 && a.Total > 0 {
    		return time.Duration(a.Total / a.N)
    	}
    	return 0
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            logger.info(localLogMsg.get());
            String[] values = localLogMsg.get().split("\t");
            assertEquals(3, values.length);
            assertEquals("url:test", values[0]);
            assertTrue(values[1].startsWith("time:"));
            assertTrue(values[2].startsWith("done:"));
    
            localLogMsg.remove();
            crawlerStatsHelper.done(key);
            assertNull(localLogMsg.get());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            "five",
            5,
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
            ImmutableSortedMap.of(
                "one", 1,
                "two", 2,
                "three", 3,
                "four", 4,
                "five", 5,
                "six", 6),
            "five",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. cmd/update-notifier.go

    	// difference between newer and current release.
    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    
    	if globalServerCtxt.JSON {
    		return fmt.Sprintf("You are running an older version of MinIO released %s, update: %s", newerThan, downloadURL)
    	}
    
    	// Return the nicely colored and formatted update message.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tests/default_value_test.go

    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    func TestDefaultValue(t *testing.T) {
    	type Harumph struct {
    		gorm.Model
    		Email   string    `gorm:"not null;index:,unique"`
    		Name    string    `gorm:"notNull;default:foo"`
    		Name2   string    `gorm:"size:233;not null;default:'foo'"`
    		Name3   string    `gorm:"size:233;notNull;default:''"`
    		Age     int       `gorm:"default:18"`
    		Created time.Time `gorm:"default:2000-01-02"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/FileEntry.java

        /**
         * Gets the file creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the last access time.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-cpu.go

    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    	sysCPULoadMD      = NewGaugeMD(sysCPULoad, "CPU load average 1min")
    	sysCPULoadPercMD  = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)")
    	sysCPUNiceMD      = NewGaugeMD(sysCPUNice, "CPU nice time")
    	sysCPUStealMD     = NewGaugeMD(sysCPUSteal, "CPU steal time")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. cmd/listen-notification-handlers.go

    		if pingInterval < 1 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL)
    			return
    		}
    		t := time.NewTicker(time.Duration(pingInterval) * time.Second)
    		defer t.Stop()
    		emptyEventTicker = t.C
    	} else {
    		// Deprecated Apr 2023
    		t := time.NewTicker(500 * time.Millisecond)
    		defer t.Stop()
    		keepAliveTicker = t.C
    	}
    
    	enc := json.NewEncoder(w)
    	for {
    		select {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertEquals(expectedSeconds, actualSeconds);
    
            // Test when current time is in DST but test time is not
            when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true) // current time
                    .thenReturn(false); // test time
            SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0);
    
            expectedSeconds = (int) ((testTime - 3600000) / 1000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. cmd/mrf.go

    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.Object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.Queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    			wait := healSleeper.Timer(context.Background())
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top