- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for sortedMethodNames (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/cmd/api/main_test.go
} if w.scope[len(w.scope)-1] != name { log.Fatalf("attempt to leave scope %q, but scope is currently %#v", name, w.scope) } w.scope = w.scope[:len(w.scope)-1] } } func sortedMethodNames(typ *types.Interface) []string { n := typ.NumMethods() list := make([]string, n) for i := range list { list[i] = typ.Method(i).Name() } slices.Sort(list) return list }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0)