Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for parseNodes (0.12 sec)

  1. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportParser.groovy

            def nodeLines = reportLines[FIRST_NODE_LINE_NUMBER..-1]
    
            return new ParsedModelReport(
                getTitle(reportLines),
                reportLines,
                nodeOnlyLines(nodeLines),
                parseNodes(nodeLines)
            )
        }
    
        private static void validate(String text) {
            assert text: 'Report text must not be blank'
            def reportLines = text.readLines()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 21 18:45:57 UTC 2018
    - 5.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            return lines.findAll { it.startsWith(prefix + ":") }.collect { it.substring(prefix.length() + 1) }
        }
    
        List<ParsedNode> parseNodes(List<String> nodes) {
            nodes.collect { parseNode(it) }
        }
    
        ParsedNode parseNode(String line) {
            int start = 1
            // we look for ][ instead of just ], because of that one test that checks that we can have random characters in id
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportOutput.groovy

         * Each node of the subtree is then verified against the expected structure.
         */
        void hasNodeStructure(ReportNode expectedNode) {
            def parsedNodes = parsedModelReport.reportNode
            def actualNode = parsedNodes.findFirstByName(expectedNode.name())
            assert actualNode: "Could not find the first node to begin comparison"
            checkNodes(actualNode, expectedNode)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 02 20:49:19 UTC 2015
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    	Name string // Contents of the "name" field, omitting the trailing zero byte.
    	Desc []byte // Contents of the "desc" field.
    	Type uint32 // Contents of the "type" field.
    }
    
    // parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment.
    func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) {
    	r := bufio.NewReader(reader)
    
    	// padding returns the number of bytes required to pad the given size to an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top