Home
last modified time | relevance | path

Searched refs:add_one (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/libs/hof/test/
Dlambda.cpp16 static constexpr auto add_one = BOOST_HOF_STATIC_LAMBDA(int x)
35 BOOST_HOF_TEST_CHECK(3 == add_one(2)); in BOOST_HOF_TEST_CASE()
40 constexpr auto add_one_again = add_one; in BOOST_HOF_TEST_CASE()
46 constexpr auto add_one_again = wrap(add_one); in BOOST_HOF_TEST_CASE()
52 BOOST_HOF_STATIC_LAMBDA_FUNCTION(add_one) = [](int x)
59 BOOST_HOF_TEST_CHECK(add_one(2) == 3); in BOOST_HOF_TEST_CASE()
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dlambda.hpp.txt26 /// const constexpr auto add_one = BOOST_HOF_STATIC_LAMBDA(int x)
32 /// assert(3 == add_one(2));
55 /// BOOST_HOF_STATIC_LAMBDA_FUNCTION(add_one) = [](int x)
60 /// assert(3 == add_one(2));
Dcapture.hpp.txt68 /// auto add_one = boost::hof::capture(1)(sum_f());
69 /// assert(add_one(2) == 3);
/third_party/boost/libs/smart_ptr/doc/smart_ptr/
Dscoped_ptr.adoc185 int add_one() { return ++*ptr; }
192 std::cout << my_instance.add_one() << '\n';
193 std::cout << my_instance.add_one() << '\n';
/third_party/mindspore/tests/ut/python/dataset/
Dtest_var_batch_map.py273 def add_one(batchInfo): function
277 …data1 = data1.batch(batch_size=add_one, drop_remainder=True, input_columns=["image"], per_batch_ma…
/third_party/quickjs/
Dlibbf.c398 int add_one, inexact; in bf_get_rnd_add() local
412 add_one = 0; in bf_get_rnd_add()
419 add_one = 1; in bf_get_rnd_add()
422 add_one = in bf_get_rnd_add()
430 add_one = inexact; in bf_get_rnd_add()
433 add_one = inexact; in bf_get_rnd_add()
437 add_one = bit1; in bf_get_rnd_add()
445 return add_one; in bf_get_rnd_add()
488 int shift, add_one, rnd_mode; in __bf_round() local
513 add_one = bf_get_rnd_add(&ret, r, l, prec, rnd_mode); in __bf_round()
[all …]
/third_party/python/Doc/library/
Ddataclasses.rst396 namespace={'add_one': lambda self: self.x + 1})
406 def add_one(self):
/third_party/skia/third_party/externals/angle2/tools/flex-bison/third_party/m4sugar/
Dm4sugar.m4834 # m4_define([add_one], [m4_curry([add], [1])])
835 # add_one()([2]) => 3
/third_party/python/Lib/test/
Dtest_dataclasses.py3156 self.assertEqual(c.add_one(), 11)