Fangsong Long

Results 25 issues of Fangsong Long

When doing this homework, I found `make test_example` drained my disk space, and then panicked due to `no space left on device`. After understanding the test code, I found the...

component/tidb

**rust-analyzer version**: v0.4.1157 **rustc version**: rustc 1.64.0-nightly (9067d5277 2022-07-28) `fill match arms` assist put the code in the wrong place! https://user-images.githubusercontent.com/13777628/182836330-27603145-5ff2-4755-bbd0-2e003719c92f.mp4 Reload the window doesn't solve the problem. Minimal reproduce:...

close #1366 (replace it) Current version of `mockery` used by this project [does not support go 1.18](https://github.com/vektra/mockery/issues/434). According to the [suggestion](https://github.com/pingcap/tidb-dashboard/pull/1366#issuecomment-1200749996) of the maitainer of this project, we should upgrade...

I'm not sure whether the implemention of `sysctl_cpu_set_freq` is right. ### Expected behavior Not sure ### Actual behavior Not sure ### Code In `sysctl_cpu_set_freq`, we set the pll0 like this:...

Add size and keys count metric for memdb

### What issue does this PR solve? - close #116 ### What is changed: Create dev guide for lock resolver. However, though I finished this (and IMO this one is...

This pr tries to implement the byte send and receive behavior of SPI0. Do not merge. Untested yet.

This pr implement `Timer` trait in `embedded_hal` for each `CHANNEL` in a `TIMER`, which supports a nicer way to create delays.

I fell our **unit** tests in TiKV somehow not satisfing. For example when reviewing [tikv#9514](https://github.com/tikv/tikv/pull/9514), which changed the **rollback collapse logic**, I found it breaked some test cases in **`mvcc::reader`**....