Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for findFirst (0.14 sec)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
            return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst();
        }
    
        @Test
        @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")
        void testCodesArrayExistence() {
            assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        }
    
        /** Holder class for lazy initialization of the default instance */
        private static final class Holder {
            static final XmlService INSTANCE = ServiceLoader.load(XmlService.class)
                    .findFirst()
                    .orElseThrow(() -> new IllegalStateException("No XmlService implementation found"));
    
            private Holder() {}
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

        private final long maxItems;
    
        /**
         * Constructs a Trans2FindNext2 request for continuing a file search.
         *
         * @param config the configuration to use
         * @param sid the search ID from a previous FindFirst2 response
         * @param resumeKey the resume key for continuing the search
         * @param filename the last filename from the previous response
         * @param batchCount the number of entries to return
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

    import jcifs.internal.fscc.FileBothDirectoryInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Trans2 FindFirst2 response message for SMB1 directory enumeration.
     * This class handles the response from a TRANS2_FIND_FIRST2 request, which returns
     * the first set of directory entries matching the specified search criteria.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top