qiuchengxuan

Results 22 issues of qiuchengxuan

# Bug description Lldpd will call SIOCADDMULTI ioctl to add multicast address which is not really a multicast address when EDP enabled. ## Steps to reproduce the problem Platform specific,...

won't fix

Since user should be aware Vec are based on array, implement Copy would be convienent

enhancement

```rust #[repr(C)] pub struct Node { advance: unsafe fn(*mut ListNode) -> bool, deallocate: unsafe fn(*mut ListNode), fib: F, } ``` Since F here is a closure which memory alignment is...

I wanna use STM32F405 3rd and 4th flash sector as EEPROM, so text start address has to be customized.

`thread 'main' panicked at 'attempt to subtract with overflow', src/heap/layout.rs:19:73`

According to manual page 804 3. To generate a 1 Hz clock for the calendar counter, program first the synchronous prescaler factor in RTC_PRER register, and then program the asynchronous...

bug
good first issue

This is a strange phenomenon that, even I connect SCL with a wire that connected to nothing, this infinite loop breaks; And if I connect I2C to any device, this...

这里定义了一个泛型的结构体,大致是这样: ```golang type Table[T any] struct { ... } func (t *Table[T]) Add(network net.IPNet, value T) bool { ... } ``` 这里内容无关紧要,在使用gomonkey patch了叫Add的方法后,发现单元测试并未成功,调用的依旧是原本的Add。 进一步定位发现,reflect包获取到的方法名和实际的Add方法的signature并不相同,实际上方法地址也并不相同 reflect获取的方法名和地址: ``` 0x1c56aa0 XXX.(*Table[string]).Add(SB) :1 0x1c56aa0...