Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for filterValue (0.26 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. internal/event/errors.go

    	return "more than one suffix in filter rule"
    }
    
    // ErrInvalidFilterValue - invalid filter value error.
    type ErrInvalidFilterValue struct {
    	FilterValue string
    }
    
    func (err ErrInvalidFilterValue) Error() string {
    	return fmt.Sprintf("invalid filter value '%v'", err.FilterValue)
    }
    
    // ErrDuplicateEventName - duplicate event name error.
    type ErrDuplicateEventName struct {
    	EventName Name
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. src/go/doc/filter.go

    		n := 0 // number of matches
    		if matchDecl(td.Decl, f) {
    			n = 1
    		} else {
    			// type name doesn't match, but we may have matching consts, vars, factories or methods
    			td.Consts = filterValues(td.Consts, f)
    			td.Vars = filterValues(td.Vars, f)
    			td.Funcs = filterFuncs(td.Funcs, f)
    			td.Methods = filterFuncs(td.Methods, f)
    			n += len(td.Consts) + len(td.Vars) + len(td.Funcs) + len(td.Methods)
    		}
    		if n > 0 {
    			a[w] = td
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/optimize.td

          (TF_Conv2DOp $input,
              (TF_MulOp (Arith_ConstantOp $filter_value, (location $filter)),
                        (Arith_ConstantOp $mul_value, (location $multiplier)),
                        (location $mul)),
              $strides, $use_cudnn, $padding, $explicit_padding, $data_format,
              $dilations, (location $conv)),
          [(CanFuseMulAndConv2D $filter_value, $mul_value), (HasOneUse $conv)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 22 07:31:23 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

      public void testFilterValues() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        Multimap<String, Integer> filtered = Multimaps.filterValues(unfiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertFalse(filtered.containsEntry("foo", 55556));
        assertTrue(filtered.containsEntry("badkey", 1));
      }
    
      public void testFilterFiltered() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  10. 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)
Back to top