Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 576 for INVALID (0.21 sec)

  1. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            }
        }
    
        public void test_install_withInvalidZip() throws IOException {
            // Create an invalid zip file
            Path jarPath = tempDir.resolve("invalid.jar");
            Files.write(jarPath, "not a zip file".getBytes());
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

        private int userFlags;
    
        /**
         * Constructs a PAC logon information object from raw PAC data.
         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                }
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * @return an array containing [hour, minute]
         * @throws FessSystemException if the time format is invalid
         */
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/WinError.java

        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
        /** No more connections can be made to this remote computer */
        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
        int ERROR_NO_DATA = 232;
        /** No process is on the other end of the pipe */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/WinError.java

        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
        /** No more connections can be made to this remote computer */
        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
        int ERROR_NO_DATA = 232;
        /** No process is on the other end of the pipe */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
            // Arrange: first entry is invalid (null or empty), second is valid
            setupParentForUrlCreation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/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.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
        void testIsValid_whenInvalid() {
            when(smbFileHandle.isValid()).thenReturn(false);
            assertFalse(smbFileHandle.isValid(), "isValid should return false when the handle is invalid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test close(long) successfully.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Create a path that's guaranteed to be invalid
            final File invalidParent = System.getProperty("os.name", "linux").toLowerCase().startsWith("windows")
                    ? new File("Q:\\invalid\\path\\that\\does\\not\\exist")
                    : new File("/invalid/path/that/does/not/exist");
            final File outputFile = new File(invalidParent, "output.txt");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top