- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 386 for consumed (0.09 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java
* thing it'd do. It is sneaky. */ @Setup public void forceLoadClasses(Blackhole bh) { bh.consume(LongKeyedBucketOrds.FromSingle.class); bh.consume(LongKeyedBucketOrds.FromMany.class); bh.consume(LongKeyedBucketOrds.FromManySmall.class); } /** * Emulates a way that we do <strong>not</strong> use {@link LongKeyedBucketOrds}
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Feb 19 20:59:23 GMT 2021 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get); } @Override public void forEach(Consumer<? super E> consumer) { checkNotNull(consumer); int n = size(); for (int i = 0; i < n; i++) { consumer.accept(get(i)); } } @Override @GwtIncompatible int copyIntoArray(@Nullable Object[] dst, int offset) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 7.8K bytes - Click Count (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.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Decode with len = 24 (minimum valid) int bytesConsumed = response.decode(buffer, 0, 24); // Verify - should consume 28 bytes even though len is 24 assertEquals(28, bytesConsumed, "Should consume 28 bytes"); byte[] resumeKey = response.getResumeKey(); assertNotNull(resumeKey, "Resume key should not be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K 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) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K 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) -
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)