Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for evaluate (0.08 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            assertNull(ReflectionValueExtractor.evaluate("h.value[", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[a]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[0", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[0)", value));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                        } else {
                            result = evaluator.evaluate(value);
                        }
                    }
                }
                failIfNotTypeCompatible(result, type, configuration);
                return result;
            } catch (final ExpressionEvaluationException e) {
                final String reason = String.format(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            XmlNode toXml(PlexusConfiguration config, ExpressionEvaluator evaluator) throws ExpressionEvaluationException {
                List<XmlNode> children = new ArrayList<>();
                for (PlexusConfiguration c : config.getChildren()) {
                    children.add(toXml(c, evaluator));
                }
                String name = config.getName();
                Object value = evaluator.evaluate(config.getValue());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

         * @return the object defined by the expression
         * @throws IntrospectionException if any
         */
        public static Object evaluate(@Nonnull String expression, @Nullable Object root) throws IntrospectionException {
            return evaluate(expression, root, true);
        }
    
        /**
         * <p>
         * The implementation supports indexed, nested and mapped properties.
         * </p>
         * <ul>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java

    import java.util.HashSet;
    import java.util.Set;
    
    import org.apache.maven.model.path.UrlNormalizer;
    import org.codehaus.plexus.interpolation.InterpolationPostProcessor;
    
    /**
     * Ensures that expressions referring to URLs evaluate to normalized URLs.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class UrlNormalizingPostProcessor implements InterpolationPostProcessor {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/graphql.md

    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓
    
    ///
    
    ## GraphQL Libraries
    
    Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         */
        public Object getValue(String expression) {
            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
                addFeedback("Failed to extract \'" + expression + "\' from: " + root, e);
            }
    
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/iam.go

    	}
    
    	// 3. If an inline session-policy is present, evaluate it.
    	hasSessionPolicy, isAllowedSP := isAllowedBySessionPolicyForServiceAccount(args)
    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    	}
    
    	// Sub policy not set. Evaluate only the parent policies.
    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final long[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
       * instances. Note that the instances that would get smaller are the right set to care about
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/ImmutableIntArray.java

      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
       * instances. Note that the instances that would get smaller are the right set to care about
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top