- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for macro (0.15 sec)
-
src/cmd/asm/internal/lex/input.go
// parameters substituted for the formals. // Invoking a macro does not touch the PC/line history. func (in *Input) invokeMacro(macro *Macro) { // If the macro has no arguments, just substitute the text. if macro.args == nil { in.Push(NewSlice(in.Base(), in.Line(), macro.tokens)) return } tok := in.Stack.Next() if tok != '(' {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
return Token{ScanToken: token, text: text} } func (l Token) String() string { return l.text } // A Macro represents the definition of a #defined macro. type Macro struct { name string // The #define name. args []string // Formal arguments. tokens []Token // Body of macro. } // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
{ "define without value", "#define A", "", }, { "macro without arguments", "#define A() 1234\n" + "A()\n", "1234.\n", }, { "macro with just parens as body", "#define A () \n" + "A\n", "(.).\n", }, { "macro with parens but no arguments", "#define A (x) \n" + "A\n", "(.x.).\n", }, { "macro with arguments", "#define A(x, y, z) x+z+y\n" + "A(1, 2, 3)\n",
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/c/c_api_macros_internal.h
#ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_ #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_ #ifdef __cplusplus #include "tensorflow/core/platform/status.h" // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized. // `struct_size` is used for struct member compatibility check between core TF // and plug-ins with the same C API minor version. More info here:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Mar 13 17:40:56 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
} func (s *Slice) Line() int { return s.line } func (s *Slice) Col() int { // TODO: Col is only called when defining a macro and all it cares about is increasing // position to discover whether there is a blank before the parenthesis. // We only get here if defining a macro inside a macro. // This imperfect implementation means we cannot tell the difference between // #define A #define B(x) x // and
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
apache-maven/src/test/resources/maven-configuration.md.vm
KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ]]# #macro(yesno $val) #if ($val) Yes #else No #end #end #macro(value $val) #if ($val) `$val` #else - #end #end | No | Key | Type | Description | Default Value | Since | Source | | --- | --- | --- | --- | --- | --- | --- | #foreach($key in $keys)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 13:39:33 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/c/c_api_macros.h
#endif // _WIN32 #endif // SWIG // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is // the datatype for boolean tensors. #ifndef TF_Bool #define TF_Bool unsigned char #endif // TF_Bool // Macro used to calculate struct size for maintaining ABI stability across // different struct implementations. #ifndef TF_OFFSET_OF_END #define TF_OFFSET_OF_END(TYPE, MEMBER) \ (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 04:44:45 UTC 2023 - 1.6K bytes - Viewed (0) -
WORKSPACE
# The cascade of load() statements and tf_workspace?() calls works around the # restriction that load() statements need to be at the top of .bzl files. # E.g. we can not retrieve a new repository with http_archive and then load() # a macro from that repository in the same file. load("@//tensorflow:workspace3.bzl", "tf_workspace3") tf_workspace3() # Initialize hermetic Python load("@local_tsl//third_party/py:python_init_rules.bzl", "python_init_rules")
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 11 16:49:28 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
withLibraryDependencies<DependencyRemovalByNameRule>( "org.spockframework:spock-core", setOf("groovy-groovysh", "groovy-json", "groovy-macro", "groovy-nio", "groovy-sql", "groovy-templates", "groovy-test", "groovy-xml") ) withLibraryDependencies<DependencyRemovalByNameRule>("cglib:cglib", setOf("ant"))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 20:15:18 UTC 2024 - 9.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
/** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ class CLIManagerDocumentationTest { private static final String LS = System.lineSeparator(); private static class OptionComparator implements Comparator<Option> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0)