Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 702 for Reading (0.06 seconds)

  1. 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);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    "Context Managers" are any of those Python objects that you can use in a `with` statement.
    
    For example, [you can use `with` to read a file](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    ### "컨텍스트 관리자"란 { #what-are-context-managers }
    
    "컨텍스트 관리자"는 Python에서 `with` 문에서 사용할 수 있는 모든 객체를 의미합니다.
    
    예를 들어, [with를 사용해 파일을 읽을 수 있습니다](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    내부적으로 `open("./somefile.txt")` 는 "컨텍스트 관리자(Context Manager)"라고 불리는 객체를 생성합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

      }
    
      /**
       * Read 100 MiB of 'a' chars. This was really slow due to a performance bug in [MultipartReader],
       * and will be really slow if we regress the fix for that.
       */
      @Test
      fun `reading a large part with small byteCount`() {
        val multipartBody =
          MultipartBody
            .Builder("foo")
            .addPart(
              headersOf("header-name", "header-value"),
              object : RequestBody() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    在相依覆寫中,我們在建立新的 `Settings` 物件時設定 `admin_email` 的新值,然後回傳該新物件。
    
    接著我們就可以測試它是否被使用。
    
    ## 讀取 `.env` 檔 { #reading-a-env-file }
    
    如果你有許多設定,而且在不同環境中可能常常變動,將它們放在一個檔案中,然後像讀取環境變數一樣自該檔案讀取,可能會很實用。
    
    這種作法很常見,這些環境變數通常放在 `.env` 檔中,而該檔案被稱為「dotenv」。
    
    /// tip
    
    在類 Unix 系統(如 Linux 與 macOS)中,以點(`.`)開頭的檔案是隱藏檔。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    依存関係オーバーライドでは、新しい `Settings` オブジェクトを作る際に `admin_email` に新しい値を設定し、その新しいオブジェクトを返します。
    
    そして、それが使用されていることをテストできます。
    
    ## `.env` ファイルの読み込み { #reading-a-env-file }
    
    変更が多くなりそうな設定が多数ある場合、環境ごとにファイルに入れて、環境変数としてそこから読み込むと便利なことがあります。
    
    このプラクティスは十分に一般的で名前もあり、これらの環境変数は通常 `.env` というファイルに置かれ、そのファイルは「dotenv」と呼ばれます。
    
    /// tip | 豆知識
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  7. src/bufio/bufio.go

    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    func (b *Reader) Discard(n int) (discarded int, err error) {
    	if n < 0 {
    		return 0, ErrNegativeCount
    	}
    	if n == 0 {
    		return
    	}
    
    	b.lastByte = -1
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            try {
                context.extensions = readCoreExtensionsDescriptor(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                parserRequest.logger().error("Error reading core extensions descriptor", e);
            }
    
            // CI detection
            context.ciInfo = detectCI(context);
    
            // only if not failed so far; otherwise we may have no options to validate
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        valueSetCapacity = DEFAULT_VALUE_SET_CAPACITY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = Platform.newLinkedHashMapWithExpectedSize(12);
        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked")
          K key = (K) stream.readObject();
          map.put(key, createCollection(key));
        }
        int entries = stream.readInt();
        for (int i = 0; i < entries; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. cmd/metacache-stream.go

    	}
    }
    
    var s2DecPool = bpool.Pool[*s2.Reader]{New: func() *s2.Reader {
    	// 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
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top