OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bad_subnets
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc
547
ClientSideDetectionService::BadSubnetMap
bad_subnets
;
local
548
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
549
EXPECT_EQ(0U,
bad_subnets
.size());
564
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
565
EXPECT_EQ(0U,
bad_subnets
.size());
583
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
584
EXPECT_EQ(3U,
bad_subnets
.size());
587
EXPECT_TRUE(
bad_subnets
.count(mask));
588
EXPECT_TRUE(
bad_subnets
[mask].count(std::string(crypto::kSHA256Length, '.')));
589
EXPECT_TRUE(
bad_subnets
[mask].count(std::string(crypto::kSHA256Length, ',')))
[
all
...]
client_side_detection_service.h
269
// |
bad_subnets
| for faster lookups. This method is static to simplify
272
BadSubnetMap*
bad_subnets
);
client_side_detection_service.cc
589
BadSubnetMap*
bad_subnets
) {
590
bad_subnets
->clear();
610
(*
bad_subnets
)[mask].insert(model.bad_subnet(i).prefix());
Completed in 74 milliseconds