- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 864 for Calculate (0.27 sec)
-
pkg/scheduler/framework/plugins/noderesources/resource_allocation.go
// resourceAllocationScorer contains information to calculate resource allocation score. type resourceAllocationScorer struct { Name string // used to decide whether to use Requested or NonZeroRequested for // cpu and memory. useRequested bool scorer func(requested, allocable []int64) int64 resources []config.ResourceSpec } // score will use `scorer` function to calculate the score. func (r *resourceAllocationScorer) score(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 14:53:43 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/TaskDependencyContainer.java
*/ public interface TaskDependencyContainer { TaskDependencyContainer EMPTY = context -> { }; /** * Adds the dependencies from this container to the given context. Failures to calculate the build dependencies should be supplied to the context rather than thrown. */ void visitDependencies(TaskDependencyResolveContext context);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy
.assertHasCause("Could not resolve all dependencies for configuration ':compileClasspath'.") .assertHasCause("Failed to calculate the value of task ':compileJava' property 'javaCompiler'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:25 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiIntegrationTest.groovy
.runWithFailure() then: failure.assertHasDescription("Could not determine the dependencies of task ':compileJava'.") .assertHasCause("Failed to calculate the value of task ':compileJava' property 'javaCompiler'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 10:53:57 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/eclipse/RunClosedProjectBuildDependencies.java
* to substitute the closed gradle projects in the eclipse workspace. * * This is a parameterized model and requires an {@link EclipseRuntime} parameter to calculate the * closed projects. * * @since 5.6 */ public interface RunClosedProjectBuildDependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileContentCacheFactory.java
*/ <V> FileContentCache<V> newCache(String name, int normalizedCacheSize, Calculator<? extends V> calculator, Serializer<V> serializer); interface Calculator<V> { V calculate(File file, boolean isRegularFile); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator.go
trace := utiltrace.New(fmt.Sprintf("Calculate volume metrics of %v for pod %v/%v", name, s.pod.Namespace, s.pod.Name)) defer trace.LogIfLong(1 * time.Second) return v.GetMetrics() }() if err != nil { // Expected for Volumes that don't support Metrics if !volume.IsNotSupported(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 00:55:10 UTC 2022 - 7.1K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
mockStats.EXPECT().ListBlockVolumesForPod(fakePod.UID).Return(blockVolumes, true) eventStore := make(chan string, 1) fakeEventRecorder := record.FakeRecorder{ Events: eventStore, } // Calculate stats for pod statsCalculator := newVolumeStatCalculator(mockStats, time.Minute, fakePod, &fakeEventRecorder) statsCalculator.calcAndStoreStats() vs, _ := statsCalculator.GetLatest()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DataSeriesTest.groovy
* limitations under the License. */ package org.gradle.performance.measure import spock.lang.Specification class DataSeriesTest extends Specification { def "can calculate statistics for samples"() { def v1 = DataAmount.kbytes(10) def v2 = DataAmount.kbytes(20) def v3 = DataAmount.kbytes(30) def series = new DataSeries([v1, v2, v3]) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeWorkPreparer.java
/** * Responsible for preparing the work graph for the build tree. */ public interface BuildTreeWorkPreparer { /** * Prepares the given work graph for execution. May configure the build model and calculate the task graph from this, or may load a cached task graph if available. */ BuildTreeWorkGraph.FinalizedGraph scheduleRequestedTasks(BuildTreeWorkGraph graph, @Nullable EntryTaskSelector selector);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 02 05:15:11 UTC 2022 - 1.1K bytes - Viewed (0)