- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for splitFunc (0.16 sec)
-
src/cmd/fix/typecheck.go
// Using strings makes this a little harder, but it makes // a lot of the rest of the code easier. This will all go away // when we can use go/typechecker directly. // splitFunc splits "func(x,y,z) (a,b,c)" into ["x", "y", "z"] and ["a", "b", "c"]. func splitFunc(s string) (in, out []string) { if !strings.HasPrefix(s, "func(") { return nil, nil } i := len("func(") // index of beginning of 'in' arguments nparen := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 20.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ReadWriter.Writer", Field, 0}, {"Reader", Type, 0}, {"ScanBytes", Func, 1}, {"ScanLines", Func, 1}, {"ScanRunes", Func, 1}, {"ScanWords", Func, 1}, {"Scanner", Type, 1}, {"SplitFunc", Type, 1}, {"Writer", Type, 0}, }, "bytes": { {"(*Buffer).Available", Method, 21}, {"(*Buffer).AvailableBuffer", Method, 21}, {"(*Buffer).Bytes", Method, 0}, {"(*Buffer).Cap", Method, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)