Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 1,931 for error (0.01 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

         * Otherwise, a ByteArrayInputStream is returned to read the data from memory.
         *
         * @return an InputStream to read the cached content
         * @throws IOException if an I/O error occurs while creating the InputStream
         */
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        }
    
        // Happy path: message + cause constructor should chain cause and set unsuccessful status
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "error", "detailed message" })
        @DisplayName("Message+Cause ctor: propagates message/cause and unsuccessful status")
        void messageAndCauseConstructor_setsMessageCause_andUnsuccessfulStatus(String msg) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructorWithString_longMessage() {
            // Test with a long message
            String message = "This is a very long error message that describes in detail why the job was not found. "
                    + "The job with identifier XYZ123 was expected to be in the system but could not be located "
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                        val source = responseBody.source()
                        if (source.isOpen) {
                          source.skipAll()
                        }
                        return peek() ?: error("null trailers after exhausting response body?!")
                      }
                    },
                  ).build()
              }
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        this.equivalenceMock = new MockEquivalence();
        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        this.equivalenceMock = new MockEquivalence();
        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if an error occurs during decoding
         *
         * @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
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

            baos.write(new byte[1]); // Make it > 8 bytes
            byte[] pacData = baos.toByteArray();
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
            // The error could be about version or missing buffers
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testUnalignedBuffer() throws IOException {
            // Create PAC with unaligned buffer offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
         * @param material The raw Type-1 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type1Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the supplied authentication domain.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      }
    
      @Test
      fun setResponseMockReason() {
        val reasons =
          arrayOf<String?>(
            "Mock Response",
            "Informational",
            "OK",
            "Redirection",
            "Client Error",
            "Server Error",
            "Mock Response",
          )
        for (i in 0..599) {
          val builder = MockResponse.Builder().code(i)
          val expectedReason = reasons[i / 100]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top