- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 308 for Consume (0.06 seconds)
-
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[10]; // The implementation always returns 0 int consumed = pipe.readSetupWireFormat(buffer, 0, 4); assertEquals(0, consumed, "readSetupWireFormat should always return 0"); } @Test public void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/os_unix.go
return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen) } consumed = int(dirent.Reclen) if direntInode(dirent) == 0 { // File absent in directory. return consumed, name, typ, err } switch dirent.Type { case syscall.DT_REG: typ = 0 case syscall.DT_DIR: typ = os.ModeDir case syscall.DT_LNK: typ = os.ModeSymlink default:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
// Arrange: pick a value and a mocked consumer RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
RELEASE.md
* Adds new `tf.data.experimental.service.register_dataset` and `tf.data.experimental.service.from_dataset_id` APIs to enable one process to register a dataset with the tf.data service, and another process to consume data from the dataset. * Adds support for dispatcher fault tolerance. To enable fault tolerance, configure a `work_dir` when running your dispatcher server and setCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
fail("Should throw NullPointerException for null consumer"); } catch (NullPointerException e) { // Expected behavior } } @Test public void test_processThreadDump_multipleThreads() { AtomicInteger threadCount = new AtomicInteger(0); AtomicInteger stackTraceCount = new AtomicInteger(0); Consumer<String> countingConsumer = line -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
} } /** * Processes all thread information and sends it to the provided consumer. * * @param writer the consumer that will handle each line of thread dump output */ public static void processThreadDump(final Consumer<String> writer) { for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
} /** * Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier. * The stream is automatically closed after the consumer is executed. * * @param stream the {@link Consumer} to process the {@link Stream} */ public void of(final Consumer<Stream<T>> stream) { try (Stream<T> s = supplier.get()) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
this.delegate = delegate; } @Override public boolean tryAdvance(Consumer<? super T> action) { return delegate.tryAdvance((IntConsumer) i -> action.accept(function.apply(i))); } @Override public void forEachRemaining(Consumer<? super T> action) { delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i))); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 19.9K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Provider.java
* <p> * A type can be marked {@link Consumer} or {@link Provider} but not both. A type is assumed to be * {@link Consumer} if it is not marked either {@link Consumer} or {@link Provider}. * <p> * A package can be marked {@link Provider}. In this case, all types in the package are considered * to be a provider type regardless of whether they are marked {@link Consumer} or {@link Provider}. * * @see Consumer * @since 4.0.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.7K bytes - Click Count (0)