Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 893 for isValid (0.07 sec)

  1. src/test/java/jcifs/smb/RequestParamTest.java

        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
        @EmptySource
        @DisplayName("valueOf(\"\") throws IllegalArgumentException for empty input")
        void valueOfRejectsEmpty(String empty) {
            assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(empty));
        }
    
        // Invalid: null is not allowed for valueOf
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. cmd/object-lambda-handlers.go

    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    	}
    
    	if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 {
    		tokenErr := errorCodes.ToAPIErr(ErrInvalidToken)
    		tokenErr.Description = "The request token included in the request is invalid"
    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file with invalid IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_invalid").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168 HOST1\n"); // Invalid IP - missing 2 octets (should be skipped)
                writer.write("192.168.1.100 VALIDHOST\n");
                writer.write("not.an.ip HOST2\n"); // Invalid IP format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                        break;
                    default:
                        throw new SmbException("Invalid operation for " + svc + " service: " + request);
                    }
                    break;
                default:
                    throw new SmbException("Invalid operation for " + svc + " service" + request);
                }
            }
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top