Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 232 for readInt4 (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            dataCompactionMode = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            dataLength = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            available = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            int head = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            status = readInt2(buffer, bufferIndex);
            return 6;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

        @Override
        protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            this.available = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            return 6;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

            final int start = bufferIndex;
            final int nciphers = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.ciphers = new int[nciphers];
            for (int i = 0; i < nciphers; i++) {
                this.ciphers[i] = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
            }
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

            final int start = bufferIndex;
            final int nalgos = SMBUtil.readInt2(buffer, bufferIndex);
            final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
    
            this.hashAlgos = new int[nalgos];
            for (int i = 0; i < nalgos; i++) {
                this.hashAlgos[i] = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(0x0001, SMBUtil.readInt2(buffer, 0));
    
            // Test with FS_SIZE_INFO (3)
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
            buffer = new byte[10];
            trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
            assertEquals(0x0103, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  // 1NNNNNNN
                  val index = readInt(b, PREFIX_7_BITS)
                  readIndexedHeader(index - 1)
                }
                b == 0x40 -> {
                  // 01000000
                  readLiteralHeaderWithIncrementalIndexingNewName()
                }
                b and 0x40 == 0x40 -> {
                  // 01NNNNNN
                  val index = readInt(b, PREFIX_6_BITS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Serialization.java

       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
      static int readCount(ObjectInputStream stream) throws IOException {
        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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian
       * byte order.
       *
       * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readInt() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0);
    
            // Verify
            assertEquals(8, bytesEncoded);
            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0));
        }
    
        @Test
        @DisplayName("Test encode with buffer offset")
        void testEncodeWithBufferOffset() throws SMBProtocolDecodingException {
            // First decode to set internal state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top