Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,148 for Handler (0.09 sec)

  1. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                this.output.close();
                this.output = null;
            }
    
            try {
                if (wasOpen) {
                    this.handle.close();
                } else if (this.handle != null) {
                    this.handle.release();
                }
                this.handle = null;
            } finally {
                if (this.treeHandle != null) {
                    this.treeHandle.release();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertEquals(28, bytesRead); // Header + one referral structure
                assertNotNull(response.getDfsResponse());
            }
    
            @Test
            @DisplayName("Should handle readDataWireFormat with offset")
            void testReadDataWireFormatWithOffset() {
                byte[] fullBuffer = new byte[200];
                byte[] dfsData = createValidDfsReferralBuffer();
                int offset = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/wsgi.md

    And then mount that under a path.
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *}
    
    ## Check it { #check-it }
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask:
    
    ```txt
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Then
            assertEquals(maxMid, request.getMid(), "Should handle maximum MID");
            assertEquals(maxAsyncId, request.getAsyncId(), "Should handle maximum AsyncId");
            assertEquals(maxCredits, request.getCredit(), "Should handle maximum credits");
            assertEquals(maxTreeId, request.getTreeId(), "Should handle maximum tree ID");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test PRINT share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT, response.getShareType(), "Should handle PRINT share type");
            }
    
            @Test
            @DisplayName("Should handle share flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java

    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation.
     */
    public class MsrpcLsarClose extends LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param handle the policy handle to close
         */
        public MsrpcLsarClose(final policy_handle handle) {
            super(handle);
            this.ptype = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

            synchronized (this.sidCache) {
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc)) {
                    final SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030);
                    final SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java

     *
     * This class implements the SAMR OpenDomain operation for obtaining
     * a handle to a specific domain in the Security Account Manager.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
         * Creates a new request to open a domain handle.
         *
         * @param handle the SAM policy handle
         * @param access the desired access rights
         * @param sid the security identifier of the domain
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top