Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for linspace (0.16 sec)

  1. src/bufio/export_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bufio
    
    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    // checkMetaHeaders will check if the metadata from header/url is the same with the one from signed headers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top