- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 593 for consume (0.05 sec)
-
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (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()) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* * @param src The source Bean. Must not be {@literal null}. * @param dest The destination Bean. Must not be {@literal null}. * @param option The consumer for copy options. */ public static void copyBeanToBean(final Object src, final Object dest, final Consumer<CopyOptions> option) { copyBeanToBean(src, dest, buildCopyOptions(option)); } /** * Copies properties from one Bean to another Bean.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
for (int dos : inputs) { int nt = findNtStatusOrMinusOne(dos); if (nt != -1) { consumer.accept(dos, nt); } } // Assert: consumer called exactly for the 3 known codes, with the right arguments ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import org.codelibs.fess.unit.UnitFessTestCase; public class JobProcessTest extends UnitFessTestCase { public void test_constructor_processOnly() throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) { checkNotNull(consumer); if (streamA.isParallel() || streamB.isParallel()) { zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b)); } else { Iterator<A> iterA = streamA.iterator(); Iterator<B> iterB = streamB.iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
fail("Should throw NullPointerException for null consumer"); } catch (NullPointerException e) { // Expected behavior } } public void test_processThreadDump_multipleThreads() { AtomicInteger threadCount = new AtomicInteger(0); AtomicInteger stackTraceCount = new AtomicInteger(0); Consumer<String> countingConsumer = line -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
/** * Sets an attribute value from search results using a Consumer. * * @param result the list of search results * @param name the attribute name * @param consumer the Consumer to process the attribute value */ protected void setAttributeValue(final List<SearchResult> result, final String name, final Consumer<Object> consumer) { final List<Object> attrList = getAttributeValueList(result, name);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (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); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/SpiService.java
* the specific service interface being implemented. * <p> * All SPI services should be annotated with {@link Consumer} to indicate they are meant to be * implemented by plugins and extensions rather than used by them. * * @since 4.0.0 */ @Experimental @Consumer
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.7K bytes - Viewed (0)