Home
last modified time | relevance | path

Searched refs:yield_ (Results 1 – 25 of 191) sorted by relevance

12345678

/dports/science/py-OpenMC/openmc-0.12.2/openmc/data/
H A Dreaction.py117 p.yield_ = yield_
417 neutron.yield_ = deepcopy(yield_)
422 neutron.yield_ = deepcopy(yield_)
444 yield_ = delayed_neutron.yield_
465 delayed_neutron.yield_.y *= yield_.coef[0]
552 p.yield_ = Tabulated1D(energy, yield_)
558 product.yield_ = p.yield_
630 photon.yield_ = Tabulated1D(energy, yield_)
650 energy = np.array([photon.yield_.x[0], photon.yield_.x[-1]])
755 photon.yield_ = Tabulated1D(energy, yield_)
[all …]
H A Dproduct.py46 self.yield_ = Polynomial((1,)) # 0-order polynomial, i.e., a constant
49 if isinstance(self.yield_, Tabulated1D):
50 if np.all(self.yield_.y == self.yield_.y[0]):
52 self.particle, self.emission_mode, self.yield_.y[0])
81 def yield_(self): member in Product
113 @yield_.setter
114 def yield_(self, yield_): argument
115 cv.check_type('product yield', yield_, Function1D)
116 self._yield = yield_
133 self.yield_.to_hdf5(group, 'yield')
[all …]
/dports/science/openmc/openmc-0.12.2/openmc/data/
H A Dreaction.py117 p.yield_ = yield_
417 neutron.yield_ = deepcopy(yield_)
422 neutron.yield_ = deepcopy(yield_)
444 yield_ = delayed_neutron.yield_
465 delayed_neutron.yield_.y *= yield_.coef[0]
552 p.yield_ = Tabulated1D(energy, yield_)
558 product.yield_ = p.yield_
630 photon.yield_ = Tabulated1D(energy, yield_)
650 energy = np.array([photon.yield_.x[0], photon.yield_.x[-1]])
755 photon.yield_ = Tabulated1D(energy, yield_)
[all …]
H A Dproduct.py46 self.yield_ = Polynomial((1,)) # 0-order polynomial, i.e., a constant
49 if isinstance(self.yield_, Tabulated1D):
50 if np.all(self.yield_.y == self.yield_.y[0]):
52 self.particle, self.emission_mode, self.yield_.y[0])
81 def yield_(self): member in Product
113 @yield_.setter
114 def yield_(self, yield_): argument
115 cv.check_type('product yield', yield_, Function1D)
116 self._yield = yield_
133 self.yield_.to_hdf5(group, 'yield')
[all …]
/dports/devel/py-async_generator/async_generator-1.10/async_generator/_tests/
H A Dtest_async_generator.py12 yield_,
40 await yield_(i)
73 await yield_()
89 await yield_(1)
90 await yield_(2)
150 await yield_(1)
156 await yield_(3)
158 await yield_(4)
269 await yield_(3)
439 await yield_(0)
[all …]
H A Dtest_util.py3 from .. import aclosing, async_generator, yield_, asynccontextmanager
10 await yield_(i)
43 await yield_()
73 await yield_()
123 await yield_()
140 await yield_()
151 await yield_()
164 await yield_()
198 await yield_()
202 await yield_()
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/generator-0.6.24/tests/
H A Dlib.rs32 s.yield_(2); in generator_is_done1()
45 s.yield_(String::from("string")); in generator_is_done_with_drop()
58 let r: i32 = yield_(10).unwrap(); in test_yield_a()
293 yield_::<(), _>(0); in test_yield_from_functor_context()
349 i = yield_(i * 2).unwrap(); in test_yield_from_send()
379 i = yield_(i * 2).unwrap(); in test_yield_from_send_type_miss_match()
417 let i = s.yield_(0).unwrap(); in test_scope_gen()
433 i = s.yield_(i * 2).unwrap(); in test_scope_yield_from_send()
458 s.yield_(0); in test_re_init()
459 s.yield_(3); in test_re_init()
[all …]
/dports/misc/xd-rust/delan-xd-4bdbb191ed6d/cargo-crates/generator-0.6.23/tests/
H A Dlib.rs32 s.yield_(2); in generator_is_done1()
45 s.yield_(String::from("string")); in generator_is_done_with_drop()
58 let r: i32 = yield_(10).unwrap(); in test_yield_a()
293 yield_::<(), _>(0); in test_yield_from_functor_context()
349 i = yield_(i * 2).unwrap(); in test_yield_from_send()
379 i = yield_(i * 2).unwrap(); in test_yield_from_send_type_miss_match()
417 let i = s.yield_(0).unwrap(); in test_scope_gen()
433 i = s.yield_(i * 2).unwrap(); in test_scope_yield_from_send()
458 s.yield_(0); in test_re_init()
459 s.yield_(3); in test_re_init()
[all …]
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/generator-0.6.20/tests/
H A Dlib.rs31 s.yield_(2);
44 s.yield_(String::from("string"));
57 let r: i32 = yield_(10).unwrap();
292 yield_::<(), _>(0);
348 i = yield_(i * 2).unwrap();
378 i = yield_(i * 2).unwrap();
416 let i = s.yield_(0).unwrap();
432 i = s.yield_(i * 2).unwrap();
457 s.yield_(0);
458 s.yield_(3);
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/process/test/
H A Dasync_system_stackful_error.cpp37 [&](boost::asio::yield_context yield_)
41 ios, yield_, in __anon2d7459400102()
64 [&](boost::asio::yield_context yield_)
69 ios, yield_, in __anon2d7459400302()
91 [&](boost::asio::yield_context yield_)
96 ios, yield_[ec], in __anon2d7459400502()
/dports/devel/boost-python-libs/boost_1_72_0/libs/process/test/
H A Dasync_system_stackful_error.cpp37 [&](boost::asio::yield_context yield_)
41 ios, yield_, in __anon82ca36700102()
64 [&](boost::asio::yield_context yield_)
69 ios, yield_, in __anon82ca36700302()
91 [&](boost::asio::yield_context yield_)
96 ios, yield_[ec], in __anon82ca36700502()
/dports/devel/boost-libs/boost_1_72_0/libs/process/test/
H A Dasync_system_stackful_error.cpp37 [&](boost::asio::yield_context yield_)
41 ios, yield_, in __anonae5e02810102()
64 [&](boost::asio::yield_context yield_)
69 ios, yield_, in __anonae5e02810302()
91 [&](boost::asio::yield_context yield_)
96 ios, yield_[ec], in __anonae5e02810502()
/dports/devel/hyperscan/boost_1_75_0/libs/process/test/
H A Dasync_system_stackful_error.cpp37 [&](boost::asio::yield_context yield_)
41 ios, yield_, in __anon75bf46330102()
64 [&](boost::asio::yield_context yield_)
69 ios, yield_, in __anon75bf46330302()
91 [&](boost::asio::yield_context yield_)
96 ios, yield_[ec], in __anon75bf46330502()
/dports/net/pichi/pichi-1.4.0/server/
H A Drun.cpp67 asio::yield_context yield_; member in HttpHelper
71 : endpoint_{move(endpoint)}, yield_{yield} in HttpHelper()
78 net::connect(endpoint_, s, yield_); in get()
84 http::async_write(s, req, yield_); in get()
88 http::async_read(s, buf, resp, yield_); in get()
101 net::connect(endpoint_, s, yield_); in put()
109 http::async_write(s, req, yield_); in put()
113 http::async_read(s, buf, resp, yield_); in put()
120 net::connect(endpoint_, s, yield_); in del()
126 http::async_write(s, req, yield_); in del()
[all …]
/dports/misc/qbrew/qbrew-0.4.1/src/
H A Dgrain.cpp30 type_(GRAIN_STRING), use_(OTHER_STRING), yield_(0.0), hcu_(0.0) in Grain()
50 color_(g.color_), type_(g.type_), use_(g.use_), yield_(g.yield_), in Grain()
68 yield_ = g.yield_; in operator =()
125 yield_ = weight_.amount(Weight::pound) * (extract_ - 1.000); in recalc()
/dports/net/pichi/pichi-1.4.0/include/boost/asio/
H A Dspawn2.hpp156 SpawnHandler(YieldContext yield) : yield_{yield} {} in SpawnHandler()
166 yield_.yield(YieldState::PUSHED); in operator ()()
170 YieldContext yield_; member in boost::asio::detail::SpawnHandler
179 AsyncResult(SpawnHandler<T>& h) : yield_{h.yield_} in AsyncResult()
182 yield_.yield(YieldState::INIT);
187 yield_.yield(YieldState::PULLED); in get()
188 if (yield_.ec_ != nullptr) in get()
189 *yield_.ec_ = data_.ec_; in get()
201 YieldContext yield_; member in boost::asio::detail::AsyncResult
240 return get_associated_executor(h.yield_);
/dports/math/vtk6/VTK-6.2.0/ThirdParty/AutobahnPython/autobahn/wamp/
H A Ddealer.py263 def processYield(self, session, yield_): argument
269 if yield_.request in self._invocations:
273 call_msg, call_session = self._invocations[yield_.request]
279 self._router.validate('call_result', call_msg.procedure, yield_.args, yield_.kwargs)
284 …reply = message.Result(call_msg.request, args = yield_.args, kwargs = yield_.kwargs, progress = yi…
293 if not yield_.progress or not is_valid:
294 del self._invocations[yield_.request]
297 …tocolError("Dealer.onYield(): YIELD received for non-pending request ID {}".format(yield_.request))
/dports/misc/xd-rust/delan-xd-4bdbb191ed6d/cargo-crates/generator-0.6.23/src/
H A Dlib.rs21 mod yield_; module
26 pub use crate::yield_::{
27 co_get_yield, co_set_para, co_yield_with, done, get_yield, yield_, yield_from, yield_with,
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/generator-0.6.24/src/
H A Dlib.rs22 mod yield_; module
27 pub use crate::yield_::{
28 co_get_yield, co_set_para, co_yield_with, done, get_yield, yield_, yield_from, yield_with,
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/generator-0.6.20/src/
H A Dlib.rs24 mod yield_; module
29 pub use crate::yield_::{
30 co_get_yield, co_set_para, co_yield_with, done, get_yield, yield_, yield_from, yield_with,
/dports/math/clingo/clingo-5.5.1/libpyclingo/clingo/tests/
H A Dtest_solving.py39 with cast(SolveHandle, self.ctl.solve(yield_=True)) as hnd:
50 …_check_sat(self, cast(SolveResult, self.ctl.solve(on_model=self.mcb.on_model, yield_=False, async_…
60 …with cast(SolveHandle, self.ctl.solve(on_model=self.mcb.on_model, yield_=False, async_=True)) as h…
70 …with cast(SolveHandle, self.ctl.solve(on_model=self.mcb.on_model, yield_=True, async_=False)) as h…
83 …with cast(SolveHandle, self.ctl.solve(on_model=self.mcb.on_model, yield_=True, async_=True)) as hn…
168 …with cast(SolveHandle, self.ctl.solve(on_model=self.mcb.on_model, yield_=True, async_=False)) as h…
186 …with cast(SolveHandle, self.ctl.solve(on_model=self.mcb.on_model, yield_=True, async_=False)) as h…
/dports/finance/quantlib/QuantLib-1.20/ql/experimental/exoticoptions/
H A Deverestoption.cpp33 QL_REQUIRE(yield_ != Null<Rate>(), "yield not provided"); in yield()
34 return yield_; in yield()
54 yield_ = results->yield; in fetchResults()
/dports/devel/boost-docs/boost_1_72_0/libs/beast/test/beast/websocket/
H A Dtest.hpp670 net::yield_context& yield_; member in boost::beast::websocket::websocket_test_suite::AsyncClient
675 : yield_(yield) in AsyncClient()
684 ws.async_accept(yield_[ec]); in accept()
711 ws.async_accept(req, yield_[ec]); in accept()
725 ws.async_accept_ex(d, yield_[ec]); in accept_ex()
773 req, buffers, d, yield_[ec]); in accept_ex()
788 uri, path, yield_[ec]); in handshake()
803 res, uri, path, yield_[ec]); in handshake()
820 uri, path, d, yield_[ec]); in handshake_ex()
838 res, uri, path, d, yield_[ec]); in handshake_ex()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/beast/test/beast/websocket/
H A Dtest.hpp670 net::yield_context& yield_; member in boost::beast::websocket::websocket_test_suite::AsyncClient
675 : yield_(yield) in AsyncClient()
684 ws.async_accept(yield_[ec]); in accept()
711 ws.async_accept(req, yield_[ec]); in accept()
725 ws.async_accept_ex(d, yield_[ec]); in accept_ex()
773 req, buffers, d, yield_[ec]); in accept_ex()
788 uri, path, yield_[ec]); in handshake()
803 res, uri, path, yield_[ec]); in handshake()
820 uri, path, d, yield_[ec]); in handshake_ex()
838 res, uri, path, d, yield_[ec]); in handshake_ex()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/beast/test/beast/websocket/
H A Dtest.hpp670 net::yield_context& yield_; member in boost::beast::websocket::websocket_test_suite::AsyncClient
675 : yield_(yield) in AsyncClient()
684 ws.async_accept(yield_[ec]); in accept()
711 ws.async_accept(req, yield_[ec]); in accept()
725 ws.async_accept_ex(d, yield_[ec]); in accept_ex()
773 req, buffers, d, yield_[ec]); in accept_ex()
788 uri, path, yield_[ec]); in handshake()
803 res, uri, path, yield_[ec]); in handshake()
820 uri, path, d, yield_[ec]); in handshake_ex()
838 res, uri, path, d, yield_[ec]); in handshake_ex()
[all …]

12345678