Wei Qin

Results issues of Wei Qin

本PR改进了原Knife内部原始的撤销、回退的功能。Knife原有的机制是监听文本变化,然后把修改前的文本存到一个栈里面,undo的时候把栈顶的元素把当前的文本替换掉,而且只会在文本变化的时候进行历史记录。这种做法虽然简单粗暴,但是每次有文本修改,就把整一套文本复制一次,这种做法太低效了,如果文本内容特别大,『能耗』就更高了。 我在内部维护一个栈(`CapacityLimitedStack`),用于保存每次所做的修改动作(`Action`),这个栈有一个最大的容量限制(`historyMaxCapacity`),如果栈满之后继续`push`,则新action压栈,旧(位于栈底)的Action会被丢弃。 `Action`是一个接口,也就意味着压栈的所有的Action都是可定制的。不管是文本的变动,还是Span的增删变化,undo和redo都能完美地被支持。 每次undo时,栈顶Action被弹出,他的`undo()`方法会被调用。 每次redo时,栈顶Action被弹出,他的`redo()`方法会被调用。 注:Knife的`historySize` 被更名为 `maxHistoryCapacity`

## Summary - add regression coverage for Redis 7.4 hash field expiration and Valkey 9 `typeHash2` JSON/AOF conversion - add unit coverage for Valkey cluster metadata opcodes `SlotInfo` and `SlotImport`...

I have couples of icons as TabBar Icon, but when I try to set `icon` and `selectedIcon` , I found that (unselected) icon always tinted by gray, selectedIcon always tinted...

Resolution: Locked

Hi guys, I met a trouble when I want to add token to header in interceptor. The token is variable according to the login status, so I want to dynamically...

When I try to learn ExoPlayer2 source code, I found that it do not using MediaExtractor + MediaCodec as usual rather than implement Mp4Extractor itself. There any problem with MediaExtractor...

question

I found the following code in MediaCodecRenderder ``` Java // For adaptive reconfiguration OMX decoders expect all reconfiguration data to be supplied // at the start of the buffer that...

question