Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getCurrent (0.2 sec)

  1. platforms/extensibility/plugin-development/src/crossVersionTest/groovy/org/gradle/plugin/devel/PrecompiledGroovyPluginCrossVersionSpec.groovy

            Assume.assumeTrue(previous.version >= GradleVersion.version('5.0'))
    
            given:
            precompiledGroovyPluginBuiltWith(version(getCurrent()))
    
            when:
            def result = pluginTaskExecutedWith(version(getPrevious())).run()
    
            then:
            result.output.contains("$PLUGIN_ID applied")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/AbstractTrackedResourceLock.java

                        owner.lockAcquired(this);
                    } catch (RuntimeException e) {
                        releaseLock();
                        throw e;
                    }
                    coordinationService.getCurrent().registerLocked(this);
                    return true;
                } else {
                    return false;
                }
            } else {
                return true;
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            this.document = document
            this.parent = parent
        }
    
        protected Element createNode(Object name) {
            Element element = document.createElement(name as String)
            if (getCurrent() == null) {
                elements << element
                parent?.appendChild(element)
            }
            return element
        }
    
        protected Element createNode(Object name, Map attributes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockCoordinationService.java

         * of a {@link #withStateLock(InternalTransformer)} transform.
         *
         * @return the current {@link ResourceLockState} or null if not in a transform.
         */
        @Nullable
        ResourceLockState getCurrent();
    
        /**
         * Attempts to atomically change the state of resource locks.  Only one thread can alter the resource lock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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