Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for decrementAndGet (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/BufferCache.java

         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
            int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE;
            if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

            connectionsActive.incrementAndGet();
        }
    
        /**
         * Record RDMA connection closure
         */
        public void recordConnectionClosed() {
            connectionsActive.decrementAndGet();
        }
    
        /**
         * Record memory region allocation
         */
        public void recordMemoryRegionAllocated() {
            memoryRegionsAllocated.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                }
                this.connections.remove(trans);
                this.nonPooledConnections.remove(trans);
                activeConnections.decrementAndGet();
                connectionsRemoved.incrementAndGet();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTransportPool#close()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            return sendCredits.get() > 0 && state == RdmaConnectionState.ESTABLISHED;
        }
    
        /**
         * Consume a send credit
         */
        public void consumeSendCredit() {
            sendCredits.decrementAndGet();
        }
    
        /**
         * Grant a send credit
         */
        public void grantSendCredit() {
            sendCredits.incrementAndGet();
        }
    
        /**
         * Grant a receive credit
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. 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));
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  6. 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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. 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");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long decrementAndGet(K key) {
        return addAndGet(key, -1);
      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top