Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,359 for executable_ (0.35 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProviderFactoryTest.groovy

        }
    
        def "different #compiler executables are probed and cached"() {
            def firstBinary = new File("first")
            def secondBinary = new File("second")
            when:
            def firstMetadata = metadataProvider(compiler).getCompilerMetaData([]) { it.executable(firstBinary) }
    
            then:
            interaction compilerShouldBeExecuted
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

                }
            """
    
            when:
            run "mainExecutable"
    
            then:
            def executable = executable("build/exe/main/main")
            executable.exec().out == "Hello!"
        }
    
        @ToBeFixedForConfigurationCache
        def "can build debug binaries for a C++ executable"() {
            given:
            buildFile << """
    apply plugin: "cpp"
    
    model {
        components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_executable_persistor.h

      *serialized_entry.mutable_hlo_module() = hlo_module;
    
      // XLA compiler supports exporting executables as an AOT compilation result
      // to avoid running potentially expensive compilation pipeline twice.
      // Check if XLA compiler can export available executable.
      if (auto serialized_executable =
              compiler_client->SerializeExecutable(executable);
          serialized_executable.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/get_compiler_ir.cc

        case IrExportStage::OPTIMIZED_HLO:
        case IrExportStage::OPTIMIZED_HLO_SERIALIZED: {
          TF_ASSIGN_OR_RETURN(std::unique_ptr<xla::LocalExecutable> executable,
                              BuildExecutable(local_client, result, options));
          xla::Executable* new_executable = executable->executable();
          if (stage == IrExportStage::OPTIMIZED_HLO_SERIALIZED) {
            return new_executable->module().ToProto().SerializeAsString();
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/os/exec/lp_plan9.go

    var ErrNotFound = errors.New("executable file not found in $path")
    
    func findExecutable(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	if m := d.Mode(); !m.IsDir() && m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    // LookPath searches for an executable named file in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/os/exec_windows_test.go

    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	testenv.MustHaveExec(t)
    
    	name, err := Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    	r, err := Open(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer r.Close()
    	const n = 100
    	var execs [n]string
    	// First create n executables.
    	for i := 0; i < n; i++ {
    		// Rewind r.
    		if _, err := r.Seek(0, io.SeekStart); err != nil {
    			t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 15:13:24 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/os/exec/lp_unix.go

    import (
    	"errors"
    	"internal/syscall/unix"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    )
    
    // ErrNotFound is the error resulting if a path search failed to find an executable file.
    var ErrNotFound = errors.New("executable file not found in $PATH")
    
    func findExecutable(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	m := d.Mode()
    	if m.IsDir() {
    		return syscall.EISDIR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppPublishingIntegrationTest.groovy

            }
        }
    
        @Override
        ExecutableFixture executable(Object path) {
            ExecutableFixture executable = super.executable(path)
            // Executables synced from a binary repo lose their executable bit
            executable.file.setExecutable(true)
            executable
        }
    
        Map<String, String> machine(String os, String architecture) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/NativeProjectWithDepsGeneratorTask.groovy

                            dependentProjects)
                }
            }
    
            // Executable projects are generated with just source
            def allExecutables = getGeneratedExecutables()
            allExecutables.eachWithIndex { List<String> executables, int executableGroupIdx ->
                executables.eachWithIndex { String subprojectName, int idx ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

            File executable = commandLocation(command);
            if (executable.isFile()) {
                return executable;
            }
    
            if (userSupplied) { //then we want to validate strictly
                throw new JavaHomeException(String.format("The supplied javaHome seems to be invalid."
                    + " I cannot find the %s executable. Tried location: %s", command, executable.getAbsolutePath()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top