Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 926 for Directly (0.84 seconds)

  1. android/guava/src/com/google/common/io/ByteSource.java

       * Returns a view of the given byte array as a {@link ByteSource}. To view only a specific range
       * in the array, use {@code ByteSource.wrap(b).slice(offset, length)}.
       *
       * <p>Note that the given byte array may be passed directly to methods on, for example, {@code
       * OutputStream} (when {@code copyTo(OutputStream)} is called on the resulting {@code
       * ByteSource}). This could allow a malicious {@code OutputStream} implementation to modify the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/response-headers.md

    FastAPI 會使用那個暫時性的回應來擷取標頭(還有 Cookie 與狀態碼),並把它們放到最終回應中;最終回應包含你回傳的值,且會依任何 `response_model` 進行過濾。
    
    你也可以在依賴中宣告 `Response` 參數,並在其中設定標頭(與 Cookie)。
    
    ## 直接回傳 `Response` { #return-a-response-directly }
    
    當你直接回傳 `Response` 時,也能加入標頭。
    
    依照[直接回傳 Response](response-directly.md)中的說明建立回應,並把標頭作為額外參數傳入:
    
    {* ../../docs_src/response_headers/tutorial001_py310.py hl[10:12] *}
    
    /// note | 技術細節
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        private rpc.sid_t mockSidT;
    
        @Mock
        private rpc.unicode_string mockUnicodeString;
    
        @Mock
        private lsarpc.LsarSidArray mockLsarSidArray;
    
        @BeforeEach
        void setUp() {
            // Directly set the deferred field on the mock
            mockNdrBuffer.deferred = mockDeferredBuffer;
    
            // Configure mocks for NdrBuffer interactions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  4. docs/ja/docs/advanced/response-cookies.md

    `Response` パラメータは依存関係でも宣言でき、そこで Cookie(やヘッダー)を設定することも可能です。
    
    ## `Response` を直接返す { #return-a-response-directly }
    
    コードで `Response` を直接返すときに、Cookie を作成することもできます。
    
    そのためには、[Response を直接返す](response-directly.md) で説明されているとおりにレスポンスを作成します。
    
    そのレスポンスに Cookie を設定してから返します:
    
    {* ../../docs_src/response_cookies/tutorial001_py310.py hl[10:12] *}
    
    /// tip | 豆知識
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
       *       have file descriptors. Bytes are copied from the file into a kernel buffer, then directly
       *       into the other buffer (userspace). Note that if the file is very large, a naive
       *       implementation will effectively put the whole file in memory. On many systems with paging
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        return new Builder<Comparable>(Ordering.natural()).maximumSize(maximumSize);
      }
    
      /**
       * The builder class used in creation of min-max priority queues. Instead of constructing one
       * directly, use {@link MinMaxPriorityQueue#orderedBy(Comparator)}, {@link
       * MinMaxPriorityQueue#expectedSize(int)} or {@link MinMaxPriorityQueue#maximumSize(int)}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  7. tensorflow/c/c_api.cc

    absl::Status LoadDynamicLibrary(const char* library_filename, void** result,
                                    const void** buf, size_t* len);
    
    // TODO(josh11b,mrry): Change Session to be able to use a Graph*
    // directly, instead of requiring us to serialize to a GraphDef and
    // call Session::Extend().
    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/response-headers.md

    또한, 종속성에서 `Response` 매개변수를 선언하고 그 안에서 헤더(및 쿠키)를 설정할 수 있습니다.
    
    ## `Response` 직접 반환하기 { #return-a-response-directly }
    
    `Response`를 직접 반환할 때에도 헤더를 추가할 수 있습니다.
    
    [응답을 직접 반환하기](response-directly.md)에 설명한 대로 응답을 생성하고, 헤더를 추가 매개변수로 전달하세요:
    
    {* ../../docs_src/response_headers/tutorial001_py310.py hl[10:12] *}
    
    /// note | 기술 세부사항
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
        long len2 = file2.length();
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. docs/en/docs/release-notes.md

        * It's mainly syntax sugar, a convenience for developer experience.
        * Now `Request`, `Response`, `WebSocket`, `status` can be imported directly from `fastapi` as in `from fastapi import Response`. This is because those are frequently used, to use the request directly, to set headers and cookies, to get status codes, etc.
        * Documentation changes in many places, but new docs and noticeable improvements:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top