Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for xHellox (0.07 sec)

  1. src/strings/replace_test.go

    	// Issue 6659 cases (more single string replacer)
    
    	noHello := NewReplacer("Hello", "")
    	testCases = append(testCases,
    		testCase{noHello, "Hello", ""},
    		testCase{noHello, "Hellox", "x"},
    		testCase{noHello, "xHello", "x"},
    		testCase{noHello, "xHellox", "xx"},
    	)
    
    	// No-arg test cases.
    
    	nop := NewReplacer()
    	testCases = append(testCases,
    		testCase{nop, "abc", "abc"},
    		testCase{nop, "", ""},
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    		{"foo", "b=\nar=\n==\x00", "18 foo=b=\nar=\n==\x00\n", true},
    		{"foo", "hello9 foo=ba\nworld", "27 foo=hello9 foo=ba\nworld\n", true},
    		{"☺☻☹", "日a本b語ç", "27 ☺☻☹=日a本b語ç\n", true},
    		{"xhello", "\x00world", "17 xhello=\x00world\n", true},
    		{"path", "null\x00", "", false},
    		{"null\x00", "value", "", false},
    		{paxSchilyXattr + "key", "null\x00", "26 SCHILY.xattr.key=null\x00\n", true},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
Back to top