Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,826 for paras (0.03 sec)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    Agora nós declaramos que a *operação de rota* para `/users/me/items/` exige o escopo `items`.
    
    Para isso, nós importamos e utilizamos `Security` de `fastapi`.
    
    Você pode utilizar `Security` para declarar dependências (assim como `Depends`), porém o `Security` também recebe o parâmetros `scopes` com uma lista de escopos (strings).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/middleware.md

    ///
    
    ## Criar um middleware
    
    Para criar um middleware, use o decorador `@app.middleware("http")` logo acima de uma função.
    
    A função middleware recebe:
    
    * A `request`.
    * Uma função `call_next` que receberá o `request` como um parâmetro.
        * Esta função passará a `request` para a *operação de rota* correspondente.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-directly.md

    Luego, tras bastidores, pondría esos datos compatibles con JSON (por ejemplo, un `dict`) dentro de una `JSONResponse` que se usaría para enviar la respuesta al cliente.
    
    Pero puedes devolver una `JSONResponse` directamente de tu *operación de path*.
    
    Esto puede ser útil, por ejemplo, para devolver cookies o headers personalizados.
    
    ## Devolver una `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

            }
        }
    
        public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) {
            return getXContentBuilderOutputStream((builder, params) -> xContent.toXContent(builder, params), mediaType);
        }
    
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *       UnsupportedOperationException when those mutators
       * </ol>
       *
       * @param multimap the presumed-immutable multimap
       * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap}
       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/RateLimiter.java

       *
       * @param permitsPerSecond the rate of the returned {@code RateLimiter}, measured in how many
       *     permits become available per second
       * @param warmupPeriod the duration of the period where the {@code RateLimiter} ramps up its rate,
       *     before reaching its stable (maximum) rate
       * @param unit the time unit of the warmupPeriod argument
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.Random;
    
    /** A benchmark that tries invoking {@code Set.contains} on many different sets. */
    public class MultipleSetContainsBenchmark {
    
      @Param({"0.0", "0.1", "0.7", "1.0"})
      double emptySetProportion;
    
      @Param({"0.0", "0.1", "0.7", "1.0"})
      double singletonSetProportion;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

        private int capabilities;
        private byte[] clientGuid;
        private int securityMode;
        private int dialects[];
    
    
        /**
         * @param capabilities
         * @param clientGuid
         * @param securityMode
         * @param dialects
         * 
         */
        public ValidateNegotiateInfoRequest ( int capabilities, byte[] clientGuid, int securityMode, int[] dialects ) {
            this.capabilities = capabilities;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

       * off}, with the same behavior as {@link DataInput#readFully(byte[], int, int)}. Does not close
       * the stream.
       *
       * @param in the input stream to read from.
       * @param b the buffer into which the data is read.
       * @param off an int specifying the offset into the data.
       * @param len an int specifying the number of bytes to read.
       * @throws EOFException if this stream reaches the end before reading all the bytes.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top