- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 919 for Input (0.04 sec)
-
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
mockwebserver/README.md
from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java MockResponse response = new MockResponse.Builder() .addHeader("Content-Type", "application/json; charset=utf-8")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 8K bytes - Viewed (0) -
cmd/server-startup-msg.go
printCLIAccessMsg(strippedAPIEndpoints[0], "myminio") // Prints documentation message. printObjectAPIMsg() if globalIsDistErasure { logger.Startup(color.Bold(banner)) } } // Returns true if input is IPv6 func isIPv6(host string) bool { h, _, err := net.SplitHostPort(host) if err != nil { h = host } ip := net.ParseIP(h) return ip.To16() != nil && ip.To4() == nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals("smb://server/share/", locator.handleDFSReferral(null, "")); verify(locator).handleDFSReferral(null, ""); verifyNoMoreInteractions(locator); } // Invalid input: null reqPath leads to NPE from implementation @Test @DisplayName("handleDFSReferral throws NPE on null reqPath") void handleDfsReferralNullPathThrows() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
} @Test void testDeployBuildPomWithMutableMap() { // Test with a mutable map to ensure the method doesn't modify the input Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * A readable source of bytes, such as a file. Unlike an {@link InputStream}, a {@code ByteSource} * is not an open, stateful stream for input that can be read and closed. Instead, it is an * immutable <i>supplier</i> of {@code InputStream} instances. * * <p>{@code ByteSource} provides two kinds of methods: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
"X-Amz-Date", "", "X-Amz-SignedHeaders", "", }, expectedErrCode: ErrInvalidQueryParams, }, } for i, testCase := range testCases { inputQuery := url.Values{} // iterating through input query key value and setting the inputQuery of type url.Values. for j := 0; j < len(testCase.inputQueryKeyVals)-1; j += 2 { inputQuery.Set(testCase.inputQueryKeyVals[j], testCase.inputQueryKeyVals[j+1]) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.4K bytes - Viewed (0) -
src/bytes/buffer.go
if b.lastRead == opInvalid { return errUnreadByte } b.lastRead = opInvalid if b.off > 0 { b.off-- } return nil } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often [io.EOF]).
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0)