- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 240 for Consume (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} catch (NoSuchMethodException e) { throw newLinkageError(e); } } else if (rawType.equals(Consumer.class)) { return (Consumer<Object>) v -> {}; } else { return null; } } private static <T> void callAllPublicMethods(TypeToken<T> type, T object) throws InvocationTargetException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
import okhttp3.internal.http.parseChallenges import okio.Buffer import okio.Socket /** * An HTTP response. Instances of this class are not immutable: the response body is a one-shot * value that may be consumed only once and then closed. All other properties are immutable. * * This class implements [Closeable]. Closing it simply closes its response body. See * [ResponseBody] for an explanation and examples. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
/** * Registers an event handler for the specified event name. * * @param eventName the event name to handle. * @param handler the consumer to invoke when the event is received. */ public void addEventHandler(final String eventName, final Consumer<EventInfo> handler) { eventHandlers.computeIfAbsent(eventName, k -> new ArrayList<>()).add(handler); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
@Test @DisplayName("Test decode returns correct bytes consumed") void testDecodeBytesConsumed() throws SMBProtocolDecodingException { // Prepare minimal buffer byte[] buffer = new byte[24]; // Test with offset 0 int bytesDecoded = response.decode(buffer, 0, 24); assertEquals(24, bytesDecoded, "Should return 24 bytes consumed from offset 0"); // Test with different offsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
import java.io.StringWriter; import java.util.LinkedHashSet; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Consumer; import java.util.function.UnaryOperator; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.DeprecatedAttributes;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt
* limitations under the License. */ package okhttp3.internal.http2.flowcontrol class WindowCounter( val streamId: Int, ) { /** The total number of bytes consumed. */ var total: Long = 0L private set /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */ var acknowledged: Long = 0L private set val unacknowledged: Long
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} /** * Invokes {@code consumer} for each value contained in this array, in order. * * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // We rely on users not to call this without library desugaring. public void forEach(LongConsumer consumer) { checkNotNull(consumer); for (int i = start; i < end; i++) { consumer.accept(array[i]); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertEquals(2, sis.read()); // Read second message assertEquals(3, sis.read()); assertEquals(4, sis.read()); assertEquals(5, sis.read()); // After all data is consumed, next read throws IOException assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("EOF handling when stream ends mid-header")
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/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
/** * Validates document fields according to index field requirements. * * @param doc the document to validate * @param throwError consumer to handle validation errors */ public static void validateFields(final Map<String, Object> doc, final Consumer<VaMessenger<FessMessages>> throwError) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 25.5K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
* * @param success A callback for successful indexing. * @param error A callback for indexing errors. */ public void indexFromDocuments(final Consumer<Boolean> success, final Consumer<Throwable> error) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final long interval = fessConfig.getSuggestUpdateRequestIntervalAsInteger().longValue();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0)