Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 496 for tstr (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        void testToString() {
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=SMB_COM_ECHO"));
            assertTrue(str.contains("errorCode=0"));
            assertTrue(str.contains("mid=1"));
        }
    
        @Test
        void testToStringUnknownCommand() {
            smb.command = (byte) 0xFF; // Unknown command
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/security/first-steps.md

    ///
    
    ## ⚫️❔ ⚫️ 🔨
    
    ⚫️ 🔜 🚶 & 👀 📨 👈 `Authorization` 🎚, ✅ 🚥 💲 `Bearer ` ➕ 🤝, & 🔜 📨 🤝 `str`.
    
    🚥 ⚫️ 🚫 👀 `Authorization` 🎚, ⚖️ 💲 🚫 ✔️ `Bearer ` 🤝, ⚫️ 🔜 📨 ⏮️ 4️⃣0️⃣1️⃣ 👔 📟 ❌ (`UNAUTHORIZED`) 🔗.
    
    👆 🚫 ✔️ ✅ 🚥 🤝 🔀 📨 ❌. 👆 💪 💭 👈 🚥 👆 🔢 🛠️, ⚫️ 🔜 ✔️ `str` 👈 🤝.
    
    👆 💪 🔄 ⚫️ ⏪ 🎓 🩺:
    
    <img src="/img/tutorial/security/image03.png">
    
    👥 🚫 ✔ 🔬 🤝, ✋️ 👈 ▶️ ⏪.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            write.setParam(0x1234, 100L, 50, new byte[10], 0, 10);
    
            String str = write.toString();
            assertNotNull(str);
            assertTrue(str.contains("SmbComWrite"), "Should contain class name");
            assertTrue(str.contains("fid="), "Should contain fid");
            assertTrue(str.contains("count="), "Should contain count");
            assertTrue(str.contains("offset="), "Should contain offset");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | Tipp
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        }
    
        @Test
        @DisplayName("toString includes command name and filename")
        void testToStringIncludesInformation() {
            String str = cmd.toString();
            assertTrue(str.startsWith("SmbComQueryInformation"), "String representation must start with class name");
            assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            write(b, 0, blen);
        }
    
        @Override
        public final void writeUTF(final String str) throws SmbException {
            final int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for (int i = 0; i < len; i++) {
                ch = str.charAt(i);
                size += ch > 0x07F ? ch > 0x7FF ? 3 : 2 : 1;
            }
            dst = new byte[size];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. docs/fr/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Qui peuvent ensuite être utilisés comme cela:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/get-current-user.md

    `get_current_user` 🔜 ✔️ 🔗 ⏮️ 🎏 `oauth2_scheme` 👥 ✍ ⏭.
    
    🎏 👥 🔨 ⏭ *➡ 🛠️* 🔗, 👆 🆕 🔗 `get_current_user` 🔜 📨 `token` `str` ⚪️➡️ 🎧-🔗 `oauth2_scheme`:
    
    {* ../../docs_src/security/tutorial002.py hl[25] *}
    
    ## 🤚 👩‍💻
    
    `get_current_user` 🔜 ⚙️ (❌) 🚙 🔢 👥 ✍, 👈 ✊ 🤝 `str` &amp; 📨 👆 Pydantic `User` 🏷:
    
    {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *}
    
    ## 💉 ⏮️ 👩‍💻
    
    🔜 👥 💪 ⚙️ 🎏 `Depends` ⏮️ 👆 `get_current_user` *➡ 🛠️*:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/encoder.md

    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/encoder.md

    Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
    
    O resultado de chamar a função é algo que pode ser codificado com o padrão do Python <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top