robin-fei

Results 5 issues of robin-fei

上传前麻烦自测下

1、环境: 物理机:macos、mem 8g、cpu i5 2core 客户机:win7旗舰、mem 2g、cpu i5 2core 2、evpp代码: ``` #include "evpp/inner_pre.h" #include #include "evpp/libevent.h" #include "evpp/event_watcher.h" #include "evpp/event_loop.h" //#ifdef WIN32 //#define LOCAL_SOCKETPAIR_AF AF_INET //#else //#define LOCAL_SOCKETPAIR_AF AF_UNIX //#endif...

半透明装饰模式可以给系统带来更多的灵活性,设计相对简单,使用起来也非常方便;但是其最大的缺点在于不能实现对同一个对象的多次装饰,而且客户端需要有区别地对待装饰之前的对象和装饰之后的对象。在实现半透明的装饰模式时,我们只需在具体装饰类中增加一个独立的addedBehavior()方法来封装相应的业务处理,由于客户端使用具体装饰类型来定义装饰后的对象,因此可以单独调用addedBehavior()方法来扩展系统功能。 为什么半透明装饰模式不能实现对同一个对象的多次装饰???? 对上面这句话问句不是很理解!!! 我的测试代码如下: ``` //Encryption.java public abstract class Encryption { abstract String enc(String str); } //NormalEncrypt.java public class NormalEncrypt extends Encryption { @Override String enc(String str) { System.out.println("move bit...

### Description curl如下: curl 'http://127.0.0.1:5000/graphql?reload=&objectName=objects' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6' \ -H 'Authorization: Bearer ,' \ -H 'Cache-Control: no-cache' \ -H 'Connection: keep-alive' \ -H...

bug
done
priority: High

### Description after npm install dependency, i run npm start command, stdout error info is: ➜ steedos-platform2 git:(master) ✗ npm start > steedos-platform@ start /Users/xxx/code/steedos-platform2 > steedos start --config steedos.config.js...

bug
priority: High