Home
last modified time | relevance | path

Searched refs:max (Results 1 - 18 of 18) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dsettings.rs34 /// let max = Redirect::limited(10);
40 /// Sets max number of redirects.
49 pub fn limited(max: usize) -> Self { in limited()
50 Self(redirect::Redirect::limited(max)) in limited()
95 /// let max = Retry::max();
137 /// Creates a `Retry` with a max retry times.
146 /// let retry = Retry::max();
148 pub fn max() -> Self { in max() functions
233 max
[all...]
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dcommon.h22 inline constexpr tid_t INVALID_TID = std::numeric_limits<tid_t>::max();
H A Dgraph.h44 static constexpr VIdx INVALID_V_IDX = std::numeric_limits<VIdx>::max();
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dredirect.rs127 Self::LimitTimes(max) => (info.previous.len() < *max) in trigger()
131 "Over redirect max limit", in trigger()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dmod.rs37 let max = libc::SIGRTMAX();
39 let max = 33;
40 max
/commonlibrary/c_utils/base/src/
H A Dmapped_file.cpp35 off_t max = RoundSize(stb.st_size) - offset_; // Avoid mapped size excessing in ValidMappedSize() local
37 if (max > 0) { // since write operation on it may raise signal 7. in ValidMappedSize()
38 targetSize = targetSize > max ? max : targetSize; in ValidMappedSize()
/commonlibrary/ets_utils/js_api_module/xml/
H A Djs_xml.h299 size_t max; member
305 this->max = -1; in SrcLinkList()
308 strBuffer(strTemp), position(iPos), max(iMax) {} in SrcLinkList()
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Dencoder.rs15 use std::cmp::{max, Ordering};
86 max_dynamic = max(max_dynamic, dyn_ref);
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dencoder.rs58 self.unacked_section.iter().flatten().max().cloned()
/commonlibrary/ets_utils/js_api_module/xml/test/
H A Dtest_xml.h45 static std::string ParseTagValue(napi_env env, char delimiter, bool resolveEntities, TextEnum textEnum, size_t max);
333 std::string XmlTest::ParseTagValue(napi_env env, char delimiter, bool resolveEntities, TextEnum textEnum, size_t max) in ParseTagValue() argument
339 xmlPullParser.max_ = max; in ParseTagValue()
H A Dtest_xml.cpp2202 size_t max = 1; in HWTEST_F() local
2204 std::string res = XmlTest::ParseTagValue(env, 'c', false, TextEnum::TEXT, max); in HWTEST_F()
2207 res = XmlTest::ParseTagValue(env, 'e', true, TextEnum::ATTRI, max); in HWTEST_F()
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp1415 off_t max = (stb.st_size / mf.PageSize() + 1LL) * mf.PageSize() - 0LL; in BENCHMARK_F() local
1416 AssertEqual(mf.Size(), max, "mf.Size() did not equal max as expected.", state); in BENCHMARK_F()
1456 off_t max = (stb.st_size / mf.PageSize() + 1LL) * mf.PageSize() - offset; in BENCHMARK_F() local
1457 AssertEqual(mf.Size(), max, "mf.Size() did not equal max as expected.", state); in BENCHMARK_F()
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp1294 off_t max = (stb.st_size / mf.PageSize() + 1LL) * mf.PageSize() - 0LL; in HWTEST_F() local
1295 EXPECT_EQ(mf.Size(), max); // Size will be automatically adjusted, due to safe-concern. in HWTEST_F()
1331 off_t max = (stb.st_size / mf.PageSize() + 1LL) * mf.PageSize() - offset; in HWTEST_F() local
1332 EXPECT_EQ(mf.Size(), max); // Size will be automatically adjusted, due to safe-concern. in HWTEST_F()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dworker.cpp527 TaskManager::GetInstance().StoreTaskDuration(task->taskId_, std::max(ioDuration, cpuDuration), cpuDuration); in TaskResultCallback()
H A Dtask_manager.cpp462 targetNum = std::max(minThread, targetNum); in NotifyShrink()
536 uint32_t maxThreads = std::max(ConcurrentHelper::GetMaxThreads(), DEFAULT_THREADS); in TryExpand()
H A Dtask.cpp1133 TaskManager::GetInstance().StoreTaskDuration(taskId_, std::max(cpuDuration, ioDuration), cpuDuration); in StoreTaskDuration()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dasync_pool.rs389 cmp::max(1, get_cpu_num() as usize) in get_cpu_core()
/commonlibrary/ets_utils/js_api_module/buffer/test/
H A Dtest_napi.cpp1367 * @tc.desc: Base64 encode with max size_t
1374 size_t len = std::numeric_limits<size_t>::max(); in HWTEST_F()

Completed in 49 milliseconds