MCPcopy Create free account
hub / github.com/davisking/dlib / print_spinner

Function print_spinner

dlib/test/tester.cpp:142–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140// -----------------------------------------------------------------------------
141
142 void print_spinner (
143 )
144 {
145 if (be_verbose)
146 {
147 using namespace std;
148 std::unique_lock<std::mutex> M(spinner_mutex);
149 static int i = 0;
150 cout << "\b\b";
151 switch (i)
152 {
153 case 0: cout << '|'; break;
154 case 1: cout << '/'; break;
155 case 2: cout << '-'; break;
156 case 3: cout << '\\'; break;
157 }
158 cout << " " << flush;
159 i = (i+1)%4;
160 }
161 }
162
163// -----------------------------------------------------------------------------
164

Callers 15

test_qrFunction · 0.85
test_blasFunction · 0.85
matrix_testFunction · 0.85
test_matrix_IOFunction · 0.85
run_testMethod · 0.85
run_testFunction · 0.85
perform_testMethod · 0.85
test_onnx_exportFunction · 0.85
test_tanhFunction · 0.85
test_sigmoidFunction · 0.85
test_softmaxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected