Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 965 for call (0.06 sec)

  1. docs/en/docs/tutorial/debugging.md

    # Debugging
    
    You can connect the debugger in your editor, for example with Visual Studio Code or PyCharm.
    
    ## Call `uvicorn`
    
    In your FastAPI application, import and run `uvicorn` directly:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### About `__name__ == "__main__"`
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    The key factor is that a dependency should be a "callable".
    
    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		if recV4.Code != testCase.expectedRespStatus {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. doc/next/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    ### Cgo {#cgo}
    
    Cgo currently refuses to compile calls to a C function which has multiple
    incompatible declarations. For instance, if `f` is declared as both `void f(int)`
    and `void f(double)`, cgo will report an error instead of possibly generating an
    incorrect call sequence for `f(0)`. New in this release is a better detector for
    this error condition when the incompatible declarations appear in different
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Aug 09 19:57:59 UTC 2024
    - 856 bytes
    - Viewed (0)
  5. internal/config/drive/drive.go

    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(new.MaxTimeout)
    	return nil
    }
    
    // GetMaxTimeout - returns the per call drive operation timeout
    func (c *Config) GetMaxTimeout() time.Duration {
    	return c.GetOPTimeout()
    }
    
    // GetOPTimeout - returns the per call drive operation timeout
    func (c *Config) GetOPTimeout() time.Duration {
    	configLk.RLock()
    	defer configLk.RUnlock()
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. internal/dsync/locker.go

    	// Canceling the context will abort the remote call.
    	// In that case, the resource may or may not be unlocked.
    	RUnlock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do write unlock for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of unlock request operation.
    	// Canceling the context will abort the remote call.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jan 18 20:44:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. internal/rest/client.go

    	}
    	return resp.Body, nil
    }
    
    // Call - make a REST call with context.
    func (c *Client) Call(ctx context.Context, rpcMethod string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    	return c.CallWithHTTPMethod(ctx, http.MethodPost, rpcMethod, values, body, length)
    }
    
    // Close closes all idle connections of the underlying http client
    func (c *Client) Close() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.h

      // onto its internal state after a call to `ComputeGradient`.
      using GradientTape<AbstractTensorHandle, GradientFunction,
                         TapeTensor>::IsPersistent;
    
      // Adds this tensor to the list of watched tensors.
      //
      // This is a no-op if the tensor is already being watched either from an
      // earlier call to `GradientTape::Watch` or being an output of an op with
      // watched inputs.
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/clean.bat

    L1::: Copyright 2012 The Go Authors. All rights reserved.
    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:set GOBUILDFAIL=0
    L10:
    L11:go tool dist env -w -p >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    ...
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 600 bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js.map

    */\n\n$(document)\n  .on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler)\n\n$(window).on(Event.LOAD_DATA_API, () => {\n  const carousels = [].slice.call(document.querySelectorAll(Selector.DATA_RIDE))\n  for (let i = 0, len = carousels.length; i < len; i++) {\n    const $carousel = $(carousels[i])\n    Carousel._jQueryInterface.call($carousel, $carousel.data())\n  }\n})\n\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * --------------------...
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
Back to top