absl::GetCordzInfoForTesting

Returns the internal Cordz sampling info for cord, for testing.

Synopsis

Declared in <absl/strings/cord.h>

CordzInfo const*
GetCordzInfoForTesting(Cord const& cord);

NOTE

This function is a hidden friend of Cord, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The Cordz info for cord, or nullptr if not sampled.

Parameters

NameDescription
cordThe Cord to inspect.