MCPcopy Create free account
hub / github.com/Singular/Singular / countedref_Op2

Function countedref_Op2

Singular/countedref.cc:437–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437BOOLEAN countedref_Op2(int op, leftv res, leftv head, leftv arg)
438{
439 if (countedref_CheckInit(res, head)) return TRUE;
440 if (CountedRef::is_ref(head))
441 {
442 CountedRef ref = CountedRef::cast(head);
443 return ref.dereference(head) || countedref_Op2_(op, res, head, arg);
444 }
445 return countedref_Op2_(op, res, head, arg);
446}
447
448static BOOLEAN countedref_Op3__(int op, leftv res, leftv head, leftv arg1, leftv arg2)
449{

Callers

nothing calls this directly

Calls 3

countedref_CheckInitFunction · 0.85
countedref_Op2_Function · 0.85
dereferenceMethod · 0.80

Tested by

no test coverage detected