Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 211 for paging (1.11 sec)

  1. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    # Test file for malformed robots.txt parsing
    # This file contains various malformed directives that should be handled gracefully
    
    # Case 1: Directives before any User-agent (should be ignored)
    Disallow: /orphaned1/
    Allow: /orphaned2/
    
    # Case 2: Valid user-agent with various malformed directives
    User-agent: GoodBot
    Disallow: /admin/
    InvalidDirective: some-value
    unknown-field: test
    Disallow /missing-colon
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted");
        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            buf.readOctetArray(wideBytes, 0, byteCount);
    
            // Skip null terminator
            buf.dec_ndr_short();
    
            // Skip padding
            int padding = (4 - ((byteCount + 2) % 4)) % 4;
            for (int i = 0; i < padding; i++) {
                buf.dec_ndr_small();
            }
    
            return new String(wideBytes, StandardCharsets.UTF_16LE);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/SpnegoToken.java

         */
        public abstract byte[] toByteArray();
    
        /**
         * Parses the provided token bytes to populate this SPNEGO token
         * @param token the token bytes to parse
         * @throws IOException if parsing fails
         */
        protected abstract void parse(byte[] token) throws IOException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (2)
  5. src/main/java/jcifs/pac/ASN1Util.java

    import org.bouncycastle.asn1.ASN1Primitive;
    import org.bouncycastle.asn1.ASN1Sequence;
    import org.bouncycastle.asn1.ASN1TaggedObject;
    import org.bouncycastle.asn1.DLSequence;
    
    /**
     * Utility class for ASN.1 parsing and manipulation operations.
     *
     * This class provides helper methods for working with ASN.1
     * encoded data structures used in Kerberos PAC processing.
     */
    public final class ASN1Util {
    
        private ASN1Util() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

                request.writeBytesWireFormat(smallBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Test file ID boundary values")
        void testFileIdBoundaryValues() {
            // Test with file ID having maximum byte values
            byte[] maxFileId = new byte[16];
            Arrays.fill(maxFileId, (byte) 0xFF);
            Smb2CloseRequest maxRequest = new Smb2CloseRequest(mockConfig, maxFileId, testFileName);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

        }
    
        @Test
        void testConstructorWithNullSIDArray() {
            jcifs.SID[] sids = null;
            // Expect NullPointerException when passing a null array to the constructor
            assertThrows(NullPointerException.class, () -> new LsarSidArrayX(sids),
                    "Should throw NullPointerException when sids array is null");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            byte[] bytes1 = type1.toByteArray();
            byte[] bytes2 = type1.toByteArray();
    
            // Then
            assertArrayEquals(bytes1, bytes2);
        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

     * passed to a {@link ChildUrlsException} to be processed by the crawler.
     * </p>
     *
     * <p>
     * The class also handles potential {@link IOException}s that may occur during
     * the parsing of the response body.
     * </p>
     */
    public class SitemapsResponseProcessor implements ResponseProcessor {
        /** The crawler container for component lookup. */
        @Resource
        protected CrawlerContainer crawlerContainer;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

     * limitations under the License.
     */
    
    import java.util.ArrayList;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for parsing CSV text
     */
    public final class KuromojiCSVUtil {
        private static final char QUOTE = '"';
    
        private static final char COMMA = ',';
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top