- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 212 for Ensure (2.48 sec)
-
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} releaseLease(key); } catch (Exception e) { log.error("Error handling lease break for key: " + key, e); // On error, ensure we're in safe state LeaseEntry entry = leases.get(key); if (entry != null) { entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE); } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt4(100, src, 6); // ttl NameServicePacket.writeInt2(6, src, 10); // rDataLength (for one NbtAddress) packet.questionName = mockQuestionName; // Ensure questionName is set int read = packet.readResourceRecordWireFormat(src, 0); assertEquals(18, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 6 (rData)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
suggester.refresh(); long oldWordsCount = suggester.getAllWordsNum(); assertTrue(oldWordsCount > 0); // Minimal sleep to ensure timestamp separation (reduced from 2000ms to 100ms total) Thread.sleep(50); ZonedDateTime threshold = ZonedDateTime.now(); Thread.sleep(50); // Index new data after threshold
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
} /** * Extracts a subset of documents from the full result list based on pagination parameters. * Applies proper bounds checking to ensure the extracted range is within the document list size. * * @param docs the full list of search result documents * @param pageSize the number of documents to include in the pageRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java
} /** * Deletes a crawling information record and all its associated parameters. * First deletes all related CrawlingInfoParam records, then deletes the main record * with immediate refresh to ensure consistency. * * @param crawlingInfo the crawling information entity to delete */ public void delete(final CrawlingInfo crawlingInfo) { setupDeleteCondition(crawlingInfo);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
} } /** * Escapes wildcard characters in the given query string. * * This method replaces all occurrences of '*' with '\*' and * all occurrences of '?' with '\?' to ensure that these characters * are treated as literals rather than wildcard characters in queries. * * @param query the query string to escape * @return the escaped query string */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFile.java
setInfoReq.setFileInformation(new FileRenameInformation2(destPath, replace)); sh.send(setInfoReq); } finally { // Always close the file handle - ensure createResp is not null if (createResp != null && createResp.getFileId() != null) { final Smb2CloseRequest closeReq = new Smb2CloseRequest(sh.getConfig(), createResp.getFileId());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
} catch (final Exception e) { logger.warn("Failed to get object tags: bucket={}, path={}", bucketName, path, e); } return null; } /** * Preprocesses a URI to ensure it has the correct storage protocol prefix. * @param uri the URI to preprocess * @return the preprocessed URI with storage:// prefix * @throws CrawlerSystemException if the URI is empty */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} break; } } /** * Builds role-based access control query filters to restrict search results based on user roles. * This method applies role-based filtering to ensure users only see documents they have access to. * * @param queryContext the query context to modify * @param searchRequestType the type of search request to determine role filtering requirements */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final Crawler testCrawler = container.getComponent("crawler"); testCrawler.setThreadPriority(Thread.MAX_PRIORITY); // Cannot directly verify thread priority, but ensure no exception } public void test_setters() throws Exception { final Crawler testCrawler = container.getComponent("crawler"); testCrawler.setNumOfThread(5);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Nov 11 13:40:14 UTC 2025 - 25.8K bytes - Viewed (0)