- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for noopFunc (0.18 sec)
-
pkg/volume/util/nestedpendingoperations/nestedpendingoperations_test.go
// Act err1 := grm.Run(volume1Name, EmptyUniquePodName, EmptyNodeName, volumetypes.GeneratedOperations{OperationFunc: noopFunc}) err2 := grm.Run(volume2Name, EmptyUniquePodName, EmptyNodeName, volumetypes.GeneratedOperations{OperationFunc: noopFunc}) // Assert if err1 != nil { t.Fatalf("NestedPendingOperations %q failed. Expected: <no error> Actual: <%v>", volume1Name, err1) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:29:17 UTC 2022 - 36.1K bytes - Viewed (0) -
test/escape_closure.go
f(new(int)) // ERROR "new\(int\) does not escape" g := f g(new(int)) // ERROR "new\(int\) does not escape" h := nopFunc h(new(int)) // ERROR "new\(int\) does not escape" } func nopFunc(p *int) {} // ERROR "p does not escape" func ClosureIndirect2() { f := func(p *int) *int { return p } // ERROR "leaking param: p to result ~r0 level=0" "func literal does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:36:09 UTC 2023 - 4.6K bytes - Viewed (0)