Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Anders (0.18 sec)

  1. doc/go_spec.html

    and <code>[]int</code> must match <code>[]E</code> of the constraint,
    a compiler can infer that <code>E</code> must be <code>int</code>.
    Thus, for these two equations, type inference infers
    </p>
    
    <pre>
    	S ➞ Slice
    	E ➞ int
    </pre>
    
    <p>
    Given a set of type equations, the type parameters to solve for are
    the type parameters of the functions that need to be instantiated
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	}
    	pkg = &apiPackage{tpkg, files}
    
    	if usePkgCache {
    		pkgCache[key] = pkg
    	}
    
    	w.imported[name] = pkg
    	return pkg, nil
    }
    
    // pushScope enters a new scope (walking a package, type, node, etc)
    // and returns a function that will leave the scope (with sanity checking
    // for mismatched pushes & pops)
    func (w *Walker) pushScope(name string) (popFunc func()) {
    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)
Back to top