Coverage Report

Created: 2021-09-21 22:26

/home/liu/buildslave/linux-x64-runtests/build/test/ccv_nnc_case.h
Line
Count
Source (jump to first uncovered line)
1
#ifndef _GUARD_ccv_nnc_case_h_
2
#define _GUARD_ccv_nnc_case_h_
3
4
#include <math.h>
5
6
476
#define REQUIRE_TENSOR_EQ(a, b, err, ...) { \
7
476
if (
ccv_nnc_tensor_eq(a, b) != 0472
) \
8
0
{ \
9
0
  printf("\n\t\033[0;31mREQUIRE_TENSOR_EQ\033[0;0m: %s:%d: %s != %s, " err, __FILE__, __LINE__, #a, #b, ##__VA_ARGS__); \
10
0
  ABORT_CASE; \
11
0
} }
12
13
inline static FILE* _ccv_nnc_graph_gen(const char* test_case_name)
14
112
{
15
112
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
112
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
112
  char sanitized_test_case_name[1024] = "gen/graph/";
18
112
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
112
  int i;
20
5.64k
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++5.52k
)
21
5.52k
    // If not A-Za-z0-9, replace with _
22
5.52k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'4.17k
) ||
23
5.52k
       
(5.48k
sanitized_test_case_name[i] >= 'a'5.48k
&&
sanitized_test_case_name[i] <= 'z'4.05k
) ||
24
5.52k
       
(1.42k
sanitized_test_case_name[i] >= '0'1.42k
&&
sanitized_test_case_name[i] <= '9'274
)))
25
1.27k
      sanitized_test_case_name[i] = '_';
26
112
  assert(i < 1024);
27
112
  sanitized_test_case_name[i] = '.';
28
112
  sanitized_test_case_name[i + 1] = 'd';
29
112
  sanitized_test_case_name[i + 2] = 'o';
30
112
  sanitized_test_case_name[i + 3] = 't';
31
112
  sanitized_test_case_name[i + 4] = 0;
32
112
  return fopen(sanitized_test_case_name, "w+");
33
112
}
Unexecuted instantiation: concat.tests.c:_ccv_nnc_graph_gen
tensor.bind.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
213
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++210
)
21
210
    // If not A-Za-z0-9, replace with _
22
210
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'153
) ||
23
210
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'149
) ||
24
210
       
(61
sanitized_test_case_name[i] >= '0'61
&&
sanitized_test_case_name[i] <= '9'8
)))
25
59
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
Unexecuted instantiation: backward.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: graph.tests.c:_ccv_nnc_graph_gen
case_of.backward.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
60
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++59
)
21
59
    // If not A-Za-z0-9, replace with _
22
59
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'44
) ||
23
59
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'44
) ||
24
59
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'1
)))
25
15
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
while.backward.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
2
{
15
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
2
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
2
  char sanitized_test_case_name[1024] = "gen/graph/";
18
2
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
2
  int i;
20
161
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++159
)
21
159
    // If not A-Za-z0-9, replace with _
22
159
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'99
) ||
23
159
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'98
) ||
24
159
       
(61
sanitized_test_case_name[i] >= '0'61
&&
sanitized_test_case_name[i] <= '9'12
)))
25
53
      sanitized_test_case_name[i] = '_';
26
2
  assert(i < 1024);
27
2
  sanitized_test_case_name[i] = '.';
28
2
  sanitized_test_case_name[i + 1] = 'd';
29
2
  sanitized_test_case_name[i + 2] = 'o';
30
2
  sanitized_test_case_name[i + 3] = 't';
31
2
  sanitized_test_case_name[i + 4] = 0;
32
2
  return fopen(sanitized_test_case_name, "w+");
33
2
}
autograd.vector.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
263
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++260
)
21
260
    // If not A-Za-z0-9, replace with _
22
260
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'122
) ||
23
260
       
(254
sanitized_test_case_name[i] >= 'a'254
&&
sanitized_test_case_name[i] <= 'z'77
) ||
24
260
       
(177
sanitized_test_case_name[i] >= '0'177
&&
sanitized_test_case_name[i] <= '9'92
)))
25
137
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
Unexecuted instantiation: dropout.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: custom.tests.c:_ccv_nnc_graph_gen
reduce.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
23
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++22
)
21
22
    // If not A-Za-z0-9, replace with _
22
22
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'19
) ||
23
22
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'19
) ||
24
22
       
(3
sanitized_test_case_name[i] >= '0'3
&&
sanitized_test_case_name[i] <= '9'0
)))
25
3
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
batch.norm.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
2
{
15
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
2
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
2
  char sanitized_test_case_name[1024] = "gen/graph/";
18
2
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
2
  int i;
20
115
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++113
)
21
113
    // If not A-Za-z0-9, replace with _
22
113
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'98
) ||
23
113
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'98
) ||
24
113
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'0
)))
25
15
      sanitized_test_case_name[i] = '_';
26
2
  assert(i < 1024);
27
2
  sanitized_test_case_name[i] = '.';
28
2
  sanitized_test_case_name[i + 1] = 'd';
29
2
  sanitized_test_case_name[i + 2] = 'o';
30
2
  sanitized_test_case_name[i + 3] = 't';
31
2
  sanitized_test_case_name[i + 4] = 0;
32
2
  return fopen(sanitized_test_case_name, "w+");
33
2
}
Unexecuted instantiation: crossentropy.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: cnnp.core.tests.c:_ccv_nnc_graph_gen
symbolic.graph.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
132
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++129
)
21
129
    // If not A-Za-z0-9, replace with _
22
129
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'112
) ||
23
129
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'112
) ||
24
129
       
(17
sanitized_test_case_name[i] >= '0'17
&&
sanitized_test_case_name[i] <= '9'0
)))
25
17
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
case_of.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
6
{
15
6
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
6
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
6
  char sanitized_test_case_name[1024] = "gen/graph/";
18
6
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
6
  int i;
20
368
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++362
)
21
362
    // If not A-Za-z0-9, replace with _
22
362
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'292
) ||
23
362
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'292
) ||
24
362
       
(70
sanitized_test_case_name[i] >= '0'70
&&
sanitized_test_case_name[i] <= '9'7
)))
25
63
      sanitized_test_case_name[i] = '_';
26
6
  assert(i < 1024);
27
6
  sanitized_test_case_name[i] = '.';
28
6
  sanitized_test_case_name[i + 1] = 'd';
29
6
  sanitized_test_case_name[i + 2] = 'o';
30
6
  sanitized_test_case_name[i + 3] = 't';
31
6
  sanitized_test_case_name[i + 4] = 0;
32
6
  return fopen(sanitized_test_case_name, "w+");
33
6
}
Unexecuted instantiation: micro.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: compression.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: transform.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: dataframe.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: gemm.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: roi_align.tests.c:_ccv_nnc_graph_gen
swish.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
5
{
15
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
5
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
5
  char sanitized_test_case_name[1024] = "gen/graph/";
18
5
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
5
  int i;
20
152
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++147
)
21
147
    // If not A-Za-z0-9, replace with _
