Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 833 for chunks (0.04 seconds)

  1. src/main/java/jcifs/smb/SSPContext.java

         */
        void dispose() throws CIFSException;
    
        /**
         * Checks whether the specified security mechanism is supported.
         * @param mechanism the security mechanism OID to check
         * @return whether the specified mechanism is supported
         */
        boolean isSupported(ASN1ObjectIdentifier mechanism);
    
        /**
         * Checks whether the specified mechanism is the preferred mechanism.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/stream-data.md

    If you declare a `response_class=StreamingResponse` in your *path operation function*, you can use `yield` to send each chunk of data in turn.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *}
    
    FastAPI will give each chunk of data to the `StreamingResponse` as is, it won't try to convert it to JSON or anything similar.
    
    ### Non-async *path operation functions* { #non-async-path-operation-functions }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/ByteProcessor.java

     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    public interface ByteProcessor<T extends @Nullable Object> {
      /**
       * This method will be called for each chunk of bytes in an input stream. The implementation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/checkstyle.xml

                native
                strictfp
        -->
        <module name="ModifierOrder" />
    
        <!-- Checks that we don't include modifier where they are implied. For
          example, this does not allow interface methods to be declared public
          because they are *always* public. -->
        <module name="RedundantModifier" />
        <!-- Checks that all java files have a package declaration and that it
          lines up with the directory structure. -->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        final Object[] elements;
        final int[] counts;
    
        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/SmbTreeHandle.java

         */
        String getConnectedShare();
    
        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree(SmbTreeHandle th);
    
        /**
         * Checks if this tree handle uses SMB2 or later protocol
         * @return whether this tree handle uses SMB2+
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

        /**
         * Checks if the transport supports the specified capability.
         *
         * @param cap the capability flag to check
         * @return whether the transport has the given capability
         * @throws SmbException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws SmbException;
    
        /**
         * Checks if the transport has been disconnected.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. docs/en/docs/index.md

    * More advanced (but equally easy) techniques for declaring **deeply nested JSON models** (thanks to Pydantic).
    * **GraphQL** integration with [Strawberry](https://strawberry.rocks) and other libraries.
    * Many extra features (thanks to Starlette) as:
        * **WebSockets**
        * extremely easy tests based on HTTPX and `pytest`
        * **CORS**
        * **Cookie Sessions**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/lang/ModifierUtil.java

        /**
         * Checks if the specified modifier is public, static, and final.
         *
         * @param modifier
         *            the modifier to check
         * @return true if public, static, and final, false otherwise
         */
        public static boolean isPublicStaticFinal(final int modifier) {
            return isPublic(modifier) && isStatic(modifier) && isFinal(modifier);
        }
    
        /**
         * Checks if the specified modifier is public.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/stream-data.md

    但如果你想串流純二進位資料或字串,以下是做法。
    
    /// info
    
    已在 FastAPI 0.134.0 新增。
    
    ///
    
    ## 使用情境 { #use-cases }
    
    當你想串流純字串時可以用這個機制,例如直接轉發來自 AI LLM 服務的輸出。
    
    你也可以用它來串流大型二進位檔案,邊讀邊將每個區塊(chunk)串流出去,而不必一次把整個檔案載入記憶體。
    
    你也可以用同樣方式串流視訊或音訊,甚至可以在處理的同時即時產生並傳送。
    
    ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }
    
    如果在你的路徑操作函式中宣告 `response_class=StreamingResponse`,就可以用 `yield` 逐一送出每個資料區塊。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top