fn index_with_n_entries(n: u32) -> Vec<(PkgUrl, BlobId)> {
        let mut cache = vec![];
        for i in 0..n {
            let pkg_url = format!("fuchsia-pkg://fuchsia.com/{}", i).parse::<PkgUrl>().unwrap();
            let blob_id = format!("{:064}", i).parse::<BlobId>().unwrap();
            cache.push((pkg_url, blob_id));
        }
        cache
    }
// Generate an index with n unique entries.
Generate an index with n unique entries.
Generate an index with n unique entries .
fn index_with_n_entries(n: u32) -> Vec<(PkgUrl, BlobId)> {
        let mut cache = vec![];
        for i in 0..n {
            let pkg_url = format!("fuchsia-pkg://fuchsia.com/{}", i).parse::<PkgUrl>().unwrap();
            let blob_id = format!("{:064}", i).parse::<BlobId>().unwrap();
            cache.push((pkg_url, blob_id));
        }
        cache
    }
fn index_with_n_entries ( n : u32 ) -> Vec < ( PkgUrl , BlobId ) > { let mut cache = vec ! [ ] ; for i in 0 .. n { let pkg_url = format ! ( " " i ) . parse :: < PkgUrl > ( ) . unwrap ( ) ; let blob_id = format ! ( " " i ) . parse :: < BlobId > ( ) . unwrap ( ) ; cache . push ( ( pkg_url , blob_id ) ) ; } cache }
Generate an index with n unique entries.
Generate an index with n unique entries .
n
u32
n
u32