- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for isLocked (0.14 sec)
-
internal/dsync/drwmutex.go
// Granted - represents a structure of a granted lock. type Granted struct { index int lockUID string // Locked if set with UID string, unlocked if empty } func (g *Granted) isLocked() bool { return isLocked(g.lockUID) } func isLocked(uid string) bool { return len(uid) > 0 } // NewDRWMutex - initializes a new dsync RW mutex. func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootClassLoaderScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 8.9K bytes - Viewed (0) -
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) -
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) -
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) -
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)