- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for consumed (0.49 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
final int availableBefore = in.available(); extractor.testValidateInputStream(in); final int availableAfter = in.available(); assertEquals("Stream should not be consumed by validation", availableBefore, availableAfter); } /** * Test that validateInputStream is called exactly once per getText call. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java
final ExtractData result = filenameExtractor.getText(in, params); assertNotNull(result); assertEquals("filename.txt", result.getContent()); // Verify stream was not consumed assertEquals(testData.length, in.available()); } /** * Test extraction with empty string filename. */ public void test_getText_withEmptyFilename() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- `validateInputStream()` method behavior - Exception types and messages - Stream consumption (should not consume) - Consistency across multiple calls **Test Count**: 11 tests **Key Scenarios**: - ✅ Validates non-null streams - ✅ Throws CrawlerSystemException for null - ✅ Called during getText execution - ✅ Does not consume or modify stream - ✅ Consistent behavior across multiple calls - ✅ Works with various InputStream types
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
static void warnNotDowngraded(MavenProject project) { LOGGER.warn("The consumer POM for " + project.getId() + " cannot be downgraded to 4.0.0. " + "If you intent your build to be consumed with Maven 3 projects, you need to remove " + "the features that request a newer model version. If you're fine with having the " + "consumer POM not consumable with Maven 3, add the `preserve.model.version='true'` "
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 27 07:40:26 UTC 2025 - 21.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
return true } // Parenthesized register: R(10). return p.arch.RegisterPrefix[name] && p.peek() == '(' } // atRegisterShift reports whether we are at the start of an ARM shifted register. // We have consumed the register or R prefix. func (p *Parser) atRegisterShift() bool { // ARM only. if !p.arch.InFamily(sys.ARM, sys.ARM64) { return false } // R1<<... if lex.IsRegisterShift(p.peek()) { return true
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 37.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} if hdr.Name != v.wantName { t.Errorf("test %d, Header.Name = %s, want %s", i, hdr.Name, v.wantName) } if v.wantErr == nil && r.Len() == 0 { t.Errorf("test %d, canary byte unexpectedly consumed", i) } } } // testNonEmptyReader wraps an io.Reader and ensures that // Read is never called with an empty buffer. type testNonEmptyReader struct{ io.Reader }Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 47.5K bytes - Viewed (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();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 13.4K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (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()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
*/ PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes); /** * {@return in which context the source files will be used} * Not to be confused with dependency scope. * The default value is {@code "main"}. * * @see ProjectScope#MAIN */ default ProjectScope scope() { return ProjectScope.MAIN; } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 14.2K bytes - Viewed (0)