skygragon

Results 13 issues of skygragon

有了正确的goid偏移量之后,采用前面讲过的方式获取goid: func GetGroutineId() int64 { g := getg() p := (*int64)(unsafe.Pointer(uintptr(g) + g_goid_offset)) return *p }

node: 8.1.4 npm: 5.3.0 ``` { Error: unable to get local issuer certificate at /Users/xxx/test/nodejs/node_modules/google-translate-token/index.js:103:25 at at process._tickCallback (internal/process/next_tick.js:169:7) code: 'BAD_NETWORK', message: 'unable to get local issuer certificate' } ```

_From @huangyingw on May 26, 2018 22:39_ I noticed a similiar project here: https://github.com/andrewstuart/hr But it is with Go, and I don't know how to build/install it. _Copied from original...

help wanted

copied from https://github.com/skygragon/leetcode-cli/issues/78

enhancement
help wanted

now '%s' uses character's length (instead of bytes) in rendering fixed length format, here is an example: ``` > sprintf('%03s', 1) '001' > sprintf('%03s', '中') '00中' ``` maybe we could...

say we remove node the add it back as non-voting, seems there would be race condition to cause a crash? 1. append log "remove node A" 2. append log "add...

mbuf_split is called after each command parsed? what if client send multiple commands in pipeline? ![image](https://user-images.githubusercontent.com/1295096/186096170-a9e0211f-bb00-4764-9825-c53e96bc10b1.png)

why add continuum_addition again? seems nserver_continuum already take it in count ![image](https://user-images.githubusercontent.com/1295096/185744128-f3499162-d68d-43ab-a4ad-b3e5f519ccaa.png)