Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 286 for dstIndex (0.06 sec)

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

            writeInt2(subCommand & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            writeInt2(maxDataCount, dst, dstIndex);
            dstIndex += 2;
            writeInt4(serverTypes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(36, dst, dstIndex);
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) val;
            dstIndex++;
            dst[dstIndex] = (byte) (val >> 8);
        }
    
        static void writeInt4(long val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dstIndex++;
            dst[dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >> 8);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
            dst[dstIndex + 2] = (byte) (val >> 16);
            dst[dstIndex + 3] = (byte) (val >> 24);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createDisposition, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            assertEquals(expectedNumberOfLinks, SMBUtil.readInt4(destinationBuffer, dstIndex + 16));
            assertEquals(1, destinationBuffer[dstIndex + 20]); // deletePending
            assertEquals(0, destinationBuffer[dstIndex + 21]); // directory
        }
    
        @Test
        @DisplayName("Test encode and decode roundtrip")
        void testEncodeDecodeRoundtrip() throws SMBProtocolDecodingException {
            // Setup first instance with test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            dstIndex += 2;
            SMBUtil.writeInt2(this.informationLevel, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.resumeKey, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
            dstIndex += 2;
            dstIndex += writeString(this.filename, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            dstIndex += 2;
            writeInt2(informationLevel, dst, dstIndex);
            dstIndex += 2;
            writeInt4(resumeKey, dst, dstIndex);
            dstIndex += 4;
            writeInt2(flags, dst, dstIndex);
            dstIndex += 2;
            dstIndex += writeString(filename, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            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++;
            dst[dstIndex++] = (byte) (val >> 16 & 0xFF);
            dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
    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