Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookupStringConversionNestedLit (0.36 sec)

  1. test/codegen/maps.go

    }
    
    func LookupStringConversionArrayLit(m map[[2]string]int, bytes []byte) int {
    	// amd64:-`.*runtime\.slicebytetostring\(`
    	return m[[2]string{string(bytes), string(bytes)}]
    }
    
    func LookupStringConversionNestedLit(m map[[1]struct{ s [1]string }]int, bytes []byte) int {
    	// amd64:-`.*runtime\.slicebytetostring\(`
    	return m[[1]struct{ s [1]string }{struct{ s [1]string }{s: [1]string{string(bytes)}}}]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top