MCPcopy Index your code
hub / github.com/python/mypy / vec_items

Function vec_items

mypyc/irbuild/vec.py:244–249  ·  view source on GitHub ↗

Return pointer to first item in vec. The items field points directly to the first element in the buffer.

(builder: LowLevelIRBuilder, vecobj: Value)

Source from the content-addressed store, hash-verified

242
243
244def vec_items(builder: LowLevelIRBuilder, vecobj: Value) -> Value:
245 """Return pointer to first item in vec.
246
247 The items field points directly to the first element in the buffer.
248 """
249 return builder.get_element(vecobj, "items")
250
251
252def vec_item_ptr(builder: LowLevelIRBuilder, vecobj: Value, index: Value) -> Value:

Callers 4

vec_create_initializedFunction · 0.85
vec_create_from_valuesFunction · 0.85
vec_item_ptrFunction · 0.85
vec_containsFunction · 0.85

Calls 1

get_elementMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…