- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for Macro (0.05 sec)
-
platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/Macro.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 785 bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy
def include4 = new IncludeWithMacroFunctionCallExpression("A", true, ImmutableList.of(new SimpleExpression("X", IncludeType.MACRO))) def include5 = new IncludeWithMacroFunctionCallExpression("A", true, ImmutableList.of(new SimpleExpression("X", IncludeType.MACRO), new SimpleExpression("Y", IncludeType.MACRO)))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/IncludeType.java
*/ SYSTEM, /** * A quoted include path eg {@code "hello.h"} */ QUOTED, /** * An identifier that should be macro expanded. These appear in the body of a directive eg {@code #define HEADER ABC}. */ MACRO, /** * A macro function invocation that should be expanded. These appear in the body of a directive and as arguments to another function eg {@code #define HEADER ABC(X, Y)}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultIncludeDirectives.java
private final ImmutableList<Include> allIncludes; private final ImmutableListMultimap<String, Macro> macros; private final ImmutableListMultimap<String, MacroFunction> macroFunctions; public static IncludeDirectives of(ImmutableList<Include> allIncludes, ImmutableList<Macro> macros, ImmutableList<MacroFunction> macroFunctions) { if (allIncludes.isEmpty() && macros.isEmpty() && macroFunctions.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/MacroDirective.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 962 bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/IncludeDirectives.java
List<Include> getSystemIncludes(); List<Include> getMacroIncludes(); List<Include> getAll(); List<Include> getIncludesOnly(); Iterable<Macro> getMacros(String name); Iterable<MacroFunction> getMacroFunctions(String name); Collection<Macro> getAllMacros(); Collection<MacroFunction> getAllMacroFunctions(); boolean hasMacros(); boolean hasMacroFunctions(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/Expression.java
/** * When type is {@link IncludeType#QUOTED} or {@link IncludeType#SYSTEM}, then this returns the path, without the delimiters or escape characters. * When type is {@link IncludeType#MACRO} or {@link IncludeType#MACRO_FUNCTION}, then this returns the name of the macro. * When type is {@link IncludeType#IDENTIFIER} or {@link IncludeType#TOKEN}, then this returns the token. * When type anything else, returns null. */ @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h
// - You cannot stream a failure message to this macro. // // Note that even though the implementations of the following two // macros are much alike, we cannot refactor them to use a common // helper macro, due to some peculiarity in how the preprocessor // works. If we do that, the code won't compile when the user gives // EXPECT_NONFATAL_FAILURE() a statement that contains a macro that
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9.7K bytes - Viewed (0)