Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for ll (0.18 sec)

  1. cmd/lock-rest-server.go

    )
    
    // To abstract a node over network.
    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. cmd/lock-rest-server-common_test.go

    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    		lockRequesterInfo2,
    	}
    
    	lri := locker.ll.lockMap["name"]
    
    	// test unknown uid
    	if locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "unknown-uid",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", false, true)
    	}
    
    	if !locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/server-workers.md

    In the next chapter about [FastAPI in Containers - Docker](docker.md){.internal-link target=_blank} I'll tell some strategies you could use to handle the other **deployment concepts**.
    
    I'll also show you the **official Docker image** that includes **Gunicorn with Uvicorn workers** and some default configurations that can be useful for simple cases.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with multiple wildcards! We'll need to change ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    project.
    
      - If you are an individual writing original source code and you're sure you
        own the intellectual property, then you'll need to sign an [individual
        CLA][]. Please include your GitHub username.
      - If you work for a company that wants to allow you to contribute your work,
        then you'll need to sign a [corporate CLA][].
    
    You generally only need to submit a CLA once, so if you've already submitted
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/api_template.__init__.py

      if _os.path.exists(_kernel_dir):
        _ll.load_library(_kernel_dir)
    
      # Load third party dynamic kernels.
      for _s in _site_packages_dirs:
        _plugin_dir = _os.path.join(_s, "tensorflow-plugins")
        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  7. tensorflow/api_template_v1.__init__.py

      if _os.path.exists(_kernel_dir):
        _ll.load_library(_kernel_dir)
    
      # Load third party dynamic kernels.
      for _s in _site_packages_dirs:
        _plugin_dir = _os.path.join(_s, "tensorflow-plugins")
        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    * Memory
    * Previous steps before starting
    
    We'll see how they would affect **deployments**.
    
    In the end, the ultimate objective is to be able to **serve your API clients** in a way that is **secure**, to **avoid disruptions**, and to use the **compute resources** (for example remote servers/virtual machines) as efficiently as possible. 🚀
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/middleware.md

    And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}.
    
    In this section we'll see how to use other middlewares.
    
    ## Adding ASGI middlewares
    
    As **FastAPI** is based on Starlette and implements the <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr> specification, you can use any ASGI middleware.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/testing-database.md

    Your normal dependency `get_db()` would return a database session.
    
    In the test, you could use a dependency override to return your *custom* database session instead of the one that would be used normally.
    
    In this example we'll create a temporary database only for the tests.
    
    ## File structure
    
    We create a new file at `sql_app/tests/test_sql_app.py`.
    
    So the new file structure looks like:
    
    ``` hl_lines="9-11"
    .
    └── sql_app
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top