Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pois (0.17 sec)

  1. src/cmd/cgo/ast.go

    	}
    	if context == ctxAssign2 {
    		context = ctxExpr
    	}
    	if context == ctxEmbedType {
    		error_(sel.Pos(), "cannot embed C type")
    	}
    	goname := sel.Sel.Name
    	if goname == "errno" {
    		error_(sel.Pos(), "cannot refer to errno directly; see documentation")
    		return
    	}
    	if goname == "_CMalloc" {
    		error_(sel.Pos(), "cannot refer to C._CMalloc; use C.malloc")
    		return
    	}
    	if goname == "malloc" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. 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)
  3. src/bytes/bytes_test.go

    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    		// different start and end alignments
    		b1 = b[i/2 : n-(i+1)/2]
    		for j := 0; j < len(b1); j++ {
    			b1[j] = 'x'
    			pos := IndexByte(b1, 'x')
    			if pos != j {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. api/go1.9.txt

    pkg encoding/base32, method (Encoding) WithPadding(int32) *Encoding
    pkg encoding/csv, type Reader struct, ReuseRecord bool
    pkg encoding/json, func Valid([]uint8) bool
    pkg go/ast, type TypeSpec struct, Assign token.Pos
    pkg go/types, func SizesFor(string, string) Sizes
    pkg go/types, method (*TypeName) IsAlias() bool
    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg errors, func Join(...error) error #53435
    pkg fmt, func FormatString(State, int32) string #51668
    pkg go/ast, type File struct, FileEnd token.Pos #53202
    pkg go/ast, type File struct, FileStart token.Pos #53202
    pkg go/ast, type RangeStmt struct, Range token.Pos #50429
    pkg go/token, method (*FileSet) RemoveFile(*File) #53200
    pkg go/types, func Satisfies(Type, *Interface) bool #56548
    pkg io/fs, var SkipAll error #47209
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. api/go1.21.txt

    pkg go/ast, type Package //deprecated #52463
    pkg go/ast, type Scope //deprecated #52463
    pkg go/build/constraint, func GoVersion(Expr) string #59033
    pkg go/build, type Directive struct #56986
    pkg go/build, type Directive struct, Pos token.Position #56986
    pkg go/build, type Directive struct, Text string #56986
    pkg go/build, type Package struct, Directives []Directive #56986
    pkg go/build, type Package struct, TestDirectives []Directive #56986
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
Back to top