Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for hi (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
        assertEquals(0, queue.size());
    
        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        assertThrows(NoSuchElementException.class, () -> queue.element());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        char c = 0;
        for (int hi = 0; hi < 256; hi++) {
          for (int lo = 0; lo < 256; lo++) {
            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
                        "hi=%s, lo=%s, expected=%s, result=%s",
                        hi,
                        lo,
                        (int) c,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/CharsTest.java

        char c = 0;
        for (int hi = 0; hi < 256; hi++) {
          for (int lo = 0; lo < 256; lo++) {
            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
                        "hi=%s, lo=%s, expected=%s, result=%s",
                        hi,
                        lo,
                        (int) c,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        val request = request().post("Hi?".toRequestBody(PLAIN)).build()
        val response = client.newCall(request).execute()
        response.body.close()
        applicationLogs
          .assertLogEqual("--> POST $url")
          .assertLogEqual("Content-Type: text/plain; charset=utf-8")
          .assertLogEqual("Content-Length: 3")
          .assertLogEqual("")
          .assertLogEqual("Hi?")
          .assertLogEqual("--> END POST (3-byte body)")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/parse.go

    			// Parse the upper and lower bounds.
    			lo := p.registerNumber(tok.String())
    			hi := lo
    			if p.peek() == '-' {
    				p.next()
    				hi = p.registerNumber(p.next().String())
    			}
    			if hi < lo {
    				lo, hi = hi, lo
    			}
    			// Check there are no duplicates in the register list.
    			for i := 0; lo <= hi && i < maxReg; i++ {
    				if bits&(1<<lo) != 0 {
    					p.errorf("register R%d already in list", lo)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            assertTrue(startsWithHello.apply("hello world"));
            assertTrue(startsWithHello.apply("hello"));
            assertFalse(startsWithHello.apply("hi world"));
            assertFalse(startsWithHello.apply(""));
            assertFalse(startsWithHello.apply(null));
        }
    
        @Test
        public void test_method_reference() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. docs/ko/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: Sat Feb 14 08:57:01 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top