22
147
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'128
) ||
23
147
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'128
) ||
24
147
       
(19
sanitized_test_case_name[i] >= '0'19
&&
sanitized_test_case_name[i] <= '9'0
)))
25
19
      sanitized_test_case_name[i] = '_';
26
5
  assert(i < 1024);
27
5
  sanitized_test_case_name[i] = '.';
28
5
  sanitized_test_case_name[i + 1] = 'd';
29
5
  sanitized_test_case_name[i + 2] = 'o';
30
5
  sanitized_test_case_name[i + 3] = 't';
31
5
  sanitized_test_case_name[i + 4] = 0;
32
5
  return fopen(sanitized_test_case_name, "w+");
33
5
}
Unexecuted instantiation: index.tests.c:_ccv_nnc_graph_gen
minimize.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
179
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++176
)
21
176
    // If not A-Za-z0-9, replace with _
22
176
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'150
) ||
23
176
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'150
) ||
24
176
       
(26
sanitized_test_case_name[i] >= '0'26
&&
sanitized_test_case_name[i] <= '9'0
)))
25
26
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
symbolic.graph.compile.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
37
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++36
)
21
36
    // If not A-Za-z0-9, replace with _
22
36
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'30
) ||
23
36
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'30
) ||
24
36
       
(6
sanitized_test_case_name[i] >= '0'6
&&
sanitized_test_case_name[i] <= '9'0
)))
25
6
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
autograd.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
5
{
15
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
5
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
5
  char sanitized_test_case_name[1024] = "gen/graph/";
18
5
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
5
  int i;
20
371
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++366
)
21
366
    // If not A-Za-z0-9, replace with _
22
366
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'200
) ||
23
366
       
(356
sanitized_test_case_name[i] >= 'a'356
&&
sanitized_test_case_name[i] <= 'z'168
) ||
24
366
       
(188
sanitized_test_case_name[i] >= '0'188
&&
sanitized_test_case_name[i] <= '9'61
)))
25
158
      sanitized_test_case_name[i] = '_';
26
5
  assert(i < 1024);
27
5
  sanitized_test_case_name[i] = '.';
28
5
  sanitized_test_case_name[i + 1] = 'd';
29
5
  sanitized_test_case_name[i + 2] = 'o';
30
5
  sanitized_test_case_name[i + 3] = 't';
31
5
  sanitized_test_case_name[i + 4] = 0;
32
5
  return fopen(sanitized_test_case_name, "w+");
33
5
}
Unexecuted instantiation: tensor.tests.c:_ccv_nnc_graph_gen
rand.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
2
{
15
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
2
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
2
  char sanitized_test_case_name[1024] = "gen/graph/";
18
2
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
2
  int i;
20
55
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++53
)
21
53
    // If not A-Za-z0-9, replace with _
22
53
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'49
) ||
23
53
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'49
) ||
24
53
       
(4
sanitized_test_case_name[i] >= '0'4
&&
sanitized_test_case_name[i] <= '9'0
)))
25
4
      sanitized_test_case_name[i] = '_';
26
2
  assert(i < 1024);
27
2
  sanitized_test_case_name[i] = '.';
28
2
  sanitized_test_case_name[i + 1] = 'd';
29
2
  sanitized_test_case_name[i + 2] = 'o';
30
2
  sanitized_test_case_name[i + 3] = 't';
31
2
  sanitized_test_case_name[i + 4] = 0;
32
2
  return fopen(sanitized_test_case_name, "w+");
33
2
}
while.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
11
{
15
11
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
11
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
11
  char sanitized_test_case_name[1024] = "gen/graph/";
18
11
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
11
  int i;
20
886
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++875
)
21
875
    // If not A-Za-z0-9, replace with _
22
875
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'520
) ||
23
875
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'515
) ||
24
875
       
(360
sanitized_test_case_name[i] >= '0'360
&&
sanitized_test_case_name[i] <= '9'79
)))
25
304
      sanitized_test_case_name[i] = '_';
26
11
  assert(i < 1024);
27
11
  sanitized_test_case_name[i] = '.';
28
11
  sanitized_test_case_name[i + 1] = 'd';
29
11
  sanitized_test_case_name[i + 2] = 'o';
30
11
  sanitized_test_case_name[i + 3] = 't';
31
11
  sanitized_test_case_name[i + 4] = 0;
32
11
  return fopen(sanitized_test_case_name, "w+");
33
11
}
Unexecuted instantiation: nms.tests.c:_ccv_nnc_graph_gen
graph.io.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
39
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++38
)
21
38
    // If not A-Za-z0-9, replace with _
22
38
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'21
) ||
23
38
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'21
) ||
24
38
       
(17
sanitized_test_case_name[i] >= '0'17
&&
sanitized_test_case_name[i] <= '9'0
)))
25
17
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
Unexecuted instantiation: cblas.tests.c:_ccv_nnc_graph_gen
simplify.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
6
{
15
6
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
6
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
6
  char sanitized_test_case_name[1024] = "gen/graph/";
18
6
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
6
  int i;
20
207
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++201
)
21
201
    // If not A-Za-z0-9, replace with _
22
201
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'156
) ||
23
201
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'156
) ||
24
201
       
(45
sanitized_test_case_name[i] >= '0'45
&&
sanitized_test_case_name[i] <= '9'3
)))
25
42
      sanitized_test_case_name[i] = '_';
26
6
  assert(i < 1024);
27
6
  sanitized_test_case_name[i] = '.';
28
6
  sanitized_test_case_name[i + 1] = 'd';
29
6
  sanitized_test_case_name[i + 2] = 'o';
30
6
  sanitized_test_case_name[i + 3] = 't';
31
6
  sanitized_test_case_name[i + 4] = 0;
32
6
  return fopen(sanitized_test_case_name, "w+");
33
6
}
numa.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
44
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++43
)
21
43
    // If not A-Za-z0-9, replace with _
22
43
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'28
) ||
23
43
       
(39
sanitized_test_case_name[i] >= 'a'39
&&
sanitized_test_case_name[i] <= 'z'24
) ||
24
43
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'3
)))
25
12
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
tape.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
22
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++21
)
21
21
    // If not A-Za-z0-9, replace with _
22
21
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'17
) ||
23
21
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'17
) ||
24
21
       
(4
sanitized_test_case_name[i] >= '0'4
&&
sanitized_test_case_name[i] <= '9'0
)))
25
4
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
Unexecuted instantiation: dynamic.graph.tests.c:_ccv_nnc_graph_gen
layer.norm.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
2
{
15
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
2
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
2
  char sanitized_test_case_name[1024] = "gen/graph/";
18
2
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
2
  int i;
20
101
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++99
)
21
99
    // If not A-Za-z0-9, replace with _
22
99
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'86
) ||
23
99
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'86
) ||
24
99
       
