Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Pos (0.02 sec)

  1. doc/go_spec.html

    assigned the return values of <code>g</code> that remain after
    assignment of regular parameters.
    </p>
    
    <pre>
    func Split(s string, pos int) (string, string) {
    	return s[0:pos], s[pos:]
    }
    
    func Join(s, t string) string {
    	return s + t
    }
    
    if Join(Split(value, len(value)/2)) != value {
    	log.Panic("test fails")
    }
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  2. api/go1.16.txt

    pkg text/template/parse, method (CommentNode) Position() Pos
    pkg text/template/parse, method (CommentNode) Type() NodeType
    pkg text/template/parse, type CommentNode struct
    pkg text/template/parse, type CommentNode struct, Text string
    pkg text/template/parse, type CommentNode struct, embedded NodeType
    pkg text/template/parse, type CommentNode struct, embedded Pos
    pkg text/template/parse, type Mode uint
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg go/token, func IsExported(string) bool
    pkg go/token, func IsIdentifier(string) bool
    pkg go/token, func IsKeyword(string) bool
    pkg go/types, func CheckExpr(*token.FileSet, *Package, token.Pos, ast.Expr, *Info) error
    pkg log, func Writer() io.Writer
    pkg log/syslog (netbsd-arm64-cgo), const LOG_ALERT = 1
    pkg log/syslog (netbsd-arm64-cgo), const LOG_ALERT Priority
    pkg log/syslog (netbsd-arm64-cgo), const LOG_AUTH = 32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
Back to top