- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for pods (0.13 sec)
-
doc/go1.17_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>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
if strings.HasPrefix(c.Text, "// Deprecated:") { return true } } } return false } w.deprecated = make(map[token.Pos]bool) mark := func(id *ast.Ident) { if id != nil { w.deprecated[id.Pos()] = true } } for _, file := range w.current.Files { ast.Inspect(file, func(n ast.Node) bool { switch n := n.(type) { case *ast.File:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
Ctxt: p.ctxt, As: obj.AFUNCDATA, Pos: p.pos(), From: valueAddr, To: nameAddr, } p.append(prog, "", true) } // asmJump assembles a jump instruction. // JMP R1 // JMP exit // JMP 3(PC) func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) { var target *obj.Addr prog := &obj.Prog{ Ctxt: p.ctxt, Pos: p.pos(), As: op, } targetAddr := &prog.To
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0)