由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 高通 面试题。
相关主题
Qualcomm On-site 归发些面经,求bless请教HTTP怎么复习
高通 面试题 疑问。。赞人品,发个L的onsite面经
B公司的面试题Packet Inspection TCP/IP 的 面试。??
[包子]digital forensics的面试题帮忙程序找错,标题要长……………………
G家intern电面新鲜面经问个面经里的题
一道google面试题startup设计题面经
求解。。。领英 昂赛 已挂
IDT面试经历西雅图的Concur怎么样,被SAP收购的那个,烙印多吗?
相关话题的讨论汇总
话题: parity话题: int话题: number话题: function话题: return
进入JobHunting版参与讨论
1 (共1页)
a*****1
发帖数: 314
1
请高手 解释一下。下面是什么意思啊? 用C 写的???
谢谢
3. Using a MACRO function to output the byte stream;
??? 什么意思啊? 有知道的不?
9. Even parity function;
int getParity(unsigned int n)
{
int parity = 0;
while (n)
{
parity = !parity;
n = n & (n - 1);
}
return parity;
}
10. Extract the payload part from a packet;
这个也不明白?? 有知道的吗??
11. Rounding function; 四舍五入
int round(double number)
{
return (number >= 0) ? (int)(number + 0.5) : (int)(number - 0.5);
}
c****p
发帖数: 6474
2
parity那个算1的个数本质是一样的吧。那个最快能用log(N)实现,N是位数。

【在 a*****1 的大作中提到】
: 请高手 解释一下。下面是什么意思啊? 用C 写的???
: 谢谢
: 3. Using a MACRO function to output the byte stream;
: ??? 什么意思啊? 有知道的不?
: 9. Even parity function;
: int getParity(unsigned int n)
: {
: int parity = 0;
: while (n)
: {

1 (共1页)
进入JobHunting版参与讨论
相关主题
西雅图的Concur怎么样,被SAP收购的那个,烙印多吗?G家intern电面新鲜面经
王者荣耀 系统设计一道google面试题
微软面试题求解。。。
google面试题跟大家分享一下IDT面试经历
Qualcomm On-site 归发些面经,求bless请教HTTP怎么复习
高通 面试题 疑问。。赞人品,发个L的onsite面经
B公司的面试题Packet Inspection TCP/IP 的 面试。??
[包子]digital forensics的面试题帮忙程序找错,标题要长……………………
相关话题的讨论汇总
话题: parity话题: int话题: number话题: function话题: return