Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 382 for DST (0.04 sec)

  1. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0);
            dstIndex += 8; // 7 Reserved
            dstIndex += 8; // RootDirectory = 0
    
            final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            return resp;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            if (this.digest != null) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            } else {
                log.trace("SmbComClose without a digest");
            }
            return 6;
    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/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
        /**
         * Writes setup data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                    "parameterOffset should be written correctly");
            assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly");
            assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
            assertEquals(smbComNtTransaction.setupCount, dst[35], "setupCount should be written correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    func (m *metaCacheEntriesSorted) filterObjectsOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if !o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterPrefixesOnly will remove objects.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterPrefixesOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if o.isDir() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

            this.sid = sid;
            command = SMB_COM_FIND_CLOSE2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            writeInt2(sid, dst, dstIndex);
            return 2;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // Verify max setup count is written at position 0
            assertEquals(2, dst[0]);
    
            // Verify reserved bytes
            assertEquals(0, dst[1]);
            assertEquals(0, dst[2]);
    
            // Verify total parameter count (4 bytes at position 3)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
            dstIndex += 8;
    
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top