(13
sanitized_test_case_name[i] >= '0'13
&&
sanitized_test_case_name[i] <= '9'0
)))
25
13
      sanitized_test_case_name[i] = '_';
26
2
  assert(i < 1024);
27
2
  sanitized_test_case_name[i] = '.';
28
2
  sanitized_test_case_name[i + 1] = 'd';
29
2
  sanitized_test_case_name[i + 2] = 'o';
30
2
  sanitized_test_case_name[i + 3] = 't';
31
2
  sanitized_test_case_name[i + 4] = 0;
32
2
  return fopen(sanitized_test_case_name, "w+");
33
2
}
parallel.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
170
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++167
)
21
167
    // If not A-Za-z0-9, replace with _
22
167
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'145
) ||
23
167
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'145
) ||
24
167
       
(22
sanitized_test_case_name[i] >= '0'22
&&
sanitized_test_case_name[i] <= '9'0
)))
25
22
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
Unexecuted instantiation: winograd.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: dataframe.addons.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: broadcast.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: compare.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: smooth_l1.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: cublas.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: upsample.tests.c:_ccv_nnc_graph_gen
symbolic.graph.vgg.d.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
49
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++48
)
21
48
    // If not A-Za-z0-9, replace with _
22
48
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'41
) ||
23
48
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'41
) ||
24
48
       
(7
sanitized_test_case_name[i] >= '0'7
&&
sanitized_test_case_name[i] <= '9'0
)))
25
7
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
Unexecuted instantiation: imdb.tests.c:_ccv_nnc_graph_gen
graph.vgg.d.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
1
{
15
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
1
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
1
  char sanitized_test_case_name[1024] = "gen/graph/";
18
1
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
1
  int i;
20
25
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++24
)
21
24
    // If not A-Za-z0-9, replace with _
22
24
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'19
) ||
23
24
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'19
) ||
24
24
       
(5
sanitized_test_case_name[i] >= '0'5
&&
sanitized_test_case_name[i] <= '9'0
)))
25
5
      sanitized_test_case_name[i] = '_';
26
1
  assert(i < 1024);
27
1
  sanitized_test_case_name[i] = '.';
28
1
  sanitized_test_case_name[i + 1] = 'd';
29
1
  sanitized_test_case_name[i + 2] = 'o';
30
1
  sanitized_test_case_name[i + 3] = 't';
31
1
  sanitized_test_case_name[i + 4] = 0;
32
1
  return fopen(sanitized_test_case_name, "w+");
33
1
}
random.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
3
{
15
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
3
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
3
  char sanitized_test_case_name[1024] = "gen/graph/";
18
3
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
3
  int i;
20
101
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++98
)
21
98
    // If not A-Za-z0-9, replace with _
22
98
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'89
) ||
23
98
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'89
) ||
24
98
       
(9
sanitized_test_case_name[i] >= '0'9
&&
sanitized_test_case_name[i] <= '9'0
)))
25
9
      sanitized_test_case_name[i] = '_';
26
3
  assert(i < 1024);
27
3
  sanitized_test_case_name[i] = '.';
28
3
  sanitized_test_case_name[i + 1] = 'd';
29
3
  sanitized_test_case_name[i + 2] = 'o';
30
3
  sanitized_test_case_name[i + 3] = 't';
31
3
  sanitized_test_case_name[i + 4] = 0;
32
3
  return fopen(sanitized_test_case_name, "w+");
33
3
}
cudnn.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
36
{
15
36
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
36
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
36
  char sanitized_test_case_name[1024] = "gen/graph/";
18
36
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
36
  int i;
20
1.48k
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++1.44k
)
21
1.44k
    // If not A-Za-z0-9, replace with _
22
1.44k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'1.25k
) ||
23
1.44k
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'1.25k
) ||
24
1.44k
       
(198
sanitized_test_case_name[i] >= '0'198
&&
sanitized_test_case_name[i] <= '9'4
)))
25
194
      sanitized_test_case_name[i] = '_';
26
36
  assert(i < 1024);
27
36
  sanitized_test_case_name[i] = '.';
28
36
  sanitized_test_case_name[i + 1] = 'd';
29
36
  sanitized_test_case_name[i + 2] = 'o';
30
36
  sanitized_test_case_name[i + 3] = 't';
31
36
  sanitized_test_case_name[i + 4] = 0;
32
36
  return fopen(sanitized_test_case_name, "w+");
33
36
}
dense.net.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
2
{
15
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
2
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
2
  char sanitized_test_case_name[1024] = "gen/graph/";
18
2
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
2
  int i;
20
77
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++75
)
21
75
    // If not A-Za-z0-9, replace with _
22
75
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'61
) ||
23
75
       
(67
sanitized_test_case_name[i] >= 'a'67
&&
sanitized_test_case_name[i] <= 'z'53
) ||
24
75
       
(14
sanitized_test_case_name[i] >= '0'14
&&
sanitized_test_case_name[i] <= '9'0
)))
25
14
      sanitized_test_case_name[i] = '_';
26
2
  assert(i < 1024);
27
2
  sanitized_test_case_name[i] = '.';
28
2
  sanitized_test_case_name[i + 1] = 'd';
29
2
  sanitized_test_case_name[i + 2] = 'o';
30
2
  sanitized_test_case_name[i + 3] = 't';
31
2
  sanitized_test_case_name[i + 4] = 0;
32
2
  return fopen(sanitized_test_case_name, "w+");
33
2
}
Unexecuted instantiation: cifar.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: rmsprop.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: sgd.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: nccl.tests.c:_ccv_nnc_graph_gen
schedule.tests.c:_ccv_nnc_graph_gen
Line
Count
Source
14
7
{
15
7
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
16
7
  mkdir("gen/graph", S_IRWXU | S_IRGRP | S_IROTH);
17
7
  char sanitized_test_case_name[1024] = "gen/graph/";
18
7
  strncpy(sanitized_test_case_name + 10, test_case_name, 1024 - 10);
19
7
  int i;
20
306
  for (i = 10; i < 1024 && sanitized_test_case_name[i]; 
i++299
)
21
299
    // If not A-Za-z0-9, replace with _
22
299
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'242
) ||
23
299
       
(284
sanitized_test_case_name[i] >= 'a'284
&&
sanitized_test_case_name[i] <= 'z'227
) ||
24
299
       
(57
sanitized_test_case_name[i] >= '0'57
&&
sanitized_test_case_name[i] <= '9'4
)))
25
53
      sanitized_test_case_name[i] = '_';
26
7
  assert(i < 1024);
27
7
  sanitized_test_case_name[i] = '.';
28
7
  sanitized_test_case_name[i + 1] = 'd';
29
7
  sanitized_test_case_name[i + 2] = 'o';
30
7
  sanitized_test_case_name[i + 3] = 't';
31
7
  sanitized_test_case_name[i + 4] = 0;
32
7
  return fopen(sanitized_test_case_name, "w+");
