Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 915 for isInvalid (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/hash/checksum_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Skip invalid cases where SHA1 or SHA256 is used with full object
    			if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj {
    				// Validate that NewChecksumType correctly marks these as invalid
    				alg := tt.checksum.String()
    				typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 })
        void testReadBytesWireFormatInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
            int offset = 0;
    
            // Write invalid structure size
            SMBUtil.writeInt2(structureSize, buffer, offset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. internal/event/target/postgresql.go

    		// Some fields need to be specified when ConnectionString is unspecified
    		if p.Port == "" {
    			return fmt.Errorf("unspecified port")
    		}
    		if _, err := strconv.Atoi(p.Port); err != nil {
    			return fmt.Errorf("invalid port")
    		}
    		if p.Database == "" {
    			return fmt.Errorf("database unspecified")
    		}
    	}
    
    	if p.QueueDir != "" {
    		if !filepath.IsAbs(p.QueueDir) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/pager/UserPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * Returns the default page size if not set or invalid.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If page size is not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            Throwable cause = new IllegalArgumentException("Invalid argument");
            GsaConfigException exception = new GsaConfigException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Invalid argument", exception.getCause().getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SID.java

         */
        int SID_TYPE_WKN_GRP = 5;
    
        /**
         * SID type indicating a deleted account.
         */
        int SID_TYPE_DELETED = 6;
    
        /**
         * SID type indicating an invalid SID.
         */
        int SID_TYPE_INVALID = 7;
    
        /**
         * SID type indicating an unknown account type.
         */
        int SID_TYPE_UNKNOWN = 8;
    
        /**
         * Gets the domain SID for this SID.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
        // Edge / invalid: null referral or empty/blank path
        @Test
        @DisplayName("handleDFSReferral handles null referral and empty path")
        void handleDfsReferralNullAndEmpty() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

        }
    
        @Test
        void testDeployBuildPomWithInvalidStringValue() {
            // Test that invalid string values default to false (Boolean.parseBoolean behavior)
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "invalid");
            assertFalse(Features.deployBuildPom(properties));
        }
    
        @Test
        void testDeployBuildPomWithEmptyString() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 04 19:42:23 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse(".css-only");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
Back to Top