Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isEndOfSearch (0.59 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
        @Test
        void testIsEndOfSearch() {
            // Test the isEndOfSearch method
            // By default, it should be false
            assertFalse(response.isEndOfSearch());
        }
    
        @Test
        void testGetNumEntries() {
            // Test the getNumEntries method
            // By default, it should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

         */
        public final int getSid() {
            return this.sid;
        }
    
        /**
         * Checks if this is the end of the search results.
         *
         * @return the isEndOfSearch
         */
        public final boolean isEndOfSearch() {
            return this.isEndOfSearch;
        }
    
        /**
         * Gets the last file name in the response.
         *
         * @return the lastName
         */
        public final String getLastName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                c = "Trans2FindFirst2Response[";
            } else {
                c = "Trans2FindNext2Response[";
            }
            return (c + super.toString() + ",sid=" + sid + ",searchCount=" + numEntries + ",isEndOfSearch=" + isEndOfSearch + ",eaErrorOffset="
                    + eaErrorOffset + ",lastNameOffset=" + lastNameOffset + ",lastName=" + lastName + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] buffer = new byte[10];
            // sid = 1
            writeInt2(1, buffer, 0);
            // numEntries = 2
            writeInt2(2, buffer, 2);
            // isEndOfSearch = true
            buffer[4] = 0x01;
            buffer[5] = 0x00;
            // eaErrorOffset = 3
            writeInt2(3, buffer, 6);
            // lastNameOffset = 4
            writeInt2(4, buffer, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", new FileEntry[0]);
                setField(resp, Trans2FindFirst2Response.class, "isEndOfSearch", true);
                setField(resp, Trans2FindFirst2Response.class, "sid", 9);
                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "status", 0);
                resp.received();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#isDone()
         */
        @Override
        protected boolean isDone() {
            return this.response.isEndOfSearch();
        }
    
        /**
         * @throws CIFSException
         */
        @Override
        protected void doCloseInternal() throws CIFSException {
            try {
                @SuppressWarnings("resource")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                            list.add(f);
                        } else {
                            list.add(name);
                        }
                    }
                }
    
                if (resp.isEndOfSearch || resp.numEntries == 0) {
                    break;
                }
    
                req.reset(resp.resumeKey, resp.lastName);
                resp.reset();
                send(req, resp);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top