-
Go code often does something like:
```
type Buffer struct {
buf []byte
bootstrap [64]byte
}
var b *Buffer = ...
b.buf = b.bootstrap[:]
```
I don't think we need a write barrier when we write t…
-
Accidentally passing nil to 'ExtractIntoStructPtr' function would cause panic.
You can reproduce this by adding the following code to testing/results_test.go .
```go
func TestUnmarshalNilPointer(…
-
Here is my code to enable netfx3 features
```package main
import (
"fmt"
"syscall"
"unsafe"
"github.com/google/glazier/go/dism"
)
func callback(current uint, total uint, data unsafe.…
-
### 请确保您已阅读以上注意事项,并勾选下方的确认框。
- [X] 我已经仔细阅读上述教程和 ["提问前需知"](https://forums.go-cqhttp.org/t/topic/141)
- [X] 我已经使用 [dev分支版本](https://github.com/Mrs4s/go-cqhttp/actions/workflows/ci.yml) 测试过,问题依旧存在。
- [X…
-
Crystal uses two strategies to run codegen specs. If the snippet requires the prelude, then `::run` injects a `print` call, builds the code to an actual temporary executable, then inspects its output …
-
运行一段时间就报这样的错误:崩溃了
panic: runtime error: invalid memory address or nil pointer dereference
-
At 387a98fe2878cd2fa now, running `util/linuxfw` on the experiment Fly-based CI:
```
=== RUN TestAddAndDeleteChains
--- PASS: TestAddAndDeleteChains (0.00s)
=== RUN TestAddAndDeleteHooks
--…
-
### What happened?
I'm trying to deploy a stack using `aws-native`, as a result of `pulumi up --yes` I get this:
> panic: runtime error: invalid memory address or nil pointer dereference
> [sign…
-
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the…
-
According to the specification, the default priority should be 4:
https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-header
It's also mentioned in a comment:
https:…