Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 93 for getResult (0.92 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            assertEquals(1, pex.getResults().size());
            assertNotNull(pex.getResults().get(0).getPomFile());
            assertTrue(pex.getResults().get(0).getProblems().size() > 0);
            ProjectBuildingResultWithProblemMessageAssert.assertThat(
                            pex.getResults().get(0))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * it.
         */
        setResult(transformResult);
      }
    
      /** Template method for subtypes to actually run the transform. */
      @ForOverride
      @ParametricNullness
      abstract T doTransform(F function, @ParametricNullness I result) throws Exception;
    
      /** Template method for subtypes to actually set the result. */
      @ForOverride
      abstract void setResult(@ParametricNullness T result);
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top