Frodez

Results 4 issues of Frodez

When I try to cross compile the restbed from x86_64 to aarch64, there is an error: ``` restbed/source/corvusoft/restbed/uri.cpp:125:9: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ [-Wnarrowing] ```...

Mybatis基础的Interceptor有一个接口是public Object plugin(Object target),用于判断是否需要使用该拦截器包装。它的默认实现是 ```java default Object plugin(Object target) { return Plugin.wrap(target, this); } ``` 但是我发现,这个Plugin.wrap方法每次都要拿到Interceptor上的注解@Intercepts和里面的注解@Signature来判断是否返回代理对象,和代理对象是否代理该方法。 而您的分页浏览器的配置,其实只会作用于Executor这一个接口的实现,而且,只会在调用两个query方法时才进行代理。恰巧这两个query方法就是Executor接口下所有叫做query的方法。 所以我认为这里其实可以优化一下。其伪代码示意如下: ```java private Interceptor interceptor = this; private Class[] interfaces = new Class[]...

待处理

- [x] 我已在 [issues](https://github.com/pagehelper/Mybatis-PageHelper/issues) 搜索类似问题,并且不存在相同的问题. ## 功能建议 现在使用pagehelper的过程中,深感类型标注还不够多。 比如PageHelper.startPage这种方法,居然返回值是Page\,需要类型约束的时候只能手动指定,比如PageHelper.\startPage。这实在是有碍观瞻,而且有可能出现问题。 还有像ISelect这样的接口,居然也没有泛型约束。 另外ISelect里可以执行多条sql也是一个容易引起误解的操作,实测返回的值就是第一条sql的值,之后的值都被抛弃了。甚至可以写出这样的语句来: ```java PageHelper.startPage(IPage page).doSelectPage(() -> { roleMapper.selectAll(); permissionMapper.selectAll(); }); ``` 这样的设计显然不合理,究竟该返回Role还是Permission? 而且,我甚至可以这样写: ```java Permission permission = PageHelper.startPage(IPage page).doSelectPage(() -> {...

待处理

Base image: alpine In the runbroker-customize.sh, [numactl --interleave=all pwd > /dev/null 2>&1](https://github.com/apache/rocketmq-docker/blob/0794732d9cf909268fa6faa6ada446cb23b774aa/image-build/scripts/runbroker-customize.sh#L146) call the numactl, which does not included in the image. And the broker will not start successfully. Additionally,...