Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LiteralType (0.11 sec)

  1. src/compress/flate/token.go

    func literalToken(literal uint32) token { return token(literalType + literal) }
    
    // Convert a < xlength, xoffset > pair into a match token.
    func matchToken(xlength uint32, xoffset uint32) token {
    	return token(matchType + xlength<<lengthShift + xoffset)
    }
    
    // Returns the literal of a literal token.
    func (t token) literal() uint32 { return uint32(t - literalType) }
    
    // Returns the extra offset of a match token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    They consist of the type of the literal followed by a brace-bound list of elements.
    Each element may optionally be preceded by a corresponding key.
    </p>
    
    <pre class="ebnf">
    CompositeLit  = LiteralType LiteralValue .
    LiteralType   = StructType | ArrayType | "[" "..." "]" ElementType |
                    SliceType | MapType | TypeName .
    LiteralValue  = "{" [ ElementList [ "," ] ] "}" .
    ElementList   = KeyedElement { "," KeyedElement } .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    They consist of the type of the literal followed by a brace-bound list of elements.
    Each element may optionally be preceded by a corresponding key.
    </p>
    
    <pre class="ebnf">
    CompositeLit  = LiteralType LiteralValue .
    LiteralType   = StructType | ArrayType | "[" "..." "]" ElementType |
                    SliceType | MapType | TypeName [ TypeArgs ] .
    LiteralValue  = "{" [ ElementList [ "," ] ] "}" .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top