Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for typeList (0.12 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/types/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: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. api/go1.23.txt

    pkg go/types, method (*Alias) Origin() *Alias #67143
    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
    pkg go/types, method (*Func) Signature() *Signature #65772
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typebits/typebits.go

    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) // pointer
    
    	case types.TSTRING:
    		// struct { byte *str; intgo len; }
    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) //pointer in first slot
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top