# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package hlc is a generated protocol buffer package.
No description provided by the author
No description provided by the author
Package interval provides two implementations for an interval tree.
Package leaktest provides tools to detect leaked goroutines in tests.
Package log is a generated protocol buffer package.
Package metric provides server metrics (a.k.a.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package sdnotify implements both sides of the systemd readiness protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package tracing is a generated protocol buffer package.
No description provided by the author
No description provided by the author
# Functions
CRC32 computes the Castagnoli CRC32 of the given data.
EqualPtrFields uses reflection to check two "mirror" structures for matching pointer fields that point to the same object.
GetSingleRune decodes the string s as a single rune if possible.
GetSmallTrace produces a ":"-separated single line containing the topmost 5 callers from a given skip level.
MakeFastIntSet initializes a FastIntSet with the given elements.
MakeUnresolvedAddr populates an UnresolvedAddr from a network and raw address string.
MoveTopKToFront moves the top K elements to the front.
NewUnresolvedAddr creates a new UnresolvedAddr from a network and raw address string.
Pluralize returns a single character 's' unless n == 1.
RetryForDuration will retry the given function until it either returns without error, or the given duration has elapsed.
RoundUpPowerOfTwo returns the first power of 2 greater or equal to the number.
TruncateDuration returns a new duration obtained from the first argument by discarding the portions at finer resolution than that given by the second argument.
UnexpectedWithIssueErrorf constructs an UnexpectedWithIssueError with the provided issue and formatted message.
# Constants
RaceEnabled is true if CockroachDB was built with the race build tag.
# Variables
No description provided by the author
No description provided by the author
IsolatedTestAddr is an address to use for tests that need extra isolation by using more addresses than 127.0.0.1 (support for this is platform-specific and only enabled on Linux).
TestAddr is an address to use for test servers.
# Structs
FastIntSet keeps track of a set of integers.
NoCopy may be embedded into structs which must not be copied after the first use.
UnexpectedWithIssueErr indicates an error with an associated Github issue.
/ UnresolvedAddr is an unresolved version of net.Addr.