Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for isBlocked (0.08 sec)

  1. api/maven-api-settings/src/main/mdo/settings.mdo

            sb.append("id=").append(this.getId());
            sb.append(",mirrorOf=").append(this.getMirrorOf());
            sb.append(",url=").append(this.getUrl());
            sb.append(",name=").append(this.getName());
            if (isBlocked()) {
                sb.append(",blocked");
            }
            sb.append("]");
            return sb.toString();
        }
                ]]>
              </code>
            </codeSegment>
          </codeSegments>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    // Granted - represents a structure of a granted lock.
    type Granted struct {
    	index   int
    	lockUID string // Locked if set with UID string, unlocked if empty
    }
    
    func (g *Granted) isLocked() bool {
    	return isLocked(g.lockUID)
    }
    
    func isLocked(uid string) bool {
    	return len(uid) > 0
    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top