Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkTemplateSpecialTags (0.26 sec)

  1. src/html/template/transition_test.go

    	for _, test := range tests {
    		if got := indexTagEnd([]byte(test.s), []byte(test.tag)); test.want != got {
    			t.Errorf("%q/%q: want\n\t%d\nbut got\n\t%d", test.s, test.tag, test.want, got)
    		}
    	}
    }
    
    func BenchmarkTemplateSpecialTags(b *testing.B) {
    
    	r := struct {
    		Name, Gift string
    	}{"Aunt Mildred", "bone china tea set"}
    
    	h1 := "<textarea> Hello Hello Hello </textarea> "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 30 16:22:29 UTC 2015
    - 1.7K bytes
    - Viewed (0)
Back to top