- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 426 for Positions (0.26 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptDependenciesResolver.kt
private fun Report.error(message: String, position: Position? = null) = invoke(ReportSeverity.ERROR, message, position) private fun Report.fatal(message: String, position: Position? = null) = invoke(ReportSeverity.FATAL, message, position) private fun Report.editorReport(editorReport: EditorReport) = editorReport.run { invoke(severity.toIdeSeverity(), message, position?.toIdePosition()) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 11.6K 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/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) -
platforms/documentation/docs-asciidoctor-extensions-base/src/main/resources/multi-language-samples.css
background-position: 17px 80%; background-repeat: no-repeat; background-size: 11px 11px; padding-left: 2.3em; } .multi-language-selector { display: block; } .multi-language-selector .language-option[data-lang='groovy'] { background-position: 20px center; padding-left: 32px; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 00:27:34 UTC 2024 - 19.7K bytes - Viewed (0) -
pkg/util/iptree/iptree.go
for bitPosition < mask { // Look for a child checking the bit position after the mask n = n.child[getBitFromAddr(address, bitPosition+1)] if n == nil { return zeroT, false } // check we are in the right branch comparing the suffixes if !n.prefix.Contains(address) { return zeroT, false } // update the new bit position with the new node mask bitPosition = n.prefix.Bits() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
// with context specified by the -c flag. func PrintPlain(fset *token.FileSet, diag analysis.Diagnostic) { posn := fset.Position(diag.Pos) fmt.Fprintf(os.Stderr, "%s: %s\n", posn, diag.Message) // -c=N: show offending line plus N lines of context. if Context >= 0 { posn := fset.Position(diag.Pos) end := fset.Position(diag.End) if !end.IsValid() { end = posn } data, _ := os.ReadFile(posn.Filename)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
// error handler eh := func(_ token.Position, msg string) { t.Errorf("error handler called (msg = %s)", msg) } // verify scan var s Scanner s.Init(fset.AddFile("", fset.Base(), len(source)), source, eh, ScanComments|dontInsertSemis) // set up expected position epos := token.Position{ Filename: "", Offset: 0, Line: 1, Column: 1, }
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/cmd/vendor/rsc.io/markdown/parse.go
type Block interface { Pos() Position PrintHTML(buf *bytes.Buffer) printMarkdown(buf *bytes.Buffer, s mdState) } type mdState struct { prefix string prefix1 string // for first line only bullet rune // for list items num int // for numbered list items } type Position struct { StartLine int EndLine int } func (p Position) Pos() Position { return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h
* * @param pos The 1-based position of the suite to fetch. * @return Returns a pointer to the suite, or 0 if not found or an error occurred. * @see CU_get_suite() */ CU_EXPORT unsigned int CU_get_suite_pos(CU_pSuite pSuite); /**< * Looks up the position of the specified suite. * The position is a 1-based index of suites in the active test registry which
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 40.4K bytes - Viewed (0)