Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for getArchitecture (0.21 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultTargetMachine.java

        }
    
        @Override
        public OperatingSystemFamily getOperatingSystemFamily() {
            return operatingSystemFamily;
        }
    
        @Override
        public MachineArchitecture getArchitecture() {
            return architecture;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeToolChainInternal.java

        void assertSupported();
    
        class Identifier {
            public static String identify(NativeToolChainInternal toolChain, NativePlatformInternal platform) {
                return toolChain.getOutputType() + ":" + platform.getArchitecture().getName() + ":" + platform.getOperatingSystem().getName();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/toolchains/DefaultToolChainSelectorTest.groovy

        def modelRegistry = Stub(ModelRegistry)
        def osFamily = Stub(OperatingSystemFamily)
        def machineArchitecture = Stub(MachineArchitecture)
        def targetMachine = Stub(TargetMachine) {
            getArchitecture() >> machineArchitecture
            getOperatingSystemFamily() >> osFamily
        }
        def os = Stub(OperatingSystemInternal)
        def arch = Stub(ArchitectureInternal)
        def host = new DefaultNativePlatform("host", os, arch)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppPreCompiledHeaderCompileTest.groovy

            cppPCHCompile.source sourceFile
            execute(cppPCHCompile)
    
            then:
            _ * toolChain.outputType >> "cpp"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppInstall.java

            }
            return platforms.get(getPlatformArchitecture(targetPlatform));
        }
    
        private Architecture getPlatformArchitecture(NativePlatformInternal targetPlatform) {
            return targetPlatform.getArchitecture();
        }
    
        private VisualCpp getDescriptor(NativePlatformInternal targetPlatform) {
            return platforms.get(getPlatformArchitecture(targetPlatform));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/NativePlatform.java

    public interface NativePlatform extends Platform, Describable {
        /**
         * The cpu architecture being targeted. Defaults to the default architecture produced by the tool chain.
         */
        @Nested
        Architecture getArchitecture();
    
        /**
         * Sets the cpu architecture being targeted.
         * <p>
         * The architecture is provided as a string name, which is translated into one of the supported architecture types.
         * </p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCPreCompiledHeaderCompileTest.groovy

            objCPCHCompile.source sourceFile
            execute(objCPCHCompile)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppPreCompiledHeaderCompileTest.groovy

            objCppPCHCompile.source sourceFile
            execute(objCppPCHCompile)
    
            then:
            _ * toolChain.outputType >> "objcpp"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

            cCompile.setPreCompiledHeader pch
            execute(cCompile)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            2 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestSuiteTest.groovy

            def objectFactory = TestUtil.objectFactory()
            return Stub(TargetMachine) {
                getOperatingSystemFamily() >> objectFactory.named(OperatingSystemFamily.class, os)
                getArchitecture() >> objectFactory.named(MachineArchitecture.class, arch)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top