Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 635 for encoder (0.05 sec)

  1. docs/zh/docs/advanced/websockets.md

    ```
    
    /// tip
    
    上面的应用程序是一个最小和简单的示例,用于演示如何处理和向多个 WebSocket 连接广播消息。
    
    但请记住,由于所有内容都在内存中以单个列表的形式处理,因此它只能在进程运行时工作,并且只能使用单个进程。
    
    如果您需要与 FastAPI 集成更简单但更强大的功能,支持 Redis、PostgreSQL 或其他功能,请查看 [encode/broadcaster](https://github.com/encode/broadcaster)。
    
    ///
    
    ## 更多信息
    
    要了解更多选项,请查看 Starlette 的文档:
    
    * [WebSocket 类](https://www.starlette.io/websockets/)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. internal/config/lambda/event/targetid.go

    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    // MarshalJSON - encodes to JSON data.
    func (tid TargetID) MarshalJSON() ([]byte, error) {
    	return json.Marshal(tid.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (tid *TargetID) UnmarshalJSON(data []byte) error {
    	var s string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. internal/s3select/jstream/README.md

    we can choose to extract and act only the objects within the top-level array:
    ```go
    f, _ := os.Open("input.json")
    decoder := jstream.NewDecoder(f, 1) // extract JSON values at a depth level of 1
    for mv := range decoder.Stream() {
      fmt.Printf("%v\n ", mv.Value)
    }
    ```
    
    output:
    ```
    map[desc:RGB colors:[red green blue]]
    map[desc:CMYK colors:[cyan magenta yellow black]]
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/erasure-encode_test.go

    				continue
    			}
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(int64(len(data[test.offset:]))), test.algorithm, erasure.ShardSize())
    		}
    		n, err := erasure.Encode(context.Background(), bytes.NewReader(data[test.offset:]), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

    If you need something easy to integrate with FastAPI but that is more robust, supported by Redis, PostgreSQL or others, check <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ///
    
    ## More info
    
    To learn more about the options, check Starlette's documentation for:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                for (final Map.Entry<String, String> entry : paramMap.entrySet()) {
                    queryBuf.append('&');
                    queryBuf.append(URLUtil.encode(entry.getValue(), Constants.UTF_8));
                    queryBuf.append('=');
                    queryBuf.append(URLUtil.encode(entry.getKey(), Constants.UTF_8));
                    formBuf.append("<input type=\"hidden\" name=\"");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/background-tasks.md

    Cela comprend, par exemple :
    
    * Les notifications par email envoyées après l'exécution d'une action :
        * Étant donné que se connecter à un serveur et envoyer un email a tendance à être «lent» (plusieurs secondes), vous pouvez retourner la réponse directement et envoyer la notification en arrière-plan.
    * Traiter des données :
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            dstIndex += 4;
            dstIndex += 4; // Reserved2
    
            if ( this.inputData != null ) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            }
            else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    public class NdrSmall extends NdrObject {
    
        public int value;
    
        public NdrSmall(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  10. cmd/object-api-common.go

    	blockSizeV2 = 1 * humanize.MiByte
    
    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    	// Deleted Buckets prefix.
    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top