Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,165 for Tstruct (0.13 sec)

  1. 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)
  2. 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)
  3. src/reflect/all_test.go

    	{struct{ x int32 }{}, "int32"},
    	{struct{ x int64 }{}, "int64"},
    	{struct{ x uint }{}, "uint"},
    	{struct{ x uint8 }{}, "uint8"},
    	{struct{ x uint16 }{}, "uint16"},
    	{struct{ x uint32 }{}, "uint32"},
    	{struct{ x uint64 }{}, "uint64"},
    	{struct{ x float32 }{}, "float32"},
    	{struct{ x float64 }{}, "float64"},
    	{struct{ x int8 }{}, "int8"},
    	{struct{ x (**int8) }{}, "**int8"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/3-structs.md

    ### New structs package
    
    The new [structs] package provides
    types for struct fields that modify properties of
    the containing struct type such as memory layout.
    
    In this release, the only such type is
    [`HostLayout`](/pkg/structs#HostLayout)
    which indicates that a structure with a field of that
    type has a layout that conforms to host platform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:06:02 UTC 2024
    - 356 bytes
    - Viewed (0)
  5. hack/golangci-strict.yaml

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507023980
        - linters:
            - gosimple
          text: "S1016: should convert opts .* instead of using struct literal"
    
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507026758
        - linters:
            - gosimple
          text: "S1033: unnecessary guard around call to delete"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K 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. src/reflect/type.go

    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    }
    
    // ptrType represents a pointer type.
    type ptrType struct {
    	abi.PtrType
    }
    
    // sliceType represents a slice type.
    type sliceType struct {
    	abi.SliceType
    }
    
    // Struct field
    type structField = abi.StructField
    
    // structType represents a struct type.
    type structType struct {
    	abi.StructType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K 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