Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hughes (0.19 sec)

  1. src/cmd/asm/internal/lex/input.go

    	}
    	return args, tokens
    }
    
    func lookup(args []string, arg string) int {
    	for i, a := range args {
    		if a == arg {
    			return i
    		}
    	}
    	return -1
    }
    
    // invokeMacro pushes onto the input Stack a Slice that holds the macro definition with the actual
    // parameters substituted for the formals.
    // Invoking a macro does not touch the PC/line history.
    func (in *Input) invokeMacro(macro *Macro) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	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()) {
    	w.scope = append(w.scope, name)
    	return func() {
    		if len(w.scope) == 0 {
    			log.Fatalf("attempt to leave scope %q with empty scope list", name)
    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