Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for mapValue (0.17 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. 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)
  3. 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)
  4. 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/map_test.go

    	type val struct {
    		s   string
    		pad [128]byte // sizeof(val) > abi.MapMaxElemBytes
    	}
    	m := map[int]val{1: {s: "a"}, 2: {s: "b"}}
    	vals := make([]val, 0, len(m))
    	runtime.MapValues(m, unsafe.Pointer(&vals))
    	for _, v := range vals {
    		if len(v.s) != 1 {
    			t.Errorf("len(v.s) == %d, want 1", len(v.s))
    		}
    	}
    }
    
    func computeHash() uintptr {
    	var v struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    var CgoCheckPointer = cgoCheckPointer
    
    const CrashStackImplemented = crashStackImplemented
    
    const TracebackInnerFrames = tracebackInnerFrames
    const TracebackOuterFrames = tracebackOuterFrames
    
    var MapKeys = keys
    var MapValues = values
    
    var LockPartialOrder = lockPartialOrder
    
    type TimeTimer = timeTimer
    
    type LockRank lockRank
    
    func (l LockRank) String() string {
    	return lockRank(l).String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top