Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for typeList (0.21 sec)

  1. test/typeparam/typelist.go

    cui fliter <******@****.***> 1711120077 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/go/types/typelists.go

    	}
    	return l.tparams
    }
    
    // TypeList holds a list of types.
    type TypeList struct{ types []Type }
    
    // newTypeList returns a new TypeList with the types in list.
    func newTypeList(list []Type) *TypeList {
    	if len(list) == 0 {
    		return nil
    	}
    	return &TypeList{list}
    }
    
    // Len returns the number of types in the list.
    // It is safe to call on a nil receiver.
    func (l *TypeList) Len() int { return len(l.list()) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typelists.go

    	}
    	return l.tparams
    }
    
    // TypeList holds a list of types.
    type TypeList struct{ types []Type }
    
    // newTypeList returns a new TypeList with the types in list.
    func newTypeList(list []Type) *TypeList {
    	if len(list) == 0 {
    		return nil
    	}
    	return &TypeList{list}
    }
    
    // Len returns the number of types in the list.
    // It is safe to call on a nil receiver.
    func (l *TypeList) Len() int { return len(l.list()) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 28 22:21:55 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/type_list_attr.mlir

        // CHECK-NEXT:  }
        // CHECK:       key: "typelist"
        // CHECK-NEXT:  value {
        // CHECK-NEXT:    list {
        // CHECK-NEXT:      type: DT_INT32
        // CHECK-NEXT:      type: DT_FLOAT
        // CHECK-NEXT:    }
        // CHECK-NEXT:  }
        %0:2 = tf_executor.island wraps "tf.Placeholder"() {name = "dummy", dtype = "tfdtype$DT_FLOAT", emptylist = [], typelist = ["tfdtype$DT_INT32", "tfdtype$DT_FLOAT"]} : () -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 700 bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/parser.go

    	//   total number of types, hence typeList is pre-allocated.
    	if len(p.typeData) == 0 {
    		if n != len(p.typeList) {
    			p.errorf("invalid type number %d (out of sync)", n)
    		}
    		p.typeList = append(p.typeList, reserved)
    	} else {
    		if p.typeList[n] != nil {
    			p.errorf("previously visited type number %d", n)
    		}
    		p.typeList[n] = reserved
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/subst.go

    		// already instantiated
    		// For each (existing) type argument determine if it needs
    		// to be substituted; i.e., if it is or contains a type parameter
    		// that has a type argument for it.
    		targs, updated := subst.typeList(t.TypeArgs().list())
    		if updated {
    			return subst.check.newAliasInstance(subst.pos, t.orig, targs, subst.ctxt)
    		}
    
    	case *Array:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. api/go1.18.txt

    pkg go/types, method (*Named) TypeArgs() *TypeList
    pkg go/types, method (*Named) TypeParams() *TypeParamList
    pkg go/types, method (*Signature) RecvTypeParams() *TypeParamList
    pkg go/types, method (*Signature) TypeParams() *TypeParamList
    pkg go/types, method (*Term) String() string
    pkg go/types, method (*Term) Tilde() bool
    pkg go/types, method (*Term) Type() Type
    pkg go/types, method (*TypeList) At(int) Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. src/go/types/subst.go

    		// already instantiated
    		// For each (existing) type argument determine if it needs
    		// to be substituted; i.e., if it is or contains a type parameter
    		// that has a type argument for it.
    		targs, updated := subst.typeList(t.TypeArgs().list())
    		if updated {
    			return subst.check.newAliasInstance(subst.pos, t.orig, targs, subst.ctxt)
    		}
    
    	case *Array:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    };
    
    ]]
    
    // The TypeList template makes it possible to use either a single type
    // or a Types<...> list in TYPED_TEST_CASE() and
    // INSTANTIATE_TYPED_TEST_CASE_P().
    
    template <typename T>
    struct TypeList {
      typedef Types1<T> type;
    };
    
    
    $range i 1..n
    template <$for i, [[typename T$i]]>
    struct TypeList<Types<$for i, [[T$i]]> > {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/alias.go

    type Alias struct {
    	obj     *TypeName      // corresponding declared alias object
    	orig    *Alias         // original, uninstantiated alias
    	tparams *TypeParamList // type parameters, or nil
    	targs   *TypeList      // type arguments, or nil
    	fromRHS Type           // RHS of type alias declaration; may be an alias
    	actual  Type           // actual (aliased) type; never an alias
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top