Documentation
¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncMap ¶
type SyncMap struct {
// contains filtered or unexported fields
}
SyncMap is a map with synchronized access support
func MakeSyncMap ¶
MakeSyncMap creates a new SyncMap with the specified maximum number of entries. If the maximum number of entries is less than or equal to 0, it will be set to 1.
func (*SyncMap) Delete ¶
Delete removes the entry with the specified key from the SyncMap. If the key does not exist, this method does nothing.
func (*SyncMap) Get ¶
Get retrieves the value associated with the given key from the SyncMap. It returns the value and a boolean indicating whether the key was found.
Click to show internal directories.
Click to hide internal directories.