mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
celldb in-memory mode (--celldb-in-memory option)
This commit is contained in:
parent
420029b056
commit
1723562748
48 changed files with 1966 additions and 201 deletions
|
@ -976,7 +976,7 @@ void CellSlice::dump(std::ostream& os, int level, bool endl) const {
|
|||
os << "; refs: " << refs_st << ".." << refs_en;
|
||||
if (level > 2) {
|
||||
char tmp[64];
|
||||
std::sprintf(tmp, "; ptr=data+%ld; z=%016llx",
|
||||
std::snprintf(tmp, sizeof(tmp), "; ptr=data+%ld; z=%016llx",
|
||||
static_cast<long>(ptr && cell.not_null() ? ptr - cell->get_data() : -1), static_cast<long long>(z));
|
||||
os << tmp << " (have " << size() << " bits; " << zd << " preloaded)";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue