MCPcopy Create free account
hub / github.com/klauspost/cpuid / String

Method String

featureid_string.go:366–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364var _Vendor_index = [...]uint8{0, 13, 18, 21, 24, 33, 36, 39, 43, 49, 55, 60, 65, 68, 71, 77, 80, 88, 94, 97, 104, 112, 120, 126, 130, 138, 145, 149, 152, 156, 159, 164, 170, 178, 183, 188, 196, 206}
365
366func (i Vendor) String() string {
367 idx := int(i) - 0
368 if i < 0 || idx >= len(_Vendor_index)-1 {
369 return "Vendor(" + strconv.FormatInt(int64(i), 10) + ")"
370 }
371 return _Vendor_name[_Vendor_index[idx]:_Vendor_index[idx+1]]
372}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected