blob: b9499de933a4a5afa65c2e016b9d4d5f04097828 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vector>
#include <vespa/document/bucket/bucketid.h>
namespace BucketVector{
void reserve(size_t capacity);
void clear();
void addBucket(uint64_t bucket);
void getBuckets(uint32_t distributionBits, std::vector<document::BucketId>& buckets);
void printVector();
}
|