Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertableTo (0.12 sec)

  1. src/cmd/compile/internal/types2/lookup.go

    	w.pkgInfo = pkgInfo
    	w.paramNames = false
    	w.signature(f.typ.(*Signature))
    	return buf.String()
    }
    
    // assertableTo reports whether a value of type V can be asserted to have type T.
    // The receiver may be nil if assertableTo is invoked through an exported API call
    // (such as AssertableTo), i.e., when all methods have been type-checked.
    // The underlying type of V must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/go/types/lookup.go

    	w.pkgInfo = pkgInfo
    	w.paramNames = false
    	w.signature(f.typ.(*Signature))
    	return buf.String()
    }
    
    // assertableTo reports whether a value of type V can be asserted to have type T.
    // The receiver may be nil if assertableTo is invoked through an exported API call
    // (such as AssertableTo), i.e., when all methods have been type-checked.
    // The underlying type of V must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			}
    
    			klog.Flush()
    			klog.SetOutput(&bytes.Buffer{}) // prevent further writes into buf
    			capturedOutput := buf.String()
    
    			// replace the uid with a constant to make the test output stable and assertable
    			capturedOutput = regexp.MustCompile(`uid="[^"]+"`).ReplaceAllString(capturedOutput, `uid="UID"`)
    
    			for _, wantLog := range tc.wantLogs {
    				if !strings.Contains(capturedOutput, wantLog) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
Back to top