Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for paragraph (0.17 sec)

  1. src/go/doc/testdata/bugpara.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bugpara
    
    // BUG(rsc): Sometimes bugs have multiple paragraphs.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 12 00:14:09 UTC 2019
    - 252 bytes
    - Viewed (0)
  2. src/go/doc/comment/doc.go

    (documentation comments), which are comments that immediately precede
    a top-level declaration of a package, const, func, type, or var.
    
    Go doc comment syntax is a simplified subset of Markdown that supports
    links, headings, paragraphs, lists (without nesting), and preformatted text blocks.
    The details of the syntax are documented at https://go.dev/doc/comment.
    
    To parse the text associated with a doc comment (after removing comment markers),
    use a [Parser]:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:05:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/putvarabbrevgen_test.go

    		if !ok || decl.Body == nil {
    			continue
    		}
    		if decl.Name.Name == "putvar" || decl.Name.Name == "putAbstractVar" {
    			// construct the simplified CFG
    			pvagraph, _ := pvacfgbody(t, &fset, cm, decl.Body.List)
    			funcs[decl.Name.Name+"Abbrev"] = pvacfgvisit(pvagraph, abbrevs)
    		}
    	}
    	abbrevslice := make([]string, len(abbrevs))
    	for abbrev, n := range abbrevs {
    		abbrevslice[n] = abbrev
    	}
    
    	buf := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go

    	rawDoc = strings.Split(rawDoc, "---")[0]
    
    	for _, line := range strings.Split(rawDoc, "\n") {
    		line = strings.TrimRight(line, " ")
    		leading := strings.TrimLeft(line, " ")
    		switch {
    		case len(line) == 0: // Keep paragraphs
    			delPrevChar()
    			buffer.WriteString("\n\n")
    		case strings.HasPrefix(leading, "TODO"): // Ignore one line TODOs
    		case strings.HasPrefix(leading, "+"): // Ignore instructions to the generators
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 07:33:58 UTC 2017
    - 7K bytes
    - Viewed (0)
Back to top