{"id":207,"date":"2009-04-04T21:52:57","date_gmt":"2009-04-05T05:52:57","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=207"},"modified":"2009-04-04T21:52:57","modified_gmt":"2009-04-05T05:52:57","slug":"geeze-size-is-in-bit","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/04\/04\/geeze-size-is-in-bit\/","title":{"rendered":"Geeze, size is in bit"},"content":{"rendered":"
I was running into really weird problem that program SIGSEGV, after (quite a while) debug, I found the problem is, R’size attribute is in bit, instead of byte, after changing codes from R’size to R’size\/8, everything works.<\/p>\n
It … just proved I’m well trained by C\/C++, mistakes I ever made include:<\/p>\n
Could be more, but these are what I can recall.<\/p>\n
Now I can move on with PPCam again, let’s see when will be the next blocker.<\/p>\n","protected":false},"excerpt":{"rendered":"
I was running into really weird problem that program SIGSEGV, after (quite a while) debug, I found the problem is, R’size attribute is in bit, instead of byte, after changing codes from R’size to R’size\/8, everything works. It … just proved I’m well trained by C\/C++, mistakes I ever made include: Assume strings are ended […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}