33
7
}
Unexecuted instantiation: loss.tests.c:_ccv_nnc_graph_gen
Unexecuted instantiation: adam.tests.c:_ccv_nnc_graph_gen
34
35
inline static FILE* _ccv_nnc_symbolic_graph_gen(const char* test_case_name)
36
123
{
37
123
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
123
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
123
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
123
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
123
  int i;
42
6.37k
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++6.24k
)
43
6.24k
    // If not A-Za-z0-9, replace with _
44
6.24k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'4.83k
) ||
45
6.24k
       
(6.20k
sanitized_test_case_name[i] >= 'a'6.20k
&&
sanitized_test_case_name[i] <= 'z'4.72k
) ||
46
6.24k
       
(1.47k
sanitized_test_case_name[i] >= '0'1.47k
&&
sanitized_test_case_name[i] <= '9'246
)))
47
1.34k
      sanitized_test_case_name[i] = '_';
48
123
  assert(i < 1024);
49
123
  sanitized_test_case_name[i] = '.';
50
123
  sanitized_test_case_name[i + 1] = 'd';
51
123
  sanitized_test_case_name[i + 2] = 'o';
52
123
  sanitized_test_case_name[i + 3] = 't';
53
123
  sanitized_test_case_name[i + 4] = 0;
54
123
  return fopen(sanitized_test_case_name, "w+");
55
123
}
Unexecuted instantiation: concat.tests.c:_ccv_nnc_symbolic_graph_gen
tensor.bind.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
5
{
37
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
5
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
5
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
5
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
5
  int i;
42
319
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++314
)
43
314
    // If not A-Za-z0-9, replace with _
44
314
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'239
) ||
45
314
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'235
) ||
46
314
       
(79
sanitized_test_case_name[i] >= '0'79
&&
sanitized_test_case_name[i] <= '9'8
)))
47
77
      sanitized_test_case_name[i] = '_';
48
5
  assert(i < 1024);
49
5
  sanitized_test_case_name[i] = '.';
50
5
  sanitized_test_case_name[i + 1] = 'd';
51
5
  sanitized_test_case_name[i + 2] = 'o';
52
5
  sanitized_test_case_name[i + 3] = 't';
53
5
  sanitized_test_case_name[i + 4] = 0;
54
5
  return fopen(sanitized_test_case_name, "w+");
55
5
}
Unexecuted instantiation: backward.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: graph.tests.c:_ccv_nnc_symbolic_graph_gen
case_of.backward.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
60
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++59
)
43
59
    // If not A-Za-z0-9, replace with _
44
59
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'44
) ||
45
59
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'44
) ||
46
59
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'1
)))
47
15
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
while.backward.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
93
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++92
)
43
92
    // If not A-Za-z0-9, replace with _
44
92
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'55
) ||
45
92
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'55
) ||
46
92
       
(37
sanitized_test_case_name[i] >= '0'37
&&
sanitized_test_case_name[i] <= '9'4
)))
47
36
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
autograd.vector.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
7
{
37
7
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
7
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
7
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
7
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
7
  int i;
42
570
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++563
)
43
563
    // If not A-Za-z0-9, replace with _
44
563
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'382
) ||
45
563
       
(556
sanitized_test_case_name[i] >= 'a'556
&&
sanitized_test_case_name[i] <= 'z'336
) ||
46
563
       
(220
sanitized_test_case_name[i] >= '0'220
&&
sanitized_test_case_name[i] <= '9'92
)))
47
180
      sanitized_test_case_name[i] = '_';
48
7
  assert(i < 1024);
49
7
  sanitized_test_case_name[i] = '.';
50
7
  sanitized_test_case_name[i + 1] = 'd';
51
7
  sanitized_test_case_name[i + 2] = 'o';
52
7
  sanitized_test_case_name[i + 3] = 't';
53
7
  sanitized_test_case_name[i + 4] = 0;
54
7
  return fopen(sanitized_test_case_name, "w+");
55
7
}
Unexecuted instantiation: dropout.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: custom.tests.c:_ccv_nnc_symbolic_graph_gen
reduce.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
23
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++22
)
43
22
    // If not A-Za-z0-9, replace with _
44
22
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'19
) ||
45
22
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'19
) ||
46
22
       
(3
sanitized_test_case_name[i] >= '0'3
&&
sanitized_test_case_name[i] <= '9'0
)))
47
3
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
batch.norm.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
2
{
37
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
2
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
2
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
2
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
2
  int i;
42
115
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++113
)
43
113
    // If not A-Za-z0-9, replace with _
44
113
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'98
) ||
45
113
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'98
) ||
46
113
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'0
)))
47
15
      sanitized_test_case_name[i] = '_';
48
2
  assert(i < 1024);
49
2
  sanitized_test_case_name[i] = '.';
50
2
  sanitized_test_case_name[i + 1] = 'd';
51
2
  sanitized_test_case_name[i + 2] = 'o';
52
2
  sanitized_test_case_name[i + 3] = 't';
53
2
  sanitized_test_case_name[i + 4] = 0;
54
2
  return fopen(sanitized_test_case_name, "w+");
55
2
}
crossentropy.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
5
{
37
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
5
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
5
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
5
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
5
  int i;
42
395
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++390
)
43
390
    // If not A-Za-z0-9, replace with _
44
390
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'331
) ||
45
390
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'330
) ||
46
390
       
(60
sanitized_test_case_name[i] >= '0'60
&&
sanitized_test_case_name[i] <= '9'1
)))
47
60
      sanitized_test_case_name[i] = '_';
48
5
  assert(i < 1024);
49
5
  sanitized_test_case_name[i] = '.';
50
5
  sanitized_test_case_name[i + 1] = 'd';
51
5
  sanitized_test_case_name[i + 2] = 'o';
52
5
  sanitized_test_case_name[i + 3] = 't';
53
5
  sanitized_test_case_name[i + 4] = 0;
54
5
  return fopen(sanitized_test_case_name, "w+");
55
5
}
Unexecuted instantiation: cnnp.core.tests.c:_ccv_nnc_symbolic_graph_gen
symbolic.graph.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
5
{
37
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
5
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
5
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
5
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
5
  int i;
42
219
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++214
)
43
214
    // If not A-Za-z0-9, replace with _
44
214
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'185
) ||
45
214
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'185
) ||
46
214
       
(29
sanitized_test_case_name[i] >= '0'29
&&
sanitized_test_case_name[i] <= '9'0
)))
47
29
      sanitized_test_case_name[i] = '_';
48
5
  assert(i < 1024);
49
5
  sanitized_test_case_name[i] = '.';
50
5
  sanitized_test_case_name[i + 1] = 'd';
51
5
  sanitized_test_case_name[i + 2] = 'o';
52
5
  sanitized_test_case_name[i + 3] = 't';
53
5
  sanitized_test_case_name[i + 4] = 0;
54
5
  return fopen(sanitized_test_case_name, "w+");
55
5
}
case_of.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
5
{
37
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
5
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
5
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
5
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
5
  int i;
42
329
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++324
)
43
324
    // If not A-Za-z0-9, replace with _
44
324
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'260
) ||
45
324
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'260
) ||
46
324
       
(64
sanitized_test_case_name[i] >= '0'64
&&
sanitized_test_case_name[i] <= '9'7
)))
47
57
      sanitized_test_case_name[i] = '_';
48
5
  assert(i < 1024);
49
5
  sanitized_test_case_name[i] = '.';
50
5
  sanitized_test_case_name[i + 1] = 'd';
51
5
  sanitized_test_case_name[i + 2] = 'o';
52
5
  sanitized_test_case_name[i + 3] = 't';
53
5
  sanitized_test_case_name[i + 4] = 0;
54
5
  return fopen(sanitized_test_case_name, "w+");
55
5
}
Unexecuted instantiation: micro.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: compression.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: transform.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: dataframe.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: gemm.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: roi_align.tests.c:_ccv_nnc_symbolic_graph_gen
swish.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
6
{
37
6
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
6
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
6
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
6
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
6
  int i;
42
208
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++202
)
43
202
    // If not A-Za-z0-9, replace with _
44
202
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'176
) ||
45
202
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'176
) ||
46
202
       
(26
sanitized_test_case_name[i] >= '0'26
&&
sanitized_test_case_name[i] <= '9'0
)))
47
26
      sanitized_test_case_name[i] = '_';
48
6
  assert(i < 1024);
49
6
  sanitized_test_case_name[i] = '.';
50
6
  sanitized_test_case_name[i + 1] = 'd';
51
6
  sanitized_test_case_name[i + 2] = 'o';
52
6
  sanitized_test_case_name[i + 3] = 't';
53
6
  sanitized_test_case_name[i + 4] = 0;
54
6
  return fopen(sanitized_test_case_name, "w+");
55
6
}
Unexecuted instantiation: index.tests.c:_ccv_nnc_symbolic_graph_gen
minimize.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
3
{
37
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
3
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
3
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
3
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
3
  int i;
42
179
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++176
)
43
176
    // If not A-Za-z0-9, replace with _
44
176
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'150
) ||
45
176
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'150
) ||
46
176
       
(26
sanitized_test_case_name[i] >= '0'26
&&
sanitized_test_case_name[i] <= '9'0
)))
47
26
      sanitized_test_case_name[i] = '_';
48
3
  assert(i < 1024);
49
3
  sanitized_test_case_name[i] = '.';
50
3
  sanitized_test_case_name[i + 1] = 'd';
51
3
  sanitized_test_case_name[i + 2] = 'o';
52
3
  sanitized_test_case_name[i + 3] = 't';
53
3
  sanitized_test_case_name[i + 4] = 0;
54
3
  return fopen(sanitized_test_case_name, "w+");
55
3
}
symbolic.graph.compile.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
37
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++36
)
43
36
    // If not A-Za-z0-9, replace with _
44
36
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'30
) ||
45
36
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'30
) ||
46
36
       
(6
sanitized_test_case_name[i] >= '0'6
&&
sanitized_test_case_name[i] <= '9'0
)))
47
6
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
autograd.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
5
{
37
5
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
5
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
5
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
5
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
5
  int i;
42
371
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++366
)
43
366
    // If not A-Za-z0-9, replace with _
44
366
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'200
) ||
45
366
       
(356
sanitized_test_case_name[i] >= 'a'356
&&
sanitized_test_case_name[i] <= 'z'168
) ||
46
366
       
(188
sanitized_test_case_name[i] >= '0'188
&&
sanitized_test_case_name[i] <= '9'61
)))
47
158
      sanitized_test_case_name[i] = '_';
48
5
  assert(i < 1024);
49
5
  sanitized_test_case_name[i] = '.';
50
5
  sanitized_test_case_name[i + 1] = 'd';
51
5
  sanitized_test_case_name[i + 2] = 'o';
52
5
  sanitized_test_case_name[i + 3] = 't';
53
5
  sanitized_test_case_name[i + 4] = 0;
54
5
  return fopen(sanitized_test_case_name, "w+");
55
5
}
Unexecuted instantiation: tensor.tests.c:_ccv_nnc_symbolic_graph_gen
rand.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
2
{
37
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
2
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
2
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
2
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
2
  int i;
42
55
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++53
)
43
53
    // If not A-Za-z0-9, replace with _
44
53
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'49
) ||
45
53
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'49
) ||
46
53
       
(4
sanitized_test_case_name[i] >= '0'4
&&
sanitized_test_case_name[i] <= '9'0
)))
47
4
      sanitized_test_case_name[i] = '_';
48
2
  assert(i < 1024);
49
2
  sanitized_test_case_name[i] = '.';
50
2
  sanitized_test_case_name[i + 1] = 'd';
51
2
  sanitized_test_case_name[i + 2] = 'o';
52
2
  sanitized_test_case_name[i + 3] = 't';
53
2
  sanitized_test_case_name[i + 4] = 0;
54
2
  return fopen(sanitized_test_case_name, "w+");
55
2
}
while.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
8
{
37
8
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
8
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
8
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
8
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
8
  int i;
42
695
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++687
)
43
687
    // If not A-Za-z0-9, replace with _
44
687
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'399
) ||
45
687
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'397
) ||
46
687
       
(290
sanitized_test_case_name[i] >= '0'290
&&
sanitized_test_case_name[i] <= '9'57
)))
47
253
      sanitized_test_case_name[i] = '_';
48
8
  assert(i < 1024);
49
8
  sanitized_test_case_name[i] = '.';
50
8
  sanitized_test_case_name[i + 1] = 'd';
51
8
  sanitized_test_case_name[i + 2] = 'o';
52
8
  sanitized_test_case_name[i + 3] = 't';
53
8
  sanitized_test_case_name[i + 4] = 0;
54
8
  return fopen(sanitized_test_case_name, "w+");
55
8
}
Unexecuted instantiation: nms.tests.c:_ccv_nnc_symbolic_graph_gen
graph.io.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
39
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++38
)
43
38
    // If not A-Za-z0-9, replace with _
44
38
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'21
) ||
45
38
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'21
) ||
46
38
       
(17
sanitized_test_case_name[i] >= '0'17
&&
sanitized_test_case_name[i] <= '9'0
)))
47
17
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
Unexecuted instantiation: cblas.tests.c:_ccv_nnc_symbolic_graph_gen
simplify.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
7
{
37
7
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
7
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
7
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
7
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
7
  int i;
42
250
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++243
)
43
243
    // If not A-Za-z0-9, replace with _
44
243
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'192
) ||
45
243
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'192
) ||
46
243
       
(51
sanitized_test_case_name[i] >= '0'51
&&
sanitized_test_case_name[i] <= '9'3
)))
47
48
      sanitized_test_case_name[i] = '_';
48
7
  assert(i < 1024);
49
7
  sanitized_test_case_name[i] = '.';
50
7
  sanitized_test_case_name[i + 1] = 'd';
51
7
  sanitized_test_case_name[i + 2] = 'o';
