all: fix some comments
Change-Id: I8a332489815651067a36c84690db9c6cb540882e Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/465998 Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>pull/5/head
parent
565f2d429f
commit
8520151a72
|
@ -1300,7 +1300,7 @@ func replaceEnv(env []string, ev string, evv string) []string {
|
|||
return newenv
|
||||
}
|
||||
|
||||
// replaceEnv returns a new environment derived from env
|
||||
// replaceEnvs returns a new environment derived from env
|
||||
// by replacing or adding all modifiers in newevs.
|
||||
func replaceEnvs(env, newevs []string) []string {
|
||||
for _, e := range newevs {
|
||||
|
@ -1344,7 +1344,7 @@ func ifMissingAddEnv(env []string, ev string, evv string) []string {
|
|||
return env
|
||||
}
|
||||
|
||||
// csToset converts a comma-separated string into the set of strings between the commas.
|
||||
// csToSet converts a comma-separated string into the set of strings between the commas.
|
||||
func csToSet(s string) map[string]bool {
|
||||
if s == "" {
|
||||
return nil
|
||||
|
|
|
@ -117,7 +117,7 @@ func EDMX(input []float64, delta int) int {
|
|||
return edmx(c, delta)
|
||||
}
|
||||
|
||||
// EMDXInt runs the EDM-X algorithm on a slice of integer datapoints.
|
||||
// EDMXInt runs the EDM-X algorithm on a slice of integer datapoints.
|
||||
func EDMXInt(input []int, delta int) int {
|
||||
return edmx(toFloat(input), delta)
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ import (
|
|||
"github.com/blevesearch/bleve/mapping"
|
||||
)
|
||||
|
||||
// articleMapping returns a mapping for indexing wikipedia articles
|
||||
// ArticleMapping returns a mapping for indexing wikipedia articles
|
||||
// in a manner similar to that done by the Apache Lucene nightly
|
||||
// benchmarks.
|
||||
func ArticleMapping() mapping.IndexMapping {
|
||||
|
|
Loading…
Reference in New Issue