- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 1,374 for invalid (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) { val c = this[i] // The WHATWG Host parsing rules accepts some character codes which are invalid by // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here // we rule out characters that would cause problems in host headers. if (c <= '\u001f' || c >= '\u007f') {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test verify method with invalid signature") void testVerifyWithInvalidSignature() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[100]; // Set invalid signature for (int i = 0; i < 8; i++) { data[SmbConstants.SIGNATURE_OFFSET + i] = (byte) 0xFF;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null)); assertTrue(exception.getMessage().contains("invalid")); verify(treeHandle, never()).acquire(); } @Test @DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
for i := range N { fi.Erasure.Index = i + 1 metaArr[i] = fi parities[i] = parity if i < agree { continue } metaArr[i].Erasure.Index = 0 // creates invalid fi on remaining drives parities[i] = -1 // invalid fi are assigned parity -1 } res.metaArr = metaArr res.parities = parities res.errs = make([]error, N) if agree >= N-parity { res.parity = parity } else {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final RequestHeader reqHeader = getRequestHeader(body).map(entity -> { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.1K bytes - Click Count (0) -
internal/lock/lock_test.go
t.Fatal(err) } // Now file should be closed. isClosed = rlk.IsClosed() if !isClosed { t.Fatal("File ref count should be zero") } // Closing a file again should result in invalid argument. if err = rlk.Close(); err != os.ErrInvalid { t.Fatal(err) } _, err = newRLockedFile(nil) if err != os.ErrInvalid { t.Fatal("Unexpected error", err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// After ensureOpen with valid fh when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(pipe.openUnshared(eq("\\\\pipe\\\\w"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0))).thenReturn(fh); when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true, false); // first true, then falseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
// MNG-5368: Log a message instead of returning 'null' silently. this.logger.error( String.format( "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d), e); return null; } Artifact artifact = artifactFactory.createDependencyArtifact(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
void testDecodeHeaderThrowsNdrExceptionForRpcVersion() { when(mockBuffer.dec_ndr_small()).thenReturn(4); // Incorrect RPC version assertThrows(NdrException.class, () -> message.decode_header(mockBuffer)); } @Test @DisplayName("decode_header should throw NdrException for invalid minor RPC version")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0)