- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for currentTask (0.31 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/TaskExecutionAccessCheckers.kt
if (shouldReportExecutionTimeAccess(task)) { broadcaster.onConventionAccess(invocationDescription, task, currentTask()) } } private fun currentTask() = workExecutionTracker.currentTask.orElse(null) protected abstract fun shouldReportExecutionTimeAccess(task: TaskInternal): Boolean } object TaskExecutionAccessCheckers {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/BuildServiceProviderNagger.java
} @Override public void beforeGet(BuildServiceProvider<?, ?> provider) { currentTask().ifPresent(task -> { if (!isServiceRequiredBy(task, provider)) { nagAboutUndeclaredUsageOf(provider, task); } }); } private Optional<TaskInternal> currentTask() { return taskExecutionTracker.getCurrentTask(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 08:22:48 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt
private fun isInputTrackingDisabled() = !inputTrackingState.isEnabledForCurrentThread() private fun isExecutingWork() = workExecutionTracker.currentTask.isPresent || workExecutionTracker.isExecutingTransformAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/kubelet/container/container_hash_test.go
) func TestConsistentHashContainer(t *testing.T) { container := &v1.Container{} if err := json.Unmarshal([]byte(sampleContainer), container); err != nil { t.Error(err) } currentHash := HashContainer(container) if currentHash != sampleV131HashValue { t.Errorf("mismatched hash value with v1.31") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
t.Fatalf("Stat failed with %s expected to pass.", err) } // Get umask of the bits stored. currentUmask := 0o777 - uint32(st.Mode().Perm()) // Verify if umask is correct. if int(currentUmask) != testCase.expectedUmask { t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask) } } // Tests if the file creations happen with proper umask. func TestIsValidUmaskFile(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 3.4K bytes - Viewed (0)