Skip to content

Commit

Permalink
Merge pull request #5 from Zhang-Jun-tao/main
Browse files Browse the repository at this point in the history
增加foreach、len函数
  • Loading branch information
heiyeluren authored Mar 4, 2022
2 parents 177aea6 + ec57063 commit a6f9773
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 174 deletions.
6 changes: 3 additions & 3 deletions xmap/concurrent_hash_map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ import (
"time"
"unsafe"
// "xds/xmap/entry"
"github.com/spf13/cast"
"github.com/heiyeluren/xmm"
"github.com/heiyeluren/xds/xmap/entry"
"github.com/heiyeluren/xmm"
"github.com/spf13/cast"
)

func TestMap(t *testing.T) {
Expand Down Expand Up @@ -227,7 +227,7 @@ type Bucket2 struct {
forwarding bool // 已经迁移完成
rwlock sync.RWMutex
index uint64
newBulks *[]uintptr
newBuckets *[]uintptr
Head *entry.NodeEntry
/*
Tree *entry.Tree
Expand Down
Loading

0 comments on commit a6f9773

Please sign in to comment.