52
7
  sanitized_test_case_name[i + 3] = 't';
53
7
  sanitized_test_case_name[i + 4] = 0;
54
7
  return fopen(sanitized_test_case_name, "w+");
55
7
}
numa.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
44
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++43
)
43
43
    // If not A-Za-z0-9, replace with _
44
43
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'28
) ||
45
43
       
(39
sanitized_test_case_name[i] >= 'a'39
&&
sanitized_test_case_name[i] <= 'z'24
) ||
46
43
       
(15
sanitized_test_case_name[i] >= '0'15
&&
sanitized_test_case_name[i] <= '9'3
)))
47
12
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
tape.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
22
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++21
)
43
21
    // If not A-Za-z0-9, replace with _
44
21
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'17
) ||
45
21
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'17
) ||
46
21
       
(4
sanitized_test_case_name[i] >= '0'4
&&
sanitized_test_case_name[i] <= '9'0
)))
47
4
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
Unexecuted instantiation: dynamic.graph.tests.c:_ccv_nnc_symbolic_graph_gen
layer.norm.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
2
{
37
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
2
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
2
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
2
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
2
  int i;
42
101
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++99
)
43
99
    // If not A-Za-z0-9, replace with _
44
99
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'86
) ||
45
99
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'86
) ||
46
99
       
(13
sanitized_test_case_name[i] >= '0'13
&&
sanitized_test_case_name[i] <= '9'0
)))
47
13
      sanitized_test_case_name[i] = '_';
48
2
  assert(i < 1024);
49
2
  sanitized_test_case_name[i] = '.';
50
2
  sanitized_test_case_name[i + 1] = 'd';
51
2
  sanitized_test_case_name[i + 2] = 'o';
52
2
  sanitized_test_case_name[i + 3] = 't';
53
2
  sanitized_test_case_name[i + 4] = 0;
54
2
  return fopen(sanitized_test_case_name, "w+");
55
2
}
parallel.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
4
{
37
4
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
4
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
4
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
4
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
4
  int i;
42
211
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++207
)
43
207
    // If not A-Za-z0-9, replace with _
44
207
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'180
) ||
45
207
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'180
) ||
46
207
       
(27
sanitized_test_case_name[i] >= '0'27
&&
sanitized_test_case_name[i] <= '9'0
)))
47
27
      sanitized_test_case_name[i] = '_';
48
4
  assert(i < 1024);
49
4
  sanitized_test_case_name[i] = '.';
50
4
  sanitized_test_case_name[i + 1] = 'd';
51
4
  sanitized_test_case_name[i + 2] = 'o';
52
4
  sanitized_test_case_name[i + 3] = 't';
53
4
  sanitized_test_case_name[i + 4] = 0;
54
4
  return fopen(sanitized_test_case_name, "w+");
55
4
}
Unexecuted instantiation: winograd.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: dataframe.addons.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: broadcast.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: compare.tests.c:_ccv_nnc_symbolic_graph_gen
smooth_l1.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
18
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++17
)
43
17
    // If not A-Za-z0-9, replace with _
44
17
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'14
) ||
45
17
       
(16
sanitized_test_case_name[i] >= 'a'16
&&
sanitized_test_case_name[i] <= 'z'13
) ||
46
17
       
(3
sanitized_test_case_name[i] >= '0'3
&&
sanitized_test_case_name[i] <= '9'1
)))
47
2
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
Unexecuted instantiation: cublas.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: upsample.tests.c:_ccv_nnc_symbolic_graph_gen
symbolic.graph.vgg.d.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
1
{
37
1
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
1
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
1
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
1
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
1
  int i;
42
49
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++48
)
43
48
    // If not A-Za-z0-9, replace with _
44
48
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'41
) ||
45
48
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'41
) ||
46
48
       
(7
sanitized_test_case_name[i] >= '0'7
&&
sanitized_test_case_name[i] <= '9'0
)))
47
7
      sanitized_test_case_name[i] = '_';
48
1
  assert(i < 1024);
49
1
  sanitized_test_case_name[i] = '.';
50
1
  sanitized_test_case_name[i + 1] = 'd';
51
1
  sanitized_test_case_name[i + 2] = 'o';
52
1
  sanitized_test_case_name[i + 3] = 't';
53
1
  sanitized_test_case_name[i + 4] = 0;
54
1
  return fopen(sanitized_test_case_name, "w+");
55
1
}
Unexecuted instantiation: imdb.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: graph.vgg.d.tests.c:_ccv_nnc_symbolic_graph_gen
random.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
3
{
37
3
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
3
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
3
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
3
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
3
  int i;
42
101
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++98
)
43
98
    // If not A-Za-z0-9, replace with _
44
98
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'89
) ||
45
98
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'89
) ||
46
98
       
(9
sanitized_test_case_name[i] >= '0'9
&&
sanitized_test_case_name[i] <= '9'0
)))
47
9
      sanitized_test_case_name[i] = '_';
48
3
  assert(i < 1024);
49
3
  sanitized_test_case_name[i] = '.';
50
3
  sanitized_test_case_name[i + 1] = 'd';
51
3
  sanitized_test_case_name[i + 2] = 'o';
52
3
  sanitized_test_case_name[i + 3] = 't';
53
3
  sanitized_test_case_name[i + 4] = 0;
54
3
  return fopen(sanitized_test_case_name, "w+");
55
3
}
cudnn.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
36
{
37
36
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
36
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
36
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
36
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
36
  int i;
42
1.48k
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++1.44k
)
43
1.44k
    // If not A-Za-z0-9, replace with _
44
1.44k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'1.25k
) ||
45
1.44k
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'1.25k
) ||
46
1.44k
       
(198
sanitized_test_case_name[i] >= '0'198
&&
sanitized_test_case_name[i] <= '9'4
)))
47
194
      sanitized_test_case_name[i] = '_';
48
36
  assert(i < 1024);
49
36
  sanitized_test_case_name[i] = '.';
50
36
  sanitized_test_case_name[i + 1] = 'd';
51
36
  sanitized_test_case_name[i + 2] = 'o';
52
36
  sanitized_test_case_name[i + 3] = 't';
53
36
  sanitized_test_case_name[i + 4] = 0;
54
36
  return fopen(sanitized_test_case_name, "w+");
55
36
}
dense.net.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
2
{
37
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
2
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
2
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
2
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
2
  int i;
42
77
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++75
)
43
75
    // If not A-Za-z0-9, replace with _
44
75
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'61
) ||
45
75
       
(67
sanitized_test_case_name[i] >= 'a'67
&&
sanitized_test_case_name[i] <= 'z'53
) ||
46
75
       
(14
sanitized_test_case_name[i] >= '0'14
&&
sanitized_test_case_name[i] <= '9'0
)))
47
14
      sanitized_test_case_name[i] = '_';
48
2
  assert(i < 1024);
49
2
  sanitized_test_case_name[i] = '.';
50
2
  sanitized_test_case_name[i + 1] = 'd';
51
2
  sanitized_test_case_name[i + 2] = 'o';
