¡@

Home 

c++ Programming Glossary: je

Is < faster than <=? [closed]

http://stackoverflow.com/questions/12135518/is-faster-than

st 0 seta al Set al if above CF 0 and ZF 0 . test al al je .L2 Do something 1 .L2 fld QWORD PTR esp 32 fld QWORD PTR esp.. st 0 setae al Set al if above or equal CF 0 . test al al je .L5 Do something 2 .L5 leave ret share improve this answer..

C++11: GCC 4.8 `thread_local` Performance Penalty?

http://stackoverflow.com/questions/13106049/c11-gcc-4-8-thread-local-performance-penalty

00 mov eax 0x0 4005e8 48 85 c0 test rax rax 4005eb 74 05 je 4005f2 _ZTW3tls 0x13 4005ed e8 0e fa bf ff call 0 tls initialize..

What is exactly the base pointer and stack pointer? To what do they point?

http://stackoverflow.com/questions/1395591/what-is-exactly-the-base-pointer-and-stack-pointer-to-what-do-they-point

Unusual heap size limitations in VS2003 C++

http://stackoverflow.com/questions/2469738/unusual-heap-size-limitations-in-vs2003-c

mem NULL TRACE allocation failed If I create a new MFC project include this function and run it from InitInstance it works.. 0040B130 cmp dword ptr ___active_heap 434660h 1 0040B137 je L19917 1Bh 40B13Fh 0040B139 add esi 0Fh 0040B13C and esi 0FFFFFFF0h.. Andreas' post. Changing to a new seperate heap for large objects using HeapCreate HeapAlloc did not help alleviate the problem..

How do exceptions work (behind the scenes) in c++

http://stackoverflow.com/questions/307610/how-do-exceptions-work-behind-the-scenes-in-c

20 esp popl ebx popl ebp ret .L12 subl 1 edx movl eax ebx je .L16 .L14 movl ebx esp call _Unwind_Resume .LEHE2 .L16 .L6 movl.. comdat .align 4 .type _ZTI11MyException @object .size _ZTI11MyException 8 _ZTI11MyException .long _ZTVN10__cxxabiv117__class_type_infoE.. _ZTS11MyException comdat .type _ZTS11MyException @object .size _ZTS11MyException 14 _ZTS11MyException .string 11MyException..

How to obtain a pointer out of a C++ vtable?

http://stackoverflow.com/questions/5099967/how-to-obtain-a-pointer-out-of-a-c-vtable

rsi 9 48 89 54 24 f0 mov QWORD PTR rsp 0x10 rdx e 74 10 je 20 _Z3fooP3FooMS_FvvE 0x20 10 48 01 d7 add rdi rdx 13 48 8b..

Why would fclose hang / deadlock? (Windows)

http://stackoverflow.com/questions/6100598/why-would-fclose-hang-deadlock-windows

cmp dword ptr edi 4Ch 0 77CEB843 lea esi ebx 8 77CEB846 je 77CEB85E 77CEB848 mov eax dword ptr edi 50h 77CEB84B xor dword.. ja 77CEB815 77CEB868 cmp dword ptr edi 4Ch 0 77CEB86C je 77CEB87E 77CEB86E mov al byte ptr esi 2 77CEB871 xor al byte..

Hoisting the dynamic type out of a loop (a.k.a. doing Java the C++ way)

http://stackoverflow.com/questions/7451442/hoisting-the-dynamic-type-out-of-a-loop-a-k-a-doing-java-the-c-way

even inline the call in the inner loop if appropriate. Objective C apparently allows you to query the dynamic function pointer.. r12 51 movl esi r13d 52 xorl r14d r14d 53 testl esi esi 54 je L8 55 xorl ebx ebx 56 .align 4 0x90 57 L9 58 movq r12 rax 59.. rbp 79 LCFI10 80 movq rsp rbp 81 LCFI11 82 decl edi 83 je L18 84 L17 85 leave 86 ret 87 .align 4 88 L18 89 cmpl 65535..

Why does integer overflow on x86 with GCC cause an infinite loop?

http://stackoverflow.com/questions/7682477/why-does-integer-overflow-on-x86-with-gcc-cause-an-infinite-loop

rax rax movq 24 rax rax movq 240 rbx rax r13 testq r13 r13 je .L10 cmpb 0 56 r13 je .L3 movzbl 67 r13 eax .L4 movsbl al esi.. movq 240 rbx rax r13 testq r13 r13 je .L10 cmpb 0 56 r13 je .L3 movzbl 67 r13 eax .L4 movsbl al esi movq rbx rdi addl 1..

C++ Buffer Overflow

http://stackoverflow.com/questions/8782852/c-buffer-overflow

837c243800 cmp dword ptr rsp 38h 0 00000001`3f1f17aa 7426 je Prototype_Console main 0xc2 00000001`3f1f17d2 00000001`3f1f17ac..

G++ 4.6 -std=gnu++0x: Static Local Variable Constructor Call Timing and Thread Safety

http://stackoverflow.com/questions/9533649/g-4-6-std-gnu0x-static-local-variable-constructor-call-timing-and-thread-s

eax 44 0f 95 c0 setne al 47 84 c0 test al al 49 74 1a je 65 _Z1fv 0x45 4b 41 bc 00 00 00 00 mov r12d 0x0 51 bf 00 00.. 0f 95 c0 setne al 400986 84 c0 test al al 400988 74 1a je 4009a4 _Z1fv 0x45 40098a 41 bc 00 00 00 00 mov 0x0 r12d 400990.. test eax eax 40074e setne al 400751 test al al 400753 je 400792 f 0x6e # initialise x 400755 mov ebx 0x0 40075a mov edi..

boost::weak_ptr<T>.lock() Crashes with a SIGSEGV Segmentation Fault

http://stackoverflow.com/questions/9948113/boostweak-ptrt-lock-crashes-with-a-sigsegv-segmentation-fault

1_47 I have been working on a server side project. I use boost libraries such as boost asio boost shared_ptr.. 78 79 movl 0 eax n t 80 0 n t 81 test eax eax n t 82 je 1f n t 83 movl eax 2 n t 84 incl 2 n t 85 lock n t 86 cmpxchgl.. safety reasons. If some other thread destroyed the object after you checked the weak pointer for expiry but before you..

Find a function by it signature in Windows DLL

http://stackoverflow.com/questions/9644717/find-a-function-by-it-signature-in-windows-dll

749A5E76 00 CMP DWORD PTR DS 765E9A74 0 765DEA1D 74 24 JE SHORT USER32.765DEA43 765DEA1F 64 A1 18000000 MOV EAX DWORD.. 749A5E76 00 CMP DWORD PTR DS 765E9A74 0 765DEA1D 74 24 JE SHORT USER32.765DEA43 765DEA1F 64 A1 18000000 MOV EAX DWORD.. XXXXXXXX 00 CMP DWORD PTR DS XXXXXXXX 0 765DEA1D 74 XX JE SHORT XXXXXXXX 765DEA1F 64 A1 18000000 MOV EAX DWORD PTR FS..

How to use MPI derived data type for 3D array?

http://stackoverflow.com/questions/9736554/how-to-use-mpi-derived-data-type-for-3d-array

namespace std int main int argc char argv int const IE 100 JE 25 KE 100 int size rank MPI_Status status MPI_Init argc argv.. rank MPI_Datatype sub MPI_Type_vector KE IE IE JE 1 IE MPI_DOUBLE sub MPI_Type_commit sub if rank 0 double a new.. double a new double IE for int i 0 i IE i a i new double JE for int j 0 j JE j a i j new double KE for int i 0 i IE i..