/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
H A D | settings.rs | 34 /// 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 D | common.h | 22 inline constexpr tid_t INVALID_TID = std::numeric_limits<tid_t>::max();
|
H A D | graph.h | 44 static constexpr VIdx INVALID_V_IDX = std::numeric_limits<VIdx>::max();
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | redirect.rs | 127 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 D | mod.rs | 37 let max = libc::SIGRTMAX(); 39 let max = 33; 40 max
|
/commonlibrary/c_utils/base/src/ |
H A D | mapped_file.cpp | 35 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 D | js_xml.h | 299 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 D | encoder.rs | 15 use std::cmp::{max, Ordering}; 86 max_dynamic = max(max_dynamic, dyn_ref);
|
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/ |
H A D | encoder.rs | 58 self.unacked_section.iter().flatten().max().cloned()
|
/commonlibrary/ets_utils/js_api_module/xml/test/ |
H A D | test_xml.h | 45 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 D | test_xml.cpp | 2202 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 D | mapped_benchmark_test.cpp | 1415 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 D | utils_mapped_file_test.cpp | 1294 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 D | worker.cpp | 527 TaskManager::GetInstance().StoreTaskDuration(task->taskId_, std::max(ioDuration, cpuDuration), cpuDuration);
in TaskResultCallback()
|
H A D | task_manager.cpp | 462 targetNum = std::max(minThread, targetNum); in NotifyShrink() 536 uint32_t maxThreads = std::max(ConcurrentHelper::GetMaxThreads(), DEFAULT_THREADS); in TryExpand()
|
H A D | task.cpp | 1133 TaskManager::GetInstance().StoreTaskDuration(taskId_, std::max(cpuDuration, ioDuration), cpuDuration); in StoreTaskDuration()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | async_pool.rs | 389 cmp::max(1, get_cpu_num() as usize) in get_cpu_core()
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
H A D | test_napi.cpp | 1367 * @tc.desc: Base64 encode with max size_t 1374 size_t len = std::numeric_limits<size_t>::max(); in HWTEST_F()
|