Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 355 for fslock (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/text/cases/tables15.0.0.go

    	0x5fc: 0x0010, 0x5fe: 0x0010,
    }
    
    // caseIndex: 27 blocks, 1728 entries, 3456 bytes
    // Block 0 is the zero block.
    var caseIndex = [1728]uint16{
    	// Block 0x0, offset 0x0
    	// Block 0x1, offset 0x40
    	// Block 0x2, offset 0x80
    	// Block 0x3, offset 0xc0
    	0xc2: 0x16, 0xc3: 0x17, 0xc4: 0x18, 0xc5: 0x19, 0xc6: 0x01, 0xc7: 0x02,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 106.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/tables12.0.0.go

    	0x57c: 0x0010, 0x57e: 0x0010,
    }
    
    // caseIndex: 25 blocks, 1600 entries, 3200 bytes
    // Block 0 is the zero block.
    var caseIndex = [1600]uint16{
    	// Block 0x0, offset 0x0
    	// Block 0x1, offset 0x40
    	// Block 0x2, offset 0x80
    	// Block 0x3, offset 0xc0
    	0xc2: 0x14, 0xc3: 0x15, 0xc4: 0x16, 0xc5: 0x17, 0xc6: 0x01, 0xc7: 0x02,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 99.2K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	var lri []lockRequesterInfo
    
    	resource := args.Resources[0]
    	if lri, reply = l.lockMap[resource]; !reply {
    		// No lock is held on the given name
    		return true, nil
    	}
    	if isWriteLock(lri) {
    		// A write-lock is held, cannot release a read lock
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/tables11.0.0.go

    	0x57c: 0x0010, 0x57e: 0x0010,
    }
    
    // caseIndex: 25 blocks, 1600 entries, 3200 bytes
    // Block 0 is the zero block.
    var caseIndex = [1600]uint16{
    	// Block 0x0, offset 0x0
    	// Block 0x1, offset 0x40
    	// Block 0x2, offset 0x80
    	// Block 0x3, offset 0xc0
    	0xc2: 0x14, 0xc3: 0x15, 0xc4: 0x16, 0xc5: 0x17, 0xc6: 0x01, 0xc7: 0x02,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 97.5K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    	// Wait for messages to be sent...
    	h.wg.Wait()
    
    	// Set logch to nil and close it.
    	// This will block all Send operations,
    	// and finish the existing ones.
    	// All future ones will be discarded.
    	h.logChMu.Lock()
    	xioutil.SafeClose(h.logCh)
    	h.logCh = nil
    	h.logChMu.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top