package internal
import "go.opentelemetry.io/otel/sdk/metric/internal"
Index ¶
Functions ¶
func ReuseSlice ¶
ReuseSlice returns a zeroed view of slice if its capacity is greater than or equal to n. Otherwise, it returns a new []T with capacity equal to n.
Source Files ¶
reuse_slice.go
Directories ¶
Path | Synopsis |
---|---|
internal/aggregate | Package aggregate provides aggregate types used compute aggregations and cycle the state of metric measurements made by the SDK. |
- Version
- v1.21.0
- Published
- Nov 16, 2023
- Platform
- windows/amd64
- Last checked
- 6 minutes ago –
Tools for package owners.