Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for incrementAndGet (0.85 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                            String nonceStr = Arrays.toString(nonce);
                            if (allNonces.putIfAbsent(nonceStr, true) != null) {
                                collisions.incrementAndGet();
                            }
                        }
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

                k -> new ChannelStatistics());
                
            stats.operations.incrementAndGet();
            stats.latencyTotal.addAndGet(latency);
            
            if (success) {
                stats.bytesReceived.addAndGet(bytes);
            } else {
                stats.errors.incrementAndGet();
            }
        }
        
        public double getAggregatedThroughput() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                            buffer[0] = (byte) i;
    
                            // Release buffer
                            BufferCache.releaseBuffer(buffer);
                            successCount.incrementAndGet();
                        }
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                    } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
        /**
         * @param track
         * @return tree with increased usage count
         */
        public SmbTreeImpl acquire(final boolean track) {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire tree " + usage + " " + this);
            }
    
            if (track && this.traceResource) {
                synchronized (this.acquires) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        }
    
        /**
         * Increments the access count and returns the new value.
         * @return The incremented access count.
         */
        public long incrementAndGetAccessCount() {
            return accessCount.incrementAndGet();
        }
    
        /**
         * Decrements the access count and returns the new value.
         * @return The decremented access count.
         */
        public long decrementAndGetAccessCount() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *
     * {@snippet :
     * final String name = ...;
     * inFlight.add(name);
     * ListenableFuture<Result> future = service.query(name);
     * future.addListener(new Runnable() {
     *   public void run() {
     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
     *     lastProcessed.set(name);
     *     logger.info("Done with {0}", name);
     *   }
     * }, executor);
     * }
     *
     * <h3>How to get an instance</h3>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val request =
            readRequest(
              socket = socket,
              connectionIndex = connectionIndex,
              exchangeIndex = nextExchangeIndex++,
            )
          atomicRequestCount.incrementAndGet()
          requestQueue.add(request)
    
          if (request.failure != null) {
            return false // Nothing to respond to.
          }
    
          val response = dispatcher.dispatch(request)
    
          try {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

            }
    
            // Rate limiting check
            if (!checkRateLimit(type)) {
                return;
            }
    
            try {
                // Update statistics
                eventCounters.get(type).incrementAndGet();
    
                // Get pooled objects
                AuditEntry entry = getAuditEntry();
                entry.timestamp = Instant.now();
                entry.eventType = type;
                entry.severity = severity;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

              if (asyncCall.callsPerHost.get() >= this.maxRequestsPerHost) continue // Host max capacity.
    
              i.remove()
    
              asyncCall.callsPerHost.incrementAndGet()
              callsToExecute.add(asyncCall)
              runningAsyncCalls.add(asyncCall)
            }
    
            return@synchronized Effects(
              callsToExecute = callsToExecute,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:22 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top