Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for abbaab (0.1 sec)

  1. src/strings/strings_test.go

    var trimTests = []struct {
    	f            string
    	in, arg, out string
    }{
    	{"Trim", "abba", "a", "bb"},
    	{"Trim", "abba", "ab", ""},
    	{"TrimLeft", "abba", "ab", ""},
    	{"TrimRight", "abba", "ab", ""},
    	{"TrimLeft", "abba", "a", "bba"},
    	{"TrimLeft", "abba", "b", "abba"},
    	{"TrimRight", "abba", "a", "abb"},
    	{"TrimRight", "abba", "b", "abba"},
    	{"Trim", "<tag>", "<>", "tag"},
    	{"Trim", "* listitem", " *", "listitem"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	in, arg, out string
    }
    
    var trimTests = []TrimTest{
    	{"Trim", "abba", "a", "bb"},
    	{"Trim", "abba", "ab", ""},
    	{"TrimLeft", "abba", "ab", ""},
    	{"TrimRight", "abba", "ab", ""},
    	{"TrimLeft", "abba", "a", "bba"},
    	{"TrimLeft", "abba", "b", "abba"},
    	{"TrimRight", "abba", "a", "abb"},
    	{"TrimRight", "abba", "b", "abba"},
    	{"Trim", "<tag>", "<>", "tag"},
    	{"Trim", "* listitem", " *", "listitem"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/html/template/exec_test.go

    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    	{"bug16j", "{{1+2i|printf \"%v\"}}", "(1&#43;2i)", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    	{"bug16j", "{{1+2i|printf \"%v\"}}", "(1+2i)", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. src/testing/testing.go

    		// do a good job of ensuring that writes to the same pipe through
    		// different file descriptors are delivered whole, so that writing
    		// AAA to stdout and BBB to stderr simultaneously produces
    		// AAABBB or BBBAAA on the pipe, not something like AABBBA.
    		// However, the exception to this is when the pipe fills: in that
    		// case, Go's use of non-blocking I/O means that writing AAA
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top