Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 893 for isValid (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

        /**
         * Retrieves an integer value from system properties with a default fallback.
         *
         * @param key the property key to look up
         * @param defaultValue the default value if the property is not found or invalid
         * @return the integer value or default value
         */
        protected Integer getDefaultInteger(final String key, final Integer defaultValue) {
            final String value = systemProperties.getProperty(key);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len);
            }
    
            this.timeout100Ns = SMBUtil.readInt4(buffer, bufferIndex) & 0xFFFFFFFFL; // Timeout (4 bytes, 100-ns intervals, unsigned)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Booleans.java

       *     minLength}
       */
      public static boolean[] ensureCapacity(boolean[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Booleans.java

       *     minLength}
       */
      public static boolean[] ensureCapacity(boolean[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
            assertEquals(context.getFlags(), decodedContext.getFlags());
        }
    
        @Test
        @DisplayName("Test invalid buffer size for decoding")
        public void testInvalidBufferSize() {
            byte[] smallBuffer = new byte[4]; // Too small
    
            assertThrows(SMBProtocolDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException {
            dos.writeLong(Long.reverseBytes(value));
        }
    
        @Test
        @DisplayName("Test parsing with invalid data size")
        void testInvalidDataSize() {
            byte[] tooSmall = new byte[10];
    
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/sftp-server_test.go

    	}
    
    	newSSHCon := newSSHConnMock(accessKey + "=svc")
    	_, err = sshPasswordAuth(newSSHCon, []byte("invalid"))
    	if err == nil || !errors.Is(err, errAuthentication) {
    		c.Fatalf("expected err(%s) but got (%s)", errAuthentication, err)
    	}
    
    	newSSHCon = newSSHConnMock(accessKey)
    	_, err = sshPasswordAuth(newSSHCon, []byte("invalid"))
    	if err == nil || !errors.Is(err, errAuthentication) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

        /**
         * Creates and configures a DOM parser with the specified features and properties.
         *
         * @return a configured DOM parser instance
         * @throws CrawlerSystemException if the parser configuration is invalid
         */
        protected DOMParser getDomParser() {
            final DOMParser parser = new DOMParser();
            try {
                // feature
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java

            aggregationAggregationBuilderList.add(builder);
        }
    
        // ===================================================================================
        //                                                                 Invalid Aggregation
        //                                                                       =============
        protected void checkEsInvalidAggregation(String name, Object value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top