52
2
  sanitized_test_case_name[i + 3] = 't';
53
2
  sanitized_test_case_name[i + 4] = 0;
54
2
  return fopen(sanitized_test_case_name, "w+");
55
2
}
Unexecuted instantiation: cifar.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: rmsprop.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: sgd.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: nccl.tests.c:_ccv_nnc_symbolic_graph_gen
schedule.tests.c:_ccv_nnc_symbolic_graph_gen
Line
Count
Source
36
7
{
37
7
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
38
7
  mkdir("gen/symbolic", S_IRWXU | S_IRGRP | S_IROTH);
39
7
  char sanitized_test_case_name[1024] = "gen/symbolic/";
40
7
  strncpy(sanitized_test_case_name + 13, test_case_name, 1024 - 13);
41
7
  int i;
42
306
  for (i = 13; i < 1024 && sanitized_test_case_name[i]; 
i++299
)
43
299
    // If not A-Za-z0-9, replace with _
44
299
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'242
) ||
45
299
       
(284
sanitized_test_case_name[i] >= 'a'284
&&
sanitized_test_case_name[i] <= 'z'227
) ||
46
299
       
(57
sanitized_test_case_name[i] >= '0'57
&&
sanitized_test_case_name[i] <= '9'4
)))
47
53
      sanitized_test_case_name[i] = '_';
48
7
  assert(i < 1024);
49
7
  sanitized_test_case_name[i] = '.';
50
7
  sanitized_test_case_name[i + 1] = 'd';
51
7
  sanitized_test_case_name[i + 2] = 'o';
52
7
  sanitized_test_case_name[i + 3] = 't';
53
7
  sanitized_test_case_name[i + 4] = 0;
54
7
  return fopen(sanitized_test_case_name, "w+");
55
7
}
Unexecuted instantiation: loss.tests.c:_ccv_nnc_symbolic_graph_gen
Unexecuted instantiation: adam.tests.c:_ccv_nnc_symbolic_graph_gen
56
57
inline static FILE* _ccv_nnc_dynamic_graph_gen(const char* test_case_name)
58
415
{
59
415
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
60
415
  mkdir("gen/dynamic", S_IRWXU | S_IRGRP | S_IROTH);
61
415
  char sanitized_test_case_name[1024] = "gen/dynamic/";
62
415
  strncpy(sanitized_test_case_name + 12, test_case_name, 1024 - 12);
63
415
  int i;
64
25.8k
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++25.4k
)
65
25.4k
    // If not A-Za-z0-9, replace with _
66
25.4k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'22.0k
) ||
67
25.4k
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'22.0k
) ||
68
25.4k
       
(3.41k
sanitized_test_case_name[i] >= '0'3.41k
&&
sanitized_test_case_name[i] <= '9'20
)))
69
3.40k
      sanitized_test_case_name[i] = '_';
70
415
  assert(i < 1024);
71
415
  sanitized_test_case_name[i] = '.';
72
415
  sanitized_test_case_name[i + 1] = 'd';
73
415
  sanitized_test_case_name[i + 2] = 'o';
74
415
  sanitized_test_case_name[i + 3] = 't';
75
415
  sanitized_test_case_name[i + 4] = 0;
76
415
  return fopen(sanitized_test_case_name, "w+");
77
415
}
Unexecuted instantiation: concat.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: tensor.bind.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: backward.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: graph.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: case_of.backward.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: while.backward.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: autograd.vector.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: dropout.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: custom.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: reduce.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: batch.norm.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: crossentropy.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: cnnp.core.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: symbolic.graph.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: case_of.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: micro.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: compression.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: transform.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: dataframe.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: gemm.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: roi_align.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: swish.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: index.tests.c:_ccv_nnc_dynamic_graph_gen
minimize.tests.c:_ccv_nnc_dynamic_graph_gen
Line
Count
Source
58
2
{
59
2
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
60
2
  mkdir("gen/dynamic", S_IRWXU | S_IRGRP | S_IROTH);
61
2
  char sanitized_test_case_name[1024] = "gen/dynamic/";
62
2
  strncpy(sanitized_test_case_name + 12, test_case_name, 1024 - 12);
63
2
  int i;
64
174
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++172
)
65
172
    // If not A-Za-z0-9, replace with _
66
172
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'146
) ||
67
172
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'146
) ||
68
172
       
(26
sanitized_test_case_name[i] >= '0'26
&&
sanitized_test_case_name[i] <= '9'0
)))
69
26
      sanitized_test_case_name[i] = '_';
70
2
  assert(i < 1024);
71
2
  sanitized_test_case_name[i] = '.';
72
2
  sanitized_test_case_name[i + 1] = 'd';
73
2
  sanitized_test_case_name[i + 2] = 'o';
74
2
  sanitized_test_case_name[i + 3] = 't';
75
2
  sanitized_test_case_name[i + 4] = 0;
76
2
  return fopen(sanitized_test_case_name, "w+");
77
2
}
Unexecuted instantiation: symbolic.graph.compile.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: autograd.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: tensor.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: rand.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: while.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: nms.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: graph.io.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: cblas.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: simplify.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: numa.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: tape.tests.c:_ccv_nnc_dynamic_graph_gen
dynamic.graph.tests.c:_ccv_nnc_dynamic_graph_gen
Line
Count
Source
58
413
{
59
413
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
60
413
  mkdir("gen/dynamic", S_IRWXU | S_IRGRP | S_IROTH);
61
413
  char sanitized_test_case_name[1024] = "gen/dynamic/";
62
413
  strncpy(sanitized_test_case_name + 12, test_case_name, 1024 - 12);
63
413
  int i;
64
25.7k
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++25.2k
)
65
25.2k
    // If not A-Za-z0-9, replace with _
66
25.2k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'21.8k
) ||
67
25.2k
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'21.8k
) ||
68
25.2k
       
(3.39k
sanitized_test_case_name[i] >= '0'3.39k
&&
sanitized_test_case_name[i] <= '9'20
)))
69
3.37k
      sanitized_test_case_name[i] = '_';
70
413
  assert(i < 1024);
71
413
  sanitized_test_case_name[i] = '.';
72
413
  sanitized_test_case_name[i + 1] = 'd';
73
413
  sanitized_test_case_name[i + 2] = 'o';
74
413
  sanitized_test_case_name[i + 3] = 't';
75
413
  sanitized_test_case_name[i + 4] = 0;
76
413
  return fopen(sanitized_test_case_name, "w+");
