Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 135 for incremented (0.09 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

            CacheBuilder.newBuilder()
                .removalListener(removalListener)
                .expireAfterWrite(10, MILLISECONDS)
                .ticker(ticker)
                .build(loader);
    
        // Increment 100 times
        for (int i = 0; i < 100; ++i) {
          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertEquals(evictionCount.get() + 1, applyCount.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

             */
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
    
            /**
             * Increment the epoch value
             */
            public synchronized void incrementEpoch() {
                this.epoch++;
            }
    
            /**
             * Check if lease has read caching
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int counter1 = buffer1.getInt();
            int counter2 = buffer2.getInt();
    
            assertEquals(counter1 + 1, counter2, "Counter should increment between nonces");
        }
    
        @Test
        @DisplayName("Should generate secure random nonces when requested")
        void testSecureNonceGeneration() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    	}
    	return l.root.prev
    }
    
    // lazyInit lazily initializes a zero List Value.
    func (l *LruList[K, V]) lazyInit() {
    	if l.root.next == nil {
    		l.Init()
    	}
    }
    
    // insert inserts e after at, increments l.len, and returns e.
    func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] {
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    	e.list = l
    	l.len++
    	return e
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            if (sessionKey == null) {
                throw new GeneralSecurityException("Session key not available for automatic rotation");
            }
    
            // Increment rotation counter for tracking and key derivation
            rotationCount++;
    
            // SMB3-compliant key rotation: Use rotation counter as per SMB3 specification
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. lib/fips140/v1.0.0.zip

    *[SeedSize]byte) { // CTR_DRBG_Update, per Section 10.2.1.2. temp := make([]byte, SeedSize) c.c.XORKeyStream(temp, seed[:]) K := temp[:keySize] V := temp[keySize:] // Again, we pre-increment V, like in NewCounter. increment((*[aes.BlockSize]byte)(V)) cipher, err := aes.New(K) if err != nil { panic(err) } c.c = *aes.NewCTR(cipher, V) } func increment(v *[aes.BlockSize]byte) { hi := byteorder.BEUint64(v[:8]) lo := byteorder.BEUint64(v[8:]) lo, c := bits.Add64(lo, 1, 0) hi, _ = bits.Add64(hi, 0, c) byteorder.BEPutUint64(v[:8],...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

       * both IPv4 and IPv6 addresses.
       *
       * @param address the InetAddress to increment
       * @return a new InetAddress that is one more than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the end of its range
       * @since 10.0
       */
      public static InetAddress increment(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // clear absent
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
    
        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top