Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 382 for DST (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, 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;
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                if (setupBuffer != null && setupBuffer.length > 0) {
                    System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length);
                }
                return setupWireFormatReturn;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            dstIndex += 4;
    
            // LeaseKey (16 bytes)
            leaseKey.encode(dst, dstIndex);
            dstIndex += 16;
    
            // LeaseState (4 bytes)
            SMBUtil.writeInt4(leaseState, dst, dstIndex);
            dstIndex += 4;
    
            // LeaseDuration (8 bytes) - must be zero for acknowledgment
            SMBUtil.writeInt8(0, dst, dstIndex);
            dstIndex += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.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(informationLevel, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            // Buffer needs 26 bytes: 2+2+2+2+4+2+4+8 = 26
            byte[] dst = new byte[26];
            int result = smbComOpenAndX.writeParameterWordsWireFormat(dst, 0);
            assertEquals(26, result);
        }
    
        /**
         * Test writeBytesWireFormat method with Unicode.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex);
            dstIndex += 4;
            dst[dstIndex] = (byte) (this.deletePending ? 1 : 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

         */
        @Test
        void testWriteParameterWordsWireFormat() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            byte[] dst = new byte[0];
    
            int bytesWritten = response.writeParameterWordsWireFormat(dst, 0);
    
            // This method does nothing and should return 0.
            assertEquals(0, bytesWritten);
        }
    
        /**
         * Test the writeBytesWireFormat method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.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
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeTime(this.createTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.changeTime, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top