- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 815 for fslock (0.98 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/AbstractWorkerLeaseServiceTest.groovy
return service } TestTrackedResourceLock resourceLock(String displayName, boolean locked, boolean hasLock = false) { return new TestTrackedResourceLock(displayName, coordinationService, Mock(ResourceLockContainer), locked, hasLock) } TestTrackedResourceLock resourceLock(String displayName) { return resourceLock(displayName, false) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager.go
type objectStore struct { getObject GetObjectFunc clock clock.Clock lock sync.Mutex items map[objectKey]*objectStoreItem defaultTTL time.Duration getTTL GetObjectTTLFunc } // NewObjectStore returns a new ttl-based instance of Store interface. func NewObjectStore(getObject GetObjectFunc, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) Store { return &objectStore{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/site-replication-utils.go
}() } } wg.Wait() sm.Unlock() } sTimer.Reset(siteResyncSaveInterval) case <-ctx.Done(): return } } } // update overall site resync state func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error { if !globalSiteReplicationSys.isEnabled() { return nil } sm.Lock() defer sm.Unlock() switch s.Status { case ResyncStarted:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 8.9K bytes - Viewed (1) -
src/cmd/compile/internal/ssa/cse.go
} if v.AuxInt != w.AuxInt { return lt2Cmp(v.AuxInt < w.AuxInt) } if len(v.Args) != len(w.Args) { return lt2Cmp(len(v.Args) < len(w.Args)) } if v.Op == OpPhi && v.Block != w.Block { return lt2Cmp(v.Block.ID < w.Block.ID) } if v.Type.IsMemory() { // We will never be able to CSE two values // that generate memory. return lt2Cmp(v.ID < w.ID) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 9.6K bytes - Viewed (0) -
src/syscall/env_unix.go
func Unsetenv(key string) error { envOnce.Do(copyenv) envLock.Lock() defer envLock.Unlock() if i, ok := env[key]; ok { envs[i] = "" delete(env, key) } runtimeUnsetenv(key) return nil } func Getenv(key string) (value string, found bool) { envOnce.Do(copyenv) if len(key) == 0 { return "", false } envLock.RLock() defer envLock.RUnlock() i, ok := env[key] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/Resolver.kt
import org.gradle.declarative.dsl.schema.AnalysisSchema import org.gradle.declarative.dsl.schema.FqName import org.gradle.internal.declarativedsl.language.Block import org.gradle.internal.declarativedsl.language.Import interface Resolver { fun resolve(schema: AnalysisSchema, imports: List<Import>, topLevelBlock: Block): ResolutionResult } class ResolverImpl( private val codeAnalyzer: CodeAnalyzer,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java
} } } @Override public void assertHasStateLock() { synchronized (lock) { if (getCurrent() == null) { throw new IllegalStateException(); } } } @Override public void addLockReleaseListener(Action<ResourceLock> listener) { synchronized (lock) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
for _, stmt := range f.Syntax.Stmt { block, ok := stmt.(*LineBlock) if !ok { continue } less := lineLess if block.Token[0] == "exclude" && useSemanticSortForExclude { less = lineExcludeLess } else if block.Token[0] == "retract" { less = lineRetractLess } sort.SliceStable(block.Line, func(i, j int) bool { return less(block.Line[i], block.Line[j]) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/AbstractTrackedResourceLockTest.groovy
given: _ * coordinationService.current >> resourceLockState when: lock.tryLock() then: 1 * container.lockAcquired(lock) 1 * resourceLockState.registerLocked(lock) when: lock.unlock() then: 1 * container.lockReleased(lock) } def "throws exception when methods are called without coordination service transform"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go
func isOpen() bool { openedMu.Lock() defer openedMu.Unlock() return opened } // Open enables telemetry data writing to disk. // This is supposed to be called once during the program execution // (i.e. typically in TestMain), and must not be used with // golang.org/x/telemetry/counter.Open. func Open(telemetryDir string) { openedMu.Lock() defer openedMu.Unlock() if opened {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.5K bytes - Viewed (0)