Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 2,161 for pathf (0.04 sec)

  1. docs/zh/docs/advanced/custom-response.md

    ```
    
    /// tip | "小贴士"
    
    注意在这里,因为我们使用的是不支持 `async` 和 `await` 的标准 `open()`,我们使用普通的 `def` 声明了路径操作。
    
    ///
    
    ### `FileResponse`
    
    异步传输文件作为响应。
    
    与其他响应类型相比,接受不同的参数集进行实例化:
    
    * `path` - 要流式传输的文件的文件路径。
    * `headers` - 任何自定义响应头,传入字典类型。
    * `media_type` - 给出媒体类型的字符串。如果未设置,则文件名或路径将用于推断媒体类型。
    * `filename` - 如果给出,它将包含在响应的 `Content-Disposition` 中。
    
    文件响应将包含适当的 `Content-Length`,`Last-Modified` 和 `ETag` 的响应头。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request_files.md

    ```Python hl_lines="7"
    {!> ../../docs_src/request_files/tutorial001.py!}
    ```
    
    ////
    
    /// info | Informação
    
    `File` é uma classe que herda diretamente de `Form`.
    
    Mas lembre-se que quando você importa `Query`,`Path`, `File`, entre outros, do `fastapi`, essas são na verdade funções que retornam classes especiais.
    
    ///
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. internal/logger/target/kafka/kafka.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kafka
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"os"
    	"path/filepath"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/IBM/sarama"
    	saramatls "github.com/IBM/sarama/tools/tls"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. RELEASE.md

            distribution strategy.
        *   The training step is wrapped in `tf.function` unless `run_eagerly=True`
            is set in compile. The single path execution code does not yet support
            all use cases. We fallback to the existing v1 execution paths if your
            model contains the following:
            1.  `sample_weight_mode` in compile
            2.  `weighted_metrics` in compile
            3.  v1 optimizer
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * @param promisedStreamId server-initiated stream ID.  Must be an even number.
         * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
         */
        @Throws(IOException::class)
        fun pushPromise(
          streamId: Int,
          promisedStreamId: Int,
          requestHeaders: List<Header>,
        )
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
      public void testSerializable() throws Exception {
        // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.
        for (Class<?> classToTest :
            findClassesToTest(loadClassesInPackage(), SERIALIZABLE_TEST_METHOD_NAMES)) {
          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            // Separate off the last digit using unsigned division. That will leave
            // a number that is nonnegative as a signed integer.
            long quotient;
            if ((radix & 1) == 0) {
              // Fast path for the usual case where the radix is even.
              quotient = (x >>> 1) / (radix >>> 1);
            } else {
              quotient = divide(x, radix);
            }
            long rem = x - quotient * radix;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    	sockAddr := l.Address.GetSocketAddress()
    	if sockAddr != nil {
    		return sockAddr.Address
    	}
    
    	pipe := l.Address.GetPipe()
    	if pipe != nil {
    		return pipe.Path
    	}
    
    	return ""
    }
    
    func retrieveListenerAdditionalAddresses(l *listener.Listener) []string {
    	var addrs []string
    	socketAddresses := l.GetAdditionalAddresses()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  9. docs/vi/docs/tutorial/first-steps.md

    Nó sẽ cho thấy một JSON bắt đầu giống như:
    
    ```JSON
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cni/README.md

    The Istio CNI Node Agent is responsible for several things
    
    - Install an Istio CNI plugin binary on each node's filesystem, updating that node's CNI config in e.g (`/etc/cni/net.d`), and watching the config and binary paths to reinstall if things are modified.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top