Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 572 for While (0.01 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

            position += copied;
            sourceChannel.position(position);
          } while (copied > 0 || position < sourceChannel.size());
          return position - oldPosition;
        }
    
        ByteBuffer buf = ByteBuffer.wrap(createBuffer());
        long total = 0;
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          while (buf.hasRemaining()) {
            total += to.write(buf);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            var bytesToRecover = bytesToRecover
            var entriesToEvict = 0
            if (bytesToRecover > 0) {
              // determine how many headers need to be evicted.
              var j = dynamicTable.size - 1
              while (j >= nextHeaderIndex && bytesToRecover > 0) {
                val toEvict = dynamicTable[j]!!
                bytesToRecover -= toEvict.hpackSize
                dynamicTableByteCount -= toEvict.hpackSize
                headerCount--
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        ImmutableMap.Builder<String, PublicSuffixType> builder = ImmutableMap.builder();
        int encodedLen = encoded.length();
        int idx = 0;
    
        while (idx < encodedLen) {
          idx += doParseTrieToBuilder(new ArrayDeque<>(), encoded, idx, builder);
        }
    
        return builder.buildOrThrow();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/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
          withLock {
            try {
              while (writeBytesTotal >= writeBytesMaximum) {
                // Before blocking, confirm that the stream we're writing is still open. It's possible
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/StandardTable.java

      @CanIgnoreReturnValue
      private Map<R, V> removeColumn(@Nullable Object column) {
        Map<R, V> output = new LinkedHashMap<>();
        Iterator<Entry<R, Map<C, V>>> iterator = backingMap.entrySet().iterator();
        while (iterator.hasNext()) {
          Entry<R, Map<C, V>> entry = iterator.next();
          V value = entry.getValue().remove(column);
          if (value != null) {
            output.put(entry.getKey(), value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        if (o == null) return false;
        E[] items = this.items;
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int i = takeIndex;
          int k = 0;
          while (k++ < count) {
            if (o.equals(items[i])) return true;
            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     * those implied by the returned execution delay.
     *
     * Cancellation
     * ------------
     *
     * Tasks may be canceled while they are waiting to be executed, or while they are executing.
     *
     * Canceling a task that is waiting to execute prevents that upcoming execution. Canceling a task
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String, int)} instead.
       *
       * @param string the string containing the unsigned {@code long} representation to be parsed.
       * @param radix the radix to use while parsing {@code string}
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} with
       *     the given radix, or if {@code radix} is not between {@link Character#MIN_RADIX} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * stored bytes exceeds the limit, the cache will remove entries in the background until the limit
     * is satisfied. The limit is not strict: the cache may temporarily exceed it while waiting for
     * files to be deleted. The limit does not include filesystem overhead or the cache journal so
     * space-sensitive applications should set a conservative limit.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top