Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for backend (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      internal fun scheduleAndDecide(
        task: Task,
        delayNanos: Long,
        recurrence: Boolean,
      ): Boolean {
        task.initQueue(this)
    
        val now = taskRunner.backend.nanoTime()
        val executeNanoTime = now + delayNanos
    
        // If the task is already scheduled, take the earlier of the two times.
        val existingIndex = futureTasks.indexOf(task)
        if (existingIndex != -1) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    ## pytest.mark.anyio
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/discovery/v1/generated.proto

    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/discovery/v1";
    
    // Endpoint represents a single logical "backend" implementing a service.
    message Endpoint {
      // addresses of this endpoint. The contents of this field are interpreted
      // according to the corresponding EndpointSlice addressType field. Consumers
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    For more information about how to pass data to the backend (using `httpx` or the `TestClient`) check the <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX documentation</a>.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/discovery/v1beta1";
    
    // Endpoint represents a single logical "backend" implementing a service.
    message Endpoint {
      // addresses of this endpoint. The contents of this field are interpreted
      // according to the corresponding EndpointSlice addressType field. Consumers
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    Und das startet Hypercorn mit Ihrer Anwendung und verwendet Trio als Backend.
    
    Jetzt können Sie Trio intern in Ihrer Anwendung verwenden. Oder noch besser: Sie können AnyIO verwenden, sodass Ihr Code sowohl mit Trio als auch asyncio kompatibel ist. 🎉
    
    ## Konzepte des Deployments
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. cmd/veeam-sos-api.go

    			if q.Size > 0 {
    				quotaSize = int64(q.Size)
    			} else if q.Quota > 0 {
    				quotaSize = int64(q.Quota)
    			}
    		}
    
    		if quotaSize == 0 {
    			info := objAPI.StorageInfo(ctx, true)
    			info.Backend = objAPI.BackendInfo()
    
    			ci.Capacity = int64(GetTotalUsableCapacity(info.Disks, info))
    		} else {
    			ci.Capacity = quotaSize
    		}
    		ci.Available = ci.Capacity - ci.Used
    
    		buf = encodeResponse(&ci)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  8. cmd/server-startup-msg.go

    func getStorageInfoMsg(storageInfo StorageInfo) string {
    	var msg string
    	var mcMessage string
    	onlineDisks, offlineDisks := getOnlineOfflineDisksStats(storageInfo.Disks)
    	if storageInfo.Backend.Type == madmin.Erasure {
    		if offlineDisks.Sum() > 0 {
    			mcMessage = "Use `mc admin info` to look for latest server/drive info\n"
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    And that will start Hypercorn with your app using Trio as the backend.
    
    Now you can use Trio internally in your app. Or even better, you can use AnyIO, to keep your code compatible with both Trio and asyncio. 🎉
    
    ## Deployment Concepts
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/testing.md

    * Um *Header* zu übergeben, verwenden Sie ein `dict` im `headers`-Parameter.
    * Für *Cookies* ein `dict` im `cookies`-Parameter.
    
    Weitere Informationen zum Übergeben von Daten an das Backend (mithilfe von `httpx` oder dem `TestClient`) finden Sie in der <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX-Dokumentation</a>.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top