MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / decreaseContext

Method decreaseContext

plugins/wasi_nn/wasinnenv.h:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121 void increaseContext() noexcept { CtxCnt++; }
122 void decreaseContext() noexcept {
123 assuming(CtxCnt > 0);
124 CtxCnt--;
125 }
126 uint32_t getContextCount() const noexcept { return CtxCnt; }
127 bool isFinalized() const noexcept {
128 return Stat == Status::Uninitialized || Stat == Status::Finalized;

Callers 1

deleteContextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected