Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GCFunc (0.17 sec)

  1. src/reflect/all_test.go

    	}
    	return (c.n + c.off) % max
    }
    
    func (x *exhaustive) Maybe() bool {
    	return x.Choose(2) == 1
    }
    
    func GCFunc(args []Value) []Value {
    	runtime.GC()
    	return []Value{}
    }
    
    func TestReflectFuncTraceback(t *testing.T) {
    	f := MakeFunc(TypeOf(func() {}), GCFunc)
    	f.Call([]Value{})
    }
    
    func TestReflectMethodTraceback(t *testing.T) {
    	p := Point{3, 4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top