Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for defPredeclaredFuncs (0.66 sec)

  1. src/cmd/compile/internal/types2/universe.go

    	_String:     {"String", 2, false, expression},
    	_StringData: {"StringData", 1, false, expression},
    
    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/go/types/universe.go

    	_String:     {"String", 2, false, expression},
    	_StringData: {"StringData", 1, false, expression},
    
    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top