Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for ArrayType (0.51 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. src/go/printer/nodes.go

    // The result is false if x could be a type element OR an ordinary (value) expression.
    func isTypeElem(x ast.Expr) bool {
    	switch x := x.(type) {
    	case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.UnaryExpr:
    		return x.Op == token.TILDE
    	case *ast.BinaryExpr:
    		return isTypeElem(x.X) || isTypeElem(x.Y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    func (p *Package) cgoType(e ast.Expr) *Type {
    	switch t := e.(type) {
    	case *ast.StarExpr:
    		x := p.cgoType(t.X)
    		return &Type{Size: p.PtrSize, Align: p.PtrSize, C: c("%s*", x.C)}
    	case *ast.ArrayType:
    		if t.Len == nil {
    			// Slice: pointer, len, cap.
    			return &Type{Size: p.PtrSize * 3, Align: p.PtrSize, C: c("GoSlice")}
    		}
    		// Non-slice array types are not supported.
    	case *ast.StructType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    		"type:runtime.hchan":             nil,
    	}
    
    	// Needed by the prettyprinter code for interface inspection.
    	for _, typ := range []string{
    		"type:internal/abi.Type",
    		"type:internal/abi.ArrayType",
    		"type:internal/abi.ChanType",
    		"type:internal/abi.FuncType",
    		"type:internal/abi.MapType",
    		"type:internal/abi.PtrType",
    		"type:internal/abi.SliceType",
    		"type:internal/abi.StructType",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top