Welcome! Log In Create A New Profile

Advanced

[njs] Style in nxt_unicode_upper_case.pl and nxt_unicode_upper_case.h.

Valentin Bartenev
July 26, 2019 09:00PM
details: https://hg.nginx.org/njs/rev/0af076f81e2b
branches:
changeset: 1071:0af076f81e2b
user: Valentin Bartenev <vbart@nginx.com>
date: Sat Jul 27 03:51:48 2019 +0300
description:
Style in nxt_unicode_upper_case.pl and nxt_unicode_upper_case.h.

diffstat:

nxt/nxt_unicode_upper_case.h | 4 ++--
nxt/nxt_unicode_upper_case.pl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 6aa2e67eaafc -r 0af076f81e2b nxt/nxt_unicode_upper_case.h
--- a/nxt/nxt_unicode_upper_case.h Fri Jul 26 20:37:13 2019 +0300
+++ b/nxt/nxt_unicode_upper_case.h Sat Jul 27 03:51:48 2019 +0300
@@ -4,9 +4,9 @@
* 16496 bytes on 32-bit platforms, 18576 bytes on 64-bit platforms.
*/

-#define NXT_UNICODE_MAX_UPPER_CASE 0x1044f
+#define NXT_UNICODE_MAX_UPPER_CASE 0x1044f

-#define NXT_UNICODE_BLOCK_SIZE 128
+#define NXT_UNICODE_BLOCK_SIZE 128


static const uint32_t nxt_unicode_upper_case_block_000[128]
diff -r 6aa2e67eaafc -r 0af076f81e2b nxt/nxt_unicode_upper_case.pl
--- a/nxt/nxt_unicode_upper_case.pl Fri Jul 26 20:37:13 2019 +0300
+++ b/nxt/nxt_unicode_upper_case.pl Sat Jul 27 03:51:48 2019 +0300
@@ -48,8 +48,8 @@ printf("\n/*\n" .
($blocks - 1) * BLOCK_SIZE * 4 + $last_block_size + $max_block * 4,
($blocks - 1) * BLOCK_SIZE * 4 + $last_block_size + $max_block * 8);

-printf("#define NXT_UNICODE_MAX_UPPER_CASE 0x%05x\n\n", $max_upper_case);
-printf("#define NXT_UNICODE_BLOCK_SIZE %d\n\n\n", BLOCK_SIZE);
+printf("#define NXT_UNICODE_MAX_UPPER_CASE 0x%05x\n\n", $max_upper_case);
+printf("#define NXT_UNICODE_BLOCK_SIZE %d\n\n\n", BLOCK_SIZE);


for my $block (sort { $a <=> $b } keys %blocks) {
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style in nxt_unicode_upper_case.pl and nxt_unicode_upper_case.h.

Valentin Bartenev 397 July 26, 2019 09:00PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready