Macaulay2 Engine
Loading...
Searching...
No Matches

◆ emit_wrapped()

void emit_wrapped ( const char * s)

Definition at line 27 of file text-io.cpp.

28{
29 // We wish verbose display to wrap at some reasonable length.
30 emit_line_len -= static_cast<int>(strlen(s));
31 if (emit_line_len <= 0)
32 {
34 fprintf(stdout, "\n");
35 fprintf(stdout, wrapping_prefix);
36 }
37 fputs(s, stdout);
38 fflush(stdout);
39}
void size_t s
Definition m2-mem.cpp:271
int MAX_LINE_LENGTH
Definition text-io.cpp:9
std::atomic_int emit_line_len
Definition text-io.cpp:10
#define wrapping_prefix
Definition text-io.hpp:41

References emit_line_len, MAX_LINE_LENGTH, s, and wrapping_prefix.

Referenced by DetComputation::calc(), NCF4::compute(), GB_comp::debug_out(), gbA::do_computation(), emit_wrapped(), ReducedGB_Field_Local::find_good_divisor(), gb2_comp::gb_geo_reduce(), GB_comp::gb_geo_reduce(), gb2_comp::gb_reduce(), GB_comp::gb_reduce(), GBKernelComputation::geo_reduce(), res_comp::handle_gen(), res2_comp::handle_pair(), res_comp::handle_pair(), res2_comp::handle_pair_by_degree(), res2_comp::handle_pair_by_level(), NCF4::NCF4(), gbA::process_spair(), GBKernelComputation::reduce(), res2_comp::reduce(), res2_comp::reduce2(), res2_comp::reduce3(), res2_comp::reduce4(), res2_comp::reduce_by_level(), res2_comp::reduce_heap_by_level(), gbA::reduce_kk(), gbA::reduce_ZZ(), ReducedGB_Field_Local::remainder(), ReducedGB_Field_Local::remainder(), gbA::remainder_non_ZZ(), gbA::remainder_ZZ(), gb2_comp::s_pair_step(), gbA::spair_set_defer(), GaussElimComputation::start_computation(), GB_comp::start_computation(), GBinhom_comp::start_computation(), res_comp::start_computation(), and gbA::tail_remainder_ZZ().