Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 550 for INVALID (0.09 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() throws Exception {
                // Given - Invalid structure size
                byte[] buffer = new byte[16];
                buffer[0] = 0x0F; // Invalid size (15 instead of 16)
                buffer[1] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

            case ERROR_INVALID_PARAMETER:
                return "Invalid parameter";
            case ERROR_INSUFFICIENT_BUFFER:
                return "Insufficient buffer";
            case ERROR_NOT_SUPPORTED:
                return "Operation not supported";
            case ERROR_ACCESS_DENIED:
                return "Access denied";
            case ERROR_INVALID_STATE:
                return "Invalid state";
            default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            boolean result = transport.hasCapability(cap);
    
            assertEquals(cap >= 0, result);
            verify(transport, times(1)).hasCapability(cap);
        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
        @DisplayName("hasCapability throws SmbException when underlying error occurs")
        void hasCapability_throws() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertTrue(true);
        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
        void testInvalidProtocolIdLength() {
            // Protocol ID is a constant in transform header, not settable
            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createApplicationType(String subtype) {
        return create(APPLICATION_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "audio" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createAudioType(String subtype) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertNull(entry.name.buffer);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid conformance")
            void testDecodeInvalidConformance() throws NdrException {
                // Given: Mocked buffer data with invalid conformance
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid parameter");
            RuntimeException middleCause = new RuntimeException("Processing failed", innerCause);
            ThemeException exception = new ThemeException("Theme operation failed", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

            keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey);
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(-1, keys, TEST_DATA)); // Invalid type
            assertEquals("Invalid MAC algorithm", e.getMessage());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbPipeHandle.java

         *
         * @return whether the FD is open and valid
         */
        boolean isOpen();
    
        /**
         * Tests whether this file descriptor was previously open but has become invalid.
         *
         * @return whether the FD was previously open but became invalid
         */
        boolean isStale();
    
        /**
         * Unwraps this handle to the specified type.
         *
         * @param <T> the type to unwrap to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          "SETTINGS",
          "PUSH_PROMISE",
          "PING",
          "GOAWAY",
          "WINDOW_UPDATE",
          "CONTINUATION",
        )
    
      /**
       * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations are
       * represented in binary.
       */
      private val FLAGS = arrayOfNulls<String>(0x40) // Highest bit flag is 0x20.
      private val BINARY =
        Array(256) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top