Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,796 for size0 (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        override fun close() {
          if (closed) return
          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
         * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}).
         * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}).
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. internal/s3select/jstream/README.md

    -h | display help dialog
    
    ## Benchmarks
    
    Obligatory benchmarks performed on files with arrays of objects, where the decoded objects are to be extracted.
    
    Two file sizes are used -- regular (1.6mb, 1000 objects) and large (128mb, 100000 objects)
    
    input size | lib | MB/s | Allocated
    --- | --- | --- | ---
    regular | standard | 97 | 3.6MB
    regular | jstream | 175 | 2.1MB
    large | standard | 92 | 305MB
    large | jstream | 404 | 69MB
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        @CanIgnoreReturnValue
        public Builder addAll(LongStream stream) {
          Spliterator.OfLong spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((LongConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

         */
        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

            sb.append(o);
          }
        }
        return sb.append(']').toString();
      }
    
      /** Returns best-effort-sized StringBuilder based on the given collection size. */
      static StringBuilder newStringBuilderForCollection(int size) {
        checkNonnegative(size, "size");
        return new StringBuilder((int) min(size * 8L, Ints.MAX_POWER_OF_TWO));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
      @get:JvmName("size")
      val size: Int
        get() = parts.size
    
      fun part(index: Int): Part = parts[index]
    
      override fun isOneShot(): Boolean {
        return parts.any { it.body.isOneShot() }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. internal/bpool/bpool.go

    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
    	if capwidth <= 0 {
    		panic("total buffer capacity must be provided")
    	}
    	if capwidth < 64 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteStreams.java

        // When called at high frequency, boxing size generates too much garbage,
        // so avoid doing that if we can.
        if (size < 0) {
          throw new IllegalArgumentException(String.format("Invalid size: %s", size));
        }
        return newDataOutput(new ByteArrayOutputStream(size));
      }
    
      /**
       * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

        columnKeyToIndex = table.columnKeyToIndex;
        @SuppressWarnings("unchecked")
        @Nullable
        V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = copy;
        for (int i = 0; i < rowList.size(); i++) {
          arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length);
        }
      }
    
      private abstract static class ArrayMap<K, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top