/*
- * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
{
nodes.destroy();
inmem_hi = 0;
- debugs(19, 9, HERE << this << " hi: " << inmem_hi);
+ debugs(19, 9, this << " hi: " << inmem_hi);
}
bool
memcpy(aNode->nodeBuffer.data + aNode->nodeBuffer.length, source, copyLen);
- debugs(19, 9, HERE << this << " hi: " << inmem_hi);
+ debugs(19, 9, this << " hi: " << inmem_hi);
if (inmem_hi <= location)
inmem_hi = location + copyLen;
/* Adjust the ptr and len according to what was deposited in the page */
aNode->nodeBuffer.length += copyLen;
- debugs(19, 9, HERE << this << " hi: " << inmem_hi);
- debugs(19, 9, HERE << this << " hi: " << endOffset());
+ debugs(19, 9, this << " hi: " << inmem_hi);
+ debugs(19, 9, this << " hi: " << endOffset());
return copyLen;
}
if (result)
return *result;
- return NULL;
+ return nullptr;
}
size_t
return nodes.start()->data;
}
- mem_node *candidate = NULL;
+ mem_node *candidate = nullptr;
/* case 2: location fits within an extant node */
if (offset > 0) {
mem_hdr::mem_hdr() : inmem_hi(0)
{
- debugs(19, 9, HERE << this << " hi: " << inmem_hi);
+ debugs(19, 9, this << " hi: " << inmem_hi);
}
mem_hdr::~mem_hdr()
if (result)
return result->data;
- return NULL;
+ return nullptr;
}
const Splay<mem_node *> &