Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 558 for isInvalid (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF;
                if (size < 33 || 4 + size > sbuf.length) {
                    throw new IOException("Invalid payload size: " + size);
                }
                readn(in, sbuf, 4 + 32, size - 32);
                resp.decode(sbuf, 4);
    
                if (LogStream.level >= 4) {
                    log.println(resp);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

                    try {
                        return Charset.forName(encodingParam);
                    } catch (final Exception e) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Invalid encoding: {}, using default: {}", encodingParam, encoding, e);
                        }
                    }
                }
            }
            return Charset.forName(encoding);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                return StringUtil.EMPTY;
            }
            try {
                return MimeUtility.decodeText(value);
            } catch (final UnsupportedEncodingException e) {
                logger.warn("Invalid encoding.", e);
                return StringUtil.EMPTY;
            }
        }
    
        /**
         * Gets the mail properties used for email processing.
         *
         * @return the mail properties
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            verify(dest, times(1)).getAttributes();
            verify(dest, never()).setPathInformation(anyInt(), anyLong(), anyLong(), anyLong());
        }
    
        @Test
        @DisplayName("openCopyTargetFile throws NPE on null dest (invalid input)")
        void openCopyTargetFile_nullDest_throwsNPE() {
            // Arrange
            SmbFile dest = null;
    
            // Act + Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

       *     minLength}
       */
      public static char[] ensureCapacity(char[] 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message);
        }
    
        @Test
        @DisplayName("Test verify method returns false for invalid signature")
        void testVerifyReturnsFalse() {
            // Arrange
            int offset = 0;
            int length = testData.length;
            int extraPad = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", body.q, e);
                }
                throwValidationErrorApi(e.getMessageCode());
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid offset: {}", body.offset, e);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top