Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 583 for reading5 (0.04 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        for (i in 0 until answerCount) {
          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	MaxSize      int64    `msg:"ms"`           // Return error if size is exceed.
    	MetadataOnly bool     `msg:"mo"`           // Read as XL meta and truncate data.
    	AbortOn404   bool     `msg:"ab"`           // Stop reading after first file not found.
    	MaxResults   int      `msg:"mr"`           // Stop after this many successful results. <= 0 means all.
    }
    
    // ReadMultipleResp contains a single response from a ReadMultipleReq.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
            SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameQueryResponse.java

                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
                this.addrEntry[this.addrIndex] = new NbtAddress(this.recordName, address, groupName, nodeType);
            } else {
                this.addrEntry[this.addrIndex] = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          ),
        )
      }
    
      @Test
      fun readSingleByteInt() {
        assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10)
        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
      fun writeSingleByteInt() {
        hpackWriter!!.writeInt(10, 31, 0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
                    data[index + i] = 0;
                }
    
                // set signed flag
                final int oldFlags = SMBUtil.readInt4(data, offset + 16);
                final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
                SMBUtil.writeInt4(flags, data, offset + 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          "timeout",
          "Read timed out",
        )
        assertThat(webSocket.close(1000, null)).isFalse()
      }
    
      /**
       * There's no read timeout when reading the first byte of a new frame. But as soon as we start
       * reading a frame we enable the read timeout. In this test we have the server returning the first
       * byte of a frame but no more frames.
       */
      @Test
      fun readTimeoutAppliesWithinFrames() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java

            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            final int start = bufferIndex;
            isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (extendedSecurity) {
                final int blobLength = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                blob = new byte[blobLength];
            }
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. docs/features/calls.md

    Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.
    
    ## Dispatch
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top