Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for saved (0.15 sec)

  1. doc/go1.17_spec.html

    The method value <code>x.M</code> is a function value that is callable
    with the same arguments as a method call of <code>x.M</code>.
    The expression <code>x</code> is evaluated and saved during the evaluation of the
    method value; the saved copy is then used as the receiver in any calls,
    which may be executed later.
    </p>
    
    <pre>
    type S struct { *T }
    type T int
    func (t T) M() { print(t) }
    
    t := new(T)
    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)
  2. src/cmd/cgo/ast.go

    		}
    	}
    }
    
    // Save various references we are going to need later.
    func (f *File) saveExprs(x interface{}, context astContext) {
    	switch x := x.(type) {
    	case *ast.Expr:
    		switch (*x).(type) {
    		case *ast.SelectorExpr:
    			f.saveRef(x, context)
    		}
    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    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)
  3. doc/go_spec.html

    The method value <code>x.M</code> is a function value that is callable
    with the same arguments as a method call of <code>x.M</code>.
    The expression <code>x</code> is evaluated and saved during the evaluation of the
    method value; the saved copy is then used as the receiver in any calls,
    which may be executed later.
    </p>
    
    <pre>
    type S struct { *T }
    type T int
    func (t T) M() { print(t) }
    
    t := new(T)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    const (
    	// Mode constants from the USTAR spec:
    	// See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	c_ISUID = 04000 // Set uid
    	c_ISGID = 02000 // Set gid
    	c_ISVTX = 01000 // Save text (sticky bit)
    
    	// Common Unix mode constants; these are not defined in any common tar standard.
    	// Header.FileInfo understands these, but FileInfoHeader will never produce these.
    	c_ISDIR  = 040000  // Directory
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. doc/asm.html

    </p>
    
    <pre>
    get_tls(CX)
    MOVQ	g(CX), AX     // Move g into AX.
    MOVQ	g_m(AX), BX   // Move g.m into BX.
    </pre>
    
    <p>
    Register <code>BP</code> is callee-save.
    The assembler automatically inserts <code>BP</code> save/restore when frame size is larger than zero.
    Using <code>BP</code> as a general purpose register is allowed,
    however it can interfere with sampling-based profiling.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		f.Edit.Insert(f.offset(f.AST.Name.End()), "; import _cgo_unsafe \"unsafe\"")
    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    // in the file f and saves relevant renamings in f.Name[name].Define.
    func (p *Package) loadDefines(f *File) {
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    	stdout := p.gccDefines(b.Bytes())
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) line(scratch [][]lex.Token) (word, cond string, operands [][]lex.Token, ok bool) {
    next:
    	// Skip newlines.
    	var tok lex.ScanToken
    	for {
    		tok = p.nextToken()
    		// We save the line number here so error messages from this instruction
    		// are labeled with this line. Otherwise we complain after we've absorbed
    		// the terminating newline and the line numbers are off by one in errors.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	info, err := context.ImportDir(dir, 0)
    	if err != nil {
    		if _, nogo := err.(*build.NoGoError); nogo {
    			return nil, err
    		}
    		log.Fatalf("pkg %q, dir %q: ScanDir: %v", name, dir, err)
    	}
    
    	// Save tags list first time we see a directory.
    	if usePkgCache {
    		if _, ok := pkgTags[dir]; !ok {
    			pkgTags[dir] = info.AllTags
    			key = tagKey(dir, context, info.AllTags)
    		}
    	}
    
    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)
  9. src/cmd/asm/internal/asm/asm.go

    					return
    				}
    				// For ARM64 CASP-like instructions, its 2nd destination operand is register pair(Rt, Rt+1) that can
    				// not fit into prog.RegTo2, so save it to the prog.RestArgs.
    				prog.AddRestDest(a[2])
    			default:
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				prog.To = a[2]
    			}
    		case sys.I386:
    			prog.From = a[0]
    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)
Back to top