Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 27 of 27 for decrementAndGet (0.08 seconds)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                }
            }
    
            return this;
    
        }
    
        /**
         *
         */
        public void release() {
            final long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release tree connection " + usage + " " + this);
            }
    
            if (usage == 0) {
                synchronized (this) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

        
        public boolean canSend() {
            return sendCredits.get() > 0 && state == RdmaConnectionState.ESTABLISHED;
        }
        
        public void consumeSendCredit() {
            sendCredits.decrementAndGet();
        }
        
        public void grantSendCredit() {
            sendCredits.incrementAndGet();
        }
        
        public void grantReceiveCredit() {
            receiveCredits.incrementAndGet();
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        removeFromReplica(replica, replicatedMaxValue);
      }
    
      private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) {
        AtomicInteger numOccur = replica.get(value);
        if (numOccur.decrementAndGet() == 0) {
          replica.remove(value);
        }
      }
    
      private static void assertIntact(MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("State " + Arrays.toString(q.toArray()));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  4. docs/smb3-features/06-witness-protocol-design.md

        private final AtomicLong registrationFailures = new AtomicLong();
        
        public void recordRegistration() { registrationsActive.incrementAndGet(); }
        public void recordUnregistration() { registrationsActive.decrementAndGet(); }
        public void recordNotification() { notificationsReceived.incrementAndGet(); }
        public void recordFailover() { failoverEvents.incrementAndGet(); }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        @Override
        public void close() {
            release();
        }
    
        /**
         *
         */
        public void release() {
            long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release session " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isDebugEnabled()) {
    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)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        removeFromReplica(replica, replicatedMaxValue);
      }
    
      private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) {
        AtomicInteger numOccur = replica.get(value);
        if (numOccur.decrementAndGet() == 0) {
          replica.remove(value);
        }
      }
    
      private static void assertIntact(MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("State " + Arrays.toString(q.toArray()));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

          delegateIndex = delegates.size();
        }
    
        @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller.
        private void recordCompletion() {
          if (incompleteOutputCount.decrementAndGet() == 0 && wasCancelled) {
            for (ListenableFuture<? extends T> toCancel : inputFutures) {
              if (toCancel != null) {
                toCancel.cancel(shouldInterrupt);
              }
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
Back to Top