File: limits.h

package info (click to toggle)
msort 8.53-2.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,360 kB
  • sloc: sh: 10,138; ansic: 10,031; makefile: 51
file content (33 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

/*
 * This first section contains constants which can be changed at will.
 */

/* Default initial maximum records to sort */
#define DEFMAXRECORDS	10240

/* Initial size of input text buffer */
#define INPUTTEXTSIZEINIT 8192

/* Initial maximum fields in a record */
#define DEFMAXFIELDS 32

/* Maximum length of numeric string */
#define MAXDOUBLELEN 256


/* The following can't be changed freely since they reflect the Unicode standard */
#define MAXUNICODE 0x1FFFFF
#define MAXBMP     0x00FFFF

#define NPU_FIRSTMULTIGRAPHCODE 0xD800
#define NPU_MAXMULTIGRAPHCODE 0xDFFF
#define NPU_MAXMULTIGRAPHS (NPU_MAXMULTIGRAPHCODE - NPU_FIRSTMULTIGRAPHCODE + 1)

#define BMP_FIRSTMULTIGRAPHCODE 0xE000
#define BMP_MAXMULTIGRAPHCODE 0xF8FF
#define BMP_MAXMULTIGRAPHS (BMP_MAXMULTIGRAPHCODE - BMP_FIRSTMULTIGRAPHCODE + 1)

#define FUL_FIRSTMULTIGRAPHCODE 0xF0000
#define FUL_MAXMULTIGRAPHCODE 0x10FFFD
#define FUL_MAXMULTIGRAPHS (FUL_MAXMULTIGRAPHCODE - FUL_FIRSTMULTIGRAPHCODE + 1)