Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for abcdef (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base32(), "ABC");
        assertFailsToDecode(base32(), "ABCDEF");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base32(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base32(), "A=BCDE", "Invalid input length 6");
        assertFailsToDecode(base32(), "?", "Invalid input length 1");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base32(), "ABC");
        assertFailsToDecode(base32(), "ABCDEF");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base32(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base32(), "A=BCDE", "Invalid input length 6");
        assertFailsToDecode(base32(), "?", "Invalid input length 1");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testSkipFully_eof() throws IOException {
        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testSkipFully_eof() throws IOException {
        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	buf = NewReaderSize(dataAndEOFReader("abcd"), 32)
    	if s, err := buf.Peek(2); string(s) != "ab" || err != nil {
    		t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "abcd" || err != nil {
    		t.Errorf(`Peek(4) on "abcd", EOF = %q, %v; want "abcd", nil`, string(s), err)
    	}
    	if n, err := buf.Read(p[0:5]); string(p[0:n]) != "abcd" || err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        //     the smaller of these blocks with the far end of the other one. That leaves us with a
        //     smaller version of the same problem.
        //     Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]:
        //     [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      public void testPostOrder() {
        assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh");
      }
    
      public void testBreadthOrder() {
        assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf");
      }
    
      public void testUsing() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * <pre>{@code
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }</pre>
     *
     * <p>can be iterated over in preorder (hdabcegf), postorder (abcdefgh), or breadth-first order
     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Splitter.java

        return onPatternInternal(Platform.compilePattern(separatorPattern));
      }
    
      /**
       * Returns a splitter that divides strings into pieces of the given length. For example, {@code
       * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd",
       * "e"]}. The last piece can be smaller than {@code length} but will never be empty.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top