77
413
}
Unexecuted instantiation: layer.norm.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: parallel.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: winograd.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: dataframe.addons.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: broadcast.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: compare.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: smooth_l1.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: cublas.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: upsample.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: imdb.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: graph.vgg.d.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: random.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: cudnn.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: dense.net.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: cifar.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: rmsprop.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: sgd.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: nccl.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: schedule.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: loss.tests.c:_ccv_nnc_dynamic_graph_gen
Unexecuted instantiation: adam.tests.c:_ccv_nnc_dynamic_graph_gen
78
79
inline static FILE* _ccv_nnc_cnnp_model_gen(const char* test_case_name)
80
22
{
81
22
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
82
22
  mkdir("gen/cnnp", S_IRWXU | S_IRGRP | S_IROTH);
83
22
  char sanitized_test_case_name[1024] = "gen/cnnp/";
84
22
  strncpy(sanitized_test_case_name + 9, test_case_name, 1024 - 9);
85
22
  int i;
86
1.28k
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++1.26k
)
87
1.26k
    // If not A-Za-z0-9, replace with _
88
1.26k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'916
) ||
89
1.26k
       
(1.25k
sanitized_test_case_name[i] >= 'a'1.25k
&&
sanitized_test_case_name[i] <= 'z'912
) ||
90
1.26k
       
(346
sanitized_test_case_name[i] >= '0'346
&&
sanitized_test_case_name[i] <= '9'60
)))
91
302
      sanitized_test_case_name[i] = '_';
92
22
  assert(i < 1024);
93
22
  sanitized_test_case_name[i] = '.';
94
22
  sanitized_test_case_name[i + 1] = 'd';
95
22
  sanitized_test_case_name[i + 2] = 'o';
96
22
  sanitized_test_case_name[i + 3] = 't';
97
22
  sanitized_test_case_name[i + 4] = 0;
98
22
  return fopen(sanitized_test_case_name, "w+");
99
22
}
concat.tests.c:_ccv_nnc_cnnp_model_gen
Line
Count
Source
80
4
{
81
4
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
82
4
  mkdir("gen/cnnp", S_IRWXU | S_IRGRP | S_IROTH);
83
4
  char sanitized_test_case_name[1024] = "gen/cnnp/";
84
4
  strncpy(sanitized_test_case_name + 9, test_case_name, 1024 - 9);
85
4
  int i;
86
214
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++210
)
87
210
    // If not A-Za-z0-9, replace with _
88
210
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'184
) ||
89
210
       (sanitized_test_case_name[i] >= 'a' && 
sanitized_test_case_name[i] <= 'z'184
) ||
90
210
       
(26
sanitized_test_case_name[i] >= '0'26
&&
sanitized_test_case_name[i] <= '9'0
)))
91
26
      sanitized_test_case_name[i] = '_';
92
4
  assert(i < 1024);
93
4
  sanitized_test_case_name[i] = '.';
94
4
  sanitized_test_case_name[i + 1] = 'd';
95
4
  sanitized_test_case_name[i + 2] = 'o';
96
4
  sanitized_test_case_name[i + 3] = 't';
97
4
  sanitized_test_case_name[i + 4] = 0;
98
4
  return fopen(sanitized_test_case_name, "w+");
99
4
}
Unexecuted instantiation: tensor.bind.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: backward.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: graph.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: case_of.backward.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: while.backward.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: autograd.vector.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: dropout.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: custom.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: reduce.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: batch.norm.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: crossentropy.tests.c:_ccv_nnc_cnnp_model_gen
cnnp.core.tests.c:_ccv_nnc_cnnp_model_gen
Line
Count
Source
80
18
{
81
18
  mkdir("gen", S_IRWXU | S_IRGRP | S_IROTH);
82
18
  mkdir("gen/cnnp", S_IRWXU | S_IRGRP | S_IROTH);
83
18
  char sanitized_test_case_name[1024] = "gen/cnnp/";
84
18
  strncpy(sanitized_test_case_name + 9, test_case_name, 1024 - 9);
85
18
  int i;
86
1.07k
  for (i = 12; i < 1024 && sanitized_test_case_name[i]; 
i++1.05k
)
87
1.05k
    // If not A-Za-z0-9, replace with _
88
1.05k
    if (!((sanitized_test_case_name[i] >= 'A' && 
sanitized_test_case_name[i] <= 'Z'732
) ||
89
1.05k
       
(1.04k
sanitized_test_case_name[i] >= 'a'1.04k
&&
sanitized_test_case_name[i] <= 'z'728
) ||
90
1.05k
       
(320
sanitized_test_case_name[i] >= '0'320
&&
sanitized_test_case_name[i] <= '9'60
)))
91
276
      sanitized_test_case_name[i] = '_';
92
18
  assert(i < 1024);
93
18
  sanitized_test_case_name[i] = '.';
94
18
  sanitized_test_case_name[i + 1] = 'd';
95
18
  sanitized_test_case_name[i + 2] = 'o';
96
18
  sanitized_test_case_name[i + 3] = 't';
97
18
  sanitized_test_case_name[i + 4] = 0;
98
18
  return fopen(sanitized_test_case_name, "w+");
99
18
}
Unexecuted instantiation: symbolic.graph.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: case_of.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: micro.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: compression.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: transform.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: dataframe.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: gemm.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: roi_align.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: swish.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: index.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: minimize.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: symbolic.graph.compile.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: autograd.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: tensor.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: rand.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: while.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: nms.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: graph.io.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: cblas.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: simplify.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: numa.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: tape.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: dynamic.graph.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: layer.norm.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: parallel.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: winograd.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: dataframe.addons.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: broadcast.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: compare.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: smooth_l1.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: cublas.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: upsample.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: imdb.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: graph.vgg.d.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: random.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: cudnn.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: dense.net.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: cifar.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: rmsprop.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: sgd.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: nccl.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: schedule.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: loss.tests.c:_ccv_nnc_cnnp_model_gen
Unexecuted instantiation: adam.tests.c:_ccv_nnc_cnnp_model_gen
100
101
// Generate dot graph into a designated directory.
102
111
#define GRAPH_GEN(graph, type) do { \
103
111
  FILE* _w_ = _ccv_nnc_graph_gen(__case_name__); \
104
111
  ccv_nnc_graph_dot(graph, type, _w_); \
105
111
  fclose(_w_); \
106
111
} while (0)
107
108
122
#define SYMBOLIC_GRAPH_GEN(symbolic_graph, type) do { \
109
122
  FILE* _w_ = _ccv_nnc_symbolic_graph_gen(__case_name__); \
110
122
  ccv_nnc_symbolic_graph_dot(symbolic_graph, type, _w_); \
111
122
  fclose(_w_); \
112
122
} while (0)
113
114
415
#define DYNAMIC_GRAPH_GEN(dynamic_graph, type) do { \
115
415
  FILE* _w_ = _ccv_nnc_dynamic_graph_gen(__case_name__); \
116
415
  ccv_nnc_dynamic_graph_dot(dynamic_graph, type, _w_); \
117
415
  fclose(_w_); \
118
415
} while (0)
119
120
20
#define CNNP_MODEL_GEN(cnnp_model, type) do { \
121
20
  FILE* _w_ = _ccv_nnc_cnnp_model_gen(__case_name__); \
122
20
  ccv_cnnp_model_dot(cnnp_model, type, &_w_, 1); \
123
20
  fclose(_w_); \
124
20
} while (0)
125
126
#endif