Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for bcde (0.08 sec)

  1. src/bytes/example_test.go

    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	rdbuf := make([]byte, 1)
    	n, err := b.Read(rdbuf)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(n)
    	fmt.Println(b.String())
    	fmt.Println(string(rdbuf))
    	// Output:
    	// 1
    	// bcde
    	// a
    }
    
    func ExampleBuffer_ReadByte() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	c, err := b.ReadByte()
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        tester.testAllPublicInstanceMethods(matcher);
      }
    
      public void testNoMatches() {
        doTestNoMatches(CharMatcher.none(), "blah");
        doTestNoMatches(is('a'), "bcde");
        doTestNoMatches(isNot('a'), "aaaa");
        doTestNoMatches(anyOf(""), "abcd");
        doTestNoMatches(anyOf("x"), "abcd");
        doTestNoMatches(anyOf("xy"), "abcd");
        doTestNoMatches(anyOf("CharMatcher"), "zxqy");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // 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");
      }
    
      public void testBase32UpperCaseIsNoOp() {
        assertThat(base32().upperCase()).isSameInstanceAs(base32());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        tester.testAllPublicInstanceMethods(matcher);
      }
    
      public void testNoMatches() {
        doTestNoMatches(CharMatcher.none(), "blah");
        doTestNoMatches(is('a'), "bcde");
        doTestNoMatches(isNot('a'), "aaaa");
        doTestNoMatches(anyOf(""), "abcd");
        doTestNoMatches(anyOf("x"), "abcd");
        doTestNoMatches(anyOf("xy"), "abcd");
        doTestNoMatches(anyOf("CharMatcher"), "zxqy");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    			testRemaining{6, 3},
    			testReadFrom{fileOps{int64(3), "cde"}, 6, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 8, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // 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");
      }
    
      public void testBase32UpperCaseIsNoOp() {
        assertThat(base32().upperCase()).isSameInstanceAs(base32());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcda");
      }
    
      @Test
      public void forGraph_breadthFirst_twoCycles() {
        Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
        assertEqualCharNodes(traverser.breadthFirst('b'), "bcda");
        assertEqualCharNodes(traverser.breadthFirst('c'), "cdab");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("bc")), "bcda");
      }
    
      @Test
      public void forGraph_breadthFirst_twoCycles() {
        Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
        assertEqualCharNodes(traverser.breadthFirst('b'), "bcda");
        assertEqualCharNodes(traverser.breadthFirst('c'), "cdab");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonPrefix("abc", ""));
        assertEquals("", Strings.commonPrefix("", "abc"));
        assertEquals("", Strings.commonPrefix("abcde", "xyz"));
        assertEquals("", Strings.commonPrefix("xyz", "abcde"));
        assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
        assertEquals("aa", Strings.commonPrefix("aa", "aaaaa"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    			testRead{0, "", io.EOF},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{0, 2}, {5, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    			testRead{3, "ab\x00", nil},
    			testRead{10, "\x00\x00cde", io.EOF},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{0, 2}, {5, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top