/dports/lang/ruby26/ruby-2.6.9/test/-ext-/bignum/ |
H A D | test_pack.rb | 17 BIG_ENDIAN = Integer::INTEGER_PACK_BIG_ENDIAN constant in Test_Bignum.TestPack 22 assert_equal([0, ""], 0.test_pack(0, 1, 0, BIG_ENDIAN)) 36 assert_equal([1, "\x01"], 1.test_pack(1, 1, 0, BIG_ENDIAN)) 37 assert_equal([1, "\x00\x01"], 1.test_pack(1, 2, 0, BIG_ENDIAN)) 38 assert_equal([1, "\x00\x00\x01"], 1.test_pack(1, 3, 0, BIG_ENDIAN)) 45 assert_equal([0, "\x00\x00"], 0.test_pack(2, 1, 0, BIG_ENDIAN)) 46 assert_equal([1, "\x00\x01"], 0x01.test_pack(2, 1, 0, BIG_ENDIAN)) 124 assert_equal([-1, "\x01"], (-1).test_pack(1, 1, 0, BIG_ENDIAN)) 148 assert_equal([0, ""], 0.test_pack(0, 1, 0, TWOCOMP|BIG_ENDIAN)) 243 assert_equal(0, Integer.test_unpack("", 0, 1, 0, BIG_ENDIAN)) [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 45 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 45 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | JdkInternalMiscUnsafeUnalignedAccess.java | 44 private static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN); field in JdkInternalMiscUnsafeUnalignedAccess 159 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 173 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 189 if (lres != (BIG_ENDIAN ? (long)0x11223344 : (long)0x77001122)) { in main() 203 if (lres != (BIG_ENDIAN ? (long)0x23456789 : (long)0xef012345)) { in main() 254 putInt_1(BIG_ENDIAN ? 0x11223344 : 0x77001122); in main() 256 if (res != (BIG_ENDIAN ? 0x11223344 : 0x77001122)) { in main() 270 putInt_17(BIG_ENDIAN ? 0x23456789 : 0xef012345); in main() 272 if (res != (BIG_ENDIAN ? 0x23456789 : 0xef012345)) { in main() 280 putLong_0(BIG_ENDIAN ? 0x0011223344556677L : 0x4455667700112233L); in main() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/libs/timidity/ |
H A D | timi_endian.h | 77 #if defined(__BIG_ENDIAN) && !defined(BIG_ENDIAN) 78 #define BIG_ENDIAN __BIG_ENDIAN macro 89 #define BIG_ENDIAN __ORDER_BIG_ENDIAN__ macro 112 # undef BIG_ENDIAN 114 # define BIG_ENDIAN 4321 macro 125 # define BYTE_ORDER BIG_ENDIAN 129 # define BYTE_ORDER BIG_ENDIAN 156 # define BYTE_ORDER BIG_ENDIAN 160 # define BYTE_ORDER BIG_ENDIAN /* PARISC */ 185 # define BYTE_ORDER BIG_ENDIAN [all …]
|
/dports/sysutils/dateutils/dateutils-0.4.1/lib/ |
H A D | boops.h | 89 #if !defined BIG_ENDIAN 97 # define BIG_ENDIAN 0 macro 103 #elif BYTE_ORDER == BIG_ENDIAN 110 # define BYTE_ORDER BIG_ENDIAN 139 # elif BYTE_ORDER == BIG_ENDIAN 157 # if BYTE_ORDER == BIG_ENDIAN 165 # if BYTE_ORDER == BIG_ENDIAN 220 # if BYTE_ORDER == BIG_ENDIAN 228 # if BYTE_ORDER == BIG_ENDIAN 285 # if BYTE_ORDER == BIG_ENDIAN [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/common/ |
H A D | q_endian.h | 76 #define BIG_ENDIAN __BIG_ENDIAN macro 87 #define BIG_ENDIAN __ORDER_BIG_ENDIAN__ macro 110 # undef BIG_ENDIAN 112 # define BIG_ENDIAN 4321 macro 123 # define BYTE_ORDER BIG_ENDIAN 127 # define BYTE_ORDER BIG_ENDIAN 154 # define BYTE_ORDER BIG_ENDIAN 158 # define BYTE_ORDER BIG_ENDIAN /* PARISC */ 183 # define BYTE_ORDER BIG_ENDIAN 189 # define BYTE_ORDER BIG_ENDIAN [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Dependencies/unrarsrc-5.2.5/unrar/ |
H A D | os.hpp | 189 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 190 #define BIG_ENDIAN macro 195 #undef BIG_ENDIAN 200 #ifndef BIG_ENDIAN 201 #define BIG_ENDIAN macro 219 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 220 #define BIG_ENDIAN macro 223 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 229 #define BIG_ENDIAN macro 235 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/archivers/unrar/unrar/ |
H A D | os.hpp | 203 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 204 #define BIG_ENDIAN macro 209 #undef BIG_ENDIAN 214 #ifndef BIG_ENDIAN 215 #define BIG_ENDIAN macro 242 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 243 #define BIG_ENDIAN macro 246 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 252 #define BIG_ENDIAN macro 258 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/archivers/unrar-iconv/unrar/ |
H A D | os.hpp | 207 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 208 #define BIG_ENDIAN macro 213 #undef BIG_ENDIAN 218 #ifndef BIG_ENDIAN 219 #define BIG_ENDIAN macro 246 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 247 #define BIG_ENDIAN macro 250 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 256 #define BIG_ENDIAN macro 262 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/archivers/libunrar6/unrar/ |
H A D | os.hpp | 203 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 204 #define BIG_ENDIAN macro 209 #undef BIG_ENDIAN 214 #ifndef BIG_ENDIAN 215 #define BIG_ENDIAN macro 242 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 243 #define BIG_ENDIAN macro 246 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 252 #define BIG_ENDIAN macro 258 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamunrar/ |
H A D | os.hpp | 199 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 200 #define BIG_ENDIAN macro 205 #undef BIG_ENDIAN 210 #ifndef BIG_ENDIAN 211 #define BIG_ENDIAN macro 238 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 239 #define BIG_ENDIAN macro 242 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 248 #define BIG_ENDIAN macro 254 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/security/clamav/clamav-0.104.2/libclamunrar/ |
H A D | os.hpp | 199 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 200 #define BIG_ENDIAN macro 205 #undef BIG_ENDIAN 210 #ifndef BIG_ENDIAN 211 #define BIG_ENDIAN macro 238 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 239 #define BIG_ENDIAN macro 242 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 248 #define BIG_ENDIAN macro 254 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/security/hashcat/hashcat-6.2.5/deps/unrar/ |
H A D | os.hpp | 199 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 200 #define BIG_ENDIAN macro 205 #undef BIG_ENDIAN 210 #ifndef BIG_ENDIAN 211 #define BIG_ENDIAN macro 238 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 239 #define BIG_ENDIAN macro 242 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 248 #define BIG_ENDIAN macro 254 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/archivers/pecl-rar/rar-4.2.0/unrar/ |
H A D | os.hpp | 202 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 203 #define BIG_ENDIAN macro 208 #undef BIG_ENDIAN 213 #ifndef BIG_ENDIAN 214 #define BIG_ENDIAN macro 241 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 242 #define BIG_ENDIAN macro 245 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 251 #define BIG_ENDIAN macro 257 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/unrar/src/ |
H A D | os.hpp | 206 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 207 #define BIG_ENDIAN macro 212 #undef BIG_ENDIAN 217 #ifndef BIG_ENDIAN 218 #define BIG_ENDIAN macro 245 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 246 #define BIG_ENDIAN macro 249 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 255 #define BIG_ENDIAN macro 261 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/unrar/src/ |
H A D | os.hpp | 206 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 207 #define BIG_ENDIAN macro 212 #undef BIG_ENDIAN 217 #ifndef BIG_ENDIAN 218 #define BIG_ENDIAN macro 245 #if defined(_BIG_ENDIAN) && !defined(BIG_ENDIAN) 246 #define BIG_ENDIAN macro 249 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 255 #define BIG_ENDIAN macro 261 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) [all …]
|
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/rar/ |
H A D | os.hpp | 222 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 223 #define BIG_ENDIAN macro 228 #undef BIG_ENDIAN 233 #ifndef BIG_ENDIAN 234 #define BIG_ENDIAN macro 247 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 252 #elif defined(BYTE_ORDER) && defined(BIG_ENDIAN) && BYTE_ORDER == BIG_ENDIAN 253 #define BIG_ENDIAN macro 260 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) 261 #if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN [all …]
|
/dports/security/tthsum/tthsum/ |
H A D | endian.h | 30 # ifndef BIG_ENDIAN 31 # define BIG_ENDIAN __BIG_ENDIAN macro 43 # define BIG_ENDIAN _BIG_ENDIAN macro 47 #if LITTLE_ENDIAN == BIG_ENDIAN \ 48 || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN) \ 49 || !defined(BIG_ENDIAN) || !defined(LITTLE_ENDIAN) 51 # undef BIG_ENDIAN 53 # define BIG_ENDIAN 4321 macro 59 # define BYTE_ORDER BIG_ENDIAN
|
/dports/archivers/libunrar/unrar/ |
H A D | os.hpp | 208 #if defined(__BIG_ENDIAN__) && !defined(BIG_ENDIAN) 209 #define BIG_ENDIAN macro 214 #undef BIG_ENDIAN 219 #ifndef BIG_ENDIAN 220 #define BIG_ENDIAN macro 230 #if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN) 235 #elif defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN 236 #define BIG_ENDIAN macro 242 #if defined(LITTLE_ENDIAN) && defined(BIG_ENDIAN) 243 #if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN [all …]
|