The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

41 lines
1.6 KiB

2 months ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
  3. <!-- VC 2015 -->
  4. <Type Name="spp::sparse_hash_set&lt;*,*,*,*&gt;">
  5. <AlternativeType Name="spp::sparse_hash_map&lt;*,*,*,*,*&gt;" />
  6. <DisplayString>{{size = {rep.table._num_buckets}}}</DisplayString>
  7. <Expand>
  8. <CustomListItems MaxItemsPerView="1000" ExcludeView="Test">
  9. <Variable Name="grp" InitialValue="rep.table._first_group" />
  10. <Variable Name="last_grp" InitialValue="rep.table._last_group" />
  11. <Variable Name="item_ptr" InitialValue="rep.table._first_group-&gt;_group" />
  12. <Variable Name="cnt" InitialValue="-1" />
  13. <Size>rep.table._num_buckets</Size>
  14. <Loop>
  15. <Break Condition="grp == last_grp" />
  16. <Exec>item_ptr = grp-&gt;_group</Exec>
  17. <Exec>cnt = grp-&gt;_num_buckets</Exec>
  18. <Loop>
  19. <Break Condition="cnt == 0" />
  20. <Item>item_ptr,na</Item>
  21. <Exec>item_ptr++</Exec>
  22. <Exec>cnt--</Exec>
  23. </Loop>
  24. <Exec>++grp</Exec>
  25. </Loop>
  26. </CustomListItems>
  27. </Expand>
  28. </Type>
  29. <Type Name="spp::Two_d_iterator&lt;*,*,*,*&gt;">
  30. <DisplayString Condition="row_current==0">end()</DisplayString>
  31. <DisplayString Condition="row_current->_group == -1">end()</DisplayString>
  32. <DisplayString>{*col_current}</DisplayString>
  33. <Expand>
  34. <ExpandedItem Condition="row_current->_group != -1">*col_current</ExpandedItem>
  35. </Expand>
  36. </Type>
  37. </AutoVisualizer>