Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for typeList (0.29 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/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: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/go/types/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
    - 5.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    // since some compilers may choke on '>>' when passing a template
    // instance (e.g. Types<int>)
    # define TYPED_TEST_CASE(CaseName, Types) \
      typedef ::testing::internal::TypeList< Types >::type \
          GTEST_TYPE_PARAMS_(CaseName)
    
    # define TYPED_TEST(CaseName, TestName) \
      template <typename gtest_TypeParam_> \
      class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. src/go/types/typestring.go

    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. pkg/volume/hostpath/host_path_test.go

    	*hostPathType = v1.HostPathType(pathType)
    	return hostPathType
    }
    
    func newHostPathTypeList(pathType ...string) []*v1.HostPathType {
    	typeList := []*v1.HostPathType{}
    	for _, ele := range pathType {
    		typeList = append(typeList, newHostPathType(ele))
    	}
    
    	return typeList
    }
    
    func TestCanSupport(t *testing.T) {
    	plugMgr := volume.VolumePluginMgr{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typestring.go

    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    // since some compilers may choke on '>>' when passing a template
    // instance (e.g. Types<int>)
    # define TYPED_TEST_CASE(CaseName, Types) \
      typedef ::testing::internal::TypeList< Types >::type \
          GTEST_TYPE_PARAMS_(CaseName)
    
    # define TYPED_TEST(CaseName, TestName) \
      template <typename gtest_TypeParam_> \
      class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/go/types/typexpr.go

    		msg = "array length %s must be integer"
    	}
    	check.errorf(&x, InvalidArrayLen, msg, &x)
    	return -1
    }
    
    // typeList provides the list of types corresponding to the incoming expression list.
    // If an error occurred, the result is nil, but all list elements were type-checked.
    func (check *Checker) typeList(list []ast.Expr) []Type {
    	res := make([]Type, len(list)) // res != nil even if len(list) == 0
    	for i, x := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/context.go

    	// if performance is an issue.
    	h.typ(orig)
    	if len(targs) > 0 {
    		// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when
    		// isGeneric handles *Signature types.
    		h.typeList(targs)
    	}
    
    	return strings.ReplaceAll(buf.String(), " ", "#")
    }
    
    // lookup returns an existing instantiation of orig with targs, if it exists.
    // Otherwise, it returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typexpr.go

    		msg = "array length %s must be integer"
    	}
    	check.errorf(&x, InvalidArrayLen, msg, &x)
    	return -1
    }
    
    // typeList provides the list of types corresponding to the incoming expression list.
    // If an error occurred, the result is nil, but all list elements were type-checked.
    func (check *Checker) typeList(list []syntax.Expr) []Type {
    	res := make([]Type, len(list)) // res != nil even if len(list) == 0
    	for i, x := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top