Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 449 for reading_ (0.19 sec)

  1. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    „Kontextmanager“ (Englisch „Context Manager“) sind bestimmte Python-Objekte, die Sie in einer `with`-Anweisung verwenden können.
    
    Beispielsweise können Sie <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">`with` verwenden, um eine Datei auszulesen</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    That's why in this example we have to declare it in the `response_model` parameter.
    
    ...but continue reading below to see how to overcome that.
    
    ## Return Type and Data Filtering
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    しかし例外ハンドラで処理されない例外を発生させた場合は、依存関係の終了コードで処理されます。
    
    ///
    
    ## コンテキストマネージャ
    
    ### 「コンテキストマネージャ」とは
    
    「コンテキストマネージャ」とは、`with`文の中で使用できるPythonオブジェクトのことです。
    
    例えば、<a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">ファイルを読み込むには`with`を使用することができます</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/metacache-stream.go

    	}
    }
    
    var s2DecPool = sync.Pool{New: func() interface{} {
    	// Default alloc block for network transfer.
    	return s2.NewReader(nil, s2.ReaderAllocBlock(16<<10))
    }}
    
    // metacacheReader allows reading a cache stream.
    type metacacheReader struct {
    	mr      *msgp.Reader
    	current metaCacheEntry
    	err     error // stateful error
    	closer  func()
    	creator func() error
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        stream.defaultReadObject();
        Comparator<Object> valueComparator = (Comparator<Object>) stream.readObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
        ImmutableMap.Builder<Object, ImmutableSet<Object>> builder = ImmutableMap.builder();
        int tmpSize = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

        return new Splitter(strategy, omitEmptyStrings, trimmer, maxItems);
      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter, but automatically
       * removes leading and trailing {@linkplain CharMatcher#whitespace whitespace} from each returned
       * substring; equivalent to {@code trimResults(CharMatcher.whitespace())}. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            collectValueFromNonCancelledFuture(index, future);
          }
        } finally {
          /*
           * "null" means: There is no need to access `futures` again during
           * `processCompleted` because we're reading each value during a call to
           * handleOneInputDone.
           */
          decrementCountAndMaybeComplete(null);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params.md

    So, you can use it with:
    
    ```Python hl_lines="6"
    {!../../docs_src/path_params/tutorial004.py!}
    ```
    
    /// tip
    
    You could need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`).
    
    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Что такое "контекстные менеджеры"
    
    "Контекстные менеджеры" - это любые объекты Python, которые можно использовать в операторе `with`.
    
    Например, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">можно использовать `with` для чтения файла</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top