Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for chars (0.05 sec)

  1. src/encoding/json/encode.go

    	if s == "" {
    		return false
    	}
    	for _, c := range s {
    		switch {
    		case strings.ContainsRune("!#$%&()*+-./:;<=>?@[]^_{|}~ ", c):
    			// Backslash and quote chars are reserved, but
    			// otherwise any punctuation chars are allowed
    			// in a tag name.
    		case !unicode.IsLetter(c) && !unicode.IsDigit(c):
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. src/text/tabwriter/tabwriter.go

    // unicode width of the text.
    func (b *Writer) endEscape() {
    	switch b.endChar {
    	case Escape:
    		b.updateWidth()
    		if b.flags&StripEscape == 0 {
    			b.cell.width -= 2 // don't count the Escape chars
    		}
    	case '>': // tag of zero width
    	case ';':
    		b.cell.width++ // entity, count as one rune
    	}
    	b.pos = len(b.buf)
    	b.endChar = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. src/encoding/base64/base64.go

    // of an input buffer of length n.
    func (enc *Encoding) EncodedLen(n int) int {
    	if enc.padChar == NoPadding {
    		return n/3*4 + (n%3*8+5)/6 // minimum # chars at 6 bits per char
    	}
    	return (n + 2) / 3 * 4 // minimum # 4-char quanta, 3 bytes each
    }
    
    /*
     * Decoder
     */
    
    type CorruptInputError int64
    
    func (e CorruptInputError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  4. src/net/mail/message.go

    	// Re-using some addrParser methods which support obsolete text, i.e. non-printable ASCII
    	p := addrParser{date, nil}
    	p.skipSpace()
    
    	// RFC 5322: zone = (FWS ( "+" / "-" ) 4DIGIT) / obs-zone
    	// zone length is always 5 chars unless obsolete (obs-zone)
    	if ind := strings.IndexAny(p.s, "+-"); ind != -1 && len(p.s) >= ind+5 {
    		date = p.s[:ind+5]
    		p.s = p.s[ind+5:]
    	} else {
    		ind := strings.Index(p.s, "T")
    		if ind == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. src/go/doc/reader.go

    			if id.Name == name {
    				return id
    			}
    		}
    	}
    	return nil
    }
    
    var (
    	noteMarker    = `([A-Z][A-Z]+)\(([^)]+)\):?`                // MARKER(uid), MARKER at least 2 chars, uid at least 1 char
    	noteMarkerRx  = lazyregexp.New(`^[ \t]*` + noteMarker)      // MARKER(uid) at text start
    	noteCommentRx = lazyregexp.New(`^/[/*][ \t]*` + noteMarker) // MARKER(uid) at comment start
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. src/net/mail/message_test.go

    		},
    		// Invalid ASCII in date.
    		{
    			"Fri, 21 Nov 1997 ù 09:55:06 -0600    \r\n (thisisa(valid)cfws)   \t ",
    			time.Date(1997, 11, 21, 9, 55, 6, 0, time.FixedZone("", -6*60*60)),
    			false,
    		},
    		// CFWS chars () in date.
    		{
    			"Fri, 21 Nov () 1997 09:55:06 -0600    \r\n (thisisa(valid)cfws)   \t ",
    			time.Date(1997, 11, 21, 9, 55, 6, 0, time.FixedZone("", -6*60*60)),
    			false,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. src/go/printer/nodes.go

    				break
    			}
    		}
    	}
    	c.size += len(p)
    	return len(p), nil
    }
    
    // nodeSize determines the size of n in chars after formatting.
    // The result is <= maxSize if the node fits on one line with at
    // most maxSize chars and the formatted output doesn't contain
    // any control chars. Otherwise, the result is > maxSize.
    func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    //		reference relative to SB.
    //
    //	$<floating point literal>
    //		Floating point constant value.
    //		Encoding:
    //			type = TYPE_FCONST
    //			val = floating point value
    //
    //	$<string literal, up to 8 chars>
    //		String literal value (raw bytes used for DATA instruction).
    //		Encoding:
    //			type = TYPE_SCONST
    //			val = string
    //
    //	<symbolic constant name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/index/suffixarray/sais.go

    // sa[i] is either 0, the ID for the LMS-substring at index 2*i,
    // or the ID for the LMS-substring at index 2*i+1.
    // To produce the subproblem we need only remove the zeros
    // and change ID into ID-1 (our IDs start at 1, but text chars start at 0).
    //
    // map_32 packs the result, which is the input to the recursion,
    // into the top of sa, so that the recursion result can be stored
    // in the bottom of sa, which sets up for expand_8_32 well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    func CertGetNameString(certContext *CertContext, nameType uint32, flags uint32, typePara unsafe.Pointer, name *uint16, size uint32) (chars uint32) {
    	r0, _, _ := syscall.Syscall6(procCertGetNameStringW.Addr(), 6, uintptr(unsafe.Pointer(certContext)), uintptr(nameType), uintptr(flags), uintptr(typePara), uintptr(unsafe.Pointer(name)), uintptr(size))
    	chars = uint32(r0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top