Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 65 for HI (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/resources/esclient.xml

    		</postConstruct>
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    			<arg>"gl/protwords.txt"</arg>
    		</postConstruct>
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    			<arg>"hi/protwords.txt"</arg>
    		</postConstruct>
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    			<arg>"hu/protwords.txt"</arg>
    		</postConstruct>
    		<postConstruct name="addConfigFile">
    			<arg>"fess"</arg>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/advanced-python-types.md

    For example, you could declare that something could be a `str` or `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` also has a shortcut to declare that something could be `None`, with `Optional`.
    
    Here's a tip from my very **subjective** point of view:
    
    * 🚨 Avoid using `Optional[SomeType]`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  3. src/bytes/bytes.go

    		for hi := len(s) - 1; hi >= 0; hi-- {
    			c := s[hi]
    			if c >= utf8.RuneSelf {
    				return TrimFunc(s[:hi+1], unicode.IsSpace)
    			}
    			if asciiSpace[c] == 0 {
    				// At this point, s[:hi+1] starts and ends with ASCII
    				// non-space bytes, so we're done. Non-ASCII cases have
    				// already been handled above.
    				return s[:hi+1]
    			}
    		}
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            assertFalse(message.isAssistant());
        }
    
        @Test
        public void test_assistantMessage() {
            final ChatMessage message = ChatMessage.assistantMessage("Hi there!");
            assertEquals(ChatMessage.ROLE_ASSISTANT, message.getRole());
            assertEquals("Hi there!", message.getContent());
            assertTrue(message.isAssistant());
            assertFalse(message.isUser());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. docs/zh-hant/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` 中也有用 `Optional` 宣告某個值可以是 `None` 的速記法。
    
    以下是我個人(非常主觀)的建議:
    
    * 🚨 避免使用 `Optional[SomeType]`
    * 改為 ✨ 使用 `Union[SomeType, None]` ✨。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
    
      public void testRfc2202_hmacSha1_case1() {
        byte[] key = fillByteArray(20, 0x0b);
        String data = "Hi There";
    
        checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data);
      }
    
      public void testRfc2202_hmacSha1_case2() {
        byte[] key = "Jefe".getBytes(UTF_8);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/LlmChatRequestTest.java

        public void test_fluentBuilding() {
            final LlmChatRequest request = new LlmChatRequest().addSystemMessage("You are a helpful assistant")
                    .addUserMessage("Hello!")
                    .addAssistantMessage("Hi there!")
                    .addUserMessage("How are you?")
                    .setModel("llama3")
                    .setMaxTokens(500)
                    .setTemperature(0.5)
                    .setStream(false);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
            .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo"))
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. src/archive/zip/zip_test.go

    		t.Fatalf("got %v, expected nil", err)
    	}
    	zh := zf.File[0].FileHeader
    	if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) {
    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    	const timeFormat = "20060102T150405.000.txt"
    
    	ts := time.Now()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  10. 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)
Back to Top