Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 382 for DST (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeInt2(fid, 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)
  3. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            byte[] dst = new byte[2];
            int written = instance.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written, "writeParameterWordsWireFormat should write exactly 2 bytes");
            // SMBUtil.writeInt2 writes the low byte first (little‑endian)
            assertEquals((byte) (TEST_SID & 0xFF), dst[0]);
            assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[1]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Name.java

            for (; i < 15; i++) {
                dst[dstIndex + 2 * i + 1] = (byte) 0x43;
                dst[dstIndex + 2 * i + 2] = (byte) 0x41;
            }
            dst[dstIndex + TYPE_OFFSET] = (byte) (((this.hexCode & 0xF0) >> 4) + 0x41);
            dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((this.hexCode & 0x0F) + 0x41);
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // When
            int bytesWritten = trans2GetDfsReferral.writeSetupWireFormat(dst, dstIndex);
    
            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeInt2(searchAttributes, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

            setupCount = 2;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            dst[dstIndex++] = (byte) 0x00; // no FID
            dst[dstIndex++] = (byte) 0x00;
            return 4;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
            byte[] dst = new byte[100];
    
            // Act & Assert
            assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 0));
            assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 50));
            assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 99));
        }
    
        @Test
        void readRDataWireFormat_shouldAlwaysReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K 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