Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for ab (0.01 sec)

  1. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        Iterable<Character> result = Traverser.forGraph(graph).breadthFirst(charactersOf("ab"));
    
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'b');
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

        Iterable<Character> result = Traverser.forGraph(graph).breadthFirst(charactersOf("ab"));
    
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'b');
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // These have a combination of invalid length and unrecognized characters.
        assertFailsToDecode(base16(), "?", "Invalid input length 1");
        assertFailsToDecode(base16(), "ab");
        assertFailsToDecode(base16().lowerCase(), "AB");
      }
    
      public void testBase16Offset() {
        testEncodesWithOffset(base16(), "foobar", 0, 6, "666F6F626172");
        testEncodesWithOffset(base16(), "foobar", 1, 5, "6F6F626172");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("", normalizeText("\t \t", 100, 2, -1, false));
            assertEquals("12 ab", normalizeText(" 123 abc ", 100, 2, -1, false));
            assertEquals("123 あいう", normalizeText(" 123 あいう ", 100, 2, -1, false));
            assertEquals("12 ab", normalizeText(" 123\nabc ", 100, 2, -1, false));
            assertEquals("12", normalizeText(" 123abc ", 100, 2, -1, false));
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/MyBean3.java

        /**
         *
         */
        public String other = "other";
    
        /**
         *
         */
        public String abc_exclude = "exclude";
    
        /**
         *
         */
        public String ab = "ab";
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1011 bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/Base64Test.java

            return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
                    Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB"
                    Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding
                    Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      @GwtIncompatible // java.util.Random, java.util.BitSet
      public void testSmallCharMatcher() {
        CharMatcher len1 = SmallCharMatcher.from(bitSet("#"), "#");
        CharMatcher len2 = SmallCharMatcher.from(bitSet("ab"), "ab");
        CharMatcher len3 = SmallCharMatcher.from(bitSet("abc"), "abc");
        CharMatcher len4 = SmallCharMatcher.from(bitSet("abcd"), "abcd");
        assertTrue(len1.matches('#'));
        assertFalse(len1.matches('!'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    	{"Trim", []byte{'a', 'a'}, "a", nil},
    	{"Trim", []byte{'a'}, "ab", nil},
    	{"Trim", []byte{'a', 'b'}, "ab", nil},
    	{"Trim", []byte("☺"), "☺", nil},
    	{"TrimLeft", nil, "", nil},
    	{"TrimLeft", []byte{}, "", nil},
    	{"TrimLeft", []byte{'a'}, "a", nil},
    	{"TrimLeft", []byte{'a', 'a'}, "a", nil},
    	{"TrimLeft", []byte{'a'}, "ab", nil},
    	{"TrimLeft", []byte{'a', 'b'}, "ab", nil},
    	{"TrimLeft", []byte("☺"), "☺", nil},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef"));
            assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab"));
            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
            assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
                String result = nc.toString();
    
                // With size = 1 * 2 = 2, Hexdump.toHexString produces "AB"
                assertTrue(result.contains("challenge=0xAB"));
                assertTrue(result.contains("dc=TESTDC"));
            }
    
            @Test
            @DisplayName("toString with null challenge throws NPE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top