Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for setPath (0.38 sec)

  1. src/net/url/url.go

    		return "", err
    	}
    	return host, nil
    }
    
    // setPath sets the Path and RawPath fields of the URL based on the provided
    // escaped path p. It maintains the invariant that RawPath is only specified
    // when it differs from the default encoding of the path.
    // For example:
    // - setPath("/foo/bar")   will set Path="/foo/bar" and RawPath=""
    // - setPath("/foo%2fbar") will set Path="/foo/bar" and RawPath="/foo%2fbar"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactManager#setPath(Artifact, Path)
         */
        @Override
        public void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path) {
            getService(ArtifactManager.class).setPath(artifact, path);
        }
    
        /**
         * Shortcut for <code>getService(ArtifactManager.class).getPath(...)</code>
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                @Override
                public Optional<Path> getPath(Artifact artifact) {
                    return Optional.ofNullable(paths.get(artifact));
                }
    
                @Override
                public void setPath(Artifact artifact, Path path) {
                    paths.put(artifact, path);
                }
            };
        }
    
        @Provides
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactManager.class).setPath(...)}.
         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path)
         */
        void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

        }
    
        static void checkNodePath(ModelNodeInternal node, ModelAction action) {
            if (!node.getPath().equals(action.getSubject().getPath())) {
                throw new IllegalArgumentException(String.format("Element action reference has path (%s) which does not reference this node (%s).", action.getSubject().getPath(), node.getPath()));
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

        @Override
        public void applyToLink(ModelActionRole type, ModelAction action) {
            if (!getPath().isDirectChild(action.getSubject().getPath())) {
                throw new IllegalArgumentException(String.format("Linked element action reference has a path (%s) which is not a child of this node (%s).", action.getSubject().getPath(), getPath()));
            }
            modelRegistry.bind(action.getSubject(), type, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

            scopeReferences.addNodeToScope(node.getPath(), node);
            scopeReferences.addNodeToScope(node.getPath().getParent(), node);
        }
    
        private void bound(Reference reference, ModelNodeInternal node) {
            ModelBinding binding = reference.binding;
            binding.onBind(node);
            reference.index.put(new NodeAtState(node.getPath(), binding.predicate.getState()), reference.owner);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/volume/hostpath/host_path.go

    	err := validation.ValidatePathNoBacksteps(b.GetPath())
    	if err != nil {
    		return fmt.Errorf("invalid HostPath `%s`: %v", b.GetPath(), err)
    	}
    
    	if *b.pathType == v1.HostPathUnset {
    		return nil
    	}
    	if b.noTypeChecker {
    		return nil
    	} else {
    		return checkType(b.GetPath(), b.pathType, b.hu)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
                if (reference.getPath() != null) {
                    try {
                        ModelPath.validatePath(reference.getPath().getPath());
                    } catch (Exception e) {
                        problems.add(ruleDefinition, "The declared model element path '" + reference.getPath().getPath() + "' used for parameter " + (i + 1) + " is not a valid path", e);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. pkg/volume/portworx/portworx.go

    	}
    	klog.Infof("Portworx Volume %s setup at %s", b.volumeID, dir)
    	return nil
    }
    
    func (pwx *portworxVolume) GetPath() string {
    	return getPath(pwx.podUID, pwx.volName, pwx.plugin.host)
    }
    
    type portworxVolumeUnmounter struct {
    	*portworxVolume
    }
    
    var _ volume.Unmounter = &portworxVolumeUnmounter{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top