Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1871 - 1880 of 1,912 for method (0.05 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

       * Why? We want for queries like containsKey(null) to return false, but the
       * GWT SortedMap implementation that we delegate to throws
       * NullPointerException if the comparator does. Since our construction
       * methods ensure that null is never present in the map, it's OK for the
       * comparator to look for it wherever it wants.
       *
       * Note that we do NOT touch the comparator returned by comparator(), which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    In Python, you can create Context Managers by <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">creating a class with two methods: `__enter__()` and `__exit__()`</a>.
    
    You can also use them inside of **FastAPI** dependencies with `yield` by using
    `with` or `async with` statements inside of the dependency function:
    
    ```Python hl_lines="1-9  13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/extra-models.md

    ```
    
    ////
    
    ### Sobre `**user_in.dict()`
    
    #### O `.dict()` do Pydantic
    
    `user_in` é um modelo Pydantic da classe `UserIn`.
    
    Os modelos Pydantic possuem um método `.dict()` que retorna um `dict` com os dados do modelo.
    
    Então, se criarmos um objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/es/docs/python-types.md

    Es un programa muy simple.
    
    Ahora, imagina que lo estás escribiendo desde cero.
    
    En algún punto habrías comenzado con la definición de la función, tenías los parámetros listos...
    
    Pero, luego tienes que llamar "ese método que convierte la primera letra en una mayúscula".
    
    Era `upper`? O era `uppercase`? `first_uppercase`? `capitalize`?
    
    Luego lo intentas con el viejo amigo de los programadores, el auto-completado del editor.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Queues.java

    import java.util.concurrent.PriorityBlockingQueue;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PredicatesTest.java

              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
        private static final long serialVersionUID = 0x150ddL;
    
        @Override
        public boolean apply(@Nullable Integer i) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        @Override
        public String toString() {
            flushAttributes();
            return builder.toString();
        }
    
        ///////////////////////////////////////////////////////////////////
        // Private Helper Methods
        ///////////////////////////////////////////////////////////////////
    
        private Ansi appendEscapeSequence(char command) {
            flushAttributes();
            builder.append(FIRST_ESC_CHAR);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        /*
         * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
         * test the forwarded methods
         */
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
      public void testListeningDecorator_noWrapExecuteTask() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. docs/pt/docs/virtual-environments.md

    /// info | "Informação"
    
    Se você já sabe sobre ambientes virtuais, como criá-los e usá-los, talvez seja melhor pular esta seção. 🤓
    
    ///
    
    /// tip | "Dica"
    
    Um **ambiente virtual** é diferente de uma **variável de ambiente**.
    
    Uma **variável de ambiente** é uma variável no sistema que pode ser usada por programas.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:37:13 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment/docker.md

    ---
    
    O ponto principal é que **nenhum** desses são **regras escritas em pedra** que você deve seguir cegamente. Você pode usar essas idéias para **avaliar seu próprio caso de uso** e decidir qual é a melhor abordagem para seu sistema, verificando como gerenciar os conceitos de:
    
    * Segurança - HTTPS
    * Executando na inicialização
    * Reinicializações
    * Replicação (o número de processos em execução)
    * Memória
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top