Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 459 for ccancel (0.13 sec)

  1. docs/en/docs/deployment/concepts.md

    In this case, it would be better to get **one extra server** and run some processes on it so that they all have **enough RAM and CPU time**.
    
    There's also the chance that for some reason you have a **spike** of usage of your API. Maybe it went viral, or maybe some other services or bots start using it. And you might want to have extra resources to be safe in those cases.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer_test.go

    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/concepts.md

    Nesse caso, seria melhor obter **um servidor extra** e executar alguns processos nele para que todos tenham **RAM e tempo de CPU suficientes**.
    
    Também há a chance de que, por algum motivo, você tenha um **pico** de uso da sua API. Talvez ela tenha se tornado viral, ou talvez alguns outros serviços ou bots comecem a usá-la. E você pode querer ter recursos extras para estar seguro nesses casos.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:04:50 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    ## Alternativ (alt): `Query` als Defaultwert
    
    Frühere Versionen von FastAPI (vor <abbr title="vor 2023-03">0.95.0</abbr>) benötigten `Query` als Defaultwert des Parameters, statt es innerhalb von `Annotated` unterzubringen. Die Chance ist groß, dass Sie Quellcode sehen, der das immer noch so macht, darum erkläre ich es Ihnen.
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. docs/en/docs/virtual-environments.md

    ```console
    $ pip install "harry==3"
    ```
    
    </div>
    
    And then you would end up with `harry` version `3` installed in your global Python environment.
    
    And if you try to run `philosophers-stone` again, there's a chance it would **not work** because it needs `harry` version `1`.
    
    ```mermaid
    flowchart LR
        subgraph global[global env]
            harry-1[<strike>harry v1</strike>]
            style harry-1 fill:#ccc,stroke-dasharray: 5 5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 03:16:23 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	}
    	store.runlock()
    
    	if len(missingPolicies) > 0 {
    		m := make(map[string]PolicyDoc)
    		for _, policy := range missingPolicies {
    			ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    			_ = store.loadPolicyDoc(ctx, policy, m)
    			cancel()
    		}
    
    		cache := store.lock()
    		for policy, p := range m {
    			cache.iamPolicyDocsMap[policy] = p
    		}
    		store.unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  7. docs/pt/docs/virtual-environments.md

    ```console
    $ pip install "harry==3"
    ```
    
    </div>
    
    E então você acabaria com `harry` versão `3` instalado em seu ambiente Python global.
    
    E se você tentar executar `philosophers-stone` novamente, há uma chance de que **não funcione** porque ele precisa de `harry` versão `1`.
    
    ```mermaid
    flowchart LR
        subgraph global[global env]
            harry-1[<strike>harry v1</strike>]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:37:13 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    func (t *transitionState) ActiveTasks() int64 {
    	return t.activeTasks.Load()
    }
    
    // MissedImmediateTasks returns the number of tasks - deferred to scanner due
    // to tasks channel being backlogged.
    func (t *transitionState) MissedImmediateTasks() int64 {
    	return t.missedImmediateTasks.Load()
    }
    
    // worker waits for transition tasks
    func (t *transitionState) worker(objectAPI ObjectLayer) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

    TEST(CAPI, Status) {
      TF_Status* s = TF_NewStatus();
      EXPECT_EQ(TF_OK, TF_GetCode(s));
      EXPECT_EQ(string(), TF_Message(s));
      TF_SetStatus(s, TF_CANCELLED, "cancel");
      EXPECT_EQ(TF_CANCELLED, TF_GetCode(s));
      EXPECT_EQ(string("cancel"), TF_Message(s));
      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
      tensorflow::cpu_allocator()->DeallocateRaw(data);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. docs/fr/docs/async.md

    Donc, pendant ce temps, l'ordinateur pourra effectuer d'autres tâches, pendant que "fichier-lent" 📝 se termine.
    
    Ensuite l'ordinateur / le programme 🤖 reviendra à chaque fois qu'il en a la chance que ce soit parce qu'il attend à nouveau, ou car il 🤖 a fini tout le travail qu'il avait à faire. Il 🤖 regardera donc si les tâches qu'il attend ont terminé d'être effectuées.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top