Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 203 for acceptPK (2.74 sec)

  1. src/main/java/jcifs/smb/NtlmUtil.java

            md4.update(Strings.getUNIBytes(password));
            return md4.digest();
        }
    
        /**
         * Generates the NT password hash for the given password.
         * This version accepts char[] for better security.
         *
         * @param password the password to hash as char array
         * @return nt password hash
         */
        public static byte[] getNTHash(final char[] password) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                    executeCallbacks.add(callback);
                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
            latch.countDown();
        }
    
        /**
         * Rejects the deferred computation with the given throwable.
         * @param t The throwable.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

            assertTrue(filter.accept(dir, "Hello.TXT"));
        }
    
        @Test
        void acceptReturnsFalseWhenNameDoesNotMatch() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt");
            assertFalse(filter.accept(dir, "world.txt"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                if (!(parent instanceof SmbFile)) {
                    return false;
                }
                return fnf.accept((SmbFile) parent, name);
            }, ff == null ? null : resource -> {
                if (!(resource instanceof SmbFile)) {
                    return false;
                }
                return ff.accept((SmbFile) resource);
            })) {
    
                final List<String> list = new ArrayList<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                    throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(doc)
                            .stream()
                            .map(s -> "doc." + s)
                            .forEach(s -> messages.addErrorsPropertyRequired(s, s)));
                }
    
                if (!fessConfig.validateIndexArrayFields(doc)) {
                    throwError.accept(messages -> fessConfig.invalidIndexArrayFields(doc)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 22.7K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                SmbFile smbFile = mock(SmbFile.class);
                when(delegate.accept(smbFile)).thenReturn(true);
    
                // Act
                boolean result = (boolean) invokePrivate(wrapper, "accept", new Class<?>[] { SmbResource.class }, smbFile);
    
                // Assert
                assertTrue(result);
                verify(delegate, times(1)).accept(smbFile);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            @Test
            @DisplayName("Constructor accepts null challenge")
            void testConstructorAcceptsNullChallenge() {
                UniAddress dc = mock(UniAddress.class);
    
                NtlmChallenge nc = new NtlmChallenge(null, dc);
    
                assertNull(nc.challenge);
                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null dc")
            void testConstructorAcceptsNullDc() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * as the specified wildcard and attributes are passed to the server for
         * filtering there (although attributes are largely ignored by servers
         * they are filtered locally by the default accept method).
         *
         * @param wildcard the wildcard pattern for matching file names (e.g., "*.txt")
         * @param attributes the DOS file attributes to match (e.g., ATTR_DIRECTORY)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            }
        }
    
        /**
         * Accepts the HTTP method.
         * @param request The HTTP request.
         * @param methods The accepted methods.
         * @return true if the method is accepted, false otherwise.
         */
        protected boolean acceptHttpMethod(final HttpServletRequest request, final String... methods) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/RequestParamTest.java

            RequestParam rp = RequestParam.NO_RETRY;
    
            // Act: pass to the collaborator
            consumer.accept(rp);
    
            // Assert: interaction happened exactly once with correct argument; no other calls
            verify(consumer, times(1)).accept(RequestParam.NO_RETRY);
            verifyNoMoreInteractions(consumer);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top