Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,359 for Executable (0.15 sec)

  1. src/os/executable.go

    // needed, [path/filepath.EvalSymlinks] might help.
    //
    // Executable returns an absolute path unless an error occurred.
    //
    // The main use case is finding resources located relative to an
    // executable.
    func Executable() (string, error) {
    	return executable()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 776 bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cache_test.cc

      EXPECT_TRUE(cache_value->executable != nullptr);
      EXPECT_EQ(cache_value->executable->data, "foo_exe");
    }
    
    TEST(DeviceCompilationCacheTest, StoreLookupOrCreate) {
      auto cache = std::make_unique<Cache>();
    
      TF_ASSERT_OK_AND_ASSIGN(auto key, BuildSampleSignature("foo"));
      auto compilation_result = std::make_unique<XlaCompiler::CompilationResult>();
      auto executable = std::make_unique<FakeExecutable>("foo_exe");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCustomisationIntegrationTest.groovy

            then:
            executable("build/exe/main/arm/main").arch.name == "x86"
            executable("build/exe/main/arm/main").exec().out == helloWorldApp.frenchOutput
    
            executable("build/exe/main/i386/main").arch.name == "x86"
            executable("build/exe/main/i386/main").exec().out == helloWorldApp.englishOutput
    
            executable("build/exe/main/sparc/main").exec().out == helloWorldApp.englishOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compilation_cache.h

    template <typename ExecutableType>
    int64_t ExecutableSize(const ExecutableType* executable) {
      return 0;
    }
    
    template <>
    inline int64_t ExecutableSize<xla::LocalExecutable>(
        const xla::LocalExecutable* executable) {
      if (executable != nullptr && executable->executable() != nullptr) {
        return executable->executable()->SizeOfGeneratedCodeInBytes();
      }
    
      return 0;
    }
    
    template <>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaExecutableUtils.java

            // Relying on the layout of the toolchain distribution: <JAVA HOME>/bin/<executable>
            return resolveExecutable(executable).getParentFile().getParentFile();
        }
    
    
        public static void validateExecutable(@Nullable String executable, String executableDescription, File referenceFile, String referenceDescription) {
            if (executable == null) {
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPath.java

            this.pathEntries.addAll(pathEntries);
            executables.clear();
        }
    
        public void path(File pathEntry) {
            pathEntries.add(pathEntry);
            executables.clear();
        }
    
        public CommandLineToolSearchResult locate(ToolType key, String exeName) {
            File executable = executables.get(exeName);
            if (executable == null) {
                executable = findExecutable(operatingSystem, exeName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryNamingSchemeTest.groovy

            "test"        | "executable" | []                                         | null       | "test/executable"
            "test"        | "executable" | ["one", "two"]                             | null       | "test/executable/one/two"
            "mainLibrary" | "executable" | ["enterpriseEdition", "osx_x64", "static"] | null       | "mainLibrary/executable/enterpriseEdition/osx_x64/static"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProviderFactoryTest.groovy

            def binary = new File("any")
            when:
            def metadata = metadataProvider(compiler).getCompilerMetaData([]) { it.executable(binary) }
    
            then:
            interaction compilerShouldBeExecuted
    
            when:
            def newMetadata = metadataProvider(compiler).getCompilerMetaData([]) { it.executable(binary) }
    
            then:
            0 * _
            newMetadata.is(metadata)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/process-services/src/main/java/org/gradle/process/ProcessForkOptions.java

        /**
         * Returns the name of the executable to use.
         *
         * @return The executable.
         */
        String getExecutable();
    
        /**
         * Sets the name of the executable to use.
         *
         * @param executable The executable. Must not be null.
         * @since 4.0
         */
        void setExecutable(String executable);
    
        /**
         * Sets the name of the executable to use.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_device_compiler_client.cc

      TF_ASSIGN_OR_RETURN(
          auto executables,
          client_->Compile(*result.computation, argument_layouts, build_options));
      TF_RET_CHECK(executables.size() == 1);
      return std::move(executables[0]);
    }
    
    absl::StatusOr<std::string> XlaDeviceCompilerClient::SerializeExecutable(
        const xla::LocalExecutable& executable) {
      if (executable.executable() == nullptr) {
        return errors::FailedPrecondition(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top