Home
last modified time | relevance | path

Searched refs:cardinality (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Dec_mult.c154 BIGNUM *cardinality = NULL; in ossl_ec_scalar_mul_ladder() local
194 cardinality = BN_CTX_get(ctx); in ossl_ec_scalar_mul_ladder()
202 if (!BN_mul(cardinality, group->order, group->cofactor, ctx)) { in ossl_ec_scalar_mul_ladder()
213 cardinality_bits = BN_num_bits(cardinality); in ossl_ec_scalar_mul_ladder()
214 group_top = bn_get_top(cardinality); in ossl_ec_scalar_mul_ladder()
233 if (!BN_nnmod(k, k, cardinality, ctx)) { in ossl_ec_scalar_mul_ladder()
239 if (!BN_add(lambda, k, cardinality)) { in ossl_ec_scalar_mul_ladder()
244 if (!BN_add(k, lambda, cardinality)) { in ossl_ec_scalar_mul_ladder()
/freebsd/contrib/googletest/docs/reference/
H A Dmocking.md81 .Times(cardinality) // Can be used at most once
123 `.Times(`*`cardinality`*`)`
127 The parameter *`cardinality`* represents the number of expected calls and can be
138 If the `Times` clause is omitted, GoogleTest infers the cardinality as follows:
142 cardinality is `Times(1)`.
144 *n* >= 1, the inferred cardinality is `Times(n)`.
146 *n* >= 0, the inferred cardinality is `Times(AtLeast(n))`.
233 The use of `WillOnce` implicitly sets a cardinality on the expectation when
267 The use of `WillRepeatedly` implicitly sets a cardinality on the expectation
295 upper-bounded cardinality. The expectation will *retire* (no longer match any
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc193 cardinality().DescribeTo(os); in DescribeCallCountTo()
231 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
232 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
250 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h697 const Cardinality& cardinality() const { return cardinality_; } in cardinality() function
755 void SpecifyCardinality(const Cardinality& cardinality);
792 return cardinality().IsSatisfiedByCallCount(call_count_); in IsSatisfied()
798 return cardinality().IsSaturatedByCallCount(call_count_); in IsSaturated()
804 return cardinality().IsOverSaturatedByCallCount(call_count_); in IsOverSaturated()
/freebsd/contrib/googletest/docs/
H A Dgmock_for_dummies.md297 .Times(cardinality)
309 .Times(cardinality)
405 call its argument a **cardinality** as it tells *how many times* the call should
407 it as many times. More importantly, a cardinality can be "fuzzy", just like a
420 the cardinality for you.** The rules are easy to remember:
423 `EXPECT_CALL()`, the inferred cardinality is `Times(1)`.
425 1, the cardinality is `Times(n)`.
427 0, the cardinality is `Times(AtLeast(n))`.
479 cardinality itself. What if the number you specified is larger than there are
H A Dgmock_cook_book.md1940 cardinality failures (calling the method the wrong number of times) and argument
3794 A cardinality is used in `Times()` to tell gMock how many times you expect a
3807 // Returns true if and only if call_count calls will satisfy this cardinality.
3811 // cardinality.
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp9144 virtual auto cardinality() const -> size_t { return 1; } in cardinality() function in Catch::clara::detail::ParserBase
9204 auto cardinality() const -> size_t override { in cardinality() function in Catch::clara::detail::ParserRefImpl
9466 if( arg.cardinality() == 0 ) in writeToStream()
9539 … if( parseInfo.parser->cardinality() == 0 || parseInfo.count < parseInfo.parser->cardinality() ) { in parse()