- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 411 for ensures (0.04 sec)
-
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
* This method calibrates CPU load, checks crawler status, applies * interval control rules, and then calls the parent implementation. * All operations are wrapped in exception handling to ensure robustness * in test and production environments. */ @Override protected void delayForWaitingNewUrl() { try { ComponentUtil.getSystemHelper().calibrateCpuLoad();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 07:09:17 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
TestByteSource failSource = new TestByteSource(new byte[10], option); TestByteSink okSink = new TestByteSink(); assertThrows(IOException.class, () -> failSource.copyTo(okSink)); // ensure stream was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newInputStream() throws). assertTrue(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapRetrievalCache.java
if (value != null) { return value; } // Store a local reference to the cache entry. If the backing map is immutable, this, // in combination with immutable cache entries, will ensure a thread-safe cache. CacheEntry<K, V> entry; // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. entry = cacheEntry1; if (entry != null && entry.key == key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
* that package-private fields and constants can be accessed directly. */ @ExtendWith(MockitoExtension.class) class SmbComCloseTest { /** * Ensure the constructor sets the {@code command} field of the * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}. */ @Test @DisplayName("happy: constructor sets command correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
# space for a full heap dump. #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:HeapDumpPath=$FESS_HOME/logs/heapdump.hprof" # Disables explicit GC FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+DisableExplicitGC" # Ensure UTF-8 encoding by default (e.g. filenames) FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfile.encoding=UTF-8" # Application Configuration if [ "x$APP_NAME" = "x" ]; then APP_NAME=fess fi
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertTrue(resultString.contains("totalAvailableEntries=5"), "toString should contain the total available entries."); } /** * Tests the empty write methods to ensure they do nothing and return 0. */ @Test void testWriteMethods() { NetShareEnumResponse response = new NetShareEnumResponse(); byte[] dst = new byte[10];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
/** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */ internal const val MAX_DATE = 253402300799999L /** * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such * cookies are on the fast path. */ private val STANDARD_DATE_FORMAT = object : ThreadLocal<DateFormat>() { override fun initialValue(): DateFormat { // Date format specified by RFC 7231 section 7.1.1.1.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
ComponentUtil.getLdapManager().apply(g); return g; }); } /** * Stores a group by inserting or updating it in both LDAP and the database. * Uses refresh policy to ensure immediate availability of the stored data. * * @param group the group entity to store */ public void store(final Group group) { ComponentUtil.getLdapManager().insert(group);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Create an existing connectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @Mock SessionSetupHandler mocked; @Test @DisplayName("Interactions: Mockito mock has no interactions by default") void testMockitoNoInteractions() { // Intent: ensure we can mock the interface and verify no unexpected calls // Act & Assert assertNotNull(mocked); verifyNoInteractions(mocked); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0)