Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 298 for Executable (0.23 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            def javaCompile = project.tasks.create("compileJava", JavaCompile)
            javaCompile.destinationDirectory.set(new File("tmp"))
            def executable = Jvm.current().javacExecutable.absolutePath
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = executable
            def spec = javaCompile.createSpec()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecToolchainIntegrationTest.groovy

            then:
            failureDescriptionStartsWith("Execution failed for task ':run'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javaLauncher` property")
        }
    
        def "fails on toolchain and executable mismatch (without application plugin)"() {
            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/jit/kernels/xla_ops.cc

      if (run_synchronous) {
        execution_output =
            executable->Run(std::move(execution_inputs), run_options);
      } else {
        execution_output =
            executable->RunAsync(std::move(execution_inputs), run_options);
      }
    
      auto elapsed = env->NowMicros() - start_time;
      VLOG(2) << "Elapsed time for Xla Executable Run: " << elapsed << "us";
      return execution_output;
    }
    
    absl::StatusOr<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. src/os/executable_procfs.go

    	"internal/stringslite"
    	"runtime"
    )
    
    func executable() (string, error) {
    	var procfn string
    	switch runtime.GOOS {
    	default:
    		return "", errors.New("Executable not implemented for " + runtime.GOOS)
    	case "linux", "android":
    		procfn = "/proc/self/exe"
    	case "netbsd":
    		procfn = "/proc/curproc/exe"
    	}
    	path, err := Readlink(procfn)
    
    	// When the executable has been deleted then Readlink returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:26:04 UTC 2024
    - 715 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/customPlugins/customPlugin/tests/customPlugin.sample.conf

    # tag::cli[]
    # gradle --quiet hello
    # end::cli[]
    commands: [{
        executable: gradle
        args: hello
        flags: --quiet
        expected-output-file: customPlugin.out
    }, {
        executable: gradle
        args: hi
        flags: --quiet
        expected-output-file: customPluginScript.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 22:35:53 UTC 2024
    - 275 bytes
    - Viewed (0)
  7. 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)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompilerFactoryTest.groovy

            private final File executable;
    
            private TestCommandLineJavaSpec(File executable) {
                this.executable = executable;
            }
    
            @Override
            public File getExecutable() {
                return executable;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/pjrt_device_compiler_client.h

          const XlaCompiler::CompilationResult& result) override;
    
      // Returns a platform-specific serialization of `executable`. The
      // serialization is not guaranteed to be stable over time. `executable` must
      // have been produced by this client.
      absl::StatusOr<std::string> SerializeExecutable(
          const xla::PjRtLoadedExecutable& executable) override;
    
      // PjRt doesn't support AOT compilation yet. Builds a PjRtLoadedExecutable and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. 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)
Back to top