Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for checking (0.38 sec)

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

            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            request.setFileId(fileId);
    
            // Verify by writing to buffer and checking the fileId position
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // FileId is at offset 8 in the request structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    connectionsRemoved.get());
        }
    
        // Enhanced health checking methods
    
        /**
         * Start proactive health checking
         */
        private void startProactiveHealthChecking() {
            if (proactiveHealthCheckEnabled && healthCheckTask == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningOptional() throws SmbException;
    
        /**
         * Checks if message signing is mandatory for this connection.
         *
         * @return whether signatures are enforced from either side
         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningEnforced() throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ServerResponseValidator.java

    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
     * - Malformed response detection
     */
    public class ServerResponseValidator {
    
        private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
            // Assert object_attributes fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes);
            assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    | SecurityInfo.SACL_SECURITY_INFO;
            assertEquals(0xF, allStandard);
        }
    
        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         *
         * @param searchRequestParams The search request parameters
         * @param data The search render data to populate with results
         * @param userBean Optional user information for permission checking
         */
        public void search(final SearchRequestParams searchRequestParams, final SearchRenderData data,
                final OptionalThing<FessUserBean> userBean) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            final Smb2SigningDigest dgst = getDigest();
            if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) {
                // MID checking not required here as we only read responses for which we're waiting
                // We only read what we were waiting for, so first guess would be no.
                final boolean verify = dgst.verify(buffer, i, size, 0, this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

     * crawling and indexing documents, including incremental crawling capabilities, content
     * modification checking, and integration with the Fess search engine backend.
     *
     * <p>Key features include:</p>
     * <ul>
     * <li>Incremental crawling support with last-modified timestamp checking</li>
     * <li>Document expiration handling</li>
     * <li>Child URL extraction and queueing</li>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * Checks if the server has the specified capability
         * @param cap the capability flag to check
         * @return whether the capability is present
         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top