49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-
|
}
foreach {outputFileHash outputFileIndexes} [lsort -stride 2 -dictionary [array get outputFileHashToIndex]] {
?> case <?= $outputFileHash ?>:
<?
foreach outputFileIndex $outputFileIndexes {
set outputFileName [lindex $::xvfs::outputFiles $outputFileIndex]
set outputFileName [encoding convertto utf-8 $outputFileName]
set outputFileNameLen [string length $outputFileName]
?> if (pathLen == <?= $outputFileNameLen ?> && memcmp(path, xvfs_<?= $::xvfs::fsName ?>_data[<?= $outputFileIndex ?>].name, pathLen) == 0) {
return(<?= $outputFileIndex ?>);
}
<?
}
?> break;
|