- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Assembly (0.15 sec)
-
doc/asm.html
It is not possible to define a symbol containing pointers in an assembly source file; such a symbol must be defined in a Go source file instead. Assembly source can still refer to the symbol by name even without <code>DATA</code> and <code>GLOBL</code> directives. A good general rule of thumb is to define all non-<code>RODATA</code> symbols in Go instead of in assembly. </p> <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) -
doc/go1.17_spec.html
} } // invalid: missing return statement } </pre> <p> A function declaration may omit the body. Such a declaration provides the signature for a function implemented outside Go, such as an assembly routine. </p> <pre> func min(x int, y int) int { if x < y { return x } return y } func flushICache(begin, end uintptr) // implemented externally </pre>
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) -
doc/go_spec.html
} return y } </pre> <p> A function declaration without type parameters may omit the body. Such a declaration provides the signature for a function implemented outside Go, such as an assembly routine. </p> <pre> func flushICache(begin, end uintptr) // implemented externally </pre> <h3 id="Method_declarations">Method declarations</h3> <p>
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)