- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _Copy (0.05 sec)
-
src/go/types/builtins.go
} else { x.mode = value } if check.recordTypes() && x.mode != constant_ { check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ)) } x.typ = resTyp case _Copy: // copy(x, y []T) int dst, _ := coreType(x.typ).(*Slice) y := args[1] src0 := coreString(y.typ) if src0 != nil && isString(src0) { src0 = NewSlice(universeByte) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
} else { x.mode = value } if check.recordTypes() && x.mode != constant_ { check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ)) } x.typ = resTyp case _Copy: // copy(x, y []T) int dst, _ := coreType(x.typ).(*Slice) y := args[1] src0 := coreString(y.typ) if src0 != nil && isString(src0) { src0 = NewSlice(universeByte) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0)