Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 820 for lineB (0.67 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/PropertiesUtils.java

            List<String> nonCommentLines;
            if (lastCommentLine != -1) {
                lines.remove(lastCommentLine);
                nonCommentLines = lines.subList(lastCommentLine, lines.size());
            } else {
                nonCommentLines = lines;
            }
    
            Collections.sort(nonCommentLines);
            StringBuilder builder = new StringBuilder();
            for (String line : lines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 14:17:21 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/pprof/pprof.go

    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    	file, line, fn := f.pcln.PCToLine(addr)
    	if fn != nil {
    		frame := []driver.Frame{
    			{
    				Func: fn.Name,
    				File: file,
    				Line: line,
    			},
    		}
    		return frame, nil
    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

                try (Stream<String> lines = Files.lines(uniqueLockFile, CHARSET)) {
                    lines.filter(empty.or(comment).negate())
                        .filter(line -> {
                            if (line.startsWith(EMPTY_RESOLUTIONS_ENTRY)) {
                                // This is a perf hack for handling the last line in the file in a special way
                                collectEmptyLockIds(line, emptyLockIds);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ArtifactResolutionOmittingOutputNormalizer.groovy

            List<String> lines = commandOutput.readLines()
            if (lines.empty) {
                return ""
            }
            boolean seenWarning = false
            List<String> result = new ArrayList<String>()
            for (String line : lines) {
                if (line.matches('Download .+')) {
                    // ignore
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    		lines          = strings.Split(crash, "\n")
    	)
    	for i := 0; i < len(lines); i++ {
    		line := lines[i]
    
    		// Read sentinel value.
    		if parentSentinel == 0 && strings.HasPrefix(line, "sentinel ") {
    			_, err := fmt.Sscanf(line, "sentinel %x", &parentSentinel)
    			if err != nil {
    				return nil, fmt.Errorf("can't read sentinel line")
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

                    return false;
                }
            }
            return true;
        }
    
        /**
         * Finds all the lines in the actual line that match any line in the expected list.
         *
         * @return a map of expected line index to a list of all actual line indices that match the expected line
         */
        private static Map<Integer, List<Integer>> findMatchingLines(List<String> expectedLines, List<String> actualLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    		if err != nil {
    			return nil, err
    		}
    
    		lines := strings.SplitAfter(string(content), "\n")
    		active := false
    		for lineno, line := range lines {
    			lineno++
    
    			// Ignore comments and commented-out code.
    			if i := strings.Index(line, "//"); i >= 0 {
    				line = line[:i]
    			}
    			line = strings.TrimSpace(line)
    
    			// We start checking code at a TEXT line for a frameless function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. pkg/log/config_test.go

    		"",
    	}
    
    	if len(lines) > len(patterns) {
    		t.Errorf("Expecting %d lines of output, but got %d", len(patterns), len(lines))
    
    		for i := len(patterns); i < len(lines); i++ {
    			t.Errorf("  Extra line of output: %s", lines[i])
    		}
    	}
    
    	for i, pat := range patterns {
    		t.Run(strconv.Itoa(i), func(t *testing.T) {
    			match, _ := regexp.MatchString(pat, lines[i])
    			if !match {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	}
    	lines := strings.Split(ename, "\n")
    	var lastPath string // empty or ends with .
    	for i, line := range lines {
    		path, rest := cutLastDot(line)
    		if len(path) == 0 {
    			continue // unchanged
    		}
    		if len(path) == 1 && path[0] == '"' {
    			lines[i] = lastPath + rest
    		} else {
    			lastPath = path + "."
    			// line unchanged
    		}
    	}
    	return strings.Join(lines, "\n") // trailing \n?
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java

        /** Calculate an incremental Id for a given string. */
        private Integer getIdByLine(String line) {
            int newId = stringList.size();
            Integer existingId = stringToId.put(line, newId);
            if (existingId == null) {
                stringList.add(line);
                return newId;
            } else {
                stringToId.put(line, existingId);
                return existingId;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top