OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IsPrime
(Results
1 - 9
of
9
) sorted by null
/external/chromium/testing/gtest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
/external/gtest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
/external/protobuf/gtest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
Completed in 262 milliseconds