- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 596 for fslock (0.08 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go
func (e *EventPort) Close() error { e.mu.Lock() defer e.mu.Unlock() err := Close(e.port) if err != nil { return err } e.fds = nil e.paths = nil e.cookies = nil return nil } // PathIsWatched checks to see if path is associated with this EventPort. func (e *EventPort) PathIsWatched(path string) bool { e.mu.Lock() defer e.mu.Unlock() _, found := e.paths[path] return found }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 31.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/SharedResourceLeaseRegistryTest.groovy
when: coordinationService.withStateLock(lock(lockA)) coordinationService.withStateLock(lock(lockB)) then: lockIsHeld(lockA) lockIsHeld(lockB) when: coordinationService.withStateLock(unlock(lockA)) coordinationService.withStateLock(unlock(lockB)) then: !lockIsHeld(lockA) !lockIsHeld(lockB)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5K bytes - Viewed (0) -
src/net/http/export_test.go
resetProxyConfig() } func (t *Transport) NumPendingRequestsForTesting() int { t.reqMu.Lock() defer t.reqMu.Unlock() return len(t.reqCanceler) } func (t *Transport) IdleConnKeysForTesting() (keys []string) { keys = make([]string, 0) t.idleMu.Lock() defer t.idleMu.Unlock() for key := range t.idleConn { keys = append(keys, key.String()) } slices.Sort(keys) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/kubelet/runtime.go
s.Lock() defer s.Unlock() s.runtimeError = err } func (s *runtimeState) setRuntimeHandlers(rtHandlers []kubecontainer.RuntimeHandler) { s.Lock() defer s.Unlock() s.rtHandlers = rtHandlers } func (s *runtimeState) runtimeHandlers() []kubecontainer.RuntimeHandler { s.RLock() defer s.RUnlock() return s.rtHandlers } func (s *runtimeState) setStorageState(err error) { s.Lock() defer s.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/test/framework/scope.go
scopes.Framework.Debugf("Adding resource for tracking: %v", id) s.mu.Lock() defer s.mu.Unlock() s.resources = append(s.resources, r) if c, ok := r.(io.Closer); ok { s.closers = append(s.closers, c) } } func (s *scope) get(ref any) error { s.mu.Lock() defer s.mu.Unlock() refVal := reflect.ValueOf(ref) if refVal.Kind() != reflect.Ptr {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 21:55:23 UTC 2024 - 4.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy
expect: fails "block" and: def outputLines = result.groupedOutput.task(":block").output.readLines() outputLines[0] == "Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms." outputLines[1] == "Timed out task ':block' has not yet stopped." outputLines[outputLines.size() - 1] == "Timed out task ':block' has stopped." and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java
@Override public void write(BlockPayload block) { attach(block); store.write(block); } @Override public void attach(BlockPayload block) { store.attach(block); freeListBlock.alloc(block.getBlock()); } @Override public void flush() { store.flush(); } private void verify(FreeListBlock block, int maxValue) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/test/util/assert/tracker.go
return &Tracker[T]{t: t} } // Record that an event occurred. func (t *Tracker[T]) Record(event T) { t.mu.Lock() defer t.mu.Unlock() t.events = append(t.events, event) } // Empty asserts the tracker is empty func (t *Tracker[T]) Empty() { t.t.Helper() t.mu.Lock() defer t.mu.Unlock() if len(t.events) != 0 { t.t.Fatalf("unexpected events: %v", t.events) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/ScriptBlockBuilder.java
*/ void methodInvocation(@Nullable String comment, BuildScriptBuilder.Expression target, String methodName, Object... methodArgs); /** * Adds a statement to this block. */ void statement(@Nullable String comment, BuildScriptBuilder.Statement statement); /** * Adds a block statement to this block. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 04 03:37:40 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/test.go
key := m.String() s.mu.Lock() id, ok := s.lookup[key] s.mu.Unlock() if ok { return id, nil } // Look up module and compute go.sum lines. data, err := s.gosum(m.Path, m.Version) if err != nil { return 0, err } s.mu.Lock() defer s.mu.Unlock() // We ran the fetch without the lock. // If another fetch happened and committed, use it instead.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 2.8K bytes - Viewed (0)