Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCurrent (0.17 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

                }
            }
        }
    
        @Override
        public void assertHasStateLock() {
            synchronized (lock) {
                if (getCurrent() == null) {
                    throw new IllegalStateException();
                }
            }
        }
    
        @Override
        public void addLockReleaseListener(Action<ResourceLock> listener) {
            synchronized (lock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

            try (PreparedStatement statement = connection.prepareStatement(insertStatement("testOperation", "testExecution", "version", "totalTime"))) {
                addOperations(statement, testId, null, results.getCurrent());
                for (BaselineVersion baselineVersion : results.getBaselineVersions()) {
                    addOperations(statement, testId, baselineVersion.getVersion(), baselineVersion.getResults());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/generic.go

    	// update running pod and container count
    	updateRunningPodAndContainerMetrics(pods)
    	g.podRecords.setCurrent(pods)
    
    	// Compare the old and the current pods, and generate events.
    	eventsByPodID := map[types.UID][]*PodLifecycleEvent{}
    	for pid := range g.podRecords {
    		oldPod := g.podRecords.getOld(pid)
    		pod := g.podRecords.getCurrent(pid)
    		// Get all containers in the old and the new pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy

        def "target of reference is realized when used as an input"() {
            when:
            buildScript '''
                @Managed
                interface Platforms {
                    OperatingSystem getCurrent()
                    void setCurrent(OperatingSystem os)
    
                    OperatingSystem getWindows()
                    OperatingSystem getLinux()
                }
    
                @Managed
                interface OperatingSystem {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                @Override
                ResourceLockState.Disposition transform(ResourceLockState resourcesLockState) {
                    assert coordinationService.getCurrent() == resourcesLockState
                    return FINISHED
                }
            })
    
            then:
            noExceptionThrown()
        }
    
        def "locks are rolled back when an exception is thrown"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. cluster/gce/windows/common.psm1

      # Run the task as the same user who is currently running this script.
      $principal = New-ScheduledTaskPrincipal $([System.Security.Principal.WindowsIdentity]::GetCurrent().Name)
      # Just use the default task settings.
      $settings = New-ScheduledTaskSettingsSet
      # Create the ScheduledTask object from the above parameters.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
Back to top