Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for inlineText (0.71 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    func blocksText(bs []md.Block) string {
    	var d strings.Builder
    	for _, b := range bs {
    		io.WriteString(&d, text(b))
    		fmt.Fprintln(&d)
    	}
    	return d.String()
    }
    
    // inlineText returns all the next in a slice of inline nodes.
    func inlineText(ins []md.Inline) string {
    	var buf bytes.Buffer
    	for _, in := range ins {
    		in.PrintText(&buf)
    	}
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/runtime/race/testdata/regression_test.go

    	a = 42
    	go func() {
    		_ = a
    		c <- 1
    	}()
    	return a, 10
    }
    
    func issue5431() {
    	var p **inltype
    	if inlinetest(p).x && inlinetest(p).y {
    	} else if inlinetest(p).x || inlinetest(p).y {
    	}
    }
    
    type inltype struct {
    	x, y bool
    }
    
    func inlinetest(p **inltype) *inltype {
    	return *p
    }
    
    type iface interface {
    	Foo() *struct{ b bool }
    }
    
    type Int int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
Back to top