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

Function jjDBPRINT

Singular/ipprint.cc:318–344  ·  view source on GitHub ↗

2 * dbprint */

Source from the content-addressed store, hash-verified

316* dbprint
317*/
318BOOLEAN jjDBPRINT(leftv res, leftv u)
319{
320 BOOLEAN print=(printlevel>myynest);
321 if ((u->next!=NULL)&&(u->Typ()==INT_CMD))
322 {
323 print= (((int)((long)(u->Data()))) > 0);
324 u=u->next;
325 }
326 if (print)
327 {
328 // BOOLEAN r=FALSE;
329 leftv h=u;
330 leftv hh;
331 while (h!=NULL)
332 {
333 hh=h->next;
334 h->next=NULL;
335 if (jjPRINT(res, h)) return TRUE;
336 PrintS((char*)res->data);
337 omFree(res->data);
338 PrintLn();
339 h->next=hh;
340 h=hh;
341 }
342 }
343 return FALSE;
344}
345
346static void ipPrintBetti(leftv u)
347{

Callers

nothing calls this directly

Calls 5

jjPRINTFunction · 0.85
PrintSFunction · 0.85
PrintLnFunction · 0.50
TypMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected