Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 953 for size_a (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
      }
    
      private static void checkResults(List<Future<String>> futures)
          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
        for (int i = 0; i < listeners.size(); i++) {
          listeners.get(i).dispatch();
        }
      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
        expectMissing(e0());
        assertEquals(getNumElements() - 1, multimap().size());
        assertGet(k0(), ImmutableList.<V>of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
       * <p>Note that a successful call to this method could cause the size of the bimap to increase by
       * one, stay the same, or even decrease by one.
       *
       * <p><b>Warning:</b> If an existing entry with this value is removed, the key for that entry is
       * discarded and not returned.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
        expectMissing(e0());
        assertEquals(getNumElements() - 1, multimap().size());
        assertGet(k0(), ImmutableList.<V>of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        // GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches
        // the behaviour of the non-GWT implementation of newConcurrentHashSet().
        // On the other hand HashSet might be better for code size if apps aren't
        // already using Collections.newSetFromMap and ConcurrentHashMap.
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

          this.multiset = multiset;
          this.keys = keys;
        }
    
        @Override
        public int[] call() throws Exception {
          int iterations = 100000;
          int nKeys = keys.size();
          int[] deltas = new int[nKeys];
          Operation[] operations = Operation.values();
          for (int i = 0; i < iterations; i++) {
            int keyIndex = random.nextInt(nKeys);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *       in the hash code should be as evenly "spread out" through the hash code's bits as possible.
     *       The result is that, for example, when choosing a bucket in a hash table of size 2^8,
     *       <i>any</i> eight bits could be consistently used.
     *   <li><b>cryptographic:</b> certain hash functions such as {@link Hashing#sha512} are designed to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashFunction.java

     *       in the hash code should be as evenly "spread out" through the hash code's bits as possible.
     *       The result is that, for example, when choosing a bucket in a hash table of size 2^8,
     *       <i>any</i> eight bits could be consistently used.
     *   <li><b>cryptographic:</b> certain hash functions such as {@link Hashing#sha512} are designed to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/searchResults.jsp

    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    						<li class="list-group-item text-uppercase"><la:message
    								key="labels.facet_label_title" /></li>
    						<c:forEach var="countEntry" items="${fieldData.valueCountMap}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top