Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 763 for context_a (0.05 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.enc_ndr_short(0); // auth length
            buf.enc_ndr_long(0); // call_id
    
            // Response body
            buf.enc_ndr_long(4); // alloc_hint
            buf.enc_ndr_short(0); // context_id
            buf.enc_ndr_short(0); // cancel_count
            buf.enc_ndr_small(0xAB); // test data for decode_out
    
            // Decode
            buf.setIndex(0);
            TestMessage m = new TestMessage();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. tests/test_dependency_contextvars.py

    
    def test_dependency_contextvars():
        """
        Check that custom middlewares don't affect the contextvar context for dependencies.
    
        The code before yield and the code after yield should be run in the same contextvar
        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
        response = client.get("/user")
        assert response.json() == "deadpond"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the create contexts for this request
         * @param contexts the create contexts to set
         */
        public void setCreateContexts(CreateContextRequest[] contexts) {
            this.createContexts = contexts;
        }
    
        /**
         * Add a create context to this request
         * @param context the create context to add
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/CIFSContext.java

     */
    package jcifs;
    
    import java.net.URLStreamHandler;
    
    /**
     * Encapsulation of client context
     *
     *
     * A context holds the client configuration, shared services as well as the active credentials.
     *
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/PreauthIntegrityService.java

                throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId);
            }
    
            try {
                byte[] newHash = calculateHash(context.getCurrentHash(), messageData, context.getHashAlgorithm());
                context.updateHash(newHash);
    
                log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Context with share and at root
            SmbResourceLocatorImpl base2 = locator("smb://server/share/");
            SmbResourceLocator context2 = mock(SmbResourceLocator.class);
            when(context2.getShare()).thenReturn("share");
            when(context2.getDfsReferral()).thenReturn(null);
            when(context2.getUNCPath()).thenReturn("\\");
            when(context2.getURLPath()).thenReturn("/share/");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

    import jcifs.Decodable;
    
    /**
     * SMB2 Negotiate Context response data structure.
     *
     * This class represents negotiate contexts returned by the server
     * in response to negotiate context requests.
     *
     * @author mbechler
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * Gets the negotiate context type.
         *
         * @return the SMB2 negotiate context type
         */
        int getContextType();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de Contexto de la Plantilla { #template-context-values }
    
    En el HTML que contiene:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...mostrará el `id` tomado del `dict` de "contexto" que pasaste:
    
    ```Python
    {"id": id}
    ```
    
    Por ejemplo, con un ID de `42`, esto se renderizaría como:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease key generation and management
    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                this.createContexts = contexts.toArray(new CreateContextResponse[0]);
            }
    
            if (log.isDebugEnabled()) {
                log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId));
            }
    
            return bufferIndex - start;
        }
    
        /**
         * Factory method to create appropriate context response based on context name
         * @param nameBytes context name bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top