Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 892 for isInvalid (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        }
    
        /**
         * Test adding invalid regex include pattern
         */
        public void test_addInclude_invalidRegex() {
            String sessionId = "test-session-004";
            urlFilter.init(sessionId);
    
            // Invalid regex pattern should be handled gracefully
            urlFilter.addInclude(".*[invalid");
            urlFilter.addInclude("https://valid.com/.*");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/UUIDTest.java

            }
    
            @Test
            @DisplayName("Constructor with UUID string containing invalid character should throw IllegalArgumentException")
            void testConstructorWithStringInvalidCharacter() {
                // Arrange
                String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid
    
                // Act & Assert
                assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
                    "Should throw exception when length < 24");
    
            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test decode throws exception with zero length")
        void testDecodeThrowsExceptionWithZeroLength() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. cmd/dummy-data-generator_test.go

    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            }
        }
    
        public void test_install_withInvalidZip() throws IOException {
            // Create an invalid zip file
            Path jarPath = tempDir.resolve("invalid.jar");
            Files.write(jarPath, "not a zip file".getBytes());
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacLogonInfo.java

        private int userFlags;
    
        /**
         * Constructs a PAC logon information object from raw PAC data.
         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                }
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getLastAccessedTime(): Long = delegate!!.lastAccessedTime
    
      override fun invalidate() {
        delegate!!.invalidate()
      }
    
      override fun isValid(): Boolean = delegate!!.isValid
    
      override fun putValue(
        s: String,
        o: Any,
      ) {
        delegate!!.putValue(s, o)
      }
    
      override fun getValue(s: String): Any = delegate!!.getValue(s)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. configure.py

        # Check if the path is valid
        if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK):
          break
        elif not os.path.exists(python_bin_path):
          print('Invalid python path: {} cannot be found.'.format(python_bin_path))
        else:
          print('{} is not executable.  Is it the python binary?'.format(
              python_bin_path))
        environ_cp['PYTHON_BIN_PATH'] = ''
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top