- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 163 for Alive (0.32 seconds)
-
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
} // Verify alive is false assertFalse("alive should be false after all stop() calls", dataStore.alive); } /** * Test that multiple threads can safely read alive field while one writes. */ @Test public void test_aliveField_concurrentReadWrite() throws Exception { dataStore.alive = true; final int readerCount = 5;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("<-- END HTTP") .assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url http/1.1") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
/** * The mime type. */ public String mimeType = "application/datastore"; /** * The flag to check if the data store is alive. * Volatile to ensure visibility across threads. */ protected volatile boolean alive = true; /** * Default constructor. */ public AbstractDataStore() { // nothing } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (0) -
fastapi/sse.py
lines.append(f"retry: {retry}") lines.append("") lines.append("") return "\n".join(lines).encode("utf-8") # Keep-alive comment, per the SSE spec recommendation KEEPALIVE_COMMENT = b": ping\n\n" # Seconds between keep-alive pings when a generator is idle. # Private but importable so tests can monkeypatch it.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF); h[3] = (byte) (length & 0xFF); return h; } /** * Creates a NetBIOS keep-alive header. * Keep-alive packets have type 0x85 and zero length. */ private static byte[] keepAliveHeader() { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_KEEP_ALIVE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
// Wait for completion with longer timeout indexUpdater.join(3000); assertFalse(errorOccurred.get()); // Thread may still be alive in test environment, just check no errors // // Thread may still be alive in test environment // assertFalse(indexUpdater.isAlive()); } // Test updateDocument with boost matcher @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
* How many concurrent calls should be possible to make at any time. * The pool will routinely try to pre-emptively open connections to satisfy this minimum. * Connections will still be closed if they idle beyond the keep-alive but will be replaced. */ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
for (ChannelInfo channel : channels.values()) { if (channel.getIdleTime() > 60000) { // 1 minute idle // Send keep-alive try { sendKeepAlive(channel); } catch (Exception e) { log.debug("Keep-alive failed for channel {}", channel.getChannelId()); handleChannelFailure(channel, e); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
ComponentUtil.setFessConfig(fessConfig); // Execute String result = pingSearchEngineJob.execute(); // Assert assertEquals("test-cluster is alive.", result); } // Test RED status with state change @Test public void test_execute_redStatusNoChange() { // Setup mock components
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0)