Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,009 for line_ (0.07 sec)

  1. src/cmd/go/internal/envcmd/env.go

    		base.Fatalf("go: reading go env config: %v", err)
    	}
    	lines := strings.SplitAfter(string(data), "\n")
    	if lines[len(lines)-1] == "" {
    		lines = lines[:len(lines)-1]
    	} else {
    		lines[len(lines)-1] += "\n"
    	}
    	return lines
    }
    
    func updateEnvFile(add map[string]string, del map[string]bool) {
    	lines := readEnvFileLines(len(add) == 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/go/doc/comment/text.go

    	}
    }
    
    // wrap wraps words into lines of at most max runes,
    // minimizing the sum of the squares of the leftover lengths
    // at the end of each line (except the last, of course),
    // with a preference for ending lines at punctuation (.,:;).
    //
    // The returned slice gives the indexes of the first words
    // on each line in the wrapped text with a final entry of len(words).
    // Thus the lines are words[seq[0]:seq[1]], words[seq[1]:seq[2]],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/net/net_windows_test.go

    		want[cname] = addr
    		group = make(map[string]string)
    	}
    	lines := bytes.Split(out, []byte{'\r', '\n'})
    	for _, line := range lines {
    		if len(line) == 0 {
    			processGroup()
    			continue
    		}
    		i := bytes.IndexByte(line, ':')
    		if i == -1 {
    			t.Fatalf("line %q has no : in it", line)
    		}
    		group[string(line[:i])] = string(bytes.TrimSpace(line[i+1:]))
    	}
    	processGroup()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/internal/trace/raw/doc.go

    trace parsers.
    
    # Text format specification
    
    The trace text format produced and consumed by this package is a line-oriented
    format.
    
    The first line in each text trace is the header line.
    
    	Trace Go1.XX
    
    Following that is a series of event lines. Each event begins with an
    event name, followed by zero or more named unsigned integer arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		var line *Line
    		if r.Syntax == nil {
    			line = &Line{Token: []string{AutoQuote(r.Mod.Path), r.Mod.Version}}
    			r.Syntax = line
    			if r.Indirect {
    				r.setIndirect(true)
    			}
    		} else {
    			line = new(Line)
    			*line = *r.Syntax
    			if !line.InBlock && len(line.Token) > 0 && line.Token[0] == "require" {
    				line.Token = line.Token[1:]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprog/syscalls_linux.go

    		return false, false, err
    	}
    	status, err := io.ReadAll(os.NewFile(uintptr(fd), statusFile))
    	if err != nil {
    		return false, false, err
    	}
    	lines := bytes.Split(status, []byte{'\n'})
    	// Find the State line.
    	stateLineIdx := -1
    	for i, line := range lines {
    		if bytes.HasPrefix(line, []byte("State:")) {
    			stateLineIdx = i
    			break
    		}
    	}
    	if stateLineIdx < 0 {
    		// Malformed status file?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. common/config/.yamllint.yml

      comments: disable
      comments-indentation: disable
      document-end: disable
      document-start: disable
      empty-lines: disable
      empty-values: disable
      hyphens: enable
      indentation: disable
      key-duplicates: enable
      key-ordering: disable
      line-length: disable
      new-line-at-end-of-file: disable
      new-lines: enable
      octal-values: disable
      quoted-strings: disable
      trailing-spaces: disable
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 30 23:53:31 UTC 2020
    - 863 bytes
    - Viewed (0)
  8. src/internal/profile/merge.go

    		key.mappingID = l.Mapping.ID
    	}
    	lines := make([]string, len(l.Line)*2)
    	for i, line := range l.Line {
    		if line.Function != nil {
    			lines[i*2] = strconv.FormatUint(line.Function.ID, 16)
    		}
    		lines[i*2+1] = strconv.FormatInt(line.Line, 16)
    	}
    	key.lines = strings.Join(lines, "|")
    	return key
    }
    
    type locationKey struct {
    	addr, mappingID uint64
    	lines           string
    	isFolded        bool
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  9. cmd/genkubedocs/postprocessing.go

    // - The sections see also, that assumes file will be used as a main page
    func cleanupForInclude(md string) string {
    	lines := strings.Split(md, "\n")
    
    	cleanMd := ""
    	for i, line := range lines {
    		if i == 0 {
    			continue
    		}
    		if line == "### SEE ALSO" {
    			break
    		}
    
    		cleanMd += line
    		if i < len(lines)-1 {
    			cleanMd += "\n"
    		}
    	}
    
    	return cleanMd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/go/token/serialize_test.go

    			return fmt.Errorf("different size for %q: %d != %d", f.name, f.size, g.size)
    		}
    		for j, l := range f.lines {
    			m := g.lines[j]
    			if l != m {
    				return fmt.Errorf("different offsets for %q", f.name)
    			}
    		}
    		for j, l := range f.infos {
    			m := g.infos[j]
    			if l.Offset != m.Offset || l.Filename != m.Filename || l.Line != m.Line {
    				return fmt.Errorf("different infos for %q", f.name)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 17 15:02:55 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top