Yongsheng Xu
Yongsheng Xu
Hi, I've tried cargo-lipo today, and everything seems works, and I have following questions - I found that the universal static library size is 79M, is it normal ? -...
做完第二部分练习时,对了一下参考答案,发现我的某部分实现可能会稍微短一些,和大家分享一下 - 1.首先考虑第一个字符如果既不满足'0'~'9',又不是'-'号,那么就说明这是一个无效的数字。 - 2.再考虑第一个字符是'0',但第二个字符既不是'.'也不是0(代表结束),同样也说明这是一个无效的数。 - 3.然后,我们还需要解决末尾是'.'的情况,这时候,可以根据end指针的前一个位置的字符来判断,假设end[-1]是'.',说明这是小数点在末尾的情况,该数无效。(ps:这里不知道会不会出现_越界_的情况) - 4.最后就是数据过大或者数据过小的考虑了。参考叶老师给的[strtod参考](http://en.cppreference.com/w/c/string/byte/strtof),使用errno的值来判断是否出现数据过大或者过小的情况,同时,数据过小时会取0,这是合法的,所以当发现errno值为ERANGE的时候,同时再判断数字的值是否是零,即可区分过大和过小。 ``` c static int lept_parse_number(lept_context* c, lept_value* v) { char* end; /* validate number */ if( !ISDIGIT(c->json[0]) && c->json[0]!='-' ) return...
`ARWorldTrackingSessionConfiguration` is unavailable now should be rename to `ARWorldTrackingConfiguration` ?
see [vmess-md5-认证信息-淘汰机制](https://www.v2fly.org/config/protocols/vmess.html#vmess-md5-%E8%AE%A4%E8%AF%81%E4%BF%A1%E6%81%AF-%E7%8E%B7%E6%B1%A1%E6%9C%BA%E5%88%B6)
as the title says
Hi all, Here is the draft PR for the first part of the GSOC project. This PR includes: The OpenPose detector implemented in pure C++ A new image-to-image pipeline using...