Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for ve (0.24 sec)

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

          if (!firstTimeSeen) {
            /*
             * We've seen this, so we've seen its causes, too. No need to re-add them. (There's one case
             * where this isn't true, but we ignore it: If we record an exception, then someone calls
             * initCause() on it, and then we examine it again, we'll conclude that we've seen the whole
             * chain before when in fact we haven't. But this should be rare.)
    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)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

       * draining it is flipped (undrained bytes between position and limit).
       */
      private ByteBuffer byteBuffer;
    
      /** Whether we've finished reading the reader. */
      private boolean endOfInput;
      /** Whether we're copying encoded bytes to the caller's buffer. */
      private boolean draining;
      /** Whether we've successfully flushed the encoder. */
      private boolean doneFlushing;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * used). We could probably fix the problem by adding dummy methods to that class, but that is
     * starting to sound harder than taking the superclass approach, which I've been coming to like,
     * anyway, since it doesn't require us to declare dummy methods (though occasionally constructors)
     * and make types non-final.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer N4 = 4;
      static final Integer N5 = 5;
      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
    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)
  5. android/guava/src/com/google/common/collect/TopKSelector.java

       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
      private int bufferSize;
    
      /**
       * The largest of the lowest k elements we've seen so far relative to this comparator. If
       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      @CheckForNull private T threshold;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            System.out.printf("XXX: %s %s%n", url, e);
          } finally {
            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
        // Skip hosts that we've visited many times.
        AtomicInteger hostnameCount = new AtomicInteger();
        AtomicInteger previous = hostnames.putIfAbsent(url.host(), hostnameCount);
        if (previous != null) hostnameCount = previous;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            temp.deleteOnExit();
          }
          try {
            FileOutputStream transfer = new FileOutputStream(temp);
            transfer.write(memory.getBuffer(), 0, memory.getCount());
            transfer.flush();
            // We've successfully transferred the data; switch to writing to file
            out = transfer;
          } catch (IOException e) {
            temp.delete();
            throw e;
          }
    
          file = temp;
          memory = null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

    package com.google.common.graph;
    
    import com.google.common.annotations.Beta;
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 14 19:31:40 GMT 2024
    - 707 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        protected char[] escape(char c) {
          return c < replaceLength ? replacements[c] : null;
        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
              if (response.request().header("Authorization") != null) {
                return null; // Give up, we've already attempted to authenticate.
              }
    
              System.out.println("Authenticating for response: " + response);
              System.out.println("Challenges: " + response.challenges());
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 1.9K bytes
    - Viewed (0)
Back to top