Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for getResult (0.04 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. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. 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)
  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/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.numEntries = numEntries;
        }
    
        /**
         * Gets the file entry results from the response
         * @return the results
         */
        public final FileEntry[] getResults() {
            return this.results;
        }
    
        /**
         * Sets the file entry results for the response
         * @param results
         *            the results to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. 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)
Back to top