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

Name

Description

cord

The Cord to inspect.

Created with MrDocs