You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find any documentation for it, but empirically it looks like this:
template <typename T>
int__findnonnull(T** ptr, int64_t size) {
if (size < 0 || size > 100000000) {
error("Passing in a buffer size that is negative or in excess of 100 million to __findnonnull() is not allowed.");
}
for (int i = 0; i < size; ++ i) {
if (ptr[i] != nullptr) {
return i;
}
}
return -1;
}
The text was updated successfully, but these errors were encountered:
`__findnonnull` is often used in NatVis for visualizing complex data structures like hash tables. Implement it in a similar way as the native Visual Studio debugger.
Fixes#130
`__findnonnull` is often used in NatVis for visualizing complex data structures like hash tables. Implement it in a similar way as the native Visual Studio debugger.
Fixes#130
__findnonnull
is an important intrinsic used by NatVis in theCustomListItems
element -- https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2019#customlistitems-expansionI couldn't find any documentation for it, but empirically it looks like this:
The text was updated successfully, but these errors were encountered: