Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for incrementing (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
            return "incrementing";
          }
        };
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
            return "incrementing";
          }
        };
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             *
             * @return the new reference count after incrementing
             */
            public int increment() {
                return count.incrementAndGet();
            }
    
            /**
             * Decrements the reference count for this statistics object.
             *
             * @return the new reference count after decrementing
             */
            public int decrement() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        }
    
        /**
         * Stores a crawling configuration in the session-based storage with a unique identifier.
         * The generated session count ID combines the session ID with an incrementing counter.
         *
         * @param sessionId the session identifier
         * @param crawlingConfig the crawling configuration to store
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

         */
        protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10);
        private final AtomicLong usageCount = new AtomicLong(1);
    
        /**
         * Acquires a reference to this transport, incrementing the usage count.
         *
         * @return session increased usage count
         */
        public Transport acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness
                // Fill first 12 bytes with random data
                secureRandom.nextBytes(nonce);
    
                // Last 4 bytes: incrementing counter for guaranteed uniqueness
                final long counter = this.nonceCounter.incrementAndGet();
                final ByteBuffer buffer = ByteBuffer.wrap(nonce, 12, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes");
            assertEquals(16, nonce3.length, "GCM nonce should be 16 bytes");
    
            // For GCM, last 4 bytes should contain incrementing counter
            ByteBuffer buffer1 = ByteBuffer.wrap(nonce1, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN);
            ByteBuffer buffer2 = ByteBuffer.wrap(nonce2, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0xff) {
          addr[i] = 0;
          i--;
        }
    
        checkArgument(i >= 0, "Incrementing %s would wrap.", address);
    
        addr[i]++;
        return bytesToInetAddress(addr, null);
      }
    
      /**
       * Returns true if the InetAddress is either 255.255.255.255 for IPv4 or
    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. android/guava/src/com/google/common/net/InetAddresses.java

        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0xff) {
          addr[i] = 0;
          i--;
        }
    
        checkArgument(i >= 0, "Incrementing %s would wrap.", address);
    
        addr[i]++;
        return bytesToInetAddress(addr, null);
      }
    
      /**
       * Returns true if the InetAddress is either 255.255.255.255 for IPv4 or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

         * entry must be removed if it is a zombie.
         */
        internal var currentEditor: Editor? = null
    
        /**
         * Sources currently reading this entry before a write or delete can proceed. When decrementing
         * this to zero, the entry must be removed if it is a zombie.
         */
        internal var lockingSourceCount = 0
    
        /** The sequence number of the most recently committed edit to this entry. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top