- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,086 for isValid (0.03 sec)
-
cmd/batch-job-common-types.go
func (r BatchJobRetry) Validate() error { if r.Attempts < 0 { return BatchJobYamlErr{ line: r.line, col: r.col, msg: "Invalid arguments specified", } } if r.Delay < 0 { return BatchJobYamlErr{ line: r.line, col: r.col, msg: "Invalid arguments specified", } } return nil } // # snowball based archive transfer is by default enabled when source
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); }); assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000")); assertTrue(exception.getMessage().contains("must be 0-100")); } /** * Test validation of negative negotiate context count. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
e.getMessage().contains("Failed to extract") || e.getMessage().contains("No entries could be processed")); } } /** * Test that TarExtractor handles invalid archive gracefully. * Invalid archives may either throw an exception or return empty content. */ public void test_TarExtractor_invalidArchive_handlesGracefully() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions { #override-request-validation-exceptions } When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`. And it also includes a default exception handler for it.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
// A null byte array should cause a PACDecodingException. PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); assertEquals("Invalid PAC credential type", exception.getMessage()); } /** * Tests the constructor with a byte array that is too large. */ @Test void testConstructorWithDataTooLarge() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
internal/bucket/lifecycle/tag.go
XMLName xml.Name `xml:"Tag"` Key string `xml:"Key,omitempty"` Value string `xml:"Value,omitempty"` } var ( errInvalidTagKey = Errorf("The TagKey you have provided is invalid") errInvalidTagValue = Errorf("The TagValue you have provided is invalid") errDuplicatedXMLTag = Errorf("duplicated XML Tag") errUnknownXMLTag = Errorf("unknown XML Tag") ) // UnmarshalXML - decodes XML data.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- Partial extraction (continues on failure) - Invalid archive handling - Empty archive handling - Mixed valid/invalid entries **Covered Extractors**: - ZipExtractor - TarExtractor **Test Count**: 12 tests **Key Scenarios**: - ✅ Descriptive error messages for invalid archives - ✅ Continues processing when some entries fail - ✅ Handles empty archives gracefully - ✅ Mixed valid/invalid entries processed correctly
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
expectedErr error } tests := []testCase{ // Test - 1 valid buffer with CRLF. {bytes.NewReader([]byte("\r\n")), nil}, // Test - 2 invalid buffer with no CRLF. {bytes.NewReader([]byte("he")), errMalformedEncoding}, // Test - 3 invalid buffer with more characters. {bytes.NewReader([]byte("he\r\n")), errMalformedEncoding}, // Test - 4 smaller buffer than expected.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0)