This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80: car.SerialNumber = 1234; | |
mov edx,dword ptr [esi+8] | |
mov ecx,dword ptr [esi+18h] | |
mov eax,dword ptr [edx+8] | |
mov dword ptr [eax+ecx],4D2h | |
81: car.ModelYear = 2013; | |
mov edx,dword ptr [esi+8] | |
mov ecx,dword ptr [esi+18h] | |
add ecx,4 | |
mov eax,dword ptr [edx+8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static int Encode(Car car, DirectBuffer directBuffer, int bufferOffset) | |
{ | |
... | |
car.SerialNumber = 1234; | |
car.ModelYear = 2013; | |
car.Available = BooleanType.TRUE; | |
car.Code = Model.A; | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80: car.SerialNumber = 1234; | |
mov rax,qword ptr [rbp+100h] | |
cmp byte ptr [rax],0 | |
mov rcx,qword ptr [rbp+100h] | |
mov edx,4D2h | |
call 000007FE8C96CB40 // function call | |
nop | |
81: car.ModelYear = 2013; | |
mov rax,qword ptr [rbp+100h] | |
cmp byte ptr [rax],0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80: car.SerialNumber = 1234; | |
mov edx,dword ptr [esi+8] | |
mov ecx,dword ptr [esi+18h] | |
mov eax,dword ptr [edx+8] | |
mov dword ptr [eax+ecx],4D2h | |
81: car.ModelYear = 2013; | |
mov edx,dword ptr [esi+8] | |
mov ecx,dword ptr [esi+18h] | |
add ecx,4 | |
mov eax,dword ptr [edx+8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
order.orderId(72); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbe_uint32_t serialNumber(void) const | |
{ | |
return SBE_LITTLE_ENDIAN_ENCODE_32(*((sbe_uint32_t *)(buffer_ + offset_ + 0))); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int getInt(final int index, final ByteOrder byteOrder) | |
{ | |
int bits = UNSAFE.getInt(byteArray, baseOffset + index); | |
if (NATIVE_BYTE_ORDER != byteOrder) | |
{ | |
bits = Integer.reverseBytes(bits); | |
} | |
return bits; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public unsafe int Int32GetLittleEndian(int index) | |
{ | |
return *(int*)(_pBuffer + index); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum RfqState | |
{ | |
Input, | |
Requesting, | |
Cancelling, | |
Cancelled, | |
Quoted, | |
Executing, | |
Error, | |
Done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum RfqEvent | |
{ | |
UserRequests, | |
UserCancels, | |
UserExecutes, | |
ServerNewQuote, | |
ServerQuoteError, | |
ServerQuoteStreamComplete, | |
ServerSendsExecutionReport, |
OlderNewer