GithubHelp home page GithubHelp logo

Comments (3)

holmes1412 avatar holmes1412 commented on June 11, 2024

感谢!太细心了!这里对减到第一个缓存块的边界处理是有问题的。

我们修正一下,如果你感兴趣也非常欢迎提一个PR~

from srpc.

zhang275 avatar zhang275 commented on June 11, 2024

如果第一个 break 语句没有触发,并且此时又到达了 buffer_list_.begin(),那么此时 offset 是过小的,因此个人感觉只需加一句赋值即可

 		if (cur_.first == buffer_list_.begin())		
		{
			cur_.second = 0;                                   // add
			break;
		}

from srpc.

holmes1412 avatar holmes1412 commented on June 11, 2024

是的,这样可以修复。感兴趣可以提个PR哈

from srpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.