Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 584 for _validate (0.1 sec)

  1. cmd/batch-expire.go

    		}
    	}
    
    	for _, tag := range ef.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

                throw new CrawlerSystemException("Could not create a temp file.", e);
            }
        }
    
        /**
         * Validates that the input stream is not null.
         * This is a common validation performed by most extractors.
         *
         * @param in The input stream to validate
         * @throws CrawlerSystemException if the input stream is null
         */
        protected void validateInputStream(final InputStream in) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    	if err == nil && !isUnderBaseDN {
    		// Not under any configured base DN, so treat as not found.
    		return nil, nil
    	}
    	return validDN, err
    }
    
    // GetValidatedUserDN validates the given user DN. Will error out if conn is nil. The returned
    // boolean is true iff the user DN is found under one of the LDAP user base DNs.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

          DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER);
    
      /**
       * Helper method for {@link #validateSyntax(List)}. Validates that one part of a domain name is
       * valid.
       *
       * @param part The domain name part to be validated
       * @param isFinalPart Is this the final (rightmost) domain part?
       * @return Whether the part is valid
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  8. cmd/utils_test.go

    			bucket: "bucket",
    			object: "///object////",
    		},
    		// Test case 8 url path is empty.
    		{
    			path:   "",
    			bucket: "",
    			object: "",
    		},
    	}
    
    	// Validate all test cases.
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			bucketName, objectName := path2BucketObject(testCase.path)
    			if bucketName != testCase.bucket {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         */
        protected void write(final String path, final byte[] data) {
            validateFilePath(path);
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Validates the file path.
         *
         * @param path the file path to validate
         */
        protected void validateFilePath(final String path) {
            if (StringUtil.isBlank(path)) {
                throw new IllegalArgumentException("File path cannot be empty");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top