Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getCurrent (0.14 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. pkg/kubelet/certificate/transport_test.go

    	return nil
    }
    
    func (f *fakeManager) setCurrent(cert *tls.Certificate) {
    	f.cert.Store(cert)
    }
    
    func TestRotateShutsDownConnections(t *testing.T) {
    
    	// This test fails if you comment out the t.closeAllConns() call in
    	// transport.go and don't close connections on a rotate.
    
    	stop := make(chan struct{})
    	defer close(stop)
    
    	m := new(fakeManager)
    	m.setCurrent(client1CertData.certificate)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 18 08:52:58 UTC 2020
    - 7.8K bytes
    - Viewed (0)
Back to top