Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 588 for Encoder (0.11 sec)

  1. docs/de/docs/advanced/websockets.md

    Wenn Sie etwas benötigen, das sich leicht in FastAPI integrieren lässt, aber robuster ist und von Redis, PostgreSQL und anderen unterstützt wird, sehen Sie sich <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a> an.
    
    ///
    
    ## Mehr Informationen
    
    Weitere Informationen zu Optionen finden Sie in der Dokumentation von Starlette:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 4 + 2 * this.path.length();
        }
    
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex);
            dstIndex += 2;
            byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	var results ListBucketsResponse
    	// parse the list bucket response.
    	decoder := xml.NewDecoder(response.Body)
    	err = decoder.Decode(&results)
    	// validating that the xml-decoding/parsing was successful.
    	c.Assert(err, nil)
    
    	// Fetch the bucket created above
    	var createdBucket Bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. 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)
  7. cmd/api-utils.go

    			t[j] = '%'
    			t[j+1] = "0123456789ABCDEF"[c>>4]
    			t[j+2] = "0123456789ABCDEF"[c&15]
    			j += 3
    		default:
    			t[j] = s[i]
    			j++
    		}
    	}
    	return string(t)
    }
    
    // s3EncodeName encodes string in response when encodingType is specified in AWS S3 requests.
    func s3EncodeName(name, encodingType string) string {
    	if strings.ToLower(encodingType) == "url" {
    		return s3URLEncode(name)
    	}
    	return name
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/net/URLUtilTest.java

    /**
     * @author taichi
     *
     */
    public class URLUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8"));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. fastapi/responses.py

        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
            return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
    
    
    class ORJSONResponse(JSONResponse):
        """
        JSON response using the high-performance orjson library to serialize data to JSON.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MediaType.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "subtype"),
        level = DeprecationLevel.ERROR,
      )
      fun subtype(): String = subtype
    
      /**
       * Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a
       * Content-Type header.
       */
      override fun toString(): String = commonToString()
    
      override fun equals(other: Any?): Boolean = commonEquals(other)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top