Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,513 for invalid (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 10 (invalid, should be 9)
            SMBUtil.writeInt2(10, buffer, bufferIndex);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
                return spnegoToken;
            } catch (final IOException e) {
                throw new SpnegoException("Invalid token");
            }
        }
    
        @Override
        public boolean supportsIntegrity() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

                assertTrue(s);
            }
        }
    
        @DisplayName("Test exception handling for invalid information levels")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE })
        void testInvalidInformationLevels(int invalidLevel) {
            // Skip valid levels
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcError.java

         * Cannot perform operation fault code
         */
        int DCERPC_FAULT_CANT_PERFORM = 0x000006D8;
        /**
         * NDR encoding error fault code
         */
        int DCERPC_FAULT_NDR = 0x000006F7;
        /**
         * Invalid tag fault code
         */
        int DCERPC_FAULT_INVALID_TAG = 0x1C000006;
        /**
         * Context mismatch fault code
         */
        int DCERPC_FAULT_CONTEXT_MISMATCH = 0x1C00001A;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. .github/labels.json

          "colour": "#43952A",
          "description": "feature request"
        },
        "invalid_question": {
          "name": "type:invalid question",
          "colour": "#CF2E1F",
          "description": "invalid question (not related to GORM or described in document or not enough information provided)"
        },
        "with_playground": {
          "name": "type:with reproduction steps",
          "colour": "#00ff00",
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 19 03:49:03 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         */
        public boolean isValid(final InputStream in) {
            return isValid(in, true);
        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
         * @param recursive whether to recursively check compressed files
         * @return true if the stream contains valid sitemap data, false otherwise
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  8. tests/test_openapi_schema_type.py

        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
        """Test that Schema raises ValueError for invalid type values."""
        with pytest.raises(ValueError, match="2 validation errors for Schema"):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  9. src/main/assemblies/files/service.bat

    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    if errorlevel 1 (
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            // Test with an invalid Kerberos version
            byte[] invalidVersionToken = createTestTicketBytes(99, SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(invalidVersionToken, (byte) 0, keys));
            assertTrue(e.getMessage().startsWith("Invalid kerberos version"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top