Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 83 for hi (0.01 seconds)

  1. docs/zh/docs/advanced/advanced-python-types.md

    如果你的代码因为某些原因不能使用 `|`,例如它不是在类型注解里,而是在 `response_model=` 之类的参数中,那么你可以使用 `typing` 中的 `Union` 来代替竖线(`|`)。
    
    例如,你可以声明某个值可以是 `str` 或 `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` 也提供了一个声明“可能为 `None`”的快捷方式:`Optional`。
    
    从我非常主观的角度给个小建议:
    
    - 🚨 避免使用 `Optional[SomeType]`
    - 改用 ✨`Union[SomeType, None]`✨。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[++dstIndex] = (byte) (val >> 8);
        }
    
        static long readTime(final byte[] src, final int srcIndex) {
            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            final long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        static void writeTime(long t, final byte[] dst, final int dstIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/advanced-python-types.md

    例えば、`str` または `None` になり得ることを宣言できます:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` には、`None` を取り得ることを宣言するための短縮形として `Optional` もあります。
    
    ここからは私のとても主観的な提案です:
    
    - 🚨 `Optional[SomeType]` の使用は避けましょう
    - 代わりに ✨ **`Union[SomeType, None]` を使いましょう** ✨。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test with known test vector
            // Using test vector from RFC 2104 adapted for HMACT64
            byte[] key = new byte[16];
            Arrays.fill(key, (byte) 0x0b);
            byte[] data = "Hi There".getBytes();
    
            // Expected result calculated manually for HMACT64 with this key and data
            HMACT64 hmac = new HMACT64(key);
            hmac.engineUpdate(data, 0, data.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
           * Content-Length: 3
           *
           * Hi?
           * --> END POST
           *
           * <-- 200 OK (22ms)
           * Content-Type: plain/text
           * Content-Length: 6
           *
           * Hello!
           * <-- END HTTP
           * ```
           */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            @Test
            @DisplayName("readn should return 0 when no more bytes available")
            void shouldReturnZeroWhenStreamEmpty() throws IOException {
                InputStream is = new ByteArrayInputStream("Hi".getBytes());
                byte[] buffer = new byte[10];
    
                Transport.readn(is, buffer, 0, 2); // Read all
                int bytesRead = Transport.readn(is, buffer, 0, 5); // Try to read more
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. android/pom.xml

                <runOrder>alphabetical</runOrder>
                <!-- Set max heap for tests. -->
                <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
                <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.opens}</argLine>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-toolchains-plugin</artifactId>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/arch/arm.go

    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    	"CC":  arm.C_SCOND_LO,
    	"LO":  arm.C_SCOND_LO,
    	"MI":  arm.C_SCOND_MI,
    	"PL":  arm.C_SCOND_PL,
    	"VS":  arm.C_SCOND_VS,
    	"VC":  arm.C_SCOND_VC,
    	"HI":  arm.C_SCOND_HI,
    	"LS":  arm.C_SCOND_LS,
    	"GE":  arm.C_SCOND_GE,
    	"LT":  arm.C_SCOND_LT,
    	"GT":  arm.C_SCOND_GT,
    	"LE":  arm.C_SCOND_LE,
    	"AL":  arm.C_SCOND_NONE,
    	"U":   arm.C_UBIT,
    	"S":   arm.C_SBIT,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 23 15:18:14 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. ADDING_NEW_LANGUAGE.md

    Find the `supported.languages` property (around line 202) and ensure your language code is included:
    
    ```properties
    supported.languages=ar,bg,bn,ca,ckb_IQ,cs,da,de,el,en_IE,en,es,et,eu,fa,fi,fr,gl,gu,he,hi,hr,hu,hy,id,it,ja,ko,lt,lv,mk,ml,nl,no,pa,pl,pt_BR,pt,ro,ru,si,sq,sv,ta,te,th,tl,tr,uk,ur,vi,zh_CN,zh_TW,zh
    ```
    
    **Optional configurations:**
    
    If you create online help documentation:
    ```properties
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  10. src/cmd/asm/internal/arch/arch.go

    	}
    	for i := mips.REG_M0; i <= mips.REG_M31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := mips.REG_FCR0; i <= mips.REG_FCR31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	register["HI"] = mips.REG_HI
    	register["LO"] = mips.REG_LO
    	// Pseudo-registers.
    	register["SB"] = RSB
    	register["FP"] = RFP
    	register["PC"] = RPC
    	// Avoid unintentionally clobbering g using R30.
    	delete(register, "R30")
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top