Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getResults (0.08 sec)

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

                    this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries();
            while (this.ridx < n) {
                final FileEntry itm = this.response.getResults()[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
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

                this.result = r;
            }
        }
    
        @Test
        void testGetResult() {
            ResultMsg m = new ResultMsg();
            assertNull(m.getResult());
            m.setResult(0xDEAD);
            DcerpcException e = m.getResult();
            assertEquals(0xDEAD, e.getErrorCode());
        }
    
        @Test
        void testEncodeHeaderAndDecodeHeader() throws Exception {
            TestMessage m = new TestMessage();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenTargTest.java

            byte[] bytes = original.toByteArray();
            NegTokenTarg roundTrip = new NegTokenTarg(bytes);
    
            // Assert – all getters match the original values
            assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
            assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");
            assertArrayEquals(tokenArray, roundTrip.getMechanismToken(), "mechanism token should roundtrip");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top