Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 234 for setPath (0.5 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
        assertEquals(10.0, limiter.getRate());
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
      }
    
      public void testAcquireParameterValidation() {
        RateLimiter limiter = RateLimiter.create(999);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
        assertEquals(10.0, limiter.getRate());
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
      }
    
      public void testAcquireParameterValidation() {
        RateLimiter limiter = RateLimiter.create(999);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformExecutionResult.java

                } else if (output.getPath().startsWith(outputDirPrefix)) {
                    String relativePath = RelativePath.parse(true, output.getPath().substring(outputDirPrefix.length())).getPathString();
                    delegate.addProducedOutput(relativePath);
                    workspaceAction.accept(output);
                } else if (output.getPath().startsWith(inputArtifactPrefix)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        public static PathInfo convertToItem(final String id) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top