Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for qsub (0.14 sec)

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

        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    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/reflect/TypeTokenTest.java

        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
        assertEquals(Outer.Sub.class, subtype.getRawType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(byte[] array, byte[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Floats.java

       *
       * <p>Note that this always returns {@code -1} when {@code target} contains {@code NaN}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(float[] array, float[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Sub.class,
                new Function<Sub, Sub>() {
                  @Override
                  public Sub apply(Sub sub) {
                    return new ForwardingSub(sub);
                  }
                });
      }
    
      interface Base {
        CharSequence getId();
      }
    
      interface Sub extends Base {
        @Override
        String getId();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<List<String>> compound = allAsList(future1, future2);
        // There was a bug where the event listener for the combined future would
        // result in the sub-futures being cancelled without being interrupted.
        ListenableFuture<List<String>> otherCompound = allAsList(future1, future2);
    
        assertTrue(compound.cancel(true));
        assertTrue(future1.isCancelled());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

              .isEqualTo(returnType);
        }
        return sub;
      }
    
      /**
       * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not
       * hold.
       */
      final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

    /**
     * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations.
     * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well
     * as sub-suites for testing the {@code CharSink} view in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        checkNotNull(string);
        int end = string.length();
        int index = nextEscapeIndex(string, 0, end);
        return index == end ? string : escapeSlow(string, index);
      }
    
      /**
       * Scans a sub-sequence of characters from a given {@link CharSequence}, returning the index of
       * the next character that requires escaping.
       *
       * <p><b>Note:</b> When implementing an escaper, it is a good idea to override this method for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @SuppressWarnings("unchecked")
      private RangeMap<K, V> emptySubRangeMap() {
        return (RangeMap<K, V>) (RangeMap<?, ?>) EMPTY_SUB_RANGE_MAP;
      }
    
      @SuppressWarnings("ConstantCaseForConstants") // This RangeMap is immutable.
      private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
          new RangeMap<Comparable<?>, Object>() {
            @Override
            @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
Back to top