Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newFence (0.09 sec)

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

    		p.addBlock(b)
    		p.corner = p.corner || peek2.nl != '\n' // goldmark does not normalize to \n
    		b.text = append(b.text, peek2.string())
    		return line{}, true
    	}
    	return s, false
    }
    
    func newFence(p *parseState, s line) (line, bool) {
    	var fence, info string
    	var n int
    	peek := s
    	if peek.trimFence(&fence, &info, &n) {
    		if fence[0] == '~' && info != "" {
    			// goldmark does not handle info after ~~~
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/parse.go

    	panic("root extend")
    }
    
    var news = []func(*parseState, line) (line, bool){
    	newQuote,
    	newATXHeading,
    	newSetextHeading,
    	newHR,
    	newListItem,
    	newHTML,
    	newFence,
    	newPre,
    }
    
    func (s *line) peek() byte {
    	if s.spaces > 0 {
    		return ' '
    	}
    	if s.i >= len(s.text) {
    		return 0
    	}
    	return s.text[s.i]
    }
    
    func (s *line) skipSpace() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
                return enc;
            }
            return newEnc;
        }
    
        public void setDefaultEncoding(final String defaultEncoding) {
            this.defaultEncoding = defaultEncoding;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	if contentEnc == "" {
    		return contentEnc
    	}
    	var newEncs []string
    	for _, enc := range strings.Split(contentEnc, ",") {
    		if enc != streamingContentEncoding {
    			newEncs = append(newEncs, enc)
    		}
    	}
    	return strings.Join(newEncs, ",")
    }
    
    func collectInternodeStats(f http.HandlerFunc) http.HandlerFunc {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/net/rpc/server_test.go

    	"reflect"
    	"runtime"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    var (
    	newServer                 *Server
    	serverAddr, newServerAddr string
    	httpServerAddr            string
    	once, newOnce, httpOnce   sync.Once
    )
    
    const (
    	newHttpPath = "/foo"
    )
    
    type Args struct {
    	A, B int
    }
    
    type Reply struct {
    	C int
    }
    
    type Arith int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 05:23:29 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top