Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 475 for Cpp (0.02 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc

    SourceCode CppGenerator::GenerateOneFile(
        cpp::RendererContext::Mode mode) const {
      SourceCode generated_code;
      const std::vector<OpSpec> ops(controller_.GetModelOps());
      std::vector<cpp::OpView> views(ops.begin(), ops.end());
      cpp::RendererContext context{mode, generated_code, cpp_config_, path_config_};
      cpp::CppFileRenderer(context, views).Render();
      return generated_code;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetLinkDependenciesIntegrationTest.groovy

                }
    """
            file("src/other/cpp/func2.cpp") << """
                int getTwo();
    
                int func2() {
                    return getTwo();
                }
    """
            file("src/lib1/cpp/getters.cpp") << """
                int getOne() {
                    return 1;
                }
                int getTwo() {
                    return 2;
                }
    """
    
            and:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/CppLibraryProjectInitDescriptor.java

            return fromCppTemplate("cpplibrary/hello_test.cpp.template", settings, "test", "cpp");
        }
    
        @Override
        protected void configureBuildScript(InitSettings settings, BuildScriptBuilder buildScriptBuilder) {
            buildScriptBuilder
                .plugin(
                    "Apply the cpp-library plugin to add support for building C++ libraries",
                    "cpp-library")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/cpp/basic/groovy/build.gradle

    // tag::apply-cpp-plugin[]
    plugins {
        id 'cpp-application' // or 'cpp-library'
    }
    
    version = '1.2.1'
    // end::apply-cpp-plugin[]
    
    // tag::cpp-dependency-mgmt[]
    application {
        dependencies {
            implementation project(':common')
        }
    }
    // end::cpp-dependency-mgmt[]
    
    // tag::cpp-compiler-options-all-variants[]
    tasks.withType(CppCompile).configureEach {
        // Define a preprocessor macro for every binary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts

    // tag::apply-cpp-plugin[]
    plugins {
        `cpp-application` // or `cpp-library`
    }
    
    version = "1.2.1"
    // end::apply-cpp-plugin[]
    
    // tag::cpp-dependency-mgmt[]
    application {
        dependencies {
            implementation(project(":common"))
        }
    }
    // end::cpp-dependency-mgmt[]
    
    // tag::cpp-compiler-options-all-variants[]
    tasks.withType(CppCompile::class.java).configureEach {
        // Define a preprocessor macro for every binary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryDependenciesIntegrationTest.groovy

                }
            """
            file("lib/src/main/cpp/lib.cpp") << librarySource
            file("src/main/cpp/lib.cpp") << mainLibrarySource
        }
    
        @Override
        protected void makeComponentWithIncludedBuildLibrary() {
            buildFile << """
                apply plugin: 'cpp-library'
            """
    
            file('lib/build.gradle') << """
                apply plugin: 'cpp-library'
                
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateCppBaseNamesTestApp.groovy

                   return 0;
                }
            """),
             sourceFile("cpp/foo1", "foo.cpp", """
                #include <iostream>
                #include "foo.h"
                using namespace std;
    
                void foo1() {
                    cout << "foo1";
                }
            """),
    
             sourceFile("cpp/foo2", "foo.cpp", """
                #include <iostream>
                #include "foo.h"
                using namespace std;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/cpp/renderers/op_renderer.h

    #include "tensorflow/c/experimental/ops/gen/cpp/renderers/op_comment_renderer.h"
    #include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h"
    #include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_context.h"
    #include "tensorflow/c/experimental/ops/gen/cpp/views/op_view.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    class OpRenderer : public Renderer {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

                    #endif
                }
            """),
            new SourceFile("cpp", "sum.cpp", """
                #include "common.h"
    
                int DLL_FUNC sum(int a, int b) {
                    return a + b;
                }
            """)
        ]
    
        List<SourceFile> alternateLibrarySources = [
            new SourceFile("cpp", "hello.cpp", """
                #include "common.h"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/CppApplicationProjectInitDescriptor.java

            return fromCppTemplate("cppapp/app_test.cpp.template", settings, "test", "cpp");
        }
    
        @Override
        protected void configureBuildScript(InitSettings settings, BuildScriptBuilder buildScriptBuilder) {
            buildScriptBuilder
                .plugin(
                    "Apply the cpp-application plugin to add support for building C++ executables",
                    "cpp-application")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top