File tree Expand file tree Collapse file tree
src/main/java/tech/smartboot/redisun/resp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ commitId="1805a89ba2692a6085056314fe76efb7f1aa383d"
2222squash_commits :
2323 git reset --soft $(commitId )
2424 git add -A -- :! /.idea/ :! /target/ :! /pages/node_modules/ :! /pages/.astro/ :! /pages/.cache/
25- git commit -m " Squash commits after $( commitId ) "
25+ git commit -m " v1.1.0 开发 "
2626 git push -f origin master
2727 git push -f github master
2828
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ protected int readInt(ByteBuffer readBuffer) {
110110 readBuffer .mark ();
111111 while (readBuffer .hasRemaining ()) {
112112 byte b = readBuffer .get ();
113- if (b >= '0' && b <= '9' ) {
114- v = v * 10 + (b & 0x0f );
113+ if (( b >= '0' ) & ( b <= '9' ) ) {
114+ v = ( v << 3 ) + ( v << 1 ) + (b & 0x0f );
115115 continue ;
116116 } else if (readBuffer .remaining () < 1 ) {//非完整包,正常退出
117117 readBuffer .reset ();
You can’t perform that action at this time.
0 commit comments