OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GetNextPrime
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/testing/gtest/samples/
prime_tables.h
52
virtual int
GetNextPrime
(int p) const = 0;
69
virtual int
GetNextPrime
(int p) const {
93
virtual int
GetNextPrime
(int p) const {
sample8_unittest.cc
69
virtual int
GetNextPrime
(int p) const {
72
next_prime = precalc_impl_->
GetNextPrime
(p);
74
return next_prime != -1 ? next_prime : on_the_fly_impl_->
GetNextPrime
(p);
140
EXPECT_EQ(2, table_->
GetNextPrime
(0));
141
EXPECT_EQ(3, table_->
GetNextPrime
(2));
142
EXPECT_EQ(5, table_->
GetNextPrime
(3));
143
EXPECT_EQ(7, table_->
GetNextPrime
(5));
144
EXPECT_EQ(11, table_->
GetNextPrime
(7));
145
EXPECT_EQ(131, table_->
GetNextPrime
(128));
/external/protobuf/gtest/samples/
prime_tables.h
52
virtual int
GetNextPrime
(int p) const = 0;
69
virtual int
GetNextPrime
(int p) const {
93
virtual int
GetNextPrime
(int p) const {
sample8_unittest.cc
69
virtual int
GetNextPrime
(int p) const {
72
next_prime = precalc_impl_->
GetNextPrime
(p);
74
return next_prime != -1 ? next_prime : on_the_fly_impl_->
GetNextPrime
(p);
140
EXPECT_EQ(2, table_->
GetNextPrime
(0));
141
EXPECT_EQ(3, table_->
GetNextPrime
(2));
142
EXPECT_EQ(5, table_->
GetNextPrime
(3));
143
EXPECT_EQ(7, table_->
GetNextPrime
(5));
144
EXPECT_EQ(11, table_->
GetNextPrime
(7));
145
EXPECT_EQ(131, table_->
GetNextPrime
(128));
/ndk/sources/third_party/googletest/googletest/samples/
prime_tables.h
52
virtual int
GetNextPrime
(int p) const = 0;
69
virtual int
GetNextPrime
(int p) const {
93
virtual int
GetNextPrime
(int p) const {
sample8_unittest.cc
69
virtual int
GetNextPrime
(int p) const {
72
next_prime = precalc_impl_->
GetNextPrime
(p);
74
return next_prime != -1 ? next_prime : on_the_fly_impl_->
GetNextPrime
(p);
140
EXPECT_EQ(2, table_->
GetNextPrime
(0));
141
EXPECT_EQ(3, table_->
GetNextPrime
(2));
142
EXPECT_EQ(5, table_->
GetNextPrime
(3));
143
EXPECT_EQ(7, table_->
GetNextPrime
(5));
144
EXPECT_EQ(11, table_->
GetNextPrime
(7));
145
EXPECT_EQ(131, table_->
GetNextPrime
(128));
Completed in 223 milliseconds