aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2018-01-27 12:48:15 +0100
committerMartin Möhrmann <moehrmann@google.com>2018-02-17 14:57:32 +0000
commitf4bb25c937cffb277e5ba87708d286ea7fd1b6ed (patch)
tree4040b52ea7cbb64b3afbc94757cc449f059287bd /src/runtime
parent549cb18a9131221755694c0ccc610ae9a406129d (diff)
downloadgo-f4bb25c937cffb277e5ba87708d286ea7fd1b6ed.tar.xz
runtime: rename map implementation and test files to use a common prefix
Rename all map implementation and test files to use "map" as a file name prefix instead of "hashmap" for the implementation and "map" for the test file names. Change-Id: I7b317c1f7a660b95c6d1f1a185866f2839e69446 Reviewed-on: https://go-review.googlesource.com/90336 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/map.go (renamed from src/runtime/hashmap.go)0
-rw-r--r--src/runtime/map_benchmark_test.go (renamed from src/runtime/mapspeed_test.go)0
-rw-r--r--src/runtime/map_fast.go (renamed from src/runtime/hashmap_fast.go)0
-rw-r--r--src/runtime/map_test.go2
4 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/hashmap.go b/src/runtime/map.go
index eddb045622..eddb045622 100644
--- a/src/runtime/hashmap.go
+++ b/src/runtime/map.go
diff --git a/src/runtime/mapspeed_test.go b/src/runtime/map_benchmark_test.go
index aec0c51f3f..aec0c51f3f 100644
--- a/src/runtime/mapspeed_test.go
+++ b/src/runtime/map_benchmark_test.go
diff --git a/src/runtime/hashmap_fast.go b/src/runtime/map_fast.go
index f978d1be7b..f978d1be7b 100644
--- a/src/runtime/hashmap_fast.go
+++ b/src/runtime/map_fast.go
diff --git a/src/runtime/map_test.go b/src/runtime/map_test.go
index 6ed655de0a..b12b09eeb6 100644
--- a/src/runtime/map_test.go
+++ b/src/runtime/map_test.go
@@ -620,7 +620,7 @@ func TestMapBuckets(t *testing.T) {
// have a nil bucket pointer due to starting with preallocated buckets
// on the stack. Escaping maps start with a non-nil bucket pointer if
// hint size is above bucketCnt and thereby have more than one bucket.
- // These tests depend on bucketCnt and loadFactor* in hashmap.go.
+ // These tests depend on bucketCnt and loadFactor* in map.go.
t.Run("mapliteral", func(t *testing.T) {
for _, tt := range mapBucketTests {
localMap := map[int]int{}