Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for fslock (0.22 sec)

  1. src/cmd/compile/internal/ssa/block.go

    // for the new value. The index must refer to a valid control value.
    func (b *Block) ReplaceControl(i int, v *Value) {
    	b.Controls[i].Uses--
    	b.Controls[i] = v
    	v.Uses++
    }
    
    // CopyControls replaces the controls for this block with those from the
    // provided block. The provided block is not modified.
    func (b *Block) CopyControls(from *Block) {
    	if b == from {
    		return
    	}
    	b.ResetControls()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

        }
    
        def "notifies listener when lock is released"() {
            def listener = Mock(Action)
            coordinationService.addLockReleaseListener(listener)
    
            def lock = resourceLock("lock1", true, true)
    
            when:
            coordinationService.withStateLock { state ->
                assert lock.isLockedByCurrentThread()
                lock.unlock()
                return FINISHED
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    	AmzObjectLockRetainUntilDate     = "X-Amz-Object-Lock-Retain-Until-Date"
    	AmzObjectLockMode                = "X-Amz-Object-Lock-Mode"
    	AmzObjectLockLegalHold           = "X-Amz-Object-Lock-Legal-Hold"
    )
    
    var (
    	// ErrMalformedBucketObjectConfig -indicates that the bucket object lock config is malformed
    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    		r.readCond.Broadcast()
    		r.writeCond.Broadcast()
    	}
    
    	// Unlock the mutex so readers/writers can finish.
    	r.mu.Unlock()
    	r.wg.Wait()
    	r.mu.Lock()
    	r.r = 0
    	r.w = 0
    	r.err = nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    type targets struct {
    	tail         *targets // rest of stack
    	_break       *Block
    	_continue    *Block
    	_fallthrough *Block
    }
    
    // Destinations associated with a labeled block.
    // We populate these as labels are encountered in forward gotos or
    // labeled statements.
    type lblock struct {
    	_goto     *Block
    	_break    *Block
    	_continue *Block
    }
    
    // labeledBlock returns the branch target associated with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    		framecap uintptr
    		argRegs  int
    	)
    
    	gp := getg()
    	lock(&finlock)
    	fing = gp
    	unlock(&finlock)
    
    	for {
    		lock(&finlock)
    		fb := finq
    		finq = nil
    		if fb == nil {
    			gopark(finalizercommit, unsafe.Pointer(&finlock), waitReasonFinalizerWait, traceBlockSystemGoroutine, 1)
    			continue
    		}
    		argRegs = intArgRegs
    		unlock(&finlock)
    		if raceenabled {
    			racefingo()
    		}
    		for fb != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    					return ObjectLocked{}
    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    		if !ok || mid == nil {
    			resp(true)
    			return
    		}
    		mid.respMu.Lock()
    		resp(mid.closed)
    		mid.respMu.Unlock()
    	case debugBlockInboundMessages:
    		c.connMu.Lock()
    		block := (<-chan struct{})(args[0].(chan struct{}))
    		c.blockMessages.Store(&block)
    		c.connMu.Unlock()
    	}
    }
    
    // wsWriter writes websocket messages.
    type wsWriter struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/runtime/netpoll.go

    	// pd can't be shared here, but lock anyhow because
    	// that's what publishInfo documents.
    	lock(&pd.lock)
    
    	// Increment the fdseq field, so that any currently
    	// running netpoll calls will not mark pd as ready.
    	fdseq := pd.fdseq.Load()
    	fdseq = (fdseq + 1) & (1<<taggedPointerBits - 1)
    	pd.fdseq.Store(fdseq)
    
    	pd.publishInfo()
    
    	unlock(&pd.lock)
    
    	lock(&c.lock)
    	pd.link = c.first
    	c.first = pd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java

                }
            }
    
            void startNotification() {
                notifyingLock.lock();
            }
    
            void endNotification() {
                notifyingLock.unlock();
            }
    
            void remove() {
                // block until the listener has finished notifying.
                notifyingLock.lock();
                try {
                    for (EventBroadcast<?> broadcaster : broadcasters.values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 10:09:43 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top