Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 27 for decrementAndGet (1.18 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

            if (finishedCall != null) {
              check(runningSyncCalls.remove(finishedCall)) { "Call wasn't in-flight!" }
            }
    
            if (finishedAsyncCall != null) {
              finishedAsyncCall.callsPerHost.decrementAndGet()
              check(runningAsyncCalls.remove(finishedAsyncCall)) { "Call wasn't in-flight!" }
            }
    
            if (enqueuedCall != null) {
              readyAsyncCalls.add(enqueuedCall)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

                        throw (CIFSException) e;
                    }
                    throw new CIFSException("Circuit breaker operation failed", e);
                }
            } finally {
                activeRequests.decrementAndGet();
                if (semaphoreAcquired) {
                    requestSemaphore.release();
                }
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/transport/Transport.java

            release();
        }
    
        /**
         * Releases a reference to this transport, decrementing the usage count.
         */
        public void release() {
            final long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release transport " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isTraceEnabled()) {
    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)
Back to Top