Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for getResults (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults() {
            final FileEntry[] results = this.response.getResults();
            if (results == null) {
                return new FileEntry[0];
            }
            return results;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * of all requests that were attempted, including both successful and failed operations.
     * <p>
     * The exception provides access to detailed results through {@link #getResults()}, allowing
     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                doClose();
            }
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults() {
            return this.response.getResults();
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#fetchMore()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

        @Nonnull
        Map<? extends ArtifactCoordinates, ResultItem> getResults();
    
        /**
         * Retrieves the resolution result for a specific set of artifact coordinates.
         *
         * @param coordinates The {@link ArtifactCoordinates} identifying the artifact.
         * @return The corresponding {@link ResultItem}, or {@code null} if no result exists.
         */
        default ResultItem getResult(ArtifactCoordinates coordinates) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. 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)
Back to top