Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,254 for invalid (0.03 sec)

  1. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Test all s3 supported auth types.
    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    		authT authType
    		pass  bool
    	}
    	// List of all valid and invalid test cases.
    	testCases := []testCase{
    		// Test 1 - supported s3 type anonymous.
    		{
    			authT: authTypeAnonymous,
    			pass:  true,
    		},
    		// Test 2 - supported s3 type presigned.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
        @DisplayName("Should handle invalid offset and length parameters")
        void testInvalidParameters() {
            // Given
            byte[] data = createTestData(32);
    
            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. cmd/background-heal-ops.go

    	if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" {
    		if numHealers, err := strconv.Atoi(envHealWorkers); err != nil {
    			bugLogIf(context.Background(), fmt.Errorf("invalid _MINIO_HEAL_WORKERS value: %w", err))
    		} else {
    			workers = numHealers
    		}
    	}
    
    	if workers == 0 {
    		workers = 4
    	}
    
    	return &healRoutine{
    		tasks:   make(chan healTask),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. cmd/jwt.go

    		if claims.AccessKey != globalActiveCred.AccessKey {
    			u, ok := globalIAMSys.GetUser(req.Context(), claims.AccessKey)
    			if !ok {
    				// Credentials will be invalid but for disabled
    				// return a different error in such a scenario.
    				if u.Credentials.Status == auth.AccountOff {
    					return nil, errAccessKeyDisabled
    				}
    				return nil, errInvalidAccessKeyID
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. gradlew.bat

    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 26 02:17:22 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if (!tktvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION))) {
                        throw new PACDecodingException("Invalid kerberos version " + tktvno);
                    }
                    break;
                case 1:// Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

        )
      }
    
      @Test fun mixedCasePunycode() {
        testDecodeOnly(
          unicode = "ليهمابتكلموشعربي؟",
          punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn",
        )
      }
    
      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @Test
        @DisplayName("toString contains class name and message when provided")
        void toString_containsClassName_and_Message() {
            // Arrange
            String msg = "signature invalid";
            SMBSignatureValidationException ex = new SMBSignatureValidationException(msg);
    
            // Act
            String s = ex.toString();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertEquals(WitnessEventType.CLIENT_MOVE, WitnessEventType.valueOf("CLIENT_MOVE"));
        }
    
        @Test
        void testInvalidEnumValueOf() {
            // Test that invalid valueOf throws exception
            assertThrows(IllegalArgumentException.class, () -> {
                WitnessServiceType.valueOf("INVALID_TYPE");
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. docs/extensions/s3zip/README.md

    - ListObjectsV2 API calls must be used to list zip file content.
    - Range requests for GetObject/HeadObject for individual files from zip is not supported.
    - Names inside ZIP files are kept unmodified, but some may lead to invalid paths. See [Object key naming guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) on safe names.
    - This API behavior is limited for following **read** operations on files inside a zip archive:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 10 16:28:27 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top