Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for caller13a (0.22 sec)

  1. test/escape_param.go

    }
    
    func caller11a() {
    	i := 0  // ERROR "moved to heap: i"
    	p := &i // ERROR "moved to heap: p"
    	_ = param11(&p)
    }
    
    func caller11b() {
    	i := 0  // ERROR "moved to heap: i$"
    	p := &i // ERROR "moved to heap: p$"
    	sink = param11(&p)
    }
    
    func caller11c() { // GOOD
    	i := 0  // ERROR "moved to heap: i$"
    	p := &i // ERROR "moved to heap: p"
    	sink = *param11(&p)
    }
    
    func caller11d() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  2. test/typeparam/issue50177.go

    	x.fn(0)
    }
    
    func caller1(val int) {
    	type X[T any] struct {
    		fn FnErr[int]
    	}
    
    	x := X[int]{func(v int) error { fmt.Println(v); return nil }}
    	x.fn(0)
    }
    
    func caller1a(val int) {
    	type X struct {
    		fn func(float64) error
    	}
    
    	x := X{func(v float64) error { fmt.Println(v); return nil }}
    	x.fn(float64(3.2))
    }
    
    func caller1b(val int) {
    	type Y struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. security/pkg/server/ca/node_auth.go

    	callerSa := types.NamespacedName{
    		Namespace: caller.PodNamespace,
    		Name:      caller.PodServiceAccount,
    	}
    	// First, make sure the caller is allowed to impersonate, in general
    	if _, f := na.trustedNodeAccounts[callerSa]; !f {
    		return fmt.Errorf("caller (%v) is not allowed to impersonate", caller)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top