Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,160 for isInvalid (0.06 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                listOf(
                    "$thing ${describe(thing, desc)}: Is not annotated with @Incubating.",
                    "$thing ${describe(thing, desc)}: Has invalid @since: it should be 2.0, but currently is 1.0."
                )
    
            fun removed(thing: String, desc: String): Pair<String, List<String>> =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @Test
        void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
            // Test with unsupported information level
            response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level
    
            byte[] buffer = new byte[100];
    
            // Set dataCount using reflection
            setDataCount(response, 20);
    
            int bytesRead = response.readDataWireFormat(buffer, 0, 20);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. cmd/prepare-storage.go

    				} else {
    					logger.Fatal(errInvalidArgument, "Unable to use the drive %s: %v", endpoints[i], err)
    				}
    			}
    		}
    	}
    
    	// Pre-emptively check if one of the formatted disks
    	// is invalid. This function returns success for the
    	// most part unless one of the formats is not consistent
    	// with expected Erasure format. For example if a user is
    	// trying to pool FS backend into an Erasure set.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

      project
    - nice little sample projects that could be run in the core as well as integration tests
    
    All Possible Errors
    - invalid lifecycle phase (maybe same as bad CLI param, though you were talking about embedder too)
    - <module> specified is not found
    - malformed settings
    - malformed POM
    - local repository not writable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/body.md

    ## Results { #results }
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    * Give you the received data in the parameter `item`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null.
       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
       * Immediately and violently release resources held by this web socket, discarding any enqueued
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:45:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("share", smbFile.getShare());
            }
    
            @Test
            public void testConstructorWithMalformedUrl() {
                // Test that constructor throws MalformedURLException for completely invalid URL
                // Note: http:// URLs are actually accepted by the URL constructor but the protocol is changed to smb
                String invalidUrl = "not-a-valid-url";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

            void shouldHandleMalformedPomGracefully() throws Exception {
                Path pomFile = tempDir.resolve("pom.xml");
                String malformedPom = "<?xml version=\"1.0\"?><project><invalid></project>";
                Files.writeString(pomFile, malformedPom);
    
                UpgradeContext context = TestUtils.createMockContext(tempDir);
    
                // Execute apply goal - should handle malformed XML gracefully
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top