- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for Flush (0.03 seconds)
-
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
logNotificationTarget.expired(); } @Test public void test_flush_callsExpired() { // flush() delegates to expired(); with empty buffer, no-op (no exception) logNotificationTarget.flush(); } @Test public void test_expired_withEvents_drainsBuffer() { // Add events to buffer ComponentUtil.getLogNotificationHelper()
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
} } } catch (final Exception e) { logger.debug("Failed to flush log notifications to OpenSearch.", e); } } /** * Flushes all buffered log notification events immediately. */ public void flush() { expired(); } private String resolveIndexName() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
// flush() should work with in-memory data ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2 }); cos.flush(); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testFlushInFile() throws IOException { // flush() should work with file-based dataCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
public void close() throws IOException { try { state.close(); } finally { reachabilityFence(byteSource); } } @Override public void flush() throws IOException { try { state.flush(); } finally { reachabilityFence(byteSource); } } /** * Per-instance state, extracted to a separate object so that {@link FinalizableReference} can
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
"Trailers cannot be read because the state is $state" } return trailers } override fun flushRequest() { socket.sink.flush() } override fun finishRequest() { socket.sink.flush() } /** Returns bytes of a request header for sending on an HTTP transport. */ fun writeRequest( headers: Headers, requestLine: String, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
private val minimumDeflateSize: Long, ) : Closeable { /** This holds outbound data for compression and masking. */ private val messageBuffer = Buffer() /** The [Buffer] of [sink]. Write to this and then flush/emit [sink]. */ private val sinkBuffer: Buffer = sink.buffer private var writerClosed = false /** Lazily initialized on first use. */ private var messageDeflater: MessageDeflater? = nullCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
override fun publish(record: LogRecord) { val param = record.parameters?.firstOrNull() as? String debugHandler(JsseDebugMessage(record.message, param)) } override fun flush() { } override fun close() { } }, ) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 2.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
throws IOException { if (singleByte) { for (int i = off; i < off + len; i++) { out.write(b[i]); } } else { out.write(b, off, len); } out.flush(); // for coverage } // TODO(chrisn): only works if we ensure we have crossed file threshold public void testWriteErrorAfterClose() throws Exception { byte[] data = newPreFilledByteArray(100);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0)