Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 201 for acceptPK (1.61 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            assertTrue(filter.accept(file), "Attributes match should be accepted");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
            assertFalse(filter.accept(file), "Attributes not matching should be rejected");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3);
    
            // Create a mock filter that accepts file1 and file3 but not file2
            when(mockFilter.accept(mockResource1)).thenReturn(true);
            when(mockFilter.accept(mockResource2)).thenReturn(false);
            when(mockFilter.accept(mockResource3)).thenReturn(true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

            // Threshold of 0 should be accepted
            request.threshold(0);
    
            assertEquals(0, request.threshold());
        }
    
        @Test
        public void testThresholdWithNegative() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Negative threshold should be accepted (though may not make sense)
            request.threshold(-1);
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/NegTokenInitTest.java

        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
        void testParseAcceptsNonZeroOuterTag() throws Exception {
            // Note: The current implementation does not validate the outer APPLICATION tag number
            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
         * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data
         * @return true if the URL was successfully added to favorites, false if the user was not found
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            new SecureRandom().nextBytes(standardFileId);
            new SecureRandom().nextBytes(longFileId);
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // All sizes should be accepted without exception
            assertDoesNotThrow(() -> request.setFileId(shortFileId), "Should handle 8-byte file ID");
            assertDoesNotThrow(() -> request.setFileId(standardFileId), "Should handle 16-byte file ID");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

        }
    
        /**
         * Creates an instance of {@link XPath} using the provided {@link Consumer} to configure the {@link XPathFactory}.
         *
         * @param builder a {@link Consumer} that accepts an {@link XPathFactory} and configures it.
         * @return a configured instance of {@link XPath}.
         * @throws CrawlerSystemException if an error occurs while creating the {@link XPath} instance.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/MIEName.java

     */
    package jcifs.smb;
    
    import java.util.Objects;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    
    /**
     * This class is used to parse the name of context initiator and
     * context acceptor which are retrieved from GSSContext.
     *
     * @author Shun
     *
     */
    class MIEName {
    
        private static byte[] TOK_ID = { 04, 01 };
        private static int TOK_ID_SIZE = 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Accept", Arrays.asList("application/json", "text/html"));
            response.setHeaders(headers);
    
            String[] acceptValues = response.getHeaderValues("Accept");
            String[] acceptValuesLowercase = response.getHeaderValues("accept"); // Test case insensitive
            String[] missingValues = response.getHeaderValues("Missing-Header");
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top