- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 306 for mpos (0.03 sec)
-
src/cmd/compile/internal/walk/switch.go
// Search within this run of same-length strings. pos := run[0].pos s.done.Append(ir.NewLabelStmt(pos, label)) stringSearch(s.exprname, run, &s.done) s.done.Append(ir.NewBranchStmt(pos, ir.OGOTO, endLabel)) // Add length case to outer switch. cas := ir.NewInt(pos, runLen(run)) jmp := ir.NewBranchStmt(pos, ir.OGOTO, label) outer.Add(pos, cas, nil, jmp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
// set up expected position epos := token.Position{ Filename: "", Offset: 0, Line: 1, Column: 1, } index := 0 for { pos, tok, lit := s.Scan() // check position if tok == token.EOF { // correction for EOF epos.Line = newlineCount(string(source)) epos.Column = 2 } checkPos(t, lit, pos, epos) // check token
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/go/types/errors.go
panic("nil positioner") case posSpan: return x case ast.Node: pos := x.Pos() return posSpan{pos, pos, x.End()} case *operand: if x.expr != nil { pos := x.Pos() return posSpan{pos, pos, x.expr.End()} } return posSpan{nopos, nopos, nopos} default: pos := at.Pos() return posSpan{pos, pos, pos} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/go/printer/gobuild.go
insert := 0 for pos := 0; ; { // Skip leading space at beginning of line. blank := true for pos < len(p.output) && (p.output[pos] == ' ' || p.output[pos] == '\t') { pos++ } // Skip over // comment if any. if pos+3 < len(p.output) && p.output[pos] == tabwriter.Escape && p.output[pos+1] == '/' && p.output[pos+2] == '/' { blank = false for pos < len(p.output) && !isNL(p.output[pos]) { pos++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
src/text/template/parse/lex.go
if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 { if x > 0 { l.pos += Pos(x) // Do we trim any trailing space? trimLength := Pos(0) delimEnd := l.pos + Pos(len(l.leftDelim)) if hasLeftTrimMarker(l.input[delimEnd:]) { trimLength = rightTrimLength(l.input[l.start:l.pos]) } l.pos -= trimLength l.line += strings.Count(l.input[l.start:l.pos], "\n") i := l.thisItem(itemText)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc
"tensorflow/compiler/mlir/tf2xla/api/v2/testdata/"); } size_t CountSubstring(absl::string_view str, absl::string_view substr) { size_t count = 0; size_t idx = str.find(substr); while (idx != std::string::npos) { count++; idx = str.find(substr, idx + 1); } return count; } class TensorflowDialectToExecutorTest : public ::testing::Test { public: TensorflowDialectToExecutorTest() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// Tag byte // 'V' // Pos Pos // Type typeOff // } // // type Func struct { // Tag byte // 'F' or 'G' // Pos Pos // TypeParams []typeOff // only present if Tag == 'G' // Signature Signature // } // // type Const struct { // Tag byte // 'C' // Pos Pos // Value Value // } //
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/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/main/java/jcifs/ntlmssp/Type2Message.java
pos += 8; if ( getFlag(NTLMSSP_NEGOTIATE_VERSION) ) { System.arraycopy(NTLMSSP_VERSION, 0, type2, pos, NTLMSSP_VERSION.length); pos += NTLMSSP_VERSION.length; } pos += writeSecurityBufferContent(type2, pos, targetNameOff, targetBytes); pos += writeSecurityBufferContent(type2, pos, targetInfoOff, targetInformationBytes);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0)