- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 448 for Cpp (1.37 sec)
-
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy
*/ package org.gradle.nativeplatform.test.cpp.plugins import org.gradle.language.AbstractNativeDependenciesIntegrationTest class CppUnitTestDependenciesIntegrationTest extends AbstractNativeDependenciesIntegrationTest { @Override protected void makeComponentWithLibrary() { buildFile << """ apply plugin: 'cpp-unit-test' project(':lib') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc
#include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h" #include "tensorflow/c/experimental/ops/gen/common/path_config.h" #include "tensorflow/c/experimental/ops/gen/common/source_code.h" #include "tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_config.h" #include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_context.h" #include "tensorflow/core/platform/test.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.3K bytes - Viewed (0) -
testing/performance/src/templates/cpp-project/build.gradle
<% if (projectType == 'exe') { %> // TODO: Remove this once we bump the minimum version of the test try { apply plugin: 'cpp-application' } catch (Exception e) { apply plugin: 'cpp-executable' } <% } else { %> apply plugin: 'cpp-library' <% } %> <% if (projectDeps.size() > 0) { %> dependencies { <% projectDeps.each() { %> implementation project(":${it}") <% } %> }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 396 bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/tasks/CppUnexportMainSymbolIntegrationTest.groovy
@Issue("https://github.com/gradle/gradle-native/issues/277") @ToBeFixedForConfigurationCache def "can relocate Windows specific _wmain symbol"() { makeSingleProject() file("src/main/cpp/main.cpp") << """ #include <iostream> int wmain(int argc, wchar_t *argv[], wchar_t *envp[] ) { std::cout << "hello world!" << std::endl; return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/NamesTest.groovy
class NamesTest extends Specification { def "names for main"() { expect: def name = Names.of("main") name.baseName == "main" name.lowerBaseName == "main" name.getCompileTaskName("cpp") == "compileCpp" name.getTaskName("link") == "link" name.dirName == "main/" name.withPrefix("compile") == "compile" name.withSuffix("implementation") == "implementation"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/CppUnitTestComponentWithSharedLibraryLinkageIntegrationTest.groovy
@Override protected void makeSingleProject() { buildFile << """ apply plugin: 'cpp-library' apply plugin: 'cpp-unit-test' library.linkage = [Linkage.SHARED] """ } @Override protected SourceElement getComponentUnderTest() { return new CppLibWithSimpleUnitTest() } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppDependenciesIntegrationTest.groovy
assertAppHasOutputFor("release") } private void assertTasksExecutedFor(String buildType) { def tasks = [":hello:compile${buildType}Cpp", ":hello:link${buildType}", ":log:compile${buildType}Cpp", ":log:link${buildType}", ":app:compile${buildType}Cpp", ":app:link${buildType}", ":app:install${buildType}"] if (buildType == "Release" && !toolChain.visualCpp) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppLibraryPlugin.java
import org.gradle.api.tasks.bundling.Zip; import org.gradle.language.cpp.CppBinary; import org.gradle.language.cpp.CppLibrary; import org.gradle.language.cpp.CppPlatform; import org.gradle.language.cpp.CppSharedLibrary; import org.gradle.language.cpp.CppStaticLibrary; import org.gradle.language.cpp.internal.DefaultCppLibrary; import org.gradle.language.cpp.internal.DefaultCppPlatform; import org.gradle.language.internal.NativeComponentFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 30 15:38:28 UTC 2023 - 8.8K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/cpp/CppSourceSet.java
* * <pre class='autoTested'> * plugins { * id 'cpp' * } * * model { * components { * main(NativeLibrarySpec) { * sources { * cpp { * source { * srcDirs "src/main/cpp", "src/shared/c++" * include "**{@literal /}*.cpp" * } * exportedHeaders {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBinariesRelocationIntegrationTest.groovy
file("src/main/cpp/app.cpp") << applicationSource } private static String getLibraryHeader() { return """ #ifdef _WIN32 #define EXPORT_FUNC __declspec(dllexport) #else #define EXPORT_FUNC #endif void EXPORT_FUNC lib_func(); """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0)