Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 396 for only (0.74 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
                // isDotQuadIP does not validate octet values, only checks format
                assertTrue(UniAddress.isDotQuadIP("192.168.1.256"));
                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
            void shouldThrowExceptionForNullInput() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        @DisplayName("null and empty names are handled explicitly")
        @NullAndEmptySource
        @ValueSource(strings = { " \t\n" })
        void handlesNullAndEmptyNames(String name) throws Exception {
            // Filter accepts only when name is exactly null, otherwise false
            SmbFilenameFilter filter = (dir, n) -> n == null;
    
            boolean result = filter.accept(mockDir, name);
    
            if (name == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertFalse(it.hasNext(), "No more elements expected");
            assertNull(it.next(), "next() returns null when exhausted in this implementation");
        }
    
        @Test
        @DisplayName("With filter: only accepted entries are returned and filter is invoked per entry")
        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Assertions
            // When CAP_EXTENDED_SECURITY is set, it only copies GUID but doesn't update bufferIndex
            assertEquals(0, bytesRead);
            assertArrayEquals(guid, serverData.guid);
            assertEquals("", serverData.oemDomainName);
        }
    
        @Test
        void testReadBytesWireFormat_NoDomainName() {
            // Scenario where byteCount is only the encryption key length
            serverData.capabilities = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
                // This is also acceptable behavior - skip may fail when it runs out of data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsFavoriteLog.java

        /** queryId */
        protected String queryId;
    
        /** url */
        protected String url;
    
        /** userInfoId */
        protected String userInfoId;
    
        // [Referrers] *comment only
    
        // ===================================================================================
        //                                                                             DB Meta
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

    import org.codelibs.core.exception.ParseRuntimeException;
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * Utility for converting objects that represent only dates to {@link Date}, {@link Calendar}, or {@link java.sql.Date}.
     * <p>
     * For objects that represent only time, see {@link TimeConversionUtil}. For objects that represent both date and time, see {@link TimestampConversionUtil}.
     * </p>
     * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsGroup.java

        //                                                                           =========
        /** gidNumber */
        protected Long gidNumber;
    
        /** name */
        protected String name;
    
        // [Referrers] *comment only
    
        // ===================================================================================
        //                                                                             DB Meta
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

     */
    
    package jcifs.internal.dtyp;
    
    import java.io.IOException;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    
    /**
     * Internal use only
     *
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SecurityDescriptor implements SecurityInfo {
    
        /**
         * Descriptor type
         */
        private int type;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

            final ExtractData result = textExtractor.getText(in, null);
    
            assertNotNull(result);
            assertNotNull(result.getContent());
        }
    
        /**
         * Test extraction with whitespace-only content.
         */
        public void test_getText_whitespaceOnly_extractsAsIs() {
            final String whitespaceContent = "   \t\n\r   ";
            final InputStream in = new ByteArrayInputStream(whitespaceContent.getBytes());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top