Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for filterValue (0.15 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java

                return ExecutionTimeValue.value(filterValue(context, value.toValue()));
            }
        }
    
        @Override
        protected Value<? extends T> calculateOwnValue(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
                beforeRead(context);
                Value<? extends T> value = provider.calculateValue(consumer);
                return filterValue(context, value);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        assertEquals(ImmutableMap.of(), filtered);
      }
    
      public void testFilteredValuesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterValues(unfiltered, EVEN);
        filtered.put("a", 2);
        unfiltered.put("b", 4);
        unfiltered.put("c", 5);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        try {
          filtered.put("yyy", 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        return Maps.filterValues(map, FILTER_VALUES);
                      }
                    })
                .named("Maps.filterValues[Map, Predicate]")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        assertEquals(ImmutableMap.of(), filtered);
      }
    
      public void testFilteredValuesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterValues(unfiltered, EVEN);
        filtered.put("a", 2);
        unfiltered.put("b", 4);
        unfiltered.put("c", 5);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        try {
          filtered.put("yyy", 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        mhlo::ConvolutionOp conv_op;
        Operation *bcast_or_const_op;
        shape::ShapeOfOp shape_of_op;
        mhlo::ConstantOp filter;
        mhlo::ConstantOp multiplier;
        mlir::ElementsAttr filter_value, mul_value;
        mlir::DenseIntElementsAttr broadcast_dims;
    
        // Match and capture values/attributes.
        Value lhs = mul_op.getLhs();
        Value rhs = mul_op.getRhs();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

                sortChanges(it.value)
            }
    
            val mismatches = originalChanges.mapValues {
                findMismatches(it.value, sortedChanges[it.key]!!)
            }.filterValues {
                it.isNotEmpty()
            }
    
            if (mismatches.isNotEmpty()) {
                val formattedMismatches = mismatches.mapValues { mismatch ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            filter_constant_op) {
          // This is i8 values disguised as f32 (due to the upcast trick). Simply
          // cast them to i8.
          ElementsAttr filter_value = filter_constant_op.getValue();
          filter_i8_value_attr =
              mlir::cast<DenseFPElementsAttr>(filter_value)
                  .mapValues(rewriter.getI8Type(), [](const APFloat& val) -> APInt {
                    APSInt convertedInt(/*BitWidth=*/8, /*isUnsigned=*/false);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            return apiChangesDirectory.get().asFile.listFiles()
                ?.filter {
                    it.name.endsWith(".json")
                }?.associate {
                    it to it.readAcceptedChanges()
                }?.filterValues {
                    it.acceptedApiChanges != null
                }?.mapValues {
                    it.value.acceptedApiChanges!!
                } ?: emptyMap()
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

                .mapValues { (_, functions) -> functions.singleOrNull { fn -> fn.parameters.all { it == fn.instanceParameter } } }
                .filterValues { it != null && includeMemberFilter.shouldIncludeMember(it) }
            return getters.mapNotNull { (name, getter) ->
                checkNotNull(getter)
                val nameAfterGet = name.substringAfter("get")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/CandidateMethods.java

         * {@literal null} if none
         */
        public Map<Equivalence.Wrapper<Method>, Collection<Method>> overriddenMethodsNamed(String methodName) {
            if (candidates.containsKey(methodName)) {
                return Maps.filterValues(candidates.get(methodName), new Predicate<Collection<Method>>() {
                    @Override
                    public boolean apply(Collection<Method> equivalentMethods) {
                        return equivalentMethods.size() > 1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top