Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 243 for passe (0.69 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertNotNull(parsed.getMechanisms(), "Should parse mechanisms");
                assertEquals(NegTokenInit.INTEGRITY, parsed.getContextFlags(), "Should parse flags");
                assertArrayEquals(new byte[] { 0x42 }, parsed.getMechanismToken(), "Should parse token");
            });
        }
    
        @Test
        @DisplayName("Parse rejects unknown nested token field")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("parse sets mechanismToken and flags parsed")
        void parseSetsMechanismToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 5, 6 };
            t.parse(raw);
            assertTrue(t.isParsed(), "parse should mark parsed");
            assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        }
    
        /**
         * Parses a robots.txt file from the given input stream using UTF-8 encoding.
         * @param stream the input stream to parse
         * @return the parsed RobotsTxt object, or null if disabled
         */
        public RobotsTxt parse(final InputStream stream) {
            return parse(stream, Constants.UTF_8);
        }
    
        /**
         * Parses a robots.txt file from the given input stream using the specified character encoding.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

        /**
         * Validates the preauth integrity for completed negotiation.
         *
         * @param sessionId the session identifier
         * @param expectedHash the expected final hash
         * @return true if validation passes
         * @throws CIFSException if validation fails
         */
        public boolean validatePreauthIntegrity(String sessionId, byte[] expectedHash) throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
                    .thenReturn(Collections.singletonList(mockAuthData1));
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(2), eq(new byte[] { 0x02 }), any(Map.class)))
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         * The query is processed through the filter chain before being parsed.
         *
         * @param query the query string to parse
         * @return the parsed Query object
         * @throws QueryParseException if the query cannot be parsed
         */
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        /**
         * Creates a new Lucene query parser with the current configuration.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            try {
                robotsTxt = robotsTxtHelper.parse(in);
            } finally {
                CloseableUtil.closeQuietly(in);
            }
    
            // Floating point crawl-delay should be ignored (as it expects integer)
            assertNotNull(robotsTxt);
            // Should either parse as 2 or be ignored
            assertTrue(robotsTxt.getCrawlDelay("TestBot") >= 0);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            when(sitemapsHelper.parse(any(InputStream.class))).thenThrow(new RuntimeException("Parse error"));
    
            // Execute and verify RuntimeException is thrown
            try {
                processor.process(responseData);
                fail("Should throw RuntimeException");
            } catch (RuntimeException e) {
                // Expected exception
                assertEquals("Parse error", e.getMessage());
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         */
        public SitemapSet parse(final InputStream in) {
            return parse(in, true);
        }
    
        /**
         * Parses a sitemap from the given input stream.
         * @param in the input stream to parse
         * @param recursive whether to recursively parse compressed files
         * @return the parsed sitemap set
         */
        protected SitemapSet parse(final InputStream in, final boolean recursive) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
Back to top