- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for mpos (0.04 sec)
-
src/cmd/compile/internal/ssa/regalloc.go
func (s *regAllocState) allocValToReg(v *Value, mask regMask, nospill bool, pos src.XPos) *Value { if s.f.Config.ctxt.Arch.Arch == sys.ArchWasm && v.rematerializeable() { c := v.copyIntoWithXPos(s.curBlock, pos) c.OnWasmStack = true s.setOrig(c, v) return c } if v.OnWasmStack { return v } vi := &s.values[v.ID] pos = pos.WithNotStmt() // Check if v is already in a requested register.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/go/parser/parser.go
s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"} p.next() case token.RBRACE: // a semicolon may be omitted before a closing "}" s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: true} default: // no statement found pos := p.pos p.errorExpected(pos, "statement") p.advance(stmtStart) s = &ast.BadStmt{From: pos, To: p.pos} } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
if isParam && p.tok == token.ELLIPSIS { pos := p.pos p.next() typ := p.tryIdentOrType(isParam) // don't use parseType so we can provide better error message if typ == nil { p.error(pos, "'...' parameter is missing type") typ = &ast.BadExpr{pos, p.pos} } if p.tok != token.RPAREN { p.error(pos, "can use '...' with last parameter type only") } return &ast.Ellipsis{pos, typ} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} } // indexFor returns the index into s corresponding to the position pos. func indexFor(s string, pos syntax.Pos) int { i, line := 0, 1 // string index and corresponding line target := int(pos.Line()) for line < target && i < len(s) { if s[i] == '\n' { line++ } i++ } return i + int(pos.Col()-1) // columns are 1-based } func TestIssue8518(t *testing.T) {
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/go/types/expr.go
} // Ensure that integer values don't overflow (go.dev/issue/54280). check.overflow(x, e.Pos()) case *ast.FuncLit: if sig, ok := check.typ(e.Type).(*Signature); ok { // Set the Scope's extent to the complete "func (...) {...}" // so that Scope.Innermost works correctly. sig.scope.pos = e.Pos() sig.scope.end = e.End() if !check.conf.IgnoreFuncBodies && e.Body != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
// event spam that those failures would generate. batchSize := min(createDiff, controller.SlowStartInitialBatchSize) for pos := 0; createDiff > pos; batchSize, pos = min(2*batchSize, createDiff-(pos+batchSize)), pos+batchSize { errorCount := len(errCh) createWait.Add(batchSize) for i := pos; i < pos+batchSize; i++ { go func(ix int) { defer createWait.Done() podTemplate := template.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
if op_def is None: return None pos = tf_inspect.getfullargspec(func).args.index(str(name)) if pos < len(op_def.input_arg): arg_def = op_def.input_arg[pos] return {_get_type_from_proto(arg_def)} elif pos < len(op_def.input_arg) + len(op_def.attr) - len(derived_attrs): non_derived_attr_pos = pos - len(op_def.input_arg) for attr_def in op_def.attr:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
&& setPos(v, x.Pos) && clobber(x) => (STMG2 [i-8] {s} p w0 w1 mem) (MOVDstore [i] {s} p w2 x:(STMG2 [i-16] {s} p w0 w1 mem)) && x.Uses == 1 && is20Bit(int64(i)-16) && setPos(v, x.Pos) && clobber(x) => (STMG3 [i-16] {s} p w0 w1 w2 mem) (MOVDstore [i] {s} p w3 x:(STMG3 [i-24] {s} p w0 w1 w2 mem)) && x.Uses == 1 && is20Bit(int64(i)-24) && setPos(v, x.Pos) && clobber(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); string device_name(dev); if (device_name.find("GPU:0") != string::npos) { has_gpu0 = true; } if (device_name.find("GPU:1") != string::npos) { has_gpu1 = true; } } const char* kCPUDevice = "CPU:0"; if (!has_gpu0 || !has_gpu1) { TF_DeleteDeviceList(devices);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
src/encoding/json/decode_test.go
return []byte(u.A + ":" + u.B), nil } func (u *unmarshalerText) UnmarshalText(b []byte) error { pos := bytes.IndexByte(b, ':') if pos == -1 { return errors.New("missing separator") } u.A, u.B = string(b[:pos]), string(b[pos+1:]) return nil } var _ encoding.TextUnmarshaler = (*unmarshalerText)(nil) type ustructText struct { M unmarshalerText }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0)