Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for isLocked (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/windows/service.go

    }
    
    type SERVICE_FAILURE_ACTIONS_FLAG struct {
    	FailureActionsOnNonCrashFailures int32
    }
    
    type SC_ACTION struct {
    	Type  uint32
    	Delay uint32
    }
    
    type QUERY_SERVICE_LOCK_STATUS struct {
    	IsLocked     uint32
    	LockOwner    *uint16
    	LockDuration uint32
    }
    
    //sys	OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (handle Handle, err error) [failretval==0] = advapi32.OpenSCManagerW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

                        .get()
                }
    
    
        private
        fun configuredProjectSchemaOf(scriptTarget: Any, classLoaderScope: ClassLoaderScope): TypedProjectSchema? {
            require(classLoaderScope.isLocked) {
                "project.classLoaderScope must be locked before querying the project schema"
            }
            return projectSchemaProvider.schemaFor(scriptTarget)?.takeIf { it.isNotEmpty() }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * Returns whether this monitor is occupied by any thread. This method is designed for use in
       * monitoring of the system state, not for synchronization control.
       */
      public boolean isOccupied() {
        return lock.isLocked();
      }
    
      /**
       * Returns whether the current thread is occupying this monitor (has entered more times than it
       * has left).
       */
      public boolean isOccupiedByCurrentThread() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Monitor.java

       * Returns whether this monitor is occupied by any thread. This method is designed for use in
       * monitoring of the system state, not for synchronization control.
       */
      public boolean isOccupied() {
        return lock.isLocked();
      }
    
      /**
       * Returns whether the current thread is occupying this monitor (has entered more times than it
       * has left).
       */
      public boolean isOccupiedByCurrentThread() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
Back to top