Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 660 for buffered (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
      val peeked = body.source().peek()
      val buffer = Buffer()
      peeked.request(byteCount)
      buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
      return buffer.asResponseBody(body.contentType(), buffer.size)
    }
    
    fun Response.commonNewBuilder(): Response.Builder = Response.Builder(this)
    
    val Response.commonIsRedirect: Boolean
      get() =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            info.allocationSize = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
            info.endOfFile = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
            info.numberOfLinks = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            info.deletePending = ( buffer[bufferIndex++] & 0xFF ) > 0;
            info.directory = ( buffer[bufferIndex++] & 0xFF ) > 0;
            this.info = info;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            bufferIndex += 2;
            this.parameterOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.parameterDisplacement = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
    
            this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
            if ( this.bufDataStart == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

        }
    
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Artifact Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

            for (b in data.toByteArray()) {
              assertThat(b).isEqualTo(2.toByte())
            }
          }
        }
      }
    
      private fun gzip(data: ByteArray): Buffer {
        val buffer = Buffer()
        GzipSink(buffer).buffer().write(data).close()
        return buffer
      }
    
      /** Create a sufficiently large header set to overflow INITIAL_MAX_FRAME_SIZE bytes.  */
      private fun largeHeaders(): List<Header> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/list.md

    | `minio_node_mem_available_max` | Available memory on the node (max).       |
    | `minio_node_mem_buffers`       | Buffers memory on the node.               |
    | `minio_node_mem_buffers_avg`   | Buffers memory on the node (avg).         |
    | `minio_node_mem_buffers_max`   | Buffers memory on the node (max).         |
    | `minio_node_mem_cache`         | Cache memory on the node.                 |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         */
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = this.headerStart = bufferIndex;
    
            bufferIndex += readHeaderWireFormat(buffer, bufferIndex);
            bufferIndex += readAndXWireFormat(buffer, bufferIndex);
    
            int len = bufferIndex - start;
            this.length = len;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
Back to top