Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for comparing (0.37 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                }
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Stores or updates a dictionary file in the ConfigSync storage.
         * This method checks for concurrent modifications by comparing timestamps
         * and uploads the file content to the ConfigSync API.
         *
         * @param dictFile the dictionary file metadata to store
         * @param file the actual file containing the dictionary content
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                for (final File file : jarFiles) {
                    list.add(getArtifactFromFileName(artifactType, file.getName()));
                }
                list.sort(Comparator.comparing(Artifact::getName));
                return list.toArray(new Artifact[list.size()]);
            }
    
            final File[] jarFiles = ResourceUtil.getPluginJarFiles(artifactType.getId());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("action", action.replace('\t', '_').toUpperCase(Locale.ENGLISH));
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            byte[] buffer = new byte[request.size()];
            request.encode(buffer, 0);
    
            // Verify max capabilities value (comparing as unsigned long)
            assertEquals(0xFFFFFFFFL, SMBUtil.readInt4(buffer, 0) & 0xFFFFFFFFL);
        }
    
        @Test
        @DisplayName("Test encode with zero capabilities")
        void testEncodeWithZeroCapabilities() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                auth1.equals(auth2);
            }
        }
    
        /**
         * Test that password comparison is constant-time by comparing execution times
         * for passwords that differ at different positions.
         */
        @Test
        public void testConstantTimePasswordComparison() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(status.equals(nullStatus));
    
            // null == Enum should be false
            assertFalse(nullStatus == status);
    
            // Verify no NullPointerException when comparing with ==
            boolean result = (nullStatus == CrawlerStatus.INITIALIZING);
            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if (!(obj instanceof final SmbResourceLocatorImpl o)) {
                return false;
            }
    
            /*
             * If uncertain, pathNamesPossiblyEqual returns true.
             * Comparing canonical paths is definitive.
             */
            if (pathNamesPossiblyEqual(this.url.getPath(), o.url.getPath()) && getURLPath().equalsIgnoreCase(o.getURLPath())) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Determines whether the content at the given URL has been updated since the last crawl.
         * This method implements incremental crawling by comparing timestamps and checking document
         * expiration. It also handles special cases for different URL schemes (SMB, file, FTP).
         *
         * @param client the crawler client to use for accessing the URL
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                boolean ret;
    
                if (this == f) {
                    return true;
                }
    
                /* If uncertain, pathNamesPossiblyEqual returns true.
                 * Comparing canonical paths is definitive.
                 */
                if (pathNamesPossiblyEqual(url.getPath(), f.url.getPath())) {
    
                    getUncPath0();
                    f.getUncPath0();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top