Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for StartLine (0.29 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                    var startLine = -1
                    var startColumn = -1
                    var endLine = -1
                    var endColumn = -1
    
                    var i = offset
                    var line = 1
                    var column = 1
                    while (i < text.length) {
                        if (i == realStartIndex) {
                            startLine = line
                            startColumn = column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build_read.go

    	// at the end of a line.
    	startLine := !first
    	var c byte
    	for r.err == nil && !r.eof {
    		c = r.readByteNoBuf()
    	Reswitch:
    		switch c {
    		default:
    			startLine = false
    
    		case '\n':
    			startLine = true
    
    		case ' ', '\t':
    			// leave startLine alone
    
    		case '"':
    			startLine = false
    			for r.err == nil {
    				if r.eof {
    					r.syntaxError()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. src/go/build/read.go

    	// at the end of a line.
    	startLine := !first
    	var c byte
    	for r.err == nil && !r.eof {
    		c = r.readByteNoBuf()
    	Reswitch:
    		switch c {
    		default:
    			startLine = false
    
    		case '\n':
    			startLine = true
    
    		case ' ', '\t':
    			// leave startLine alone
    
    		case '"':
    			startLine = false
    			for r.err == nil {
    				if r.eof {
    					r.syntaxError()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/rsc.io/markdown/table.go

    }
    
    func (b *tableBuilder) build(p buildState) Block {
    	pos := p.pos()
    	pos.StartLine-- // builder does not count header
    	pos.EndLine = pos.StartLine + 1 + len(b.rows)
    	t := &Table{
    		Position: pos,
    	}
    	width := tableCount(b.hdr)
    	t.Header = b.parseRow(p, b.hdr, pos.StartLine, width)
    	t.Align = b.parseAlign(b.delim, width)
    	t.Rows = make([][]*Text, len(b.rows))
    	for i, row := range b.rows {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            }
        }
    
        void assertHasPrefix(String pattern) {
            int startLine = actual.lastIndexOf('\n', index)
            if (startLine < 0) {
                startLine = 0
            } else {
                startLine += 1
            }
    
            String actualPrefix = actual.substring(startLine, index)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MappedPosition.java

        }
    
        @Override
        public Optional<Integer> endOffset() {
            return delegate.endOffset();
        }
    
        @Override
        public Optional<Integer> startLine() {
            return delegate.startLine();
        }
    
        @Override
        public Optional<Integer> startColumn() {
            return delegate.startColumn();
        }
    
        @Override
        public Optional<Integer> endLine() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/text/template/parse/lex.go

    // thisItem returns the item at the current input point with the specified type
    // and advances the input.
    func (l *lexer) thisItem(t itemType) item {
    	i := item{t, l.start, l.input[l.start:l.pos], l.startLine}
    	l.start = l.pos
    	l.startLine = l.line
    	return i
    }
    
    // emit passes the trailing text as an item back to the parser.
    func (l *lexer) emit(t itemType) stateFn {
    	return l.emitItem(l.thisItem(t))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  8. src/encoding/csv/reader.go

    type ParseError struct {
    	StartLine int   // Line where the record starts
    	Line      int   // Line where the error occurred
    	Column    int   // Column (1-based byte index) where the error occurred
    	Err       error // The actual error
    }
    
    func (e *ParseError) Error() string {
    	if e.Err == ErrFieldCount {
    		return fmt.Sprintf("record on line %d: %v", e.Line, e.Err)
    	}
    	if e.StartLine != e.Line {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/runtime/symtabinl_test.go

    				name = name[len(namePrefix):]
    			}
    			if !stringslite.HasPrefix(name, "tiu") {
    				t.Errorf("tiuTest+%#x: unexpected function %s", pc-pc1, name)
    			}
    
    			start := int(sf.startLine) - tiuStart
    			if start != wantStart[name] {
    				t.Errorf("tiuTest+%#x: want startLine %d, got %d", pc-pc1, wantStart[name], start)
    			}
    			if sf.funcID != abi.FuncIDNormal {
    				t.Errorf("tiuTest+%#x: bad funcID %v", pc-pc1, sf.funcID)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/cmd/internal/pgo/pprof.go

    	weight := make(map[NamedCallEdge]int64)
    	for _, n := range g.Nodes {
    		seenStartLine = seenStartLine || n.Info.StartLine != 0
    
    		canonicalName := n.Info.Name
    		// Create the key to the nodeMapKey.
    		namedEdge := NamedCallEdge{
    			CallerName:     canonicalName,
    			CallSiteOffset: n.Info.Lineno - n.Info.StartLine,
    		}
    
    		for _, e := range n.Out {
    			totalWeight += e.WeightValue()
    			namedEdge.CalleeName = e.Dest.Info.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top