blob: 27bd5ea904edab836a31a91af3c8f51930ca77a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "growstrategy.h"
#include <iostream>
namespace search {
std::ostream&
operator<<(std::ostream& os, const GrowStrategy& grow_strategy)
{
os << "{docsInitialCapacity=" << grow_strategy.getInitialCapacity() <<
", docsMinimumCapacity=" << grow_strategy.getMinimumCapacity() <<
", docsGrowFactor=" << grow_strategy.getGrowFactor() <<
", docsGrowDelta=" << grow_strategy.getGrowDelta() <<
", multiValueAllocGrowFactor=" << grow_strategy.getMultiValueAllocGrowFactor() <<
"}";
return os;
}
}
|