Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 605 for seats (0.17 sec)

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

        assertEquals(2, stats.requestCount());
        assertEquals(1, stats.hitCount());
        assertThat(stats.hitRate()).isEqualTo(1.0 / 2);
        assertEquals(1, stats.missCount());
        assertThat(stats.missRate()).isEqualTo(1.0 / 2);
        assertEquals(1, stats.loadCount());
        assertEquals(0, stats.evictionCount());
    
        Object two = new Object();
        cache.getUnchecked(two);
        stats = cache.stats();
        assertEquals(3, stats.requestCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaStatistics stats = new RdmaStatistics();
    
            // Simulate various RDMA operations
            stats.recordRdmaRead(1024, 1000000); // 1KB in 1ms
            stats.recordRdmaWrite(2048, 2000000); // 2KB in 2ms
            stats.recordRdmaSend(512, 500000); // 512B in 0.5ms
            stats.recordRdmaReceive(1536, 1500000); // 1.5KB in 1.5ms
            stats.recordError();
    
            // Verify counters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Check stats
            stats = rateLimiter.getStats();
            assertEquals(2, stats.getTotalBlocked()); // One for account, one for IP
            assertEquals(1, stats.getAccountsLocked());
            assertEquals(1, stats.getIpsBlocked());
            assertTrue(stats.getActiveAccounts() > 0);
            assertTrue(stats.getActiveIps() > 0);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(ImmutableSortedSet.of(4), Sets.subSet(set, Range.open(2, 6)));
        assertEquals(ImmutableSortedSet.of(4, 6), Sets.subSet(set, Range.open(3, 7)));
        assertEquals(empty, Sets.subSet(set, Range.open(20, 30)));
    
        assertEquals(set, Sets.subSet(set, Range.openClosed(0, 12)));
        assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.openClosed(0, 4)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStats.java

            "Expected PairedStats.BYTES = %s, got %s",
            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
        double sumOfProductsOfDeltas = buffer.getDouble();
        return new PairedStats(xStats, yStats, sumOfProductsOfDeltas);
      }
    
    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. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
      private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
      private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
      private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
      private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * {@link Cache#stats} will return zero for all statistics. Note that recording stats requires
       * bookkeeping to be performed with each operation, and thus imposes a performance penalty on
       * cache operation.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @since 12.0 (previously, stats collection was automatic)
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top