Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 757 for Status (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add two elements and invalidate them.
        cache.put(1, 4);
        cache.put(2, 8);
    
        cache.invalidateAll();
    
        assertEquals(2, stats[0]);
        assertEquals(2, stats[1]);
        assertEquals(4, stats[2]);
        assertEquals(3, stats[3]);
      }
    
      public void testPutAll() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. cmd/data-usage-utils.go

    	}
    
    	ts := make(map[string]madmin.TierStats)
    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            } catch (SmbException e) {
                // Expected
            }
    
            stats = validator.getStats();
            assertTrue(stats.getTotalValidations() > 0);
            assertTrue(stats.getFailedValidations() > 0);
            assertTrue(stats.getFailureRate() > 0);
            assertTrue(stats.getFailureRate() <= 1.0);
        }
    
        @Test
        public void testBufferOverflowPrevention() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportTest.java

        @Nested
        @DisplayName("State management tests")
        class StateManagementTests {
    
            @Test
            @DisplayName("should correctly identify disconnected states")
            void shouldIdentifyDisconnectedStates() {
                // States: 0=not connected, 1=connecting, 2=run connected, 3=connected,
                // 4=error, 5=disconnecting, 6=disconnected/invalid
                int[] disconnectedStates = { 0, 4, 5, 6 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

        void testInitialization() {
            assertNotNull(multiChannelManager);
            MultiChannelManager.ChannelStatistics stats = multiChannelManager.getStatistics();
            assertEquals(0, stats.getActiveSessions());
            assertEquals(0, stats.getTotalChannels());
        }
    
        @Test
        @DisplayName("createChannelTransport should fail with null addresses")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
          }
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
          checkValidState(cache);
        }
      }
    
      public void testPut_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    		Avg:  a.Avg,
    		Max:  a.Max,
    	}
    	return w
    }
    
    // QStat holds queue stats for replication
    type QStat struct {
    	Count float64 `json:"count"`
    	Bytes float64 `json:"bytes"`
    }
    
    func (q *QStat) add(o QStat) QStat {
    	return QStat{Bytes: q.Bytes + o.Bytes, Count: q.Count + o.Count}
    }
    
    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

     *             missCount}.
     *       </ul>
     *   <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
     *   <li>No stats are modified when a cache entry is invalidated or manually removed.
     *   <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of
     *       the cache.
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. cmd/metrics-v3-bucket-replication.go

    	bucketReplStats := globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage)
    	for _, bucket := range buckets {
    		if s, ok := bucketReplStats[bucket]; ok {
    			stats := s.ReplicationStats
    			if stats.hasReplicationUsage() {
    				for arn, stat := range stats.Stats {
    					labels := []string{bucketL, bucket, targetArnL, arn}
    					m.Set(bucketReplLastHrFailedBytes, float64(stat.Failed.LastHour.Bytes), labels...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 04 20:45:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. cmd/metrics-realtime.go

    	}
    	if types.Contains(madmin.MetricsRPC) {
    		gr := globalGrid.Load()
    		if gr == nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: Grid not initialized", byHostName))
    		} else {
    			stats := gr.ConnStats()
    			m.Aggregated.RPC = &stats
    		}
    	}
    	// Add types...
    
    	// ByHost is a shallow reference, so careful about sharing.
    	m.ByHost = map[string]madmin.Metrics{byHostName: m.Aggregated}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top