mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 02:34:43 +00:00
parent
cbf089e10d
commit
9ca5b3f304
14 changed files with 20 additions and 21 deletions
|
@ -44,14 +44,12 @@ uint64_t reslimit::count() const {
|
|||
|
||||
bool reslimit::inc() {
|
||||
++m_count;
|
||||
bool r = (m_cancel == 0 && (m_limit == 0 || m_count <= m_limit)) || m_suspend;
|
||||
return r;
|
||||
return not_canceled();
|
||||
}
|
||||
|
||||
bool reslimit::inc(unsigned offset) {
|
||||
m_count += offset;
|
||||
bool r = (m_cancel == 0 && (m_limit == 0 || m_count <= m_limit)) || m_suspend;
|
||||
return r;
|
||||
return not_canceled();
|
||||
}
|
||||
|
||||
void reslimit::push(unsigned delta_limit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue