hashmap

package
v0.0.0-...-ea31202 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2020 just-codeding-0 . All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2020 just-codeding-0 . All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHashMap

func NewHashMap(shardCount uintptr) *hashMap

最小255个分片

Types

type HashMap

type HashMap interface {
	Delete(key string) bool
	Put(key, value string)
	Load(key string) (string, bool)
	GetShardSize() uintptr
	Close()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL