- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 951 for consume (0.3 seconds)
-
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) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
} /** * Processes thumbnail generation with a consumer function. * @param id The document ID. * @param consumer The consumer function to process thumbnail and config ID. * @return True if processing was successful, false otherwise. */ protected boolean process(final String id, final BiPredicate<String, String> consumer) { final FessConfig fessConfig = ComponentUtil.getFessConfig();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K 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/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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K 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) -
android/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: Sat Aug 09 01:14:59 GMT 2025 - 20.5K 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) -
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) -
docs/pt/docs/tutorial/request-files.md
Para receber arquivos enviados, primeiro instale [`python-multipart`](https://github.com/Kludex/python-multipart). Garanta que você criou um [ambiente virtual](../virtual-environments.md), o ativou e então o instalou, por exemplo: ```console $ pip install python-multipart ``` Isso é necessário, visto que os arquivos enviados são enviados como "dados de formulário". /// ## Importe `File` { #import-file }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java
if (logger.isDebugEnabled()) { writePlan(logger::debug, plan, project); } } public void writePlan(Consumer<String> writer, BuildPlan plan) { plan.projects().forEach(project -> writePlan(writer, plan, project)); } public void writePlan(Consumer<String> writer, BuildPlan plan, MavenProject project) { writer.accept("=== PROJECT BUILD PLAN ================================================");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 7.1K bytes - Click Count (0)