Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for isFair (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testNullMonitorInGuardConstructorThrowsNPE() {
        assertThrows(NullPointerException.class, () -> new FlagGuard(null));
      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testNullMonitorInGuardConstructorThrowsNPE() {
        assertThrows(NullPointerException.class, () -> new FlagGuard(null));
      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/events.md

        await do_stuff()
    ```
    
    Quando você cria um gerenciador de contexto ou um gerenciador de contexto assíncrono como acima, o que ele faz é: antes de entrar no bloco `with`, ele executa o código antes do `yield`, e após sair do bloco `with`, ele executa o código depois do `yield`.
    
    No nosso exemplo de código acima, não o usamos diretamente, mas passamos para o FastAPI para que ele o use.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial014_an_py310.py ln[24:28] hl[28] *}
    
    Dessa forma a sessão liberaria a conexão com o banco de dados, para que outras requisições pudessem usá-la.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/security/simple-oauth2.md

      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    ```
    
    <img src="/img/tutorial/security/image06.png">
    
    Se você clicar no ícone de cadeado, sair e tentar a mesma operação novamente, receberá um erro HTTP 401 de:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Usuário inativo { #inactive-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  6. docs/tr/docs/async.md

    <img src="/img/async/parallel-burgers/parallel-burgers-03.png" class="illustration">
    
    Sen ve aşkın, kimsenin önünüze geçip burgerler gelince almaması için meşgul olduğunuzdan, aşkına dikkatini veremiyorsun. 😞
    
    Bu "senkron" bir iştir; kasiyer/aşçı 👨‍🍳 ile "senkronize"sin. 🕙 Beklemen ve kasiyer/aşçı 👨‍🍳 burgerleri bitirip sana verdiği anda tam orada olman gerekir; yoksa bir başkası alabilir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.7K bytes
    - Click Count (0)
  7. doc/go_spec.html

    </p>
    
    <pre>
    type GPoint[P any] = Point
    type HPoint        = *GPoint[int]
    type IPair         = Pair[int, int]
    
    func (*GPoint[P]) Draw(P)   { … }  // illegal: alias must not be generic
    func (HPoint) Draw(P)       { … }  // illegal: alias must not denote instantiated type GPoint[int]
    func (*IPair) Second() int  { … }  // illegal: alias must not denote instantiated type Pair[int, int]
    </pre>
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top