- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 536 for Positions (0.51 sec)
-
src/go/types/errors.go
type atPos token.Pos func (s atPos) Pos() token.Pos { return token.Pos(s) } // posSpan holds a position range along with a highlighted position within that // range. This is used for positioning errors, with pos by convention being the // first position in the source where the error is known to exist, and start // and end defining the full span of syntax being considered when the error was
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/types/version.go
} return true } // TODO(gri) Consider a more direct (position-independent) mechanism // to identify which file we're in so that version checks // work correctly in the absence of correct position info. // fileFor returns the *ast.File which contains the position pos. // If there are no files, the result is nil. // The position must be valid. func (check *Checker) fileFor(pos token.Pos) *ast.File {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 23:12:40 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Cursor.java
/** * A virtual console screen cursor. This class avoid complex screen position management. */ public class Cursor { int col; // count from left of screen, 0 = left most int row; // count from bottom of screen, 0 = bottom most, 1 == 2nd from bottom @SuppressWarnings("ReferenceEquality") public void copyFrom(Cursor position) { if (position == this) { return; } this.col = position.col;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 2.3K bytes - Viewed (0) -
src/text/scanner/scanner.go
"unicode" "unicode/utf8" ) // Position is a value that represents a source position. // A position is valid if Line > 0. type Position struct { Filename string // filename, if any Offset int // byte offset, starting at 0 Line int // line number, starting at 1 Column int // column number, starting at 1 (character count per line) } // IsValid reports whether the position is valid.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt
events.add(LogEvent(event, prettyPrinted)) } } override fun invoke(severity: ReportSeverity, message: String, position: Position?) { println("[EDITOR_$severity] '$message' ${position?.line ?: ""}") reports.add(IdeReport(severity, message, position)) } fun clear() { events.clear() reports.clear() } fun assertSuccessScenario() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:12:50 UTC 2024 - 14.3K bytes - Viewed (0) -
src/math/unsafe.go
// with the sign bit of f and the result in the same bit position. // Float32bits(Float32frombits(x)) == x. func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) } // Float32frombits returns the floating-point number corresponding // to the IEEE 754 binary representation b, with the sign bit of b // and the result in the same bit position. // Float32frombits(Float32bits(x)) == x.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 1.6K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_impl.go
rb.InsertRuleV4(command, chain, table, position, params...) rb.InsertRuleV6(command, chain, table, position, params...) return rb } // nolint lll func (rb *IptablesRuleBuilder) insertInternal(ipt *[]*Rule, command log.Command, chain string, table string, position int, params ...string) *IptablesRuleBuilder { rules := params
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/read.go
type CommentBlock struct { Comments Start Position } func (x *CommentBlock) Span() (start, end Position) { return x.Start, x.Start } // A Line is a single line of tokens. type Line struct { Comments Start Position Token []string InBlock bool End Position } func (x *Line) Span() (start, end Position) { return x.Start, x.End }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
} return &error_{check: check, code: code} } // addf adds formatted error information to err. // It may be called multiple times to provide additional information. // The position of the first call to addf determines the position of the reported Error. // Subsequent calls to addf provide additional information in the form of additional lines // in the error message (types2) or continuation errors identified by a tab-indented error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtVisibilityCheckerMixIn.kt
candidateSymbol: KaSymbolWithVisibility, useSiteFile: KaFileSymbol, receiverExpression: KtExpression? = null, position: PsiElement ): Boolean = withValidityAssertion { analysisSession.visibilityChecker.isVisible(candidateSymbol, useSiteFile, position, receiverExpression) } /** * Returns true for effectively public symbols, including internal declarations with @PublishedApi annotation.
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 1.9K bytes - Viewed (0)