Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 472 for sltr (0.02 sec)

  1. docs/fa/docs/python-types.md

    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    استفاده از `Optional[str]` به جای فقط `str` به ویرایشگر کمک می‌کنه خطاهایی که ممکنه فکر کنی یه مقدار همیشه `str` هست رو پیدا کنه، در حالی که می‌تونه `None` هم باشه.
    
    `Optional[Something]` در واقع میان‌بر برای `Union[Something, None]` هست، این دو تا معادلن.
    
    یعنی توی پایتون 3.10، می‌تونی از `Something | None` استفاده کنی:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        @DisplayName("Test toString contains proper class name")
        void testToStringFormat() {
            String str = response.toString();
    
            // Should start with the class name
            assertTrue(str.startsWith("Trans2SetFileInformationResponse["));
    
            // Should end with closing bracket
            assertTrue(str.endsWith("]"));
    
            // Should contain parent toString content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            String str = result.toString();
            assertNotNull(str);
            assertTrue(str.contains("SearchResult"));
            assertTrue(str.contains("documentList="));
            assertTrue(str.contains("allRecordCount=100"));
            assertTrue(str.contains("allRecordCountRelation=eq"));
            assertTrue(str.contains("queryTime=50"));
            assertTrue(str.contains("partialResults=true"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/path-params.md

    ## 🔁 💲
    
    🚥 👆 ✔️ *➡ 🛠️* 👈 📨 *➡ 🔢*, ✋️ 👆 💚 💪 ☑ *➡ 🔢* 💲 🔁, 👆 💪 ⚙️ 🐩 🐍 <abbr title="Enumeration">`Enum`</abbr>.
    
    ### ✍ `Enum` 🎓
    
    🗄 `Enum` &amp; ✍ 🎧-🎓 👈 😖 ⚪️➡️ `str` &amp; ⚪️➡️ `Enum`.
    
    😖 ⚪️➡️ `str` 🛠️ 🩺 🔜 💪 💭 👈 💲 🔜 🆎 `string` &amp; 🔜 💪 ✍ ☑.
    
    ⤴️ ✍ 🎓 🔢 ⏮️ 🔧 💲, ❔ 🔜 💪 ☑ 💲:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/id/docs/tutorial/path-params.md

    ### Membuat class `Enum`
    
    Import `Enum` dan buat *sub-class* warisan dari `str` dan `Enum`.
    
    Dengan warisan dari `str` dokumen API mengetahui nilai nya harus berjenis `string` supaya bisa digunakan dengan benar.
    
    Kemudian buat atribut *class* dengan nilai tetap *string* yang benar:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/metadata.md

    それぞれのタグ毎にひとつの辞書を含むリストをとります。
    
    それぞれの辞書は以下をもつことができます:
    
    * `name` (**必須**): *path operations* および `APIRouter` の `tags` パラメーターで使用するのと同じタグ名である `str`。
    * `description`: タグの簡単な説明文である `str`。 Markdownで記述でき、ドキュメントUIに表示されます。
    * `externalDocs`: 外部ドキュメントを説明するための `dict`:
        * `description`: 外部ドキュメントの簡単な説明文である `str`。
        * `url` (**必須**): 外部ドキュメントのURLである `str`。
    
    ### タグのためのメタデータの作成
    
    `users` と `items` のタグを使った例でメタデータの追加を試してみましょう。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestCharSink.java

          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
          @Override
          public void write(String str, int off, int len) throws IOException {
            super.write(str, off, len);
            flush();
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top