Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for paragraph (0.18 sec)

  1. src/runtime/metrics/description_test.go

    		}
    		samples = samples[1:]
    	}
    }
    
    func wrap(prefix, text string, width int) string {
    	doc := &comment.Doc{Content: []comment.Block{&comment.Paragraph{Text: []comment.Text{comment.Plain(text)}}}}
    	pr := &comment.Printer{TextPrefix: prefix, TextWidth: width}
    	return string(pr.Text(doc))
    }
    
    func formatDesc(t *testing.T) string {
    	var b strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/go/doc/comment/html.go

    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    func (p *htmlPrinter) block(out *bytes.Buffer, x Block) {
    	switch x := x.(type) {
    	default:
    		fmt.Fprintf(out, "?%T", x)
    
    	case *Paragraph:
    		if !p.tight {
    			out.WriteString("<p>")
    		}
    		p.text(out, x.Text)
    		out.WriteString("\n")
    
    	case *Heading:
    		out.WriteString("<h")
    		h := strconv.Itoa(p.headingLevel())
    		out.WriteString(h)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	case *md.HTMLBlock:
    		return strings.Join(b.Text, "\n")
    	case *md.List:
    		return blocksText(b.Items)
    	case *md.Item:
    		return blocksText(b.Blocks)
    	case *md.Empty:
    		return ""
    	case *md.Paragraph:
    		return text(b.Text)
    	case *md.Quote:
    		return blocksText(b.Blocks)
    	case *md.ThematicBreak:
    		return "---"
    	default:
    		panic(fmt.Sprintf("unknown block type %T", b))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/go/doc/comment/text.go

    	}
    	out.WriteByte('\n')
    }
    
    // block prints the block x to out.
    func (p *textPrinter) block(out *bytes.Buffer, x Block) {
    	switch x := x.(type) {
    	default:
    		fmt.Fprintf(out, "?%T\n", x)
    
    	case *Paragraph:
    		out.WriteString(p.prefix)
    		p.text(out, "", x.Text)
    
    	case *Heading:
    		out.WriteString(p.prefix)
    		out.WriteString("# ")
    		p.text(out, "", x.Text)
    
    	case *Code:
    		text := x.Text
    		for text != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. src/log/slog/json_handler.go

    		if c == utf8.RuneError && size == 1 {
    			if start < i {
    				str(s[start:i])
    			}
    			str(`\ufffd`)
    			i += size
    			start = i
    			continue
    		}
    		// U+2028 is LINE SEPARATOR.
    		// U+2029 is PARAGRAPH SEPARATOR.
    		// They are both technically valid characters in JSON strings,
    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/css/manual.css

    .spread {
    	width: 100%;
    }
    
    p.lead,
    .paragraph.lead>p,
    #preamble>.sectionbody>.paragraph:first-of-type p {
    	font-size: 1.21875em;
    	line-height: 1.6;
    }
    
    .subheader,
    .admonitionblock td.content>.title,
    .audioblock>.title,
    .exampleblock>.title,
    .imageblock>.title,
    .listingblock>.title,
    .literalblock>.title,
    .stemblock>.title,
    .openblock>.title,
    .paragraph>.title,
    .quoteblock>.title,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	case *md.Text:
    		b.Inline = addSymbolLinksInlines(b.Inline, defaultPackage)
    	case *md.List:
    		addSymbolLinksBlocks(b.Items, defaultPackage)
    	case *md.Item:
    		addSymbolLinksBlocks(b.Blocks, defaultPackage)
    	case *md.Paragraph:
    		addSymbolLinksBlock(b.Text, defaultPackage)
    	case *md.Quote:
    		addSymbolLinksBlocks(b.Blocks, defaultPackage)
    	// no links in these blocks
    	case *md.CodeBlock:
    	case *md.HTMLBlock:
    	case *md.Empty:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. api/go1.19.txt

    pkg go/doc/comment, type ListItem struct #51082
    pkg go/doc/comment, type ListItem struct, Content []Block #51082
    pkg go/doc/comment, type ListItem struct, Number string #51082
    pkg go/doc/comment, type Paragraph struct #51082
    pkg go/doc/comment, type Paragraph struct, Text []Text #51082
    pkg go/doc/comment, type Parser struct #51082
    pkg go/doc/comment, type Parser struct, LookupPackage func(string) (string, bool) #51082
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@link #get} instead.
       *
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
       *     explained in the last paragraph above, this should be an unchecked exception only.)
       * @throws ExecutionError if an error was thrown while loading the value
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V getUnchecked(K key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LoadingCache.java

       * {@link #get} instead.
       *
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
       *     explained in the last paragraph above, this should be an unchecked exception only.)
       * @throws ExecutionError if an error was thrown while loading the value
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V getUnchecked(K key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top