Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 130 for tuple3 (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        table2.put("foo", 1, 'a');
        assertEquals((Character) 'a', table2.get("foo", 1));
    
        Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20);
        table3.put("foo", 1, 'a');
        assertEquals((Character) 'a', table3.get("foo", 1));
    
        Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0);
        table4.put("foo", 1, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. tests/test_invalid_sequence_param.py

            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: tuple[Item, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_dict():
        with pytest.raises(
            AssertionError,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

            pos += writeSecurityBufferContent(type3, pos, domOff, domainBytes);
            pos += writeSecurityBufferContent(type3, pos, userOff, userBytes);
            pos += writeSecurityBufferContent(type3, pos, wsOff, workstationBytes);
            pos += writeSecurityBufferContent(type3, pos, skOff, sessionKeyBytes);
    
            return type3;
    
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.duplex.AsyncRequestBody
    import okhttp3.internal.duplex.MockSocketHandler
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.assertTrue
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  6. docs/zh/docs/python-types.md

    没有类型的话,这几乎是不可能做到的。
    
    注意,变量 `item` 是列表 `items` 中的一个元素。
    
    即便如此,编辑器仍然知道它是 `str`,并为此提供支持。
    
    #### 元组和集合 { #tuple-and-set }
    
    声明 `tuple` 和 `set` 的方式类似:
    
    {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *}
    
    这表示:
    
    * 变量 `items_t` 是一个含有 3 个元素的 `tuple`,分别是一个 `int`、另一个 `int`,以及一个 `str`。
    * 变量 `items_s` 是一个 `set`,其中每个元素的类型是 `bytes`。
    
    #### 字典 { #dict }
    
    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. docs/tr/docs/tutorial/response-model.md

    Bu, `set(["name", "description"])` ile eşdeğerdir.
    
    ///
    
    #### `set` yerine `list` kullanmak { #using-lists-instead-of-sets }
    
    Yanlışlıkla `set` yerine `list` veya `tuple` kullanırsanız, FastAPI bunu yine `set`’e çevirir ve doğru şekilde çalışır:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Özet { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
                    byte[] lmResponse = type3.getLMResponse();
                    if (lmResponse == null) {
                        lmResponse = new byte[0];
                    }
                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

     * limitations under the License.
     */
    package okhttp3.internal.duplex
    
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit.SECONDS
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    /** A duplex request body that keeps the provided sinks so they can be written to later.  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. scripts/translation_fixer.py

            lang_path_root / "how-to",
        ]
        first_parent = lang_path_root
        yield from first_parent.glob("*.md")
        for dir_path in first_dirs:
            yield from dir_path.rglob("*.md")
        first_dirs_str = tuple(str(d) for d in first_dirs)
        for path in lang_path_root.rglob("*.md"):
            if str(path).startswith(first_dirs_str):
                continue
            if path.parent == first_parent:
                continue
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top