- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for getResults (0.12 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
// Test with null entries response.setResults(null); assertNull(response.getResults()); // Test with empty entries FileEntry[] emptyEntries = new FileEntry[0]; response.setResults(emptyEntries); assertSame(emptyEntries, response.getResults()); assertEquals(0, response.getResults().length); // Test with multiple entries
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
field.setAccessible(true); field.setInt(response, value); } private FileEntry[] getResults(NetShareEnumResponse response) throws Exception { Method method = getSuperclassMethod(response.getClass(), "getResults"); method.setAccessible(true); return (FileEntry[]) method.invoke(response); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertNull(response.getResults()); // Should be null before decoding } @Test @DisplayName("Test getResults returns null initially") void testGetResultsInitiallyNull() { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); assertNull(response.getResults()); } @Test @DisplayName("Test getResults returns decoded file entries")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
field.setAccessible(true); field.setInt(response, value); } private FileEntry[] getResults(NetServerEnum2Response response) throws Exception { Method method = getSuperclassMethod(response.getClass(), "getResults"); method.setAccessible(true); return (FileEntry[]) method.invoke(response); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// By default, it should be 0 assertEquals(0, response.getNumEntries()); } @Test void testGetResults() { // Test the getResults method // By default, it should return null until results are set assertNull(response.getResults()); } @Test void testGetLastName() { // Test the getLastName method // By default, it should return null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Test numEntries property - getNumEntries() is public assertEquals(0, response.getNumEntries()); // Test results property (should be null initially) - getResults() is public assertNull(response.getResults()); } @Test @DisplayName("Test buffer management") void testBufferManagement() { // Test buffer setting and releasing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
* @throws CIFSException if an error occurs during enumeration */ protected final FileEntry advance(final boolean last) throws CIFSException { final FileEntry[] results = getResults(); while (this.ridx < results.length) { final FileEntry itm = results[this.ridx]; this.ridx++; if (filter(itm)) { return itm; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
this.expectInfoClass = expectInfoClass; } /** * Gets the directory entries returned by the query * * @return the fileInformation */ public FileEntry[] getResults() { return this.results; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0)