Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1861 - 1870 of 2,541 for DATA (0.02 seconds)

  1. docs/en/docs/advanced/websockets.md

    In your WebSocket route you can `await` for messages and send messages.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it { #try-it }
    
    Put your code in a file `main.py` and then run your application:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * vulnerable to man-in-the-middle attacks and should only be used only in private development
         * environments and only to carry test data.
         *
         * The server’s TLS certificate **does not need to be signed** by a trusted certificate
         * authority. Instead, it will trust any well-formed certificate, even if it is self-signed.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        public void testIsValidWithUnicode() {
            SmbNegotiationRequest request = mock(SmbNegotiationRequest.class);
            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            // Set some required server data for valid response
            response.getServerData().smaxMpxCount = 1;
            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

         */
        @Override
        public boolean isSigningRequired() {
            return this.server.signaturesRequired;
        }
    
        /**
         * Gets the server data containing negotiated server capabilities and properties.
         *
         * @return the server
         */
        public ServerData getServerData() {
            return this.server;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. internal/grid/muxserver.go

    		var ack message
    		ack.Op = OpAckMux
    		ack.Flags = m.BaseFlags
    		ack.MuxID = m.ID
    		m.send(ack)
    		if debugPrint {
    			fmt.Println("connected stream mux:", ack.MuxID)
    		}
    	}()
    
    	// Data inbound to the handler
    	var handlerIn chan []byte
    	if inboundCap > 0 {
    		m.inbound = make(chan []byte, inboundCap)
    		handlerIn = make(chan []byte, 1)
    		go func(inbound chan []byte) {
    			wg.Wait()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. docs/zh/docs/python-types.md

    ### typing 模块 { #typing-module }
    
    在一些额外的用例中,你可能需要从标准库的 `typing` 模块导入内容。比如当你想声明“任意类型”时,可以使用 `typing` 中的 `Any`:
    
    ```python
    from typing import Any
    
    
    def some_function(data: Any):
        print(data)
    ```
    
    ### 泛型类型 { #generic-types }
    
    有些类型可以在方括号中接收“类型参数”(type parameters),用于声明其内部值的类型。比如“字符串列表”可以写为 `list[str]`。
    
    这些能接收类型参数的类型称为“泛型类型”(Generic types)或“泛型”(Generics)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *     this response.
       */
      open fun responseHeadersEnd(
        call: Call,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when data from the response body is first available to the application.
       *
       * This is typically invoked immediately before bytes are returned to the application. If the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return 200;
            }
    
            @Override
            public InputStream getInputStream() {
                byte[] data = new byte[responseSize];
                Arrays.fill(data, (byte) 'A');
                return new ByteArrayInputStream(data);
            }
    
            @Override
            public Map<String, List<String>> getHeaderFields() {
                return Collections.emptyMap();
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .Builder()
            .setHeader("Content-Type", "text/event-stream")
            .chunkedBody(
              """
              |event: add
              |data: 73857293
              |
              |event: remove
              |data: 2153
              |
              |event: add
              |data: 113411
              |
              |
              """.trimMargin(),
              8,
            ).build(),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

       *
       * <p>The serialization format consists of a 6-byte header (1 byte strategy, 1 byte hash
       * functions, 4 bytes array length) followed by the bit array data (bitSize / 8 bytes).
       */
      public void testBitSizeMatchesSerializationSize() throws Exception {
        int[] expectedInsertionValues = {1, 10, 100, 1000, 10000};
        double[] fppValues = {0.01, 0.03, 0.1};
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top