OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bad_subnets
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc
550
ClientSideDetectionService::BadSubnetMap
bad_subnets
;
local
551
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
552
EXPECT_EQ(0U,
bad_subnets
.size());
567
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
568
EXPECT_EQ(0U,
bad_subnets
.size());
586
ClientSideDetectionService::SetBadSubnets(model, &
bad_subnets
);
587
EXPECT_EQ(3U,
bad_subnets
.size());
590
EXPECT_TRUE(
bad_subnets
.count(mask));
591
EXPECT_TRUE(
bad_subnets
[mask].count(std::string(crypto::kSHA256Length, '.')));
592
EXPECT_TRUE(
bad_subnets
[mask].count(std::string(crypto::kSHA256Length, ',')))
[
all
...]
client_side_detection_service.h
273
// |
bad_subnets
| for faster lookups. This method is static to simplify
276
BadSubnetMap*
bad_subnets
);
client_side_detection_service.cc
634
BadSubnetMap*
bad_subnets
) {
635
bad_subnets
->clear();
655
(*
bad_subnets
)[mask].insert(model.bad_subnet(i).prefix());
Completed in 89 milliseconds