Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isLocked (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootClassLoaderScope.java

        }
    
        @Override
        public ClassLoaderScope lock() {
            return this;
        }
    
        @Override
        public boolean isLocked() {
            return true;
        }
    
        @Override
        public void onReuse() {
            // Nothing to do
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java

        }
    
        @Override
        public ClassLoaderScope lock() {
            return this;
        }
    
        @Override
        public boolean isLocked() {
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy

        boolean isAllowedUncontrolledAccessToAnyProject() {
            return false
        }
    
        private WorkerLease workerLease() {
            return new WorkerLease() {
                @Override
                boolean isLocked() {
                    return false
                }
    
                @Override
                boolean isLockedByCurrentThread() {
                    return false
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java

        /**
         * Signal that no more modifications are to come, allowing the structure to be optimised if possible.
         *
         * @return this
         */
        ClassLoaderScope lock();
    
        boolean isLocked();
    
        /**
         * Notifies this scope that it is about to be reused in a new build invocation, so that the scope can recreate or otherwise prepare its classloaders for this, as certain state may have
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java

            }
        }
    
        @Override
        public ClassLoaderScope lock() {
            locked = true;
            return this;
        }
    
        @Override
        public boolean isLocked() {
            return locked;
        }
    
        @Override
        public void onReuse() {
            parent.onReuse();
            listener.childScopeCreated(parent.getId(), id, origin);
            if (!export.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt

            return gradleKotlinDsl + exportClassPathFromHierarchyOf(scope)
        }
    
        internal
        fun exportClassPathFromHierarchyOf(scope: ClassLoaderScope): ClassPath {
            require(scope.isLocked) {
                "$scope must be locked before it can be used to compute a classpath!"
            }
            val exportedClassPath = cachedClassLoaderClassPath.of(scope.exportClassLoader)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultScriptHandler.java

        }
    
        @Override
        public URI getSourceURI() {
            return scriptResource.getURI();
        }
    
        @Override
        public ClassLoader getClassLoader() {
            if (!classLoaderScope.isLocked()) {
                LOGGER.debug("Eager creation of script class loader for {}. This may result in performance issues.", scriptResource.getDisplayName());
            }
            return classLoaderScope.getLocalClassLoader();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 17:56:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_windows.go

    	// on Windows. In this case, we need to use a different method to check if it's a Unix Socket.
    	if err == errUnknownFileType || isSystemCannotAccessErr(err) {
    		if isSocket, errSocket := filesystem.IsUnixDomainSocket(pathname); errSocket == nil && isSocket {
    			return FileTypeSocket, nil
    		}
    	}
    
    	return filetype, err
    }
    
    // PathExists checks whether the path exists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/runtime/runtime.go

    }
    
    // detectCRISocketImpl is separated out only for test purposes, DON'T call it directly, use DetectCRISocket instead
    func detectCRISocketImpl(isSocket func(string) bool, knownCRISockets []string) (string, error) {
    	foundCRISockets := []string{}
    
    	for _, socket := range knownCRISockets {
    		if isSocket(socket) {
    			foundCRISockets = append(foundCRISockets, socket)
    		}
    	}
    
    	switch len(foundCRISockets) {
    	case 0:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
                    repository.setLayout(original.getLayout());
                }
    
                repository.setBlocked(mirror.isBlocked());
            }
        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
            if (repositories != null && selector != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top