Fix some spelling issues (#3385)
Fix some of the spelling issues found by CSpell.
This commit is contained in:
@ -428,7 +428,7 @@ wasm_runtime_register_module(const char *module_name, wasm_module_t module,
|
||||
|
||||
/**
|
||||
* Check if there is already a loaded module named module_name in the
|
||||
* runtime. Repeately loading a module with the same name is not allowed.
|
||||
* runtime. Repeatedly loading a module with the same name is not allowed.
|
||||
*
|
||||
* @param module_name indicate a name
|
||||
*
|
||||
@ -451,7 +451,7 @@ wasm_runtime_find_module_registered(const char *module_name);
|
||||
* @param buf the byte buffer which contains the WASM/AOT binary data,
|
||||
* note that the byte buffer must be writable since runtime may
|
||||
* change its content for footprint and performance purpose, and
|
||||
* it must be referencable until wasm_runtime_unload is called
|
||||
* it must be referenceable until wasm_runtime_unload is called
|
||||
* @param size the size of the buffer
|
||||
* @param error_buf output of the exception info
|
||||
* @param error_buf_size the size of the exception string
|
||||
@ -921,7 +921,7 @@ wasm_runtime_call_wasm_v(wasm_exec_env_t exec_env,
|
||||
* @param exec_env the execution environment to call the function
|
||||
* which must be created from wasm_create_exec_env()
|
||||
* @param element_index the function reference index, usually
|
||||
* prvovided by the caller of a registed native function
|
||||
* provided by the caller of a registered native function
|
||||
* @param argc the number of arguments
|
||||
* @param argv the arguments. If the function method has return value,
|
||||
* the first (or first two in case 64-bit return value) element of
|
||||
@ -1169,7 +1169,7 @@ wasm_runtime_validate_native_addr(wasm_module_inst_t module_inst,
|
||||
* stable.)
|
||||
*
|
||||
* @param module_inst the WASM module instance
|
||||
* @param app_offset the app adress
|
||||
* @param app_offset the app address
|
||||
*
|
||||
* @return the native address converted
|
||||
*/
|
||||
@ -1439,7 +1439,7 @@ WASM_RUNTIME_API_EXTERN double
|
||||
wasm_runtime_sum_wasm_exec_time(wasm_module_inst_t module_inst);
|
||||
|
||||
/**
|
||||
* Return execution time in ms of a given wasm funciton with
|
||||
* Return execution time in ms of a given wasm function with
|
||||
* func_name. If the function is not found, return 0.
|
||||
*
|
||||
* @param module_inst the WASM module instance to profile
|
||||
@ -1706,7 +1706,7 @@ wasm_runtime_set_enlarge_mem_error_callback(
|
||||
* to all threads in the cluster.
|
||||
* It's an undefined behavior if multiple threads in a cluster call
|
||||
* wasm_runtime_set_context_spread on the same key
|
||||
* simultaneously. It's a caller's resposibility to perform necessary
|
||||
* simultaneously. It's a caller's responsibility to perform necessary
|
||||
* serialization if necessary. For example:
|
||||
*
|
||||
* if (wasm_runtime_get_context(inst, key) == NULL) {
|
||||
@ -1726,7 +1726,7 @@ wasm_runtime_set_enlarge_mem_error_callback(
|
||||
*
|
||||
* Note: dynamic key create/destroy while instances are live is not
|
||||
* implemented as of writing this.
|
||||
* it's caller's resposibility to ensure destorying all module instances
|
||||
* it's caller's responsibility to ensure destroying all module instances
|
||||
* before calling wasm_runtime_create_context_key or
|
||||
* wasm_runtime_destroy_context_key.
|
||||
* otherwise, it's an undefined behavior.
|
||||
@ -1787,7 +1787,7 @@ wasm_runtime_get_context(wasm_module_inst_t inst, void *key);
|
||||
*
|
||||
* The actual wake up mechanism used by `os_wakeup_blocking_op` is
|
||||
* platform-dependent. It might impose some platform-dependent restrictions
|
||||
* on the implementation of the blocking opearation.
|
||||
* on the implementation of the blocking operation.
|
||||
*
|
||||
* For example, on POSIX-like platforms, a signal (by default SIGUSR1) is
|
||||
* used. The signal delivery configurations (eg. signal handler, signal mask,
|
||||
|
||||
Reference in New Issue
Block a user