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

不懂就问,麻烦帮忙解释下 #5

Closed
cczuwangkun opened this issue Jun 2, 2020 · 1 comment
Closed

不懂就问,麻烦帮忙解释下 #5

cczuwangkun opened this issue Jun 2, 2020 · 1 comment

Comments

@cczuwangkun
Copy link

randomAccessFile.seek(chunk * (targetSize - srcSize) / chunk);
这个chunk *一下,又/一下,是有什么特殊含义吗?

@gaoyuyue
Copy link
Owner

gaoyuyue commented Jun 2, 2020

没有特殊含义,写的时候没有意识到这个问题 ,感谢发现!@cczuwangkun

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

2 participants