- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for EndPos (0.19 sec)
-
subprojects/core/src/main/java/org/gradle/internal/problems/DefaultProblemLocationAnalyzer.java
endPos = failure.indexOfStackFrame(startPos + 1, GRADLE_CODE); if (endPos == -1) { endPos = stack.size(); } } lock.lock(); try { return locationFromStackRange(startPos, endPos, stack); } finally { lock.unlock(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 17:15:42 UTC 2024 - 5.5K bytes - Viewed (0) -
src/compress/flate/dict_decoder.go
// // This invariant must be kept: 0 < dist <= histSize() func (dd *dictDecoder) writeCopy(dist, length int) int { dstBase := dd.wrPos dstPos := dstBase srcPos := dstPos - dist endPos := dstPos + length if endPos > len(dd.hist) { endPos = len(dd.hist) } // Copy non-overlapping section after destination position. // // This section is non-overlapping in that the copy length for this section
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/util.go
// startPos returns the start position of node n. func startPos(n syntax.Node) syntax.Pos { return syntax.StartPos(n) } // endPos returns the position of the first character immediately after node n. func endPos(n syntax.Node) syntax.Pos { return syntax.EndPos(n) } // makeFromLiteral returns the constant value for the given literal string and kind. func makeFromLiteral(lit string, kind syntax.LitKind) constant.Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 2.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy
} int startPos = 0 int endPos = findEndIndexOfCurrentBuild(out, startPos) while (startPos < out.length()) { if (endPos == -1) { endPos = out.length() } results << createExecutionResult(out.substring(startPos, endPos), err) startPos = endPos endPos = findEndIndexOfCurrentBuild(out, startPos) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 11.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
// the returned position is the end position of the last enclosed // expression. // Thus, EndPos should not be used for exact demarcation of the // end of a node in the source; it is mostly useful to determine // scope ranges where there is some leeway. func EndPos(n Node) Pos { for m := n; ; { switch n := m.(type) { case nil: panic("nil node") // packages case *File:
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/go/types/util.go
// startPos returns the start position of node n. func startPos(n ast.Node) token.Pos { return n.Pos() } // endPos returns the position of the first character immediately after node n. func endPos(n ast.Node) token.Pos { return n.End() } // makeFromLiteral returns the constant value for the given literal string and kind.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 1.7K bytes - Viewed (0) -
test-site/app/models/ContentsCreator.java
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 3.7K bytes - Viewed (0) -
src/net/http/header.go
} // Check that start pos is on a valid token boundary. if sp > 0 && !isTokenBoundary(v[sp-1]) { continue } // Check that end pos is on a valid token boundary. if endPos := sp + len(token); endPos != len(v) && !isTokenBoundary(v[endPos]) { continue } if ascii.EqualFold(v[sp:sp+len(token)], token) { return true } } return false } func isTokenBoundary(b byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/read.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 23.1K bytes - Viewed (0) -
settings.gradle.kts
throw IllegalArgumentException("Could not locate the generated diagram in $markdownFile") } val endPos = content.subList(markerPos, content.size).indexOfFirst { it.contains(endDiagram) && !it.contains(startDiagram) } if (endPos < 0) { throw IllegalArgumentException("Could not locate the end of the generated diagram in $markdownFile") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 16.4K bytes - Viewed (0)