Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for indexer (0.32 sec)

  1. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.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 main
    
    import "strings"
    
    // Notes:
    //  - Integer types live in the low portion of registers. Upper portions are junk.
    //  - Boolean types use the low-order byte of a register. 0=false, 1=true.
    //    Upper bytes are junk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    // Copyright 2016 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 main
    
    import "strings"
    
    // Notes:
    //  - Integer types live in the low portion of registers. Upper portions are junk.
    //  - Boolean types use the low-order byte of a register. 0=false, 1=true.
    //    Upper bytes are junk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/fmt.go

    	case ODOTTYPE, ODOTTYPE2:
    		n := n.(*TypeAssertExpr)
    		exprFmt(n.X, s, nprec)
    		fmt.Fprintf(s, ".(%v)", n.Type())
    
    	case OINDEX, OINDEXMAP:
    		n := n.(*IndexExpr)
    		exprFmt(n.X, s, nprec)
    		fmt.Fprintf(s, "[%v]", n.Index)
    
    	case OSLICE, OSLICESTR, OSLICEARR, OSLICE3, OSLICE3ARR:
    		n := n.(*SliceExpr)
    		exprFmt(n.X, s, nprec)
    		fmt.Fprint(s, "[")
    		if n.Low != nil {
    			fmt.Fprint(s, n.Low)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM.rules

    ((ADDshiftLL|ORshiftLL|XORshiftLL) <typ.UInt16> [8] (SRLconst <typ.UInt16> [24] (SLLconst [16] x)) x) && buildcfg.GOARM.Version>=6 => (REV16 x)
    
    // use indexed loads and stores
    (MOVWload [0] {sym} (ADD ptr idx) mem) && sym == nil => (MOVWloadidx ptr idx mem)
    (MOVWstore [0] {sym} (ADD ptr idx) val mem) && sym == nil => (MOVWstoreidx ptr idx val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    void callGoWithString(void);
    */
    import "C"
    
    import (
    	"path"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    // Pass a func value from nestedCall to goCallback using an integer token.
    var callbackMutex sync.Mutex
    var callbackToken int
    var callbackFuncs = make(map[int]func())
    
    // nestedCall calls into C, back into Go, and finally to f.
    func nestedCall(f func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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