Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 164 for setPath (0.12 sec)

  1. src/cmd/vet/vet_test.go

    	if os.Getenv("GO_VETTEST_IS_VET") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_VETTEST_IS_VET", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    // vetPath returns the path to the "vet" binary to run.
    func vetPath(t testing.TB) string {
    	t.Helper()
    	testenv.MustHaveExec(t)
    
    	vetPathOnce.Do(func() {
    		vetExePath, vetPathErr = os.Executable()
    	})
    	if vetPathErr != nil {
    		t.Fatal(vetPathErr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

            }
            for (File dir : getPath()) {
                File candidate = new File(dir, exeName);
                if (candidate.isFile()) {
                    return candidate;
                }
            }
    
            return null;
        }
    
        public List<File> findAllInPath(String name) {
            List<File> all = new LinkedList<File>();
    
            for (File dir : getPath()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            Path pom = modelParsers.stream()
                    .map(m -> m.locate(projectDirectory)
                            .map(org.apache.maven.api.services.Source::getPath)
                            .orElse(null))
                    .filter(Objects::nonNull)
                    .findFirst()
                    .orElseGet(() -> modelLocator.locatePom(projectDirectory));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. pkg/volume/git_repo/git_repo.go

    type gitRepoVolume struct {
    	volName string
    	podUID  types.UID
    	plugin  *gitRepoPlugin
    	volume.MetricsNil
    }
    
    var _ volume.Volume = &gitRepoVolume{}
    
    func (gr *gitRepoVolume) GetPath() string {
    	name := gitRepoPluginName
    	return gr.plugin.host.GetPodVolumeDir(gr.podUID, utilstrings.EscapeQualifiedName(name), gr.volName)
    }
    
    // gitRepoVolumeMounter builds git repo volumes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

    public class DefaultModelXmlFactory implements ModelXmlFactory {
        @Override
        public Model read(@Nonnull XmlReaderRequest request) throws XmlReaderException {
            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                encoder.writeNullableString(context.uid);
                encoder.writeString(context.javaHome.getPath());
                encoder.writeSmallInt(context.javaVersion.asInt());
                encoder.writeString(context.daemonRegistryDir.getPath());
                encoder.writeBoolean(context.pid != null);
                if (context.pid != null) {
                    encoder.writeLong(context.pid);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/TaskExecution.java

        private TaskState state;
    
        public TaskExecution(String taskPath) {
            super(taskPath);
            this.path = taskPath;
        }
    
        /**
         * Gets the string task path.
         */
        public String getPath() {
            return path;
        }
    
        public String getStatus() {
            return state.getSkipped() ? state.getSkipMessage() : state.getDidWork() ? "" : NO_WORK_MESSAGE;
        }
    
        public TaskState getState() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java

                                    if (useScalaSdk) {
                                        declareScalaSdk(scalaCompilerLibraries.get(project.getPath()), xmlProvider.asNode());
                                    } else {
                                        declareScalaFacet(scalaCompilerLibraries.get(project.getPath()), xmlProvider.asNode());
                                    }
                                }
                            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProblemsProgressEventConsumer.java

                } else if (location instanceof OffsetInFileLocation) {
                    OffsetInFileLocation fileLocation = (OffsetInFileLocation) location;
                    return new org.gradle.internal.build.event.types.DefaultOffsetInFileLocation(fileLocation.getPath(), fileLocation.getOffset(), fileLocation.getLength());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top