Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for RType (0.31 sec)

  1. src/cmd/compile/internal/reflectdata/helpers.go

    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return mapRType(pos, n.Type())
    }
    
    // MakeSliceElemRType asserts that n is a "make" operation for a slice
    // type, and returns an expression that yields the *runtime._type
    // value representing that slice type's element type.
    func MakeSliceElemRType(pos src.XPos, n *ir.MakeExpr) ir.Node {
    	assertOp2(n, ir.OMAKESLICE, ir.OMAKESLICECOPY)
    	if hasRType(n, n.RType, "RType") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/internal/reflectlite/type.go

    //
    //go:noescape
    func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer
    
    func (t rtype) nameOff(off nameOff) abi.Name {
    	return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t.Type), int32(off)))}
    }
    
    func (t rtype) typeOff(off typeOff) *abi.Type {
    	return (*abi.Type)(resolveTypeOff(unsafe.Pointer(t.Type), int32(off)))
    }
    
    func (t rtype) uncommon() *uncommonType {
    	return t.Uncommon()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/type.go

    // A DynamicType represents a type expression whose exact type must be
    // computed dynamically.
    type DynamicType struct {
    	miniExpr
    
    	// RType is an expression that yields a *runtime._type value
    	// representing the asserted type.
    	//
    	// BUG(mdempsky): If ITab is non-nil, RType may be nil.
    	RType Node
    
    	// ITab is an expression that yields a *runtime.itab value
    	// representing the asserted type within the assertee expression's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/reflect/badlinkname.go

    func badlinkname_rtype_Key(*rtype) Type
    
    //go:linkname badlinkname_rtype_Kind reflect.(*rtype).Kind
    func badlinkname_rtype_Kind(*rtype) Kind
    
    //go:linkname badlinkname_rtype_Len reflect.(*rtype).Len
    func badlinkname_rtype_Len(*rtype) int
    
    //go:linkname badlinkname_rtype_Method reflect.(*rtype).Method
    func badlinkname_rtype_Method(*rtype, int) Method
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/reflect/export_test.go

    		for _, off := range offs {
    			typ := (*rtype)(resolveTypeOff(rodata, off))
    			r = append(r, typ.String())
    		}
    	}
    	return r
    }
    
    var GCBits = gcbits
    
    func gcbits(any) []byte // provided by runtime
    
    func MapBucketOf(x, y Type) Type {
    	return toType(bucketOf(x.common(), y.common()))
    }
    
    func CachedBucketOf(m Type) Type {
    	t := m.(*rtype)
    	if Kind(t.t.Kind_&abi.KindMask) != Map {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    // Test cluster with bad `num_cores_per_replica` attribute.
    !rtype = tensor<!tf_type.resource<tensor<10x3xf32>>>
    func.func @replication_with_model_parallelism(%arg0: !rtype, %arg1: !rtype, %arg2: !rtype, %arg3: !rtype) -> (tensor<10x3xf32>) {
      %2 = "tf.TPUReplicatedInput"(%arg0, %arg2) : (!rtype, !rtype) -> !rtype
      %3 = "tf.TPUReplicatedInput"(%arg1, %arg3) : (!rtype, !rtype) -> !rtype
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadpe/ldpe.go

    					if r.Type == IMAGE_REL_AMD64_ADDR32NB {
    						rType = objabi.R_PEIMAGEOFF
    					} else {
    						rType = objabi.R_PCREL
    					}
    
    					rAdd = int64(int32(binary.LittleEndian.Uint32(state.sectdata[rsect][rOff:])))
    
    				case IMAGE_REL_I386_DIR32NB, IMAGE_REL_I386_DIR32:
    					if r.Type == IMAGE_REL_I386_DIR32NB {
    						rType = objabi.R_PEIMAGEOFF
    					} else {
    						rType = objabi.R_ADDR
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go

    	}
    	for _, s := range schemes {
    		for gvk, rtype := range s.AllKnownTypes() {
    			newGVK := gvkConvert(gvk)
    			exists := false
    			for _, existingGVK := range ret.typeGroupVersionKinds[typeName(rtype)] {
    				if newGVK == existingGVK {
    					exists = true
    					break
    				}
    			}
    			if !exists {
    				ret.typeGroupVersionKinds[typeName(rtype)] = append(ret.typeGroupVersionKinds[typeName(rtype)], newGVK)
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/runtime/type.go

    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    }
    
    func (t rtype) string() string {
    	s := t.nameOff(t.Str).Name()
    	if t.TFlag&abi.TFlagExtraStar != 0 {
    		return s[1:]
    	}
    	return s
    }
    
    func (t rtype) uncommon() *uncommontype {
    	return t.Uncommon()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	return int(t.t.Size_) * 8
    }
    
    func (t *rtype) Align() int { return t.t.Align() }
    
    func (t *rtype) FieldAlign() int { return t.t.FieldAlign() }
    
    func (t *rtype) Kind() Kind { return Kind(t.t.Kind()) }
    
    func (t *rtype) exportedMethods() []abi.Method {
    	ut := t.uncommon()
    	if ut == nil {
    		return nil
    	}
    	return ut.ExportedMethods()
    }
    
    func (t *rtype) NumMethod() int {
    	if t.Kind() == Interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top