- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 707 for validate (1.06 sec)
-
internal/bucket/lifecycle/lifecycle.go
} return &lc, nil } // Validate - validates the lifecycle configuration func (lc Lifecycle) Validate(lr lock.Retention) error { // Lifecycle config can't have more than 1000 rules if len(lc.Rules) > 1000 { return errLifecycleTooManyRules } // Lifecycle config should have at least one rule if len(lc.Rules) == 0 { return errLifecycleNoRule } // Validate all the rules in the lifecycle config
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/acl-handlers.go
if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Before proceeding validate if bucket exists. _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } aclHeader := r.Header.Get(xhttp.AmzACL)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @Test void populatePropertiesCanContainEqualsSign() throws Exception { // Arrange CliRequest request = new CliRequest(new String[] {"-Dw=x=y", "validate"}, null); // Act cli.cli(request); cli.properties(request); // Assert assertEquals("x=y", request.getUserProperties().getProperty("w")); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING); assertEquals(-1, SmbConstants.FOREVER); } @Test @DisplayName("Should validate flag combinations work correctly") void testFlagCombinations() { // Test that flags can be combined with bitwise OR int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
var trw transitionWrapper err := d.DecodeElement(&trw, &startElement) if err != nil { return err } *t = Transition(trw) t.set = true return nil } // Validate - validates the "Transition" element func (t Transition) Validate() error { if !t.set { return nil } if !t.IsDateNull() && t.Days > 0 { return errTransitionInvalid } if t.StorageClass == "" {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
* * @param form the edit form * @return HTML response for the edit page */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; keyMatchService.getKeyMatch(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
form.password = null; form.confirmPassword = null; } /** * Validates LDAP user attribute types using the configured LDAP manager. * * @param attributes the map of attributes to validate * @param throwError callback to report any validation errors */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
* * @param form the edit form * @return HTML response for the edit page */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; labelTypeService.getLabelType(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
* @return HTML response for the path mapping edit form */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; pathMappingService.getPathMapping(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
// Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll(); if (buf != null) { queueSize.decrementAndGet(); return buf; } // Validate buffer size to prevent overflow int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE; if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0)