Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addAndGet (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

            bytesTransferred.addAndGet(bytes);
            totalSendTime.addAndGet(durationNanos);
        }
    
        /**
         * Record an RDMA receive operation
         *
         * @param bytes number of bytes received
         * @param durationNanos operation duration in nanoseconds
         */
        public void recordRdmaReceive(int bytes, long durationNanos) {
            rdmaReceives.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            long start = System.nanoTime();
                            mockBytesEncrypted.addAndGet(1024); // Simulate 1KB message
                            long end = System.nanoTime();
    
                            totalTime.addAndGet(end - start);
                            operations.incrementAndGet();
                        }
                    } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         *
         * @param bytes number of bytes
         */
        public void addBytesSent(long bytes) {
            bytesSent.addAndGet(bytes);
        }
    
        /**
         * Add bytes received
         *
         * @param bytes number of bytes
         */
        public void addBytesReceived(long bytes) {
            bytesReceived.addAndGet(bytes);
        }
    
        /**
         * Increment requests sent counter
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        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);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

        
        public void recordRdmaRead(int bytes) {
            rdmaReads.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
        }
        
        public void recordRdmaWrite(int bytes) {
            rdmaWrites.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
        }
        
        public void recordError() {
            operationErrors.incrementAndGet();
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

                }
            };
    
            ShutdownListener listener2 = new ShutdownListener() {
                @Override
                public void onShutdown() {
                    callCount.addAndGet(10);
                }
            };
    
            // Add first listener
            jobExecutor.addShutdownListener(listener1);
            assertEquals(listener1, jobExecutor.shutdownListener);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                    assertNotNull(paramMap);
                    assertNotNull(dataMap);
                    docSize.incrementAndGet();
                    execTime.addAndGet(100);
                }
    
                @Override
                public long getDocumentSize() {
                    return docSize.get();
                }
    
                @Override
                public long getExecuteTime() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SmbCircuitBreaker.java

                // Track time in open state
                if (oldState == State.OPEN && openStateStartTime.get() > 0) {
                    totalTimeInOpen.addAndGet(System.currentTimeMillis() - openStateStartTime.get());
                    openStateStartTime.set(0);
                }
    
                if (newState == State.OPEN) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

              public void onRemoval(RemovalNotification<Integer, AtomicInteger> notification) {
                if (notification.wasEvicted()) {
                  evictionCount.incrementAndGet();
                  totalSum.addAndGet(notification.getValue().get());
                }
              }
            };
    
        CacheLoader<Integer, AtomicInteger> loader =
            new CacheLoader<Integer, AtomicInteger>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top