Home
last modified time | relevance | path

Searched refs:bo (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c287 static void backoff_context_init(struct backoff_context *bo) in backoff_context_init() argument
289 __ASSERT_NO_MSG(bo != NULL); in backoff_context_init()
291 bo->retries_count = 0u; in backoff_context_init()
292 bo->max_retries = MAX_RETRIES; in backoff_context_init()
295 bo->attempt_max_backoff = BACKOFF_EXP_BASE_MS; in backoff_context_init()
296 bo->max_backoff = BACKOFF_EXP_MAX_MS; in backoff_context_init()
301 static void backoff_get_next(struct backoff_context *bo, uint32_t *next_backoff_ms) in backoff_get_next() argument
303 __ASSERT_NO_MSG(bo != NULL); in backoff_get_next()
307 if (bo->retries_count <= bo->max_retries) { in backoff_get_next()
308 *next_backoff_ms = sys_rand32_get() % (bo->attempt_max_backoff + 1u); in backoff_get_next()
[all …]
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb3133 "plt.plot(x_test, y_test, 'bo', label='Actual values')\n",