Searched refs:global_header (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/ |
| H A D | cnpy.h | 176 std::vector<char> global_header; variable 190 global_header.resize(global_header_size); 191 size_t res = fread(&global_header[0], sizeof(char), global_header_size, fp); 230 global_header += "PK"; // first part of sig 231 global_header += (uint16_t)0x0201; // second part of sig 232 global_header += (uint16_t)20; // version made by 233 global_header.insert(global_header.end(), local_header.begin() + 4, local_header.begin() + 30); 234 global_header += (uint16_t)0; // file comment length 235 global_header += (uint16_t)0; // disk number where file starts 236 global_header += (uint16_t)0; // internal file attributes [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/ |
| H A D | cnpy.h | 176 std::vector<char> global_header; variable 190 global_header.resize(global_header_size); 191 size_t res = fread(&global_header[0], sizeof(char), global_header_size, fp); 230 global_header += "PK"; // first part of sig 231 global_header += (uint16_t)0x0201; // second part of sig 232 global_header += (uint16_t)20; // version made by 233 global_header.insert(global_header.end(), local_header.begin() + 4, local_header.begin() + 30); 234 global_header += (uint16_t)0; // file comment length 235 global_header += (uint16_t)0; // disk number where file starts 236 global_header += (uint16_t)0; // internal file attributes [all …]
|