update
1. modify code style

bagfix
1. some function decolarate as inline function
bug fix
- add inline expansion