Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for lineB (0.25 sec)

  1. src/go/printer/nodes.go

    		if 0 < b && b < e {
    			// list spans multiple lines
    			n := 0 // multi-line element count
    			line := b
    			for _, x := range list {
    				xb := p.lineFor(x.Pos())
    				xe := p.lineFor(x.End())
    				if line < xb {
    					// x is not starting on the same
    					// line as the previous one ended
    					return true
    				}
    				if xb < xe {
    					// x is a multi-line element
    					n++
    				}
    				line = xe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    	outbuf := new(strings.Builder)
    	maxLineLength := len(line1) + len(restData)/2
    	l := NewReaderSize(inbuf, maxLineLength)
    	line, isPrefix, err := l.ReadLine()
    	if isPrefix || err != nil || string(line) != line1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    	// gc error messages continue onto additional lines with leading tabs.
    	// Split the output at the beginning of each line that doesn't begin with a tab.
    	// <autogenerated> lines are impossible to match so those are filtered out.
    	var res []string
    	for _, line := range strings.Split(out, "\n") {
    		if strings.HasSuffix(line, "\r") { // remove '\r', output by compiler on windows
    			line = line[:len(line)-1]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/go/build/build.go

    	ended := false       // found non-blank, non-// line, so stopped accepting //go:build lines
    	inSlashStar := false // in /* */ comment
    
    Lines:
    	for len(p) > 0 {
    		line := p
    		if i := bytes.IndexByte(line, '\n'); i >= 0 {
    			line, p = line[:i], p[i+1:]
    		} else {
    			p = p[len(p):]
    		}
    		line = bytes.TrimSpace(line)
    		if len(line) == 0 && !ended { // Blank line
    			// Remember position of most recent blank line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. 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)
  6. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                }
            }
    
            String[] lines = NEXT_LINE.split(msg);
            String currentColor = "";
    
            for (int i = 0; i < lines.length; i++) {
                // add eventual current color inherited from previous line
                String line = currentColor + lines[i];
    
                // look for last ANSI escape sequence to check if nextColor
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/proxy/iptables/proxier.go

    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesLastSync.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableNAT)).Set(float64(proxier.natRules.Lines() + skippedNatRules.Lines() - deletedChains))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/extractor/eml/sample2.eml

    <!--<![endif]-->
    <tbody>
    <tr>
    <td width="50" style="width:50px;padding:0;margin:0;line-height:1px;font-size:1px;" class="margins"></td>
    <td align="center" style="padding:0;margin:0;line-height:1px;font-size:1px;">
    <table width="100%" align="left" cellpadding="0" cellspacing="0" border="0" class="collapse" style="padding:0;margin:0;line-height:1px;font-size:1px;">
    <tbody>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sat Jan 16 07:50:35 UTC 2016
    - 91.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    			// //line directives must be at the start of the line (column colbase).
    			// /*line*/ directives can be anywhere in the line.
    			text := commentText(msg)
    			if (col == colbase || msg[1] == '*') && strings.HasPrefix(text, "line ") {
    				var pos Pos // position immediately following the comment
    				if msg[1] == '/' {
    					// line comment (newline is part of the comment)
    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top