Lib/v3d/BufferObject.cpp
/**
 * Scan heap for known value
 *
 * This is a debug method, for testing
 */
Scan heap for known value
This is a debug method, for testing
Scan heap for known value This is a debug method for testing
void BufferObject::find_value(uint32_t in_val) {
  for (uint32_t offset = 0; offset < size_word(); ++offset) {
    uint32_t val = (*this)[offset];
    if (val == in_val) {
      printf("Found %u at %u, value: %d - %x\n", in_val, offset, val, val);
    }
  }
}
void BufferObject :: find_value ( uint32_t in_val ) { for ( uint32_t offset = 0 ; offset < size_word ( ) ; ++ offset ) { uint32_t val = ( * this ) [ offset ] ; if ( val == in_val ) { printf ( " \n " , in_val , offset , val , val ) ; } } }
Scan heap for known value
 This is a debug method, for testing
Scan heap for known value This is a debug method for testing