Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for whale (0.27 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

        long count = 0L;
        while (iterator.hasNext()) {
          iterator.next();
          count++;
        }
        return Ints.saturatedCast(count);
      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @CheckForNull Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

         * performs blocking reads for the incoming bytes.
         */
        @Throws(IOException::class)
        internal fun receive(
          source: BufferedSource,
          byteCount: Long,
        ) {
          lock.assertNotHeld()
    
          var remainingByteCount = byteCount
    
          while (remainingByteCount > 0L) {
            val finished: Boolean
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private void removeWaiter(Waiter node) {
        node.thread = null; // mark as 'deleted'
        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        if (byteCount == 0L) {
          writer.data(outFinished, streamId, buffer, 0)
          return
        }
    
        var byteCount = byteCount
        while (byteCount > 0L) {
          var toWrite: Int
          this.withLock {
            try {
              while (writeBytesTotal >= writeBytesMaximum) {
                // Before blocking, confirm that the stream we're writing is still open. It's possible
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. manifests/charts/base/crds/crd-all.gen.yaml

                                    http1MaxPendingRequests:
                                      description: Maximum number of requests that will
                                        be queued while waiting for a ready connection
                                        pool connection.
                                      format: int32
                                      type: integer
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          scheduleOpener(connection.route.address)
          true
        } else {
          scheduleCloser()
          false
        }
      }
    
      fun evictAll() {
        val i = connections.iterator()
        while (i.hasNext()) {
          val connection = i.next()
          val socketToClose =
            connection.withLock {
              if (connection.calls.isEmpty()) {
                i.remove()
                connection.noNewExchanges = true
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. .bazelrc

    # then tackle this issue again.
    #
    # TODO: Remove the following two lines once TF doesn't depend on Bazel wrapping
    # all library archives in -whole_archive -no_whole_archive.
    build --noincompatible_remove_legacy_whole_archive
    build --features=-force_no_whole_archive
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --enable_platform_specific_config
    
    # Enable XLA support by default.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  10. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          }
        },
        NO_SPLIT_TRY_ADVANCE {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
        MAXIMUM_SPLIT {
          @Override
          <E extends @Nullable Object> void forEach(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top