Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for malformed (0.04 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper.get(url));
        }
    
        @Test
        void testGetSmbResource_MalformedURLException() {
            // Test get(String url) with a malformed URL
            String malformedUrl = "invalid-url";
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt

    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
      override fun contentLength(): Long = contentLength
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

         * @throws PACDecodingException if the string structure is malformed
         */
        public PacUnicodeString readUnicodeString() throws IOException, PACDecodingException {
            final short length = readShort();
            final short maxLength = readShort();
            final int pointer = readInt();
    
            if (maxLength < length) {
                throw new PACDecodingException("Malformed string in PAC");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @Test
        @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)")
        void byteArrayConstructor_malformedDER_throwsWrapped() {
            // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content)
            byte[] malformed = new byte[] { 0x30, 0x02, 0x01 };
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

    /**
     * Action class for handling HTTP 400 Bad Request error pages.
     * This action displays error pages when a client request contains
     * invalid syntax or cannot be fulfilled due to malformed request parameters.
     */
    public class ErrorBadrequrestAction extends FessSearchAction {
    
        /**
         * Default constructor for ErrorBadrequrestAction.
         */
        public ErrorBadrequrestAction() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                if (derToken.getTagClass() != BERTags.APPLICATION) {
                    throw new PACDecodingException("Malformed kerberos ticket");
                }
                stream.close();
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

    import org.lastaflute.web.validation.VaMessenger;
    
    /**
     * Exception thrown when an invalid query is encountered.
     * This exception is typically used in search contexts where a provided
     * query is malformed, contains invalid syntax, or violates query constraints.
     */
    public class InvalidQueryException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException
         *             if the response data is malformed
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            // Test version patterns with different separators
            String[] args = new String[] { "11:-Dprop=value:with:colons", "8-:-Xbootclasspath/a:/path/to/jar", "malformed11:-invalid", // Should not match pattern
                    "11-malformed:-invalid" // Should not match pattern
            };
    
            String[] result = JvmUtil.filterJvmOptions(args);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
      /** Returns the URLs in the class path. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top