Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 233 for writeInt8 (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            int idx = 0;
            SMBUtil.writeInt2(minVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(maxVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(reserved, data, idx);
            idx += 2;
            SMBUtil.writeInt2(creditsRequested, data, idx);
            idx += 2;
            SMBUtil.writeInt4(preferredSendSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxReceiveSize, data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            dataOffset += pad;
    
            writeInt2(fid, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset, dst, dstIndex);
            dstIndex += 4;
            for (int i = 0; i < 4; i++) {
                dst[dstIndex++] = (byte) 0xFF;
            }
            writeInt2(writeMode, dst, dstIndex);
            dstIndex += 2;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt2(0x1234, src, 0);
            src[2] = (byte) (0x80 | (NameServicePacket.QUERY << 3) | 0x04 | 0x02 | 0x01);
            src[3] = (byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR);
            NameServicePacket.writeInt2(1, src, 4);
            NameServicePacket.writeInt2(2, src, 6);
            NameServicePacket.writeInt2(3, src, 8);
            NameServicePacket.writeInt2(4, src, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
            // Read the data
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // status (2 bytes)
            SMBUtil.writeInt2(0, buffer, bufferIndex);
            bufferIndex += 2;
            // converter (2 bytes)
            SMBUtil.writeInt2(100, buffer, bufferIndex);
            bufferIndex += 2;
            // numEntries (2 bytes)
            SMBUtil.writeInt2(3, buffer, bufferIndex);
            bufferIndex += 2;
            // totalAvailableEntries (2 bytes)
            SMBUtil.writeInt2(5, buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            final int start = dstIndex;
    
            writeInt2(sid, dst, dstIndex);
            dstIndex += 2;
            writeInt2(Trans2FindFirst2.LIST_COUNT, dst, dstIndex);
            dstIndex += 2;
            writeInt2(informationLevel, dst, dstIndex);
            dstIndex += 2;
            writeInt4(resumeKey, dst, dstIndex);
            dstIndex += 4;
            writeInt2(flags, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            writeInt2(session.transport.snd_buf_size, dst, dstIndex);
            dstIndex += 2;
            writeInt2(session.transport.maxMpxCount, dst, dstIndex);
            dstIndex += 2;
            writeInt2(SmbConstants.VC_NUMBER, dst, dstIndex);
            dstIndex += 2;
            writeInt4(sessionKey, dst, dstIndex);
            dstIndex += 4;
            if (blob != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

        static final int MAX_MESSAGE_SIZE = 0x0001FFFF;
        static final int HEADER_LENGTH = 4;
    
        static void writeInt2(final int val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) (val >> 8 & 0xFF);
            dstIndex++;
            dst[dstIndex] = (byte) (val & 0xFF);
        }
    
        static void writeInt4(final int val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) (val >> 24 & 0xFF);
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top