Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 123 for tuple4 (0.57 seconds)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final List<Tuple3<String, String, String>> virtualHostList = new ArrayList<>();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @SuppressWarnings("unchecked")
                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. api/go1.5.txt

    pkg go/types, method (*Struct) Tag(int) string
    pkg go/types, method (*Struct) Underlying() Type
    pkg go/types, method (*Tuple) At(int) *Var
    pkg go/types, method (*Tuple) Len() int
    pkg go/types, method (*Tuple) String() string
    pkg go/types, method (*Tuple) Underlying() Type
    pkg go/types, method (*TypeName) Exported() bool
    pkg go/types, method (*TypeName) Id() string
    pkg go/types, method (*TypeName) Name() string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  9. docs/ja/docs/python-types.md

    変数 `item` はリスト `items` の要素の一つであることに注意してください。
    
    それでも、エディタはそれが `str` であることを知っていて、そのためのサポートを提供しています。
    
    #### Tuple と Set { #tuple-and-set }
    
    `tuple` と `set` の宣言も同様です:
    
    {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *}
    
    つまり:
    
    * 変数 `items_t` は `int`、別の `int`、`str` の 3 つの項目を持つ `tuple` です。
    * 変数 `items_s` は `set` であり、その各項目は `bytes` 型です。
    
    #### Dict { #dict }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  10. fastapi/dependencies/models.py

                if scope not in scopes:
                    scopes.append(scope)
            return scopes
    
        @cached_property
        def cache_key(self) -> DependencyCacheKey:
            scopes_for_cache = (
                tuple(sorted(set(self.oauth_scopes or []))) if self._uses_scopes else ()
            )
            return (
                self.call,
                scopes_for_cache,
                self.computed_scope or "",
            )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top