- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 661 for validates (0.06 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java
* Default constructor. */ public FessApiAdminAction() { super(); } /** * Determines whether the current request is authorized to access admin API endpoints. * This method validates the access token and checks if the associated permissions * allow admin access according to the Fess configuration. * * @return true if admin access is allowed, false otherwise */ @OverrideCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.3K bytes - Click Count (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.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull(); }); return body; } /** * Validates whether a file configuration ID exists. * * @param fileconfigId the file configuration ID to validate * @return true if the file configuration exists, false otherwise */ protected Boolean isValidFileConfigId(final String fileconfigId) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0) -
cmd/batch-replicate.go
} // BatchJobReplicateResourceType defines the type of batch jobs type BatchJobReplicateResourceType string // Validate validates if the replicate resource type is recognized and supported func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
return toStringHelper(this) .add("aString", aString) .add("anInt", anInt) .add("anEnum", anEnum) .toString(); } } /** Validates that the Comparator equivalent we document is correct. */ @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing() public void testComparatorEquivalent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 03:05:13 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
import org.junit.jupiter.api.Test; /** * Security-focused test cases for BufferCache to verify buffer overflow protection. */ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @Test public void testBufferSizeValidation() { // When - Get a buffer byte[] buffer = BufferCache.getBuffer();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
public int getPointer() { return this.pointer; } /** * Validates the provided string against this structure's metadata. * Checks that the string length matches the expected length and that * null strings have a zero pointer. * * @param string the string to validate * @return the validated string * @throws PACDecodingException if validation fails */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
internal/bucket/lifecycle/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 } // Validate - validates the And field func (a And) Validate() error { // > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. // ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
*/ public void setEnableValidation(final boolean enableValidation) { this.enableValidation = enableValidation; } /** * Validates a URL length according to sitemap specification. * @param url the URL to validate * @return true if valid, false otherwise */ protected boolean isValidUrl(final String url) { if (url == null || url.isEmpty()) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Fri Nov 14 13:19:40 GMT 2025 - 34.9K bytes - Click Count (0)