Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for byteCount (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        streamId: Int,
        byteCount: Long,
      ) {
        var byteCount = byteCount
        while (byteCount > 0L) {
          val length = minOf(maxFrameSize.toLong(), byteCount)
          byteCount -= length
          frameHeader(
            streamId = streamId,
            length = length.toInt(),
            type = TYPE_CONTINUATION,
            flags = if (byteCount == 0L) FLAG_END_HEADERS else 0,
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte)( wordCount & 0xFF );
    
            byteCount = writeBytesWireFormat( dst, dstIndex + 2 );
            dst[dstIndex++] = (byte)( byteCount & 0xFF );
            dst[dstIndex++] = (byte)(( byteCount >> 8 ) & 0xFF );
            dstIndex += byteCount;
    
            /* Normally, without intervention everything would batch
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          }
        }
    
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          require(byteCount >= 0L) { "byteCount < 0: $byteCount" }
          check(!closed) { "closed" }
          if (bytesRemaining == 0L) return -1
    
          val read = super.read(sink, minOf(bytesRemaining, byteCount))
          if (read == -1L) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                bufferIndex += wordCount * 2;
            }
    
            byteCount = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    
            if( byteCount != 0 ) {
                int n;
                if(( n = readBytesWireFormat( buffer, bufferIndex )) != byteCount ) {
                    if( log.level >= 5 ) {
                        log.println( "byteCount=" + byteCount +
                                " but readBytesWireFormat returned " + n );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Response.kt

      fun trailers(): Headers = trailersFn()
    
      /**
       * Peeks up to [byteCount] bytes from the response body and returns them as a new response
       * body. If fewer than [byteCount] bytes are in the response body, the full response body is
       * returned. If more than [byteCount] bytes are in the response body, the returned value
       * will be truncated to [byteCount] bytes.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      fun writeData(
        streamId: Int,
        outFinished: Boolean,
        buffer: Buffer?,
        byteCount: Long,
      ) {
        // Empty data frames are not flow-controlled.
        if (byteCount == 0L) {
          writer.data(outFinished, streamId, buffer, 0)
          return
        }
    
        var byteCount = byteCount
        while (byteCount > 0L) {
          var toWrite: Int
          this.withLock {
            try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            this.wordCount /= 2;
            dst[ start ] = (byte) ( this.wordCount & 0xFF );
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[ dstIndex++ ] = (byte) ( this.byteCount & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( this.byteCount >> 8 ) & 0xFF );
            dstIndex += this.byteCount;
    
            /*
             * Normally, without intervention everything would batch
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

            result.writeDecimalLong(xy - 80L)
          }
        }
        while (byteCount < limit) {
          result.writeByte(dot)
          result.writeDecimalLong(readVariableLengthLong())
        }
        return result.readUtf8()
      }
    
      fun readRelativeObjectIdentifier(): String {
        val result = Buffer()
        val dot = '.'.code.toByte().toInt()
        while (byteCount < limit) {
          if (result.size > 0) {
            result.writeByte(dot)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            this.byteCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            if ( this.byteCount != 0 ) {
                int n;
                if ( ( n = readBytesWireFormat(buffer, bufferIndex) ) != this.byteCount ) {
                    if ( log.isTraceEnabled() ) {
                        log.trace("byteCount=" + this.byteCount + " but readBytesWireFormat returned " + n);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                bufferIndex += this.server.guid.length;
                this.server.oemDomainName = new String();
    
                if ( this.byteCount > 16 ) {
                    // have initial spnego token
                    this.server.encryptionKeyLength = this.byteCount - 16;
                    this.server.encryptionKey = new byte[this.server.encryptionKeyLength];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
Back to top