gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

limits_windows_amd64.go (17041B)


      1 // Code generated by 'ccgo limits\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o limits\limits_windows_amd64.go -pkgname limits', DO NOT EDIT.
      2 
      3 package limits
      4 
      5 import (
      6 	"math"
      7 	"reflect"
      8 	"sync/atomic"
      9 	"unsafe"
     10 )
     11 
     12 var _ = math.Pi
     13 var _ reflect.Kind
     14 var _ atomic.Value
     15 var _ unsafe.Pointer
     16 
     17 const (
     18 	CHAR_BIT                                        = 8
     19 	CHAR_MAX                                        = 127
     20 	CHAR_MIN                                        = -128
     21 	DUMMYSTRUCTNAME                                 = 0
     22 	DUMMYSTRUCTNAME1                                = 0
     23 	DUMMYSTRUCTNAME2                                = 0
     24 	DUMMYSTRUCTNAME3                                = 0
     25 	DUMMYSTRUCTNAME4                                = 0
     26 	DUMMYSTRUCTNAME5                                = 0
     27 	DUMMYUNIONNAME                                  = 0
     28 	DUMMYUNIONNAME1                                 = 0
     29 	DUMMYUNIONNAME2                                 = 0
     30 	DUMMYUNIONNAME3                                 = 0
     31 	DUMMYUNIONNAME4                                 = 0
     32 	DUMMYUNIONNAME5                                 = 0
     33 	DUMMYUNIONNAME6                                 = 0
     34 	DUMMYUNIONNAME7                                 = 0
     35 	DUMMYUNIONNAME8                                 = 0
     36 	DUMMYUNIONNAME9                                 = 0
     37 	INT_MAX                                         = 2147483647
     38 	INT_MIN                                         = -2147483648
     39 	LLONG_MAX                                       = 9223372036854775807
     40 	LLONG_MIN                                       = -9223372036854775808
     41 	LONG_LONG_MAX                                   = 9223372036854775807
     42 	LONG_LONG_MIN                                   = -9223372036854775808
     43 	LONG_MAX                                        = 2147483647
     44 	LONG_MIN                                        = -2147483648
     45 	MB_LEN_MAX                                      = 5
     46 	MINGW_DDK_H                                     = 0
     47 	MINGW_DDRAW_VERSION                             = 7
     48 	MINGW_HAS_DDK_H                                 = 1
     49 	MINGW_HAS_DDRAW_H                               = 1
     50 	MINGW_HAS_SECURE_API                            = 1
     51 	MINGW_SDK_INIT                                  = 0
     52 	PATH_MAX                                        = 260
     53 	SCHAR_MAX                                       = 127
     54 	SCHAR_MIN                                       = -128
     55 	SHRT_MAX                                        = 32767
     56 	SHRT_MIN                                        = -32768
     57 	SIZE_MAX                                        = 18446744073709551615
     58 	SSIZE_MAX                                       = 9223372036854775807
     59 	UCHAR_MAX                                       = 255
     60 	UINT_MAX                                        = 4294967295
     61 	ULLONG_MAX                                      = 18446744073709551615
     62 	ULONG_LONG_MAX                                  = 18446744073709551615
     63 	ULONG_MAX                                       = 4294967295
     64 	UNALIGNED                                       = 0
     65 	USE___UUIDOF                                    = 0
     66 	USHRT_MAX                                       = 65535
     67 	WIN32                                           = 1
     68 	WIN64                                           = 1
     69 	WINNT                                           = 1
     70 	X_AGLOBAL                                       = 0
     71 	X_ANONYMOUS_STRUCT                              = 0
     72 	X_ANONYMOUS_UNION                               = 0
     73 	X_ARGMAX                                        = 100
     74 	X_CONST_RETURN                                  = 0
     75 	X_CRTNOALIAS                                    = 0
     76 	X_CRTRESTRICT                                   = 0
     77 	X_CRT_ALTERNATIVE_IMPORTED                      = 0
     78 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0
     79 	X_CRT_PACKING                                   = 8
     80 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0
     81 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0
     82 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0
     83 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0
     84 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
     85 	X_DLL                                           = 0
     86 	X_ERRCODE_DEFINED                               = 0
     87 	X_FILE_OFFSET_BITS                              = 64
     88 	X_GCC_LIMITS_H_                                 = 0
     89 	X_I16_MAX                                       = 32767
     90 	X_I16_MIN                                       = -32768
     91 	X_I32_MAX                                       = 2147483647
     92 	X_I32_MIN                                       = -2147483648
     93 	X_I64_MAX                                       = 9223372036854775807
     94 	X_I64_MIN                                       = -9223372036854775808
     95 	X_I8_MAX                                        = 127
     96 	X_I8_MIN                                        = -128
     97 	X_INC_CRTDEFS                                   = 0
     98 	X_INC_CRTDEFS_MACRO                             = 0
     99 	X_INC_LIMITS                                    = 0
    100 	X_INC_MINGW_SECAPI                              = 0
    101 	X_INC_VADEFS                                    = 0
    102 	X_INC__MINGW_H                                  = 0
    103 	X_INT128_DEFINED                                = 0
    104 	X_INTEGRAL_MAX_BITS                             = 64
    105 	X_INTPTR_T_DEFINED                              = 0
    106 	X_LIMITS_H___                                   = 0
    107 	X_MT                                            = 0
    108 	X_M_AMD64                                       = 100
    109 	X_M_X64                                         = 100
    110 	X_PGLOBAL                                       = 0
    111 	X_PTRDIFF_T_                                    = 0
    112 	X_PTRDIFF_T_DEFINED                             = 0
    113 	X_REENTRANT                                     = 1
    114 	X_RSIZE_T_DEFINED                               = 0
    115 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD
    116 	X_SIZE_T_DEFINED                                = 0
    117 	X_SSIZE_T_DEFINED                               = 0
    118 	X_TAGLC_ID_DEFINED                              = 0
    119 	X_THREADLOCALEINFO                              = 0
    120 	X_TIME32_T_DEFINED                              = 0
    121 	X_TIME64_T_DEFINED                              = 0
    122 	X_TIME_T_DEFINED                                = 0
    123 	X_UI16_MAX                                      = 0xffff
    124 	X_UI32_MAX                                      = 0xffffffff
    125 	X_UI64_MAX                                      = 0xffffffffffffffff
    126 	X_UI8_MAX                                       = 0xff
    127 	X_UINTPTR_T_DEFINED                             = 0
    128 	X_VA_LIST_DEFINED                               = 0
    129 	X_W64                                           = 0
    130 	X_WCHAR_T_DEFINED                               = 0
    131 	X_WCTYPE_T_DEFINED                              = 0
    132 	X_WIN32                                         = 1
    133 	X_WIN32_WINNT                                   = 0x502
    134 	X_WIN64                                         = 1
    135 	X_WINT_T                                        = 0
    136 )
    137 
    138 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    139 
    140 type Size_t = uint64 /* <builtin>:9:23 */
    141 
    142 type Wchar_t = uint16 /* <builtin>:15:24 */
    143 
    144 type X__int128_t = struct {
    145 	Flo int64
    146 	Fhi int64
    147 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    148 type X__uint128_t = struct {
    149 	Flo uint64
    150 	Fhi uint64
    151 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    152 
    153 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    154 type X__float128 = float64        /* <builtin>:47:21 */
    155 
    156 type Va_list = X__builtin_va_list /* <builtin>:50:27 */
    157 
    158 // Copyright (C) 1992-2018 Free Software Foundation, Inc.
    159 //
    160 // This file is part of GCC.
    161 //
    162 // GCC is free software; you can redistribute it and/or modify it under
    163 // the terms of the GNU General Public License as published by the Free
    164 // Software Foundation; either version 3, or (at your option) any later
    165 // version.
    166 //
    167 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    168 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    169 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    170 // for more details.
    171 //
    172 // Under Section 7 of GPL version 3, you are granted additional
    173 // permissions described in the GCC Runtime Library Exception, version
    174 // 3.1, as published by the Free Software Foundation.
    175 //
    176 // You should have received a copy of the GNU General Public License and
    177 // a copy of the GCC Runtime Library Exception along with this program;
    178 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    179 // <http://www.gnu.org/licenses/>.
    180 
    181 // This administrivia gets added to the beginning of limits.h
    182 //    if the system has its own version of limits.h.
    183 
    184 // We use _GCC_LIMITS_H_ because we want this not to match
    185 //    any macros that the system's limits.h uses for its own purposes.
    186 
    187 // Use "..." so that we find syslimits.h only in this same directory.
    188 // syslimits.h stands for the system's own limits.h file.
    189 //    If we can use it ok unmodified, then we install this text.
    190 //    If fixincludes fixes it, then the fixed version is installed
    191 //    instead of this text.
    192 
    193 // *
    194 // This file has no copyright assigned and is placed in the Public Domain.
    195 // This file is part of the mingw-w64 runtime package.
    196 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    197 // *
    198 // This file has no copyright assigned and is placed in the Public Domain.
    199 // This file is part of the mingw-w64 runtime package.
    200 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    201 
    202 // *
    203 // This file has no copyright assigned and is placed in the Public Domain.
    204 // This file is part of the mingw-w64 runtime package.
    205 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    206 
    207 // *
    208 // This file has no copyright assigned and is placed in the Public Domain.
    209 // This file is part of the mingw-w64 runtime package.
    210 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    211 
    212 // This macro holds an monotonic increasing value, which indicates
    213 //    a specific fix/patch is present on trunk.  This value isn't related to
    214 //    minor/major version-macros.  It is increased on demand, if a big
    215 //    fix was applied to trunk.  This macro gets just increased on trunk.  For
    216 //    other branches its value won't be modified.
    217 
    218 // mingw.org's version macros: these make gcc to define
    219 //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global
    220 //    and the __mingwthr_key_dtor() function from the MinGW
    221 //    CRT in its private gthr-win32.h header.
    222 
    223 // Set VC specific compiler target macros.
    224 
    225 // MS does not prefix symbols by underscores for 64-bit.
    226 // As we have to support older gcc version, which are using underscores
    227 //       as symbol prefix for x64, we have to check here for the user label
    228 //       prefix defined by gcc.
    229 
    230 // Special case nameless struct/union.
    231 
    232 // MinGW-w64 has some additional C99 printf/scanf feature support.
    233 //    So we add some helper macros to ease recognition of them.
    234 
    235 // *
    236 // This file has no copyright assigned and is placed in the Public Domain.
    237 // This file is part of the mingw-w64 runtime package.
    238 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    239 
    240 // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx
    241 // Templates won't work in C, will break if secure API is not enabled, disabled
    242 
    243 // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true
    244 // fallback on default implementation if we can't know the size of the destination
    245 
    246 // Include _cygwin.h if we're building a Cygwin application.
    247 
    248 // Target specific macro replacement for type "long".  In the Windows API,
    249 //    the type long is always 32 bit, even if the target is 64 bit (LLP64).
    250 //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right
    251 //    sized definitions and declarations, all usage of type long in the Windows
    252 //    headers have to be replaced by the below defined macro __LONG32.
    253 
    254 // C/C++ specific language defines.
    255 
    256 // Note the extern. This is needed to work around GCC's
    257 // limitations in handling dllimport attribute.
    258 
    259 // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's
    260 //    variadiac macro facility, because variadic macros cause syntax
    261 //    errors with  --traditional-cpp.
    262 
    263 //  High byte is the major version, low byte is the minor.
    264 
    265 // *
    266 // This file has no copyright assigned and is placed in the Public Domain.
    267 // This file is part of the mingw-w64 runtime package.
    268 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    269 
    270 // *
    271 // This file has no copyright assigned and is placed in the Public Domain.
    272 // This file is part of the mingw-w64 runtime package.
    273 // No warranty is given; refer to the file DISCLAIMER.PD within this package.
    274 
    275 type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */
    276 
    277 type Ssize_t = int64 /* crtdefs.h:45:35 */
    278 
    279 type Rsize_t = Size_t /* crtdefs.h:52:16 */
    280 
    281 type Intptr_t = int64 /* crtdefs.h:62:35 */
    282 
    283 type Uintptr_t = uint64 /* crtdefs.h:75:44 */
    284 
    285 type Wint_t = uint16   /* crtdefs.h:106:24 */
    286 type Wctype_t = uint16 /* crtdefs.h:107:24 */
    287 
    288 type Errno_t = int32 /* crtdefs.h:113:13 */
    289 
    290 type X__time32_t = int32 /* crtdefs.h:118:14 */
    291 
    292 type X__time64_t = int64 /* crtdefs.h:123:35 */
    293 
    294 type Time_t = X__time64_t /* crtdefs.h:138:20 */
    295 
    296 type Threadlocaleinfostruct = struct {
    297 	Frefcount      int32
    298 	Flc_codepage   uint32
    299 	Flc_collate_cp uint32
    300 	Flc_handle     [6]uint32
    301 	Flc_id         [6]LC_ID
    302 	Flc_category   [6]struct {
    303 		Flocale    uintptr
    304 		Fwlocale   uintptr
    305 		Frefcount  uintptr
    306 		Fwrefcount uintptr
    307 	}
    308 	Flc_clike            int32
    309 	Fmb_cur_max          int32
    310 	Flconv_intl_refcount uintptr
    311 	Flconv_num_refcount  uintptr
    312 	Flconv_mon_refcount  uintptr
    313 	Flconv               uintptr
    314 	Fctype1_refcount     uintptr
    315 	Fctype1              uintptr
    316 	Fpctype              uintptr
    317 	Fpclmap              uintptr
    318 	Fpcumap              uintptr
    319 	Flc_time_curr        uintptr
    320 } /* crtdefs.h:422:1 */
    321 
    322 type Pthreadlocinfo = uintptr /* crtdefs.h:424:39 */
    323 type Pthreadmbcinfo = uintptr /* crtdefs.h:425:36 */
    324 
    325 type Localeinfo_struct = struct {
    326 	Flocinfo Pthreadlocinfo
    327 	Fmbcinfo Pthreadmbcinfo
    328 } /* crtdefs.h:428:9 */
    329 
    330 type X_locale_tstruct = Localeinfo_struct /* crtdefs.h:431:3 */
    331 type X_locale_t = uintptr                 /* crtdefs.h:431:19 */
    332 
    333 type TagLC_ID = struct {
    334 	FwLanguage uint16
    335 	FwCountry  uint16
    336 	FwCodePage uint16
    337 } /* crtdefs.h:422:1 */
    338 
    339 type LC_ID = TagLC_ID  /* crtdefs.h:439:3 */
    340 type LPLC_ID = uintptr /* crtdefs.h:439:9 */
    341 
    342 type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
    343 
    344 // File system limits
    345 //
    346 // NOTE: Apparently the actual size of PATH_MAX is 260, but a space is
    347 //       required for the NUL. TODO: Test?
    348 // NOTE: PATH_MAX is the POSIX equivalent for Microsoft's MAX_PATH; the two
    349 //       are semantically identical, with a limit of 259 characters for the
    350 //       path name, plus one for a terminating NUL, for a total of 260.
    351 
    352 // Copyright (C) 1991-2018 Free Software Foundation, Inc.
    353 //
    354 // This file is part of GCC.
    355 //
    356 // GCC is free software; you can redistribute it and/or modify it under
    357 // the terms of the GNU General Public License as published by the Free
    358 // Software Foundation; either version 3, or (at your option) any later
    359 // version.
    360 //
    361 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
    362 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
    363 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    364 // for more details.
    365 //
    366 // Under Section 7 of GPL version 3, you are granted additional
    367 // permissions described in the GCC Runtime Library Exception, version
    368 // 3.1, as published by the Free Software Foundation.
    369 //
    370 // You should have received a copy of the GNU General Public License and
    371 // a copy of the GCC Runtime Library Exception along with this program;
    372 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    373 // <http://www.gnu.org/licenses/>.
    374 
    375 // Number of bits in a `char'.
    376 
    377 // Maximum length of a multibyte character.
    378 
    379 // Minimum and maximum values a `signed char' can hold.
    380 
    381 // Maximum value an `unsigned char' can hold.  (Minimum is 0).
    382 
    383 // Minimum and maximum values a `char' can hold.
    384 
    385 // Minimum and maximum values a `signed short int' can hold.
    386 
    387 // Maximum value an `unsigned short int' can hold.  (Minimum is 0).
    388 
    389 // Minimum and maximum values a `signed int' can hold.
    390 
    391 // Maximum value an `unsigned int' can hold.  (Minimum is 0).
    392 
    393 // Minimum and maximum values a `signed long int' can hold.
    394 //    (Same as `int').
    395 
    396 // Maximum value an `unsigned long int' can hold.  (Minimum is 0).
    397 
    398 // Minimum and maximum values a `signed long long int' can hold.
    399 
    400 // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
    401 
    402 // Minimum and maximum values a `signed long long int' can hold.
    403 
    404 // Maximum value an `unsigned long long int' can hold.  (Minimum is 0).
    405 
    406 // This administrivia gets added to the end of limits.h
    407 //    if the system has its own version of limits.h.
    408 
    409 var _ int8 /* gen.c:2:13: */