Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for matching (0.23 sec)

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

                    return "value 3";
                  }
                },
                executor);
        Waiter step4Waiter = new Waiter();
        ClosingFuture<String> step4 =
            step3.catching(
                CancellationException.class,
                step4Waiter.waitFor(
                    new ClosingFunction<CancellationException, String>() {
                      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        return UnsignedBytes.LexicographicalComparatorHolder.class.getName() + "$UnsafeComparator";
      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED = 0x00002000;
    
        /**
         * Sent by the server to indicate that the server and client are
         * on the same machine. This implies that the server will include
         * a local security context handle in the Type 2 message, for
         * use in local authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

          return ((Collection<T>) removeFrom).removeIf(predicate);
        }
        return Iterators.removeIf(removeFrom.iterator(), predicate);
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
      @CheckForNull
      static <T extends @Nullable Object> T removeFirstMatching(
          Iterable<T> removeFrom, Predicate<? super T> predicate) {
        checkNotNull(predicate);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        builder.build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      public void testDisableCaching() {
        // Functional test: assert that CacheBuilderSpec.disableCaching()
        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
        Object key = new Object();
        Object value = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      //  is usable to java7.
      public void testToImmutableSortedSet_customComparator_java7() {
        // Note that a Collector should generally enforce consistent comparator between builders.
        // So no tests for non-matching comparator shenanigans.
        ImmutableSortedSet.Builder<String> zis =
            ImmutableSortedSet.<String>orderedBy(STRING_LENGTH).add("ccc", "bb", "ccc");
        ImmutableSortedSet.Builder<String> zat =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            checkPluginVersions(lineage, request, problems);
    
            // inheritance assembly
            Model resultModel = assembleInheritance(lineage, request, problems);
    
            // consider caching inherited model
    
            problems.setSource(resultModel);
            problems.setRootModel(resultModel);
    
            // model interpolation
            resultModel = interpolateModel(resultModel, request, problems);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
          Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a {@code Future} whose result is taken from this {@code Future} or, if this {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
Back to top