mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-03-04 02:31:28 +00:00
Update dependencies to K8s 1.35
This commit is contained in:
2
vendor/github.com/ebitengine/purego/func.go
generated
vendored
2
vendor/github.com/ebitengine/purego/func.go
generated
vendored
@@ -286,7 +286,7 @@ func RegisterFunc(fptr any, cfn uintptr) {
|
||||
|
||||
for j, val := range args[i:] {
|
||||
if val.Kind() == reflect.String {
|
||||
ptr := strings.CString(v.String())
|
||||
ptr := strings.CString(val.String())
|
||||
keepAlive = append(keepAlive, ptr)
|
||||
val = reflect.ValueOf(ptr)
|
||||
args[i+j] = val
|
||||
|
||||
2
vendor/github.com/ebitengine/purego/struct_amd64.go
generated
vendored
2
vendor/github.com/ebitengine/purego/struct_amd64.go
generated
vendored
@@ -165,7 +165,7 @@ func tryPlaceRegister(v reflect.Value, addFloat func(uintptr), addInt func(uintp
|
||||
place(f)
|
||||
case reflect.Bool:
|
||||
if f.Bool() {
|
||||
val |= 1
|
||||
val |= 1 << shift
|
||||
}
|
||||
shift += 8
|
||||
class |= _INTEGER
|
||||
|
||||
4
vendor/github.com/ebitengine/purego/struct_arm64.go
generated
vendored
4
vendor/github.com/ebitengine/purego/struct_arm64.go
generated
vendored
@@ -117,13 +117,15 @@ func placeRegisters(v reflect.Value, addFloat func(uintptr), addInt func(uintptr
|
||||
} else {
|
||||
addInt(uintptr(val))
|
||||
}
|
||||
val = 0
|
||||
class = _NO_CLASS
|
||||
}
|
||||
switch f.Type().Kind() {
|
||||
case reflect.Struct:
|
||||
place(f)
|
||||
case reflect.Bool:
|
||||
if f.Bool() {
|
||||
val |= 1
|
||||
val |= 1 << shift
|
||||
}
|
||||
shift += 8
|
||||
class |= _INT
|
||||
|
||||
2
vendor/github.com/ebitengine/purego/struct_loong64.go
generated
vendored
2
vendor/github.com/ebitengine/purego/struct_loong64.go
generated
vendored
@@ -104,7 +104,7 @@ func placeRegisters(v reflect.Value, addFloat func(uintptr), addInt func(uintptr
|
||||
place(f)
|
||||
case reflect.Bool:
|
||||
if f.Bool() {
|
||||
val |= 1
|
||||
val |= 1 << shift
|
||||
}
|
||||
shift += 8
|
||||
class |= _INT
|
||||
|
||||
Reference in New Issue
Block a user