Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            final int start = dstIndex;
            SMBUtil.writeInt2(32, dst, dstIndex);
            SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            final int start = dstIndex;
    
            writeInt2(fid, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset, dst, dstIndex);
            dstIndex += 4;
            writeInt2(maxCount, dst, dstIndex);
            dstIndex += 2;
            writeInt2(minCount, dst, dstIndex);
            dstIndex += 2;
            writeInt4(openTimeout, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            SMBUtil.writeInt4(this.impersonationLevel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.smbCreateFlags, dst, dstIndex);
            dstIndex += 8;
            dstIndex += 8; // Reserved
    
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileAttributes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                @Override
                int writeSetupWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
                @Override
                int writeParametersWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
                @Override
                int writeDataWireFormat(byte[] dst, int dstIndex) {
                    return 0;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

            writeInt2(flags, dst, dstIndex);
            dstIndex += 2;
            writeInt2(informationLevel, dst, dstIndex);
            dstIndex += 2;
            writeInt4(searchStorageType, dst, dstIndex);
            dstIndex += 4;
            dstIndex += writeString(path + wildcard, 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
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java

        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComRename.java

            writeInt2(searchAttributes, dst, dstIndex);
            return 2;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(oldFileName, dst, dstIndex);
            dst[dstIndex++] = (byte) 0x04;
            if (useUnicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top