Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,248 for Invalid (0.05 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                final int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
                if (avId == AvPair.MsvAvEOL) {
                    if (avLen != 0) {
                        throw new CIFSException("Invalid avLen for AvEOL");
                    }
                    foundEnd = true;
                    break;
                }
    
                final byte[] raw = new byte[avLen];
                System.arraycopy(data, pos, raw, 0, avLen);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.hashCode();
        }
    
        /**
         * Marks the current position in this input stream.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
            "Byte array has invalid length for an IPv4 address: %s != 4.",
            bytes.length);
    
        // Given a 4-byte array, this cast should always succeed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *
         * @return true if parameters are valid
         */
        private boolean validateEncryptionParameters() {
            // Validate cipher ID
            if (cipherId != CIPHER_AES_128_CCM && cipherId != CIPHER_AES_128_GCM && cipherId != CIPHER_AES_256_CCM
                    && cipherId != CIPHER_AES_256_GCM) {
                log.error("Invalid cipher ID: {}", cipherId);
                return false;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            try {
                accessTokenHelper.getAccessTokenFromRequest(req);
                fail();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        public void test_getAvailableArtifacts_exception() {
            PluginHelper errorHelper = new PluginHelper() {
                @Override
                protected String[] getRepositories() {
                    return new String[] { "invalid-repo" };
                }
    
                @Override
                protected String getRepositoryContent(String url) {
                    throw new RuntimeException("Repository error");
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "System error occurred";
            Exception expectedCause = new IllegalStateException("Invalid state");
    
            try {
                throw new FessSystemException(expectedMessage, expectedCause);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
                throw new SmbException("The requested list operations is invalid: " + locator.getURL());
            }
            this.response = new NetServerEnum2Response(th.getConfig());
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top