Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for getResults (0.59 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @return the results
         */
        public final FileEntry[] getResults() {
            return this.results;
        }
    
        /**
         * Sets the file entry results for the response
         * @param results
         *            the results to set
         */
        protected final void setResults(final FileEntry[] results) {
            this.results = results;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            th.send(req, resp);
            if (resp.getStatus() != WinError.ERROR_SUCCESS) {
                throw new SmbException(resp.getStatus(), true);
            }
    
            return resp.getResults();
        }
    
        static CloseableIterator<SmbResource> doShareEnum(final SmbFile parent, final String wildcard, final int searchAttributes,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    return true;
                }
                // No more pages
                this.done = true;
                return false;
            }
    
            @Override
            protected FileEntry[] getResults() {
                // Return current page if valid
                if (staticPages != null && pageIdx >= 0 && pageIdx < staticPages.size()) {
                    return staticPages.get(pageIdx);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        class ResultHandlingTests {
    
            @Test
            @DisplayName("getResult should return null when result is 0")
            void testGetResultSuccess() throws Exception {
                // Given
                setResultField(bind, 0);
    
                // When
                DcerpcException result = bind.getResult();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. 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)
Back to top