Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ijkl (0.03 sec)

  1. internal/grid/types_test.go

    		t.Errorf("MSS: %v != %v", v, v2)
    	}
    }
    
    func BenchmarkMarshalMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgMSS(b *testing.B) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

          Headers.Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers.Builder()
            .add("abc", "def")
            .add("ghi", "jkl")
            .build()
            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
        val headers =
          Headers.Builder()
            .add("testDate", expected)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/custom-response.md

    /// note
    
    🚥 👆 ⚙️ 📨 🎓 ⏮️ 🙅‍♂ 📻 🆎, FastAPI 🔜 ⌛ 👆 📨 ✔️ 🙅‍♂ 🎚, ⚫️ 🔜 🚫 📄 📨 📁 🚮 🏗 🗄 🩺.
    
    ///
    
    ## ⚙️ `ORJSONResponse`
    
    🖼, 🚥 👆 ✊ 🎭, 👆 💪 ❎ &amp; ⚙️ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> &amp; ⚒ 📨 `ORJSONResponse`.
    
    🗄 `Response` 🎓 (🎧-🎓) 👆 💚 ⚙️ &amp; 📣 ⚫️ *➡ 🛠️ 👨‍🎨*.
    
    ⭕ 📨, 📨 `Response` 🔗 🌅 ⏩ 🌘 🛬 📖.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/custom-response.md

    /// note | "说明"
    
    如果你使用不带有任何媒体类型的响应类,FastAPI 认为你的响应没有任何内容,所以不会在生成的OpenAPI文档中记录响应格式。
    
    ///
    
    ## 使用 `ORJSONResponse`
    
    例如,如果你需要压榨性能,你可以安装并使用 <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> 并将响应设置为 `ORJSONResponse`。
    
    导入你想要使用的 `Response` 类(子类)然后在 *路径操作装饰器* 中声明它。
    
    ```Python hl_lines="2 7"
    {!../../docs_src/custom_response/tutorial001b.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top