HomeSort by relevance Sort by last modified time
    Searched full:byweight (Results 1 - 2 of 2) sorted by null

  /prebuilts/go/darwin-x86/src/sort/
example_wrapper_test.go 32 // ByWeight implements sort.Interface by providing Less and using the Len and
34 type ByWeight struct{ Organs }
36 func (s ByWeight) Less(i, j int) bool { return s.Organs[i].Weight < s.Organs[j].Weight }
48 sort.Sort(ByWeight{s})
  /prebuilts/go/linux-x86/src/sort/
example_wrapper_test.go 32 // ByWeight implements sort.Interface by providing Less and using the Len and
34 type ByWeight struct{ Organs }
36 func (s ByWeight) Less(i, j int) bool { return s.Organs[i].Weight < s.Organs[j].Weight }
48 sort.Sort(ByWeight{s})

Completed in 276 milliseconds