Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for unneeded (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle null buffer")
            void testReadBytesWithNullBuffer() {
                // This is expected behavior for echo request - no reading needed
                assertDoesNotThrow(() -> {
                    int result = echoRequest.readBytesWireFormat(null, 0);
                    assertEquals(0, result);
                });
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        encodingMap.put("/" + encInfos[0] + "/", encInfos[1]);
                    }
                }
            }
        }
    
        /**
         * Processes requests and applies character encoding conversion if needed.
         * Checks if the request path matches any configured encoding rule and
         * performs URL redirection with proper parameter encoding.
         *
         * @param request the servlet request to process
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * Compares this CharMappingItem with another object for equality.
         * Two CharMappingItem objects are equal if they have the same inputs and output.
         * Note: inputs arrays are sorted in the constructor, so no sorting is needed here.
         *
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(final Object obj) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

        @Mock
        private sid_t mockSidT;
    
        private MsrpcLookupSids lookupSids;
        private jcifs.SID[] testSids;
    
        @BeforeEach
        void setUp() {
            // Setup is minimal - mocks are configured per test as needed
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertArrayEquals(newFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test edge case with minimum buffer size")
        void testMinimumBufferSize() {
            byte[] buffer = new byte[24]; // Exact size needed
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                rem = 8 + rem;
            }
            return size + 8 - rem;
        }
    
        /**
         * Calculates padding needed to align to 8-byte boundary from header start.
         *
         * @param dstIndex the current destination index
         * @return number of padding bytes needed
         */
        protected final int pad8(final int dstIndex) {
            final int fromHdr = dstIndex - this.headerStart;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/FessBoot.java

         * Handles SSL configuration and cookie settings for the Tomcat server.
         */
        static class FessBootPropsTranslator extends BootPropsTranslator {
            /**
             * Sets up server configuration if needed, including SSL and cookie settings.
             *
             * @param logger the boot logger for logging configuration messages
             * @param server the Tomcat server instance
             * @param connector the Tomcat connector
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         */
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
    
        /**
         * Check if cache needs refresh
         *
         * @return true if refresh needed
         */
        public boolean needsRefresh() {
            return isExpired() || hasChanges;
        }
    
        /**
         * Mark the cache as complete (full enumeration cached)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

     *
     * Provides compression using Java's built-in deflate algorithm as a base
     * for LZ77-based compression. For production use, more specialized
     * implementations of LZNT1 and Pattern_V1 algorithms would be needed.
     */
    public class DefaultCompressionService implements CompressionService {
    
        private static final Logger log = LoggerFactory.getLogger(DefaultCompressionService.class);
    
        // Configuration constants
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        // KerberosCredentials requires mocking the constructor of KerberosCredentials,
        // which is not possible with standard Mockito. A tool like PowerMock would be needed.
    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