Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 661 for validates (0.05 seconds)

  1. internal/bucket/versioning/versioning_test.go

    				t.Fatalf("Test %d: Expected ExcludeFoldersr=%v but got %v", i+1, tc.excludeFolders, v.ExcludeFolders)
    			}
    		}
    	}
    }
    
    func TestMarshalXML(t *testing.T) {
    	// Validates if Versioning with no excluded prefixes omits
    	// ExcludedPrefixes tags
    	v := Versioning{
    		Status: Enabled,
    	}
    	buf, err := xml.Marshal(v)
    	if err != nil {
    		t.Fatalf("Failed to marshal %v: %v", v, err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/rule.go

    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateExpiration(); err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("close calls release and decrements usage; double release throws")
        void closeAndReleaseBehavior() {
            // Validates usage counting and that an extra release() throws RuntimeCIFSException
            // First close -> usage 1 -> 0, triggers treeConnection.release()
            handle.close();
            verify(treeConnection, times(1)).release();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

                return 8; // Minimum size: count + padding + flags
            }
            return 8 + (this.compressionAlgorithms.length * 2);
        }
    
        /**
         * Validates if the compression algorithm is known.
         *
         * @param algorithm the algorithm to validate
         * @return true if the algorithm is known
         */
        private boolean isValidCompressionAlgorithm(int algorithm) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. 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
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/CredentialsInternalTest.java

    @ExtendWith(MockitoExtension.class)
    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
         * It validates inputs, records calls, and delegates some behavior to collaborators
         * so we can verify interactions.
         */
        static class TestCredentials implements CredentialsInternal {
            private final String domain;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. cmd/batch-job-common-types.go

    	var tmp retry
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*r = BatchJobRetry(tmp)
    	r.line, r.col = val.Line, val.Column
    	return nil
    }
    
    // Validate validates input replicate retries.
    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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>Duplicate Dependencies</strong>: Removes duplicate dependency declarations that Maven 4 strictly validates</li>
     *   <li><strong>Duplicate Plugins</strong>: Removes duplicate plugin declarations that Maven 4 strictly validates</li>
     *   <li><strong>Unsupported Repository Expressions</strong>: Comments out repositories with expressions not supported by Maven 4</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. internal/bucket/replication/replication.go

    			config.Rules[i].DeleteReplication = DeleteReplication{
    				Status: Disabled,
    			}
    		}
    	}
    	return &config, nil
    }
    
    // Validate - validates the replication configuration
    func (c Config) Validate(bucket string, sameTarget bool) error {
    	// replication config can't have more than 1000 rules
    	if len(c.Rules) > 1000 {
    		return errReplicationTooManyRules
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Creates an encrypted user code from a user ID.
         * The user ID is encrypted using the primary cipher and validated against the configuration.
         *
         * @param userCode the raw user ID to encrypt
         * @return the encrypted and validated user code, or null if invalid
         */
        protected String createUserCodeFromUserId(String userCode) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top