- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 800 for isInvalid (0.04 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
} @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 10, 100, 65535 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; int offset = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test @DisplayName("hasCapability throws SmbException when underlying error occurs") void hasCapability_throws() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
tests/query_test.go
if _, ok := first[dbName].(string); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Age": if _, ok := first[dbName].(uint); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Birthday": if _, ok := first[dbName].(*time.Time); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
secretKey string expectedContent []byte expectedRespStatus int }{ // Test case - 0. // Delete objects with invalid access key. 0: { bucket: bucketName, objects: successRequest0, accessKey: "Invalid-AccessID", secretKey: credentials.SecretKey, expectedContent: nil, expectedRespStatus: http.StatusForbidden, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
} } public void test_statusCode_negativeValue() { // Test with negative status code int statusCode = -1; String message = "Invalid status"; WebApiException exception = new WebApiException(statusCode, message); assertEquals(statusCode, exception.getStatusCode()); assertEquals(message, exception.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
"SETTINGS", "PUSH_PROMISE", "PING", "GOAWAY", "WINDOW_UPDATE", "CONTINUATION", ) /** * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations are * represented in binary. */ private val FLAGS = arrayOfNulls<String>(0x40) // Highest bit flag is 0x20. private val BINARY = Array(256) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-toascii.json
"output": "x..xn--zca" }, { "comment": "Invalid Punycode", "input": "xn--a", "output": null }, { "input": "xn--a.xn--zca", "output": null }, { "input": "xn--a.ß", "output": null }, { "input": "xn--ls8h=", "output": null }, { "comment": "Invalid Punycode (contains non-ASCII character)", "input": "xn--tešla",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java
* @return an {@code ArtifactCoordinates}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull ArtifactCoordinates create(@Nonnull ArtifactCoordinatesFactoryRequest request); /** * Creates coordinates out of string that is formatted like:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Mar 24 14:10:11 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* should either throw an appropriate runtime exception or return a suitable replacement * character. It must never silently discard invalid input as this may constitute a security risk. * * @param cp the Unicode code point to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
* should either throw an appropriate runtime exception or return a suitable replacement * character. It must never silently discard invalid input as this may constitute a security risk. * * @param cp the Unicode code point to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0)