Home
last modified time | relevance | path

Searched refs:cycle (Results 1 – 25 of 92) sorted by relevance

1234

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dgraph.h117 …static std::string CycleAsString(Path cycle, std::string prompt = "L: ", std::string terminator = …
121 if (cycle.vertices.empty() || cycle.vertices.size() < 1 ||
122 (cycle.edges.size() != (cycle.vertices.size() - 1))) {
127 auto edgeIt = cycle.edges.begin();
128 for (auto vDataPtr : cycle.vertices) {
130 if (edgeIt != cycle.edges.end()) {
150 Path cycle = RunDfsFromVertex(seedIdx); in FindFirstCycle() local
151 if (!cycle.vertices.empty()) { in FindFirstCycle()
152 return cycle; in FindFirstCycle()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_heartbeat_sdk_test.cpp86 GearMode mode1 = { .cycle = MID_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = false };
87 GearMode mode2 = { .cycle = HIGH_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = true };
88 GearMode mode3 = { .cycle = LOW_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = true };
89 GearMode mode4 = { .cycle = HIGH_FREQ_CYCLE, .duration = NORMAL_DURATION, .wakeupFlag = true };
90 GearMode mode5 = { .cycle = MID_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = false };
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/shiftlnngear_fuzzer/
H A Dshiftlnngear_fuzzer.cpp41 g_mode.cycle = HIGH_FREQ_CYCLE; in GenRanDiscInfo()
44 g_mode.cycle = MID_FREQ_CYCLE; in GenRanDiscInfo()
47 g_mode.cycle = LOW_FREQ_CYCLE; in GenRanDiscInfo()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Didle_time.cpp78 int64_t cycle = elapsedTime / period ; in EventTask() local
80 …Tag::APPKIT, "EventTask idleTime %{public}" PRId64 ", cycle is %{public}" PRId64, idleTime, cycle); in EventTask()
81 if (idleTime > 0 && cycle < MAX_PERIOD_COUNT) { in EventTask()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dhb_ctrl_deps_mock.cpp90 int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) in AuthSendKeepaliveOption() argument
92 return HeartBeatCtrlDepsInterface()->AuthSendKeepaliveOption(uuid, cycle); in AuthSendKeepaliveOption()
/ohos5.0/docs/zh-cn/application-dev/napi/
H A DReadme-CN.md31 - [使用Node-API进行environmental-life-cycle相关开发](use-napi-about-environmental-life-cycle.md)
33 - [使用Node-API进行life-cycle相关开发](use-napi-life-cycle.md)
78 - [使用JSVM-API接口进行生命周期相关开发](use-jsvm-life-cycle.md)
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/
H A Dauth_mock.cpp88 int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) in AuthSendKeepaliveOption() argument
90 return GetAuthInterface()->AuthSendKeepaliveOption(uuid, cycle); in AuthSendKeepaliveOption()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_quota_policy.cpp199 std::string cycle = quotapolicy.periodDuration.substr(0, 1); in GetPeriodStart() local
202 if (cycle == PERIOD_DAY) { in GetPeriodStart()
206 } else if (cycle == PERIOD_YEAR) { in GetPeriodStart()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c700 static int32_t GetTcpKeepaliveOptionByCycle(ModeCycle cycle, TcpKeepaliveOption *tcpKeepaliveOption) in GetTcpKeepaliveOptionByCycle() argument
706 switch (cycle) { in GetTcpKeepaliveOptionByCycle()
724 AUTH_LOGE(AUTH_CONN, "no match cycle, cycle=%{public}d", cycle); in GetTcpKeepaliveOptionByCycle()
727 tcpKeepaliveOption->keepaliveIdle = (int32_t)cycle; in GetTcpKeepaliveOptionByCycle()
732 int32_t AuthSetTcpKeepaliveOption(int32_t fd, ModeCycle cycle) in AuthSetTcpKeepaliveOption() argument
734 if (fd <= 0 || cycle < HIGH_FREQ_CYCLE || cycle > DEFAULT_FREQ_CYCLE) { in AuthSetTcpKeepaliveOption()
740 if (GetTcpKeepaliveOptionByCycle(cycle, &tcpKeepaliveOption) != SOFTBUS_OK) { in AuthSetTcpKeepaliveOption()
H A Dauth_session_message.c382 static char *PackKeepaliveMessage(const char *uuid, ModeCycle cycle) in PackKeepaliveMessage() argument
390 !JSON_AddInt32ToObject(obj, TIME, cycle)) { in PackKeepaliveMessage()
437 if (JSON_GetInt32FromOject(json, TIME, (int32_t *)&messageParse->cycle)) { in IsDeviceMessagePacket()
438 … AUTH_LOGI(AUTH_FSM, "parse keepalive cycle success, cycle=%{public}d", messageParse->cycle); in IsDeviceMessagePacket()
550 msg = PackKeepaliveMessage(auth->uuid, messageParse->cycle); in PostDeviceMessage()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_strategy.c104 dumpCount, info->callerId, info->mode.cycle, info->mode.duration, info->mode.wakeupFlag, in DumpGearModeSettingList()
135 if (mode->cycle != 0 && mode->cycle < info->mode.cycle) { in GetGearModeFromSettingList()
138 if (mode->cycle == info->mode.cycle && !info->mode.wakeupFlag) { in GetGearModeFromSettingList()
153 tmpCallerId, mode->cycle, mode->duration, mode->wakeupFlag); in GetGearModeFromSettingList()
641 uint64_t delayMillis = (uint64_t)mode.cycle * HB_TIME_FACTOR; in AdjustablePeriodSendStrategy()
654 .cycle = LOW_FREQ_CYCLE, in RegistParamMgrBySpecificType()
892 uint64_t delayMillis = (uint64_t)mode.cycle * HB_TIME_FACTOR + HB_NOTIFY_DEV_LOST_DELAY_LEN; in LnnStartOfflineTimingStrategy()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_traffic.cpp440 std::string cycle = periodDuration.substr(0, 1); in IsValidPeriodDuration() local
444 if (cycle == PERIOD_DAY) { in IsValidPeriodDuration()
450 if (cycle == PERIOD_MONTH) { in IsValidPeriodDuration()
456 if (cycle == PERIOD_YEAR) { in IsValidPeriodDuration()
462 cycle.c_str()); in IsValidPeriodDuration()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h93 void RequestRepeatCycle(uint32_t timeInterval, int32_t cycle);
106 void RequestBaseTimeAndCycle(time_t baseTime, int32_t cycle);
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-perf.md77 …YCLE | Time-consuming&nbsp;Calc&nbsp;Methods-&gt;By&nbsp;Cpu&nbsp;Cycle | Perf计时单位为cycle | YES/NO |
88 3种事件类型:CPU硬件事件(cycle、branch、icache、dcache等)、高精度周期事件(cpu clock)、OS软件事件(task switch、mux pend、irq等)。
176 .predivided = 1, /* cycle counter increase every 64 cycles */
H A Dkernel-small-basic-time.md35 | 时间统计 | LOS_TickCountGet:获取当前Tick数<br/>LOS_CyclePerTickGet:每个Tick的cycle数 |
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/
H A Dpeak_finder.h96 DownwardTrendInfo(bool isDecay, double drop, double cycle) in DownwardTrendInfo()
100 ducyCycle = cycle; in DownwardTrendInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/demo/bus_center/
H A Dshift_lnn_gear_demo.c35 .cycle = MID_FREQ_CYCLE, in main()
/ohos5.0/base/update/packaging_tools/
H A Dgigraph_process.py181 self.cycle = DirectedCycle(graph)
182 if not self.cycle.has_cycle:
H A Dblocks_manager.py180 heapq.merge(zip(self.range_data, itertools.cycle((-5, +5))),
181 zip(other.range_data, itertools.cycle((-1, +1)))):
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-locale-culture.md22 … user, including the calendar, string collation, numeral system, and hour cycle. The value starts …
30 | hc | Hour cycle used by the user. For example, **h11** indicates the hour cycle from 0 to 11.|
/ohos5.0/foundation/ability/ability_lite/interfaces/kits/ability_lite/
H A DREADME.md2 …can interactive with AMS `Ability Manager Service`. In addition, the life cycle of these applicati…
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_tcp_connection.h61 int32_t AuthSetTcpKeepaliveOption(int32_t fd, ModeCycle cycle);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/
H A Dhb_ctrl_deps_mock.h42 virtual int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) = 0;
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/
H A Dhb_strategy_test.cpp302 .cycle = MID_FREQ_CYCLE,
342 .cycle = MID_FREQ_CYCLE,
386 .cycle = MID_FREQ_CYCLE,
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng.h73 static void CreateCycleDirtyNode(int cycle, bool& flagUpdate);

1234