Discover Packages
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza
fileconsumer
internal
trie
package
Version:
v0.114.0
Opens a new window with list of versions in this module.
Published: Nov 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Trie[T any ] struct {
}
NewTrie allocates and returns a new *Trie.
Delete removes a value from the Trie. Returns true if the value was found.
Any empty nodes which become childless as a result are removed from the trie.
func (trie *Trie [T]) Put(key []byte , v T)
TODO []byte, T value parameters
Put inserts a value into the trie
Source Files
¶
Click to show internal directories.
Click to hide internal directories.