Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p & 3 含义是什么 #32

Open
YIDWang opened this issue Jan 31, 2019 · 0 comments
Open

p & 3 含义是什么 #32

YIDWang opened this issue Jan 31, 2019 · 0 comments

Comments

@YIDWang
Copy link

YIDWang commented Jan 31, 2019

while((unsigned long)p & 3 && count)
在 redis bitcount实现中 说不足32 bit的直接使用这个这个循环进行计算。但是 不理解 p&3 什么含义。
似乎跟32bit 没什么关系

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant