- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for testcontent (0.16 sec)
-
cmd/object_api_suite_test.go
ExecExtendedObjectLayerTest(t, testPutObject) } // Tests validate PutObject without prefix. func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) { content := []byte("testcontent") length := int64(len(content)) readerEOF := newTestReaderEOF(content) readerNoEOF := newTestReaderNoEOF(content) err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{}) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) // extract the content from response body. getContent, err := io.ReadAll(response.Body) c.Assert(err, nil) // Compare putContent and getContent. c.Assert(string(getContent), putContent) } // TestGetObjectLarge11MiB - Tests validate fetching of an object of size 11MB.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
@Experimental public interface XmlWriterRequest<T> { @Nullable Path getPath(); @Nullable OutputStream getOutputStream(); @Nullable Writer getWriter(); @Nonnull T getContent(); @Nullable Function<Object, String> getInputLocationFormatter(); static <T> XmlWriterRequestBuilder<T> builder() { return new XmlWriterRequestBuilder<>(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Aug 10 22:21:50 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
} @Test void testGetContent() { StringSource source = new StringSource(null); assertEquals("", source.getContent()); source = new StringSource("Hello World!", "LOCATION"); assertEquals("Hello World!", source.getContent()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java
* Gets the character sequence of this settings source. * * @return The underlying character stream, never {@code null}. * @deprecated instead use {@link #getContent()} */ @Deprecated public String getSettings() { return getContent(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/js/custom.js
let termynals = []; function createTermynals() { document .querySelectorAll(`.${termynalActivateClass} .highlight code`) .forEach(node => { const text = node.textContent; const lines = text.split("\n"); const useLines = []; let buffer = []; function saveBuffer() { if (buffer.length) {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); } public void test_addExtractor_weight() { final String key = "application/test";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
final Parser parser = new TikaDetectParser(); final ParseContext parseContext = createParseContext(parser, params); String content = getContent(writer -> { InputStream in = null; try { if (!isByteStream) { try (OutputStream out = new FileOutputStream(tempFile)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java
return location; } /** * Gets the content of this source. * * @return The underlying character stream, never {@code null}. */ public String getContent() { return content; } @Override public String toString() { return getLocation(); } @Override public int hashCode() { return hashCode; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
try (final InputStream in = responseData.getResponseBody()) { final ExtractData extractData = getExtractData(extractor, in, createExtractParams(responseData, crawlingConfig)); content = extractData.getContent(); if (fessConfig.isCrawlerDocumentFileIgnoreEmptyContent() && StringUtil.isBlank(content)) { return null; } if (getLogger().isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0)