endianness
Compile PostgreSQL with reverse endianness
My old iMac G5 died recently. I had a PostgreSQL instance running there, and I kept backups. But when I went to restore them in my newer Macbook Pro, I realized that I couldn\'t do the restore due to[详细]
2023-01-18 11:56 分类:问答Oracle RMAN big-endian to little-endian
I have an Oracle RMAN backup that was created on a Solaris SPARC box and is therefore in big-endian format. I wish to restore this backup to a Windows x86-64 based machine but have hit a roadblock due[详细]
2023-01-18 08:52 分类:问答Can one assign 4 little-endian-ordered bytes of an unsigned integer to a Java primitive using just bitwise operators?
I want to read 4 bytes which are a little-endian encoding of an unsigned 32-bit integer, and assign the value to a Java int[详细]
2023-01-18 01:36 分类:问答Signed right shift = strange result?
I was helping someone with their homework and ran into this strange issue. The problem is to write a function that reverses the order of bytes of a signed integer(That\'s how the function was specifie[详细]
2023-01-17 05:00 分类:问答Problems with byte-reversing an integer
Godday all. Could someone please explain the logical difference in these two implementations of a byte-reversing f开发者_JAVA技巧unction.[详细]
2023-01-16 14:27 分类:问答Big->little (little->big) endian conversion of std::vector of structs
How can I perform endian conversion on vector of structs? For example: struct TestStruct { int nSomeNumber;[详细]
2023-01-14 19:20 分类:问答why my value are divided by 2 with bit fields
I got some trouble with bitfields and endian stuff... I confused. I need to parse some data got from the network, the sent are in lil endian (im using boost::asio)[详细]
2023-01-14 03:36 分类:问答Identifying endian related problems
I recently learned about endianness and am still having difficulty identifying problem areas. Here is a snipp开发者_如何学JAVAet of code that uses data loaded from a binary file (a Dxt texture). I am[详细]
2023-01-12 22:44 分类:问答Any static analysis tools that help detect CPU endian issues?
Our team has managed a code base on an embedded big endian CPU for many years (10+). We have generally not bothered to consider endian issues during this development and maintenance of this embedded c[详细]
2023-01-10 08:42 分类:问答Python method for storing list of bytes in network (big-endian) byte order to file (little-endian)
My present task is to dissect tcpdump data that includes P2P messages and I am having trouble with the piece data I acquire and write to a file on my x86 machine. My suspicion is I have a simple endia[详细]
2023-01-10 00:05 分类:问答