Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 172 for Stats (0.07 sec)

  1. cmd/site-replication-utils.go

    		NumBuckets:      int64(rs.TotBuckets),
    	}
    	for b, st := range rs.BucketStatuses {
    		if st == ResyncFailed {
    			m.FailedBuckets = append(m.FailedBuckets, b)
    		}
    	}
    	return &m
    }
    
    // save in-memory stats to disk
    func (sm *siteResyncMetrics) save(ctx context.Context) {
    	sTimer := time.NewTimer(siteResyncSaveInterval)
    	defer sTimer.Stop()
    	for {
    		select {
    		case <-sTimer.C:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. go.mod

    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    	github.com/montanaflynn/stats v0.7.1 // indirect
    	github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
    	github.com/muesli/cancelreader v0.2.2 // indirect
    	github.com/muesli/reflow v0.3.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts), 2)
    	for _, stmt := range conn.Stmts {
    		if stmt == nil {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected StatsAggregationBuilder regStatsA(String name, String field) {
            StatsAggregationBuilder builder = AggregationBuilders.stats(name).field(field);
            regA(builder);
            return builder;
        }
    
        protected PercentilesAggregationBuilder regPercentilesA(String name, String field) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected StatsAggregationBuilder regStatsA(String name, String field) {
            StatsAggregationBuilder builder = AggregationBuilders.stats(name).field(field);
            regA(builder);
            return builder;
        }
    
        protected PercentilesAggregationBuilder regPercentilesA(String name, String field) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. cmd/api-router.go

    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    // behavior modification via flags.
    //
    // This middleware always calls `collectAPIStats` to collect API stats.
    //
    // The passed in handler function must be a method of `objectAPIHandlers` for
    // the name displayed in logs and trace to be accurate. The name is extracted
    // via reflection.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import com.google.common.math.StatsTesting.ManyValues;
    import java.util.Collections;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    		}
    	}
    }
    
    // State returns the current connection status.
    func (c *Connection) State() State {
    	return State(atomic.LoadUint32((*uint32)(&c.state)))
    }
    
    // Stats returns the current connection stats.
    func (c *Connection) Stats() madmin.RPCMetrics {
    	conn := 0
    	if c.State() == StateConnected {
    		conn++
    	}
    	var lastConn time.Time
    	if t := c.lastConnect.Load(); t != nil {
    		lastConn = *t
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-api.go

    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    	// Currently we only collect S3 API related stats, so we set the "type"
    	// label to "s3".
    
    	m.Set(apiRejectedAuthTotal, float64(httpStats.TotalS3RejectedAuth), "type", "s3")
    	m.Set(apiRejectedTimestampTotal, float64(httpStats.TotalS3RejectedTime), "type", "s3")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import com.google.common.math.StatsTesting.ManyValues;
    import java.util.Collections;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top