- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 511 for validate_ (0.04 sec)
-
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
cmd/object-handlers_test.go
} // ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse, // sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the // unsigned request goes through and its validated again.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
} // List all of all test cases to validate various cases of reduce errors. testCases := []struct { errs []error ignoredErrs []error err error }{ // Validate if have reduced properly. {[]error{ errDiskNotFound, errDiskNotFound, errDiskFull, }, []error{}, errErasureReadQuorum}, // Validate if have no consensus. {[]error{ errDiskFull,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
* Reloads the document index by closing and reopening it. * * @param form the action form (validated but not used for configuration) * @return HTML response redirecting to the maintenance page */ @Execute @Secured({ ROLE }) public HtmlResponse reloadDocIndex(final ActionForm form) { validate(form, messages -> {}, this::asIndexHtml); verifyToken(this::asIndexHtml);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java
return determineValid(value); } /** * Determines if the given value is a valid cron expression. * @param value the value to validate * @return true if valid, false otherwise */ protected boolean determineValid(final String value) { if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) { return false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
/** * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data * represents a valid sitemap. It uses a SitemapsHelper to validate the response body as an InputStream. * The rule checks if the URL matches the defined regex pattern and then validates the content as a sitemap. * If any exception occurs during the sitemap validation, it logs the error and returns false. * */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.6K bytes - Viewed (0) -
cmd/xl-storage_test.go
testCases := []struct { name string err error }{ // Validates input argument cannot be empty. { "", errInvalidArgument, }, // Validates if the directory does not exist and // gets automatically created. { tmpDirName, nil, }, // Validates if the disk exists as file and returns error // not a directory. { tmpFileName,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
cmd/auth-handler.go
claims := xjwt.NewMapClaims() return claims.Map(), ErrNone } // Check request auth type verifies the incoming http request // - validates the request signature // - validates the policy action if anonymous tests bucket policies if any, // for authenticated requests validates IAM policies. // // returns APIErrorCode if any to be replied to the client.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0); private final AtomicLong integerOverflowsPrevented = new AtomicLong(0); /** * Validate SMB response buffer bounds * * @param buffer the buffer to validate * @param expectedSize expected minimum size * @param maxSize maximum allowed size * @throws SmbException if validation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)