Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for caller12d (0.39 sec)

  1. test/escape_param.go

    	_ = r
    }
    
    func caller12b() {
    	i := 0        // ERROR "moved to heap: i$"
    	p := &i       // ERROR "moved to heap: p$"
    	r := &Indir{} // ERROR "&Indir{} does not escape$"
    	r.param12(&p)
    	_ = r
    }
    
    func caller12c() {
    	i := 0  // ERROR "moved to heap: i$"
    	p := &i // ERROR "moved to heap: p$"
    	r := Indir{}
    	r.param12(&p)
    	sink = r
    }
    
    func caller12d() {
    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

    	}
    
    	// Finally, we validate the requested identity is running on the same node the caller is on
    	callerPod := na.pods.Get(caller.PodName, caller.PodNamespace)
    	if callerPod == nil {
    		return fmt.Errorf("pod %v/%v not found", caller.PodNamespace, caller.PodName)
    	}
    	// Make sure UID is still valid for our current state
    	if callerPod.UID != types.UID(caller.PodUID) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/cert_authenticator_test.go

    	authType string
    }
    
    func (ai mockAuthInfo) AuthType() string {
    	return ai.authType
    }
    
    func TestAuthenticate_clientCertAuthenticator(t *testing.T) {
    	callerID := "test.identity"
    	ids := []util.Identity{
    		{Type: util.TypeURI, Value: []byte(callerID)},
    	}
    	sanExt, err := util.BuildSANExtension(ids)
    	if err != nil {
    		t.Error(err)
    	}
    
    	testCases := map[string]struct {
    		certChain          [][]*x509.Certificate
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 01:20:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. test/abi/bad_select_crash.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    func main() {
    	// Only print if there is a problem
    	Caller2()
    	if FailCount != 0 {
    		fmt.Fprintf(os.Stderr, "FAILURES: %d\n", FailCount)
    		os.Exit(2)
    	}
    }
    
    var ParamFailCount int
    
    var ReturnFailCount int
    
    var FailCount int
    
    var Mode string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 13:38:02 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  6. security/pkg/server/ca/server_test.go

    the client cert authenticator instead of mock authenticator
    */
    func TestCreateCertificateE2EUsingClientCertAuthenticator(t *testing.T) {
    	callerID := "test.identity"
    	ids := []util.Identity{
    		{Type: util.TypeURI, Value: []byte(callerID)},
    	}
    	sanExt, err := util.BuildSANExtension(ids)
    	if err != nil {
    		t.Error(err)
    	}
    	auth := &authenticate.ClientCertAuthenticator{}
    
    	server := &Server{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top