Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for unlocks (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            bufferIndex += 4;
    
            final int nunlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.unlocks = new LockingAndXRange[nunlocks];
            bufferIndex += 2;
    
            final int nlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.locks = new LockingAndXRange[nlocks];
            bufferIndex += 2;
            return start - bufferIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(unlock, "byteOffset", 300L);
            setField(unlock, "lengthInBytes", 400L);
            setField(cmd, "locks", new LockingAndXRange[] { lock });
            setField(cmd, "unlocks", new LockingAndXRange[] { unlock });
            setField(cmd, "largeFile", false);
    
            byte[] buffer = new byte[20];
            int len = cmd.writeParameterWordsWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Monitor.java

     *       return result;
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     *
     *   public void set(V newValue) throws InterruptedException {
     *     lock.lock();
     *     try {
     *       while (value != null) {
     *         valueAbsent.await();
     *       }
     *       value = newValue;
     *       valuePresent.signal();
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            log.debug("Cleaned up rate limiter entries. Accounts: {}, IPs: {}", accountAttempts.size(), ipAttempts.size());
        }
    
        /**
         * Manually unlock an account
         *
         * @param username the username to unlock
         * @return true if account was unlocked, false if not found
         */
        public boolean unlockAccount(String username) {
            AccountAttempts account = accountAttempts.get(username);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
     *         <li>4 levels: average of 99ns per lock()/unlock()
     *         <li>5 levels: average of 103ns per lock()/unlock()
     *         <li>10 levels: average of 184ns per lock()/unlock()
     *         <li>20 levels: average of 393ns per lock()/unlock()
     *       </ul>
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        Lock lockB = factory.newReentrantLock(OtherOrder.SECOND);
    
        lockA.lock();
        lockA.lock();
        lockB.lock();
        lockB.lock();
        lockA.unlock();
        lockA.unlock();
        lockB.unlock();
        lockB.unlock();
      }
    
      public void testExplicitOrdering_acquiringMultipleLocksWithSameRank() {
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        Lock lockB = factory.newReentrantLock(OtherOrder.SECOND);
    
        lockA.lock();
        lockA.lock();
        lockB.lock();
        lockB.lock();
        lockA.unlock();
        lockA.unlock();
        lockB.unlock();
        lockB.unlock();
      }
    
      public void testExplicitOrdering_acquiringMultipleLocksWithSameRank() {
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

            locks[j].lock();
          }
          for (int j = locks.length - 1; j >= 0; j--) {
            locks[j].unlock();
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top