Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for Macro (0.03 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/cpp-exe/groovy/build.gradle

    plugins {
        id "cpp"
    }
    
    model {
        components {
            main(NativeExecutableSpec) {
                binaries.all {
                    // Define a preprocessor macro
                    cppCompiler.define "NDEBUG"
                    // Add some additional compiler arguments
                    if (toolChain in Gcc) {
                        cppCompiler.args "-fno-access-control", "-fconserve-space"
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 931 bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/ArgsMappingMacroFunction.java

            } else if (type == IncludeType.MACRO_FUNCTION) {
                // Macro expand parameter
                mapped.add(arguments.get(replaceWith).asMacroExpansion());
            } else {
                // Do not macro expand parameter
                mapped.add(arguments.get(replaceWith));
            }
            return currentMapPos;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/language/common.go

    package language
    
    // This file contains code common to the maketables.go and the package code.
    
    // AliasType is the type of an alias in AliasMap.
    type AliasType int8
    
    const (
    	Deprecated AliasType = iota
    	Macro
    	Legacy
    
    	AliasTypeUnknown AliasType = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 334 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h

    }  // namespace mlir
    
    // TODO(b/131258166): TensorFlow's mutex.h defines a `mutex_lock` macro, whose
    // purpose is to catch bug on `tensorflow::mutex_lock`. We don't use
    // `tensorflow::mutex_lock` here but we have ops (`tf.MutexLock` and
    // `tf.ConsumeMutexLock`) with getter methods named as `mutex_lock()`. Need to
    // undefine here to avoid expanding the getter symbol as macro when including
    // both mutex.h and this header file.
    #undef mutex_lock
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/build.gradle

                    linker.args "/DEBUG"
                }
            }
        }
    }
    // end::compiler-args[]
    
    // tag::all-shared-libraries[]
    // For any shared library binaries built with Visual C++,
    // define the DLL_EXPORT macro
    model {
        binaries {
            withType(SharedLibraryBinarySpec) {
                if (toolChain in VisualCpp) {
                    cCompiler.args "/Zi"
                    cCompiler.define "DLL_EXPORT"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/UnresolvableMacro.java

     * limitations under the License.
     */
    
    package org.gradle.language.nativeplatform.internal.incremental.sourceparser;
    
    import org.gradle.language.nativeplatform.internal.IncludeType;
    
    /**
     * A macro function whose body cannot be resolved.
     */
    public class UnresolvableMacro extends AbstractMacro {
        public UnresolvableMacro(String name) {
            super(name);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/MacroFunction.java

     * limitations under the License.
     */
    
    package org.gradle.language.nativeplatform.internal;
    
    import java.util.List;
    
    /**
     * A 'function-like' macro definition.
     */
    public interface MacroFunction {
        String getName();
        int getParameterCount();
    
        Expression evaluate(List<Expression> arguments);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 882 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h

    // created. The opened file is placed in 'os' and the path of the file used is
    // placed in 'filepath'.
    //
    // If the TF_DUMP_GRAPH_PREFIX environment variable is kCrashReproducerStdErr,
    // then the LOG(INFO) macro is used instead.
    //
    // This will create a file name via prefixing `name` with the value of the
    // TF_DUMP_GRAPH_PREFIX environment variable if `dirname` is empty and
    // suffixing `name` with ".mlir".
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

                sources {
                    cpp.lib library: "hello"
                }
            }
            hello(NativeLibrarySpec)
        }
    
        // For any shared library binaries built with Visual C++, define the DLL_EXPORT macro
        binaries {
            withType(SharedLibraryBinarySpec) {
                if (toolChain in VisualCpp) {
                    cppCompiler.define "DLL_EXPORT"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/UnresolvableMacroFunction.java

    import org.gradle.language.nativeplatform.internal.Expression;
    import org.gradle.language.nativeplatform.internal.IncludeType;
    
    import java.util.List;
    
    /**
     * A macro function whose body cannot be resolved.
     */
    public class UnresolvableMacroFunction extends AbstractMacroFunction {
        private static final SimpleExpression UNRESOLVED_EXPRESSION = new SimpleExpression(null, IncludeType.OTHER);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top