Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NextEntryOffset (0.1 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

                // nothing to do
                return 0;
            }
            final int start = bufferIndex;
    
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if (this.nextEntryOffset % 4 != 0) {
                throw new SMBProtocolDecodingException("Non aligned nextEntryOffset");
            }
    
            this.action = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                 */
    
                if (lastNameBufferIndex >= bufferIndex && (e.nextEntryOffset == 0 || lastNameBufferIndex < bufferIndex + e.nextEntryOffset)) {
                    lastName = e.filename;
                    resumeKey = e.fileIndex;
                }
    
                bufferIndex += e.nextEntryOffset;
            }
    
            /* last nextEntryOffset for NT 4(but not 98) is 0 so we must
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                final int nextEntryOffset = cur.getNextEntryOffset();
                if (nextEntryOffset <= 0) {
                    break;
                }
                bufferIndex += nextEntryOffset;
            } while (bufferIndex < bufferOffset + bufferLength);
            this.results = infos.toArray(new FileEntry[infos.size()]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        public int getNextEntryOffset() {
            return this.nextEntryOffset;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.extFileAttributes = SmbFile.ATTR_READONLY;
            info.fileNameLength = 8;
            info.eaSize = 0;
            info.shortNameLength = 8;
    
            String expected = "SmbFindFileBothDirectoryInfo[" + "nextEntryOffset=" + info.nextEntryOffset + ",fileIndex=" + info.fileIndex
                    + ",creationTime=" + new Date(info.creationTime) + ",lastAccessTime=" + new Date(info.lastAccessTime) + ",lastWriteTime="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                    this.resumeKey = e.getFileIndex();
                }
    
                bufferIndex += e.getNextEntryOffset();
            }
    
            setResults(results);
    
            /*
             * last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
            return getDataCount();
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top