Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 603 for count1 (0.47 sec)

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

            CacheBuilder.newBuilder()
                .concurrencyLevel(1)
                .removalListener(listener)
                .build(computingFunction);
    
        // seed the map, so its segment's count > 0
        cache.getUnchecked("a");
        shouldWait.set(true);
    
        CountDownLatch computationStarted = new CountDownLatch(1);
        CountDownLatch computationComplete = new CountDownLatch(1);
        new Thread(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        stream.defaultReadObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
        ImmutableMap.Builder<Object, ImmutableList<Object>> builder = ImmutableMap.builder();
        int tmpSize = 0;
    
        for (int i = 0; i < keyCount; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            CacheBuilder.newBuilder()
                .concurrencyLevel(1)
                .removalListener(listener)
                .build(computingFunction);
    
        // seed the map, so its segment's count > 0
        cache.getUnchecked("a");
        shouldWait.set(true);
    
        CountDownLatch computationStarted = new CountDownLatch(1);
        CountDownLatch computationComplete = new CountDownLatch(1);
        new Thread(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multimap.java

     *       operation that causes a key to have zero associated values has the effect of
     *       <i>removing</i> that key from the multimap.
     *   <li>The total entry count is available as {@link #size}.
     *   <li>Many complex operations become easier; for example, {@code
     *       Collections.min(multimap.values())} finds the smallest value across all keys.
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                // Check that it's public
                assertTrue("Method should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers()));
    
                // Check parameter count
                assertEquals("Method should have no parameters", 0, method.getParameterCount());
    
            } catch (NoSuchMethodException e) {
                fail("getSearchEngineHttpAddress method should exist");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * methods: {@link SortedMultiset#clear}, {@link SortedMultiset#comparator}, {@link
       * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count},
       * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
       * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            RuntimeException ex = assertThrows(RuntimeException.class, trace::release);
            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero"));
        }
    
        @Test
        @DisplayName("getTreeId(): no tree returns -1")
        void getTreeId_noTree_returnsMinusOne() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                byte[] buf = BufferCache.getBuffer();
                BufferCache.releaseBuffer(buf);
            }
    
            // 3. Atomic Operations Test
            AtomicLong counter = new AtomicLong(0);
            for (int i = 0; i < 1000; i++) {
                counter.addAndGet(1024);
            }
    
            long end = System.nanoTime();
            double totalTimeMs = (end - start) / 1_000_000.0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> In most cases, the {@code Stream} equivalent of this method is {@code
       * stream.filter(element::equals).count()}. If {@code element} might be null, use {@code
       * stream.filter(Predicate.isEqual(element)).count()} instead.
       *
       * @see java.util.Collections#frequency(Collection, Object) Collections.frequency(Collection,
       *     Object)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
Back to top