Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for handling (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              SetFuture<?> setFuture = (SetFuture<?>) task;
              // We unwind setFuture specifically to avoid StackOverflowErrors in the case of long
              // chains of SetFutures
              // Handling this special case is important because there is no way to pass an executor to
              // setFuture, so a user couldn't break the chain by doing this themselves.  It is also
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Converter.java

      /** Constructor for use by subclasses. */
      protected Converter() {
        this(true);
      }
    
      /** Constructor used only by {@code LegacyConverter} to suspend automatic null-handling. */
      Converter(boolean handleNullAutomatically) {
        this.handleNullAutomatically = handleNullAutomatically;
      }
    
      // SPI methods (what subclasses must implement)
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/Ordering.java

      //     Ordering.<String>natural().lexicographical();
      public <S extends T> Ordering<Iterable<S>> lexicographical() {
        /*
         * Note that technically the returned ordering should be capable of
         * handling not just {@code Iterable<S>} instances, but also any {@code
         * Iterable<? extends S>}. However, the need for this comes up so rarely
         * that it doesn't justify making everyone else deal with the very ugly
         * wildcard.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /** The concurrency level. */
      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for handling entries and segments in a type-safe and efficient manner. */
      final transient InternalEntryHelper<K, V, E, S> entryHelper;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * a checked exception. This makes {@code Future} more suitable for lightweight, fast-running
       * tasks that, barring bugs in the code, will not fail. This gives it exception-handling behavior
       * similar to that of {@code ForkJoinTask.join}.
       *
       * <p>Exceptions from {@code Future.get} are treated as follows:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
       * forever in the case of failure.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // threads
    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)
  7. guava-tests/test/com/google/common/io/MoreFilesTest.java

          MoreFiles.asCharSink(fooPath, UTF_8).write("foo");
    
          Path fooSymlink = fs.getPath("symlink");
          Files.createSymbolicLink(fooSymlink, fooPath);
    
          Path fooHardlink = fs.getPath("hardlink");
          Files.createLink(fooHardlink, fooPath);
    
          assertThat(MoreFiles.equal(fooPath, fooSymlink)).isTrue();
          assertThat(MoreFiles.equal(fooPath, fooHardlink)).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
       * forever in the case of failure.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // threads
    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)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 32.0.0
       */
      public static final String OBSERVE_BROWSING_TOPICS = "Observe-Browsing-Topics";
    
      /**
       * The HTTP <a
       * href="https://wicg.github.io/turtledove/#handling-direct-from-seller-signals">{@code
       * Sec-Ad-Auction-Fetch}</a> header field name.
       *
       * @since 33.0.0
       */
      public static final String SEC_AD_AUCTION_FETCH = "Sec-Ad-Auction-Fetch";
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top