lysShub

Results 11 issues of lysShub

I try to read the source code。 ```golang func newRecognizer_8859_2(language string, ngram *[64]uint32) *recognizerSingleByte { return &recognizerSingleByte{ charset: "ISO-8859-2", hasC1ByteCharset: "windows-1250", language: language, charMap: &charMap_8859_2, ngram: ngram, } } func...

gen code: ```go const MM_CMPINT_NLT = operand.U8(5) //go:generate go run gen.go -pkg main -out ../ge_amd64.s -stubs ../ge_amd64.go func main() { TEXT("ge", NOSPLIT, "func(a,b []uint64, r *uint8)") Doc("r_bits[i] = a[i] >=...

controller中的函数 `serviceForWebserver`, `deploymentForWebserver`,是生成的还老师手写的啊? 如果是手写的,老师是怎么知道应该这么写呢?尤其是像`serviceForWebserver` 最后 `ctrl.SetControllerReference(ws, srv, r.Scheme)`。老师是从什么地方获取的这些写法的?

### Description ```go package main_test import ( "context" "io" "net" "testing" // gvisor.dev/gvisor v0.0.0-20240216000150-e3cf008ab186 "github.com/stretchr/testify/require" "gvisor.dev/gvisor/pkg/tcpip" "gvisor.dev/gvisor/pkg/tcpip/adapters/gonet" "gvisor.dev/gvisor/pkg/tcpip/header" "gvisor.dev/gvisor/pkg/tcpip/link/channel" "gvisor.dev/gvisor/pkg/tcpip/network/ipv4" "gvisor.dev/gvisor/pkg/tcpip/stack" "gvisor.dev/gvisor/pkg/tcpip/transport/tcp" ) func Test_Closed_TCP_Write_Empty(t *testing.T) { t.Run("system", func(t *testing.T)...

type: bug
stale-issue

```c WinDivertOpen("remoteAddr=12345", WINDIVERT_LAYER_NETWORK, 0,0); ``` Is it as expected?

在 [golang 系统调用与阻塞处理](https://qiankunli.github.io/2020/11/21/goroutine_system_call.html#%E9%98%BB%E5%A1%9E) 你说到go对net IO有专门的优化,不会阻塞M。 但是有个问题就是,net IO在读写频繁时,理论上来说不切换G性能更高,读取下一个数据包等待的代价低于G切换的代价。所以我想问一下,go是直接切换的还是有一些什么策略?

on black theme, title bar color isn't incongruous ![image](https://github.com/chapar-rest/chapar/assets/55095917/9fb72e23-ed8b-4d0d-985c-cd009028a986)

### Description golang type: ![image](https://github.com/user-attachments/assets/6e12c73a-a93a-455f-abc1-a2388868e68e) bind ts type: ![image](https://github.com/user-attachments/assets/717427e3-6ce1-41d6-a6e4-2e037be01151) ### To Reproduce none ### Expected behaviour bind correct ### Screenshots _No response_ ### Attempted Fixes _No response_ ### System Details...

Bug

### What version of Garble and Go are you using? $ garble version mvdan.cc/garble v0.13.0 Build settings: -buildmode exe -compiler gc CGO_ENABLED 1 GOARCH amd64 GOOS windows GOAMD64 v1 $...

1. `if !strings.Contains(string(out), "command completed successfully") {` not work on other language system;maybe `if cmd.ProcessState.ExitCode() != 0 {`