kubernetes/vendor/github.com/google/go-cmp/cmp/report_references.go

const pointerDelimPrefix

const pointerDelimSuffix

// formatPointer prints the address of the pointer.
func formatPointer(p value.Pointer, withDelims bool) string {}

type pointerReferences

func (ps *pointerReferences) PushPair(vx, vy reflect.Value, d diffMode, deref bool) (pp [2]value.Pointer) {}

func (ps *pointerReferences) Push(v reflect.Value) (p value.Pointer, seen bool) {}

func (ps *pointerReferences) Pop() {}

type trunkReferences

type trunkReference

type leafReference

func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode {}

func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode {}

func makeLeafReference(p value.Pointer, printAddress bool) textNode {}

// resolveReferences walks the textNode tree searching for any leaf reference
// metadata and resolves each against the corresponding trunk references.
// Since pointer addresses in memory are not particularly readable to the user,
// it replaces each pointer value with an arbitrary and unique reference ID.
func resolveReferences(s textNode) {}

func formatReference(id uint) string {}

func updateReferencePrefix(prefix, ref string) string {}