Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addAndGet (0.05 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // Track encrypted bytes for key rotation - lock-free atomic operation
                bytesEncrypted.addAndGet(message.length);
    
                return result;
            } catch (final Exception e) {
                // Clear sensitive data on error
                if (e instanceof CIFSException) {
                    throw (CIFSException) e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top