Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for isLocked (0.13 sec)

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

                lockDetails.canAccessAnything = previous;
            }
        }
    
        @Override
        public boolean hasOpenLocks() {
            for (ResourceLock resourceLock : resourceLocks.values()) {
                if (resourceLock.isLocked()) {
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public void lockAcquired(ResourceLock resourceLock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    		}
    
    		mode := info.Mode()
    		if mode.IsDir() {
    			if err := w.fsWatcher.Add(path); err != nil {
    				return fmt.Errorf("failed to watch %s, err: %v", path, err)
    			}
    		} else if isSocket, _ := util.IsUnixDomainSocket(path); isSocket {
    			event := fsnotify.Event{
    				Name: path,
    				Op:   fsnotify.Create,
    			}
    			//TODO: Handle errors by taking corrective measures
    			if err := w.handleCreateEvent(event); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        boolean isBlacklisted();
    
        @Deprecated
        void setBlacklisted(boolean blackListed);
    
        /**
         * @return whether the repository is blocked
         * @since 3.8.1
         **/
        boolean isBlocked();
    
        /**
         * @param blocked block the repository?
         * @since 3.8.1
         **/
        void setBlocked(boolean blocked);
    
        //
        // New interface methods for the repository system.
        //
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 23 17:14:45 UTC 2023
    - 4.2K 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