Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for mapValue (0.3 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinDslScriptsModelBuilder.kt

        private val dehydratedScriptModels: Map<File, KotlinDslScriptModel>
    ) : KotlinDslScriptsModel, Serializable {
    
        override fun getScriptModels() =
            dehydratedScriptModels.mapValues { (_, lightModel) ->
                StandardKotlinDslScriptModel(
                    commonModel.classPath + lightModel.classPath,
                    commonModel.sourcePath + lightModel.sourcePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 18:13:21 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt

                is RuntimeFunctionResolver.Resolution.Resolved -> {
                    val bindingWithValues = origin.parameterBindings.bindingMap.mapValues { getObjectByResolvedOrigin(it.value) }
                    runtimeFunction.function.callByWithErrorHandling(receiverInstance, bindingWithValues, origin.parameterBindings.providesConfigureBlock)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/image/jpeg/writer.go

    // The maximum codeword size is 16 bits.
    type huffmanLUT []uint32
    
    func (h *huffmanLUT) init(s huffmanSpec) {
    	maxValue := 0
    	for _, v := range s.value {
    		if int(v) > maxValue {
    			maxValue = int(v)
    		}
    	}
    	*h = make([]uint32, maxValue+1)
    	code, k := uint32(0), 0
    	for i := 0; i < len(s.count); i++ {
    		nBits := uint32(i+1) << 24
    		for j := uint8(0); j < s.count[i]; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                            os to (testProject to performanceTestDuration)
                        }
                }
            }
            return pairs.groupBy({ it.first }, { it.second })
                .mapValues { entry -> entry.value.groupBy({ it.first }, { it.second }) }
        }
    
        private
        fun readPerformanceTestConfigurations(performanceTestsCiJson: File): List<PerformanceTestConfiguration> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

                    throw new IOException(String.format("%s overlaps with %s", b1, b2));
                }
            }
        }
    
        private void verifyTree(IndexBlock current, String prefix, Collection<BlockPayload> blocks, long maxValue,
                                boolean loadData) throws Exception {
            blocks.add(current);
    
            if (!prefix.equals("") && current.entries.size() < maxChildIndexEntries / 2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    			minValue = nodeMin
    		}
    	}
    	maxValue := rpt.total
    	if minValue == 0 {
    		minValue = maxValue
    	}
    
    	if r := o.Ratio; r > 0 && r != 1 {
    		minValue = int64(float64(minValue) * r)
    		maxValue = int64(float64(maxValue) * r)
    	}
    
    	_, minUnit := measurement.Scale(minValue, o.SampleUnit, "minimum")
    	_, maxUnit := measurement.Scale(maxValue, o.SampleUnit, "minimum")
    
    	unit := minUnit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top