Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 850 for Acquire (0.37 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * cancelled without a call to {@code cancel}, such as by calling {@code
       * setFuture(cancelledFuture)}.
       *
       * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or
       * acquire other locks, risking deadlocks.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        @RetainedLocalRef Object localValue = value();
        boolean rValue = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

            throw new ClassCastException();
        }
    
        /**
         * @return session increased usage count
         */
        public SmbSessionImpl acquire() {
            long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire session " + usage + " " + this);
            }
    
            if (usage == 1) {
                synchronized (this) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  3. internal/lock/lock_windows.go

    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	var lockType uint32 = lockFileFailImmediately | lockFileExclusiveLock
    	if flag == syscall.O_RDONLY {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

        } finally {
          if (!satisfied) {
            leave();
          }
        }
      }
    
      /**
       * Enters this monitor when the guard is satisfied. Blocks at most the given time, including both
       * the time to acquire the lock and the time to wait for the guard to be satisfied, and may be
       * interrupted.
       *
       * @return whether the monitor was entered, which guarantees that the guard is now satisfied
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  5. cmd/erasure-server-pool.go

    	}
    
    	var unlockOnDefer bool
    	nsUnlocker := func() {}
    	defer func() {
    		if unlockOnDefer {
    			nsUnlocker()
    		}
    	}()
    
    	// Acquire lock
    	if !opts.NoLock {
    		lock := z.NewNSLock(bucket, object)
    		lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return nil, err
    		}
    		ctx = lkctx.Context()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  6. internal/dsync/dsync_test.go

    	for i := range nodes {
    		clnts = append(clnts, newClient(nodes[i].URL))
    	}
    
    	ds = &Dsync{
    		GetLockers: func() ([]NetLocker, string) { return clnts, uuid.New().String() },
    		Timeouts: Timeouts{
    			Acquire:         testDrwMutexAcquireTimeout,
    			RefreshCall:     testDrwMutexRefreshCallTimeout,
    			UnlockCall:      testDrwMutexUnlockCallTimeout,
    			ForceUnlockCall: testDrwMutexForceUnlockCallTimeout,
    		},
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Acquires a reference to this transport, incrementing the usage count.
         *
         * @return session increased usage count
         */
        public Transport acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire transport " + usage + " " + this);
            }
            return this;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

      Striped64() {}
    
      /** CASes the base field. */
      final boolean casBase(long cmp, long val) {
        return UNSAFE.compareAndSwapLong(this, BASE_OFFSET, cmp, val);
      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
        return UNSAFE.compareAndSwapInt(this, BUSY_OFFSET, 0, 1);
      }
    
      /**
       * Computes the function of current and new value. Subclasses should open-code this update
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. helm/minio/README.md

    | `rootPassword`          | `rootPassword`         | Root password. | yes      |
    
    All corresponding variables will be ignored in values file.
    
    ### Configure TLS
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            return this.transportContext;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Transport#acquire()
         */
        @Override
        public SmbTransportImpl acquire() {
            return (SmbTransportImpl) super.acquire();
        }
    
        /**
         * @return the server's encryption key
         */
        @Override
        public byte[] getServerEncryptionKey() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top