OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hash_keys_
(Results
1 - 3
of
3
) sorted by null
/external/chromium/chrome/browser/safe_browsing/
bloom_filter_unittest.cc
49
new BloomFilter(data_copy, filter->size(), filter->
hash_keys_
));
104
EXPECT_EQ(filter_write->
hash_keys_
.size(), filter_read->
hash_keys_
.size());
106
for (size_t i = 0; i < filter_write->
hash_keys_
.size(); ++i)
107
EXPECT_EQ(filter_write->
hash_keys_
[i], filter_read->
hash_keys_
[i]);
bloom_filter.cc
51
hash_keys_
.push_back(base::RandUint64());
62
:
hash_keys_
(keys) {
73
for (size_t i = 0; i <
hash_keys_
.size(); ++i) {
74
uint32 index = HashMix(
hash_keys_
[i], hash_uint32) % bit_size_;
81
for (size_t i = 0; i <
hash_keys_
.size(); ++i) {
82
uint32 index = HashMix(
hash_keys_
[i], hash_uint32) % bit_size_;
171
int num_keys = static_cast<int>(
hash_keys_
.size());
178
bytes_written = filter.Write(reinterpret_cast<const char*>(&
hash_keys_
[i]),
179
sizeof(
hash_keys_
[i]), NULL);
180
if (bytes_written != sizeof(
hash_keys_
[i])
[
all
...]
bloom_filter.h
104
HashKeys
hash_keys_
;
member in class:BloomFilter
Completed in 1257 milliseconds