Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 76 for mapValue (0.21 sec)

  1. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            }
    
            @Override
            public Integer minValue() {
              return integers().minValue();
            }
    
            @Override
            public Integer maxValue() {
              return integers().maxValue();
            }
          };
    
      public void testInvalidIntRange() {
        try {
          ContiguousSet.closed(2, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirArgumentsConverter.kt

    }
    
    private fun convertArgument(argument: Map<*, *>, firSymbolBuilder: KaSymbolByFirBuilder): Any? {
        return argument.mapKeys { (key, _) ->
            convertArgument(key, firSymbolBuilder)
        }.mapValues { (_, value) -> 
            convertArgument(value, firSymbolBuilder)
        }
    }
    
    private fun convertArgument(argument: Collection<*>, firSymbolBuilder: KaSymbolByFirBuilder): Any? {
        return argument.map { value ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

            containerElements
        )
    }
    
    
    private
    fun accessibleConventionsSchema(plugins: Map<String, Any>) =
        DeprecationLogger.whileDisabled(Factory {
            plugins.filterKeys(::isPublic).mapValues { inferPublicTypeOfConvention(it.value) }
        })!!
    
    
    private
    fun accessibleContainerSchema(collectionSchema: NamedDomainObjectCollectionSchema) =
        collectionSchema.elements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Cut.java

          throw new AssertionError();
        }
    
        @Override
        Comparable<?> greatestValueBelow(DiscreteDomain<Comparable<?>> domain) {
          return domain.maxValue();
        }
    
        @Override
        public int compareTo(Cut<Comparable<?>> o) {
          return (o == this) ? 0 : 1;
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Cut.java

          throw new AssertionError();
        }
    
        @Override
        Comparable<?> greatestValueBelow(DiscreteDomain<Comparable<?>> domain) {
          return domain.maxValue();
        }
    
        @Override
        public int compareTo(Cut<Comparable<?>> o) {
          return (o == this) ? 0 : 1;
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

        }
    
        private
        fun ParameterArgumentBinding.toValueBinding(argResolution: Map<FunctionArgument.ValueArgument, ObjectOrigin>, providesConfigureBlock: Boolean) =
            ParameterValueBinding(
                binding.mapValues { (_, arg) -> argResolution.getValue(arg) },
                providesConfigureBlock
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        }
    
        private
        fun addSystemPropertiesPrefixedByToFingerprint(prefix: String, snapshot: Map<String, String?>) {
            val filteredSnapshot = snapshot.mapValues { e ->
                if (isSystemPropertyMutated(e.key)) {
                    ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED
                } else {
                    e.value
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          throw new IllegalArgumentException(
              "Neither the DiscreteDomain nor this range set are bounded below");
        } else if (!span.hasUpperBound()) {
          try {
            domain.maxValue();
          } catch (NoSuchElementException e) {
            throw new IllegalArgumentException(
                "Neither the DiscreteDomain nor this range set are bounded above");
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          // 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);
                    bool ignored;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

          throw new IllegalArgumentException(
              "Neither the DiscreteDomain nor this range set are bounded below");
        } else if (!span.hasUpperBound()) {
          try {
            domain.maxValue();
          } catch (NoSuchElementException e) {
            throw new IllegalArgumentException(
                "Neither the DiscreteDomain nor this range set are bounded above");
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top