Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for hi (0.01 sec)

  1. android/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());
    
        assertNull(queue.peek());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

         * @param low
         *            最小の文字コード
         * @param hi
         *            最大の文字コード
         */
        protected static void whitespaceChars(final byte[] ctype2, int low, int hi) {
            if (low < 0) {
                low = 0;
            }
            if (hi >= ctype2.length) {
                hi = ctype2.length - 1;
            }
            while (low <= hi) {
                ctype2[low++] = CT_WHITESPACE;
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. internal/config/config_test.go

    		// No keys requested for tokenizing
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{},
    			expectedFields: map[string]struct{}{},
    		},
    		// Single key requested and present
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{"comment"},
    			expectedFields: map[string]struct{}{`comment="Hi this is my comment ="`: {}},
    		},
    		// Keys and input order of k=v is same.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 18 22:55:17 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    		nonUTF8 bool
    		flags   uint16
    	}{
    		{
    			name:    "hi, hello",
    			comment: "in the world",
    			flags:   0x8,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			nonUTF8: true,
    			flags:   0x8,
    		},
    		{
    			name:    "hi, hello",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/mips.s

    	//inst:
    	//
    	// load ints and bytes
    	//
    	//	LMOVW rreg ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVW	R1, R2
    	MOVW	LO, R1
    	MOVW	HI, R1
    	MOVW	R1, LO
    	MOVW	R1, HI
    	MOVW	R1, R2
    	MOVW	LO, R1
    	MOVW	HI, R1
    	MOVW	R1, LO
    	MOVW	R1, HI
    
    	//	LMOVW addr ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVW	foo<>+3(SB), R2
    	MOVW	16(R1), R2
    	MOVW	(R1), R2
    	MOVW	foo<>+3(SB), R2
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.IA5_STRING.fromDer(bytes)).isEqualTo("hi")
        assertThat(Adapters.IA5_STRING.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `printable string`() {
        val bytes = "13026869".decodeHex()
        assertThat(Adapters.PRINTABLE_STRING.fromDer(bytes)).isEqualTo("hi")
        assertThat(Adapters.PRINTABLE_STRING.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `cannot decode utc time with offset`() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. 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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // into the range of surrogate characters, but if they do we must not test
        // any values in that range. To see why, consider the case where:
        // safeMin <= {hi,lo} <= safeMax
        // where {hi,lo} are characters forming a surrogate pair such that:
        // codePointOf(hi, lo) > safeMax
        // which would result in the surrogate pair being (wrongly) considered safe.
        // If we clip the safe range used during the per-character tests so it is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top