Sfoglia il codice sorgente

update index.md

remove return value of GetApproximateSizes in index.md
naive_version
jl0x61 4 anni fa
parent
commit
1754c12c54
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      doc/index.md

+ 1
- 1
doc/index.md Vedi File

@ -478,7 +478,7 @@ leveldb::Range ranges[2];
ranges[0] = leveldb::Range("a", "c");
ranges[1] = leveldb::Range("x", "z");
uint64_t sizes[2];
leveldb::Status s = db->GetApproximateSizes(ranges, 2, sizes);
db->GetApproximateSizes(ranges, 2, sizes);
```
The preceding call will set `sizes[0]` to the approximate number of bytes of

Caricamento…
Annulla
Salva