mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 14:39:10 +00:00
WIP: Correct all typos (#498)
This commit is contained in:
parent
98254a7c1f
commit
ed205e98a1
79 changed files with 162 additions and 162 deletions
|
@ -863,7 +863,7 @@ FUNCTIONS
|
|||
|
||||
Integer literals are encoded as decimal. However if the int64
|
||||
number is ≥256 and has a population count of 1 then we switch
|
||||
to representating the number in hexadecimal, for readability.
|
||||
to representing the number in hexadecimal, for readability.
|
||||
Hex numbers have leading zeroes added in order to visualize
|
||||
whether the number fits in a uint16, uint32, or int64. Also
|
||||
some numbers can only be encoded expressionally. For example,
|
||||
|
|
|
@ -52,7 +52,7 @@ and later.
|
|||
Note: this document is also valid for the
|
||||
[lua-argon2-ffi](https://github.com/thibaultcha/lua-argon2-ffi) module: an FFI
|
||||
implementation of this binding for LuaJIT which uses the same API as this
|
||||
original implementaiton.
|
||||
original implementation.
|
||||
|
||||
@module argon2
|
||||
@author Thibault Charbonnier
|
||||
|
@ -76,7 +76,7 @@ for a description of those variants.
|
|||
/***
|
||||
Argon2 hashing options. Those options can be given to `hash_encoded` as a table.
|
||||
If values are omitted, the default values of this module will be used.
|
||||
Default values of this module can be overriden with `m_cost()`, `t_cost()`,
|
||||
Default values of this module can be overridden with `m_cost()`, `t_cost()`,
|
||||
`parallelism()`, `hash_len()`, and `variant()`.
|
||||
@field t_cost Number of iterations (`number`, default: `3`).
|
||||
argon2.hash_encoded("password", "salt", { t_cost = 4 })
|
||||
|
|
|
@ -1023,7 +1023,7 @@ static void db_sql_finalize_function(sqlite3_context *context) {
|
|||
/*
|
||||
** Register a normal function
|
||||
** Params: db, function name, number arguments, [ callback | step, finalize], user data
|
||||
** Returns: true on sucess
|
||||
** Returns: true on success
|
||||
**
|
||||
** Normal function:
|
||||
** Params: context, params
|
||||
|
@ -1336,7 +1336,7 @@ static int db_rollback_hook(lua_State *L) {
|
|||
**
|
||||
** callback function:
|
||||
** Params: userdata, number of tries
|
||||
** returns: 0 to return immediatly and return SQLITE_BUSY, non-zero to try again
|
||||
** returns: 0 to return immediately and return SQLITE_BUSY, non-zero to try again
|
||||
*/
|
||||
static int db_busy_callback(void *user, int tries) {
|
||||
int retry = 0; /* abort by default */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue