Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 93 for incrementAndGet (1.77 sec)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

                            // Retrieve and verify
                            byte[] retrieved = keyManager.getRawKey(sid);
                            if (Arrays.equals(key, retrieved)) {
                                successCount.incrementAndGet();
                            }
    
                            // Occasionally rotate
                            if (i % 10 == 0) {
                                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return map.getOrDefault(key, 0L);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            final NdrBuffer buf = new NdrBuffer(out, 0);
    
            msg.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
            msg.call_id = call_id.incrementAndGet();
    
            msg.encode(buf);
    
            if (this.securityProvider != null) {
                buf.setIndex(0);
                this.securityProvider.wrap(buf);
            }
            return buf;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                            for (int j = threadId; j < rules.size(); j += threadCount) {
                                if (threadSafeManager.removeRule(rules.get(j))) {
                                    removeCount.incrementAndGet();
                                }
                            }
                        } catch (Exception e) {
                            e.printStackTrace();
                        } finally {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

         * 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()) {
                log.trace("Acquire transport " + usage + " " + this);
            }
            return this;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             * Increments the reference count for this statistics object.
             *
             * @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
             */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("Scheduled job is running: id={}", scheduledJob.getId());
                        }
                        counter.incrementAndGet();
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("Scheduled job is not running: id={}", scheduledJob.getId());
                    }
                }
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
    
            // Create transport for this channel
            SmbTransport transport = createTransport(localIf, remoteIf);
    
            // Create channel info
            String channelId = "channel-" + channelCounter.incrementAndGet();
            ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf);
    
            // Establish connection
            channel.setState(ChannelState.CONNECTING);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
            }
        }
    
        /**
         * @return tree connection with increased usage count
         */
        public SmbTreeConnection acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire tree connection " + usage + " " + this);
            }
    
            if (usage == 1) {
                synchronized (this) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

          }
          throw new AssertionError("must have been one of the known types");
        }
    
        TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) {
          String name =
              "capture#" + id.incrementAndGet() + "-of ? extends " + Joiner.on('&').join(upperBounds);
          return Types.newArtificialTypeVariable(WildcardCapturer.class, name, upperBounds);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top