Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 23 for decrementAndGet (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

         * @throws SmbException
         *
         * @see jcifs.SmbFileHandle#release()
         */
        @Override
        public synchronized void release() throws CIFSException {
            final long usage = this.usageCount.decrementAndGet();
            if (usage == 0) {
                closeInternal(0L, false);
            } else if (log.isTraceEnabled()) {
                log.trace(String.format("Release %s (%d)", this, usage));
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          seenExceptionsUpdater.compareAndSet(state, expect, update);
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          return remainingCountUpdater.decrementAndGet(state);
        }
    
        @Override
        String atomicHelperTypeForTest() {
          return "SafeAtomicHelper";
        }
      }
    
      private static final class SynchronizedAtomicHelper extends AtomicHelper {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                this.treeConnection.acquire();
            }
            return this;
        }
    
        @Override
        public void release() {
            final long us = this.usageCount.decrementAndGet();
            if (us == 0) {
                this.treeConnection.release();
            } else if (us < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             * Decrements the reference count for this statistics object.
             *
             * @return the new reference count after decrementing
             */
            public int decrement() {
                return count.decrementAndGet();
            }
        }
    
        /**
         * Enumeration of predefined statistics actions that can be recorded
         * during crawler operations. Each action represents a specific event
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/MultiChannelManager.java

            }
    
            public void incrementConnections() {
                activeConnections.incrementAndGet();
            }
    
            public void decrementConnections() {
                activeConnections.decrementAndGet();
            }
    
            public boolean isHealthy() {
                return isHealthy;
            }
    
            public void setHealthy(boolean healthy) {
                this.isHealthy = healthy;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
        public void release() {
            release(true);
        }
    
        /**
         * @param track
         */
        public void release(final boolean track) {
            final long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release tree " + usage + " " + this);
            }
    
            if (track && this.traceResource) {
                synchronized (this.releases) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top