Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,442 for Tstruct (0.12 sec)

  1. src/cmd/compile/internal/types/size.go

    // when a type's width should be known, we call CheckSize
    // to compute it.  during a declaration like
    //
    //	type T *struct { next T }
    //
    // it is necessary to defer the calculation of the struct width
    // until after T has been initialized to be a pointer to that struct.
    // similarly, during import processing structs may be used
    // before their definition.  in those situations, calling
    // DeferCheckSize() stops width calculations until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/value.go

    		// not supported on SSA variables.
    		// TODO: allow if all indexes are constant.
    		if t.NumElem() <= 1 {
    			return CanSSA(t.Elem())
    		}
    		return false
    	case types.TSTRUCT:
    		if t.NumFields() > MaxStruct {
    			return false
    		}
    		for _, t1 := range t.Fields() {
    			if !CanSSA(t1.Type) {
    				return false
    			}
    		}
    		return true
    	default:
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    	case types.TSTRING:
    		// struct { byte *str; int len; }
    		clobberPtr(b, v, offset)
    
    	case types.TINTER:
    		// struct { Itab *tab; void *data; }
    		// or, when isnilinter(t)==true:
    		// struct { Type *type; void *data; }
    		clobberPtr(b, v, offset)
    		clobberPtr(b, v, offset+int64(types.PtrSize))
    
    	case types.TSLICE:
    		// struct { byte *array; int len; int cap; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/expr.go

    // index'th field of the given expression, which must be of struct or
    // pointer-to-struct type.
    func DotField(pos src.XPos, x ir.Node, index int) *ir.SelectorExpr {
    	op, typ := ir.ODOT, x.Type()
    	if typ.IsPtr() {
    		op, typ = ir.ODOTPTR, typ.Elem()
    	}
    	if !typ.IsStruct() {
    		base.FatalfAt(pos, "DotField of non-struct: %L", x)
    	}
    
    	// TODO(mdempsky): This is the backend's responsibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/typecheck.go

    	types.TFLOAT32:    "float32",
    	types.TFLOAT64:    "float64",
    	types.TBOOL:       "bool",
    	types.TSTRING:     "string",
    	types.TPTR:        "pointer",
    	types.TUNSAFEPTR:  "unsafe.Pointer",
    	types.TSTRUCT:     "struct",
    	types.TINTER:      "interface",
    	types.TCHAN:       "chan",
    	types.TMAP:        "map",
    	types.TARRAY:      "array",
    	types.TSLICE:      "slice",
    	types.TFUNC:       "func",
    	types.TNIL:        "nil",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. pkg/slices/slices_test.go

    			}
    		})
    	}
    }
    
    // nolint: unused
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    func makeRandomStructs(n int) []*myStruct {
    	rand.Seed(42) // nolint: staticcheck
    	structs := make([]*myStruct, n)
    	for i := 0; i < n; i++ {
    		structs[i] = &myStruct{n: rand.Intn(n)} // nolint: gosec
    	}
    	return structs
    }
    
    const N = 100_000
    
    func BenchmarkSort(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. pkg/bootstrap/option/convert.go

    	"istio.io/istio/pkg/wellknown"
    )
    
    // TransportSocket wraps UpstreamTLSContext
    type TransportSocket struct {
    	Name        string          `json:"name,omitempty"`
    	TypedConfig *pstruct.Struct `json:"typed_config,omitempty"`
    }
    
    // TCPKeepalive wraps is a thin JSON for xDS proto
    type TCPKeepalive struct {
    	KeepaliveProbes   *wrappers.UInt32Value `json:"keepalive_probes,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    	Ivsize      uint32
    }
    
    type CryptoReportComp struct {
    	Type [64]int8
    }
    
    type CryptoReportRNG struct {
    	Type     [64]int8
    	Seedsize uint32
    }
    
    type CryptoReportAKCipher struct {
    	Type [64]int8
    }
    
    type CryptoReportKPP struct {
    	Type [64]int8
    }
    
    type CryptoReportAcomp struct {
    	Type [64]int8
    }
    
    type LoopInfo struct {
    	Number           int32
    	Device           uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

    	Ivsize      uint32
    }
    
    type CryptoReportComp struct {
    	Type [64]int8
    }
    
    type CryptoReportRNG struct {
    	Type     [64]int8
    	Seedsize uint32
    }
    
    type CryptoReportAKCipher struct {
    	Type [64]int8
    }
    
    type CryptoReportKPP struct {
    	Type [64]int8
    }
    
    type CryptoReportAcomp struct {
    	Type [64]int8
    }
    
    type LoopInfo struct {
    	Number           int32
    	Device           uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go

    	Ivsize      uint32
    }
    
    type CryptoReportComp struct {
    	Type [64]int8
    }
    
    type CryptoReportRNG struct {
    	Type     [64]int8
    	Seedsize uint32
    }
    
    type CryptoReportAKCipher struct {
    	Type [64]int8
    }
    
    type CryptoReportKPP struct {
    	Type [64]int8
    }
    
    type CryptoReportAcomp struct {
    	Type [64]int8
    }
    
    type LoopInfo struct {
    	Number           int32
    	Device           uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top