Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 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. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            }
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
      public void testAddAndGet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
              aa.set(i, x);
              double z = aa.addAndGet(i, y);
              assertBitEquals(x + y, z);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. 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)
  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. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param delta the value to add
       * @return the updated value
       */
      @CanIgnoreReturnValue
      public double addAndGet(int i, double delta) {
        return accumulateAndGet(i, delta, Double::sum);
      }
    
      /**
       * Atomically updates the element at index {@code i} with the results of applying the given
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top