blob: 28a87a0fa70c241a3b65c4464bf1b6fdc41e1990 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2017 Yahoo Holdings. 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();
}
|