Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 856 for isInvalid (0.05 sec)

  1. cmd/object-multipart-handlers.go

    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	// Validate storage class metadata if present
    	if sc := r.Header.Get(xhttp.AmzStorageClass); sc != "" {
    		if !storageclass.IsValid(sc) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidStorageClass), r.URL)
    			return
    		}
    	}
    
    	encMetadata := map[string]string{}
    
    	if crypto.Requested(r.Header) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @Test
        void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
            // Test with unsupported information level
            response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level
    
            byte[] buffer = new byte[100];
    
            // Set dataCount using reflection
            setDataCount(response, 20);
    
            int bytesRead = response.readDataWireFormat(buffer, 0, 20);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. cmd/prepare-storage.go

    				} else {
    					logger.Fatal(errInvalidArgument, "Unable to use the drive %s: %v", endpoints[i], err)
    				}
    			}
    		}
    	}
    
    	// Pre-emptively check if one of the formatted disks
    	// is invalid. This function returns success for the
    	// most part unless one of the formats is not consistent
    	// with expected Erasure format. For example if a user is
    	// trying to pool FS backend into an Erasure set.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  4. docs/changelogs/changelog_1x.md

     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. cmd/peer-s3-server.go

    	errs := g.Wait()
    
    	// Initialize heal result info
    	res = madmin.HealResultItem{
    		Type:      madmin.HealItemBucket,
    		Bucket:    bucket,
    		DiskCount: len(localDrives),
    		SetCount:  -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	// mutate only if not a dry-run
    	if opts.DryRun {
    		return res, nil
    	}
    
    	for i := range beforeState {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. docs/sts/web-identity.go

    				oauth2Token, err := config.Exchange(ctx, r.URL.Query().Get("code"))
    				if err != nil {
    					return nil, err
    				}
    				if !oauth2Token.Valid() {
    					return nil, errors.New("invalid token")
    				}
    
    				return &credentials.WebIdentityToken{
    					Token:  oauth2Token.Extra("id_token").(string),
    					Expiry: int(oauth2Token.Expiry.Sub(time.Now().UTC()).Seconds()),
    				}, nil
    			}
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. mvnw.cmd

    echo location of your Java installation. >&2
    echo. >&2
    goto error
    
    :OkJHome
    if exist "%JAVA_HOME%\bin\java.exe" goto init
    
    echo. >&2
    echo Error: JAVA_HOME is set to an invalid directory. >&2
    echo JAVA_HOME = "%JAVA_HOME%" >&2
    echo Please set the JAVA_HOME variable in your environment to match the >&2
    echo location of your Java installation. >&2
    echo. >&2
    goto error
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertNotNull(resp.getErrorData(), "Error data should be present");
            assertArrayEquals(err, resp.getErrorData());
        }
    
        @Test
        @DisplayName("Invalid structure size should throw during decode")
        void testInvalidStructureSizeThrows() {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[128];
            int headerStart = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            ServerMessageBlock request = new SmbComDelete("testfile.txt");
            ServerMessageBlock response = new SmbComBlankResponse();
    
            // Should throw exception for invalid operation
            assertThrows(SmbException.class, () -> tree.send(request, response));
        }
    
        @Test
        void testTreeConnectWithWaitInterrupted() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
        void nullReference_throwsNPE() {
            // Arrange
            FileEntry e = null;
            // Act & Assert: demonstrate invalid usage results in NPE
            assertThrows(NullPointerException.class, () -> e.getName());
        }
    
        @Nested
        @DisplayName("Mockito stubbing for edge cases")
        class MockitoEdgeCases {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top