Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isOr (0.83 sec)

  1. src/cmd/vendor/rsc.io/markdown/break.go

    	buf.WriteString(s.prefix)
    	buf.WriteString(b.raw)
    	buf.WriteByte('\n')
    }
    
    func newHR(p *parseState, s line) (line, bool) {
    	if isHR(s) {
    		p.doneBlock(&ThematicBreak{Position{p.lineno, p.lineno}, s.string()})
    		return line{}, true
    	}
    	return s, false
    }
    
    func isHR(s line) bool {
    	t := s
    	t.trimSpace(0, 3, false)
    	switch c := t.peek(); c {
    	case '-', '_', '*':
    		for i := 0; ; i++ {
    			if !t.trim(c) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/runtime/iface_test.go

    		{name: "I8", fn: func() { i1 = eight8I }},
    		{name: "I16", fn: func() { i1 = zero16I }},
    		{name: "I32", fn: func() { i1 = zero32I }},
    		{name: "I64", fn: func() { i1 = zero64I }},
    		{name: "Istr", fn: func() { i1 = zerostrI }},
    		{name: "Islice", fn: func() { i1 = zerosliceI }},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			n := testing.AllocsPerRun(1000, test.fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
Back to top