Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 178 for Executable (0.37 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/wrapper-main/build.gradle.kts

    }
    
    val executableJar by tasks.registering(Jar::class) {
        archiveFileName = "gradle-wrapper-executable.jar"
        manifest {
            attributes.remove(Attributes.Name.IMPLEMENTATION_VERSION.toString())
            attributes(Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle Wrapper")
        }
        from(layout.projectDirectory.dir("src/executable/resources"))
        from(sourceSets.main.get().output)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppApplicationInitIntegrationTest.groovy

            then:
            executed(":app:test")
    
            and:
            executable("${subprojectName()}/build/exe/main/debug/app").exec().out ==  "Hola, Mundo!\n"
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        ExecutableFixture executable(String path) {
            AvailableToolChains.defaultToolChain.executable(targetDir.file(path))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

            then:
            executed(":app:test")
    
            and:
            executable("${subprojectName()}/build/exe/main/debug/App").exec().out ==  "Hola, Mundo!\n"
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        ExecutableFixture executable(String path) {
            AvailableToolChains.getToolChain(ToolChainRequirement.SWIFTC).executable(targetDir.file(path))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/runtime/debug/example_monitor_test.go

    		}
    		if err := f.Close(); err != nil {
    			log.Fatal(err)
    		}
    		log.Fatalf("saved crash report at %s", f.Name())
    	}
    
    	// This is the application process.
    	// Fork+exec the same executable in monitor mode.
    	exe, err := os.Executable()
    	if err != nil {
    		log.Fatal(err)
    	}
    	cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor")
    	cmd.Env = append(os.Environ(), monitorVar+"=1")
    	cmd.Stderr = os.Stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

            """
        }
    
        def "emits deprecation warning if executable specified as relative path"() {
            given:
            def executable = TextUtil.normaliseFileSeparators(Jvm.current().javaExecutable.toString())
    
            buildFile << """
                tasks.withType(JavaExec) {
                    executable = new File(".").getCanonicalFile().toPath().relativize(new File("${executable}").toPath()).toString()
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/os/executable_darwin.go

    )
    
    //go:linkname executablePath
    var executablePath string // set by ../runtime/os_darwin.go
    
    var initCwd, initCwdErr = Getwd()
    
    func executable() (string, error) {
    	ep := executablePath
    	if len(ep) == 0 {
    		return ep, errors.New("cannot find executable path")
    	}
    	if ep[0] != '/' {
    		if initCwdErr != nil {
    			return ep, initCwdErr
    		}
    		if len(ep) > 2 && ep[0:2] == "./" {
    			// skip "./"
    			ep = ep[2:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 675 bytes
    - Viewed (0)
Back to top