MCPcopy Create free account
hub / github.com/google/gapid / addAttribute

Method addAttribute

core/os/android/binaryxml/xml_start_element.go:121–124  ·  view source on GitHub ↗
(attr *xmlAttribute)

Source from the content-addressed store, hash-verified

119}
120
121func (c *xmlStartElement) addAttribute(attr *xmlAttribute) {
122 c.attributes = append(c.attributes, *attr)
123 sort.Sort(attributesByResourceId{c.attributes, c.root()})
124}

Calls 2

rootMethod · 0.65
SortMethod · 0.45

Tested by

no test coverage detected