- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 153 for indexer (1.21 sec)
-
src/cmd/compile/internal/typecheck/iexport.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Indexed package export. // // The indexed export data format is an evolution of the previous // binary export data format. Its chief contribution is introducing an // index table, which allows efficient random access of individual // declarations and inline function bodies. In turn, this allows
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
func walkAssignMapRead(init *ir.Nodes, n *ir.AssignListStmt) ir.Node { init.Append(ir.TakeInit(n)...) r := n.Rhs[0].(*ir.IndexExpr) walkExprListSafe(n.Lhs, init) r.X = walkExpr(r.X, init) r.Index = walkExpr(r.Index, init) t := r.X.Type() fast := mapfast(t) key := mapKeyArg(fast, r, r.Index, false) // from: // a,b = m[i] // to: // var,b = mapaccess2*(t, m, i) // a = *var a := n.Lhs[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/archive/tar/strconv.go
if !ok { return "", "", s, ErrHeader } // Parse the first token as a decimal integer. n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int if perr != nil || n < 5 || n > int64(len(s)) { return "", "", s, ErrHeader } n -= int64(len(nStr) + 1) // convert from index in s to index in rest if n <= 0 { return "", "", s, ErrHeader }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
case *KeyValueExpr: m = n.Value case *FuncLit: m = n.Body case *ParenExpr: m = n.X case *SelectorExpr: m = n.Sel case *IndexExpr: m = n.Index case *SliceExpr: for i := len(n.Index) - 1; i >= 0; i-- { if x := n.Index[i]; x != nil { m = x continue } } m = n.X case *AssertExpr: m = n.Type case *TypeSwitchGuard: m = n.X
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} if argErr.Index != test.wantAt { t.Errorf("Instantiate(%v, %v): error at index %d, want index %d", T, test.targs, argErr.Index, test.wantAt) } } } func TestArgumentErrorUnwrapping(t *testing.T) { var err error = &ArgumentError{ Index: 1, Err: Error{Msg: "test"}, } var e Error if !errors.As(err, &e) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
// These appear to be fine, but they fail the // integer constraint below, so okay them here. // Sample non-integer conversion: map[string]string -> *uint8 return v } if etypesign(from.Kind()) == 0 { s.Fatalf("CONVNOP unrecognized non-integer %v -> %v\n", from, to) return nil } // integer, same width, same sign return v case ir.OCONV:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/WasmOps.go
{name: "I64Load8S", asm: "I64Load8S", argLength: 2, reg: gpload, aux: "Int64", typ: "Int8"}, // read signed 8-bit integer from address arg0+aux, arg1=mem {name: "I64Load16U", asm: "I64Load16U", argLength: 2, reg: gpload, aux: "Int64", typ: "UInt16"}, // read unsigned 16-bit integer from address arg0+aux, arg1=mem
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} num = int16(amount) } else if p.peek() == '[' { // parses an element: [Index] p.get('[') tok := p.get(scanner.Int) index, err := strconv.ParseInt(tok.String(), 10, 16) p.get(']') if err != nil { p.errorf("parsing element index: %s", err) } isIndex = true isAmount = false num = int16(index) } switch p.arch.Family { case sys.ARM64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64error.s
// AVX512GATHER index/index #UD cases. VPGATHERQQ (BP)(X2*2), K1, X2 // ERROR "index and destination registers should be distinct" VPGATHERQQ (BP)(Y15*2), K1, Y15 // ERROR "index and destination registers should be distinct" VPGATHERQQ (BP)(Z20*2), K1, Z20 // ERROR "index and destination registers should be distinct" VPGATHERDQ (BP)(X2*2), K1, X2 // ERROR "index and destination registers should be distinct"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/xposmap.go
if l != nil { l.clear() } } m.lastIndex = -1 m.lastMap = nil } // mapFor returns the line range map for a given file index. func (m *xposmap) mapFor(index int32) *biasedSparseMap { if index == m.lastIndex { return m.lastMap } mf := m.maps[index] m.lastIndex = index m.lastMap = mf return mf } // set inserts p->v into the map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:48:16 UTC 2019 - 3.3K bytes - Viewed (0)