- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 391 for Validate (0.18 sec)
-
cmd/admin-handlers-users.go
if err = json.Unmarshal(reqBytes, &updateReq); err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } if err := updateReq.Validate(); err != nil { // Since this validation would happen client side as well, we only send // a generic error message here. writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* Updates the LDAP configuration. */ public void updateConfig() { isBind = false; } /** * Validates the LDAP connection. * * @return True if the LDAP connection is valid, otherwise false. */ protected boolean validate() { if (!isBind) { if (fessConfig.getLdapAdminSecurityPrincipal() == null || fessConfig.getLdapAdminSecurityCredentials() == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
} @Test public void testInvalidUncPath() throws Exception { // Due to normalization removing duplicate backslashes, true UNC validation doesn't work // These tests validate current behavior where problematic paths are caught by other checks // Test invalid server name with dots - caught by directory traversal check assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/xl-storage.go
return s.Delete(ctx, volume, path, DeleteOptions{ Recursive: false, Immediate: false, }) } volumeDir, err := s.getVolDir(volume) if err != nil { return err } // Validate file path length, before reading. filePath := pathJoin(volumeDir, path) if err = checkPathLength(filePath); err != nil { return err } var legacyJSON bool
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection, times(2)).isSame(otherConn); } @Test @DisplayName("Buffer sizes and signing flags from negotiate response") void bufferSizesAndSigning() throws Exception { // Validate buffer sizes and signing flag are read from negotiate response SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class); when(transport.getNegotiateResponse()).thenReturn(nego);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
docs/en/docs/features.md
* Validate **complex structures**: * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc. * And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema. * You can have deeply **nested JSON** objects and have them all validated and annotated. * **Extensible**:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/en/docs/python-types.md
You declare the "shape" of the data as classes with attributes. And each attribute has a type. Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data. And you get all the editor support with that resulting object. An example from the official Pydantic docs:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<name>type</name> <version>1.0.0+</version> <type>String</type> <required>true</required> <description> The Java type for this parameter. This is used to validate the result of any expressions used to calculate the value which should be injected into the Mojo for this parameter. </description> </field> <field> <name>required</name>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 25 08:28:41 UTC 2025 - 24.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
*/ class CacheControl internal constructor( /** * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching * the response; it only means we have to validate the response with the origin server before * returning it. We can do this with a conditional GET. * * In a request, it means do not use a cache to satisfy the request. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0)); } @Test void decodesSrvCopyChunkCopyResponse() throws Exception { // Validate createOutputDecodable() mapping and Decodable decode byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)