You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create commands.json from files in valkey/src/commands (#59)
* Create commands.json from files in valkey/src/commands
- These files are most up to date and are designed to be built off. The file we were using is really for updating the website.
- I wrote a small jq script to get the commands in a format we can use.
- The format is still slightly different so had to fixup some code in the renderer
- These are built from the 8.0.3 tagged build.
* Basic ReplySchema decoding
* Don't use reply file at all
* Cleanup comment output
* Int arrays
/// - Complexity: O(1) for each subcommand specified
479
-
/// - Categories: @read, @bitmap, @fast
480
-
/// - Returns: [Array](https:/valkey.io/topics/protocol/#arrays): each entry being the corresponding result of the sub-command given at the same position.
495
+
/// - Returns: [Array]: The result of the subcommand at the same position
/// - Returns: [Integer](https:/valkey.io/topics/protocol/#integers): the size of the string stored in the destination key is equal to the size of the longest input string.
506
+
/// - Returns: [Integer]: The size of the string stored in the destination key, that is equal to the size of the longest input string.
/// * [Integer](https:/valkey.io/topics/protocol/#integers): the position of the first bit set to 1 or 0 according to the request
506
-
/// * [Integer](https:/valkey.io/topics/protocol/#integers): `-1`. In case the `bit` argument is 1 and the string is empty or composed of just zero bytes
507
-
///
508
-
/// If we look for set bits (the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned.
509
-
///
510
-
/// If we look for clear bits (the bit argument is 0) and the string only contains bits set to 1, the function returns the first bit not part of the string on the right. So if the string is three bytes set to the value `0xff` the command `BITPOS key 0` will return 24, since up to bit 23 all the bits are 1.
511
-
///
512
-
/// The function considers the right of the string as padded with zeros if you look for clear bits and specify no range or the _start_ argument **only**.
513
-
///
514
-
/// However, this behavior changes if you are looking for clear bits and specify a range with both _start_ and _end_.
515
-
/// If a clear bit isn't found in the specified range, the function returns -1 as the user specified a clear range and there are no 0 bits in that range.
517
+
/// - Returns: One of the following
518
+
/// * [Integer]: The position of the first bit set to 1 or 0 according to the request.
519
+
/// * -1: In case the `bit` argument is 1 and the string is empty or composed of just zero bytes.
0 commit comments