Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for indexer (0.48 sec)

  1. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "MOVSSloadidx4", argLength: 3, reg: fploadidx, asm: "MOVSS", aux: "SymOff", symEffect: "Read"},                // fp32 load indexed by 4*i
    		{name: "MOVSDloadidx1", argLength: 3, reg: fploadidx, asm: "MOVSD", aux: "SymOff", symEffect: "Read"},                // fp64 load indexed by i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/3-iter.md

    The new [iter] package provides the basic definitions for working with
    user-defined iterators.
    
    The [slices] package adds several functions that work with iterators:
    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/compiler_internal.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    )
    
    // This file should not be copied to go/types.  See go.dev/issue/67477
    
    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		// MOVxloadidx: indexed loads
    		// load (Q=8,L=4,W=2,B=1) bytes from (arg0+scale*arg1+auxint+aux), arg2=mem.
    		// Results are zero-extended. (TODO: sign-extending indexed loads)
    		{name: "MOVBloadidx1", argLength: 3, reg: gploadidx, commutative: true, asm: "MOVBLZX", scale: 1, aux: "SymOff", typ: "UInt8", symEffect: "Read"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/test2json.go

    		}
    	}
    }
    
    // indexEOL finds the index of a line ending,
    // returning its position and output width.
    // A line ending is either a \n or the empty string just before a ^V not beginning a line.
    // The output width for \n is 1 (meaning it should be printed)
    // but the output width for ^V is 0 (meaning it should be left to begin the next line).
    func indexEOL(b []byte) (pos, wid int) {
    	for i, c := range b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/reflectdata/helpers.go

    		return n.RType
    	}
    	return mapRType(pos, n.Args[0].Type())
    }
    
    // IndexMapRType asserts that n is a map index operation, and returns
    // an expression that yields the *runtime._type value representing the
    // map type.
    func IndexMapRType(pos src.XPos, n *ir.IndexExpr) ir.Node {
    	assertOp(n, ir.OINDEXMAP)
    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return mapRType(pos, n.X.Type())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/complit.go

    	// put dynamics into array (5)
    	var index int64
    	for _, value := range n.List {
    		if value.Op() == ir.OKEY {
    			kv := value.(*ir.KeyExpr)
    			index = typecheck.IndexConst(kv.Key)
    			if index < 0 {
    				base.Fatalf("slicelit: invalid index %v", kv.Key)
    			}
    			value = kv.Value
    		}
    		a := ir.NewIndexExpr(base.Pos, vauto, ir.NewInt(base.Pos, index))
    		a.SetBounded(true)
    		index++
    
    		// TODO need to check bounds?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/imports/build.go

    	switch x := x.(type) {
    	case *constraint.TagExpr:
    		return matchTag(x.Tag, tags, prefer)
    	case *constraint.NotExpr:
    		return !eval(x.X, tags, !prefer)
    	case *constraint.AndExpr:
    		return eval(x.X, tags, prefer) && eval(x.Y, tags, prefer)
    	case *constraint.OrExpr:
    		return eval(x.X, tags, prefer) || eval(x.Y, tags, prefer)
    	}
    	panic(fmt.Sprintf("unexpected constraint expression %T", x))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    	return mms.indices[mms.mustGetSingleMainModule()]
    }
    
    func (mms *MainModuleSet) Index(m module.Version) *modFileIndex {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	return mms.indices[m]
    }
    
    func (mms *MainModuleSet) SetIndex(m module.Version, index *modFileIndex) {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	mms.indices[m] = index
    }
    
    func (mms *MainModuleSet) ModFile(m module.Version) *modfile.File {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (FMOVDload [off1] {sym} (ADDconst [off2] ptr) mem) && is32Bit(int64(off1)+off2)
    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    	(FMOVDload [off1+int32(off2)] {sym} ptr mem)
    
    // register indexed load
    (MOVDload  [off] {sym} (ADD ptr idx) mem) && off == 0 && sym == nil => (MOVDloadidx ptr idx mem)
    (MOVWUload [off] {sym} (ADD ptr idx) mem) && off == 0 && sym == nil => (MOVWUloadidx ptr idx mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
Back to top