Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 594 for endLine (0.16 sec)

  1. src/go/printer/testdata/parser.go

    func (p *parser) consumeComment() (comment *ast.Comment, endline int) {
    	// /*-style comments may end on a different line than where they start.
    	// Scan the comment for '\n' chars and adjust endline accordingly.
    	endline = p.file.Line(p.pos)
    	if p.lit[1] == '*' {
    		// don't use range here - no need to decode Unicode code points
    		for i := 0; i < len(p.lit); i++ {
    			if p.lit[i] == '\n' {
    				endline++
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/table.go

    }
    
    func (t *Table) printMarkdown(buf *bytes.Buffer, s mdState) {
    }
    
    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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            }
        }
    
        void assertIsAtEndOfLine() {
            int endLine = index + expected.length()
            if (endLine == actual.length()) {
                return
            }
            if (!actual.substring(endLine).startsWith('\n')) {
                throw new AssertionError("Expected content '$expected' is not at the end of a line in output $actual.")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. src/go/parser/parser.go

    func (p *parser) consumeComment() (comment *ast.Comment, endline int) {
    	// /*-style comments may end on a different line than where they start.
    	// Scan the comment for '\n' chars and adjust endline accordingly.
    	endline = p.file.Line(p.pos)
    	if p.lit[1] == '*' {
    		// don't use range here - no need to decode Unicode code points
    		for i := 0; i < len(p.lit); i++ {
    			if p.lit[i] == '\n' {
    				endline++
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/parse.go

    	nl     byte // newline character ending this line: \r or \n or zero for EOF
    }
    
    func (p *parseState) addLine(s line) {
    	// Process continued prefixes.
    	p.lineDepth = 0
    	for ; p.lineDepth+1 < len(p.stack); p.lineDepth++ {
    		old := s
    		var ok bool
    		s, ok = p.stack[p.lineDepth+1].builder.extend(p, s)
    		if !old.isBlank() && (ok || s != old) {
    			p.stack[p.lineDepth+1].pos.EndLine = p.lineno
    		}
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

        }
    
        private static String linesBetween(File file, String beginLine, String endLine) {
            return file.withReader('utf-8') { reader ->
                reader.lines().iterator()
                    .dropWhile { it != beginLine }
                    .drop(1)
                    .takeWhile { it != endLine }
                    .collect()
                    .join('\n')
            }
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. src/encoding/csv/reader.go

    			return records, nil
    		}
    		if err != nil {
    			return nil, err
    		}
    		records = append(records, record)
    	}
    }
    
    // readLine reads the next line (with the trailing endline).
    // If EOF is hit without a trailing endline, it will be omitted.
    // If some bytes were read, then the error is never [io.EOF].
    // The result is only valid until the next call to readLine.
    func (r *Reader) readLine() ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/go/printer/nodes.go

    			}
    		}
    		return
    	}
    
    	prev := p.posFor(prev0)
    	next := p.posFor(next0)
    	line := p.lineFor(list[0].Pos())
    	endLine := p.lineFor(list[len(list)-1].End())
    
    	if prev.IsValid() && prev.Line == line && line == endLine {
    		// all list entries on a single line
    		for i, x := range list {
    			if i > 0 {
    				// use position of expression following the comma as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/engine.go

    // before returning. To stop those, use [State.CloseAndWait] or the
    // [Wait] command.
    func (e *Engine) Execute(s *State, file string, script *bufio.Reader, log io.Writer) (err error) {
    	defer func(prev *Engine) { s.engine = prev }(s.engine)
    	s.engine = e
    
    	var sectionStart time.Time
    	// endSection flushes the logs for the current section from s.log to log.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  10. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    eof f.offset=="number"){let d=this.fromOffset(f.offset);s=d.line,o=d.col}else s=f.line,o=f.column}else if(!r){let c=this.fromOffset(t);t=c.line,r=c.col}let u=this.origin(t,r,s,o);return u?a=new ec(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,n.plugin):a=new ec(e,s===void 0?t:{line:t,column:r},s===void 0?r:{line:s,column:o},this.css,this.file,n.plugin),a.input={line:t,column:r,endLine:s,endColumn:o,source...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top