MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / add

Method add

scripts/spec_tools/data_structures.py:52–58  ·  view source on GitHub ↗
(self, k, v)

Source from the content-addressed store, hash-verified

50 self.d[k] = set()
51
52 def add(self, k, v):
53 self.add_key(k)
54 if isinstance(v, str):
55 v = (v, )
56 if not isinstance(v, set):
57 v = set(v)
58 self.d[k].update(v)

Callers 15

__init__Method · 0.95
compute_type_to_codesFunction · 0.95
__init__Method · 0.95
add_edgeMethod · 0.80
descendantsMethod · 0.80
__init__Method · 0.80
genRequirementsMethod · 0.80
getConditionsMethod · 0.80
add_depMethod · 0.80

Calls 1

add_keyMethod · 0.95

Tested by

no test coverage detected