Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 171 for typeSet (0.17 sec)

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

    			// If check != nil, check.newInterface will have saved the interface for later completion.
    			if check == nil { // golang/go#61561: all newly created interfaces must be fully evaluated
    				iface.typeSet()
    			}
    		}
    	}
    
    	return underlying
    }
    
    // safeUnderlying returns the underlying type of typ without expanding
    // instances, to avoid infinite recursion.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/go/types/named.go

    			// If check != nil, check.newInterface will have saved the interface for later completion.
    			if check == nil { // golang/go#61561: all newly created interfaces must be fully evaluated
    				iface.typeSet()
    			}
    		}
    	}
    
    	return underlying
    }
    
    // safeUnderlying returns the underlying type of typ without expanding
    // instances, to avoid infinite recursion.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/go/types/builtins.go

    			}
    
    		case *Slice, *Chan:
    			mode = value
    
    		case *Map:
    			if id == _Len {
    				mode = value
    			}
    
    		case *Interface:
    			if !isTypeParam(x.typ) {
    				break
    			}
    			if t.typeSet().underIs(func(t Type) bool {
    				switch t := arrayPtrDeref(t).(type) {
    				case *Basic:
    					if isString(t) && id == _Len {
    						return true
    					}
    				case *Array, *Slice, *Chan:
    					return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/builtins.go

    			}
    
    		case *Slice, *Chan:
    			mode = value
    
    		case *Map:
    			if id == _Len {
    				mode = value
    			}
    
    		case *Interface:
    			if !isTypeParam(x.typ) {
    				break
    			}
    			if t.typeSet().underIs(func(t Type) bool {
    				switch t := arrayPtrDeref(t).(type) {
    				case *Basic:
    					if isString(t) && id == _Len {
    						return true
    					}
    				case *Array, *Slice, *Chan:
    					return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/go/types/infer.go

    		// Thus, we only need to look at the input and result parameters.
    		return t.params != nil && w.varList(t.params.vars) || t.results != nil && w.varList(t.results.vars)
    
    	case *Interface:
    		tset := t.typeSet()
    		for _, m := range tset.methods {
    			if w.isParameterized(m.typ) {
    				return true
    			}
    		}
    		return tset.is(func(t *term) bool {
    			return t != nil && w.isParameterized(t.typ)
    		})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/infer.go

    		// Thus, we only need to look at the input and result parameters.
    		return t.params != nil && w.varList(t.params.vars) || t.results != nil && w.varList(t.results.vars)
    
    	case *Interface:
    		tset := t.typeSet()
    		for _, m := range tset.methods {
    			if w.isParameterized(m.typ) {
    				return true
    			}
    		}
    		return tset.is(func(t *term) bool {
    			return t != nil && w.isParameterized(t.typ)
    		})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. docs/ja/docs/index.md

    ---
    hide:
      - navigation
    ---
    
    <style>
    .md-content .md-typeset h1 { display: none; }
    </style>
    
    <p align="center">
      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        FastAPI framework, high performance, easy to learn, fast to code, ready for production
    </p>
    <p align="center">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/defaults_test.go

    			Object: &configv1.InterPodAffinityArgs{
    				TypeMeta: metav1.TypeMeta{
    					Kind:       "InterPodAffinityArgs",
    					APIVersion: "kubescheduler.config.k8s.io/v1",
    				},
    				HardPodAffinityWeight: ptr.To[int32](1),
    			}},
    	},
    	{
    		Name: "NodeAffinity",
    		Args: runtime.RawExtension{Object: &configv1.NodeAffinityArgs{
    			TypeMeta: metav1.TypeMeta{
    				Kind:       "NodeAffinityArgs",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/generated.pb.go

    }
    
    var xxx_messageInfo_RawExtension proto.InternalMessageInfo
    
    func (m *TypeMeta) Reset()      { *m = TypeMeta{} }
    func (*TypeMeta) ProtoMessage() {}
    func (*TypeMeta) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2e0e4b920403a48c, []int{1}
    }
    func (m *TypeMeta) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top