Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Type Name="octo::HashMap<*>">
- <DisplayString>{{ size={m.core.size} cap={m.core.capacity} }}</DisplayString>
- <Expand>
- <CustomListItems>
- <Variable Name="ctrl" InitialValue="m.core.ctrl"/>
- <Variable Name="cap" InitialValue="m.core.capacity"/>
- <Variable Name="index" InitialValue="0"/>
- <Variable Name="elem" InitialValue="reinterpret_cast<octo::KeyValuePair<$T1,$T2>*>((char*)ctrl+cap+1+octo::impl::hashtable::GroupSize)" />
- <Loop>
- <Break Condition="index==cap"/>
- <Item Name="[{elem[index].Key}]" Condition="(ctrl[index]&0x80)==0">
- elem[index].Value
- </Item>
- <Exec>++index</Exec>
- </Loop>
- </CustomListItems>
- </Expand>
- </Type>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement