Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 510 for locks (0.04 sec)

  1. internal/grid/connection.go

    		}
    	case debugWaitForExit:
    		c.reconnectMu.Lock()
    		c.handleMsgWg.Wait()
    		c.reconnectMu.Unlock()
    	case debugSetConnPingDuration:
    		c.connMu.Lock()
    		defer c.connMu.Unlock()
    		c.connPingInterval = args[0].(time.Duration)
    		if c.connPingInterval < time.Second {
    			panic("CONN ping interval too low")
    		}
    	case debugSetClientPingDuration:
    		c.connMu.Lock()
    		defer c.connMu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.20.md

    - github.com/Azure/go-autorest/autorest/mocks: [v0.3.0 → v0.4.1](https://github.com/Azure/go-autorest/compare/autorest/mocks/v0.3.0...autorest/mocks/v0.4.1)
    - github.com/Azure/go-autorest/autorest: [v0.9.6 → v0.11.1](https://github.com/Azure/go-autorest/compare/autorest/v0.9.6...autorest/v0.11.1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    		if offset >= m.size {
    			return nil, fmt.Errorf("block %d out of range. offset %d > size %d", blockNum, offset, m.size)
    		}
    		m.blockOffset = offset
    		m.blocks = (m.size + ei.V2Obj.EcBSize - 1) / ei.V2Obj.EcBSize
    		if m.blocks > 0 {
    			m.blocks--
    		}
    		if blockNum < m.blocks {
    			m.size = ei.V2Obj.EcBSize
    		} else {
    			m.size -= offset
    		}
    
    		b, err := os.ReadFile(file)
    		if err != nil {
    			return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. internal/event/targetlist.go

    func (list *TargetList) incCurrentSendCalls(id TargetID) {
    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    	if !ok {
    		stats = targetStat{}
    	}
    
    	stats.currentSendCalls++
    	list.targetStats[id] = stats
    	return
    }
    
    func (list *TargetList) decCurrentSendCalls(id TargetID) {
    	list.statLock.Lock()
    	defer list.statLock.Unlock()
    
    	stats, ok := list.targetStats[id]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.interning
    org.checkerframework.checker.interning.qual
    org.checkerframework.checker.linear
    org.checkerframework.checker.linear.qual
    org.checkerframework.checker.lock
    org.checkerframework.checker.lock.qual
    org.checkerframework.checker.nullness
    org.checkerframework.checker.nullness.compatqual
    org.checkerframework.checker.nullness.qual
    org.checkerframework.checker.propkey
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/orig/view/profile/index.jsp

    						</c:set>
    						<la:password property="oldPassword" class="form-control"
    									 placeholder="${ph_old_password}" />
    						<div class="input-group-append">
    							<span class="input-group-text"><em class="fa fa-lock fa-fw"></span>
    						</div>
    					</div>
    					<div class="input-group mb-3">
    						<c:set var="ph_new_password">
    							<la:message key="labels.profile.placeholder_new_password" />
    						</c:set>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. cmd/routers.go

    	registerPeerRESTHandlers(router, commonGrid)
    
    	// Register bootstrap REST router for distributed setups.
    	registerBootstrapRESTHandlers(commonGrid)
    
    	// Register distributed namespace lock routers.
    	registerLockRESTHandlers(lockGrid)
    
    	// Add lock grid to router
    	router.Handle(grid.RouteLockPath, adminMiddleware(lockGrid.Handler(storageServerRequestValidate), noGZFlag, noObjLayerFlag))
    
    	// Add grid to router
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) Delete(bucket string) {
    	if r == nil {
    		return
    	}
    
    	r.Lock()
    	defer r.Unlock()
    	delete(r.Cache, bucket)
    }
    
    // UpdateReplicaStat updates in-memory replica statistics with new values.
    func (r *ReplicationStats) UpdateReplicaStat(bucket string, n int64) {
    	if r == nil {
    		return
    	}
    
    	r.Lock()
    	defer r.Unlock()
    	bs, ok := r.Cache[bucket]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    //   - At least 2 blocks of zeros are read.
    func (tr *Reader) readHeader() (*Header, *block, error) {
    	// Two blocks of zero bytes marks the end of the archive.
    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    		return nil, nil, err // EOF is okay here; exactly 0 bytes read
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. internal/config/identity/plugin/config.go

    func (h *metrics) setConnSuccess(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckSuccess = reqStartTime
    }
    
    func (h *metrics) setConnFailure(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckFailure = reqStartTime
    }
    
    func (h *metrics) updateLastFullMinute(currReqMinute time.Time) {
    	// Assumes the caller has h.Lock()'ed
    	h.lastFullMinute = h.currentMinute
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top