Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for reflectData (0.16 sec)

  1. src/cmd/compile/internal/walk/walk.go

    // license that can be found in the LICENSE file.
    
    package walk
    
    import (
    	"fmt"
    	"internal/abi"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/rttype"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    // The constant is known to runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    			// See comment in cmd/compile/internal/walk/convert.go:walkConvInterface
    			return false
    		}
    
    		reflectdata.MarkTypeUsedInInterface(val.Type(), l.Linksym())
    
    		var itab *ir.AddrExpr
    		if typ.IsEmptyInterface() {
    			itab = reflectdata.TypePtrAt(base.Pos, val.Type())
    		} else {
    			itab = reflectdata.ITabAddrAt(base.Pos, val.Type(), typ)
    		}
    
    		// Create a copy of l to modify while we emit data.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/reflectdata/helpers.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package reflectdata
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    func hasRType(n, rtype ir.Node, fieldName string) bool {
    	if rtype != nil {
    		return true
    	}
    
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/switch.go

    package walk
    
    import (
    	"fmt"
    	"go/constant"
    	"go/token"
    	"math/bits"
    	"sort"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/rttype"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/decodesym.go

    	"debug/elf"
    	"encoding/binary"
    	"internal/abi"
    	"log"
    )
    
    // Decoding the type.* symbols.	 This has to be in sync with
    // ../../runtime/type.go, or more specifically, with what
    // cmd/compile/internal/reflectdata/reflect.go stuffs in these.
    
    func decodeInuxi(arch *sys.Arch, p []byte, sz int) uint64 {
    	switch sz {
    	case 2:
    		return uint64(arch.ByteOrder.Uint16(p))
    	case 4:
    		return uint64(arch.ByteOrder.Uint32(p))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/internal/abi/type.go

    	ValueSize  uint8  // size of elem slot
    	BucketSize uint16 // size of bucket
    	Flags      uint32
    }
    
    // Note: flag values must match those used in the TMAP case
    // in ../cmd/compile/internal/reflectdata/reflect.go:writeType.
    func (mt *MapType) IndirectKey() bool { // store ptr to key instead of key itself
    	return mt.Flags&1 != 0
    }
    func (mt *MapType) IndirectElem() bool { // store ptr to elem instead of elem itself
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. src/internal/reflectlite/type.go

    	// It panics if the type's Kind is not Ptr.
    	Elem() Type
    
    	common() *abi.Type
    	uncommon() *uncommonType
    }
    
    /*
     * These data structures are known to the compiler (../../cmd/internal/reflectdata/reflect.go).
     * A few are known to ../runtime/type.go to convey to debuggers.
     * They are also known to ../runtime/type.go.
     */
    
    // A Kind represents the specific kind of type that a Type represents.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    	"fmt"
    	"os"
    	"sort"
    	"strings"
    
    	"cmd/compile/internal/abi"
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/bitvec"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/typebits"
    	"cmd/compile/internal/types"
    	"cmd/internal/notsha256"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    
    	rtabi "internal/abi"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/runtime/map.go

    func isEmpty(x uint8) bool {
    	return x <= emptyOne
    }
    
    // A header for a Go map.
    type hmap struct {
    	// Note: the format of the hmap is also encoded in cmd/compile/internal/reflectdata/reflect.go.
    	// Make sure this stays in sync with the compiler's definition.
    	count     int // # live cells == size of map.  Must be first (used by len() builtin)
    	flags     uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/order.go

    // license that can be found in the LICENSE file.
    
    package walk
    
    import (
    	"fmt"
    	"go/constant"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/staticinit"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top