Lines Matching defs:Resource
24 Resource = collections.namedtuple("Resource", ['hash', 'name', 'index'])
58 """Produces a list of |Resource| objects from a string.
68 A sorted list of |Resource| objects.
70 resources = [Resource(_HashName(name), name, index) for name, index in
73 # The default |Resource| order makes |resources| sorted by the hash, then
81 """Checks a sorted list of |Resource| objects for hash collisions.
84 sorted_resource_list: A sorted list of |Resource| objects.
87 A set of all |Resource| objects with collisions.
105 resources: A sorted list of |Resource| objects.
111 data_getter: A function that gets the array data from a |Resource| object.