Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for slicelit (0.71 sec)

  1. src/reflect/value.go

    	return Value{&typ.(*rtype).t, unsafe.Pointer(&s), flagIndir | flag(Slice)}
    }
    
    // SliceAt returns a [Value] representing a slice whose underlying
    // data starts at p, with length and capacity equal to n.
    //
    // This is like [unsafe.Slice].
    func SliceAt(typ Type, p unsafe.Pointer, n int) Value {
    	unsafeslice(typ.common(), p, n)
    	s := unsafeheader.Slice{Data: p, Len: n, Cap: n}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    		c := auxIntToInt32(v_0_1.AuxInt)
    		v.reset(OpConst32)
    		v.Type = t
    		v.AuxInt = int32ToAuxInt(c)
    		return true
    	}
    	// match: (SliceLen (SliceMake _ (SliceLen x) _))
    	// result: (SliceLen x)
    	for {
    		if v_0.Op != OpSliceMake {
    			break
    		}
    		_ = v_0.Args[1]
    		v_0_1 := v_0.Args[1]
    		if v_0_1.Op != OpSliceLen {
    			break
    		}
    		x := v_0_1.Args[0]
    		v.reset(OpSliceLen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    				mayOverlap = false
    			}
    		}
    
    		// Evaluate RHS.
    		rhs := n.Y
    		if rhs != nil {
    			switch rhs.Op() {
    			case ir.OSTRUCTLIT, ir.OARRAYLIT, ir.OSLICELIT:
    				// All literals with nonzero fields have already been
    				// rewritten during walk. Any that remain are just T{}
    				// or equivalents. Use the zero value.
    				if !ir.IsZero(rhs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

    return launches;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

       `dimI` are the dimensions of the larger tensor and `slice-spec`
       specifies what part is covered by the tensor to save.
    
    `slice-spec` itself is a `:`-separated list: `slice0:slice1:...:sliceN-1`
    where each `sliceI` is either:
    
    *  The string `-` meaning that the slice covers all indices of this dimension
    *  `start,length` where `start` and `length` are integers.  In that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "SliceMake",
    		argLen:  3,
    		generic: true,
    	},
    	{
    		name:    "SlicePtr",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SliceLen",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SliceCap",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SlicePtrUnchecked",
    		argLen:  1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top