fork download
  1. #include <cstring>
  2.  
  3. typedef unsigned long long Myuint64;
  4.  
  5. struct AnalysisData
  6. {
  7. Myuint64 maxRegsNeeded;
  8. };
  9.  
  10. static const Myuint64 My_NA_Value_64 = (Myuint64) - 1;
  11.  
  12. void setData(void* pD,size_t s)
  13. {
  14. memcpy(pD,&My_NA_Value_64 ,s);
  15. }
  16.  
  17. int main()
  18. {
  19. AnalysisData d;
  20. setData(&d.maxRegsNeeded,sizeof(d.maxRegsNeeded));
  21. }
  22.  
Success #stdin #stdout 0.01s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty