Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for equalVarString4 (0.17 sec)

  1. test/codegen/comparisons.go

    }
    
    func equalConstString4() bool {
    	a := string("AAAA")
    	b := string("ZZZZ")
    	// amd64:-".*memequal"
    	// arm64:-".*memequal"
    	// ppc64x:-".*memequal"
    	return a == b
    }
    
    func equalVarString4(a string) bool {
    	b := string("ZZZZ")
    	// amd64:-".*memequal"
    	// arm64:-".*memequal"
    	// ppc64x:-".*memequal"
    	return a[:4] == b
    }
    
    func equalConstString8() bool {
    	a := string("AAAAAAAA")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top