Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 305 for resMap (0.06 seconds)

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

            @Test
            @DisplayName("Should construct with config only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
            @Test
            @DisplayName("Should construct with config and command")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/request-files.md

    And the same way as before, you can use `File()` to set additional parameters, even for `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial003_an_py39.py hl[11,18:20] *}
    
    ## Recap { #recap }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/first-steps.md

    ✅ Deployment successful!
    
    🐔 Ready the chicken! Your app is ready at https://myapp.fastapicloud.dev
    ```
    
    </div>
    
    That's it! Now you can access your app at that URL. ✨
    
    ## Recap, step by step { #recap-step-by-step }
    
    ### Step 1: import `FastAPI` { #step-1-import-fastapi }
    
    {* ../../docs_src/first_steps/tutorial001_py39.py hl[1] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse() {
                @Override
                int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
                    return 33;
                }
            };
            // Set command to NT_CREATE_ANDX and mark extended
            resp.command = ServerMessageBlock.SMB_COM_NT_CREATE_ANDX;
            resp.isExtended = true;
    
            byte[] buf = new byte[256];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. internal/config/policy/plugin/config.go

    	if o.args.AuthToken != "" {
    		req.Header.Set("Authorization", o.args.AuthToken)
    	}
    
    	resp, err := o.client.Do(req)
    	if err != nil {
    		return false, err
    	}
    	defer o.args.CloseRespFn(resp.Body)
    
    	// Read the body to be saved later.
    	opaRespBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                    customizeCreate(req, resp);
    
                    h.send(req, resp);
                    info = resp;
                    fileSize = resp.getEndOfFile();
                    this.fileLocator.updateType(resp.getFileType());
                    fh = new SmbFileHandleImpl(config, resp.getFid(), h, uncPath, flags, access, attrs, options, resp.getEndOfFile());
                } else {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. internal/http/close.go

    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/body-fields.md

    Поскольку эти ключи не являются обязательной частью спецификации OpenAPI, некоторые инструменты OpenAPI, например, [валидатор OpenAPI](https://validator.swagger.io/), могут не работать с вашей сгенерированной схемой.
    
    ///
    
    ## Резюме { #recap }
    
    Вы можете использовать функцию `Field` из Pydantic, чтобы задавать дополнительную валидацию и метаданные для атрибутов модели.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // prepare a dummy request/response using a real SMB block type
            ServerMessageBlock req = new SmbComOpenAndX("test.txt", 0, 0, null);
            ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null);
            resp.received = true;
    
            session.transport(); // initialise transport
    
            // Mock the sessionSetup behavior to avoid actual network calls
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/extra-models.md

    In this case, you can use `typing.Dict` (or just `dict` in Python 3.9 and above):
    
    {* ../../docs_src/extra_models/tutorial005_py39.py hl[6] *}
    
    ## Recap { #recap }
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top