Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 322 for unicos (0.03 sec)

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

            assertEquals(26, result);
        }
    
        /**
         * Test writeBytesWireFormat method with Unicode.
         */
        @Test
        void testWriteBytesWireFormat_Unicode() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            smbComOpenAndX.useUnicode = true;
            // For Unicode: 1 byte (initial null in writeBytesWireFormat)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_constructorWithString_unicodeCharacters() {
            // Test with message containing unicode characters
            String message = "ジョブが見つかりません: 日本語のテスト";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
         * Encodes a string into UTF-16LE (Unicode Little Endian) bytes.
         *
         * @param str the string to encode
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes(final String str) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. docs/uk/docs/index.md

    ## Приклад
    
    ### Створіть
    
    * Створіть файл `main.py` з:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @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}
    ```
    
    <details markdown="1">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/query-params-str-validations.md

    ➡️ ✊ 👉 🈸 🖼:
    
    {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *}
    
    🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, &amp; 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔.
    
    /// note
    
    FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`.
    
     `Union` `Union[str, None]` 🔜 ✔ 👆 👨‍🎨 🤝 👆 👍 🐕‍🦺 &amp; 🔍 ❌.
    
    ///
    
    ## 🌖 🔬
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Unicode Support Tests")
        class UnicodeSupportTests {
    
            @Test
            @DisplayName("Should always force unicode")
            void testIsForceUnicode() {
                assertTrue(response.isForceUnicode());
            }
    
            @Test
            @DisplayName("Should consistently return true for unicode")
            void testIsForceUnicodeMultipleCalls() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            response.getServerData().encryptionKeyLength = 8;
            // Set Unicode flag to use Unicode encoding
            setNegotiatedFlags2(response, SmbConstants.FLAGS2_UNICODE);
            // Domain name in Unicode (UTF-16LE) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("UTF-16LE");
            // Use reflection to set protected byteCount field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import static com.google.common.collect.Multisets.difference;
    import static com.google.common.collect.Multisets.intersection;
    import static com.google.common.collect.Multisets.sum;
    import static com.google.common.collect.Multisets.union;
    import static com.google.common.collect.Multisets.unmodifiableMultiset;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            // Test toString with buffer containing non-printable characters or special unicode
            String unicodeChars = "你好世界"; // "Hello World" in Chinese
            UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false);
            assertEquals(unicodeChars, unicodeStringChinese.toString(), "toString should handle unicode characters correctly");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

    package okhttp3.logging.internal
    
    import java.io.EOFException
    import okio.Buffer
    
    /**
     * Returns true if the body in question probably contains human readable text. Uses a small
     * sample of code points to detect unicode control characters commonly used in binary file
     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top