Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for heddle (0.14 sec)

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

                return barChild;
              }
            };
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertSame(barChild, bar);
      }
    
      /*
       * Android does not handle this stack overflow gracefully... though somehow some other
       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // alone
        assertNull(segment.removeEntryFromChain(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeEntryFromChain(entryTwo, entryTwo));
    
        // middle
        ReferenceEntry<Object, Object> newFirst = segment.removeEntryFromChain(entryThree, entryTwo);
        assertSame(keyThree, newFirst.getKey());
        assertSame(valueThree, newFirst.getValueReference().get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // alone
        assertNull(segment.removeEntryFromChain(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeEntryFromChain(entryTwo, entryTwo));
    
        // middle
        ReferenceEntry<Object, Object> newFirst = segment.removeEntryFromChain(entryThree, entryTwo);
        assertSame(keyThree, newFirst.getKey());
        assertSame(valueThree, newFirst.getValueReference().get());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAllAtIndex_middle() {
        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    
      /** @return an array of the proper size with {@code null} as the key of the middle element. */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        }
        expectUnchanged();
        expectMissing(e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAtIndex_middle() {
        getList().add(getNumElements() / 2, e3());
        expectAdded(getNumElements() / 2, e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/IntMath.java

          case (-2):
            if (k < Integer.SIZE) {
              return ((k & 1) == 0) ? (1 << k) : -(1 << k);
            } else {
              return 0;
            }
          default:
            // continue below to handle the general case
        }
        for (int accum = 1; ; k >>= 1) {
          switch (k) {
            case 0:
              return accum;
            case 1:
              return b * accum;
            default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
     * literals -- there is no blocking DNS penalty for a malformed string.
     *
     * <p>When dealing with {@link Inet4Address} and {@link Inet6Address} objects as byte arrays (vis.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     * class. For example, testing that {@code nodes()} method returns the set of the nodes in the
     * graph. The following test cases are left for the subclasses to handle:
     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed or undirected.
     *   <li>Test cases related to the specific implementation of the {@link Graph} interface.
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top