- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 304 for consumers (0.04 sec)
-
android/guava/src/com/google/common/io/CharSource.java
* @since 33.4.0 (but since 22.0 in the JRE flavor) */ /* * We have to rely on users not to call this without library desugaring, as NewApi won't flag * Consumer creation. */ @IgnoreJRERequirement public void forEachLine(Consumer<? super String> action) throws IOException { try (Stream<String> lines = lines()) { // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
private final TransferEvent event; private Exchange(TransferEvent event) { this.event = event; } public void process(Consumer<TransferEvent> consumer) { consumer.accept(event); } public void waitForProcessed() throws InterruptedException { // nothing, is async } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
import java.io.UncheckedIOException; import java.io.Writer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.function.Consumer; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
@Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus); } NtStatusConsumer mock = mock(NtStatusConsumer.class); findNtStatus(dosErr).ifPresent(mock::consume); verify(mock).consume(expectedNt);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
private final TransferEvent event; private Exchange(TransferEvent event) { this.event = event; } public void process(Consumer<TransferEvent> consumer) { consumer.accept(event); } public void waitForProcessed() throws InterruptedException { // nothing, is async } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
private inline fun <T : Any> ResponseBody.consumeSource( consumer: (BufferedSource) -> T, sizeMapper: (T) -> Int, ): T { val contentLength = contentLength() if (contentLength > Int.MAX_VALUE) { throw IOException("Cannot buffer entire body for content length: $contentLength") } val bytes = source().use(consumer) val size = sizeMapper(bytes)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
result.write(this, i) // Consume '"'. readByte() return result.readUtf8() } if (size == i + 1L) return null // Dangling escape. result.write(this, i) // Consume '\'. readByte() result.write(this, 1L) // The escaped character. } } /** * Consumes and returns a non-empty token, terminating at special characters in
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/es/docs/deployment/concepts.md
Por ejemplo, si tu código carga un modelo de Machine Learning con **1 GB de tamaño**, cuando ejecutas un proceso con tu API, consumirá al menos 1 GB de RAM. Y si inicias **4 procesos** (4 workers), cada uno consumirá 1 GB de RAM. Así que, en total, tu API consumirá **4 GB de RAM**. Y si tu servidor remoto o máquina virtual solo tiene 3 GB de RAM, intentar cargar más de 4 GB de RAM causará problemas. 🚨
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 20.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- `validateInputStream()` method behavior - Exception types and messages - Stream consumption (should not consume) - Consistency across multiple calls **Test Count**: 11 tests **Key Scenarios**: - ✅ Validates non-null streams - ✅ Throws CrawlerSystemException for null - ✅ Called during getText execution - ✅ Does not consume or modify stream - ✅ Consistent behavior across multiple calls - ✅ Works with various InputStream types
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0)