voidngx_destroy_pool(ngx_pool_t*pool){ngx_pool_t*p,*n;ngx_pool_large_t*l;ngx_pool_cleanup_t*c;for(c=pool->cleanup;c;c=c->next){if(c->handler){ngx_log_debug1(NGX_LOG_DEBUG_ALLOC,pool->log,0,"run cleanup: %p",c);c->handler(c->data);}}#if (NGX_DEBUG)/* * we could allocate the pool->log from this pool * so we cannot use this log while free()ing the pool */for(l=pool->large;l;l=l->next){ngx_log_debug1(NGX_LOG_DEBUG_ALLOC,pool->log,0,"free: %p",l->alloc);}for(p=pool,n=pool->d.next;/* void */;p=n,n=n->d.next){ngx_log_debug2(NGX_LOG_DEBUG_ALLOC,pool->log,0,"free: %p, unused: %uz",p,p->d.end-p->d.last);if(n==NULL){break;}}#endiffor(l=pool->large;l;l=l->next){if(l->alloc){ngx_free(l->alloc);}}for(p=pool,n=pool->d.next;/* void */;p=n,n=n->d.next){ngx_free(p);if(n==NULL){break;}}}
以下不是网络操作系统的是?
A. Windows NT B. OS/2 warp C. DOS D. Netware
当时我没见过 D,于是就选了。。。然后就挂了,Netware 是 Novell 开发的系统,OS/2 warp 当然是历史悠久的系统啦,而 DOS=Disk Operating System 所以没有“网络”二字。。。晕倒
以下是用作局域网的协议是?
A. TCP/IP B. IPX/SPX C. NetBEUI D. RS-232-C
TCP/IP 当然不仅限于局域网,RS-232-C 是接口,当时蒙了 B 结果就对了,白白拿了 50 分哈哈哈。IPX/SPX 是 Novell 设计用在 Netware 系统上的局域网协议,NetBEUI 则是 NetBIOS 的一个历史遗留的一个“别称”。
In favor of this commit, Karabiner-Elements now supports the much welcomed yet long-lost feature, namely complex modifications that enable users to trigger complex keypress.
Now I can achieve this:
If I press <Enter>, then:
1. If <Enter> is pressed alone, then send <Enter>.
2. If <Enter> is pressed along with other keys, then send <Control> + Other.
By adding this code to ~/.config/karabiner/karabiner.json :