- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 320 for line_ (0.06 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
public class DaemonContextParser { @Nullable public static DaemonContext parseFromFile(DaemonLogFile log, GradleVersion version) { try (Stream<String> lines = log.lines()) { return lines.map(line -> parseFrom(line, version)).filter(Objects::nonNull).findFirst().orElse(null); } catch (IOException | UncheckedIOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0) -
src/go/ast/import.go
for _, c := range g.cg.List { if g.left { c.Slash = pos[i].Start - 1 } else { // An import spec can have both block comment and a line comment // to its right. In that case, both of them will have the same pos. // But while formatting the AST, the line comment gets moved to // after the block comment. c.Slash = pos[i].End } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go
l := sample.Location[i] lines := l.Line if len(lines) == 0 { lines = []profile.Line{{}} // Create empty line to include location info. } for lidx := len(lines) - 1; lidx >= 0; lidx-- { nodeMap := parentNodeMap[parent] if nodeMap == nil { nodeMap = make(NodeMap) parentNodeMap[parent] = nodeMap } n := nodeMap.findOrInsertLine(l, lines[lidx], o) if n == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
for scan.Scan() { line := strings.TrimSpace(scan.Text()) if line == "" || line[0] == '#' { continue } matches := apiFileLineRegexp.FindStringSubmatch(line) if len(matches) == 0 { return nil, fmt.Errorf("%s: malformed line %q", filename, line) } if len(matches) != 5 { return nil, fmt.Errorf("wrong number of matches for line %q", line) } f := APIFeature{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
var prefix []byte for _, c := range lines[0] { if c != '\t' { break } prefix = append(prefix, byte('\t')) } // Remove prefix from all tabs, fail otherwise. for i := range lines { line := lines[i] // It's OK for the last line to be blank (trailing \n) if i == len(lines)-1 && len(line) <= len(prefix) && bytes.TrimSpace(line) == nil { lines[i] = []byte{} break }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt
Assignment [indexes: 0..5, line/column: 1/1..1/6, file: test] ( lhs = PropertyAccess [indexes: 0..1, line/column: 1/1..1/2, file: test] ( name = a ) rhs = IntLiteral [indexes: 4..5, line/column: 1/5..1/6, file: test] (1) ) Assignment [indexes: 6..16, line/column: 2/1..2/11, file: test] (
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 19.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java
// ... we can report the line, column, and extent ... spec.lineInFileLocation(resourceName, line, column, end - position); } else { // ... otherwise we can still report the line and column spec.lineInFileLocation(resourceName, line, column); } } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 06:17:43 UTC 2024 - 11.5K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
} prof = strings.Trim(prof, "\n") lines := strings.Split(prof, "\n") if len(lines) < 6 { t.Fatalf("expected >=6 lines, got %d %q\n%s", len(lines), prof, prof) } // checking that the line is like "35258904 1 @ 0x48288d 0x47cd28 0x458931" r2 := `^\d+ \d+ @(?: 0x[[:xdigit:]]+)+` if ok, err := regexp.MatchString(r2, lines[3]); err != nil || !ok { t.Errorf("%q didn't match %q", lines[3], r2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/crypto/rsa/pss_test.go
var partialValue string lastWasValue := true for scanner.Scan() { line := scanner.Text() switch { case len(line) == 0: if len(partialValue) > 0 { values <- strings.ReplaceAll(partialValue, " ", "") partialValue = "" lastWasValue = true } continue case strings.HasPrefix(line, "# ======") && lastWasValue: values <- newKeyMarker lastWasValue = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/edit.go
rewrite the go.mod file. The only time this flag is needed is if no other flags are specified, as in 'go work edit -fmt'. The -godebug=key=value flag adds a godebug key=value line, replacing any existing godebug lines with the given key. The -dropgodebug=key flag drops any existing godebug lines with the given key. The -use=path and -dropuse=path flags add and drop a use directive from the go.work file's set of module directories.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 11K bytes - Viewed (0)