- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getNextEntryOffset (0.16 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
void testDefaultConstructor() { assertNotNull(notifyInfo); assertEquals(0, notifyInfo.getAction()); assertNull(notifyInfo.getFileName()); assertEquals(0, notifyInfo.getNextEntryOffset()); } @Test @DisplayName("Test constructor with buffer decodes correctly") void testConstructorWithBuffer() throws IOException { // Create test buffer with notification 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) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
*/ if (lastNameBufferIndex >= bufferIndex && (e.getNextEntryOffset() == 0 || lastNameBufferIndex < bufferIndex + e.getNextEntryOffset())) { this.lastName = e.getFilename(); this.resumeKey = e.getFileIndex(); } bufferIndex += e.getNextEntryOffset(); } setResults(results); /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedEndOfFile, fileBothDirectoryInfo.length()); } @Test @DisplayName("Test getNextEntryOffset returns correct value") void testGetNextEntryOffset() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); while (i.getNextEntryOffset() > 0) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
bufferIndex += i.decode(buffer, bufferOffset, len); this.notifyInformation.add(i); while (i.getNextEntryOffset() > 0 && bufferIndex < bufferOffset + len) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
public String getFileName() { return this.fileName; } /** * Gets the offset to the next entry. * * @return the next entry offset in bytes */ public int getNextEntryOffset() { return this.nextEntryOffset; } /** * Constructs a file notify information from the given buffer. * * @param buffer the buffer containing the notification data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
public long length() { return this.endOfFile; } /** * Gets the offset to the next entry. * * @return the next entry offset in bytes */ public int getNextEntryOffset() { return this.nextEntryOffset; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)