Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 595 for validate (0.08 sec)

  1. cmd/bucket-replication-handlers.go

    	if apiErr != noError {
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// Validate the received bucket replication config
    	if err = replicationConfig.Validate(bucket, sameTarget); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	configData, err := xml.Marshal(replicationConfig)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

         * @return HTML response for the edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // validateAdminReq will validate request against and return whether it is allowed.
    // If any of the supplied actions are allowed it will be successful.
    // If nil ObjectLayer is returned, the operation is not permitted.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ////
    
    /// info
    
    In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`.
    
    ///
    
    /// tip
    
    Here we reuse the same Pydantic model.
    
    But the same way, we could have validated it in some other way.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            @Override
            public String getName() {
                return "TestGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                // Validate inputs
                if (thumbnailId == null || thumbnailId.isEmpty() || outputFile == null) {
                    return false;
                }
    
                // Check if parent directory is writable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

         * Show the edit page.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            badWordService.getBadWord(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Validate all the ListObjects query arguments, returns an APIErrorCode
    // if one of the args do not meet the required conditions.
    // Special conditions required by MinIO server are as below
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top