comparison audioDB.cpp @ 85:4d2587e683ff

Cosmetic fix to the file format comment: prefer O2 to 02.
author mas01cr
date Tue, 02 Oct 2007 13:26:10 +0000
parents 94b6fb73d2ee
children 53179ebec1f7
comparison
equal deleted inserted replaced
84:94b6fb73d2ee 85:4d2587e683ff
336 336
337 keyTable : list of keys of tracks 337 keyTable : list of keys of tracks
338 -------------------------------------------------------------------------- 338 --------------------------------------------------------------------------
339 | key 256 bytes | 339 | key 256 bytes |
340 -------------------------------------------------------------------------- 340 --------------------------------------------------------------------------
341 O2_MAXFILES*02_FILENAMELENGTH 341 O2_MAXFILES*O2_FILENAMELENGTH
342 342
343 trackTable : Maps implicit feature index to a feature vector matrix 343 trackTable : Maps implicit feature index to a feature vector matrix
344 -------------------------------------------------------------------------- 344 --------------------------------------------------------------------------
345 | numVectors (4 bytes) | 345 | numVectors (4 bytes) |
346 -------------------------------------------------------------------------- 346 --------------------------------------------------------------------------
347 O2_MAXFILES * 02_MEANNUMFEATURES * sizeof(INT) 347 O2_MAXFILES * O2_MEANNUMFEATURES * sizeof(INT)
348 348
349 featureTable 349 featureTable
350 -------------------------------------------------------------------------- 350 --------------------------------------------------------------------------
351 | v1 v2 v3 ... vd (double) | 351 | v1 v2 v3 ... vd (double) |
352 -------------------------------------------------------------------------- 352 --------------------------------------------------------------------------
353 O2_MAXFILES * 02_MEANNUMFEATURES * DIM * sizeof(DOUBLE) 353 O2_MAXFILES * O2_MEANNUMFEATURES * DIM * sizeof(DOUBLE)
354 354
355 timesTable 355 timesTable
356 -------------------------------------------------------------------------- 356 --------------------------------------------------------------------------
357 | timestamp (double) | 357 | timestamp (double) |
358 -------------------------------------------------------------------------- 358 --------------------------------------------------------------------------
359 O2_MAXFILES * 02_MEANNUMFEATURES * sizeof(DOUBLE) 359 O2_MAXFILES * O2_MEANNUMFEATURES * sizeof(DOUBLE)
360 360
361 l2normTable 361 l2normTable
362 -------------------------------------------------------------------------- 362 --------------------------------------------------------------------------
363 | nm (double) | 363 | nm (double) |
364 -------------------------------------------------------------------------- 364 --------------------------------------------------------------------------
365 O2_MAXFILES * 02_MEANNUMFEATURES * sizeof(DOUBLE) 365 O2_MAXFILES * O2_MEANNUMFEATURES * sizeof(DOUBLE)
366 366
367 */ 367 */
368 368
369 void audioDB::get_lock(int fd, bool exclusive) { 369 void audioDB::get_lock(int fd, bool exclusive) {
370 struct flock lock; 370 struct flock lock;